CN114125010B - Centralized controller control method, system and equipment based on MQTT protocol - Google Patents

Centralized controller control method, system and equipment based on MQTT protocol Download PDF

Info

Publication number
CN114125010B
CN114125010B CN202111295718.4A CN202111295718A CN114125010B CN 114125010 B CN114125010 B CN 114125010B CN 202111295718 A CN202111295718 A CN 202111295718A CN 114125010 B CN114125010 B CN 114125010B
Authority
CN
China
Prior art keywords
centralized controller
execution result
result data
mqtt
control instruction
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.)
Active
Application number
CN202111295718.4A
Other languages
Chinese (zh)
Other versions
CN114125010A (en
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.)
Zhongke Zhicheng Guangzhou Information Technology Co ltd
Original Assignee
Zhongke Zhicheng Guangzhou Information 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 Zhongke Zhicheng Guangzhou Information Technology Co ltd filed Critical Zhongke Zhicheng Guangzhou Information Technology Co ltd
Priority to CN202111295718.4A priority Critical patent/CN114125010B/en
Priority to PCT/CN2021/140568 priority patent/WO2023077637A1/en
Publication of CN114125010A publication Critical patent/CN114125010A/en
Application granted granted Critical
Publication of CN114125010B publication Critical patent/CN114125010B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention relates to the field of big data processing, in particular to a centralized controller control method based on an MQTT protocol, which comprises the following steps: step 1: issuing a control instruction on an application platform, and issuing the control instruction to a middleware platform; step 2: establishing communication with the MQTT server through a middleware platform, and establishing connection with the MQTT server after the middleware platform is verified by the MQTT server; step 3: sending a control instruction to the MQTT server through the middleware platform; step 4: the MQTT server sends a control instruction to the centralized controller equipment connected with the MQTT server, and collects execution result data of the centralized controller equipment; step 5: and sending the execution result data collected by the MQTT server to a middleware platform, sending the execution result data to an application platform through the middleware platform, and displaying the execution result data on the application platform.

Description

