CN111983930A - Single fire switch control system based on BLE5.0 - Google Patents

Single fire switch control system based on BLE5.0 Download PDF

Info

Publication number
CN111983930A
CN111983930A CN202010782072.1A CN202010782072A CN111983930A CN 111983930 A CN111983930 A CN 111983930A CN 202010782072 A CN202010782072 A CN 202010782072A CN 111983930 A CN111983930 A CN 111983930A
Authority
CN
China
Prior art keywords
single fire
fire switch
gateway
ble
personal terminal
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202010782072.1A
Other languages
Chinese (zh)
Inventor
裴丽群
童辉
帖涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yuntu Digital Technology Co ltd
Original Assignee
Shenzhen Yuntu Digital Technology Co ltd
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 Shenzhen Yuntu Digital Technology Co ltd filed Critical Shenzhen Yuntu Digital Technology Co ltd
Priority to CN202010782072.1A priority Critical patent/CN111983930A/en
Publication of CN111983930A publication Critical patent/CN111983930A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Abstract

A single fire switch control system based on BLE5.0 comprises a single fire switch, a gateway, a server end and a personal terminal, wherein the single fire switch comprises a first BLE module, a power supply module and a switch circuit, the gateway comprises a second BLE module, the second BLE module is in wireless connection with the first BLE module, a plurality of single fire switches are connected through wireless connection by taking the BLE as a center to form a star-shaped structure network, the first BLE module and the second BLE module both comprise a PHY protocol supporting LE code, the server end is connected with the gateway, the server end processes and controls the connection state of each single fire switch and the gateway, the personal terminal comprises a mobile phone APP, the personal terminal is in wireless connection with the server end, a user controls the state of each single fire switch through the mobile phone APP, and the single fire switch control system is wide in communication range based on BLE5.0, a large number of single fire switches are controlled with few gateways.

Description

