| Literature DB >> 35186060 |
Abstract
In order to improve the effect of smart home control and management, a new smart home control and management method based on big data analysis is designed. The basic hardware of smart home control and management is designed, including smoke sensor hardware, temperature and humidity sensor hardware, and infrared sensor hardware, so as to collect smart home data and realize data visualization and buzzer alarm. The collected data are transmitted through the indoor wireless network of smart home gateway equipment, and the data distributed cache architecture based on big data analysis is used to store smart home data. Based on the relevant data, the hybrid particle swarm optimization algorithm is used to schedule the control and management tasks of smart home to complete the control and management of smart home. The experimental results show that the device control and scenario management effect of this method is better, and the communication performance is superior and has high practical application value.Entities:
Mesh:
Year: 2022 PMID: 35186060 PMCID: PMC8853757 DOI: 10.1155/2022/3784756
Source DB: PubMed Journal: Comput Intell Neurosci
MQ2 detection range.
| Name of detected substance | Detection concentration range |
|
| |
| Liquefied gas and propane | 100 ppm∼10000 ppm |
| Butane | 300 ppm∼5000 ppm |
| Methane | 5000 ppm∼20000 ppm |
| Hydrogen | 300 ppm∼5000 ppm |
| Alcohol | 100 ppm∼2000 ppm |
Figure 1MQ2 circuit connection diagram.
DHT11 pin description.
| Pin | Name | Notes |
|
| ||
| 1 | VDD | The supply voltage is 3∼5.5 V DC |
| 2 | DATA | Single bus, serial data |
| 3 | NC | The empty pin should be suspended |
| 4 | GND | Grounding terminal or negative terminal of power supply |
Figure 2DHT11 circuit connection diagram.
Figure 3Circuit connection diagram of HC-SR501.
Characteristic parameters of the infrared sensor.
| Property name | Characteristic parameter |
|
| |
| Working current | The range is 4.4 V∼20 V |
| Quiescent current | <50 |
| Level output | High level 3.3 V, low level 0 V |
| Trigger mode | Repeat trigger/nonrepeat trigger |
| Delay time | 5∼200 s, adjustable |
| Blocking time | The default is 2.5 s, and the adjustable range is several to tens of seconds |
| Overall dimension | 32 mm |
| Induction angle | Cone angle less than 100 degrees |
| Working temperature | −15°C∼+70°C |
| Sensing lens size | The default diameter is 23 mm |
Figure 4Circuit diagram of buzzer connection.
Figure 5Circuit diagram of liquid crystal display.
Figure 6Hardware structure of smart home gateway.
Figure 7Data stream transmission diagram of smart home.
Figure 8Communication packet structure.
Figure 9Module diagram of the file storage system.
Figure 10Schematic diagram of distributed cache architecture.
Figure 11Migration process.
Client running environment.
| Client | Android model | Operating system |
|
| ||
| Host 1 | Millet | Android 4.0 |
| Host 2 | Huawei | Android 4.3 |
| Host 3 | Samsung | Android 5.0 |
Equipment control test process.
| Test function | APP test process | APP test results | Backstage |
|
| |||
| Equipment control | (1) Enter the electrical management interface | All lights on | The background receives the general opening instruction and sends the instruction to the equipment |
| (2) Select intelligent lighting function | |||
| (3) Select general opening | |||
|
| |||
| Equipment control | (1) Enter the electrical management interface | All lights are off | The background receives the general closing instruction and sends the instruction to the equipment |
| (2) Select intelligent lighting function | |||
| (3) Select general off | |||
|
| |||
| Equipment control | (1) Enter the electrical management interface | TV wall lights off | The background receives the TV wall closing instruction and sends the instruction to the equipment |
| (2) Select intelligent lighting function | |||
| (3) Select TV wall off | |||
|
| |||
| Equipment control | (1) Enter the electrical management interface | Atrium lights on | The background receives the atrium light on command and sends the command to the equipment |
| (2) Select intelligent lighting function | |||
| (3) Select the atrium light | |||
Scenario management test process.
| Test function | APP test process | APP test results | Backstage |
|
| |||
| Scenario management | (1) Enter the main menu | All preset home scene functions are turned on, such as air-conditioning, and curtain | The background receives the general opening instruction and sends the instruction to the equipment |
| (2) Select scenario function | |||
| (3) Choose to go home | |||
|
| |||
| Scenario management | (1) Enter the main menu | All preset home mode functions are turned on, such as turning off lights, and curtains | The background receives the general closing instruction and sends the instruction to the equipment |
| (2) Select scenario function | |||
| (3) Select home mode | |||
|
| |||
| Scenario management | (1) Enter the main menu | The preset one key deployment function is all turned on, the camera is turned on, the camera content can be viewed anytime and anywhere, and the user will be prompted if there is a warning during the operation of the camera | The background receives the TV wall closing instruction and sends the instruction to the equipment |
| (2) Select scenario function | |||
| (3) Select one key deployment | |||
|
| |||
| Scenario management | (1) Enter the main menu | The preset one button disarm function is turned on, and the camera is turned off | The background receives the atrium light on command and sends the command to the equipment |
| (2) Select scenario function | |||
| (3) Select one click disarm | |||
Communication distance test.
| Serial number | Test distance | Packet loss number | Packet loss rate |
|
| |||
| 1 | 30 | 0 | 0 |
| 2 | 70 | 0 | 0 |
| 3 | 100 | 0 | 0 |
| 4 | 110 | 8 | 0.8% |
| 5 | 120 | 10 | 1.0% |
| 6 | 150 | 132 | 13.2% |
Routing test.
| Serial number | Packet loss number | Packet loss rate |
|
| ||
| 1 | 0 | 0 |
| 2 | 0 | 0 |
| 3 | 1 | 0.1% |
| 4 | 0 | 0 |
| 5 | 2 | 0.2% |
Figure 12Algorithm convergence comparison.
Figure 13Task scheduling time.
Figure 14Control accuracy rate.
Figure 15Controlling and managing time.