Centralized controller control method, system and equipment based on MQTT protocol
Technical Field
The invention relates to the field of big data processing, in particular to a centralized controller control method and system based on an MQTT protocol.
Background
Along with the popularization of the Internet of things equipment, intelligent software and hardware gradually approach the life of ordinary people, and various sensors are spread over our lives, so that a huge network system is formed. There is therefore a need for a method of communication between devices and services, MQTT being a protocol that meets this need. The MQTT is a message protocol based on a publish/subscribe paradigm under the ISO standard, works on a TCP/IP protocol family, is a message protocol designed under the conditions of remote equipment with low hardware performance and poor network conditions, is based on a message publish/subscribe transmission protocol of a client-server, is light, simple, open and easy to realize, has a very wide application range, has three message publish service qualities, is small in transmission, minimizes protocol exchange, has low network traffic, and provides one-to-many message publication. The use of the MQTT server can save bandwidth and reduce overhead.
The existing centralized controller control method based on the MQTT protocol has certain defects in the control of equipment, such as: lack of remote intelligent operation devices that operate the device differently according to different scenarios; the function of carrying out overall analysis and display on the equipment data is lacking.
Disclosure of Invention
Based on this, in order to solve the problem of insufficient functions of the existing centralized controller control method based on the MQTT protocol, it is necessary to provide a centralized controller control method, system and device based on the MQTT protocol.
The invention provides a centralized controller control method based on an MQTT protocol, which comprises the following steps:
step 1: issuing a control instruction on an application platform, and issuing the control instruction to a middleware platform;
step 2: establishing communication with an MQTT server through the middleware platform, and establishing connection with the MQTT server after the middleware platform is verified by the MQTT server;
step 3: sending the control instruction to the MQTT server through the middleware platform;
step 4: the MQTT server sends the control instruction to centralized controller equipment connected with the MQTT server and collects execution result data of the centralized controller equipment;
step 5: and sending the execution result data collected by the MQTT server to the middleware platform, sending the execution result data to the application platform through the middleware platform, and displaying the execution result data on the application platform.
Preferably, in step 1, before the application platform issues the control instruction, account password verification is further set, and different centralized controllers can be controlled by inputting different account passwords.
Further preferably, in step 2, the middleware platform uses the account password to pass the verification of the MQTT server.
Preferably, in step 1, the issuing the control instruction at the application platform includes the following steps:
step 11: selecting a single centralized controller device or a batch of centralized controller devices to issue the control instruction on the application platform;
step 12: when a batch of centralized controller devices are selected to issue the control instructions, dividing the centralized controller devices according to areas and/or data, and issuing the control instructions in batches;
step 13: judging whether the control instruction is issued successfully or not, and if so, completing the step 1; if the issuing is unsuccessful, continuously attempting to re-issue at preset intervals until the control instruction is successfully issued.
Preferably, in step 5, the middleware platform sending the execution result data to the application platform includes the following steps:
step 51: receiving the execution result data collected by the MQTT server;
step 52: inquiring whether the centralized controller equipment corresponding to the execution result data exists in the cache data of the middleware platform according to the execution result data;
step 53: ending the step 5 if the centralized controller equipment corresponding to the execution result data does not exist, and not sending the execution result data to the application platform;
step 54: and if the centralized controller equipment corresponding to the execution result data exists, updating equipment information in the cache data of the middleware platform, and sending the execution result data to the application platform by using a websocket.
Preferably, in step 5, the executing result data is displayed in real time on the application platform by using an electronic map, including the following steps:
step 55: acquiring the electronic map level on the application platform;
step 56: setting icons corresponding to the centralized controller equipment according to the electronic map level and the execution result data of the centralized controller equipment;
step 57: and displaying the icon of the centralized controller equipment on the real-time electronic map.
Preferably, the application platform analyzes the execution result data, detects whether the execution result data is abnormal, and if so, generates alarm data and notifies a user.
Preferably, a preset control instruction is set, and according to different time periods and/or different occasions, the application platform automatically issues the preset control instruction to control the centralized controller device to automatically execute the preset control instruction.
The invention also provides a centralized controller control system based on the MQTT protocol, which adopts the centralized controller control method based on the MQTT protocol, and comprises the following steps:
the application platform module is used for issuing a control instruction, receiving execution result data of the centralized controller equipment and displaying the execution result data on the electronic map in real time;
the middleware platform module is used for receiving the control instruction of the application platform module, establishing connection with an MQTT server, sending the control instruction out, receiving the execution result data collected by the MQTT server and judging the received execution result data;
the MQTT server is used for establishing communication between the middleware platform module and the centralized controller equipment;
and the centralized controller equipment is used for receiving the control instruction, executing operation according to the control instruction and sending the execution result data to the MQTT server.
The invention also provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the MQTT protocol-based centralized controller control method as set forth in any one of the preceding claims when executing the computer program.
The method, the system and the computer equipment for controlling the centralized controller based on the MQTT protocol provided by the invention adopt the MQTT protocol to communicate with the centralized controller equipment, realize the control functions of the equipment such as remote control, remote measurement, remote signaling, remote adjustment and the like of the centralized controller equipment, automatically execute control instructions according to different time periods and different areas, and realize an intelligent control strategy. The method, the system and the computer equipment for controlling the centralized controller based on the MQTT protocol can also be applied to a smart city system or a smart street lamp system scene, and the smart city system or the smart street lamp system can automatically gather different time periods, different occasions, different longitudes and latitudes and the like by connecting different sensors, so that the equipment can be automatically controlled with different brightness according to the change of light rays.
Drawings
The foregoing and other objects, features and advantages of the invention will be apparent from the following more particular description of preferred embodiments of the invention, as illustrated in the accompanying drawings.
FIG. 1 is a flow chart of a centralized controller control method based on the MQTT protocol in the embodiment 1 of the present invention;
fig. 2 is a logic block diagram of a processing procedure in a centralized controller control method based on MQTT protocol in embodiment 1 of the present invention.
Detailed Description
The following detailed description of the present invention is provided in connection with the accompanying drawings and specific embodiments so that those skilled in the art may better understand the present invention and practice it, but the examples are not to be construed as limiting the present invention.
Example 1
Referring to fig. 1 and 2, the present embodiment provides a centralized controller control method based on MQTT protocol, which includes the following steps:
s1: issuing a control instruction on an application platform, and issuing the control instruction to a middleware platform;
s2: establishing communication with the MQTT server through a middleware platform, and establishing connection with the MQTT server after the middleware platform is verified by the MQTT server;
s3: sending a control instruction to the MQTT server through the middleware platform;
s4: the MQTT server sends a control instruction to the centralized controller equipment connected with the MQTT server, and collects execution result data of the centralized controller equipment;
s5: and sending the execution result data collected by the MQTT server to a middleware platform, sending the execution result data to an application platform through the middleware platform, and displaying the execution result data on the application platform.
In this embodiment, the application platform is a front end operated by an operator, and may also be referred to as an application system support platform, and provides an integrated environment supporting information access, transmission, and collaboration, so that a customized security channel and a personalized application interface for accessing key service information can be provided for a specific user according to the characteristics, preferences, and roles of each user, so that different users can browse the related data and perform related transaction. The middleware platform is effectively a combination of platform and communication that is used to interface with various parts of the system or different applications, manage computing resources and network communications. The application platform can communicate with different centralized controller devices through the middleware platform so as to control the different centralized controller devices uniformly.
In this embodiment, in step 1, before the application platform issues the control instruction, account password verification is further set, and different account passwords are input to control different centralized controller devices. And carrying out hierarchical management on the accounts, endowing different control authorities for the accounts with different grades, wherein the low-grade accounts can only control part of or all of the centralized controller devices in a limited area, and the high-grade accounts can control most or all of the centralized controller devices.
In the embodiment, in step 2, the middleware platform uses the account password to pass the verification of the MQTT server. When the middleware platform and the MQTT server verify, the verified account number password can be set to be the same as the account number password of the application platform, and then the middleware platform can automatically acquire the account number password of the application platform to be connected with the MQTT server; the account password of the application platform can be encrypted or converted.
In this embodiment, in step 1, issuing a control instruction at an application platform includes the following steps:
s11: selecting a single centralized controller device or batch centralized controller devices to issue control instructions on an application platform;
s12: when the batch centralized controller equipment is selected to issue control instructions, dividing the centralized controller equipment according to the region and/or the data, and issuing the control instructions in batches;
s13: judging whether the control instruction is issued successfully or not, and if so, completing the step 1; if the issuing is unsuccessful, continuously attempting to re-issue at preset intervals until the control instruction is successfully issued.
In this embodiment, in step 5, the middleware platform sending the execution result data to the application platform includes the following steps:
s51: receiving execution result data collected by the MQTT server;
s52: inquiring whether centralized controller equipment corresponding to the execution result data exists in the cache data of the middleware platform according to the execution result data;
s53: if the centralized controller equipment corresponding to the execution result data does not exist, ending the step 5, and not sending the execution result data to the application platform;
s54: if the centralized controller equipment corresponding to the execution result data exists, updating equipment information in cache data of the middleware platform, and sending the execution result data to the application platform by using websocket.
In this embodiment, in step 5, the execution result data is displayed in real time on the application platform by using the electronic map, including the following steps:
s55: acquiring an electronic map level on an application platform;
s56: setting icons corresponding to the centralized controller equipment according to the electronic map level and the execution result data of the centralized controller equipment;
s57: icons of the centralized controller devices are displayed on a real-time electronic map.
In this embodiment, the application platform analyzes the execution result data, detects whether the execution result data is abnormal, and if so, generates alert data and notifies the user. On the electronic map, different real-time states of the centralized controller device can be displayed by different icons or icons with different colors. The abnormal execution result data comprises incapability of being connected to the centralized controller equipment, incapability of normally executing control instructions, damage/abnormality of the centralized controller equipment and the like, and alarming equipment is prevented or maintained in time through alarming data, so that the service life of the equipment is prolonged, and the equipment to be damaged is replaced at regular time, so that emergency treatment of an emergency is reduced.
In this embodiment, a preset control instruction is set, and according to different time periods and/or different occasions, the application platform automatically issues the preset control instruction to control the centralized controller device to automatically execute the preset control instruction.
Example 2
The present embodiment provides a centralized controller control system based on MQTT protocol, which adopts the centralized controller control method based on MQTT protocol of the above embodiment 1, and the centralized controller control system includes:
the application platform module is used for issuing a control instruction, receiving execution result data of the centralized controller equipment and displaying the execution result data on the electronic map in real time; and the application platform module is also provided with account password verification, and different centralized controller devices can be controlled by inputting different account passwords. And carrying out hierarchical management on the accounts, endowing different control authorities for the accounts with different grades, wherein the low-grade accounts can only control part of or all of the centralized controller devices in a limited area, and the high-grade accounts can control most or all of the centralized controller devices.
When the execution result data is displayed on the application platform module in real time by adopting the electronic map, firstly, the electronic map level on the current application platform module is obtained, then, according to the electronic map level and the execution result data of the centralized controller equipment, the icon corresponding to the centralized controller equipment is set, and finally, the icon of the centralized controller equipment is displayed on the real-time electronic map.
The middleware platform module is used for receiving the control instruction of the application platform module, establishing connection with the MQTT server, sending the control instruction out, receiving the execution result data collected by the MQTT server and judging the received execution result data.
When the middleware platform module is used for sending the execution result data to the application platform, the received execution result data is judged first: firstly, receiving execution result data collected by an MQTT server; inquiring whether centralized controller equipment corresponding to the execution result data exists in the cache data of the middleware platform according to the execution result data; if the centralized controller equipment corresponding to the execution result data does not exist, ending the step 5, and not sending the execution result data to the application platform; if the centralized controller equipment corresponding to the execution result data exists, updating equipment information in cache data of the middleware platform, and sending the execution result data to the application platform by using websocket.
The MQTT server is used for establishing communication between the middleware platform module and the centralized controller equipment; the centralized controller equipment mainly adopts TCP communication, the packaged protocol realizes service transmission between the butt joint equipment end and the service end based on the MQTT protocol, and the defined release message is in a standard Json format and is uniformly encoded by using a UTF-8 character set.
And the centralized controller equipment is used for receiving the control instruction, executing operation according to the control instruction and sending the execution result data to the MQTT server. The centralized controller is a terminal device which is used for centralizing nearby sensor data and accessing the sensor and the execution device to a network as an intelligent gateway, the centralized controller device is in connection communication with the sensor and the execution device through a field bus or Zigbee, the centralized controller device is in connection communication with the MQTT server and the middleware platform through a GPRS/3G/4G/5G/WIFI/wired network, and the centralized controller device uploads the execution result data to the MQTT server.
Example 3
The present embodiment provides a computer apparatus including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the MQTT protocol-based centralized controller control method as in embodiment 1 above when executing the computer program. The computer device may be a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack-mounted server, a blade server, a tower server, or a rack-mounted server (including a stand-alone server or a server cluster composed of a plurality of servers) that may execute a program, or the like. The computer device of the present embodiment includes at least, but is not limited to: a memory, a processor, and the like, which may be communicatively coupled to each other via a system bus.
In this embodiment, the memory (i.e., readable storage medium) includes flash memory, hard disk, multimedia card, card memory (e.g., SD or DX memory, etc.), random Access Memory (RAM), static Random Access Memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory may be an internal storage unit of a computer device, such as a hard disk or memory of the computer device. In other embodiments, the memory may also be an external storage device of a computer device, such as a plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card) or the like, which are provided on the computer device. Of course, the memory may also include both internal storage units of the computer device and external storage devices. In this embodiment, the memory is typically used to store an operating system and various application software installed on the computer device. In addition, the memory can be used to temporarily store various types of data that have been output or are to be output.
The processor may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor is typically used to control the overall operation of the computer device. In this embodiment, the processor is configured to run the program code stored in the memory or process the data, so as to control the centralized controller based on the MQTT protocol and display the result in the foregoing embodiment.
Example 4
The control method and the control system of the centralized controller based on the MQTT protocol of the embodiment 1 and the embodiment 2 are applied to the specific application embodiment of the intelligent street lamp, and the remote intelligent remote control and the data analysis are carried out on the centralized controller system based on the MQTT protocol, so that the following points are played:
1. the intelligent operation such as power-on and power-off can be remotely performed on the centralized controller equipment;
2. displaying the equipment state data on an electronic map in real time, and quickly knowing whether equipment in a certain place is damaged or not and replacing the equipment at a glance to the state of street lamp equipment in a city;
3. analyzing the data with different latitudes according to the data reported by the equipment, generating alarm data, notifying the data to the user in different modes, and processing according to the notification;
4. according to different time periods, different occasions and different longitudes and latitudes, the equipment is controlled in different brightness according to the light change, and intelligent dimming of the equipment is realized. Besides consuming a large amount of electric energy, the developed city converging street lamp is a huge expense, and the debugging and maintenance of equipment are realized by using an intelligent node illumination strategy, so that different brightness is displayed according to different scenes and different light changes, and the consumption of electric energy is reduced to the greatest extent;
5. an emergency (error lighting, lighting-off, idle tripping, out-of-control of a contactor and the like) alarm and an electric parameter out-of-range (voltage loss, voltage/current out-of-limit) alarm can be set, and alarm information is automatically recorded into a database to form alarm data; the remote alarm can be set to be sent when the fault alarm and the unmanned value are kept.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, and all equivalent structures or equivalent processes using the descriptions and drawings of the present invention or directly or indirectly applied to other related technical fields are included in the scope of the present invention.