Single fire switch control system based on BLE5.0
Technical Field
The invention relates to the field of wireless intelligent switches, in particular to a BLE 5.0-based single-fire switch control system.
Background
Along with the development of the internet of things, more and more equipment is incorporated into the intelligent equipment network, nowadays, not only large-scale electronic equipment such as air conditioner, dehumidifier have connected the net, still include the small-size equipment such as electric light, door curtain, the internet of things of special electric light mainly has two kinds of regulation and control modes, is single fire switch and zero fire switch respectively, and single fire switch wherein is owing to use a live wire to get the electricity, under the condition that supports 3W's LED, under the off-state condition, the master control part can only use less electric current, carries out work. If a certain current value is exceeded, the phenomenon of LED flickering occurs, and the user application experience is influenced. Meanwhile, in use, the single live wire switch should have a longer control distance, so that in the application of a client, the situation that the single live wire switch is far away from the gateway and cannot be controlled or the control failure rate is higher can be avoided. If the single fire wire switch is connected to the gateway by means of a relay, the purchase cost of the customer is additionally increased. In the current technology, the single fire switch mainly performs wireless communication through a Zigbee or BLE 1MHz PHY mode, and although the technologies have low energy consumption, the technologies have characteristics such as small network coverage and easy occurrence of ghost fire.
Disclosure of Invention
In view of the above situation, it is necessary to provide a BLE 5.0-based one-fire switch control system to increase the communication distance of one-fire switches, reduce the number of gateways in a room, and reduce the cost.
In order to solve the technical problem, the application provides a single fire switch control system based on BLE5.0, include: a single fire switch, a gateway, a server end and a personal terminal,
the single fire switch comprises a first BLE module, a power supply module and a switch circuit, wherein the power supply module is electrically connected with the BLE module and supplies power to the first BLE module, the first BLE module is electrically connected with the switch circuit,
the gateway comprises a second BLE module, the second BLE module is in wireless connection with the first BLE module, the gateway is used as the center, a plurality of single fire switches are connected through wireless connection to form a star-shaped structure network, and the first BLE module and the second BLE module both support LE Coded PHY protocol
The server end is connected with the gateway, the server end processes and controls the connection state of each single fire switch and the gateway,
the personal terminal comprises a mobile phone APP, the personal terminal is in wireless connection with the server side, and a user controls the state of each single-fire switch through the mobile phone APP.
Further, the single fire switch further comprises an indicator light and an access key, and the indicator light and the access key are connected with the first BLE module.
Further, the operation includes the steps of:
the user designates the gateway connected with the newly connected single fire switch as a central gateway through the personal terminal, the personal terminal sends a connection instruction of the central gateway and the single fire switch as a connection instruction, the user sends the connection instruction to the server through the personal terminal,
the server end sends a connection instruction to the central gateway, receives and checks the relevant parameters of the single fire switch, receives the connection state fed back from the central gateway and the single fire switch, reports the connection state to the personal terminal,
the central gateway starts equipment access scanning after receiving a connection instruction, establishes connection after receiving parameter broadcasting of the single fire switch, transmits a key through an encryption channel with the single fire switch, and reports an equipment activation state to the server side.
Further, the device access scanning time is 60 seconds.
Further, the first and second BLE chips comprise DA14585, TC35680FSG, BlueNRG-2, CYW20735, EFR32BG series, and EFR32MG series.
Further, the information transmission protocols between the central gateway and the single fire switch, between the central gateway and the server side, and between the server side and the personal terminal include an AES128 dynamic encryption mechanism.
Further, the server side comprises a local server and a cloud server, when the server side is the local server, the connection between the gateway and the local server comprises wired connection and wireless connection, and when the server side is the cloud server, the connection between the gateway and the cloud server comprises 5G, 4G and broadband connection.
Further, the personal terminal comprises an alarm module, when any one of the single fire switches fails, the personal terminal receives an alarm prompt, and when any one of the gateways fails, the personal terminal receives the alarm prompt.
Above-mentioned single fire switch control system based on BLE5.0 is connected with the gateway that supports BLE5.0 equally through BLE5.0 chip that has long distance communication ability, and the rethread meets server end and personal terminal with the gateway to regulate and control the closed state of single fire switch fast on personal terminals such as cell-phone, not only with less gateway input, improved the reliability and the intellectuality of a whole set of intelligent house.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application.
FIG. 1 is an overall configuration diagram of a single fire switch control system of the present invention;
FIG. 2 is a block diagram showing the construction of a single fire switch according to the present embodiment;
fig. 3 is a flowchart of the operation of the single fire switch control system of the present embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clearly understood, a BLE5.0 based single fire switch control system of the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to the construction diagrams of fig. 1 and 2, a BLE 5.0-based one-fire switch control system comprises,
the single fire switch comprises a first BLE module, a power supply module and a switch circuit, wherein the power supply module is electrically connected with the BLE module and supplies power to the first BLE module, the first BLE module is electrically connected with the switch circuit,
the gateway comprises a second BLE module which is wirelessly connected with the first BLE module, a star-structure network is formed by wirelessly connecting a plurality of single fire switches by taking the gateway as a center, the first BLE module and the second BLE module both comprise a PHY protocol supporting LE Coded, the PHY protocol of LE Coded is a long-distance frequency band initially provided by BLE5.0, and the long-distance communication range provides more cost-saving for the Internet of things,
the server end is connected with the gateway, the server end processes and controls the connection state of each single fire switch and the gateway,
the personal terminal comprises a mobile phone APP, the personal terminal is in wireless connection with the server, a user controls the state of each single-fire switch through the mobile phone APP, similarly, the personal terminal can also run on personal computers such as iPad and other terminal equipment, and the personal terminal is not limited to mobile phone application software.
Preferably, the single fire switch further comprises an indicator light and an access key, the indicator light and the access key are both connected with the first BLE module, the connection state of the single fire switch can be indicated by the flashing mode and the color of the indicator light of the single fire switch, the access key is a trigger button of the BLE module in the single fire switch, and the process of touching and pressing the access key to the access gateway of the single fire switch is used for switching.
Referring to the flow chart of the single fire switch control system of fig. 3, the operation preferably includes the following steps:
step one S100, a user designates a gateway connected with a newly connected single fire switch as a central gateway through a personal terminal, the personal terminal sends a command of connecting the central gateway and the single fire switch as a connection command, the user sends the connection command to a server end through the personal terminal,
step two, S200, the server end sends a connection instruction to the central gateway, receives and checks the relevant parameters of the single fire switch, receives the connection state fed back from the central gateway and the single fire switch, reports the connection state to the personal terminal,
step three S300, the central gateway starts equipment access scanning after receiving the connection instruction, establishes connection after receiving parameter broadcasting of the single fire switch, transmits a key through an encryption channel between the central gateway and the single fire switch, and reports the equipment activation state to the server side.
The single fire switch is connected with the whole control system, the closed state of the single fire switch is regulated and controlled through the control of the personal terminal, and the switch circuit of the single fire switch is connected with the electric appliance controlled by the single fire switch, so that the switch states of the lamp bulb, the small fan and the like are controlled.
Preferably, the device access scan time is 60 seconds.
Preferably, the first BLE chip and the second BLE chip include chips of EFR32MG and EFR32BG series, which are BLE chips belonging to the core technology, but the chip is not limited to these chips in the present invention, and any subsequent chip such as DA14585, TC35680FSG, BlueNRG-2, CYW20735, etc. as long as it supports LE coded phy protocol, such as ble5.x, should be included.
Preferably, the information transmission protocol between the central gateway and the one-fire switch, between the central gateway and the server side, and between the server side and the personal terminal comprises an AES128 dynamic encryption mechanism, in the system, the multi-segment connection is transmitted through wireless, signals are emitted into the atmosphere, the signals are possibly intercepted, and therefore, the confidentiality is the most basic and the most important.
Preferably, the server side comprises a local server and a cloud server, when an office building, a large-scale shopping mall and the like which are erected on the system need large-scale space coverage, because the data volume is large and the confidentiality of information is ensured, the local server is selected, when the server side is the local server, the connection between the gateway and the local server comprises a wired connection and a wireless connection, wherein the wireless connection is mainly the connection of a WiFi network, when the server side is the cloud server, the cloud server has lower cost and better service, no special person is needed for maintenance, the requirement on bandwidth is higher, the confidentiality is poorer, and the connection mode between the gateway and the cloud server comprises 5G, 4G and broadband connection.
Preferably, the personal terminal includes alarm module, when arbitrary single fire switch breaks down, the warning suggestion is all received to the personal terminal, when arbitrary gateway breaks down, the warning suggestion is received to the personal terminal, this warning suggestion has included the jingle bell, the vibrations suggestion, SMS propelling movement and individual social software propelling movement, and in case arbitrary personal terminal has cancelled the warning propelling movement and just can relieve the warning suggestion of all personal terminals, can be provided with the warning history at the personal terminal certainly, can know what equipment has carried out the warning at what time through inquiring about the warning history, it has relieved the warning suggestion to have in addition, if do not handle the trouble problem at last, can pursue the liability.
Although the present invention has been described with reference to a preferred embodiment, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

1. A BLE 5.0-based single fire switch control system is characterized by comprising: a single fire switch, a gateway, a server end and a personal terminal,
the single fire switch comprises a first BLE module, a power supply module and a switch circuit, wherein the power supply module is electrically connected with the BLE module and supplies power to the first BLE module, the first BLE module is electrically connected with the switch circuit,
the gateway comprises a second BLE module which is wirelessly connected with the first BLE module, a plurality of single fire switches are wirelessly connected by taking the gateway as a center to form a star-shaped structure network, the first BLE module and the second BLE module both comprise a PHY protocol supporting LE codes,
the server end is connected with the gateway, the server end processes and controls the connection state of each single fire switch and the gateway,
the personal terminal comprises a mobile phone APP, the personal terminal is in wireless connection with the server side, and a user controls the state of each single-fire switch through the mobile phone APP.
2. The system according to claim 1, wherein the single fire switch comprises an indicator light and an access button, and the indicator light and the access button are both connected to the first BLE module.
3. A BLE 5.0-based single fire switch control system according to claim 1, wherein the operation comprises the following steps:
the user designates the gateway connected with the newly connected single fire switch as a central gateway through the personal terminal, the personal terminal sends a connection instruction of the central gateway and the single fire switch as a connection instruction, the user sends the connection instruction to the server through the personal terminal,
the server end sends a connection instruction to the central gateway, receives and checks the relevant parameters of the single fire switch, receives the connection state fed back from the central gateway and the single fire switch, reports the connection state to the personal terminal,
the central gateway starts equipment access scanning after receiving a connection instruction, establishes connection after receiving parameter broadcasting of the single fire switch, transmits a key through an encryption channel with the single fire switch, and reports an equipment activation state to the server side.
4. The BLE 5.0-based single fire switch control system according to claim 3, wherein the device access scan time is 60 seconds.
5. A BLE 5.0-based single fire switch control system according to claim 3, wherein the first and second BLE chips comprise DA14585, TC35680FSG, BlueNRG-2, CYW20735, EFR32BG series and EFR32MG series.
6. The BLE 5.0-based fireless switch control system according to claim 3, wherein information transfer protocols between the central gateway and the fireless switch, the central gateway and the server side, and the server side and the personal terminal comprise an AES128 dynamic encryption mechanism.
7. The BLE 5.0-based single fire switch control system according to claim 1, wherein the server side comprises a local server and a cloud server, when the server side is the local server, the connection between the gateway and the local server comprises a wired connection and a wireless connection, and when the server side is the cloud server, the connection between the gateway and the cloud server comprises 5G, 4G and broadband connection.
8. The system according to claim 1, wherein the personal terminal comprises an alarm module, and when any one of the single fire switches fails, the personal terminal receives an alarm prompt, and when any one of the gateways fails, the personal terminal receives an alarm prompt.
CN202010782072.1A 2020-08-06 2020-08-06 Single fire switch control system based on BLE5.0 Pending CN111983930A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010782072.1A CN111983930A (en) 2020-08-06 2020-08-06 Single fire switch control system based on BLE5.0

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010782072.1A CN111983930A (en) 2020-08-06 2020-08-06 Single fire switch control system based on BLE5.0

