CN114125010A - MQTT protocol-based centralized controller control method, system and equipment - Google Patents
MQTT protocol-based centralized controller control method, system and equipment Download PDFInfo
- Publication number
- CN114125010A CN114125010A CN202111295718.4A CN202111295718A CN114125010A CN 114125010 A CN114125010 A CN 114125010A CN 202111295718 A CN202111295718 A CN 202111295718A CN 114125010 A CN114125010 A CN 114125010A
- Authority
- CN
- China
- Prior art keywords
- centralized controller
- execution result
- result data
- control instruction
- mqtt
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000004891 communication Methods 0.000 claims abstract description 12
- 230000002159 abnormal effect Effects 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 6
- 238000012795 verification Methods 0.000 claims description 6
- 238000012545 processing Methods 0.000 abstract description 7
- 230000006870 function Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000011217 control strategy Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 210000001503 joint Anatomy 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 238000000844 transformation Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- 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/26—Special purpose or proprietary protocols or architectures
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention relates to the field of big data processing, in particular to an MQTT protocol-based control method of an integrated controller, which comprises the following steps: step 1: issuing a control instruction at the application platform, and issuing the control instruction to the middleware platform; step 2: the method comprises the steps that communication is established with an MQTT server through a middleware platform, and the middleware platform is verified through the MQTT server and then is connected with the MQTT server; and step 3: sending a control instruction to an MQTT server through a middleware platform; and 4, step 4: the MQTT server sends the control instruction to the centralized controller equipment connected with the MQTT server and collects execution result data of the centralized controller equipment; and 5: and transmitting the execution result data collected by the MQTT server to a middleware platform, transmitting the execution result data to an application platform through the middleware platform, and displaying the execution result data on the application platform.
Description
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 internet of things equipment, intelligent software and hardware gradually approach the lives of common people, various sensors are distributed throughout the lives of people, and a huge network system is formed. Therefore, a method for satisfying the communication between the device and the service is needed, and MQTT is a protocol for satisfying the requirement. 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 condition that the hardware performance of remote equipment and network conditions are poor, and is a message publish/subscribe transmission protocol based on a client-server. The MQTT server can save bandwidth and reduce overhead.
The existing centralized controller control method based on the MQTT protocol has certain disadvantages in controlling the equipment, such as: remote intelligent operation equipment for performing different operations on the equipment according to different scenes is absent; the function of carrying out overall analysis and display on the equipment data is lacked.
Disclosure of Invention
Therefore, in order to solve the problem that the existing centralized controller control method based on the MQTT protocol is insufficient in function, 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: the communication is established with the MQTT server through the middleware platform, and the middleware platform is verified through the MQTT server and then is connected with the MQTT server;
and step 3: sending the control instruction to the MQTT server through the middleware platform;
and 4, 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;
and 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 inputting different account passwords can control different centralized controllers.
Further preferably, in step 2, the middleware platform uses the account password to pass the verification of the MQTT server.
Preferably, in step 1, issuing the control instruction under 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 the batch of the centralized controller equipment is selected to issue the control instruction, dividing the centralized controller equipment according to areas and/or data, and issuing the control instruction in batches;
step 13: judging whether the control instruction is successfully issued, and if the control instruction is successfully issued, finishing the step 1; and if the issuing is unsuccessful, continuously trying to issue again at preset time 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: according to the execution result data, whether the centralized controller equipment corresponding to the execution result data exists or not is inquired in cache data of the middleware platform;
step 53: if the centralized controller device corresponding to the execution result data does not exist, ending the step 5, 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 websocket.
Preferably, in step 5, the step of displaying the execution result data in real time on the application platform by using an electronic map includes the following steps:
step 55: acquiring the electronic map level on the application platform;
step 56: setting an icon corresponding to the centralized controller device according to the electronic map level and the execution result data of the centralized controller device;
and 57: and displaying the icon of the centralized controller device on the real-time electronic map.
Preferably, the application platform analyzes the execution result data, detects whether the execution result data is abnormal, and generates alarm data and notifies a user if the execution result data is abnormal.
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 an MQTT protocol-based centralized controller control system, which adopts any one of the above methods for controlling an MQTT protocol-based centralized controller, and comprises:
the application platform module is used for issuing a control instruction, receiving and collecting execution result data of the controller device 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 device 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, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the steps of the centralized controller control method based on the MQTT protocol.
According to the centralized controller control method, the centralized controller control system and the computer equipment based on the MQTT protocol, the MQTT protocol is adopted to communicate with the centralized controller equipment, so that the equipment control functions of remote control, remote measurement, remote signaling, remote regulation and the like of the centralized controller equipment are realized, control instructions can be automatically executed and issued according to different time periods and different regions, and an intelligent control strategy is realized. The centralized controller control method, the system and the computer equipment based on the MQTT protocol can also be applied to scenes of a smart city system or a smart street lamp system, 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, and can automatically control the equipment 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 flowchart of a centralized controller control method based on MQTT protocol in 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 for the purpose of better understanding and enabling those skilled in the art to practice the present invention, which are not intended to limit the present invention.
Example 1
Referring to fig. 1 and fig. 2, the present embodiment provides a method for controlling an centralized controller based on MQTT protocol, where the method for controlling the centralized controller includes the following steps:
s1: issuing a control instruction at the application platform, and issuing the control instruction to the middleware platform;
s2: the method comprises the steps that communication is established with an MQTT server through a middleware platform, and the middleware platform is verified through the MQTT server and then is connected with the MQTT server;
s3: sending a control instruction to an MQTT server through a middleware platform;
s4: the MQTT server sends the control instruction to the centralized controller equipment connected with the MQTT server and collects execution result data of the centralized controller equipment;
s5: and transmitting the execution result data collected by the MQTT server to a middleware platform, transmitting 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, which provides an integrated environment supporting information access, transfer, and collaboration, and may provide a customized security channel and a customized application interface for accessing key service information for a specific user according to the characteristics, preferences, and roles of each user, so that different users may browse data associated with each other to perform related transaction processing. Middleware platform is actually a combination of platform and communication that is used to interface various parts or different applications on the system, manage computing resources and network communications. The communication between the application platform and different centralized controller devices can be realized through the middleware platform, so that the different centralized controller devices can be uniformly controlled.
In this embodiment, in step 1, before the application platform issues the control instruction, account password verification is further set, and different centralized controller devices can be controlled by inputting different account passwords. The account numbers are managed in a grading mode, the account numbers with different grades are endowed with different control authorities, the account numbers with low grades can only control part of or all centralized controller devices in a limited area, and the account numbers with high grades can control most or all the centralized controller devices.
In this 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 are verified, the verified account password can be set to be the same as the account password of the application platform, and then the middleware platform can automatically acquire the account password of the application platform to be connected with the MQTT server; or the account password of the application platform can be encrypted or converted.
In this embodiment, in step 1, issuing a control instruction on an application platform includes the following steps:
s11: selecting a single integrated controller device or a batch of integrated controller devices on an application platform to issue a control instruction;
s12: when batch integrated controller equipment is selected to issue control instructions, dividing the integrated controller equipment according to areas and/or data, and issuing the control instructions in batches;
s13: judging whether the control instruction is successfully issued, and if the control instruction is successfully issued, finishing the step 1; and if the issuing is unsuccessful, continuously trying to issue again at preset time intervals until the control instruction is successfully issued.
In this embodiment, in step 5, the sending, by the middleware platform, the execution result data to the application platform includes the following steps:
s51: receiving execution result data collected by an MQTT server;
s52: according to the execution result data, whether the centralized controller equipment corresponding to the execution result data exists or not is inquired in the cache data of the middleware platform;
s53: if the centralized controller device 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: and if the centralized controller device corresponding to the execution result data exists, updating the device information in the 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, displaying the execution result data in real time by using an electronic map on the application platform, including the following steps:
s55: acquiring the level of an electronic map 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: and displaying the icon of the centralized controller device 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 the execution result data is abnormal, generates alarm 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 in different colors. The execution result data exception comprises the fact that the execution result data exception cannot be connected to the integrated controller device, the control instruction cannot be normally executed, the integrated controller device is damaged/abnormal and the like, and the alarm data is used for preventing or maintaining the alarm device in time, so that the service life of the device is prolonged, the damaged device is replaced at regular time, and emergency treatment of emergency events 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
This embodiment provides an MQTT protocol-based centralized controller control system, where the centralized controller control system adopts the MQTT protocol-based centralized controller control method as in embodiment 1 above, and the centralized controller control system includes:
the application platform module is used for issuing a control instruction, receiving and collecting execution result data of the controller device and displaying the execution result data on the electronic map in real time; and account password verification is also set on the application platform module, and different centralized controller equipment can be controlled by inputting different account passwords. The account numbers are managed in a grading mode, the account numbers with different grades are endowed with different control authorities, the account numbers with low grades can only control part of or all centralized controller devices in a limited area, and the account numbers with high grades can control most or all 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 grade on the current application platform module is obtained, then, the icon corresponding to the integrated controller device is set according to the electronic map grade and the execution result data of the integrated controller device, and finally, the icon of the integrated controller device is displayed on the real-time electronic map.
And the middleware platform module is used for receiving the control instruction of the application platform module, sending the control instruction out after establishing connection with the MQTT server, receiving the execution result data collected by the MQTT server and judging the received execution result data.
The middleware platform module is used for judging the received execution result data when sending the execution result data to the application platform: firstly, receiving execution result data collected by an MQTT server; according to the execution result data, whether the centralized controller equipment corresponding to the execution result data exists or not is inquired in the cache data of the middleware platform; if the centralized controller device corresponding to the execution result data does not exist, ending the step 5, and not sending the execution result data to the application platform; and if the centralized controller device corresponding to the execution result data exists, updating the device information in the 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 device mainly adopts TCP communication, the packaged protocol of the centralized controller device realizes the service transmission between the butt joint device end and the service end based on the MQTT protocol, the defined release message is in a standard Json format, and UTF-8 character set coding is uniformly used.
And the centralized controller device 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 referred to as a terminal device which centralizes nearby sensor data and accesses to a network as an intelligent gateway, the centralized controller device is connected and communicated with the sensors and the execution device through a field bus or Zigbee, the centralized controller device is connected and communicated with the MQTT server and the middleware platform through a GPRS/3G/4G/5G/WIFI/wired network, and the centralized controller device uploads execution result data to the MQTT server.
Example 3
The present embodiment provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps of the method for controlling the centralized controller based on MQTT protocol as in embodiment 1 above are implemented. The computer device may be a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server or a cabinet server (including an independent server or a server cluster composed of a plurality of servers) capable of executing programs, and the like. The computer device of the embodiment at least includes but is not limited to: a memory, a processor communicatively coupled to each other via a system bus.
In this embodiment, the memory (i.e., the readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the memory may be an internal storage unit of the computer device, such as a hard disk or a memory of the computer device. In other embodiments, the memory may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the computer device. Of course, the memory may also include both internal and external storage devices for the computer device. In this embodiment, the memory is generally used for storing an operating system, various types of application software, and the like installed in the computer device. In addition, the memory may also 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 (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 program codes stored in the memory or process data, so as to implement the control and result display of the centralized controller based on the MQTT protocol in the foregoing embodiments.
Example 4
In the embodiment of the invention, the centralized controller control method and the control system based on the MQTT protocol in the embodiments 1 and 2 are applied to the specific application embodiment of the intelligent street lamp, and the centralized controller system based on the MQTT protocol is remotely controlled intelligently and analyzed in data, so that the following points are played:
1. intelligent operations such as power-on and power-off can be remotely performed on the integrated controller equipment;
2. the equipment state data is displayed on an electronic map in real time, the street lamp equipment state of a city is clear at a glance, and whether equipment in a certain place is damaged or not is rapidly known and replaced;
3. analyzing the data at different latitudes according to the data reported by the equipment to generate alarm data, informing the data to a user in different modes, and processing according to the information;
4. according to different time quantum, different occasions, different longitudes and latitudes, according to the light change, control of different luminance is carried out to equipment, realizes that equipment intelligent dimming. The developed street lamp in the urban convergence consumes a large amount of electric energy, the expenditure of electric charges and the debugging and maintenance of equipment are huge cost, an intelligent node lighting strategy is used, different brightness is displayed according to different scenes and different light changes, and the consumption of the electric energy is reduced to the greatest extent;
5. the alarm of emergency (error lighting, light-off, air switch tripping, contactor out-of-control and the like) and the alarm of out-of-range electrical parameters (voltage loss, voltage/current out-of-limit) can be set, and the alarm information is automatically recorded in a database to form alarm data; when the fault alarm is carried out and no person is in time, the remote alarm can be set and sent.
The above description is only for the preferred embodiment of the present invention and is not intended to limit the scope of the present invention, and all equivalent structures or equivalent flow transformations that may be applied to the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A centralized controller control method based on MQTT protocol is characterized by comprising the following steps:
step 1: issuing a control instruction on an application platform, and issuing the control instruction to a middleware platform;
step 2: the communication is established with the MQTT server through the middleware platform, and the middleware platform is verified through the MQTT server and then is connected with the MQTT server;
and step 3: sending the control instruction to the MQTT server through the middleware platform;
and 4, 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;
and 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.
2. The MQTT protocol-based centralized controller control method of claim 1, wherein in step 1, before the application platform issues the control instruction, account password verification is further set, and inputting different account passwords can control different centralized controllers.
3. The MQTT protocol-based centralized controller control method according to claim 2, wherein in step 2, the middleware platform uses the account password to pass authentication of the MQTT server.
4. The MQTT protocol-based centralized controller control method according to claim 1, wherein in step 1, issuing the control command under the application platform includes the steps of:
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 the batch of the centralized controller equipment is selected to issue the control instruction, dividing the centralized controller equipment according to areas and/or data, and issuing the control instruction in batches;
step 13: judging whether the control instruction is successfully issued, and if the control instruction is successfully issued, finishing the step 1; and if the issuing is unsuccessful, continuously trying to issue again at preset time intervals until the control instruction is successfully issued.
5. The MQTT protocol-based centralized controller control method according to claim 1, wherein in step 5, the middleware platform sending the execution result data to the application platform includes the steps of:
step 51: receiving the execution result data collected by the MQTT server;
step 52: according to the execution result data, whether the centralized controller equipment corresponding to the execution result data exists or not is inquired in cache data of the middleware platform;
step 53: if the centralized controller device corresponding to the execution result data does not exist, ending the step 5, 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 websocket.
6. The MQTT protocol-based centralized controller control method of claim 1, wherein in step 5, the execution result data is displayed in real time on the application platform by using an electronic map, and the method comprises the following steps:
step 55: acquiring the electronic map level on the application platform;
step 56: setting an icon corresponding to the centralized controller device according to the electronic map level and the execution result data of the centralized controller device;
and 57: and displaying the icon of the centralized controller device on the real-time electronic map.
7. The MQTT protocol-based centralized controller control method according to claim 1, wherein the application platform analyzes the execution result data, detects whether the execution result data is abnormal, and if the execution result data is abnormal, generates alarm data and notifies a user.
8. The MQTT protocol-based centralized controller control method of claim 1, wherein preset control instructions are set, and the application platform automatically issues the preset control instructions according to different time periods and/or different occasions to control the centralized controller device to automatically execute the preset control instructions.
9. An MQTT protocol-based centralized controller control system, wherein the centralized controller control system adopts the MQTT protocol-based centralized controller control method according to any one of claims 1 to 8, and the centralized controller control system includes:
the application platform module is used for issuing a control instruction, receiving and collecting execution result data of the controller device 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 device is used for receiving the control instruction, executing operation according to the control instruction and sending the execution result data to the MQTT server.
10. Computer device, characterized in that it comprises a memory, a processor and a computer program stored on said memory and executable on said processor, said processor implementing the steps of the MQTT protocol-based centralized controller control method according to any one of claims 1 to 8 when executing said computer program.
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 true CN114125010A (en) | 2022-03-01 |
CN114125010B 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 (9)
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 |
US20180213378A1 (en) * | 2014-07-21 | 2018-07-26 | Convida Wireless, Llc | Service layer interworking using mqtt protocol |
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 (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
-
2021
- 2021-11-03 CN CN202111295718.4A patent/CN114125010B/en active Active
- 2021-12-22 WO PCT/CN2021/140568 patent/WO2023077637A1/en unknown
Patent Citations (9)
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 |
US20180213378A1 (en) * | 2014-07-21 | 2018-07-26 | Convida Wireless, Llc | Service layer interworking using mqtt protocol |
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)
Title |
---|
MIGUEL A. PRADA, PERFECTO REGUERA, SERAFÍN ALONSO, ANTONIO MORÁN, JUAN J. FUERTES, MANUEL DOMÍNGUEZ: "Communication with resource-constrained devices through MQTT for control education", 《ELESVIER》 * |
陈静: "基于Android的智慧路灯终端的设计与实现", 《中国优秀硕士论文全文数据库》 * |
Also Published As
Publication number | Publication date |
---|---|
CN114125010B (en) | 2024-02-20 |
WO2023077637A1 (en) | 2023-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102607236B (en) | Cloud refrigerator system based on cloud of things and service method | |
CN104079653A (en) | Smart home control method and system based on B/S framework | |
US8484285B2 (en) | Method and device for communication between a device and a server | |
CN104025516A (en) | Systems and methods of remote communication | |
CN104126182A (en) | Systems and methods of remote communication | |
CN105763389A (en) | Electrical power monitoring and fault information management system based on Android platform | |
US9733816B2 (en) | Virtual wiring | |
CN112437047A (en) | Remote server management method, system and related device | |
CN105744008A (en) | Intelligent home platform, and system updating method and device applied to intelligent home platform | |
CN106993043A (en) | Data communication system and method based on agency | |
CN114915521A (en) | Intelligent home gateway and data processing method | |
JPH11219388A (en) | Remote management system | |
KR20150053080A (en) | System and method for blocking harmful information based on multi platforms | |
KR20160087280A (en) | Method and system for providing integrated managing service based smart water grid | |
CN114125010A (en) | MQTT protocol-based centralized controller control method, system and equipment | |
CN117041251A (en) | Multi-data virtualization cluster management system based on edge computing | |
CN116844087A (en) | Monitoring method and device of operating system and BMC | |
CN115834634A (en) | Management method and system for intelligent building networking equipment | |
CN113612659B (en) | Device networking test method and device, electronic device and storage medium | |
CN115410580A (en) | Voice recognition method, device, equipment and medium for command scheduling system | |
CN107861485A (en) | Data acquisition and monitoring control method, client, server and system | |
CN110958148B (en) | Deployment system of distributed access equipment | |
CN112995264B (en) | Method, device and storage medium for preventing data from being deleted by mistake | |
CN113110314A (en) | Internet of things management system of centralized control equipment | |
CN110262837A (en) | Server remote method for restarting, device, equipment and storage medium based on management |
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 |