A multi-scenario and multi-mode DDS monitoring system
By designing a multi-scene multi-mode DDS monitoring system, using the combination of gate module and computing module, the problem of interference of active listening mode on the network system in the prior art is solved and the problem that the passive listening mode cannot obtain global data resource information, realizing full-time and global monitoring, and reducing interference to the network system.
Patent Information
- Application Number
- CN202210966143.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-12
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2042-08-12
AI Technical Summary
The existing DDS monitoring system interferes with the network system in the active listening mode, but cannot accurately obtain global data resource information in the passive listening mode.
A multi-scene and multi-mode DDS monitoring system is designed, including a gate module and a computing module. The gate module is controlled to open the corresponding data link according to the scene selected by the user, and the monitoring data is published and analyzed in different modes, including transparent transmission monitoring mode, switch monitoring port monitoring mode and publish and subscribe monitoring mode.
It realizes monitoring of all time periods and global data resource information, while reducing interference to the network system, and can respond to different monitoring application needs and complete multi-scene and multi-mode monitoring tasks.
Smart Images

Figure CN115550213B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of DDS data monitoring, and in particular to a multi-scenario and multi-mode DDS monitoring system. Background Art
[0002] There are two main modes of existing DDS monitoring:
[0003] 1) Active listening mode: The DDS monitoring system is connected to the DDS communication network system, sends out built-in subscription topics, receives topic-related data from all network data resources, and then selects to subscribe to related topics to monitor DDS topic data. A typical example is RTI's DDS Admin.
[0004] 2) Passive listening mode: The DDS monitoring system is connected to the DDS communication network system, the monitoring card is set to promiscuous mode, and the data in the network is listened to and analyzed, typically using wireshark.
[0005] The defects of these two modes: The active listening mode can well discover all data resources in the network, but it is achieved by participating in the DDS communication network system communication, becoming a built-in participant, and publishing built-in topics, which has a certain interference with the existing network system. The passive listening mode does not participate in the DDS system communication and has no interference with the network system, but its passive characteristics may cause it to be unable to accurately know the global data resource information in a specific time period. Summary of the invention
[0006] The purpose of the present invention is to provide a multi-scenario and multi-mode DDS monitoring system that can respond to different monitoring application requirements and realize multi-scenario and multi-mode monitoring to solve the problem that the active listening mode interferes with the existing network system and the passive listening mode cannot accurately know the global data resource information.
[0007] The object of the present invention is achieved through the following technical solutions:
[0008] A multi-scenario multi-mode DDS monitoring system comprises a gating module and a computing module. After the computing module controls the gating module to open the corresponding data link with the DDS publish / subscribe node and the switch according to the scenario selected by the user, the corresponding mode is adopted to publish the monitoring data on the connected data link as needed and the received DDS data is monitored and analyzed to complete the monitoring of the DDS communication network system.
[0009] Preferably, when the user selects a selected link scenario, the selection module connects the data links with the designated DDS publish / subscribe node and the switch data port respectively according to the control of the computing module, and the computing module uses a transparent transmission monitoring mode to monitor and analyze the DDS data received from the designated DDS publish / subscribe node and the switch data port output.
[0010] Preferably, when the user selects the monitoring port switch scenario, the selection module connects the data link with the monitoring port of the switch according to the control of the computing module, and the computing module uses the switch monitoring port monitoring mode to monitor and analyze the DDS data filtered or mirrored through the switch monitoring port.
[0011] Preferably, when the user chooses to subscribe to the terminal monitoring scenario, the selection module connects the data link with the data port of the switch according to the control of the computing module. The computing module adopts the publish-subscribe monitoring mode to publish the built-in topic to the data port of the switch, and receives the topic-related data of all DDS publish / subscribe computers from the data port of the switch for publish-subscribe monitoring.
[0012] Preferably, the DDS monitoring system includes two Ethernet interfaces or FC optical fiber network interfaces.
[0013] Preferably, the selection module includes a frame receiving module, a frame filtering trigger module, a frame parsing module, a write cache module, a read cache module, a write memory data module, a read memory data module, and a frame sending module. After the frame receiving module receives the data frame from the connected data link, the data frame passes through the frame filtering trigger module and the frame parsing module in turn and then outputs the data to the write cache module and the write memory data module, and then sends it to the calculation module for monitoring and analysis; the monitoring data output by the calculation module passes through the read memory data module and then is output to the connected data link through the frame sending module.
[0014] Preferably, the computing module includes a DDS data real-time monitoring program, which receives the scenario selected by the user and the filtering and triggering conditions related to DDS monitoring, sends the link information that needs to be connected and the filtering and triggering conditions to the gating module, generates monitoring data as needed and sends it to the gating module, monitors the DDS data uploaded by the gating module in real time and online, and performs preliminary analysis.
[0015] Preferably, the calculation module further includes a DDS data storage and playback program, which stores and records the DDS data uploaded by the gating module and plays back the recorded data as a data source.
[0016] Preferably, the calculation module further comprises a DDS data offline analysis program, which comprehensively analyzes the stored DDS data in an offline manner.
[0017] The beneficial effects of the present invention are:
[0018] 1. The present invention realizes the monitoring of global data resource information in the whole time period and reduces the interference to the network system.
[0019] 2. The present invention can respond to different monitoring application requirements and realize multi-scenario and multi-mode monitoring.
[0020] 3. The present invention completes multiple monitoring tasks through an integrated system. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The drawings described herein are used to provide a further understanding of the embodiments of the present invention, constitute a part of this application, and do not constitute a limitation of the embodiments of the present invention. In the drawings:
[0022] Figure 1 It is a schematic diagram of system data flow of the present invention.
[0023] Figure 2 The figure is a flow chart of the method of the present invention.
[0024] Figure 3 It is a schematic diagram of the system structure of the present invention.
[0025] Figure 4 These are three typical network connection topology diagrams of the present invention. DETAILED DESCRIPTION
[0026] Hereinafter, the term "include" or "may include" used in various embodiments of the present invention indicates the presence of the invented function, operation or element, and does not limit the addition of one or more functions, operations or elements. In addition, as used in various embodiments of the present invention, the terms "include", "have" and their cognates are intended only to indicate specific features, numbers, steps, operations, elements, components or combinations of the foregoing items, and should not be understood as first excluding the presence of one or more other features, numbers, steps, operations, elements, components or combinations of the foregoing items or the possibility of adding one or more features, numbers, steps, operations, elements, components or combinations of the foregoing items.
[0027] In various embodiments of the present invention, the expression "or" or "at least one of A or / and B" includes any combination or all combinations of the words listed at the same time. For example, the expression "A or B" or "at least one of A or / and B" may include A, may include B, or may include both A and B.
[0028] The expressions (such as "first", "second", etc.) used in various embodiments of the present invention may modify the various constituent elements in various embodiments, but may not limit the corresponding constituent elements. For example, the above expressions do not limit the order and / or importance of the elements. The above expressions are only used for the purpose of distinguishing an element from other elements. For example, the first user device and the second user device indicate different user devices, although both are user devices. For example, without departing from the scope of various embodiments of the present invention, the first element may be referred to as the second element, and similarly, the second element may also be referred to as the first element.
[0029] It should be noted that if it is described that one component element is “connected” to another component element, the first component element may be directly connected to the second component element, and a third component element may be “connected” between the first component element and the second component element. Conversely, when one component element is “directly connected” to another component element, it can be understood that there is no third component element between the first component element and the second component element.
[0030] The terms used in various embodiments of the present invention are only used for the purpose of describing specific embodiments and are not intended to limit various embodiments of the present invention. As used herein, the singular form is intended to also include the plural form, unless the context clearly indicates otherwise. Unless otherwise limited, all terms used here (including technical terms and scientific terms) have the same meaning as the meaning generally understood by those of ordinary skill in the art to which the various embodiments of the present invention belong. The terms (such as the terms defined in the dictionary generally used) will be interpreted as having the same meaning as the contextual meaning in the relevant technical field and will not be interpreted as having an idealized meaning or an overly formal meaning, unless clearly defined in various embodiments of the present invention.
[0031] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with embodiments and drawings. The exemplary embodiments of the present invention and their description are only used to explain the present invention and are not intended to limit the present invention.
[0032] Embodiment 1:
[0033] See also Figure 3 As shown, a multi-scenario and multi-mode DDS monitoring system shown in this embodiment includes a gating module and a computing module. After the computing module controls the gating module to open the corresponding data link with the DDS publish / subscribe node and the switch according to the scene selected by the user, the corresponding mode is adopted to publish the monitoring data on the connected data link as needed and the received DDS data is monitored and analyzed to complete the monitoring of the DDS communication network system.
[0034] As an example, see Figure 2 As shown, the following scenarios are adopted in this embodiment:
[0035] When the user selects the selected link scenario, the gating module connects to the specified DDS publish / subscribe node and the switch data port data link according to the control of the computing module. The computing module uses the transparent transmission monitoring mode to monitor and analyze the DDS data received from the specified DDS publish / subscribe node and the switch data port. Figure 4 In the state 1 shown in the figure, one of the two Ethernet or FC optical network ports of the DDS monitoring system is connected to the switch data port, and the other port is connected to the DDS publish / subscribe node. The switch data port transmits data bidirectionally to the Ethernet or FC optical network port of the DDS monitoring system, and bidirectional data transmission is performed through the bypass chip and the DDS publish / subscribe node. The specific process is as follows:
[0036] A1. The control gating module of the computing module connects an Ethernet or FC optical network port of the DDS monitoring system to the switch data port, connects another Ethernet or FC optical network port of the DDS monitoring system to a certain DDS publishing / subscribing computer node input / output port, and receives DDS monitoring-related filtering and triggering conditions manually set by the user;
[0037] B1. The selection module receives the DDS data from the data port of the switch and the DDS publishing / subscribing computer from the connected data link. The DDS data after filtering and triggering conditions is monitored and analyzed by the calculation module.
[0038] When the user selects the monitoring port switch scenario, the gating module connects the data link with the switch monitoring port according to the control of the computing module. The computing module uses the switch monitoring port monitoring mode to monitor and analyze the DDS data filtered or mirrored by the switch monitoring port. Figure 4 In the state 2 shown in the figure, the monitoring port of the switch transmits data to the DDS monitoring system in one direction, wherein the data filtered or mirrored by the monitoring port of the switch is transmitted to the DDS monitoring system. The specific process is as follows
[0039] A2. The calculation module controls the gating module to connect an Ethernet or FC optical fiber network port of the DDS monitoring system to the monitoring port of the switch, and receives the DDS monitoring-related filtering and triggering conditions manually set by the user;
[0040] B2. The gating module receives the DDS data output from the monitoring port of the switch from the connected data link. The DDS data after filtering and trigger condition processing is monitored and analyzed by the calculation module.
[0041] When the user chooses to subscribe to the terminal monitoring scenario, the gating module connects the data link with the data port of the switch according to the control of the computing module. The computing module uses the publish-subscribe monitoring mode to publish the built-in topic to the data port of the switch, and receives the topic-related data of all DDS publish / subscribe computers from the data port of the switch for publish-subscribe monitoring. Figure 4 In the state three shown, a data port of the switch transmits data bidirectionally to the DDS monitoring system. The specific process is as follows.
[0042] A3, the calculation module controls the gating module to connect an Ethernet or FC optical fiber network port of the DDS monitoring system and a data port of the switch, and receives the DDS monitoring-related filtering and triggering conditions manually set by the user;
[0043] B3, the computing module publishes the built-in topic to the data port of the switch through the gating module;
[0044] C3. The selection module receives the subject-related data of all DDS publishing / subscribing computers output from the data port of the switch on the connected data link. The subject-related data after filtering and trigger condition processing is monitored and analyzed by the calculation module.
[0045] See also Figure 3 As shown, the DDS monitoring system shown in this embodiment includes two Ethernet interfaces or FC optical fiber network interfaces, which can enable the DDS monitoring system to access the DDS communication network system using Ethernet or FC optical fiber network. The gating module includes a frame receiving module, a frame filtering trigger module, a frame parsing module, a write cache module, a read cache module, a memory data write module, a memory data read module, and a frame sending module. Figure 1 As shown, after the frame receiving module receives the data frame from the connected data link, the data frame passes through the frame filtering trigger module and the frame parsing module in sequence and then outputs the data to the write cache module and the write memory data module, and then sends it to the calculation module for monitoring and analysis; the monitoring data output by the calculation module passes through the read memory data module and then output to the connected data link through the frame sending module.
[0046] The calculation module includes a DDS data real-time monitoring program, a DDS data storage and playback program, and a DDS data offline analysis program.
[0047] The DDS data real-time monitoring program receives the scene selected by the user and the filtering and triggering conditions related to DDS monitoring, sends the link information that needs to be connected and the filtering and triggering conditions to the gating module, generates monitoring data as needed and sends it to the gating module, monitors the DDS data uploaded by the gating module in real time and online, and performs preliminary analysis; the DDS data storage and playback program stores and records the DDS data uploaded by the gating module, and plays back the recorded data as the data source; the DDS data offline analysis program comprehensively analyzes the stored DDS data offline.
[0048] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A multi-scenario multi-mode DDS monitoring system, comprising a gating module and a computing module, characterized in that After the computing module controls the gating module to connect the data link connected to the DDS publish / subscribe node and the data link connected to the switch according to the scenario selected by the user, the corresponding mode is adopted to publish the monitoring data on the connected data link as needed and monitor and analyze the received DDS data to complete the monitoring of the DDS communication network system, including: When the user selects the selected link scenario, the gating module connects the data link connected to the specified DDS publish / subscribe node and the data link connected to the switch data port respectively according to the control of the calculation module. The calculation module uses the transparent transmission monitoring mode to monitor and analyze the received DDS data output by the specified DDS publish / subscribe node and the DDS data output by the switch data port; When the user selects the monitoring port switch scenario, the gating module connects the data link connected to the monitoring port of the switch according to the control of the computing module, and the computing module uses the monitoring mode of the switch monitoring port to monitor and analyze the DDS data filtered or mirrored through the monitoring port of the switch; When the user chooses to subscribe to the terminal monitoring scenario, the gating module connects the data link connected to the data port of the switch according to the control of the computing module. The computing module uses the publish-subscribe monitoring mode to publish the built-in topic to the data port of the switch, and receives the topic-related data of all DDS publish / subscribe nodes from the data port of the switch for publish-subscribe monitoring; Among them, the gating module includes a frame receiving module, a frame filtering trigger module, a frame parsing module, a write cache module, a read cache module, a write memory data module, a read memory data module and a frame sending module. After the frame receiving module receives the data frame from the connected data link, the data frame passes through the frame filtering trigger module and the frame parsing module in turn and then outputs the data to the write cache module and the write memory data module, and then sends it to the calculation module for monitoring and analysis; the monitoring data output by the calculation module passes through the read memory data module and then outputs it to the connected data link through the frame sending module; The calculation module contains a DDS data real-time monitoring program, which receives the scene selected by the user and the filtering and triggering conditions related to DDS monitoring, sends the link information that needs to be connected and the filtering and triggering conditions to the gating module, generates monitoring data as needed and sends it to the gating module, monitors the DDS data uploaded by the gating module, and performs preliminary analysis.
2. A multi-scenario multi-mode DDS monitoring system according to claim 1, characterized in that The calculation module also includes a DDS data storage and playback program, which stores and records the DDS data uploaded by the gating module and plays back the recorded data as a data source.
3. A multi-scenario multi-mode DDS monitoring system according to claim 2, characterized in that The calculation module also includes a DDS data offline analysis program, which analyzes the stored DDS data in an offline manner.
Citation Information
Patent Citations
Apparatus for monitoring data distribution service (DDS) and method thereof
US20140115153A1
Industrial control system monitoring method, device and system, and computer-readable medium
US20220046033A1