Claims (9)

1. The centralized controller control method based on the MQTT protocol is characterized by comprising the following steps of:
step 1: issuing a control instruction on an application platform, and issuing the control instruction to a middleware platform;
step 2: establishing communication with an MQTT server through the middleware platform, and establishing connection with the MQTT server after the middleware platform is verified by the MQTT server;
step 3: sending the control instruction to the MQTT server through the middleware platform;
step 4: the MQTT server sends the control instruction to centralized controller equipment connected with the MQTT server and collects execution result data of the centralized controller equipment;
step 5: the execution result data collected by the MQTT server is sent to the middleware platform, the execution result data is sent to the application platform through the middleware platform, and the execution result data is displayed on the application platform;
the method for issuing the control instruction on the application platform comprises the following steps:
step 11: selecting a single centralized controller device or a batch of centralized controller devices to issue the control instruction on the application platform;
step 12: when a batch of centralized controller devices are selected to issue the control instructions, dividing the centralized controller devices according to areas and/or data, and issuing the control instructions in batches;
step 13: judging whether the control instruction is issued successfully or not, and if so, completing the step 1; if the issuing is unsuccessful, continuously attempting to re-issue at preset intervals until the control instruction is successfully issued.
2. The method for controlling a centralized controller based on the MQTT protocol as set forth in claim 1, wherein in step 1, before the application platform issues the control command, account passwords are further set for verification, and different account passwords are input to control different centralized controllers.
3. The MQTT protocol-based centralized controller control method of claim 2, wherein in step 2, the middleware platform uses the account password to pass the verification of the MQTT server.
4. The MQTT protocol-based centralized controller control method according to claim 1, wherein the middleware platform transmitting the execution result data to the application platform in step 5 comprises the steps of:
step 51: receiving the execution result data collected by the MQTT server;
step 52: inquiring whether the centralized controller equipment corresponding to the execution result data exists in the cache data of the middleware platform according to the execution result data;
step 53: ending the step 5 if the centralized controller equipment corresponding to the execution result data does not exist, and not sending the execution result data to the application platform;
step 54: and if the centralized controller equipment corresponding to the execution result data exists, updating equipment information in the cache data of the middleware platform, and sending the execution result data to the application platform by using a websocket.
5. The MQTT protocol-based centralized controller control method according to claim 1, wherein in step 5, the execution result data is displayed in real time on the application platform using an electronic map, comprising the steps of:
step 55: acquiring the electronic map level on the application platform;
step 56: setting icons corresponding to the centralized controller equipment according to the electronic map level and the execution result data of the centralized controller equipment;
step 57: and displaying the icon of the centralized controller equipment on the real-time electronic map.
6. The MQTT protocol-based centralized controller control method of claim 1, wherein the application platform analyzes the execution result data, detects whether the execution result data is abnormal, and if so, generates alarm data and informs the user.
7. The method for controlling the centralized controller based on the MQTT protocol according to claim 1 is characterized in that a preset control instruction is set, and the application platform automatically issues the preset control instruction according to different time periods and/or different occasions to control the centralized controller device to automatically execute the preset control instruction.
8. A MQTT protocol-based centralized controller control system, wherein the centralized controller control system employs the MQTT protocol-based centralized controller control method of any one of claims 1 to 7, the centralized controller control system comprising:
the application platform module is used for issuing a control instruction, receiving execution result data of the centralized controller equipment and displaying the execution result data on the electronic map in real time;
the middleware platform module is used for receiving the control instruction of the application platform module, establishing connection with an MQTT server, sending the control instruction out, receiving the execution result data collected by the MQTT server and judging the received execution result data;
the MQTT server is used for establishing communication between the middleware platform module and the centralized controller equipment;
and the centralized controller equipment is used for receiving the control instruction, executing operation according to the control instruction and sending the execution result data to the MQTT server.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the MQTT-protocol-based centralized controller control method as claimed in any one of claims 1-7 when the computer program is executed.
CN202111295718.4A 2021-11-03 2021-11-03 Centralized controller control method, system and equipment based on MQTT protocol Active CN114125010B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111295718.4A CN114125010B (en) 2021-11-03 2021-11-03 Centralized controller control method, system and equipment based on MQTT protocol
PCT/CN2021/140568 WO2023077637A1 (en) 2021-11-03 2021-12-22 Mqtt protocol-based centralized controller control method and system, and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111295718.4A CN114125010B (en) 2021-11-03 2021-11-03 Centralized controller control method, system and equipment based on MQTT protocol

