CN112422544B - Machine room equipment information monitoring system based on MQTT communication protocol - Google Patents

Machine room equipment information monitoring system based on MQTT communication protocol Download PDF

Info

Publication number
CN112422544B
CN112422544B CN202011241361.7A CN202011241361A CN112422544B CN 112422544 B CN112422544 B CN 112422544B CN 202011241361 A CN202011241361 A CN 202011241361A CN 112422544 B CN112422544 B CN 112422544B
Authority
CN
China
Prior art keywords
information
machine room
topic
server
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.)
Active
Application number
CN202011241361.7A
Other languages
Chinese (zh)
Other versions
CN112422544A (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.)
Shenzhen Huahao Software Co ltd
Original Assignee
Shenzhen Huahao Software Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Huahao Software Co ltd filed Critical Shenzhen Huahao Software Co ltd
Priority to CN202011241361.7A priority Critical patent/CN112422544B/en
Publication of CN112422544A publication Critical patent/CN112422544A/en
Application granted granted Critical
Publication of CN112422544B publication Critical patent/CN112422544B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/50Network services
    • H04L67/55Push-based network services
    • 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
    • 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/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • H04L67/145Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention is suitable for the technical field of computers, and provides a machine room equipment information monitoring system based on an MQTT communication protocol, which comprises: the machine room information acquisition server is used for acquiring machine room equipment information, packaging the machine room equipment information into theme information of different theme types and sending the theme information to the MQTT message server; the MQTT message server is used for determining and sending a corresponding message subscription client according to the topic type of the topic information; and the message subscription client is used for receiving the theme information. According to the machine room equipment information monitoring system provided by the embodiment of the invention, the machine room information acquisition server acquires the machine room equipment information by utilizing the Internet of things technology, and encapsulates the machine room equipment information into the topic information with different topic types by combining the MQTT communication protocol, and at the moment, the MQTT message server sends the corresponding topic information to the message subscription client subscribed to the corresponding topic type according to the topic type of the topic information, so that the remote monitoring of the machine room terminal equipment by the message subscription client is realized.

Description

Machine room equipment information monitoring system based on MQTT communication protocol
Technical Field
The invention belongs to the technical field of computers, and provides a machine room equipment information monitoring system based on an MQTT communication protocol.
Background
The machine room equipment affects the operation stability of the system background, so that real-time monitoring of the machine room equipment is necessary.
In the prior art, machine room information is monitored by accessing machine room data through a browser, which requires consuming high-flow network resources, and has high requirements on a machine room data server, so that the stability of the monitoring system is poor.
Therefore, the existing system for monitoring the equipment in the machine room in real time has the technical problem of poor stability.
Disclosure of Invention
The embodiment of the invention aims to provide a machine room equipment information monitoring system based on an MQTT communication protocol, which aims to solve the technical problem of poor stability of the existing system for monitoring machine room equipment in real time.
The embodiment of the invention is realized in such a way that the machine room equipment information monitoring system based on the MQTT communication protocol comprises: the system comprises a machine room information acquisition server, an MQTT message server and a message subscription client;
the machine room information acquisition server is used for acquiring machine room equipment information according to preset equipment information acquisition rules, packaging the machine room equipment information into theme information of different theme types based on preset packaging rules, and then sending the theme information to the MQTT message server;
the MQTT message server is used for determining a message subscription client pre-subscribing the topic information according to the topic type of the topic information after receiving the topic information and sending the topic information;
the message subscription client is used for receiving the theme information.
As a preferred embodiment of the present invention, the message subscription client subscribes to topic information of different topic types in advance through preset subscription rules; the message subscription client is used for sending a topic information subscription request to the MQTT message server; the topic information subscription request carries topic type of topic information and identification information of a message subscription client;
and the MQTT message server is used for associating and storing the topic type of the topic information and the message subscription client identification information after receiving the topic information subscription request.
As a preferred embodiment of the present invention, the MQTT message server includes a message middleware and an MQTT proxy server;
the message middleware is used for receiving the theme information sent by the machine room information acquisition server, filtering and processing data according to preset data processing rules, and sending the processed theme information to the MQTT proxy server;
the MQTT proxy server is used for determining a message subscription client pre-subscribing the topic information according to the topic type of the topic information after receiving the processed topic information, and sending the topic information.
Further, the MQTT message server further comprises a MySQL database, where the MySQL database stores in advance a mapping relationship between a message subscription client and topic information; the step of determining the message subscription client pre-subscribed to the topic information according to the topic type of the topic information specifically comprises the following steps:
and determining a corresponding message subscription client according to the topic type of the topic information and the mapping relation between the message subscription client and the topic information, which are stored in advance in the MySQL database.
As a preferred embodiment of the present invention, the computer room information collecting server is configured to connect to a computer room equipment terminal through a serial server or directly according to a preset communication integration protocol.
Further, the communication integration protocol at least comprises one or more of TCP/IP protocol, HTTP protocol and RS485 protocol.
Further, the machine room terminal equipment is authorized to register in the machine room equipment information monitoring system in advance;
the message subscription client is further used for sending an operation request of the machine room terminal equipment to the MQTT message server; the machine room terminal equipment operation request carries a machine room terminal equipment identification number and operation information;
the MQTT message server is also used for sending the operation request of the machine room terminal equipment to a machine room information acquisition server;
the machine room information acquisition server is further used for sending an operation instruction to the corresponding machine room terminal equipment according to the machine room terminal equipment operation request.
As a preferred embodiment of the present invention, the computer room equipment information monitoring system further includes a system background management end; the system background management end is used for realizing registration management of the message subscription client.
As a preferred embodiment of the present invention, the computer room equipment information monitoring system further includes a database server; the machine room information acquisition server is further used for uploading the machine room equipment information to the database server after the machine room equipment information is acquired.
According to the machine room equipment information monitoring system based on the MQTT communication protocol, the machine room information acquisition server is connected with the machine room equipment terminal through the Internet of things technology by utilizing the MQTT communication protocol and the Internet of things technology, so that the machine room information acquisition server can acquire the machine room equipment information, then the machine room equipment information is packaged into theme information of different theme types by combining with the MQTT communication protocol and then is sent to the MQTT message server, at the moment, the MQTT message server can send corresponding theme information to the message subscription client subscribing to the corresponding theme type according to the theme type of the theme information, and therefore, the message subscription client needing to monitor the machine room equipment can receive the corresponding theme information from the MQTT message server through subscribing to the different theme types.
Drawings
Fig. 1 is a schematic structural diagram of a machine room equipment information monitoring system based on an MQTT communication protocol according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a computer room information acquisition server for acquiring terminal information of computer room equipment according to an embodiment of the present invention;
fig. 3 is a timing chart of interaction of structures in a machine room equipment information monitoring system according to an embodiment of the present invention;
fig. 4 is a timing chart of interaction of structures in another information monitoring system for equipment in a machine room according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a MQTT message server according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another MQTT message server according to an embodiment of the present invention;
fig. 7 is a timing chart of interaction of structures in another information monitoring system for equipment in a machine room according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another machine room equipment information monitoring system based on MQTT communication protocol according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of another machine room equipment information monitoring system based on an MQTT communication protocol according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
As shown in fig. 1, a schematic structural diagram of a machine room equipment information monitoring system based on an MQTT communication protocol according to an embodiment of the present invention is described in detail below,
in the embodiment of the invention, the machine room equipment information monitoring system mainly comprises: a room information collection server 110, an MQTT message server 120, and a message subscription client 130.
In the embodiment of the present invention, the machine room information collection server 110 is connected to a machine room equipment terminal through an internet of things technology so as to collect information of the machine room terminal equipment, specifically, the machine room information collection server 110 is configured to connect to the machine room equipment terminal through a serial server according to a preset communication integration protocol, where the communication integration protocol generally includes one or more of a TCP/IP protocol, an HTTP protocol, and an RS485 protocol, and specifically, the schematic diagram of the machine room information collection server 110 collecting information of the machine room equipment terminal shown in fig. 2 may be referred to.
In the embodiment of the present invention, after the machine room information collection server 110 is connected to the machine room equipment terminal through the internet of things technology, the machine room information collection server is used for collecting machine room equipment information according to a preset equipment information collection rule, where the equipment information collection rule mainly includes information and frequency required to be collected by each machine room terminal equipment, and certainly is not limited to this, since this part of content is not the core content that needs to be protected by the present invention, and when a person skilled in the art reads the present invention, the specific meaning of the equipment information collection rule is sufficiently clear in combination with the above description, the present invention does not further specifically describe the specific equipment information collection rule, and can make the machine room information collection server collect the rule of the corresponding information of the machine room terminal equipment according to the user needs within the scope of the present invention.
In the embodiment of the present invention, after the machine room information collecting server 110 collects the machine room device information, the machine room information collecting server is configured to package the machine room device information into the theme information of different theme types according to the preset package rule, that is, the collected data is packaged in the custom format and applied in the custom theme template, and the theme message is sent to the MQTT message server 120.
In the embodiment of the present invention, after receiving the topic information sent by the machine room information collection server 110, the MQTT message server 120 determines the message subscription client 130 that subscribes to the topic information in advance according to the topic type of the topic information, and then sends the corresponding topic information to the message subscription client 130, so that the message subscription client can receive the topic information of interest subscribed in advance, thereby implementing remote monitoring on the machine room equipment information.
In the embodiment of the invention, the MQTT message server is a key for realizing the invention, and the machine room equipment information monitoring system provided by the invention is preferably an EMQTT message server which is an open source MQTT message server fully supporting MQTT3.1.1 protocol and supporting clusters and large-scale connection.
In the embodiment of the present invention, the message subscription client 130 generally refers to a mobile terminal of a subscriber, so that the subscriber can conveniently use the portable mobile terminal to view the equipment information of the computer room remotely.
In order to facilitate understanding of the implementation of the flow of the information monitoring system for equipment in a machine room provided by the invention, a timing diagram of interaction of each structure in the information monitoring system for equipment in a machine room shown in the following fig. 3 may be referred to.
As a preferred embodiment of the present invention, the message subscription client 130 subscribes to topic information of different topic types through preset subscription rules in advance. Specifically, the message subscription client 130 sends a topic information subscription request carrying topic type of topic information and topic information subscription client identification information to the MQTT message server 120, and after receiving the topic information subscription request, the MQTT message server 120 associates and stores the topic type of topic information and the topic information subscription client identification information, so that the subsequent MQTT message server 120 determines the associated message subscription client 130 according to the topic type of the received topic information. The following timing diagrams of each structure interaction in the machine room equipment information monitoring system shown in fig. 4 can be referred to specifically.
As another preferred embodiment of the present invention, the MQTT message server 120 mainly includes a message middleware 121 and an MQTT proxy server 122, and in particular, reference may be made to the schematic structure of the MQTT message server shown in fig. 5. The message middleware 121 is mainly used for receiving data and filtering and processing the data, and the MQTT proxy server 122 is mainly used for sending the data, at this time, after receiving the topic information, the MQTT message server determines a message subscription client that subscribes to the topic information in advance according to the topic type of the topic information, and the step of sending the topic information is specifically implemented by the following procedures:
the message middleware 121 is configured to receive the theme information sent by the machine room information collection server 110, perform data filtering and processing according to a preset data processing rule, and send the processed theme information to the MQTT proxy server 122.
The MQTT proxy server 122 is configured to determine, after receiving the processed topic information, a message subscription client 130 that subscribes to the topic information in advance according to a topic type of the topic information, and send the topic information.
As a further preferred embodiment of the present invention, the MQTT message server 120 further includes a MySQL database 123, specifically referring to the schematic structure of the MQTT message server shown in fig. 6, where the MySQL database 123 stores in advance the mapping relationship between the message subscription client 130 and the topic information, that is, the message subscription client 130 subscribes to related information of topic information of different topic types in advance through a preset subscription rule, and at this time, the MQTT proxy server 122 determines the step of subscribing to the message subscription client 130 of the topic information in advance according to the topic type of the topic information, specifically, determines the corresponding message subscription client 130 by retrieving the mapping relationship between the message subscription client and the topic information stored in advance in the MySQL database 123.
As a further preferred embodiment of the present invention, the computer room equipment information monitoring system provided by the present invention may be further used to remotely control a terminal device of a computer room through the message subscription client 130 by a subscribing user, and specifically may refer to a timing chart of interaction of each structure in the computer room equipment information monitoring system shown in fig. 7. Unlike remote monitoring, in the remote control process, the message subscription client 130 may be understood as a message publisher, and the room information collecting server 110 may be understood as a message subscriber, and data transmission between them is also implemented through the MQTT message server 120. Specifically, the message subscription client 130 is configured to send a machine room terminal device operation request carrying a machine room terminal device identification number and operation information to the MQTT message server 120, where the MQTT message server 120 sends the machine room terminal device operation request to the machine room information collecting server 110, so that the machine room terminal device operation request is sent to the machine room information collecting server 110, after receiving the machine room terminal device operation request, to send an operation instruction to a corresponding machine room terminal device to implement control of the machine room terminal device, and of course, in order to implement control of the machine room terminal device by the machine room information collecting server 110, it is required to require that the machine room terminal device be authorized and registered in the machine room terminal device information monitoring system in advance.
As still another preferred embodiment of the present invention, the computer room equipment information monitoring system further includes a system background management end 140, where the system background management end is used to implement registration management of the message subscription client, that is, has a user registration management function module. In addition, according to the actual needs, the system can have functional modules such as terminal registration management, terminal authorization management, terminal control management, terminal theme management, query statistics, and the like, and the functional modules are mainly used for realizing the background management of the machine room equipment information monitoring system, and in general, the system background management end 140 can also be realized through a mobile terminal, that is, a management user can conveniently realize the management of the machine room equipment information monitoring system remotely through the portable system background management end 140.
As a further preferred embodiment of the present invention, the machine room equipment information monitoring system further includes a database server 150, and the machine room information collecting server 110 is further configured to upload the machine room equipment information to the database server 150 after collecting the machine room equipment information.
According to the machine room equipment information monitoring system based on the MQTT communication protocol, the machine room information acquisition server is connected with the machine room equipment terminal through the Internet of things technology by utilizing the MQTT communication protocol and the Internet of things technology, so that the machine room information acquisition server can acquire the machine room equipment information, then the machine room equipment information is packaged into theme information of different theme types by combining with the MQTT communication protocol and then is sent to the MQTT message server, at the moment, the MQTT message server can send corresponding theme information to the message subscription client subscribing to the corresponding theme type according to the theme type of the theme information, and therefore, the message subscription client needing to monitor the machine room equipment can receive the corresponding theme information from the MQTT message server through subscribing to the different theme types.
As shown in fig. 2, a schematic diagram of a machine room information collection server for collecting terminal information of machine room equipment according to an embodiment of the present invention is described in detail below.
In the embodiment of the present invention, it can be seen that there are a plurality of machine room equipment terminals, including, but not limited to, UPS, air conditioner, access control, camera, network equipment, and various environmental information monitoring sensors such as temperature and humidity sensors, smoke sensors, etc., where the machine room information collecting server 110 communicates with each machine room equipment terminal according to a preset protocol and through a serial server or directly, for example, communicates with various sensors based on the RS485 protocol, communicates with air conditioner based on the Modbus protocol, etc.
As shown in fig. 3, a timing chart of interaction of each structure in the information monitoring system of equipment in a machine room provided by the embodiment of the invention is described in detail below.
In the embodiment of the invention, the machine room information acquisition server acquires machine room equipment information according to preset equipment information acquisition rules, including, but not limited to, the working state information of the uninterruptible power supply shown in fig. 2, temperature and humidity data acquired by a temperature sensor and a smoke sensor, running state information of an air conditioner and an access control, and the like. After the machine room equipment information is collected, the machine room equipment information is packaged into topic information with different topic types based on preset packaging rules, wherein the topic types can be set by combining with a subsequent system background management end 140, for example, the topic types comprise but not limited to equipment abnormality, environment abnormality, other abnormality and the like, after the topic information with different topic types is packaged, the topic information is sent to an MQTT server, the MQTT server determines a message subscription client which is preferably subscribed with the corresponding topic information according to the topic type of the topic information, and sends the topic information to the corresponding message subscription client, obviously, the number of the message subscription clients is usually multiple, topic information received by the message subscription clients which subscribe different topic types is different, and at the moment, the message subscription client can acquire the machine room equipment information which is interested by itself, so that the machine room terminal equipment is monitored remotely on a mobile terminal.
Fig. 4 is a timing chart of interaction of each structure in another information monitoring system for equipment in a machine room according to an embodiment of the present invention, which is described in detail below.
In the embodiment of the invention, the MQTT server determines that the message subscription client which is preferably subscribed with the corresponding topic information needs to initiate a subscription request by the message subscription client in advance according to the topic type of the topic information, and the MQTT server can determine the message subscription client corresponding to the topic information. Specifically, a message subscription client initiates a topic information subscription request to an MQTT server, where the topic information subscription request carries topic types of topic information and identification information of the message subscription client, and after receiving the topic information subscription request, the MQTT server associates and stores topic types of topic information carried in the topic information subscription request and identification information of the message subscription client, and typically stores the topic types and the identification information of the topic information in a MySQL database in the MQTT server, and in particular, reference may be made to the following description about the structure of the MQTT server in fig. 6.
Fig. 5 is a schematic structural diagram of an MQTT message server according to an embodiment of the present invention, which is described in detail below.
In the embodiment of the present invention, the MQTT message server may be further divided into a message middleware 121 and an MQTT proxy server 122, where the message middleware 121 may be used for performing data filtering and processing according to a preset data processing rule, so as to refine the machine room equipment information collected by the machine room information collection server, further reduce the flow, avoid displaying a large amount of useless information to the message subscription client, and have more practicability.
As shown in fig. 6, a schematic structure diagram of another MQTT message server according to an embodiment of the present invention is described in detail below.
In the embodiment of the present invention, the MQTT message server shown in fig. 5 is different in that MySQL database 123 is further included.
In the embodiment of the present invention, as can be seen from the foregoing content of fig. 4, the message subscription client sends a topic information subscription request to the MQTT message server so that the subsequent MQTT message server determines the message subscription client subscribed to the topic information according to the topic type of the topic information, so that the MQTT message server needs to store in advance a subscription relationship, that is, an association relationship between the message subscription client and the topic type of the topic information, and this is usually implemented by using a MySQL database, that is, a mapping relationship between the message subscription client and the topic information is stored in the MySQL database, and at this time, the MQTT proxy server implements a process of determining the message subscription client subscribed to the topic information in advance according to the mapping relationship between the message subscription client and the topic information stored in the MySQL database.
Fig. 7 is a timing chart of interaction of each structure in another information monitoring system for equipment in a machine room according to an embodiment of the present invention, which is described in detail below.
In the embodiment of the invention, compared with remote monitoring, the method and the system can be further used for remote control, at the moment, a request for operating the equipment room terminal equipment is initiated by the message subscription client, the request carries the equipment room terminal equipment identification number and operation information, such as access control-opening/closing, air conditioner-heating/cooling and the like, at the moment, the message subscription client can be understood as an information publisher, and the message subscription client can be understood as an information subscriber, after receiving the equipment room terminal equipment operation request, the MQTT message server forwards the request to the equipment room information acquisition server, and under the condition that the equipment room terminal equipment is authorized to be registered in the equipment room equipment information monitoring system in advance, the equipment room information acquisition server sends an operation instruction to the corresponding equipment room terminal equipment according to the equipment room terminal equipment identification number and the operation information carried by the equipment room terminal equipment operation request, so that the equipment room terminal equipment performs corresponding operation information.
Fig. 8 is a schematic structural diagram of another machine room equipment information monitoring system based on an MQTT communication protocol according to an embodiment of the present invention, which is described in detail below.
In the embodiment of the present invention, the difference between the structure schematic diagram of the machine room equipment information monitoring system based on the MQTT communication protocol and the structure schematic diagram of the machine room equipment information monitoring system shown in fig. 1 is that the machine room equipment information monitoring system further includes a system background management end 140.
In the embodiment of the invention, the system background management end mainly relates to the management of the system, including but not limited to functional modules such as user registration management, terminal authorization management, terminal control management, terminal theme management, query statistics and the like, and can comprehensively realize the background management of the computer room equipment information monitoring system so as to facilitate the improvement of the stability of the computer room equipment information monitoring system.
Fig. 9 is a schematic structural diagram of another machine room equipment information monitoring system based on an MQTT communication protocol according to an embodiment of the present invention, which is described in detail below.
In the embodiment of the present invention, the difference between the structure schematic diagram of the machine room equipment information monitoring system based on the MQTT communication protocol and the structure schematic diagram of the machine room equipment information monitoring system shown in fig. 1 is that the machine room equipment information monitoring system further includes a database server 150.
In the embodiment of the invention, after the machine room information acquisition server acquires the machine room equipment information, the machine room information acquisition server is also used for uploading the machine room equipment information to the database server so as to facilitate subsequent work.
It should be understood that, although the steps in the flowcharts of the embodiments of the present invention are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in various embodiments may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or other steps.
Those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a non-volatile computer readable storage medium, and where the program, when executed, may include processes in the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the invention and are described in detail herein without thereby limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.

Claims (8)

1. The utility model provides a computer lab equipment information monitoring system based on MQTT communication protocol which characterized in that includes: the system comprises a machine room information acquisition server, an MQTT message server and a message subscription client;
the machine room information acquisition server is used for acquiring machine room equipment information according to preset equipment information acquisition rules, packaging the machine room equipment information into theme information of different theme types based on preset packaging rules, and then sending the theme information to the MQTT message server;
the MQTT message server is used for determining a message subscription client pre-subscribing the topic information according to the topic type of the topic information after receiving the topic information and sending the topic information;
the message subscription client is used for receiving the subject information;
the MQTT message server comprises a message middleware and an MQTT proxy server;
the message middleware is used for receiving the theme information sent by the machine room information acquisition server, filtering and processing data according to preset data processing rules, and sending the processed theme information to the MQTT proxy server;
the MQTT proxy server is used for determining a message subscription client pre-subscribing the topic information according to the topic type of the topic information after receiving the processed topic information, and sending the topic information.
2. The computer room equipment information monitoring system according to claim 1, wherein the message subscription client subscribes to topic information of different topic types in advance through preset subscription rules; the message subscription client is used for sending a topic information subscription request to the MQTT message server; the topic information subscription request carries topic type of topic information and identification information of a message subscription client;
and the MQTT message server is used for associating and storing the topic type of the topic information and the message subscription client identification information after receiving the topic information subscription request.
3. The equipment information monitoring system of claim 1, wherein the MQTT message server further comprises a MySQL database, and the MySQL database stores a mapping relationship between a message subscription client and topic information in advance; the step of determining the message subscription client pre-subscribed to the topic information according to the topic type of the topic information specifically comprises the following steps:
and determining a corresponding message subscription client according to the topic type of the topic information and the mapping relation between the message subscription client and the topic information, which are stored in advance in the MySQL database.
4. The information monitoring system of the equipment room of claim 1, wherein the equipment room information collection server is used for being connected with the equipment room equipment terminal through a serial server or directly according to a preset communication integration protocol.
5. The equipment room equipment information monitoring system of claim 4, wherein the communication integration protocol at least comprises one or more of TCP/IP protocol, HTTP protocol, RS485 protocol.
6. The machine room equipment information monitoring system according to claim 4, wherein the machine room terminal equipment is authorized to register in the machine room equipment information monitoring system in advance;
the message subscription client is further used for sending an operation request of the machine room terminal equipment to the MQTT message server; the machine room terminal equipment operation request carries a machine room terminal equipment identification number and operation information;
the MQTT message server is also used for sending the operation request of the machine room terminal equipment to a machine room information acquisition server;
the machine room information acquisition server is further used for sending an operation instruction to the corresponding machine room terminal equipment according to the machine room terminal equipment operation request.
7. The equipment information monitoring system of claim 1, wherein the equipment information monitoring system further comprises a system background management end; the system background management end is used for realizing registration management of the message subscription client.
8. The equipment information monitoring system of claim 1, wherein the equipment information monitoring system further comprises a database server; the machine room information acquisition server is further used for uploading the machine room equipment information to the database server after the machine room equipment information is acquired.
CN202011241361.7A 2020-11-09 2020-11-09 Machine room equipment information monitoring system based on MQTT communication protocol Active CN112422544B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011241361.7A CN112422544B (en) 2020-11-09 2020-11-09 Machine room equipment information monitoring system based on MQTT communication protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011241361.7A CN112422544B (en) 2020-11-09 2020-11-09 Machine room equipment information monitoring system based on MQTT communication protocol

Publications (2)

Publication Number Publication Date
CN112422544A CN112422544A (en) 2021-02-26
CN112422544B true CN112422544B (en) 2023-06-30

Family

ID=74780842

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011241361.7A Active CN112422544B (en) 2020-11-09 2020-11-09 Machine room equipment information monitoring system based on MQTT communication protocol

Country Status (1)

Country Link
CN (1) CN112422544B (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112948738A (en) * 2021-03-18 2021-06-11 四川虹美智能科技有限公司 Data processing method and device based on MQTT
CN114979097B (en) * 2021-06-03 2023-07-21 中移互联网有限公司 Message pushing method and device based on MQTT and electronic equipment
CN115914358A (en) * 2021-08-06 2023-04-04 青岛海尔科技有限公司 Message pushing method and device, electronic equipment and computer storage medium
CN113703366A (en) * 2021-08-27 2021-11-26 重庆创新燃料电池技术产业研究院有限公司 Fuel cell visual control system and method
CN114095546B (en) * 2021-10-27 2024-03-01 许昌许继软件技术有限公司 Message monitoring method and device based on MQTT protocol
CN114301962A (en) * 2021-11-26 2022-04-08 杭州中恒电气股份有限公司 Charging pile communication method and system based on Internet of things cloud platform
CN114390033A (en) * 2021-12-28 2022-04-22 国网天津市电力公司营销服务中心 Loop state patrol instrument acquisition system and method based on extensible communication protocol
CN114328156B (en) * 2021-12-28 2023-06-16 苏州万店掌网络科技有限公司 Health detection method, device and equipment of protocol port and readable storage medium
CN114584614A (en) * 2022-01-17 2022-06-03 北京智芯微电子科技有限公司 Information interaction method used between intelligent terminal and acquisition terminal
CN114124649B (en) * 2022-01-26 2022-05-06 山东融为信息科技有限公司 Gateway communication method, system and gateway equipment based on MQTT and message contract
CN114501186B (en) * 2022-01-28 2023-10-03 瀚云科技有限公司 Data acquisition system, method, electronic equipment and storage medium
CN114338760A (en) * 2022-03-14 2022-04-12 湖南易净环保科技有限公司 Management control system for small and medium-sized water treatment equipment based on MQTT protocol
CN114745364A (en) * 2022-03-28 2022-07-12 重庆长安汽车股份有限公司 Internet of vehicles data distribution system and method based on MQTT protocol
CN114900453B (en) * 2022-04-21 2023-11-17 成都陆迪盛华科技有限公司 Internet of things type solution method for issuing voice frequency monitoring instructions among different clients
CN115225466B (en) * 2022-06-10 2024-03-05 国家计算机网络与信息安全管理中心 Method and device for switching bottom-layer moving ring platform based on MQTT service
CN115242787B (en) * 2022-07-22 2023-09-05 恒生电子股份有限公司 Message processing system and method
CN115086380B (en) * 2022-07-25 2022-11-15 苏州思萃工业互联网技术研究所有限公司 Data transmission system and method based on energy management platform
CN115550426A (en) * 2022-09-23 2022-12-30 北京计算机技术及应用研究所 Situation display control method
CN116668270A (en) * 2023-05-15 2023-08-29 深圳市晶存科技有限公司 Internet of things data transmission method and device, electronic equipment and storage medium
CN117131094A (en) * 2023-10-23 2023-11-28 大唐融合通信股份有限公司 Rule engine, implementation method, equipment and storage medium for Internet of things scene
CN117609289A (en) * 2024-01-22 2024-02-27 山东浪潮数据库技术有限公司 Energy data processing system based on wide table
CN118018600A (en) * 2024-03-18 2024-05-10 杭州万隆通讯技术有限公司 Message pushing method based on MQTT protocol

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106656632A (en) * 2017-02-03 2017-05-10 上海中信信息发展股份有限公司 Machine room monitoring system fusing Ethernet protocol with Internet of Things protocol, and information processing and control method
WO2018210401A1 (en) * 2017-05-15 2018-11-22 Telefonaktiebolaget Lm Ericsson (Publ) Topic handling in mqtt networks
CN110247941A (en) * 2018-03-09 2019-09-17 鸿合科技股份有限公司 The method and system of switching terminal use state
CN110266794A (en) * 2019-06-20 2019-09-20 四川长虹电器股份有限公司 Method for subscribing and system are acted on behalf of based on MQTT server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106656632A (en) * 2017-02-03 2017-05-10 上海中信信息发展股份有限公司 Machine room monitoring system fusing Ethernet protocol with Internet of Things protocol, and information processing and control method
WO2018210401A1 (en) * 2017-05-15 2018-11-22 Telefonaktiebolaget Lm Ericsson (Publ) Topic handling in mqtt networks
CN110247941A (en) * 2018-03-09 2019-09-17 鸿合科技股份有限公司 The method and system of switching terminal use state
CN110266794A (en) * 2019-06-20 2019-09-20 四川长虹电器股份有限公司 Method for subscribing and system are acted on behalf of based on MQTT server

Also Published As

Publication number Publication date
CN112422544A (en) 2021-02-26

Similar Documents

Publication Publication Date Title
CN112422544B (en) Machine room equipment information monitoring system based on MQTT communication protocol
US10334048B2 (en) On-premise data collection and ingestion using industrial cloud agents
CN110430260B (en) Robot cloud platform based on big data cloud computing support and working method
CN105629790B (en) A kind of data management platform and its data managing method based on industrial Internet of Things
CN101751032B (en) Method and system for managing automatic control system and video monitoring system
CN101883131B (en) Environmental data collector
CN110602445B (en) Video monitoring data acquisition method and device, computer equipment and storage medium
CN107908166B (en) Manufacturing MES data acquisition system of automobile based on industry internet
CN106843166A (en) Via communication network monitoring field apparatus
CN104954242A (en) Unified data ingestion adapter for migration of industrial data to a cloud platform
CN111597388B (en) Sample collection method, device, equipment and medium based on distributed system
CN115776438B (en) Industrial control data transmission method and system
CN115862177A (en) Equipment inspection method and device
CN109286680A (en) Field device long-distance monitoring method and system based on PLC
CN113111261A (en) Data processing method of cloud platform, cloud platform and panoramic analysis system
CN117493116A (en) Monitoring processing method, platform and device of acquisition terminal
CN117336035A (en) Management coordination method of side equipment based on gateway of Internet of things
CN104270432A (en) Real-time data service system and data interaction method based on drilling industry
JP2003233417A (en) Data communication device and its method, and data communication program and recording medium recorded thereof
CN210929133U (en) Live pig detection system
CN114556891B (en) Method, device, equipment and storage medium for determining equipment state
CN111125479B (en) Statistical method, device, computer equipment and storage medium for site access
CN111552612A (en) MSSQL monitoring management method, management device, system and computer equipment
CN110569216A (en) cloud law enforcement data processing method and system
CN211087029U (en) Device for realizing remote multi-greenhouse environment control based on Internet of things

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