CN112469138A - Edge gateway and method for coordinating mobile phone app controlled equipment to edge gateway - Google Patents
Edge gateway and method for coordinating mobile phone app controlled equipment to edge gateway Download PDFInfo
- Publication number
- CN112469138A CN112469138A CN202011340391.3A CN202011340391A CN112469138A CN 112469138 A CN112469138 A CN 112469138A CN 202011340391 A CN202011340391 A CN 202011340391A CN 112469138 A CN112469138 A CN 112469138A
- Authority
- CN
- China
- Prior art keywords
- edge gateway
- app
- information
- component
- equipment
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 13
- 238000006243 chemical reaction Methods 0.000 claims abstract description 35
- 239000000284 extract Substances 0.000 claims abstract description 5
- 238000004891 communication Methods 0.000 claims description 10
- 230000003993 interaction Effects 0.000 claims description 9
- 238000012423 maintenance Methods 0.000 claims description 9
- QVFWZNCVPCJQOP-UHFFFAOYSA-N chloralodol Chemical compound CC(O)(C)CC(C)OC(O)C(Cl)(Cl)Cl QVFWZNCVPCJQOP-UHFFFAOYSA-N 0.000 claims description 3
- 238000012545 processing Methods 0.000 claims description 2
- 238000005516 engineering process Methods 0.000 abstract description 2
- 230000000875 corresponding effect Effects 0.000 description 7
- 230000001276 controlling effect Effects 0.000 description 6
- 238000005457 optimization Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 239000002360 explosive Substances 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/02—Details of telephonic subscriber devices including a Bluetooth interface
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Telephone Function (AREA)
Abstract
The invention relates to an intelligent device centralized control management technology, and discloses an edge gateway and a method for coordinating devices controlled by mobile phone apps to the edge gateway, so that the devices of multiple manufacturers can be conveniently and centrally controlled, and the complexity of control is reduced. In the invention, all apps used for controlling equipment store own configuration information and protocol conversion information as an information table according to a preset uniform format, and a connection two-dimensional code generated by scanning the apps by a gateway establishes connection with the apps through Bluetooth and then downloads the information table into the gateway. And each component in the gateway extracts information from the information table, then runs a corresponding function according to the information, and finally, the device controlled by the app successfully hands over the control right to the gateway.
Description
Technical Field
The invention relates to an intelligent device centralized control management technology, in particular to an edge gateway and a method for coordinating devices controlled by mobile phone apps to the edge gateway.
Background
From numerous and complicated intelligent applications to the full-scope terminal equipment of lin langu, the shadow of thing networking is everywhere visible, and the quantity of connection that from this brings also increases at the explosive type, and more trades are promoting efficiency, releasing the huge potentiality of industry innovation with the help of the strength of thing networking. The gateway serves as a hub for device connection and plays a great role in the control interaction of the devices. Many smart devices on the market today are produced by different manufacturers, each manufacturer's device having a dedicated mobile app to control it. This has the disadvantage that the control of the plant is complicated as the types of the plant to be purchased increase.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the edge gateway and the method for coordinating the device controlled by the mobile phone app to the edge gateway are provided, so that the devices of a plurality of manufacturers can be conveniently and centrally controlled, and the control complexity is reduced.
The technical scheme adopted by the invention for solving the technical problems is as follows:
an edge gateway comprises a hardware part and a software part, wherein the hardware part comprises a processor, and a communication module, a touch display screen and a two-dimensional code scanning module which are connected with the processor; the software part comprises a configuration downloading component, a page maintenance component, a protocol conversion component, a message forwarding component and an equipment control component;
the two-dimension code scanning module is used for enabling the edge gateway to scan a connection two-dimension code generated by an app used for controlling the intelligent equipment on the mobile phone terminal and establish connection with the app; the app can generate an information table containing configuration information and protocol conversion and a connection two-dimensional code in a uniform format;
the touch display screen is responsible for interaction with a user and comprises the display of equipment parameter information and the control of equipment;
the communication module is used for communicating with the app and the equipment hung under the edge gateway;
the configuration downloading component is used for downloading and managing the information table from the app;
the page maintenance component is used for extracting display interface layout information from the downloaded information table and generating a control interface page;
the message forwarding component is responsible for message forwarding processing;
the protocol conversion component is responsible for completing the conversion of the internal protocol and the equipment control protocol according to the protocol conversion information in the information table;
and the equipment control component is responsible for controlling the equipment actually hung on the edge gateway.
As a further optimization, the communication module supports various protocols, including a Bluetooth protocol, a ZigBee protocol, a Wi-Fi protocol and a LoRa protocol.
As a further optimization, establishing a connection with the app specifically includes: the edge gateway establishes a bluetooth connection directly with the app.
In addition, the invention also provides a method for coordinating the device controlled by the mobile phone app to the edge gateway, which comprises the following steps:
a. an app used for controlling the intelligent device on the mobile phone terminal generates an information table containing configuration information and protocol conversion in advance and generates a connection two-dimensional code;
b. the edge gateway establishes Bluetooth connection with the app through scanning and connecting the two-dimensional code;
c. the edge gateway downloads an information table containing configuration information and protocol conversion from the app;
d. and the edge gateway extracts the layout information of the display interface from the downloaded information table and generates a control interface page.
As a further optimization, the method further comprises the steps of:
e. when the user performs equipment control interaction through the touch display screen, the edge gateway converts the control message in the internal format issued by the user into the control message in the corresponding format according to the protocol conversion information in the information table, so as to control the equipment.
The invention has the beneficial effects that:
the invention can conveniently cooperate a plurality of mobile phone app controlled devices to the edge gateway, and the edge gateway manages the devices in a unified way; the connection between the edge gateway and the mobile phone app can be conveniently and rapidly established, the edge gateway and the mobile phone app adopt Bluetooth communication in the interaction process, a cloud server is not needed, and the development cost of the system is reduced; the internal protocol conversion component enables the gateway to easily control the equipment of a plurality of manufacturers, and simplifies the centralized management and adaptation of the equipment.
Drawings
Fig. 1 is a schematic diagram of the cooperation of devices controlled by mobile apps to an edge gateway according to the present invention.
Detailed Description
The invention aims to provide an edge gateway and a method for coordinating mobile phone app controlled equipment to the edge gateway, so that centralized control can be conveniently carried out on equipment of a plurality of manufacturers, and the complexity degree of control is reduced. The edge gateway in the invention is arranged in the local area network system and is used for centrally controlling various hung devices. The mobile phone app is designed for equipment control by each manufacturer, and can only control equipment of the manufacturer to which the mobile phone app belongs. All apps store own configuration information and protocol conversion information as an information table according to a preset uniform format, the gateway scans a connection two-dimensional code generated by the apps to establish connection with the apps through Bluetooth, and then the information table is downloaded to the gateway. Each component in the gateway extracts information from the information table and then runs corresponding functions according to the information. The device ultimately controlled by the app successfully hands over control to the gateway. For manufacturers, the configuration information and the protocol conversion information only need to be stored into a specific format, and the operation is simple and convenient and has expandability.
Example (b):
the present embodiment is described by taking a lan system as an example of an intelligent home. In the scene of an intelligent home, purchased intelligent hardware equipment comes from various manufacturers, and each manufacturer has a separate mobile phone app to control the equipment. The control is independent because different protocols and standards are adopted among the devices of various manufacturers. The owner often needs to switch back and forth between the various apps for the purpose of controlling the different devices, which undoubtedly results in a very poor user experience. The gateway can be conveniently installed in each corner of a home, and has natural advantages in centralized management of equipment. In view of the above, the present embodiment provides an edge gateway architecture and a solution for coordinating a device controlled by a mobile app to an edge gateway, so that the app can transfer the control right of the device to the gateway through simple connection and a small amount of data transmission by means of a manner of interaction between the edge gateway and the mobile app, and the principle is as shown in fig. 1.
The edge gateway in this embodiment has a processor, a communication module, a touch display screen, and a two-dimensional code scanning module on a hardware level, and the software system includes a configuration downloading component, a page maintenance component, a protocol conversion component, and a message forwarding component.
The two-dimension code scanning module establishes Bluetooth connection with the app through the connection two-dimension code in the specific format generated by scanning the app, and data transmission is carried out at the mobile phone and the gateway without passing through a cloud server.
The communication module is responsible for and app and articulate the communication connection of equipment, and it supports multiple agreement, including bluetooth agreement, zigBee agreement, Wi-Fi agreement, loRa agreement etc..
The touch display screen is responsible for interaction with a user, and comprises display of equipment parameter information and control of equipment.
And the configuration downloading component is responsible for downloading and managing the configuration information and the protocol conversion information issued by the app after the gateway and the app are connected.
The page maintenance component is responsible for extracting display interface layout information from configuration information issued by the app, so that a control interface of the app on the equipment is loaded into a display interface of the edge gateway, and the gateway can control the equipment and parameter information of the display equipment.
The message forwarding component is responsible for forwarding messages between the various modules.
The protocol conversion component is responsible for the conversion of internal protocols and device control protocols.
The device control component is responsible for controlling the devices that are actually hooked to the gateway.
After the page maintenance component loads the control page of the device to the touch display screen, the control message in the internal format sent by the user through the touch display screen reaches the protocol conversion component through the message forwarding component, the protocol conversion component converts the control message into the control message in the corresponding format according to the protocol conversion information stored by the configuration downloading component, and then the control message is transmitted to the device control component through the message forwarding component, so that the device which can only be controlled by app originally can be controlled.
The method is simple to operate and strong in expansibility, and when a manufacturer adds new equipment or control functions, configuration information and a protocol conversion table only need to be updated according to a well-specified uniform format. For the gateway, connection with the app is established once again, and the corresponding module is updated according to the downloaded information table.
For the convenience of understanding the present invention, taking the example that the desk lamp controlled by the mobile app is cooperated with the gateway specifically, the cooperating steps are as follows:
s1, generating configuration information and a protocol conversion table by the app;
s2, the edge gateway scans the connection two-dimensional code generated by the APP and then establishes Bluetooth connection with the APP, and the APP sends the generated configuration information and the protocol conversion table to the gateway through Bluetooth;
and S3, after receiving the information table issued by the app, the configuration downloading component of the gateway starts a page maintenance component and a protocol conversion component, wherein the page maintenance component is responsible for extracting page layout and control information in the information table, and then loads a corresponding control interaction page according to the extracted information. The protocol conversion component extracts protocol conversion information in the information table and generates a corresponding control submodule for the equipment control component to call according to the information;
s4, a user controls the on-off, brightness, color temperature and the like of the desk lamp through a page loaded on a gateway display screen, a message forwarding component forwards a message sent by the page to a protocol conversion component after receiving the message, the protocol conversion component converts a general protocol in the gateway into a special protocol for equipment, and finally the equipment control component controls the desk lamp according to the converted information;
s5, the desk lamp performs corresponding actions after receiving the control command;
and S6, the equipment of each manufacturer only needs to perform the operation once, the control right is successfully transferred to the edge gateway from the app, and the gateway can perform centralized management on the equipment.
Claims (5)
1. An edge gateway comprising a hardware portion and a software portion, characterized in that,
the hardware part comprises a processor, and a communication module, a touch display screen and a two-dimensional code scanning module which are connected with the processor; the software part comprises a configuration downloading component, a page maintenance component, a protocol conversion component, a message forwarding component and an equipment control component;
the two-dimension code scanning module is used for enabling the edge gateway to scan a connection two-dimension code generated by an app used for controlling the intelligent equipment on the mobile phone terminal and establish connection with the app; the app can generate an information table containing configuration information and protocol conversion and a connection two-dimensional code in a uniform format;
the touch display screen is responsible for interaction with a user and comprises the display of equipment parameter information and the control of equipment;
the communication module is used for communicating with the app and the equipment hung under the edge gateway;
the configuration downloading component is used for downloading and managing the information table from the app;
the page maintenance component is used for extracting display interface layout information from the downloaded information table and generating a control interface page;
the message forwarding component is responsible for message forwarding processing;
the protocol conversion component is responsible for completing the conversion of the internal protocol and the equipment control protocol according to the protocol conversion information in the information table;
and the equipment control component is responsible for controlling the equipment actually hung on the edge gateway.
2. An edge gateway as claimed in claim 1,
the communication module supports various protocols including a Bluetooth protocol, a ZigBee protocol, a Wi-Fi protocol and a LoRa protocol.
3. An edge gateway as claimed in claim 1 or 2,
establishing a connection with the app, specifically comprising: the edge gateway establishes a bluetooth connection directly with the app.
4. A method for coordinating a device controlled by a mobile app to an edge gateway, comprising:
a. an app used for controlling the intelligent device on the mobile phone terminal generates an information table containing configuration information and protocol conversion in advance and generates a connection two-dimensional code;
b. the edge gateway establishes Bluetooth connection with the app through scanning and connecting the two-dimensional code;
c. the edge gateway downloads an information table containing configuration information and protocol conversion from the app;
d. and the edge gateway extracts the layout information of the display interface from the downloaded information table and generates a control interface page.
5. The method of coordinating device controlled by a mobile app to an edge gateway as recited in claim 4,
the method further comprises the steps of:
e. when the user performs equipment control interaction through the touch display screen, the edge gateway converts the control message in the internal format issued by the user into the control message in the corresponding format according to the protocol conversion information in the information table, so as to control the equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011340391.3A CN112469138A (en) | 2020-11-25 | 2020-11-25 | Edge gateway and method for coordinating mobile phone app controlled equipment to edge gateway |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011340391.3A CN112469138A (en) | 2020-11-25 | 2020-11-25 | Edge gateway and method for coordinating mobile phone app controlled equipment to edge gateway |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112469138A true CN112469138A (en) | 2021-03-09 |
Family
ID=74808217
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011340391.3A Pending CN112469138A (en) | 2020-11-25 | 2020-11-25 | Edge gateway and method for coordinating mobile phone app controlled equipment to edge gateway |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112469138A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113949597A (en) * | 2021-10-18 | 2022-01-18 | 四川启睿克科技有限公司 | Event trigger-based automatic control system for home equipment and construction method thereof |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101212428A (en) * | 2006-12-27 | 2008-07-02 | 海尔集团公司 | Home gateway applied in digital home system |
CN202178785U (en) * | 2011-07-12 | 2012-03-28 | 华南理工大学 | Intelligent home appliance system based on ZigBee and page generation |
CN105301978A (en) * | 2015-11-11 | 2016-02-03 | 四川长虹电器股份有限公司 | Connection method and mobile terminal |
CN106034070A (en) * | 2015-03-16 | 2016-10-19 | 中兴通讯股份有限公司 | Functional plug-in management method of intelligent gateway, client and system thereof |
CN106878140A (en) * | 2017-03-23 | 2017-06-20 | 南京工程学院 | The method that internet and Zigbee Sensor Networks are connected by Internet Zigbee gateways |
US20190149433A1 (en) * | 2017-11-10 | 2019-05-16 | International Business Machines Corporation | Accessing gateway management console |
-
2020
- 2020-11-25 CN CN202011340391.3A patent/CN112469138A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101212428A (en) * | 2006-12-27 | 2008-07-02 | 海尔集团公司 | Home gateway applied in digital home system |
CN202178785U (en) * | 2011-07-12 | 2012-03-28 | 华南理工大学 | Intelligent home appliance system based on ZigBee and page generation |
CN106034070A (en) * | 2015-03-16 | 2016-10-19 | 中兴通讯股份有限公司 | Functional plug-in management method of intelligent gateway, client and system thereof |
CN105301978A (en) * | 2015-11-11 | 2016-02-03 | 四川长虹电器股份有限公司 | Connection method and mobile terminal |
CN106878140A (en) * | 2017-03-23 | 2017-06-20 | 南京工程学院 | The method that internet and Zigbee Sensor Networks are connected by Internet Zigbee gateways |
US20190149433A1 (en) * | 2017-11-10 | 2019-05-16 | International Business Machines Corporation | Accessing gateway management console |
Non-Patent Citations (1)
Title |
---|
赖日平: "智能家居网关软件系统的设计与实现", 《中国优秀硕士学位论文全文数据库(电子期刊)》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113949597A (en) * | 2021-10-18 | 2022-01-18 | 四川启睿克科技有限公司 | Event trigger-based automatic control system for home equipment and construction method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106161100B (en) | A kind of internet of things equipment configuration method and internet-of-things terminal | |
CN105471686B (en) | Terminal control method, device and system | |
CN104735143B (en) | A kind of lot control system and method based on smart home cloud platform | |
CN112995348B (en) | Control method, device and system of Internet of things equipment | |
CN102355390B (en) | Intelligent home system | |
CN112073471B (en) | Control method and device of equipment, storage medium and electronic device | |
CN105050202B (en) | The session establishing method of mobile terminal actively accessed using Relay Server | |
CN102323803B (en) | Intelligent home control method and system | |
CN102136933A (en) | Equipment management method, middleware and machine communication platform, equipment and system | |
CN103179027A (en) | Method and system for realizing compatibility of electrical appliance, and universal peripheral access gateway | |
CN112737901B (en) | Operation configuration method and device in scene, storage medium and electronic device | |
CN110324808A (en) | Switching method, device and the mobile terminal of configuration file | |
CN104967560A (en) | Method of realizing linkage with equipment managed by gateway and device of realizing linkage with equipment managed by gateway | |
CN205229700U (en) | Smart home system | |
CN103581316A (en) | Intercommunication control system and method of internet-of-things controllers | |
CN106603354A (en) | Home gateway capable of automatically switching network access mode and network access mode switching method | |
CN206640595U (en) | A kind of home gateway | |
CN104717135B (en) | Method and device for realizing intelligent household gateway | |
CN105116751A (en) | Intelligent control system capable of performing information interaction based on public cloud platform and control method | |
CN105577717A (en) | Control method and system having compatibility with various electric appliances | |
CN112469138A (en) | Edge gateway and method for coordinating mobile phone app controlled equipment to edge gateway | |
KR101620260B1 (en) | Network system and a method controlling the same | |
CN202475495U (en) | Cloud refrigerator system based on cloud computing and internet of things | |
CN111355738A (en) | Method and system for supporting multiple protocols by gateway | |
CN110113430B (en) | Communication method between mobile phone and raspberry pie based on cloud database |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210309 |