CN110324367B - Remote monitoring system, monitoring method and device thereof, storage medium and processor - Google Patents

Remote monitoring system, monitoring method and device thereof, storage medium and processor Download PDF

Info

Publication number
CN110324367B
CN110324367B CN201810267085.8A CN201810267085A CN110324367B CN 110324367 B CN110324367 B CN 110324367B CN 201810267085 A CN201810267085 A CN 201810267085A CN 110324367 B CN110324367 B CN 110324367B
Authority
CN
China
Prior art keywords
soft bus
bus module
module
operation information
soft
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
CN201810267085.8A
Other languages
Chinese (zh)
Other versions
CN110324367A (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 Kuang Chi Space Technology Co Ltd
Original Assignee
Shenzhen Kuang Chi Space Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Kuang Chi Space Technology Co Ltd filed Critical Shenzhen Kuang Chi Space Technology Co Ltd
Priority to CN201810267085.8A priority Critical patent/CN110324367B/en
Publication of CN110324367A publication Critical patent/CN110324367A/en
Application granted granted Critical
Publication of CN110324367B publication Critical patent/CN110324367B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40169Flexible bus arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Hardware Redundancy (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a remote monitoring system, a monitoring method and device thereof, a storage medium and a processor. The monitoring method comprises the following steps: before the first node machine operates, a first soft bus module connected with the first node machine is started, and the first node machine is deployed in a remote monitoring system; after the first soft bus module is started, at least one processing module connected with the first soft bus module is started, and the at least one processing module is configured in the first node machine; acquiring first operation information generated in the operation process of at least one processing module; the first soft bus module sends first operation information to at least one second soft bus module, and/or the first soft bus module receives second operation information sent by at least one second soft bus module, wherein the second operation information is information generated in the operation process of at least one processing module connected with each second soft bus module. By the method and the device, the effect of reducing the application limitation of the monitoring system is achieved.

Description

Remote monitoring system, monitoring method and device thereof, storage medium and processor
Technical Field
The present invention relates to the field of control, and in particular, to a remote monitoring system, and a monitoring method, a device, a storage medium, and a processor thereof.
Background
At present, the remote monitoring system can transmit field data to a monitoring end, for example, the field data is transmitted to the monitoring end through remote communication means such as special lines, satellites and the like so as to carry out archiving, summarizing, displaying, printing, alarming and other treatments, thereby realizing remote monitoring and management on field scattered equipment and production information.
With the continuous deep application of the remote monitoring system, users can continuously put new requirements. Therefore, the functions of the remote monitoring system must be flexibly increased, that is, the remote monitoring system must be required to have convenient function expandability, however, the application limitation of the existing remote monitoring system is large, and the flexible increase of the functions of the remote monitoring system cannot be realized yet; in addition, the monitoring system designed as commodity software is quite different from users, the required system configuration scale is quite different, the system design is not only suitable for the user requirement of a specific scale, therefore, the monitoring system is required to have good scale scalability, however, the existing remote monitoring system has large application limitation, and the good scale scalability of the monitoring system cannot be realized yet. The remote monitoring system has the problem of large limitation in application.
Aiming at the problem of large application limitation of a remote monitoring system in the related technology, no effective solution is proposed at present.
Disclosure of Invention
The invention mainly aims to provide a remote monitoring system, a monitoring method, a device, a storage medium and a processor thereof, so as to at least solve the problem of large application limitation of the remote monitoring system.
In order to achieve the above object, according to one aspect of the present invention, there is provided a monitoring method of a remote monitoring system. The method comprises the following steps: before the first node machine operates, a first soft bus module connected with the first node machine is started, wherein the first node machine is deployed in a remote monitoring system; after the first soft bus module is started, at least one processing module connected with the first soft bus module is started, wherein the at least one processing module is configured in the first node machine; acquiring first operation information generated in the operation process of at least one processing module; and the first soft bus module sends first operation information to at least one second soft bus module, and/or the first soft bus module receives second operation information sent by at least one second soft bus module, wherein the second operation information is information generated in the operation process of at least one processing module connected with each second soft bus module, and at least one processing module connected with each second soft bus module is configured in a second node machine connected with each second soft bus module.
Optionally, after the first soft bus module connected to the first node machine is started, the method further includes: the first soft bus module establishes communication connection with at least one second soft bus module; the sending, by the first soft bus module, the first operational information to the at least one second soft bus module includes: after the first soft bus module and the at least one second soft bus module are in communication connection, the first soft bus module sends first operation information to the at least one second soft bus module; and/or the receiving, by the first soft bus module, the second operation information sent by the at least one second soft bus module includes: after the first soft bus module establishes communication connection with the at least one second soft bus module, the first soft bus module receives second operation information sent by the at least one second soft bus module.
Optionally, starting at least one processing module connected to the first soft bus module includes: and loading at least one processing module, wherein each processing module sends registration information to the first soft bus module when loading, and the registration information is used for registering each processing module by the first soft bus module.
Optionally, after starting at least one processing module connected to the first soft bus module, the method further comprises: receiving an exit instruction, wherein the exit instruction is used for indicating the first node machine to exit from the remote monitoring system; and according to the exit instruction, exiting the operation of the first node from the remote monitoring system.
Optionally, after exiting the operation of the first node from the remote monitoring system according to the exit instruction, the method further comprises: and sending an exit operation message to at least one second soft bus module by the first soft bus module, and unloading the first soft bus module from the remote monitoring system, wherein the exit operation message is used for indicating the first soft bus module to be unloaded from the remote monitoring system.
Optionally, sending, by the first soft bus module, the first operation information to the at least one second soft bus module includes: the first operation information is sent to at least one second soft bus module by the first soft bus module at regular time.
Optionally, sending, by the first soft bus module, the first operation information to the at least one second soft bus module includes: in a subscription and release mode, the release end of the first soft bus module is in communication connection with the release ends of a plurality of subscription ends of at least one second soft bus module; and sending the first operation information to a plurality of subscription ends of at least one second soft bus module through the publishing end of the first soft bus module.
Optionally, receiving, by the first soft bus module, the second operation information sent by the at least one second soft bus module includes: the method comprises the steps that communication connection is established between a plurality of subscription ends of a first soft bus module and a release end of at least one second soft bus module; and in the subscription and release mode, receiving second operation information sent by the release end of at least one second soft bus module through a plurality of subscription ends of the first soft bus module.
Optionally, acquiring the first operation information generated by the at least one processing module during the operation includes: acquiring first operation information with a preset data format, which is generated in the operation process of at least one processing module; the receiving the second operation information sent by the at least one second soft bus module includes: and receiving second operation information with a preset data format sent by at least one second soft bus module.
Optionally, after receiving the second operation information sent by the at least one second soft bus module, the method further includes: a target processing module for determining second operation information to be processed; wherein the at least one processing module connected with the first soft bus module comprises a target processing module; and processing the second operation information to obtain processing data, and sending the processing data to the target processing module.
Optionally, the monitoring method of the remote monitoring system is performed based on a ZMQ message processing queue library.
In order to achieve the above object, according to another aspect of the present invention, there is also provided a monitoring device of a remote monitoring system. The device comprises: the first starting unit is connected with the first node machine and is used for starting a first soft bus module connected with the first node machine before the first node machine operates, wherein the first node machine is deployed in the remote monitoring system; the second starting unit is connected with at least one processing module connected with the first soft bus module and is used for starting the at least one processing module after the first soft bus module is started, wherein the at least one processing module is configured in the first node machine; the acquisition unit is connected with at least one processing module connected with the first soft bus module and used for acquiring first operation information generated in the operation process of the at least one processing module; the processing unit is connected with the at least one second soft bus module, and is used for transmitting first operation information to the at least one second soft bus module by the first soft bus module and/or is connected with the at least one second soft bus module, and is used for receiving second operation information transmitted by the at least one second soft bus module by the first soft bus module, wherein the second operation information is information generated in the operation process of the at least one processing module connected with each second soft bus module, and the at least one processing module connected with each second soft bus module is configured in the second node machine.
Optionally, the processing unit includes: the first connection module is used for enabling the publishing end of the first soft bus module to establish communication connection with the publishing ends of the plurality of subscribing ends of the at least one second soft bus module in a subscribing and publishing mode; the publishing end of the first soft bus module is connected with the first connecting module and is used for sending first operation information to the subscribing ends of at least one second soft bus module.
Optionally, the processing unit comprises: the second connection module is used for enabling a plurality of subscription ends of the first soft bus module to be in communication connection with the publishing end of at least one second soft bus module in a subscription publishing mode; and the plurality of subscription ends of the first soft bus module are connected with the second connection module and are used for receiving second operation information sent by the release end of at least one second soft bus module.
In order to achieve the above object, according to another aspect of the present invention, there is also provided a monitoring device for a remote monitoring system. The apparatus further comprises: the first soft bus module is connected with the first node and is used for starting before the first node operates; the at least one processing module is connected with the first soft bus module and is configured in the first node machine and used for starting after the first soft bus module is started, and first operation information is generated in the operation process; the at least one second soft bus module is connected with the first soft bus module and is used for sending second operation information, wherein each second soft bus module is connected with the second node machine; and at least one processing module connected with each second soft bus module is configured in the second node machine and used for generating second operation information in the operation process, wherein the first soft bus module sends the first operation information to the at least one second soft bus module and/or the first soft bus module receives the second operation information.
In order to achieve the above object, according to another aspect of the present invention, there is provided a storage medium. The storage medium comprises a stored program, wherein the device in which the storage medium is controlled to execute the monitoring method of the remote monitoring system of the invention when the program runs.
To achieve the above object, according to another aspect of the present invention, there is provided a processor. The processor is used for running a program, wherein the program executes the monitoring method of the remote monitoring system.
In the embodiment of the invention, before the first node machine operates, a first soft bus module connected with the first node machine is started; after the first soft bus module is started, at least one processing module connected with the first soft bus module is started, wherein the at least one processing module is configured in the first node machine; acquiring first operation information generated in the operation process of at least one processing module; and the first soft bus module sends first operation information to at least one second soft bus module, and/or the first soft bus module receives second operation information sent by at least one second soft bus module, wherein the second operation information is information generated in the operation process of at least one processing module connected with each second soft bus module, and at least one processing module connected with each second soft bus module is configured in a second node machine connected with each second soft bus module. Because each processing module in the remote monitoring system is uniformly managed through the soft bus module, each processing module is configured in the node machine, and the running information is transmitted through the soft bus module, the system is convenient to expand and upgrade, the problem of high application limitation of the remote monitoring system is solved, and the effect of reducing the application limitation of the monitoring system is further achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention. In the drawings:
FIG. 1 is a flow chart of a monitoring method of a remote monitoring system according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a remote monitoring system according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a ZMQ subscription publish mode according to an embodiment of the invention;
FIG. 4 is a schematic diagram of communication between soft bus modules according to an embodiment of the invention;
FIG. 5 is a schematic diagram of a monitoring device of a remote monitoring system according to an embodiment of the present invention; and
fig. 6 is a schematic diagram of a remote monitoring system according to an embodiment of the present invention.
Detailed Description
It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other. The invention will be described in detail below with reference to the drawings in connection with embodiments.
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe the embodiments of the present application described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
The embodiment of the invention provides a flow chart of a monitoring method of a remote monitoring system.
Fig. 1 is a flowchart of a monitoring method of a remote monitoring system according to an embodiment of the present invention. As shown in fig. 1, the method comprises the steps of:
step S102, before the first node machine operates, a first soft bus module connected with the first node machine is started.
In the technical scheme provided in the step S102, before the first node machine operates, the first soft bus module connected with the first node machine is started.
The monitoring method of the remote monitoring system of this embodiment can be applied in the transport layer ZMQ (ZeroMQ, ZMQ for short). The transport layer ZMQ is simple and easy to use, and is a socket library (socket library) like a photo frame, so that socket programming is simpler and has higher performance.
The node machine of this embodiment may be a cryptographic machine for implementing a cryptographic communication function in which one or more functional units are interconnected with a transmission line in a secure communication network. The remote monitoring system includes a soft bus module, which may be a network bus. The soft bus module is a module which needs to be loaded firstly when each node machine in the remote monitoring system runs. Before a first node machine in the remote monitoring system operates, a first soft bus module connected with the first node machine is started, and the first node machine and the first soft bus module are deployed in the remote monitoring system.
Optionally, after the first soft bus module is loaded, the soft bus modules corresponding to other node machines actively communicate with each other, so that a distributed software application environment is established in the scope of the full monitoring system.
Step S104, after the first soft bus module is started, at least one processing module connected with the first soft bus module is started.
In the technical solution provided in step S104, after the first soft bus module is started, at least one processing module connected to the first soft bus module is started, where the at least one processing module is configured in the first node.
In this embodiment, at least one processing module is connected to the first soft bus module, and is managed by the first soft bus module in a unified manner. The at least one processing module may include, without limitation, a pre-module of a remote monitoring system, a data processing module, a real-time database module, a history database module, a human-machine interface module, a maintenance workstation, an advanced application module, and the like. The pre-module may be a pre-communication server, the data processing module may be a data processing server, the man-machine interface module may be a man-machine interface MMI, the man-machine interface MMI is an interface between a user and a terminal providing mobile communication service, and the at least one processing module may further include a maintenance working machine for maintaining operation of the remote monitoring system.
The at least one processing module is configured in the first node machine, and can be optionally configured in the first node machine, namely, the at least one processing module is plug and play on the first soft bus module, and the first soft bus module enables the processing modules to be mutually connected and synchronized, so that the expansion and upgrading of the remote monitoring system are facilitated.
Optionally, each processing module first registers with the first soft bus module when loaded, and the registration content may include a process name, a process code, a published and subscribed message, etc. of each processing module when processing, so as to store the registration content in the information table for reference.
Step S106, first operation information generated in the operation process of at least one processing module is obtained.
In the technical solution provided in step S106, first operation information generated in the operation process of at least one processing module is obtained.
The first soft bus module can be used for centrally managing and maintaining the first node machine, the application and the service message in the remote monitoring system in the operation process of the first node machine. The at least one processing module generates first operation information, such as operation state information, application information, service information, etc., during operation. After at least one processing module connected with the first soft bus module is started, first operation information generated by the at least one processing module in the operation process is acquired.
Step S108, the first soft bus module sends first operation information to at least one second soft bus module, and/or the first soft bus module receives second operation information sent by at least one second soft bus module, wherein the second operation information is information generated in the operation process of at least one processing module connected with each second soft bus module.
In the technical solution provided in step S108 of the present application, the first soft bus module sends first operation information to the at least one second soft bus module, and/or the first soft bus module receives second operation information sent by the at least one second soft bus module, where the second operation information is information generated in an operation process of at least one processing module connected to each second soft bus module, and at least one processing module connected to each second soft bus module is configured in a second node machine connected to each second soft bus module.
In addition to the first node and the first soft bus module, the remote monitoring system is also provided with at least one second soft bus module and at least one second node, wherein at least one processing module connected with each second soft bus module is configured in the second node, and the second node corresponds to the second soft bus modules one by one. After the first operation information generated in the operation process of at least one processing module is acquired, the first soft bus module sends the first operation information to at least one second soft bus module, namely, the first soft bus module multicasts the node information to other soft bus modules in the remote monitoring system to provide services for other second node machines, so that the at least one second node machine also acquires the first operation information through the second soft bus module of the second node machine, the operation information of each node machine in the remote monitoring system is consistent, and each node machine can know the composition and change of the remote monitoring system at any time.
Optionally, after starting at least one processing module connected to the first soft bus module, the method further comprises: and receiving second operation information sent by at least one second soft bus module, wherein the second operation information is information generated in the operation process of at least one processing module connected with each second soft bus module.
The first soft bus module is in communication with at least one second soft bus module, and a distributed software application environment is established in the all-remote monitoring system. The first soft bus module may send the first operation information to at least one second soft bus module, or may receive, through an established communication connection, second operation information sent by at least one second soft bus, where the second operation information is information generated in an operation process of at least one processing module connected to each second soft bus module, including operation status information, application information, service information, etc. generated in an operation process of at least one processing module, where no limitation is made, so that each soft bus module in the remote monitoring system may learn about a system configuration and an information change at any time.
The embodiment starts a first soft bus module connected with a first node machine before the first node machine operates, wherein the first node machine is deployed in a remote monitoring system; after the first soft bus module is started, at least one processing module connected with the first soft bus module is started; acquiring first operation information generated in the operation process of at least one processing module; and the first soft bus module sends first operation information to at least one second soft bus module, wherein second node machines corresponding to the at least one second soft bus module are deployed in the remote monitoring system, and/or the first soft bus module receives second operation information sent by the at least one second soft bus module, wherein the second operation information is information generated in the operation process of at least one processing module connected with each second soft bus module, and at least one processing module connected with each second soft bus module is configured in the second node machine connected with each second soft bus module. Because each processing module in the remote monitoring system is uniformly managed through the soft bus module, each processing module is configured in the node machine, and the running information is transmitted through the soft bus module, the system is convenient to expand and upgrade, the problem of high application limitation of the remote monitoring system is solved, and the effect of reducing the application limitation of the monitoring system is further achieved.
As an optional implementation manner, after the first soft bus module connected to the first node machine is started in step S102, the method further includes: the first soft bus module establishes communication connection with at least one second soft bus module; the sending, by the first soft bus module, the first operational information to the at least one second soft bus module includes: after the first soft bus module and the at least one second soft bus module are in communication connection, the first soft bus module sends first operation information to the at least one second soft bus module; and/or the receiving, by the first soft bus module, the second operation information sent by the at least one second soft bus module includes: after the first soft bus module establishes communication connection with the at least one second soft bus module, the first soft bus module receives second operation information sent by the at least one second soft bus module.
The soft bus module of each node machine in the remote monitoring system of this embodiment communicates with other soft bus modules after being loaded. After the first soft bus module connected with the first node machine is started, communication connection is actively established with at least one second soft bus module through the first soft bus module. In this embodiment, the first soft bus module and the second soft bus module may be spatially remote ends, such that a distributed software application environment is established within the full range of the remote monitoring system to enable the first soft bus module to communicate with at least one second soft bus module. After the first soft bus module and the at least one second soft bus module are in communication connection, the first soft bus module sends first operation information to the at least one second soft bus module, and the first soft bus module can also receive second operation information sent by the at least one second soft bus module, so that node information of each node machine in the remote monitoring system is consistent, and the effect that each node machine can know the composition and change of the remote monitoring system at any time is achieved.
As an optional implementation manner, step S104, starting at least one processing module connected to the first soft bus module includes: and loading at least one processing module, wherein each processing module sends registration information to the first soft bus module when loading, and the registration information is used for registering each processing module by the first soft bus module.
After the first soft bus module is started, at least one processing module connected to the first soft bus module may be started. When at least one processing module connected with the first soft bus module is started, loading the at least one processing module, registering each processing module with the first soft bus module at first when loading, and sending registration information to the first soft bus module, wherein the registration information comprises registered contents, such as process names, process codes, published and subscribed messages and the like used in registration, and the registration information can be saved for reference through a table, wherein the table can be a module registry.
As an alternative embodiment, after starting at least one processing module connected to the first soft bus module, the method further comprises: receiving an exit instruction, wherein the exit instruction is used for indicating the first node machine to exit operation in the remote monitoring system; and according to the exit instruction, exiting the operation of the first node from the remote monitoring system.
Each node machine in the remote monitoring system may be taken out of operation from the remote monitoring system. After at least one processing module connected to the first soft bus module is started, an exit instruction is received to instruct the first node machine to exit running in the remote monitoring system. After receiving the exit instruction, the first node is exited from the remote monitoring system according to the exit instruction, and at least one processing module in the first node is also exited from operation.
As an alternative embodiment, after exiting the operation of the first node from the remote monitoring system according to the exit instruction, the method further comprises: and sending an exit operation message to at least one second soft bus module by the first soft bus module, and unloading the first soft bus module from the remote monitoring system, wherein the exit operation message is used for indicating the first soft bus module to be unloaded from the remote monitoring system.
In a remote monitoring system, the soft bus module is the last module to be offloaded as each node machine exits operation. After the at least one processing module connected to the first soft bus module is started, the first soft bus module may be taken out of operation from the remote monitoring system. When the first soft bus module is withdrawn from the remote monitoring system, the first soft bus module sends a withdrawal operation message to at least one other second soft bus module in the remote monitoring system so as to indicate the first soft bus module to withdraw from the remote monitoring system to the at least one second soft bus module, and the first soft bus module is unloaded from the remote monitoring system, so that each soft bus module in the remote monitoring system can know the composition and information change of the system at any time.
As an alternative embodiment, the sending, by the first soft bus module, the first operation information to the at least one second soft bus module includes: the first operation information is sent to at least one second soft bus module by the first soft bus module at regular time.
And the soft bus module centrally manages all node machines, applications and service messages in the remote monitoring system in the running process of the node machines, multicasts the node information to the soft buses of all nodes at regular time, and ensures that node information bases in the soft buses of all nodes are consistent.
As an alternative embodiment, receiving, by the first soft bus module, the second operation information sent by the at least one second soft bus module includes: in a subscription and release mode, a plurality of subscription ends of the first soft bus module are in communication connection with release ends of at least one second soft bus module; and receiving second operation information sent by the publishing end of at least one second soft bus module through the plurality of subscription ends of the first soft bus module.
The soft bus module of this embodiment provides services by multicasting node information so that the subscription publish mode of ZMQ can be applied. ZMQ subscription publish mode includes a Publisher (PUB) and a plurality of Subscribers (SUB), each connected to a Publisher. ZMQ subscription publish mode may include a PUB-SUB socket, which is a combination of a source IP address, a destination IP address, and a source port number and a destination port number, for identifying servers and services requested by clients. Wherein, when the PUB-SUB sockets are combined, the client only receives the message, and does not send the message, and the server only sends the message, and does not receive the message.
The PUB-SUB socket defines how messages are published and subscribed to a content node, referred to as a Topic (Topic), which can be considered as a transmission intermediary for messages, from which the publisher publishes messages to the Topic, from which the subscriber subscribes to messages, which keeps the message subscriber and the message publisher independent of each other, ensuring the transmission of the messages without touching.
ZMQ the subscription publishing mode just meets the soft bus design requirements, and each node starts one PUB (server side) to send and starts a plurality of SUB (clients) to receive messages sent by other nodes in the network. And in the subscription and release mode, receiving second operation information sent by the release end of at least one second soft bus module through a plurality of subscription ends of the first soft bus module.
As an alternative embodiment, the sending, by the first soft bus module, the first operation information to the at least one second soft bus module includes: the method comprises the steps that communication connection is established between a publishing end of a first soft bus module and publishing ends of a plurality of subscribing ends of at least one second soft bus module; in a subscription and release mode, first operation information is sent to a plurality of subscription ends of at least one second soft bus module through a release end of the first soft bus module.
In the subscription and release mode, after first operation information generated in the operation process of at least one processing module is acquired, the first operation information is sent to a plurality of subscription ends of at least one second soft bus module through a release end of the first soft bus module, and the plurality of subscription ends of the at least one second soft bus module can receive the first operation information.
As an alternative embodiment, acquiring the first operation information generated by the at least one processing module during the operation includes: acquiring first operation information with a preset data format, which is generated in the operation process of at least one processing module; the receiving the second operation information sent by the at least one second soft bus module includes: and receiving second operation information with a preset data format sent by at least one second soft bus module.
The data of this embodiment is transmitted in the soft bus module in a unified data format including a message ID, source node process ID, length, and transmitted data. And acquiring first operation information with the data format generated in the operation process of at least one processing module, and receiving second operation information with the data format sent by at least one second soft bus module.
As an alternative embodiment, after receiving the second operation information sent by the at least one second soft bus module, the method further includes: a target processing module for determining second operation information to be processed; wherein the at least one processing module connected with the first soft bus module comprises a target processing module; and processing the second operation information to obtain processing data, and sending the processing data to the target processing module.
Messages in the remote monitoring system may be recorded through a message subscription table. After receiving the second operation information sent by the at least one second soft bus module, checking a message subscription table of the first node machine, if a process in the first node machine subscribes to the second operation information, namely, the second operation information to be processed by the process is determined, determining a processing module corresponding to the process in at least one processing module configured in the first node as a target processing module, unpacking the second operation information to obtain processing data, sending the processing data to the target processing module, and further processing the processing data after the target processing module receives the processing data.
As an alternative embodiment, the monitoring method of the remote monitoring system is performed based on the ZMQ message processing queue library.
The ZMQ of this embodiment is a message processing queue library, which is a network communication library of the bottom layer, can elastically stretch and retract among a plurality of threads, a kernel and a host box, and can make a layer of encapsulation on a Socket call interface (Socket API), so as to abstract network communication, process communication and thread communication in a monitoring method of a remote monitoring system into a unified API interface.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowcharts, in some cases the steps illustrated or described may be performed in an order other than that illustrated herein.
Example 2
The technical scheme of the present invention will be described with reference to preferred embodiments.
Fig. 2 is a schematic diagram of a remote monitoring system according to an embodiment of the present invention. As shown in fig. 2, the remote monitoring system includes: the first node machine 11, the first network bus 21, the first unified database access interface 31, the first database 41, and the first real-time database 51, wherein the first node machine 11 includes: a first front-end communications server 111, a first data processing server 112, a first man-machine interface MMI113, a first high-level application 114, and a first maintenance work machine 115; the remote monitoring system further comprises: the second node machine 12, the second network bus 22, the second unified database access interface 32, the second database 42, and the second real-time database 52, wherein the second node machine 12 comprises: a second pre-communication server 121, a second data processing server 122, a second man-machine interface MMI123, a second high-level application 124 and a second maintenance work machine 125.
The soft bus module of the remote monitoring system of this embodiment includes a first network bus 21, and the first network bus 21 is the module that needs to be loaded first when the first node 11 in the remote monitoring system is running. When the first node 11 in the remote monitoring system is operated, the first network bus 21 connected to the first node 11 is started. After the first network bus 21 is started, at least one processing module connected to the first network bus 21, i.e. at least one of the above-mentioned first front-end communication server 111, first data processing server 112, first man-machine interface MMI113, first advanced application 114, first maintenance work machine 115 is started. Wherein the first pre-communication server 111 corresponds to a pre-module of the remote monitoring system, the first data processing server 112 corresponds to a data processing module of the remote monitoring system, the first man-machine interface MMI113 corresponds to a man-machine interface module of the remote monitoring system, the first advanced application 14 corresponds to an advanced application module of the remote monitoring system, and the first maintenance working machine 115 corresponds to a maintenance working station of the remote monitoring system. The first front-end communications server 111, the first data processing server 112, the first man-machine interface MMI113, the first high-level application 114, the first maintenance work machine 115 are connected to a first network bus 21, which first network bus 21 may be connected to the first real-time database 51 for acquiring real-time data. The remote monitoring system further has a first unified database access interface 31, which is connected to the first network bus 21, and the unified database access interface 31 can also interact with a first database 41, and the first database 41 is used for storing data obtained by accessing the first network bus 21 by the first unified database access interface 31.
The above-mentioned starting up of the first front-end communication server 111, the first data processing server 112, the first man-machine interface MMI113, the first advanced application 114, and the first maintenance work 15 are automatically configured in the first node 11, and may be optionally configured in the first node 11, that is, starting up of at least one of the first front-end communication server 111, the first data processing server 112, the first man-machine interface MMI113, the first advanced application 114, and the first maintenance work 115 is plug and play on the first network bus 21, where the first network bus 21 enables the first front-end communication server 111, the first data processing server 112, the first man-machine interface MMI113, the first advanced application 114, and the first maintenance work 115 to be connected and synchronized with each other, thereby facilitating expansion and upgrade of the remote monitoring system.
Optionally, at least one of the first front-end communications server 111, the first data processing server 112, the first man-machine interface MMI113, the first advanced application 114, and the first maintenance working machine 115 is first registered with the first network bus 21 when loaded, and the registered content may include a process name, a process code, a message of publishing and subscribing when at least one of the first front-end communications server 111, the first data processing server 112, the first man-machine interface MMI113, the first advanced application 114, and the first maintenance working machine 115 is processed, and further, the registered content is stored in an information table for review.
The first network bus 21 may be used to centrally manage and maintain the first node 11, applications, and service messages in the remote monitoring system during operation of the first node 11. At least one of the first front-end communication server 111, the first data processing server 112, the first man-machine interface MMI113, the first high-level application 114, the first maintenance work machine 115 generates first operation information during operation, such as operation state information, application information, service information, etc. After at least one of the first front-end communication server 111, the first data processing server 112, the first man-machine interface MMI113, the first high-level application 114, the first maintenance work machine 115, which are connected to the first network bus 21, is started, first operation information generated during operation of at least one of the first front-end communication server 111, the first data processing server 112, the first man-machine interface MMI113, the first high-level application 114, the first maintenance work machine 115, which may be stored in the first database 41 through the first unified database access interface 31, and/or in the first real-time database 51, is acquired.
In the remote monitoring system of this embodiment, in addition to the first node machine 11, other second node machines 12 are disposed. After the first pre-communication server 111, the first data processing server 112, the first man-machine interface MMI113, the first advanced application 114, and the first maintenance working machine 115 acquire first operation information generated in the operation process, the first network bus 21 sends the first operation information to the second network buses 22 connected with other second node machines 12, that is, the first network bus 21 broadcasts the node information to other second network buses 22 in the remote monitoring system to provide services, so that the second network buses 22 connected with other second node machines 12 acquire the first operation information, and the information of each node machine in the remote monitoring system is ensured to be consistent, so that each node machine can know the composition and change of the remote monitoring system at any time.
The second node machine 12, the second network bus 22, the second unified database access interface 32, the second database 42, the second real-time database 52, the first pre-communication server 111, the first data processing server 112, the first man-machine interface MMI113, the first advanced application 114, and the first maintenance working machine 115 of this embodiment are the same as the corresponding first node machine 11, the first network bus 21, the first unified database access interface 31, the first database 41, and the first real-time database 51, the first pre-communication server 111, the first data processing server 112, the first man-machine interface MMI113, the first advanced application 114, and the first maintenance working machine 115, respectively, and will not be repeated here.
Optionally, the first network bus 21 includes a first module registry, a first publisher, and a first subscriber. Wherein the first module registry is used to store registration information for at least one module connected to the first network bus 21. The other second network buses 22 include a second module registry, a second publishing end and a second subscribing end, wherein the second module registry is used for storing registration information of at least one module connected with the other second network buses 22. The first publishing end of the first soft bus module is connected with the second subscribing ends of the other second network buses 22 and is used for sending messages to the second subscribing ends of the other second network buses 22. The first subscription end of the first soft bus module is connected with the second publishing ends of the other second network buses 22, and is used for receiving messages sent by the second publishing ends of the other second network buses 22.
Optionally, the first network bus 21 may also receive, through an established communication connection, second operation information sent by the other second network buses 22, where the second operation information is information generated during operation by at least one processing module connected to the other second network buses 22, and the at least one processing module may be at least one of the second front-end communication server 121, the second data processing server 122, the second man-machine interface MMI123, the second advanced application 124, and the second maintenance working machine 125 connected to the other second network buses 22, where the second operation information includes operation status information, application information, service information, and so on generated during operation by at least one processing module in the second front-end communication server 121, the second data processing server 122, the second man-machine interface MMI123, the second advanced application 124, and the second maintenance working machine 125, and is not limited herein, so that the node machine in the remote monitoring system can all learn about the configuration and information change of the system at any time.
The processing modules of the remote monitoring system of the embodiment are managed in a unified manner by the soft bus module of ZMQ, and the processing modules can be optionally configured in each node machine, namely plug and play on the soft bus module, so that the remote monitoring system can be conveniently expanded and upgraded.
It should be noted that, the first front-end communication server 111, the first data processing server 112, the first man-machine interface MMI113, the first advanced application 114, and the first maintenance machine 115 connected to the first network bus 21, the second front-end communication server 121, the second data processing server 122, the second man-machine interface MMI123, the second advanced application 124, and the second maintenance machine 125 connected to the second network bus 22 are only illustrative, and the processing module of the embodiment of the present invention is not limited to the above-mentioned first front-end communication server 111, the first data processing server 112, the first man-machine interface MMI113, the first advanced application 114, the first maintenance machine 115, the second front-end communication server 121, the second data processing server 122, the second man-machine interface 123, the second advanced application 124, and the second maintenance machine 125, and any processing module capable of implementing the method of implementing the soft bus communication of the embodiment of the present invention is within the scope of the present invention and is not repeated herein.
In this embodiment, the soft bus module is a module that needs to be loaded first when each node machine in the remote monitoring system starts up to run. After the soft bus module of each node machine is loaded, the soft bus module of each node machine actively communicates with the soft bus modules of other node machines, so that a distributed software application environment is established in the range of the full-remote monitoring system. After the soft bus module is started, other processing modules can be started, each processing module firstly registers with the soft bus module when being loaded, and the registration content can comprise a process name, a process code, a published and subscribed message and the like, wherein the registration information is saved for reference through an information table without limitation. And the soft bus module performs centralized management and maintenance on all node machines, applications and service messages in the remote monitoring system in the running process of the node machines, and multicasts the node information to the soft bus of each node machine at regular time so as to ensure that the node information in the soft bus corresponding to each node machine is consistent. When each node machine exits operation, sending information for indicating the node machine to exit operation to the soft bus modules of other node machines, and finally unloading the soft bus modules of the node machines. Because the operation information is transmitted through the soft bus module, the system is convenient to expand and upgrade, the problem of large application limitation of the remote monitoring system is solved, and the effect of reducing the application limitation of the monitoring system is further achieved.
Fig. 3 is a schematic diagram of a ZMQ subscription publish mode according to an embodiment of the invention. As shown in fig. 3, the publishing end is connected with a plurality of subscribing ends. The plurality of subscribers includes, without limitation, a subscriber a, a subscriber B, and a subscriber C. The PUB-SUB socket is a combination of a source IP address and a destination IP address, and a source port number and a destination port number, for identifying servers and services requested by the client. Asynchronous when the PUB-SUB sockets are combined, the client only receives the message and does not send the message; the server side only sends the message and does not receive the message. ZMQ is just in line with the soft bus design requirements. Each node machine starts a publishing end to send and starts a plurality of subscribing ends to receive messages sent by other node machines in the network.
For example, the plurality of subscription ends of the first soft bus module are in communication connection with the publishing end of the at least one second soft bus module; the second operation information sent by the publishing end of at least one second soft bus module is received through the plurality of subscription ends of the first soft bus module, for example, the second operation information generated in the operation process of at least one of a front-end communication server, a data processing server, a man-machine interface MMI, a high-level application, a maintenance working machine and the like connected with the second soft bus module is received through the plurality of subscription ends of the first soft bus module, the front-end communication server, the data processing server, the man-machine interface MMI, the high-level application, the maintenance working machine and the like connected with the second soft bus module is connected with a network bus, the network bus can be connected with a real-time database for acquiring real-time data, and the network bus is also connected with a unified database access interface for carrying out data interaction with the database.
Optionally, the publishing end of the first soft bus module is in communication connection with the publishing ends of the plurality of subscribing ends of the at least one second soft bus module; in the subscription and release mode, the release end of the first soft bus module is used for sending first operation information to the subscription ends of at least one second soft bus module, for example, at least one of a front communication server, a data processing server, a man-machine interface MMI, an advanced application, a maintenance working machine and the like which are connected with the first soft bus module is sent to the subscription ends of the at least one second soft bus module, and second operation information generated in the operation process is sent to the subscription ends of the at least one second soft bus module. The first soft bus module and the second soft bus module can exchange data and information through respective database access interfaces.
The data in the remote monitoring system adopts a unified data format when being transmitted among the soft bus modules. Table 1 is a table of data transmission formats in a remote monitoring system.
Table 1 a data transmission format table in a remote monitoring system
Acquiring first operation information with a preset data format, which is generated in the operation process of at least one processing module; and receiving second running information with a preset data format sent by at least one second soft bus module, wherein the preset data format can be the data format listed in a table, a message header (head) comprises messageId, srcNode, srcPid, len, a message ID is used for representing a message ID, a srcNode is used for representing a source node, a srcPid is used for representing a source node process ID, len is used for representing transmitted data, and the preset data format also comprises data and is used for representing the transmitted data.
After receiving the message, the soft bus module checks the message subscription table of the node machine, if the node machine has a process of subscribing the message, unpacking the received message, and after unpacking, transmitting the data to the corresponding processing module.
Fig. 4 is a schematic diagram of communication between soft bus modules according to an embodiment of the invention. As shown in fig. 4, the communication between the soft bus modules adopts ZMQ subscription and release mode, the first soft bus module includes a first module registry, a first sender (PUB), and a first Subscriber (SUB), where the first module registry is used to store registration information of modules a1, a2, …, and an module, the modules a1, a2, …, and an module are configured in a first node machine, for example, the first module registry is used to store registration information of a front-end communication server, a data processing server, a man-machine interface MMI, a high-level application, and a maintenance working machine connected to the first soft bus module, and the registration information of the front-end communication server, the data processing server, the man-machine interface MMI, the high-level application, and the maintenance working machine are configured in the first node machine; the second soft bus module includes a second module registry, a second publishing end (PUB), and a second subscribing end (SUB), where the second module registry is configured to store registration information of the modules b1, b2, …, and bn, and the modules b1, b2, …, and bn are configured in the second node, for example, the second soft bus module is configured to store registration information of a front-end communication server, a data processing server, a man-machine interface MMI, a high-level application, a maintenance working machine, and the like connected to the second soft bus module, and the front-end communication server, the data processing server, the man-machine interface MMI, the high-level application, and the maintenance working machine, and the like are configured in the second node. The registration information includes, but is not limited to, a process name, a process code, a publish and subscribe message, and the like.
The first soft bus module is connected with the modules a1, a2, … and an arranged in the first node machine, so that the modules a1, a2, … and an are connected and synchronized with each other. The first publishing end of the first soft bus module is connected with the second subscribing end of the second soft bus module and is used for sending a message to the second subscribing end of the second soft bus module, for example, the first publishing end sends second operation information generated in the operation process of a front-end communication server, a data processing server, a man-machine interface MMI, advanced application, a maintenance working machine and the like which are connected with the first soft bus module to the second subscribing end; the second soft bus module is connected with the modules b1, b2, … and bn configured in the second node machine, so that the modules b1, b2, … and bn are connected and synchronized with each other. The second publishing end of the second soft bus is connected with the first subscribing end of the first soft bus module and is used for sending a message to the first subscribing end of the first soft bus module, for example, the second publishing end sends first operation information generated in the operation process of a front-end communication server, a data processing server, a man-machine interface MMI, advanced application, a maintenance working machine and the like which are connected with the second soft bus module to the first subscribing end. In this embodiment, each node machine sends out an exit operation message to other node machines when exiting operation, and the soft bus module is finally unloaded, so that each node machine can know the composition and change of the remote monitoring system at any time.
It should be noted that, the modules a1, a2, …, and an connected to the first soft bus module and the modules b1, b2, …, and bn connected to the second soft bus module are only illustrative, and the processing module in the embodiment of the present invention is not limited to include only the modules a1, a2, …, and an, the modules b1, b2, …, and bn, and any processing module capable of implementing the soft bus communication method in the embodiment of the present invention is within the protection scope of the embodiment of the present invention and is not repeated herein.
It should be noted that the soft bus system of the remote monitoring system based on ZMQ of this embodiment is only a preferred implementation manner of the embodiment of the present invention, and the remote monitoring system not representing the embodiment of the present invention is limited to the foregoing implementation manner, and may also be used in other monitoring systems, so as to provide a solution for communication between other system modules, which is not illustrated herein.
The embodiment starts from the structural design of the remote control system, realizes the communication solution between the monitoring system modules based on ZMQ, and uniformly manages each processing module in the remote monitoring system by a communication mode between soft buses, wherein each processing module is plugged and used on the soft bus module, so that each processing module is connected and synchronized with each other. With the continuous deep application of the remote monitoring system, users can continuously put forward new requirements, and the functions of the remote monitoring system of the embodiment can be flexibly increased through the processing module, so that the remote monitoring system has the expandability of the functions; the monitoring method of the remote monitoring system of the embodiment can be suitable for the requirements of various users and has good scale scalability, so that the application limitation of the monitoring system is reduced.
Example 3
The embodiment of the invention also provides a monitoring device of the remote monitoring system. It should be noted that, the monitoring device of the remote monitoring system of this embodiment may be used to execute the monitoring method of the remote monitoring system of the embodiment of the present invention.
Fig. 5 is a schematic diagram of a monitoring device of a remote monitoring system according to an embodiment of the present invention. As shown in fig. 5, the apparatus includes: a first activation unit 10, a second activation unit 20, an acquisition unit 30 and a processing unit 40.
The first starting unit 10 is connected with the first node machine and is used for starting the first soft bus module connected with the first node machine before the first node machine operates.
The second starting unit 20 is connected to at least one processing module connected to the first soft bus module, and is configured to start at least one processing module connected to the first soft bus module after the first soft bus module is started, where the at least one processing module is configured in the first node.
The acquiring unit 30 is connected to at least one processing module connected to the first soft bus module, and is configured to acquire first operation information generated during operation of the at least one processing module.
The processing unit 40 is connected to at least one second soft bus module, and is configured to send, by the first soft bus module, first operation information to the at least one second soft bus module, and/or is connected to the at least one second soft bus module, and is configured to receive, by the first soft bus module, second operation information sent by the at least one second soft bus module, where the second operation information is information generated during operation of at least one processing module connected to each second soft bus module, and at least one processing module connected to each second soft bus module is configured in a second node machine connected to each second soft bus module.
The processing unit 40 includes: the system comprises a first connection module and an issuing end of a first soft bus module. The first connection module is used for enabling the publishing end of the first soft bus module to establish communication connection with the publishing ends of the plurality of subscribing ends of the at least one second soft bus module in a subscribing and publishing mode; the publishing end of the first soft bus module is connected with the first connecting module and is used for sending first operation information to the subscribing ends of at least one second soft bus module.
The processing unit 40 includes: the second connection module and the plurality of subscribers of the first soft bus module. The second connection module is used for enabling a plurality of subscription ends of the first soft bus module to be in communication connection with the publishing end of at least one second soft bus module in a subscription publishing mode; and the plurality of subscription ends of the first soft bus module are connected with the second connection module and are used for receiving second operation information sent by the release end of at least one second soft bus module.
The embodiment is connected with a first node machine through a first starting unit 10 and is used for starting a first soft bus module connected with the first node machine before the first node machine operates; the second starting unit 20 is connected with at least one processing module connected with the first soft bus module, and is used for starting the at least one processing module connected with the first soft bus module after starting the first soft bus module, wherein the at least one processing module is configured in the first node machine; the acquiring unit 30 is connected with at least one processing module connected with the first soft bus module, and is used for acquiring first operation information generated by the at least one processing module in the operation process; the processing unit 40 is connected to at least one second soft bus module, and is configured to send first operation information to the at least one second soft bus module by using the first soft bus module, and/or is connected to the at least one second soft bus module, and is configured to receive second operation information sent by the at least one second soft bus module by using the first soft bus module, where the second operation information is information generated in an operation process of at least one processing module connected to each second soft bus module, and at least one processing module connected to each second soft bus module is configured in a second node machine connected to each second soft bus module, so that a problem of large application limitation of the remote monitoring system is solved, and further an effect of reducing application limitation of the monitoring system is achieved.
Example 4
The embodiment of the invention also provides a remote monitoring system. It should be noted that the remote monitoring system includes the monitoring device of the remote monitoring system according to the embodiment of the present invention, and may be used to execute the monitoring method of the remote monitoring system according to the embodiment 1 of the present invention.
Fig. 6 is a schematic diagram of a remote monitoring system according to an embodiment of the present invention. As shown in fig. 6, the remote monitoring system includes: the first soft bus module 50, at least one processing module 60, at least one second soft bus module 70, at least one processing module 80 connected to each second soft bus module 70.
The first soft bus module 50 is connected to the first node machine and is used for starting before the first node machine operates.
The remote monitoring system of this embodiment may be applied in the transport layer ZMQ. The remote monitoring system comprises a soft bus module, wherein the soft bus module can be a network bus of the remote monitoring system, and is a module which needs to be loaded firstly when each node machine in the remote monitoring system operates. Before a first node machine in the remote monitoring system operates, a first soft bus module 50 connected with the first node machine is started, wherein the first soft bus module 50 and the first node machine are both deployed in the remote monitoring system of the embodiment.
Optionally, after the first soft bus module 50 is loaded, the soft bus modules corresponding to other node machines actively communicate with each other, thereby establishing a distributed software application environment within the scope of the full monitoring system.
At least one processing module 60 is connected to the first soft bus module 50 and is configured in the first node machine for starting after starting the first soft bus module 50, and generating first operation information during operation.
In this embodiment, at least one processing module 60 is connected to the first soft bus module 50, and is centrally managed by the first soft bus module 50. The at least one processing module 60 may include, without limitation, a pre-module of a remote monitoring system, a data processing module, a real-time database module, a history database module, a human interface module, a maintenance workstation, a high-level application module, and the like. The pre-module may be a pre-communication server of the remote monitoring system, the data processing module may be a data processing server of the remote monitoring system, the man-machine interface module may be a man-machine interface MMI of the remote monitoring system, the man-machine interface MMI is an interface between a user and a terminal providing mobile communication service, and the at least one processing module 60 may further include a maintenance working machine for maintaining operation of the remote monitoring system.
The at least one processing module 60 is configured in the first node machine, and can be optionally configured in the first node machine, and the at least one processing module 60 is plug and play on the first soft bus module 50, and the first soft bus module 50 enables the processing modules to be mutually connected and synchronized, so that the expansion and upgrading of the remote monitoring system of the embodiment are facilitated.
Alternatively, each processing module 60 first registers with the first soft bus module 50 at the time of loading, and the registration content may include a process name, a process code, a publish and subscribe message, etc. of each processing module 60 at the time of processing, so that the registration content is stored in an information table for review.
The first soft bus module 50 may be used to centrally manage and maintain the first node, applications, and service messages in the remote monitoring system during operation of the first node. At least one processing module 60 generates first operational information during operation, such as, for example, operational status information, application information, service information, etc. After the at least one processing module 60 connected to the first soft bus module 50 is started, first operating information generated by the at least one processing module 60 during operation may be acquired.
At least one second soft bus module 70 is connected to the first soft bus module 50 for transmitting second operation information, wherein each second soft bus module 70 is connected to a second node machine.
In addition to the first node machine and the first soft bus module 50, the remote monitoring system of this embodiment is further provided with at least one second soft bus module 70 and at least one second node machine, where the second node machines are in one-to-one correspondence with the second soft bus modules 70, each second soft bus module 70 is connected to a corresponding second node machine, and each second soft bus module 70 is used for starting before the second node machine connected to the second soft bus module is operated, and is used for sending second operation information generated in the operation process of at least one processing module connected to each second soft bus module 70.
At least one processing module 80 coupled to each second soft bus module 70 is configured in the second node machine for generating second operational information during operation, wherein the first operational information is transmitted by the first soft bus module 50 to the at least one second soft bus module 70 and/or the second operational information is received by the first soft bus module 50.
Optionally, at least one processing module 80 connected to each second soft bus module 70 is configured in the second node machine, and is configured to generate, during operation, second operation information sent by the at least one second soft bus module 70, where the second operation information includes, without limitation, operation status information, application information, service information, and the like generated during operation by the at least one processing module 80 connected to each second soft bus module 70.
After the first operation information generated in the operation process of the at least one processing module 60 is acquired, the first soft bus module 50 sends the first operation information to the at least one second soft bus module 70, that is, the first soft bus module 50 multicasts the node information to other soft bus modules in the remote monitoring system to provide services for other second node machines, and the at least one second soft bus module 70 can receive the first operation information, so that the at least one second node machine also acquires the first operation information through the second soft bus module 70 of the at least one second node machine, and the operation information of each node machine in the remote monitoring system is ensured to be consistent, so that each node machine can know the composition and change of the remote monitoring system at any time. The first soft bus module 50 may also receive the second operation information sent by the second soft bus module 70.
The first soft bus module 50 of this embodiment communicates with at least one second soft bus module 70, and a distributed software application environment is established in the all-remote monitoring system, where the first soft bus module 50 can send first operation information to at least one second soft bus module 70, and can also receive second operation information sent by at least one second soft bus module 70 through an established communication connection, so that each soft bus module in the remote monitoring system can know the composition of the system and the effect of information change at any time.
Optionally, in the remote monitoring system of this embodiment, the publishing end of the first soft bus module 50 is configured to establish a communication connection with the publishing ends of the plurality of subscribing ends of the at least one second soft bus module 70 in the subscription publishing mode, and send the first operation information to the plurality of subscribing ends of the at least one second soft bus module 70.
The soft bus module of this embodiment provides services by multicasting node information so that the subscription publish mode of ZMQ can be applied. ZMQ subscription publishing mode comprises a publishing end and a plurality of subscribing ends, wherein the publishing end is connected with each subscribing end.
In the subscription publishing mode, after the first operation information generated during the operation of the at least one processing module 60 is acquired, the first operation information is sent to the plurality of subscribers of the at least one second soft bus module 70 through the publishing end of the first soft bus module 50, and the plurality of subscribers of the at least one second soft bus module 70 may receive the first operation information.
Optionally, in the remote monitoring system of this embodiment, the plurality of subscription ends of the first soft bus module 50 are configured to establish a communication connection with the publishing end of the at least one second soft bus module 70 in the subscription publishing mode, and receive the second operation information sent by the publishing end of the at least one second soft bus module 70.
In the subscription publishing mode, the second operation information sent by the publishing end of the at least one second soft bus module 70 is received through the plurality of subscribing ends of the first soft bus module 50.
This embodiment is connected to the first node machine by being connected to the first soft bus module 50 for starting before the first node machine operates, connected to the first soft bus module 50 by at least one processing module 60, and configured in the first node machine for starting after the first soft bus module 50 is started, generating first operation information during operation, connected to the first soft bus module 50 by at least one second soft bus module 70 for transmitting second operation information, each second soft bus module 70 being connected to the second node machine; at least one processing module 80 connected to each second soft bus module 70 is arranged in the second node machine for generating second operation information during operation, the first operation information being sent by the first soft bus module 50 to the at least one second soft bus module 70 and/or the second operation information being received by the first soft bus module 50. Because each processing module in the remote monitoring system is uniformly managed through the soft bus module, each processing module is configured in the node machine, and the running information is transmitted through the soft bus module, the system is convenient to expand and upgrade, the problem of high application limitation of the remote monitoring system is solved, and the effect of reducing the application limitation of the monitoring system is further achieved.
Example 5
The embodiment of the invention provides a storage medium. The storage medium includes a stored program, where the device in which the storage medium is controlled to execute the monitoring method of the remote monitoring system of embodiment 1 of the present invention when the program runs.
Example 6
The embodiment of the invention provides a processor. The processor is configured to run a program, where the program executes the monitoring method of the remote monitoring system of embodiment 1 of the present invention when running.
It will be apparent to those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, or they may alternatively be implemented in program code executable by computing devices, such that they may be stored in a memory device for execution by the computing devices, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (17)

1. A monitoring method of a remote monitoring system, comprising:
before a first node machine operates, a first soft bus module connected with the first node machine is started;
after the first soft bus module is started, at least one processing module connected with the first soft bus module is started, wherein the at least one processing module is configured in the first node machine;
acquiring first operation information generated in the operation process of the at least one processing module;
the first soft bus module sends the first operation information to at least one second soft bus module, and/or the first soft bus module receives second operation information sent by the at least one second soft bus module, wherein the second operation information is information generated in the operation process of at least one processing module connected with each second soft bus module, and at least one processing module connected with each second soft bus module is configured in a second node machine connected with each second soft bus module;
wherein sending, by the first soft bus module, the first operation information to the at least one second soft bus module comprises: and multicasting the first operation information to at least one second soft bus module except the first soft bus module in a remote monitoring system by the first soft bus module, wherein the second node machine is used for acquiring the first operation information through at least one processing module connected with each second soft bus module.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
after starting the first soft bus module connected to the first node machine, the method further includes: the first soft bus module establishes communication connection with the at least one second soft bus module;
the sending, by the first soft bus module, the first operational information to the at least one second soft bus module includes: after the first soft bus module and the at least one second soft bus module establish the communication connection, the first soft bus module sends the first operation information to the at least one second soft bus module; and/or
The receiving, by the first soft bus module, the second operation information sent by the at least one second soft bus module includes: and after the first soft bus module and the at least one second soft bus module establish the communication connection, the first soft bus module receives the second operation information sent by the at least one second soft bus module.
3. The method of claim 1, wherein activating the at least one processing module coupled to the first soft bus module comprises:
Loading the at least one processing module, wherein each processing module sends registration information to the first soft bus module when loading, and the registration information is used for the first soft bus module to register each processing module.
4. The method of claim 1, wherein after activating the at least one processing module connected to the first soft bus module, the method further comprises:
receiving an exit instruction, wherein the exit instruction is used for indicating the first node machine to exit from a remote monitoring system;
and according to the exit instruction, the first node is exited from the remote monitoring system to operate.
5. The method of claim 4, wherein after exiting the operation of the first node machine from the remote monitoring system in accordance with the exit instruction, the method further comprises:
and sending an exit operation message to the at least one second soft bus module by the first soft bus module, and unloading the first soft bus module from the remote monitoring system, wherein the exit operation message is used for indicating that the first soft bus module is unloaded from the remote monitoring system.
6. The method of claim 1, wherein transmitting, by the first soft bus module to the at least one second soft bus module, the first operational information of the first node machine comprises:
and the first operation information of the first node machine is sent to the at least one second soft bus module at fixed time by the first soft bus module.
7. The method of any of claims 1-6, wherein transmitting, by the first soft bus module to the at least one second soft bus module, the first operational information of the first node machine comprises:
in a subscription and release mode, the release end of the first soft bus module is in communication connection with the release ends of a plurality of subscription ends of the at least one second soft bus module;
and the publishing end of the first soft bus module sends the first operation information to a plurality of subscribing ends of the at least one second soft bus module.
8. The method of any of claims 1-6, receiving, by the first soft bus module, the second operational information sent by the at least one second soft bus module comprising:
in a subscription and release mode, a plurality of subscription ends of the first soft bus module are in communication connection with release ends of the at least one second soft bus module;
And receiving the second operation information sent by the publishing end of the at least one second soft bus module by a plurality of subscribing ends of the first soft bus module.
9. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the obtaining the first operation information generated by the at least one processing module in the operation process comprises: acquiring the first operation information with a preset data format generated in the operation process of the at least one processing module;
the receiving the second operation information sent by the at least one second soft bus module includes: and receiving the second operation information with the preset data format sent by the at least one second soft bus module.
10. The method of claim 1, wherein after receiving the second operation information sent by the at least one second soft bus module, the method further comprises:
determining a target processing module for processing the second operation information, wherein the at least one processing module connected with the first soft bus module comprises the target processing module;
and processing the second operation information to obtain processing data, and sending the processing data to the target processing module.
11. The method according to any of claims 1 to 6, wherein the monitoring method of the remote monitoring system is performed based on a ZMQ message processing queue bank.
12. A monitoring device for a remote monitoring system, comprising:
the first starting unit is connected with the first node machine and is used for starting a first soft bus module connected with the first node machine before the first node machine operates;
the second starting unit is connected with at least one processing module connected with the first soft bus module and is used for starting the at least one processing module after the first soft bus module is started, wherein the at least one processing module is configured in the first node machine;
the acquisition unit is connected with the at least one processing module and is used for acquiring first operation information generated in the operation process of the at least one processing module;
the processing unit is connected with at least one second soft bus module, and is used for transmitting the first operation information to the at least one second soft bus module by the first soft bus module and/or is connected with the at least one second soft bus module, and is used for receiving second operation information transmitted by the at least one second soft bus module by the first soft bus module, wherein the second operation information is information generated in the operation process of at least one processing module connected with each second soft bus module, and the at least one processing module connected with each second soft bus module is configured in a second node machine connected with each second soft bus module;
Wherein the processing unit is configured to send, by the first soft bus module, the first operation information to the at least one second soft bus module by: and multicasting the first operation information to at least one second soft bus module except the first soft bus module in a remote monitoring system by the first soft bus module, wherein the second node machine is used for acquiring the first operation information through at least one processing module connected with each second soft bus module.
13. The apparatus of claim 12, the processing unit comprising:
the first connection module is used for enabling the publishing end of the first soft bus module to establish communication connection with the publishing ends of the plurality of subscribing ends of the at least one second soft bus module in a subscription publishing mode;
the publishing end of the first soft bus module is connected with the first connecting module and is used for sending the first operation information to the subscribing ends of the at least one second soft bus module.
14. The apparatus of claim 12, wherein the processing unit further comprises: the second connection module is used for enabling a plurality of subscription ends of the first soft bus module to be in communication connection with the publishing end of the at least one second soft bus module in a subscription publishing mode;
A plurality of subscription ends of the first soft bus module connected with the second connection module for receiving the at least one
And the second operation information sent by the issuing end of the second soft bus module.
15. A remote monitoring system, comprising:
the first soft bus module is connected with the first node machine and is used for starting before the first node machine operates;
the processing module is connected with the first soft bus module, is configured in the first node machine and is used for starting after the first soft bus module is started, and first operation information is generated in the operation process;
the second soft bus module is connected with the first soft bus module and used for sending second operation information, wherein each second soft bus module is connected with a second node machine;
and at least one processing module connected with each second soft bus module is configured in the second node machine and is used for generating the second operation information in the operation process, wherein the first soft bus module sends the first operation information to the at least one second soft bus module and/or the first soft bus module receives the second operation information.
16. A storage medium comprising a stored program, wherein the program, when run, controls a device in which the storage medium is located to perform the monitoring method of the remote monitoring system according to any one of claims 1 to 11.
17. A processor for running a program, wherein the program when run performs the monitoring method of the remote monitoring system according to any one of claims 1 to 11.
CN201810267085.8A 2018-03-28 2018-03-28 Remote monitoring system, monitoring method and device thereof, storage medium and processor Active CN110324367B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810267085.8A CN110324367B (en) 2018-03-28 2018-03-28 Remote monitoring system, monitoring method and device thereof, storage medium and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810267085.8A CN110324367B (en) 2018-03-28 2018-03-28 Remote monitoring system, monitoring method and device thereof, storage medium and processor

Publications (2)

Publication Number Publication Date
CN110324367A CN110324367A (en) 2019-10-11
CN110324367B true CN110324367B (en) 2023-12-29

Family

ID=68110322

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810267085.8A Active CN110324367B (en) 2018-03-28 2018-03-28 Remote monitoring system, monitoring method and device thereof, storage medium and processor

Country Status (1)

Country Link
CN (1) CN110324367B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464695A (en) * 2002-06-28 2003-12-31 清华同方股份有限公司 Digital home controlling network system
CN101018165A (en) * 2007-02-16 2007-08-15 北京航空航天大学 Distributed network plug-and-play measurement and control system
CN200966068Y (en) * 2006-09-04 2007-10-24 曙光信息产业(北京)有限公司 A computer cluster network monitor system node card
WO2011106923A1 (en) * 2010-03-01 2011-09-09 杭州海康威视数字技术股份有限公司 System and method for monitoring based on dual-bus
CN102307226A (en) * 2011-06-21 2012-01-04 浙江工商大学 Distributed monitoring system and configuration method thereof
EP2607286A1 (en) * 2011-12-19 2013-06-26 Inventio AG Test method of an elevator system and a monitoring device for performing the test method
CN204312134U (en) * 2014-11-24 2015-05-06 中国神华能源股份有限公司 A kind of mining supervising device
CN105335221A (en) * 2015-10-09 2016-02-17 中国电子科技集团公司第二十九研究所 Reconstructible distributed software bus
CN105607583A (en) * 2014-10-29 2016-05-25 中兴通讯股份有限公司 Monitoring unit, monitoring device and first monitoring unit in power system
CN106254196A (en) * 2016-08-31 2016-12-21 四川新环佳科技发展有限公司 CAN safety monitoring method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
PT2866387T (en) * 2013-10-25 2017-01-12 Amrona Ag Bus system and method for operating such a bus system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464695A (en) * 2002-06-28 2003-12-31 清华同方股份有限公司 Digital home controlling network system
CN200966068Y (en) * 2006-09-04 2007-10-24 曙光信息产业(北京)有限公司 A computer cluster network monitor system node card
CN101018165A (en) * 2007-02-16 2007-08-15 北京航空航天大学 Distributed network plug-and-play measurement and control system
WO2011106923A1 (en) * 2010-03-01 2011-09-09 杭州海康威视数字技术股份有限公司 System and method for monitoring based on dual-bus
CN102307226A (en) * 2011-06-21 2012-01-04 浙江工商大学 Distributed monitoring system and configuration method thereof
EP2607286A1 (en) * 2011-12-19 2013-06-26 Inventio AG Test method of an elevator system and a monitoring device for performing the test method
CN105607583A (en) * 2014-10-29 2016-05-25 中兴通讯股份有限公司 Monitoring unit, monitoring device and first monitoring unit in power system
CN204312134U (en) * 2014-11-24 2015-05-06 中国神华能源股份有限公司 A kind of mining supervising device
CN105335221A (en) * 2015-10-09 2016-02-17 中国电子科技集团公司第二十九研究所 Reconstructible distributed software bus
CN106254196A (en) * 2016-08-31 2016-12-21 四川新环佳科技发展有限公司 CAN safety monitoring method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Design of ECG monitoring system based on wireless sensor network;Bin Wang;《2011 Second International Conference on Mechanic Automation and Control Engineering》;全文 *
基于CAN总线的设备运行状态远程监控系统通讯的实现;邹松青;刘学平;谢清送;尹凤福;;组合机床与自动化加工技术(02);全文 *
实时远程电源和UPS监控网络节点机硬件设计与实现;张慧熙等;《计算机测量与控制》;20100125(第01期);全文 *

Also Published As

Publication number Publication date
CN110324367A (en) 2019-10-11

Similar Documents

Publication Publication Date Title
US9686330B2 (en) Topic-based messaging using consumer address and pool
CN107493191B (en) Cluster node and self-scheduling container cluster system
CN109995801B (en) Message transmission method and device
CN105338086A (en) Distributed message forwarding method
CN101383839A (en) Data distribution system based on data server and implementation method
US8606908B2 (en) Wake-up server
CN108712457A (en) Back-end server dynamic load method of adjustment and device based on Nginx reverse proxys
CN106814975A (en) A kind of memory management method and its system for polymorphic type storage device
CN113965628B (en) Message scheduling method, server and storage medium
EP3644182A1 (en) Container isolation method and device for netlink resource
CN116405547A (en) Message pushing method and device, processor, electronic equipment and storage medium
JP2006235831A (en) Condition management device, method, and program
CN108259605B (en) Data calling system and method based on multiple data centers
CN114153559A (en) Cloud platform log acquisition method, device, equipment and readable storage medium
CN110166487B (en) Local area network equipment information transmission method, main equipment, storage medium and intelligent equipment
CN110324367B (en) Remote monitoring system, monitoring method and device thereof, storage medium and processor
CN117041147A (en) Intelligent network card equipment, host equipment, method and system
CN115225482A (en) Method and device for configuring Pod network based on Kubernetes
CN114020453A (en) Service bus message processing method, service bus system, electronic device, and medium
CN114138895A (en) Data synchronization method and device for multiple data sources, computer equipment and storage medium
CN111541667A (en) Method, equipment and storage medium for intersystem message communication
CN113687962A (en) Request processing method, device, equipment and storage medium
CN113676502B (en) Application service access method, device and storage medium
KR101463462B1 (en) Inter-partition communication manager for multiple network devices
CN118555264A (en) Message notification method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20230616

Address after: 2 / F, software building, No.9, Gaoxin Zhongyi Road, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: SHENZHEN KUANG-CHI SPACE TECH. Co.,Ltd.

Address before: 523000 Room 502, 5th floor, building 1, innovation and Technology Park, Songshanhu high tech Industrial Development Zone, Dongguan City, Guangdong Province

Applicant before: DONGGUAN FRONTIER TECHNOLOGY INSTITUTE

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant