WO2020151076A1 - Indoor air circulation system based on blockchain technology - Google Patents

Indoor air circulation system based on blockchain technology Download PDF

Info

Publication number
WO2020151076A1
WO2020151076A1 PCT/CN2019/079259 CN2019079259W WO2020151076A1 WO 2020151076 A1 WO2020151076 A1 WO 2020151076A1 CN 2019079259 W CN2019079259 W CN 2019079259W WO 2020151076 A1 WO2020151076 A1 WO 2020151076A1
Authority
WO
WIPO (PCT)
Prior art keywords
chip microcomputer
air circulation
cloud server
temperature
nbiot communication
Prior art date
Application number
PCT/CN2019/079259
Other languages
French (fr)
Chinese (zh)
Inventor
肖�琳
Original Assignee
杭州美时美刻物联网科技有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 杭州美时美刻物联网科技有限公司 filed Critical 杭州美时美刻物联网科技有限公司
Publication of WO2020151076A1 publication Critical patent/WO2020151076A1/en

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data

Definitions

  • the invention relates to the field of smart homes, and more specifically to an indoor air circulation system based on blockchain technology.
  • RFID sensing is often used to determine whether a person is at home, and RFID is subject to the limitation of short transmission distance, so that only when the user enters the home, the entire device will enter the indoor occupant mode, and there is more than one person at home in life.
  • the situation of forgetting to carry the RFID wristband/card makes the indoor circulation system unable to determine whether there are people in the room.
  • the present invention provides the following solutions.
  • An indoor air circulation system based on blockchain technology includes a detection unit, an NBIoT communication device, a cloud server, a single-chip microcomputer, a window, and an air circulation electric fan.
  • the window includes shutters and a driving device for opening/closing the shutters.
  • the air circulation electric fan is arranged in the room, the detection unit uploads detection data to the single-chip microcomputer, and the single-chip microcomputer uploads the detection data to the cloud server through the NBIoT communication device while storing the data.
  • the detection unit includes a temperature and humidity sensor, Door magnetic sensor, wind speed sensor, the door magnetic sensor is installed on the door frame, and the wind speed sensor is installed outdoors; by setting up various sensors, the wind speed, door opening and closing, temperature and humidity are converted into digital signal form, which facilitates the data transmission.
  • the NBIoT communication device is divided into an NBIoT communication node and an NBIoT communication module, and the NBIoT communication module is divided into a first NBIoT communication module, a second NBIoT communication module, a third NBIoT communication module, and a fourth NBIoT communication module;
  • the node is connected to a wireless router, the wireless router is connected to the single-chip microcomputer, and the newly connected and disconnected ip addresses are packaged and sent to the single-chip microcomputer;
  • the single-chip microcomputer is connected to the driving device and the air circulation electric fan;
  • the single-chip microcomputer is set with a shutdown threshold, When the wind speed or humidity is greater than the closing threshold, the single-chip microcomputer outputs instructions to control the driving device to close the shutters and control the air circulation electric fan to close;
  • multiple NBIoT communication modules are set up so that the sensor transmits data without requiring too long wires to connect to the single-chip microcomputer. Uploading the data to
  • the temperature and humidity sensor is divided into a first temperature and humidity sensor and a second temperature and humidity sensor, the first temperature and humidity sensor is arranged on the wall of the indoor living room, the second temperature and humidity sensor is arranged on the outdoor wall; the first temperature and humidity sensor The sensor is connected to the first NBIoT communication module, the second temperature and humidity sensor is connected to the second NBIoT communication module, and the detected temperature and humidity data is transmitted to the NBIoT communication node through the first and second NBIoT communication modules
  • the NBIoT communication node classifies and transmits the received temperature and humidity data to the single-chip microcomputer and uploads it to the cloud server through a network device.
  • the single-chip microcomputer stores an ip address designated by the user, and the ip address is sent from the cloud server to the wireless router.
  • the router is transmitted to the single-chip microcomputer; the door magnetic sensor is connected to the third NBIoT communication module, and the wind speed sensor is connected to the fourth NBIoT communication module; by setting the temperature and humidity sensors indoors and outdoors, it is beneficial to collect data diversity and avoid special The indoor humidity is too high under conditions; upload the door switch status and wind speed data to the cloud server, which is convenient for direct viewing.
  • the user sets a humidity threshold in advance.
  • the single-chip microcomputer controls the air circulation fan to rotate at 500 r/s, and the air circulation fan The direction of the wind is towards the ground.
  • the air circulation electric fan faces the ground in order to accelerate the air convection on the ground, thereby accelerating the adjustment of indoor humidity.
  • the single-chip microcomputer outputs the "manual operation" status and uploads it to the cloud server through the NBIoT communication node. Control the driving device to close the windows and turn off the air circulation fan. In the case of excessive external humidity, manual operation is required, because opening the window at this time will cause a large area of the indoor roof to encounter condensed water, which is a hidden danger to the building surface.
  • the single-chip microcomputer turns off the air circulation fan and controls the driving device to close the windows to prevent the indoor temperature from being too low or too humid.
  • a method for using an indoor air circulation system based on blockchain technology includes the following steps:
  • Step 1 When the wireless router receives a specific IP address connection request, it sends the IP address to the single-chip microcomputer, compares the IP address in its own storage unit to determine the user identity, and sends it to the cloud through the NBIoT communication device Server, the cloud server records that the user identity is marked as "door in” state, and broadcasts to other cloud server nodes to record;
  • Step 2 The door sensor detects the opening of the door and sends a high-level pulse signal to the single-chip microcomputer. After the single-chip receives the high-level pulse signal, it is determined that the user has entered the room and communicates via the NBIoT The device sends the indoor occupancy status to the cloud server, and the cloud server marks the "indoor" status after receiving the indoor status and broadcasts it to other cloud server nodes for recording;
  • Step 3 When the cloud server records that the user identity is marked as "into the door” state, when the single-chip microcomputer detects that the ip address packaged and sent by the wireless router is the ip address specified by the user, the current gear state is interrupted and adjusted according to the number of currently connected WiFi For the gear position of the air circulation fan, the single-chip microcomputer controls the driving device to open the shutters;
  • W is the speed
  • N is the number of WiFi connections
  • S is the current indoor air humidity
  • B is 100 rpm in the first gear
  • Step 5 When the second temperature and humidity sensor detects that the humidity is greater than 60%, the single-chip microcomputer controls the driving device to close the blinds;
  • Step 6 When the single-chip microcomputer detects that there is no user-specified ip address in the ip address packaged and sent by the wireless router, it restores to the previous gear state and runs the mark "User Away", uploads it to the cloud server and broadcasts it to other cloud server nodes to record.
  • Figure 1 is a schematic diagram of the structure of the present invention.
  • Fig. 2 is a flowchart of an embodiment of the present invention.
  • B corresponding to A means that B is associated with A, and B can be determined according to A.
  • determining B according to A does not mean that B is determined only according to A, and B can also be determined according to A and/or other information.
  • an indoor air circulation system based on blockchain technology includes a detection unit, an NBIoT communication device, a cloud server, a single-chip microcomputer 7, a shutter 4, a driving device 5 that drives the shutter to open/close, and an air circulation electric fan
  • the air circulation electric fan is installed indoors and faces the ground, and is used to accelerate the convection of hot and cold air in the room, so that the indoor air humidity environment is always kept within a comfortable range of the human body.
  • the driving device 5 can open and close the blinds 4, the detection unit uploads detection data to the single-chip microcomputer 7, and the single-chip microcomputer 7 stores the data while uploading the detection data to the cloud server through the NBIoT communication device. In order to upload data and record user preferences, data can be accumulated for future intelligent regulation of indoor air circulation.
  • the detection unit includes a temperature and humidity sensor, a door magnetic sensor 2, a wind speed sensor 8 and a noise decibel measuring module.
  • the door magnetic sensor 2 is installed on the door frame, and the door magnetic sensor 2 is installed on the door frame to sense the movement of the door panel to determine the door 1 Open and close, and convert the analog quantity formed by the open/closed state of the door 1 into a digital signal for storage;
  • the wind speed sensor 8 is placed outdoors, and the analog quantity output by the sensed external wind speed is converted into a digital signal for storage;
  • the humidity sensor is divided into a first temperature and humidity sensor 6 and a second temperature and humidity sensor 9.
  • the first temperature and humidity sensor 6 is placed on the wall of the indoor living room, and the second temperature and humidity sensor 9 is placed on the outdoor wall;
  • the working principle is to detect the temperature and humidity in the air through the sensor, after measuring the temperature and humidity, the analog quantity is converted into a digital signal output according to a certain rule.
  • the NBIoT communication device is divided into an NBIoT communication node and an NBIoT communication module, and the NBIoT communication module is divided into a first NBIoT communication module, a second NBIoT communication module, a third NBIoT communication module, and a fourth NBIoT communication module;
  • the temperature and humidity sensor 6 is connected to the first NBIoT communication module
  • the second temperature and humidity sensor 9 is connected to the second NBIoT communication module
  • the door sensor 2 is connected to the third NBIoT communication module
  • the wind speed sensor 8 is connected to the second NBIoT communication module.
  • NBIoT communication modules connect each sensor with the NBIoT communication module, and upload the data detected by the sensors to the NBIoT communication node through the NBIoT communication module. Since the NBIoT communication node is connected to a wireless router, the wireless router is connected to the cloud platform Finally, the data detected by the sensor is stored in each server of the cloud platform; the wireless router is connected with the single-chip microcomputer 7 to realize the communication connection between the single-chip 7 and the cloud server.
  • the use of wire connection will cause the wiring to be too long and it is too difficult to install the indoor circulation system in the existing decorated house.
  • Connect the above-mentioned sensors through the NBIoT communication module and upload information to the NBIoT communication node. Since the NBIoT communication node is connected to the wireless router, and the single-chip microcomputer 7 is connected to the wireless router; finally the single-chip microcomputer 7 will receive the information detected by each sensor and control it accordingly Drive device 5 and air circulation electric fan.
  • the single-chip microcomputer 7 needs to send a command and report to the cloud server, and then the cloud server broadcasts to each cloud server node; because the blockchain needs to encrypt the time axis, this encryption feature can be used to eliminate The hacker imitates the input command to control the indoor air circulation system.
  • the user can package and send a specific ip address (such as the ip address of the user's mobile communication device) to the single-chip microcomputer 7 through the mobile communication device.
  • the present invention uses the ip address of the WiFi connection as a condition for determining whether a person enters the house.
  • the single-chip microcomputer 7 may be provided with a closing threshold value. When the wind speed or humidity is greater than the threshold value, the single-chip microcomputer 7 outputs an instruction to control the driving device 5 to close the shutters 4 and control the air circulation electric fan to close.
  • the user edits the stall position of the air circulation fan and the open/close state of the shutters to the cloud server through the mobile communication device, and sends the command to the cloud server, and the cloud server receives the command and broadcasts it to other cloud server nodes Then it is sent to the MCU designated by the user to control the gear position of the air circulation electric fan and the open/close state of the blinds.
  • the cloud server sends it on its behalf. Since the cloud server and the single-chip microcomputer are connected based on blockchain technology, hackers can avoid being hacked into the system.
  • the user sets the humidity threshold in advance.
  • the single-chip microcomputer 7 controls the rotation speed of the air circulation fan 3 to 500 r/s, and the air circulation fan outputs The wind toward the ground accelerates the air convection on the ground and restores the indoor air humidity to the user-set condition.
  • the single-chip microcomputer 7 when the humidity detected by the second temperature and humidity sensor 9 received by the single-chip microcomputer 7 is greater than 80% or the temperature is lower than 15°, the single-chip microcomputer 7 outputs the "manual operation" status and uploads it to the NBIoT communication node.
  • the cloud server closes the window and the air circulation fan 3; because in the south, excessive humidity will cause water to accumulate on the indoor floor and mold the room, so it is necessary to wait for the user to manually open the window to turn on the air circulation fan 3 to avoid humidity in the house.
  • the single-chip microcomputer 7 when the humidity detected by the first temperature and humidity sensor 6 received by the single-chip microcomputer 7 is greater than 70% or the temperature is lower than 18°, the single-chip microcomputer 7 turns off the air circulation fan 3 and closes the window to avoid the indoor temperature from being too low Or too humid.
  • the single-chip microcomputer 7 When the humidity detected by the first temperature and humidity sensor 6 received by the single-chip microcomputer 7 is greater than 70% or the temperature is lower than 18°, the single-chip microcomputer 7 turns off the air circulation fan 3 and closes the window to prevent the indoor temperature from being too low or excessively humid. Because there is a significant temperature difference between indoor and outdoor, if you only consider the outdoor temperature and humidity as the standard, the indoor temperature will be lower than the outdoor temperature. Studies have shown that the human body will feel cold when it is below 18°, so the shutters 4 and the air circulation fan need to be closed. 3.
  • Step 1 When the wireless router receives a specific IP address connection request, it sends the IP address to the single chip microcomputer 7, and compares the IP address in its own storage unit to determine the user identity, and sends it to the NBIoT communication device A cloud server, where the cloud server records that the user's identity is marked as a "door in” state, and broadcasts to other cloud server nodes to record;
  • Step 2 The door sensor 2 senses the opening of the door, and sends a high-level pulse signal to the single-chip microcomputer 7. After receiving the high-level pulse signal, the single-chip microcomputer 7 determines that the user has entered the room and passed the The NBIoT communication device sends the indoor occupant status to the cloud server, and the cloud server marks the "indoor" status after receiving the indoor status and broadcasts it to other cloud server nodes for recording;
  • Step 3 When the cloud server records that the user identity is marked as "incoming”, when the single-chip microcomputer 7 detects that the ip address packaged and sent by the wireless router is the ip address specified by the user, the current gear state is interrupted, according to the number of currently connected WiFi Adjust the gear position of the air circulation fan, the single-chip microcomputer 7 controls the driving device 5 to open the shutters 4;
  • W is the speed
  • N is the number of WiFi connections
  • S is the current indoor air humidity
  • B is 100 rpm in the first gear
  • Step 5 When the second temperature and humidity sensor 9 detects that the humidity is greater than 60%, the single-chip microcomputer 7 controls the driving device 5 to close the blinds 4;
  • Step 6 When the single-chip microcomputer 7 detects that there is no user-specified ip address in the ip address packaged and sent by the wireless router, it restores to the previous gear state and runs the mark "User Away", uploads it to the cloud server and broadcasts it to other cloud server nodes for recording.

Abstract

An indoor air circulation system based on blockchain technology, comprising a detection unit, an NBIoT communication device, a cloud server, a single-chip microcomputer (7), a window, and an air circulation electric fan (3). The window comprises a shutter (4) and a driving device (5) for driving the shutter (4) to be opened/closed. The air circulation electric fan (3) is arranged indoors. The detection unit uploads detection data to the single-chip microcomputer (7). The single-chip microcomputer (7) stores the data and uploads the detection data to the cloud server by means of the NBIoT communication device. The detection unit comprises temperature and humidity sensors (6, 9), a door magnetic sensor (2), and a wind speed sensor (8). The door magnetic sensor (2) is mounted on a door frame, and the wind speed sensor (8) is arranged outdoors. A user edits the gear of the air circulation electric fan (3) and the opening/closing state of the shutter (4) into a command having an eight-bit data length and sends the command to the cloud server by means of a mobile communication device. The cloud server receives the command, broadcasts the command to other cloud server nodes, and then sends the command to the single-chip microcomputer (7) specified by the user to control the gear of the air circulation electric fan (3) and the opening/closing state of the shutter (4).

Description

一种基于区块链技术的室内空气循环系统An indoor air circulation system based on blockchain technology 技术领域Technical field
本发明涉及智能家居领域,更具体的是涉及一种基于区块链技术的室内空气循环系统。The invention relates to the field of smart homes, and more specifically to an indoor air circulation system based on blockchain technology.
背景技术Background technique
目前在智能家居领域,多采用RFID感应来判定人在家中,而RFID受制于短传输距离的限制,使使用者只有进入家中,整个设备才会进入室内有人模式,且生活中家中不止一人,会出现忘记携带RFID手环/卡片的情况导致室内循环系统无法判定室内是否有人。At present, in the field of smart home, RFID sensing is often used to determine whether a person is at home, and RFID is subject to the limitation of short transmission distance, so that only when the user enters the home, the entire device will enter the indoor occupant mode, and there is more than one person at home in life. The situation of forgetting to carry the RFID wristband/card makes the indoor circulation system unable to determine whether there are people in the room.
在信息安全方面,很多智能家居并没有考虑到信息安全的保护,导致黑客可以直接黑入设备盗取用户信息。用户信息被贩卖的乱象无法得到根治,最后会被不法分子挂牌出售。目前市面上并没有一款基于区块链技术的室内空气循环系统。In terms of information security, many smart homes do not consider the protection of information security, causing hackers to directly hack into devices to steal user information. The chaos of user information being trafficked cannot be eradicated and will eventually be listed for sale by criminals. Currently, there is no indoor air circulation system based on blockchain technology on the market.
发明内容Summary of the invention
为了解决上述技术问题的至少一方面,本发明提供了如下解决方案。In order to solve at least one aspect of the above technical problems, the present invention provides the following solutions.
一种基于区块链技术的室内空气循环系统,包括检测单元、NBIoT通讯装置、云服务器、单片机、窗户和空气循环电风扇,所述窗户包括百叶窗和驱动百叶窗打开/关闭的驱动装置,所述空气循环电风扇设置于室内,所述检测单元上传检测数据至所述单片机,所述单片机存储数据的同时通过所述NBIoT通讯装置将检测数据上传至云服务器,所述检测单元包括温湿度传感器、门磁传感器、风速传感器,所述门磁传感器安装于门框,所述风速传感器安置于室外;通过设置各种传感器将风速,门的开关,温湿度这些模拟量转换为数字信号形式,方便了数据传输。An indoor air circulation system based on blockchain technology includes a detection unit, an NBIoT communication device, a cloud server, a single-chip microcomputer, a window, and an air circulation electric fan. The window includes shutters and a driving device for opening/closing the shutters. The air circulation electric fan is arranged in the room, the detection unit uploads detection data to the single-chip microcomputer, and the single-chip microcomputer uploads the detection data to the cloud server through the NBIoT communication device while storing the data. The detection unit includes a temperature and humidity sensor, Door magnetic sensor, wind speed sensor, the door magnetic sensor is installed on the door frame, and the wind speed sensor is installed outdoors; by setting up various sensors, the wind speed, door opening and closing, temperature and humidity are converted into digital signal form, which facilitates the data transmission.
所述NBIoT通讯装置分为NBIoT通讯节点和NBIoT通讯模块,所述NBIoT通讯模块分为第一NBIoT通讯模块、第二NBIoT通讯模块、第三NBIoT通讯模块和第四NBIoT通讯模块;所述NBIoT通讯节点连接无线路由器,所述无线路由器与单片机连接,将新接入和断开的ip地址打包发送至单片机;所述单片机连接所述驱动装置、空气循环电风扇;所述单片机设置有关闭阈值,当风速或湿度大于所述关闭阈值,单片机输出指令控制所述驱动装置关闭百叶窗,控制所述空气循环电风扇关闭;设置多个NBIoT通讯模块使传感器传输数据不需要 过长的导线连接单片机,同时将数据先上传至云服务器有益于信息安全,发挥区块链技术的安全特性。The NBIoT communication device is divided into an NBIoT communication node and an NBIoT communication module, and the NBIoT communication module is divided into a first NBIoT communication module, a second NBIoT communication module, a third NBIoT communication module, and a fourth NBIoT communication module; the NBIoT communication The node is connected to a wireless router, the wireless router is connected to the single-chip microcomputer, and the newly connected and disconnected ip addresses are packaged and sent to the single-chip microcomputer; the single-chip microcomputer is connected to the driving device and the air circulation electric fan; the single-chip microcomputer is set with a shutdown threshold, When the wind speed or humidity is greater than the closing threshold, the single-chip microcomputer outputs instructions to control the driving device to close the shutters and control the air circulation electric fan to close; multiple NBIoT communication modules are set up so that the sensor transmits data without requiring too long wires to connect to the single-chip microcomputer. Uploading the data to the cloud server first is beneficial to information security and leverages the security features of blockchain technology.
温湿度传感器分为第一温湿度传感器和第二温湿度传感器,所述第一温湿度传感器安置在室内客厅墙壁上,所述第二温湿度传感器安置于室外的墙壁;所述第一温湿度传感器连接所述第一NBIoT通讯模块,所述第二温湿度传感器连接所述第二NBIoT通讯模块,通过所述第一、第二NBIoT通讯模块向所述NBIoT通讯节点传输检测到的温湿度数据,所述NBIoT通讯节点将接收的温湿度数据分类传输至单片机并通过网络设备上传云服务器,所述单片机存储有用户指定的ip地址,所述ip地址由云服务器发送至无线路由器,所述无线路由器传输至单片机;所述门磁传感器连接第三NBIoT通讯模块,所述风速传感器连接第四NBIoT通讯模块;通过将温湿度传感器分别设置于室内室外,有利于采集数据的多样性,避免了特殊条件下室内湿度过大的情况;将门开关状态和风速数据上传至云服务器,方便了直接观看。The temperature and humidity sensor is divided into a first temperature and humidity sensor and a second temperature and humidity sensor, the first temperature and humidity sensor is arranged on the wall of the indoor living room, the second temperature and humidity sensor is arranged on the outdoor wall; the first temperature and humidity sensor The sensor is connected to the first NBIoT communication module, the second temperature and humidity sensor is connected to the second NBIoT communication module, and the detected temperature and humidity data is transmitted to the NBIoT communication node through the first and second NBIoT communication modules The NBIoT communication node classifies and transmits the received temperature and humidity data to the single-chip microcomputer and uploads it to the cloud server through a network device. The single-chip microcomputer stores an ip address designated by the user, and the ip address is sent from the cloud server to the wireless router. The router is transmitted to the single-chip microcomputer; the door magnetic sensor is connected to the third NBIoT communication module, and the wind speed sensor is connected to the fourth NBIoT communication module; by setting the temperature and humidity sensors indoors and outdoors, it is beneficial to collect data diversity and avoid special The indoor humidity is too high under conditions; upload the door switch status and wind speed data to the cloud server, which is convenient for direct viewing.
进一步地讲,用户提前设置湿度阈值,当所述第一温湿度传感器检测到的湿度大于所述预设湿度阈值时,单片机控制所述空气循环电扇转速为500r/s,所述空气循环电风扇出风方向朝向地面。空气循环电风扇出风方向朝向地面是为了加速处于地面的空气对流,从而加速室内湿度的调整。Furthermore, the user sets a humidity threshold in advance. When the humidity detected by the first temperature and humidity sensor is greater than the preset humidity threshold, the single-chip microcomputer controls the air circulation fan to rotate at 500 r/s, and the air circulation fan The direction of the wind is towards the ground. The air circulation electric fan faces the ground in order to accelerate the air convection on the ground, thereby accelerating the adjustment of indoor humidity.
进一步地讲,当单片机接收的第二温湿度传感器检测到的湿度大于80%或温度低于15°时,所述单片机输出“人工操作”状态通过所述NBIoT通讯节点上传至所述云服务器并控制驱动装置关闭窗户和关闭空气循环电扇。在外部湿度过大的情况下,需要人工操作,因为此时开窗会导致室内屋顶有大面积遇冷凝水,对建筑表面有隐患。Furthermore, when the humidity detected by the second temperature and humidity sensor received by the single-chip microcomputer is greater than 80% or the temperature is lower than 15°, the single-chip microcomputer outputs the "manual operation" status and uploads it to the cloud server through the NBIoT communication node. Control the driving device to close the windows and turn off the air circulation fan. In the case of excessive external humidity, manual operation is required, because opening the window at this time will cause a large area of the indoor roof to encounter condensed water, which is a hidden danger to the building surface.
进一步地讲,当单片机收到的第一温湿度传感器检测到的湿度大于70%或温度低于18°时,所述单片机关闭空气循环电扇、控制驱动装置关闭窗户避免室内温度过低或过分潮湿。Furthermore, when the humidity detected by the first temperature and humidity sensor received by the single-chip microcomputer is greater than 70% or the temperature is lower than 18°, the single-chip microcomputer turns off the air circulation fan and controls the driving device to close the windows to prevent the indoor temperature from being too low or too humid. .
一种基于区块链技术的室内空气循环系统的使用方法,包括如下步骤:A method for using an indoor air circulation system based on blockchain technology includes the following steps:
步骤一:当所述无线路由器接收到特定的IP地址连接请求,向所述单片机发送IP地址,并对比自身存储单元中的IP地址判定用户身份,并通过所述NBIoT通讯装置发送至所述云服务器,所述云服务器记录用户身份标记为“进门”状态,广播至其他云服务器节点记录;Step 1: When the wireless router receives a specific IP address connection request, it sends the IP address to the single-chip microcomputer, compares the IP address in its own storage unit to determine the user identity, and sends it to the cloud through the NBIoT communication device Server, the cloud server records that the user identity is marked as "door in" state, and broadcasts to other cloud server nodes to record;
步骤二:所述门磁传感器感应到门的开启,向所述单片机发送一个高电平脉冲信号,所述单片机接收到高电平脉冲信号后判定为用户进入房间内,并通过所述NBIoT通讯装置将室内有人状态发送至所述云服务器,所述云服务器收到室内状态后标记为“入室”状态并广播至其他云服务器节点记录;Step 2: The door sensor detects the opening of the door and sends a high-level pulse signal to the single-chip microcomputer. After the single-chip receives the high-level pulse signal, it is determined that the user has entered the room and communicates via the NBIoT The device sends the indoor occupancy status to the cloud server, and the cloud server marks the "indoor" status after receiving the indoor status and broadcasts it to other cloud server nodes for recording;
步骤三:在所述云服务器记录用户身份标记为“进门”状态下,当单片机检测到无线路 由器打包发送的ip地址为用户指定的ip地址,中断当前的档位状态,根据当前连接WiFi数量调整空气循环扇的档位,所述单片机控制驱动装置打开百叶窗;Step 3: When the cloud server records that the user identity is marked as "into the door" state, when the single-chip microcomputer detects that the ip address packaged and sent by the wireless router is the ip address specified by the user, the current gear state is interrupted and adjusted according to the number of currently connected WiFi For the gear position of the air circulation fan, the single-chip microcomputer controls the driving device to open the shutters;
步骤四:单片机输出空气循环电风扇的转速为W=10(N-1)*S*B+B,Step 4: The speed of the air circulation electric fan output by the single-chip microcomputer is W=10(N-1)*S*B+B,
W是转速,N为WiFi连接数量,S为当前室内空气湿度,B为1挡转速100转;W is the speed, N is the number of WiFi connections, S is the current indoor air humidity, and B is 100 rpm in the first gear;
步骤五:当第二温湿度传感器检测到湿度大于60%时,所述单片机控制驱动装置关闭百叶窗;Step 5: When the second temperature and humidity sensor detects that the humidity is greater than 60%, the single-chip microcomputer controls the driving device to close the blinds;
步骤六:当单片机检测到无线路由器打包发送的ip地址中并没有用户指定的ip地址,恢复至之前的档位状态运行标记“用户离开”上传至云服务器并广播至其他云服务器节点记录。Step 6: When the single-chip microcomputer detects that there is no user-specified ip address in the ip address packaged and sent by the wireless router, it restores to the previous gear state and runs the mark "User Away", uploads it to the cloud server and broadcasts it to other cloud server nodes to record.
附图说明Description of the drawings
图1是本发明的结构示意图。Figure 1 is a schematic diagram of the structure of the present invention.
图2是本发明一种实施方式的流程图。Fig. 2 is a flowchart of an embodiment of the present invention.
附图标记:1-门;2-门磁传感器;3-空气循环电扇;4-百叶窗;5-驱动装置;6-第一温湿度传感器;7-单片机;8-风速传感器;9-第二温湿度传感器。Reference signs: 1-door; 2-door magnetic sensor; 3-air circulation fan; 4-blinds; 5-driving device; 6-first temperature and humidity sensor; 7-single-chip computer; 8-wind speed sensor; 9-second Temperature and humidity sensor.
具体实施方式detailed description
为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。在下面的描述中,提供诸如具体的配置和组件的特定细节仅仅是为了帮助全面理解本发明的实施例。因此,本领域技术人员应该清楚,可以对这里描述的实施例进行各种改变和修改而不脱离本发明的范围和精神。另外,为了清楚和简洁,省略了对已知功能和构造的描述。In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments. In the following description, specific details such as specific configurations and components are provided only to help a comprehensive understanding of the embodiments of the present invention. Therefore, it should be clear to those skilled in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present invention. In addition, for clarity and conciseness, descriptions of known functions and configurations are omitted.
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本发明的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。It should be understood that the “one embodiment” or “an embodiment” mentioned throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present invention. Therefore, appearances of "in one embodiment" or "in an embodiment" in various places throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner.
在本发明的各种实施例中,应理解,下述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。In various embodiments of the present invention, it should be understood that the size of the sequence number of the following processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not be implemented in the present invention. The implementation process of the example constitutes any limitation.
应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三 种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" in this article is only an association relationship describing the associated objects, which means that there can be three kinds of relationships, for example, A and/or B, which can mean: A alone exists, and both A and B exist. , There are three cases of B alone. In addition, the character "/" in this text generally indicates that the associated objects before and after are in an "or" relationship.
在本申请所提供的实施例中,应理解,“与A相应的B”表示B与A相关联,根据A可以确定B。但还应理解,根据A确定B并不意味着仅仅根据A确定B,还可以根据A和/或其它信息确定B。In the embodiments provided in this application, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean that B is determined only according to A, and B can also be determined according to A and/or other information.
如图1所示,一种基于区块链技术的室内空气循环系统,包括检测单元、NBIoT通讯装置、云服务器、单片机7、百叶窗4、驱动百叶窗打开/关闭的驱动装置5和空气循环电风扇,所述空气循环电风扇设置于室内,面向地面,用于加速室内的冷热空气对流,使室内的空气湿度环境一直保持在人体舒适的范围。所述驱动装置5可以实现百叶窗4的打开和关闭,所述检测单元上传检测数据至所述单片机7,所述单片机7存储数据的同时通过所述NBIoT通讯装置将检测数据上传至云服务器,实现了数据上传并记录用户的喜好,为以后的智能化调控室内空气循环积累数据。As shown in Figure 1, an indoor air circulation system based on blockchain technology includes a detection unit, an NBIoT communication device, a cloud server, a single-chip microcomputer 7, a shutter 4, a driving device 5 that drives the shutter to open/close, and an air circulation electric fan The air circulation electric fan is installed indoors and faces the ground, and is used to accelerate the convection of hot and cold air in the room, so that the indoor air humidity environment is always kept within a comfortable range of the human body. The driving device 5 can open and close the blinds 4, the detection unit uploads detection data to the single-chip microcomputer 7, and the single-chip microcomputer 7 stores the data while uploading the detection data to the cloud server through the NBIoT communication device. In order to upload data and record user preferences, data can be accumulated for future intelligent regulation of indoor air circulation.
所述检测单元包括温湿度传感器、门磁传感器2、风速传感器8和噪音分贝测量模块,所述门磁传感器2安装于门框,门磁传感器2通过安装在门框感受门板的移动来判别门1的打开和关闭,并将门1打开/关闭的状态形成的模拟量转换为数字信号的形式保存;所述风速传感器8安置于室外,通过感知到的外界风速输出的模拟量转换为数字信号存储;温湿度传感器分为第一温湿度传感器6和第二温湿度传感器9,所述第一温湿度传感器6安置在室内客厅墙壁上,所述第二温湿度传感器9安置于室外的墙壁;温湿度传感器的工作原理是将把空气中的温湿度通过传感器检测,测量到温湿度后,按一定的规律将模拟量变换成数字信号输出。The detection unit includes a temperature and humidity sensor, a door magnetic sensor 2, a wind speed sensor 8 and a noise decibel measuring module. The door magnetic sensor 2 is installed on the door frame, and the door magnetic sensor 2 is installed on the door frame to sense the movement of the door panel to determine the door 1 Open and close, and convert the analog quantity formed by the open/closed state of the door 1 into a digital signal for storage; the wind speed sensor 8 is placed outdoors, and the analog quantity output by the sensed external wind speed is converted into a digital signal for storage; The humidity sensor is divided into a first temperature and humidity sensor 6 and a second temperature and humidity sensor 9. The first temperature and humidity sensor 6 is placed on the wall of the indoor living room, and the second temperature and humidity sensor 9 is placed on the outdoor wall; The working principle is to detect the temperature and humidity in the air through the sensor, after measuring the temperature and humidity, the analog quantity is converted into a digital signal output according to a certain rule.
所述NBIoT通讯装置分为NBIoT通讯节点和NBIoT通讯模块,所述NBIoT通讯模块分为第一NBIoT通讯模块、第二NBIoT通讯模块、第三NBIoT通讯模块和第四NBIoT通讯模块;所述第一温湿度传感器6连接所述第一NBIoT通讯模块,所述第二温湿度传感器9连接所述第二NBIoT通讯模块,所述门磁传感器2连接第三NBIoT通讯模块,所述风速传感器8连接第四NBIoT通讯模块;将各个传感器与NBIoT通讯模块相连,将传感器检测到的数据通过NBIoT通讯模块上传至所述NBIoT通讯节点,由于NBIoT通讯节点连接无线路由器,所述无线路由器与所述云平台连接,最终将传感器检测到的数据存储于云平台的各个服务器中;所述无线路由器与单片机7连接,实现了单片机7与云服务器的通信连接。The NBIoT communication device is divided into an NBIoT communication node and an NBIoT communication module, and the NBIoT communication module is divided into a first NBIoT communication module, a second NBIoT communication module, a third NBIoT communication module, and a fourth NBIoT communication module; The temperature and humidity sensor 6 is connected to the first NBIoT communication module, the second temperature and humidity sensor 9 is connected to the second NBIoT communication module, the door sensor 2 is connected to the third NBIoT communication module, and the wind speed sensor 8 is connected to the second NBIoT communication module. Four NBIoT communication modules; connect each sensor with the NBIoT communication module, and upload the data detected by the sensors to the NBIoT communication node through the NBIoT communication module. Since the NBIoT communication node is connected to a wireless router, the wireless router is connected to the cloud platform Finally, the data detected by the sensor is stored in each server of the cloud platform; the wireless router is connected with the single-chip microcomputer 7 to realize the communication connection between the single-chip 7 and the cloud server.
由于温湿度传感器、风速传感器8、门磁传感器2与单片机7之间的距离十分远,采用导线连接会导致布线过长且在现有装修完成的房屋内加装室内循环系统难度过大,所以将上述传感器通过NBIoT通讯模块连接,上传信息至NBIoT通讯节点,由于NBIoT通讯节点与 无线路由器连接,而单片机7与无线路由器连接;最终单片机7会接收到各个传感器检测到的信息并根据此来控制驱动装置5和空气循环电风扇。Because the distance between the temperature and humidity sensor, the wind speed sensor 8, the door sensor 2 and the single-chip microcomputer 7 is very long, the use of wire connection will cause the wiring to be too long and it is too difficult to install the indoor circulation system in the existing decorated house. Connect the above-mentioned sensors through the NBIoT communication module and upload information to the NBIoT communication node. Since the NBIoT communication node is connected to the wireless router, and the single-chip microcomputer 7 is connected to the wireless router; finally the single-chip microcomputer 7 will receive the information detected by each sensor and control it accordingly Drive device 5 and air circulation electric fan.
根据区块链技术的特性,单片机7需要发送一次命令并向云服务器报备,然后云服务器广播至各个云服务器节点;由于区块链需要加密时间轴的特性,即可通过这个加密特性来杜绝黑客模仿输入指令控制室内空气循环系统。而用户可以通过移动通讯设备将特定的ip地址(如使用者的移动通讯设备的ip地址)打包发送至单片机7。According to the characteristics of blockchain technology, the single-chip microcomputer 7 needs to send a command and report to the cloud server, and then the cloud server broadcasts to each cloud server node; because the blockchain needs to encrypt the time axis, this encryption feature can be used to eliminate The hacker imitates the input command to control the indoor air circulation system. The user can package and send a specific ip address (such as the ip address of the user's mobile communication device) to the single-chip microcomputer 7 through the mobile communication device.
现在生活中,使用移动通讯设备如手机,人们进入室内都会选择连接室内WiFi来进行娱乐活动,而屋主的手机更是会在连接成功一次后,默认连接这个WiFi热点。本发明便是将WiFi连接的ip地址作为判定人是否进入屋内的条件。Now in life, using mobile communication devices such as mobile phones, people entering the room will choose to connect to the indoor WiFi for entertainment, and the homeowner's mobile phone will connect to this WiFi hotspot by default after a successful connection. The present invention uses the ip address of the WiFi connection as a condition for determining whether a person enters the house.
所述单片机7可以设置有关闭阈值,当风速或湿度大于阈值,单片机7输出指令控制所述驱动装置5关闭百叶窗4,控制所述空气循环电风扇关闭。The single-chip microcomputer 7 may be provided with a closing threshold value. When the wind speed or humidity is greater than the threshold value, the single-chip microcomputer 7 outputs an instruction to control the driving device 5 to close the shutters 4 and control the air circulation electric fan to close.
在一个实施方式中,用户通过移动通讯设备将空气循环电扇的档位和百叶窗的打开/关闭状态编辑为8位数据长度的命令发送至云服务器,云服务器收到命令并广播至其他云服务器节点后发送至用户指定的单片机,控制空气循环电风扇的档位和百叶窗的打开/关闭状态。通过将控制命令上传至云服务器由云服务器代为发送,由于云服务器与单片机连接基于区块链技术,所以可以避免被黑客黑入系统。In one embodiment, the user edits the stall position of the air circulation fan and the open/close state of the shutters to the cloud server through the mobile communication device, and sends the command to the cloud server, and the cloud server receives the command and broadcasts it to other cloud server nodes Then it is sent to the MCU designated by the user to control the gear position of the air circulation electric fan and the open/close state of the blinds. By uploading the control command to the cloud server, the cloud server sends it on its behalf. Since the cloud server and the single-chip microcomputer are connected based on blockchain technology, hackers can avoid being hacked into the system.
在另一个实施方式中,用户提前设置湿度阈值,当温湿度传感器检测到的湿度大于预设湿度阈值时,单片机7控制所述空气循环电扇3转速为500r/s,所述空气循环电风扇出风朝向地面是通过加速地面的空气对流,让室内空气湿度恢复到用户设定的状况。In another embodiment, the user sets the humidity threshold in advance. When the humidity detected by the temperature and humidity sensor is greater than the preset humidity threshold, the single-chip microcomputer 7 controls the rotation speed of the air circulation fan 3 to 500 r/s, and the air circulation fan outputs The wind toward the ground accelerates the air convection on the ground and restores the indoor air humidity to the user-set condition.
在一个实施方式中,当单片机7接收的第二温湿度传感器9检测到的湿度大于80%或温度低于15°时,所述单片机7输出“人工操作”状态通过所述NBIoT通讯节点上传至所述云服务器并关闭窗和空气循环电扇3;因为在南方,湿度过大会使室内地板积水,房间发霉,所以需要等待用户人工开窗打开空气循环电扇3,避免屋内环境潮湿。In one embodiment, when the humidity detected by the second temperature and humidity sensor 9 received by the single-chip microcomputer 7 is greater than 80% or the temperature is lower than 15°, the single-chip microcomputer 7 outputs the "manual operation" status and uploads it to the NBIoT communication node. The cloud server closes the window and the air circulation fan 3; because in the south, excessive humidity will cause water to accumulate on the indoor floor and mold the room, so it is necessary to wait for the user to manually open the window to turn on the air circulation fan 3 to avoid humidity in the house.
在一个实施方式中,当单片机7收到的第一温湿度传感器6检测到的湿度大于70%或温度低于18°时,所述单片机7关闭空气循环电扇3、关窗避免室内温度过低或过分潮湿。In one embodiment, when the humidity detected by the first temperature and humidity sensor 6 received by the single-chip microcomputer 7 is greater than 70% or the temperature is lower than 18°, the single-chip microcomputer 7 turns off the air circulation fan 3 and closes the window to avoid the indoor temperature from being too low Or too humid.
当单片机7收到的第一温湿度传感器6检测到的湿度大于70%或温度低于18°时,所述单片机7关闭空气循环电扇3、关窗避免室内温度过低或过分潮湿。因为室内室外有较明显的温差,如果仅考虑室外温湿度为标准会导致室内温度低于室外温度,有研究表明,低于18°后人体会感觉到寒冷,因此需要关闭百叶窗4和空气循环电扇3。When the humidity detected by the first temperature and humidity sensor 6 received by the single-chip microcomputer 7 is greater than 70% or the temperature is lower than 18°, the single-chip microcomputer 7 turns off the air circulation fan 3 and closes the window to prevent the indoor temperature from being too low or excessively humid. Because there is a significant temperature difference between indoor and outdoor, if you only consider the outdoor temperature and humidity as the standard, the indoor temperature will be lower than the outdoor temperature. Studies have shown that the human body will feel cold when it is below 18°, so the shutters 4 and the air circulation fan need to be closed. 3.
如图2所示,本发明一种实施例的流程步骤,在没有人工干预改变空气循环电扇3档位的情况下是:As shown in Figure 2, the process steps of an embodiment of the present invention without manual intervention to change the 3 gears of the air circulation fan are:
步骤一:当所述无线路由器接收到特定的IP地址连接请求,向所述单片机7发送IP地址,并对比自身存储单元中的IP地址判定用户身份,并通过所述NBIoT通讯装置发送至所述云服务器,所述云服务器记录用户身份标记为“进门”状态,广播至其他云服务器节点记录;Step 1: When the wireless router receives a specific IP address connection request, it sends the IP address to the single chip microcomputer 7, and compares the IP address in its own storage unit to determine the user identity, and sends it to the NBIoT communication device A cloud server, where the cloud server records that the user's identity is marked as a "door in" state, and broadcasts to other cloud server nodes to record;
步骤二:所述门磁传感器2感应到门的开启,向所述单片机7发送一个高电平脉冲信号,所述单片机7接收到高电平脉冲信号后判定为用户进入房间内,并通过所述NBIoT通讯装置将室内有人状态发送至所述云服务器,所述云服务器收到室内状态后标记为“入室”状态并广播至其他云服务器节点记录;Step 2: The door sensor 2 senses the opening of the door, and sends a high-level pulse signal to the single-chip microcomputer 7. After receiving the high-level pulse signal, the single-chip microcomputer 7 determines that the user has entered the room and passed the The NBIoT communication device sends the indoor occupant status to the cloud server, and the cloud server marks the "indoor" status after receiving the indoor status and broadcasts it to other cloud server nodes for recording;
步骤三:在所述云服务器记录用户身份标记为“进门”状态下,当单片机7检测到无线路由器打包发送的ip地址为用户指定的ip地址,中断当前的档位状态,根据当前连接WiFi数量调整空气循环扇的档位,所述单片机7控制驱动装置5打开百叶窗4;Step 3: When the cloud server records that the user identity is marked as "incoming", when the single-chip microcomputer 7 detects that the ip address packaged and sent by the wireless router is the ip address specified by the user, the current gear state is interrupted, according to the number of currently connected WiFi Adjust the gear position of the air circulation fan, the single-chip microcomputer 7 controls the driving device 5 to open the shutters 4;
步骤四:单片机7输出空气循环电风扇的转速为W=10(N-1)*S*B+B,Step 4: The rotation speed of the air circulation electric fan output by the single chip microcomputer 7 is W=10(N-1)*S*B+B,
W是转速,N为WiFi连接数量,S为当前室内空气湿度,B为1挡转速100转;W is the speed, N is the number of WiFi connections, S is the current indoor air humidity, and B is 100 rpm in the first gear;
步骤五:当第二温湿度传感器9检测到湿度大于60%时,所述单片机7控制驱动装置5关闭百叶窗4;Step 5: When the second temperature and humidity sensor 9 detects that the humidity is greater than 60%, the single-chip microcomputer 7 controls the driving device 5 to close the blinds 4;
步骤六:当单片机7检测到无线路由器打包发送的ip地址中并没有用户指定的ip地址,恢复至之前的档位状态运行标记“用户离开”上传至云服务器并广播至其他云服务器节点记录。Step 6: When the single-chip microcomputer 7 detects that there is no user-specified ip address in the ip address packaged and sent by the wireless router, it restores to the previous gear state and runs the mark "User Away", uploads it to the cloud server and broadcasts it to other cloud server nodes for recording.
本具体实施例仅仅是对本发明的解释,其并不是对本发明的限制,本领域技术人员在阅读完本说明书后可以根据需要对本实施例做出没有创造性贡献的修改,但只要在本发明的保护范围内都受到专利法的保护。This specific embodiment is only an explanation of the present invention, and it is not a limitation of the present invention. After reading this specification, those skilled in the art can make modifications to this embodiment without creative contribution as needed, but as long as the protection of the present invention The scope is protected by patent law.

Claims (5)

  1. 一种基于区块链技术的室内空气循环系统,包括检测单元、NBIoT通讯装置、云服务器、单片机(7)、窗户和空气循环电风扇,所述窗户包括百叶窗(4)和驱动百叶窗打开/关闭的驱动装置(5),所述空气循环电风扇设置于室内,所述检测单元上传检测数据至所述单片机(7),所述单片机(7)存储数据的同时通过所述NBIoT通讯装置将检测数据上传至云服务器,其特征在于:所述检测单元包括温湿度传感器、门磁传感器、风速传感器(8),所述门磁传感器安装于门框,所述风速传感器(8)安置于室外;An indoor air circulation system based on blockchain technology, including a detection unit, NBIoT communication device, cloud server, single-chip microcomputer (7), windows and air circulation electric fans, the windows including shutters (4) and driving shutters to open/close The driving device (5) of the air circulation fan is installed indoors, the detection unit uploads detection data to the single-chip microcomputer (7), and the single-chip microcomputer (7) stores the data and detects the data through the NBIoT communication device The data is uploaded to the cloud server, characterized in that: the detection unit includes a temperature and humidity sensor, a door magnetic sensor, and a wind speed sensor (8), the door magnetic sensor is installed on the door frame, and the wind speed sensor (8) is installed outdoors;
    所述NBIoT通讯装置分为NBIoT通讯节点和NBIoT通讯模块,所述NBIoT通讯模块分为第一NBIoT通讯模块、第二NBIoT通讯模块、第三NBIoT通讯模块和第四NBIoT通讯模块;The NBIoT communication device is divided into an NBIoT communication node and an NBIoT communication module, and the NBIoT communication module is divided into a first NBIoT communication module, a second NBIoT communication module, a third NBIoT communication module, and a fourth NBIoT communication module;
    所述温湿度传感器分为第一温湿度传感器(6)和第二温湿度传感器(9),所述第一温湿度传感器(6)安置在室内客厅墙壁上,所述第二温湿度传感器(9)安置于室外的墙壁;所述第一温湿度传感器(6)连接所述第一NBIoT通讯模块,所述第二温湿度传感器(9)连接所述第二NBIoT通讯模块,通过所述第一、第二NBIoT通讯模块向所述NBIoT通讯节点传输检测到的温湿度数据;The temperature and humidity sensor is divided into a first temperature and humidity sensor (6) and a second temperature and humidity sensor (9), the first temperature and humidity sensor (6) is arranged on the wall of the indoor living room, and the second temperature and humidity sensor ( 9) Placed on an outdoor wall; the first temperature and humidity sensor (6) is connected to the first NBIoT communication module, and the second temperature and humidity sensor (9) is connected to the second NBIoT communication module. 1. The second NBIoT communication module transmits the detected temperature and humidity data to the NBIoT communication node;
    所述门磁传感器连接第三NBIoT通讯模块,所述风速传感器(8)连接第四NBIoT通讯模块;所述NBIoT通讯节点连接无线路由器,所述无线路由器与单片机(7)连接,将新接入和断开的IP地址打包发送至单片机(7);所述单片机(7)连接所述驱动装置(5)、空气循环电风扇;所述单片机(7)设置有关闭阈值,当风速或湿度大于所述关闭阈值,单片机(7)输出指令控制所述驱动装置(5)关闭百叶窗(4),控制所述空气循环电风扇关闭;The door magnetic sensor is connected to the third NBIoT communication module, the wind speed sensor (8) is connected to the fourth NBIoT communication module; the NBIoT communication node is connected to a wireless router, and the wireless router is connected to the single-chip microcomputer (7) to connect the new And the disconnected IP address are packaged and sent to the single-chip microcomputer (7); the single-chip microcomputer (7) is connected to the driving device (5) and the air circulation electric fan; the single-chip microcomputer (7) is set with a shutdown threshold, when the wind speed or humidity is greater than For the closing threshold, the single-chip microcomputer (7) outputs an instruction to control the driving device (5) to close the blinds (4), and to control the air circulation electric fan to close;
    所述NBIoT通讯节点将接收的温湿度数据分类传输至单片机(7)并通过网络设备上传云服务器,所述单片机(7)存储有用户指定的IP地址,所述IP地址由云服务器发送至无线路由器,所述无线路由器传输至单片机(7)。The NBIoT communication node classifies and transmits the received temperature and humidity data to the single-chip microcomputer (7) and uploads it to the cloud server through a network device. The single-chip microcomputer (7) stores an IP address designated by the user, and the IP address is sent from the cloud server to the wireless Router, the wireless router transmits to the single-chip microcomputer (7).
  2. 根据权利要求1所述的基于区块链技术的室内空气循环系统,其特征在于:当所述第一温湿度传感器(6)检测到的湿度大于预设湿度阈值时,单片机(7)控制所述空气循环电扇(3)转速为500r/s,所述空气循环电风扇出风方向朝向地面。The indoor air circulation system based on blockchain technology according to claim 1, characterized in that: when the humidity detected by the first temperature and humidity sensor (6) is greater than a preset humidity threshold, the single-chip microcomputer (7) controls the The rotation speed of the air circulation electric fan (3) is 500 r/s, and the air outlet direction of the air circulation electric fan faces the ground.
  3. 根据权利要求1所述的基于区块链技术的室内空气循环系统,其特征在于:当单片机(7)接收的第二温湿度传感器(9)检测到的湿度大于80%或温度低于15°时,所述单片机(7)输出“人工操作”状态通过所述NBIoT通讯节点上传至所述云服务器并控制驱动装置(5)关闭窗户和关闭空气循环电扇(3)。The indoor air circulation system based on blockchain technology according to claim 1, characterized in that: when the second temperature and humidity sensor (9) received by the single-chip microcomputer (7) detects the humidity is greater than 80% or the temperature is lower than 15° At this time, the single-chip microcomputer (7) outputs the "manual operation" state and uploads it to the cloud server through the NBIoT communication node and controls the driving device (5) to close the window and the air circulation fan (3).
  4. 根据权利要求1所述的基于区块链技术的室内空气循环系统,其特征在于:当单片机 (7)收到的第一温湿度传感器(6)检测到的湿度大于70%或温度低于18°时,所述单片机(7)关闭空气循环电扇(3)、控制驱动装置(5)关闭窗户避免室内温度过低或过分潮湿。The indoor air circulation system based on blockchain technology according to claim 1, characterized in that: when the first temperature and humidity sensor (6) received by the single-chip microcomputer (7) detects the humidity is greater than 70% or the temperature is lower than 18 When °C, the single-chip microcomputer (7) turns off the air circulation fan (3), and the control driving device (5) closes the windows to prevent the indoor temperature from being too low or too humid.
  5. 一种根据权利要求1至4中任一项基于区块链技术的室内空气循环系统的使用方法,包括如下步骤:A method for using an indoor air circulation system based on blockchain technology according to any one of claims 1 to 4, comprising the following steps:
    步骤一:当所述无线路由器接收到特定的IP地址连接请求,向所述单片机(7)发送IP地址,并对比自身存储单元中的IP地址判定用户身份,并通过所述NBIoT通讯装置发送至所述云服务器,所述云服务器记录用户身份标记为“进门”状态,广播至其他云服务器节点记录;Step 1: When the wireless router receives a specific IP address connection request, it sends the IP address to the single-chip microcomputer (7), and compares the IP address in its own storage unit to determine the user identity, and sends it to the NBIoT communication device In the cloud server, the cloud server records that the user identity is marked as "into the door" state, and broadcasts to other cloud server nodes to record;
    步骤二:所述门磁传感器感应到门(1)的开启,向所述单片机(7)发送一个高电平脉冲信号,所述单片机(7)接收到高电平脉冲信号后判定为用户进入房间内,并通过所述NBIoT通讯装置将室内有人状态发送至所述云服务器,所述云服务器收到室内状态后标记为“入室”状态并广播至其他云服务器节点记录;Step 2: The door magnetic sensor senses the opening of the door (1) and sends a high-level pulse signal to the single-chip microcomputer (7). After the single-chip (7) receives the high-level pulse signal, it is determined that the user has entered In the room, the occupant status in the room is sent to the cloud server through the NBIoT communication device, and the cloud server marks the status of "in the room" after receiving the indoor status and broadcasts it to other cloud server nodes for recording;
    步骤三:在所述云服务器记录用户身份标记为“进门”状态下,当单片机(7)检测到无线路由器打包发送的IP地址为用户指定的IP地址时,中断当前的档位状态,根据当前连接WiFi数量调整空气循环扇的档位,所述单片机(7)控制驱动装置(5)打开百叶窗(4);Step 3: When the cloud server records that the user identity is marked as "into the door" state, when the single-chip microcomputer (7) detects that the IP address packaged and sent by the wireless router is the user-specified IP address, it interrupts the current gear status, and according to the current The number of WiFi is connected to adjust the gear position of the air circulation fan, and the single-chip microcomputer (7) controls the driving device (5) to open the blinds (4);
    步骤四:单片机(7)输出空气循环电风扇的转速为W=10(N-1)*S*B+B,Step 4: The speed of the air circulation electric fan output by the single-chip microcomputer (7) is W=10(N-1)*S*B+B,
    W是转速,N为WiFi连接数量,S为当前室内空气湿度,B为1挡转速100转;W is the speed, N is the number of WiFi connections, S is the current indoor air humidity, and B is 100 rpm in the first gear;
    步骤五:当第二温湿度传感器(9)检测到湿度大于60%时,所述单片机(7)控制驱动装置(5)关闭百叶窗(4);Step 5: When the second temperature and humidity sensor (9) detects that the humidity is greater than 60%, the single-chip microcomputer (7) controls the driving device (5) to close the blinds (4);
    步骤六:当单片机(7)检测到无线路由器打包发送的IP地址中并没有用户指定的IP地址,恢复至之前的档位状态运行标记“用户离开”上传至云服务器并广播至其他云服务器节点记录。Step 6: When the single-chip microcomputer (7) detects that there is no user-specified IP address in the IP address packaged and sent by the wireless router, it restores to the previous gear state. The operation mark "User Away" is uploaded to the cloud server and broadcast to other cloud server nodes. recording.
PCT/CN2019/079259 2019-01-24 2019-03-22 Indoor air circulation system based on blockchain technology WO2020151076A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910067529.8 2019-01-24
CN201910067529.8A CN109869870A (en) 2019-01-24 2019-01-24 A kind of indoor air circulation system based on block chain technology

Publications (1)

Publication Number Publication Date
WO2020151076A1 true WO2020151076A1 (en) 2020-07-30

Family

ID=66918044

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/079259 WO2020151076A1 (en) 2019-01-24 2019-03-22 Indoor air circulation system based on blockchain technology

Country Status (2)

Country Link
CN (1) CN109869870A (en)
WO (1) WO2020151076A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114244839A (en) * 2021-12-17 2022-03-25 深圳市华高智科技有限公司 Traceability tracking system based on block chain and Internet of things technology

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104782140A (en) * 2012-11-13 2015-07-15 三菱电机株式会社 Air-conditioning system and central control device
EP2947396A1 (en) * 2014-05-20 2015-11-25 Schwille-Elektronik Produktions- und Vertriebs GmbH Method for ventilating a room and ventilation system for same
US20170212485A1 (en) * 2016-01-25 2017-07-27 Samsung Electronics Co., Ltd Electronic device for controlling air condition based on location information and method of operating the same
CN206572706U (en) * 2017-03-13 2017-10-20 成都信息工程大学 A kind of air-conditioning O&M supervising device based on NBIOT
CN107896237A (en) * 2017-09-29 2018-04-10 珠海格力电器股份有限公司 A kind of control method of equipment, system, storage medium and equipment
CN207348674U (en) * 2017-09-18 2018-05-11 邵文英 A kind of door machine control system based on technology of Internet of things
CN208186713U (en) * 2017-12-18 2018-12-04 西京学院 A kind of domestic environment intelligence regulation and control system
CN208296196U (en) * 2018-02-11 2018-12-28 合肥图久智能科技有限公司 The warm and humid flow velocity regulating system of air based on P-bus transmission communication
CN208332567U (en) * 2018-12-04 2019-01-04 远大洁净空气科技有限公司 A kind of new blower mode tuning device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202328625U (en) * 2011-11-14 2012-07-11 苏州瑞维思软件有限公司 Novel air-conditioner regulating device
CN105871855B (en) * 2016-04-11 2019-09-13 杨鹏 The method and system that a kind of electronic equipment identification code is generated, stores and identified
CN106765995A (en) * 2017-01-20 2017-05-31 深圳美智方科技有限公司 Air purification method and system
CN107196934B (en) * 2017-05-18 2019-05-10 电子科技大学 A kind of cloud data managing method based on block chain
CN107171810B (en) * 2017-06-27 2020-03-13 中国联合网络通信集团有限公司 Verification method and device of block chain
CN207540091U (en) * 2017-10-19 2018-06-26 北京智居生活科技有限公司 A kind of smart home air system
CN108534226A (en) * 2018-03-09 2018-09-14 山西赛文思达科技有限公司 A kind of intelligent air cleaning system built suitable for smart city
CN109114726B (en) * 2018-08-17 2020-07-10 广东奥维信息科技有限公司 Machine room with temperature control function and carrying block chain technology
CN109246842B (en) * 2018-09-25 2020-12-08 珠海格力电器股份有限公司 Equipment control method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104782140A (en) * 2012-11-13 2015-07-15 三菱电机株式会社 Air-conditioning system and central control device
EP2947396A1 (en) * 2014-05-20 2015-11-25 Schwille-Elektronik Produktions- und Vertriebs GmbH Method for ventilating a room and ventilation system for same
US20170212485A1 (en) * 2016-01-25 2017-07-27 Samsung Electronics Co., Ltd Electronic device for controlling air condition based on location information and method of operating the same
CN206572706U (en) * 2017-03-13 2017-10-20 成都信息工程大学 A kind of air-conditioning O&M supervising device based on NBIOT
CN207348674U (en) * 2017-09-18 2018-05-11 邵文英 A kind of door machine control system based on technology of Internet of things
CN107896237A (en) * 2017-09-29 2018-04-10 珠海格力电器股份有限公司 A kind of control method of equipment, system, storage medium and equipment
CN208186713U (en) * 2017-12-18 2018-12-04 西京学院 A kind of domestic environment intelligence regulation and control system
CN208296196U (en) * 2018-02-11 2018-12-28 合肥图久智能科技有限公司 The warm and humid flow velocity regulating system of air based on P-bus transmission communication
CN208332567U (en) * 2018-12-04 2019-01-04 远大洁净空气科技有限公司 A kind of new blower mode tuning device

Also Published As

Publication number Publication date
CN109869870A (en) 2019-06-11

Similar Documents

Publication Publication Date Title
US9951965B2 (en) Smart HVAC
US10869006B2 (en) Doorbell camera with battery at chime
US10135628B2 (en) System, device, and apparatus for coordinating environments using network devices and remote sensory information
CN101856193B (en) Sunshade intelligent control system and sunshade intelligent control platform
US10030885B1 (en) Smart register device and method
EP3092750A1 (en) System, device, and apparatus for coordinating environments using network devices and remote sensory information
JP7393526B2 (en) Methods, electronic devices, server systems, and programs for providing event clips
US20160054017A1 (en) Air conditioning management device, air conditioning system, and program
EP2467975A1 (en) Method and apparatus for control of household devices
JP6552381B2 (en) Control device, control system and program
CN109188926A (en) A kind of method and apparatus controlling smart home
KR20200092807A (en) smart window
US20120041603A1 (en) System for the central control of operational devices
KR20200132152A (en) Apparatus for controlling moving of system louver
WO2020151076A1 (en) Indoor air circulation system based on blockchain technology
JP6209050B2 (en) Air conditioner
WO2015078299A1 (en) Smart home monitoring method, apparatus, and smart home system
CN105606504B (en) Home environment quality pre-alert method
CN206649298U (en) A kind of intelligent domestic system
KR20200095663A (en) Auto opening and closing Device of window
CN215067771U (en) Intelligent panel based on knob switch and touch screen
CN210629700U (en) Intelligent household monitoring device
CN210776339U (en) Control system of wisdom hotel guest room
JP6252840B2 (en) Shutter device
FR2812110A1 (en) Building locking system has central remote control automatically assigns functions for all shutters

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: 19911801

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: 19911801

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 19911801

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 DATED 07.03.2022 (EPO FORM 1205A)