Publications (2)

Publication Number Publication Date
CN114125010A CN114125010A (en) 2022-03-01
CN114125010B true CN114125010B (en) 2024-02-20

Family

ID=80380633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111295718.4A Active CN114125010B (en) 2021-11-03 2021-11-03 Centralized controller control method, system and equipment based on MQTT protocol

Country Status (2)

Country Link
CN (1) CN114125010B (en)
WO (1) WO2023077637A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079653A (en) * 2014-07-03 2014-10-01 上海积谕信息科技有限公司 Smart home control method and system based on B/S framework
CN107623613A (en) * 2017-09-13 2018-01-23 微赫智能科技(上海)有限公司 Intelligent household system
CN108259564A (en) * 2017-12-20 2018-07-06 深圳磊迈照明科技有限公司 A kind of remote communication method and system based on MQTT Internet of Things protocol frames
CN109104790A (en) * 2018-08-24 2018-12-28 江苏天傲通新能源科技有限公司 A kind of wisdom street lamp control system
CN109861978A (en) * 2018-12-28 2019-06-07 浙江工业大学 A kind of Internet of Things SaaS platform based on MQTT agreement
CN110334900A (en) * 2019-05-27 2019-10-15 北京华能新锐控制技术有限公司 Data processing method
CN110572476A (en) * 2019-09-27 2019-12-13 深圳市宏电技术股份有限公司 Remote control method, device and equipment
CN111380188A (en) * 2020-03-27 2020-07-07 四川虹美智能科技有限公司 Intelligent air conditioner control method, device and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101877188B1 (en) * 2014-07-21 2018-07-10 콘비다 와이어리스, 엘엘씨 Service layer interworking using mqtt protocol
CN104639625B (en) * 2015-01-27 2018-05-01 华南理工大学 A kind of data concentrator collection control method, apparatus and system based on MQTT
JP6562085B2 (en) * 2015-11-27 2019-08-21 富士通株式会社 COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM
CN109951559A (en) * 2019-03-27 2019-06-28 京东方光科技有限公司 Timed task configuration method, server, system and computer readable storage medium
CN110855536B (en) * 2019-11-19 2021-10-08 广东美的制冷设备有限公司 Operation control method and device, household appliance and storage medium
CN112104620A (en) * 2020-08-30 2020-12-18 浪潮金融信息技术有限公司 Remote instruction issuing method based on MQTT protocol

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079653A (en) * 2014-07-03 2014-10-01 上海积谕信息科技有限公司 Smart home control method and system based on B/S framework
CN107623613A (en) * 2017-09-13 2018-01-23 微赫智能科技(上海)有限公司 Intelligent household system
CN108259564A (en) * 2017-12-20 2018-07-06 深圳磊迈照明科技有限公司 A kind of remote communication method and system based on MQTT Internet of Things protocol frames
CN109104790A (en) * 2018-08-24 2018-12-28 江苏天傲通新能源科技有限公司 A kind of wisdom street lamp control system
CN109861978A (en) * 2018-12-28 2019-06-07 浙江工业大学 A kind of Internet of Things SaaS platform based on MQTT agreement
CN110334900A (en) * 2019-05-27 2019-10-15 北京华能新锐控制技术有限公司 Data processing method
CN110572476A (en) * 2019-09-27 2019-12-13 深圳市宏电技术股份有限公司 Remote control method, device and equipment
CN111380188A (en) * 2020-03-27 2020-07-07 四川虹美智能科技有限公司 Intelligent air conditioner control method, device and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Communication with resource-constrained devices through MQTT for control education;Miguel A. Prada, Perfecto Reguera, Serafín Alonso, Antonio Morán, Juan J. Fuertes, Manuel Domínguez;《Elesvier》;全文 *
基于Android的智慧路灯终端的设计与实现;陈静;《中国优秀硕士论文全文数据库》;全文 *

Also Published As

Publication number Publication date
WO2023077637A1 (en) 2023-05-11
CN114125010A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
US20220121078A1 (en) System and method for batching data for electrochrom glass control systems
US8484285B2 (en) Method and device for communication between a device and a server
CN113055417A (en) Intelligent industrial Internet of things system
CN104025516A (en) Systems and methods of remote communication
CN112835604B (en) System gray version release management method, system, equipment and medium
CN103067230A (en) Method for achieving hyper text transport protocol (http) service monitoring through embedding monitoring code
US20120136961A1 (en) System, server and method for administrating remote device
CN114915521A (en) Intelligent home gateway and data processing method
CN112141832A (en) Visual operation platform of elevator thing networking
CN114125010B (en) Centralized controller control method, system and equipment based on MQTT protocol
US20190199685A1 (en) Smart Building Agent
CN113993137A (en) Monitoring system, method and device for configuration data, electronic equipment and medium
CN113220342A (en) Centralized configuration method and device, electronic equipment and storage medium
CN104378231A (en) Control system and control method for enterprise wireless router
CN110930110B (en) Distributed flow monitoring method and device, storage medium and electronic equipment
US9923769B2 (en) Methods and systems for verifying installation of a device
US20230096929A1 (en) System and method for long-term benchmarking for electrochromic glass
CN110855003A (en) Method and device for calling and comparing self-adaptive configuration of main station
CN107861485A (en) Data acquisition and monitoring control method, client, server and system
CN103944802A (en) Method and device for controlling mobile equipment to use Exchange mailbox
CN110719207A (en) Alarm message transmission method and device, industrial data acquisition platform and storage medium
US20200326677A1 (en) Plug-in sensory communication device
US20220198405A1 (en) Apparatus, system and method for building system diagnostics
CN112995264A (en) Method, apparatus, storage medium, and program product for preventing data from being deleted by mistake
CN113055201A (en) Electronic equipment control method and device, computer equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant