[0012] The present invention will be further described below with reference to the specific drawings and embodiments.
[0013] like figure 1 Shown: in order to solve the deficiencies of the existing smart home system and make the smart home adapt to the needs of modern development, the present invention includes a smart home gateway 4 that is connected to an intelligent terminal, the smart home gateway 4 is connected with a configuration tool 1, a remote cloud platform 2 It is connected with client 3, and the remote cloud platform 2 is connected with configuration tool 1 and client 3.
[0014] The intelligent terminal includes a security system 5 , a sensing module 6 , a switch module 7 or a lighting module 8 . Among them, the security system 5 can use the existing commonly used security system, the sensor module 6 can be a commonly used sensor, such as infrared companion, smoke alarm, etc., the switch module 7 includes various commonly used control switch parts, lighting modules 8 can be a variety of lighting lights or alarm lights, and the settings of the smart terminal in the family house can be set as required. Meanwhile, the smart terminal also includes various smart home appliances placed in the house, such as smart TVs, smart washing machines or smart refrigerators.
[0015] The smart home gateway 4 adopts a TCP (Transmission Control Protocol)-Zigbee transponder, the client 3 can be a commonly used mobile handheld device, and the mobile handheld device can be a smart phone or a tablet computer, etc., the configuration tool 1 includes a computer, a remote cloud platform 2 can be a server.
[0016] Specifically, the configuration tool 1 can download the information of the devices connected to the smart home gateway 4 from the smart home gateway 4, and at the same time, the configuration tool 1 can also download the household appliance infrared instruction library from the remote cloud platform 2; 4. Transmission of related equipment information, home appliance infrared command library, scene, linkage, remote assistance configuration information, etc. Client 3 downloads equipment, home appliances, scene information, etc. from smart home gateway 4, client 3 sends control instructions to smart home gateway 4, and smart home gateway 4 forwards information such as device status, security alarm, sensor value, etc. to client 3, intelligent The home gateway 4 sends security alarm information and remote assistance information to the remote cloud platform 2 , and the client 3 uses the value-added services and entertainment functions on the remote cloud platform 2 .
[0017] The smart home gateway 4 is in the smart home system of the present invention: 1), realizes the ZIGBEE protocol (transparent transmission) function; sends information packets such as address, status, alarm, sensor value sent from the smart terminal to the client 3 and Remote cloud platform 2. The smart home gateway 4 pre-stores the address of the local client and the address of the remote cloud platform 2; when the information is received and a link is established with the remote cloud platform 2, it is actively forwarded, wherein the addresses of the client 3 may be multiple. (If the link is not established, it is necessary to judge whether it is stored in the buffer of the transponder according to the situation, such as alarm information. If the correct link has been established, the alarm information of the fortified alarm equipment will be forwarded to the cloud platform, some of which are Full-time fortification, such as gas, smoke, etc. When it is correctly forwarded with client 3 or remote cloud platform 2 and confirmed, the local record will be cleared to prevent local buffer overflow. If there is no confirmation from remote platform 2 or client 3, the The local record pushes out the buffer area according to the principle of first-in, first-out. This situation occurs when the repeater cannot establish a link with other devices. The remote cloud platform 2 can push the value-added service information to the smart home gateway 4. The smart home gateway 4 itself Value-added service information can be displayed.
[0018] 2) Unpack and send other control instructions received from client 3 except the scene to the Zigbee module; unpack and process the instructions received by the remote cloud platform 2 and client 3 and send them to the zigbee module, And it has a certain processing ability to manage and record the status of the following zigbee devices.
[0019] 3) Establish security authentication with remote cloud platform 2 and client 3 to ensure the security of operations. Both software and hardware are required to ensure security.
[0020] 4) Realize linkage storage and linkage control functions; receive and store linkage configuration sent from configuration tool 1. Receive the alarm information, sensor values, etc. sent from the Zigbee module, and then search for the linkage configuration. If a configuration that meets the conditions is found, then find the corresponding scene from the scene configuration according to this configuration, and go to the previous one to realize scene control.
[0021] 5), remote upgrade function: according to the program and handshake agreement, upgrade its own program to facilitate project maintenance.
[0022] 6), cooperate with the client 3 and the remote cloud platform 2, download the relevant equipment library, and realize the control of the relevant electrical equipment. For example, the infrared library can realize the control of various household appliances using infrared. Client 3 only needs to select the model of the relevant home appliance, and then the relevant control data can be downloaded to the following infrared transponder, so as to realize the control function of the relevant infrared home appliance.
[0023] 7) Communicate with various zigbee devices to achieve more control functions. Easy access to other devices.
[0024] 8), according to the needs of use and operation, add other related functions.
[0025] In the embodiment of the present invention, the configuration tool 1: 1), receives and stores the equipment information sent from the repeater; 2), manages functions such as equipment, household appliances, scenes, and linkage; 3), sends the scene and 4), send equipment, home appliances, scenes and other information to client 3; 5), send system configuration information such as the IP address and login password of smart home gateway 4 to client 3; 6), upgrade the transponder program . When the external network is not connected, the smart home gateway 4 is upgraded.
[0026] In the embodiment of the present invention, the client 3: 1), receive and store information such as equipment, home appliances, scenes, and system configurations downloaded from the configuration tool 1 software; 2), package the Zigbee protocol, generate a common device control command, and send it to Smart home gateway 4; 3), generate an instruction to control the scene, and send it to the smart home gateway 4; 4), receive and display the device status, sensor value, and alarm information sent from the smart home gateway 4; 5), receive, display The security status sent from the smart home gateway 4; 6), communicate with the remote cloud platform 2 to realize value-added service functions, such as shopping consumption, meter reading and payment, air ticket reservation, etc.; 7), communicate with the remote cloud platform 2, Realize event query, such as a certain day of a certain month in a certain year, equipment operation, etc.; 8), communicate with remote cloud platform 2, realize public area monitoring, video intercom, remote unlocking and other functions. 9), according to the security authentication, different user levels achieve different control rights. 10) Obtain various control device libraries from the remote cloud platform 2 to realize the control of various devices. If a TV is newly purchased, the zigbee-ir control library of the TV can be downloaded from the remote cloud platform 2 to realize the control of the TV. 11) Use the remote cloud platform 2 to realize entertainment functions. Such as video on demand, background music download, online games, etc. 12) Remote assistance; remote assistance can be activated according to the settings; after obtaining permission, the relevant personnel can remotely control the device. 13) Other functions can be added at any time as needed.
[0027]In the embodiment of the present invention, the remote cloud platform 2: 1), the user logs in and turns remotely, and has the function of user security authentication at the same time. Define different operation permissions according to different users. For example, administrators can perform remote device upgrades, users can use and control all functions, and guests can activate some permissions according to settings. 2) The gateway status record of the smart home gateway 4. The smart home gateway 4 itself is a client, which is small in size, low in cost but not small in function. If a correct link is established with the remote cloud platform 2, all operations are stored and queried through the remote cloud platform 2. 3), establish a link with the client to realize the value-added service function. For example: e-commerce (users can open stores, consume, monitor logistics and other functions. Payment and recharge, remote meter reading, order management, logistics management, customer level management, etc.); information release (notification, news, weather forecast, etc.); advertisement release, Public area monitoring, traffic reference, diet reference, health guide, education and learning, etc. 4) Entertainment function, the platform has functions such as audio and video on demand, downloading, online games, etc., which enriches the entertainment functions of the client and fully benefits the rich resources of the cloud platform. 5) The remote assistance function can be linked with various other platforms, such as alarm 110 linkage, fire 119 linkage, health 120 linkage, etc. It can remotely assist clients and devices with permission. For example, when the elderly at home accidentally falls, the 120 platform and the family's phone are automatically connected, and the 120 platform or family members can remotely realize intercom (whether it is a video intercom needs to be discussed), equipment control (such as turning on the local sound and light alarm to notify nearby people for rescue; Another example is a fire in a public area. 119 can remotely see the alarm situation. According to the authority, you can monitor the video in the relevant area and control the water spraying and other operations. 6) The equipment upgrade function, according to the equipment manufacturer's number, specifications, version number, etc., when there is a When functions are added, equipment defects are compensated, etc., the client program can be remotely upgraded. To avoid the need for engineers to use programmers to upgrade each device. The later maintenance is convenient and simple. 7), the remote visual intercom function, the establishment of similar network chat server function, according to the user account to establish a mutual communication mechanism. It can realize functions such as two-way video intercom, remote unlocking, and user photo and message. 8) Device library function, the cloud platform establishes various device libraries, and can call the device database of the cloud platform according to the terminal device to realize related control. For example, calling the Zigbee-PLCBUS library of the cloud platform can realize functions such as meter reading, calling the ZIGBEE-IR library to realize the control of various infrared home appliances, and calling the ZIGBEE-315/433 library to control the traditional 433/315 equipment. Establish related libraries for various devices to enhance the functions of the entire network. 9), extended functions. Function expansion can be carried out according to the operator to bring related value-added functions.
[0028] The smart home gateway 4 of the present invention is connected with a variety of required smart terminals, the smart gateway 4 is connected with the configuration tool 1, the remote cloud platform 2 and the client 3, and the smart home gateway 4 is connected with the configuration tool 1, the remote cloud platform 2 and the client 3. The cooperation of the client terminal 3 realizes the control and expansion of the intelligent terminal, the structure is compact, the cost of use is reduced, the degree of intelligence is high, the adaptability is wide, and it is safe and reliable.