Publications (1)

Publication Number Publication Date
CN111983930A true CN111983930A (en) 2020-11-24

Family

ID=73445169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010782072.1A Pending CN111983930A (en) 2020-08-06 2020-08-06 Single fire switch control system based on BLE5.0

Country Status (1)

Country Link
CN (1) CN111983930A (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909755A (en) * 2006-07-14 2007-02-07 杭州齐格科技有限公司 Wireless intelligent illuminating switch system based on ZigBee protocol
CN201797529U (en) * 2010-08-26 2011-04-13 董世杰 TCP or IP-based single-live wire intelligent home control device
CN203251317U (en) * 2013-05-22 2013-10-23 歌尔声学股份有限公司 A smart home monitoring system using Bluetooth low-energy BLE modules
CN204440132U (en) * 2015-01-16 2015-07-01 汪桂萍 The control system of intelligent switch and lighting device
CN104955237A (en) * 2015-06-29 2015-09-30 广西瀚特信息产业股份有限公司 Intelligent switch adopting single firewire to obtain power and control method
CN205407399U (en) * 2016-02-29 2016-07-27 北京子清智创科技有限公司 Single live wire intelligence switch and intelligence switch system
CN107018610A (en) * 2017-04-11 2017-08-04 卓祥明 Single live wire intelligent switch
CN107367948A (en) * 2016-05-13 2017-11-21 南宁富桂精密工业有限公司 Intelligent switch system and its control method
CN108829005A (en) * 2018-06-29 2018-11-16 武汉盛硕电子有限公司 A kind of intelligent socket system based on Bluetooth gateway
CN109041364A (en) * 2018-06-21 2018-12-18 青岛海信智慧家居系统股份有限公司 Single firewire switch and intelligent switch system
CN109152172A (en) * 2018-09-10 2019-01-04 上海顺舟智能科技股份有限公司 Based on the mono- fire switch of long-range control zigbee, control method and smart home system
CN109326083A (en) * 2018-10-23 2019-02-12 四川长虹电器股份有限公司 A kind of handset and the anti-lost bracelet of machine tool pairing of wireless connection
CN110278136A (en) * 2019-06-26 2019-09-24 珠海格力电器股份有限公司 Smart home control of product system, control method and computer readable storage medium
CN111399429A (en) * 2020-04-25 2020-07-10 广东顺德智勤科技有限公司 Single live wire switch multi-control system

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909755A (en) * 2006-07-14 2007-02-07 杭州齐格科技有限公司 Wireless intelligent illuminating switch system based on ZigBee protocol
CN201797529U (en) * 2010-08-26 2011-04-13 董世杰 TCP or IP-based single-live wire intelligent home control device
CN203251317U (en) * 2013-05-22 2013-10-23 歌尔声学股份有限公司 A smart home monitoring system using Bluetooth low-energy BLE modules
CN204440132U (en) * 2015-01-16 2015-07-01 汪桂萍 The control system of intelligent switch and lighting device
CN104955237A (en) * 2015-06-29 2015-09-30 广西瀚特信息产业股份有限公司 Intelligent switch adopting single firewire to obtain power and control method
CN205407399U (en) * 2016-02-29 2016-07-27 北京子清智创科技有限公司 Single live wire intelligence switch and intelligence switch system
CN107367948A (en) * 2016-05-13 2017-11-21 南宁富桂精密工业有限公司 Intelligent switch system and its control method
CN107018610A (en) * 2017-04-11 2017-08-04 卓祥明 Single live wire intelligent switch
CN109041364A (en) * 2018-06-21 2018-12-18 青岛海信智慧家居系统股份有限公司 Single firewire switch and intelligent switch system
CN108829005A (en) * 2018-06-29 2018-11-16 武汉盛硕电子有限公司 A kind of intelligent socket system based on Bluetooth gateway
CN109152172A (en) * 2018-09-10 2019-01-04 上海顺舟智能科技股份有限公司 Based on the mono- fire switch of long-range control zigbee, control method and smart home system
CN109326083A (en) * 2018-10-23 2019-02-12 四川长虹电器股份有限公司 A kind of handset and the anti-lost bracelet of machine tool pairing of wireless connection
CN110278136A (en) * 2019-06-26 2019-09-24 珠海格力电器股份有限公司 Smart home control of product system, control method and computer readable storage medium
CN111399429A (en) * 2020-04-25 2020-07-10 广东顺德智勤科技有限公司 Single live wire switch multi-control system

Similar Documents

Publication Publication Date Title
US10943470B2 (en) Method and apparatus for controlling a home device remotely in a home network system
KR102252258B1 (en) Method and apparatus for controlling a group of home devices in a home network system
CN105652676B (en) A kind of intelligent home appliance remote control system and control method
US20150140990A1 (en) Method and apparatus for controlling home devices on group basis in a home network system
CN110501988B (en) Method and device for realizing integration control of Internet of things equipment
US10327314B1 (en) System for integrated remote control of wireless lighting device and wireless electric and electronic devices in wireless network environment
US6873245B2 (en) RF remote appliance control/monitoring network
CN103245039A (en) Air conditioning control system and air conditioning control method
CN106255176A (en) The method that smart machine is accessed wireless network
CN104808557A (en) Intelligent control method and system and related devices
CN203628935U (en) Air-conditioning remote controller
CN105493451A (en) Audio system
CN112136297A (en) Intelligent light switch/thermostat for control and energy management
CN103026781A (en) Multi-mode communications system
EP3681108A1 (en) Home device control system and method thereof
CN205353622U (en) Intelligent household remote control system
US20210367838A1 (en) System and method for distributed home automation control
Siang et al. SMS gateway interface remote monitoring and controlling via GSM SMS
CN110119094A (en) One kind controlling smart home system based on earth horizon sensor
CN103347050A (en) Intelligent Internet of Things control system and method based on multi-platform and multi-network integration
CN111983930A (en) Single fire switch control system based on BLE5.0
CN110267265B (en) WIFI distribution network device and method and WIFI equipment
CN208299149U (en) A kind of intelligent air condition socket
CN217159371U (en) Ad hoc network system
KR101952780B1 (en) IoT SYSTEM USING LAMPS AND A METHOD FOR CONTROLLING THE SAME

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination