CN103036736B - A kind of configuration equipment monitoring system based on data source and method - Google Patents
A kind of configuration equipment monitoring system based on data source and method Download PDFInfo
- Publication number
- CN103036736B CN103036736B CN201210516306.3A CN201210516306A CN103036736B CN 103036736 B CN103036736 B CN 103036736B CN 201210516306 A CN201210516306 A CN 201210516306A CN 103036736 B CN103036736 B CN 103036736B
- Authority
- CN
- China
- Prior art keywords
- data
- monitoring
- data source
- module
- information
- 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
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 175
- 238000000034 method Methods 0.000 title claims abstract description 32
- 238000004891 communication Methods 0.000 claims description 6
- 238000012546 transfer Methods 0.000 claims description 3
- 230000001960 triggered effect Effects 0.000 claims description 3
- 238000011161 development Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 230000007812 deficiency Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
一种基于数据源的组态化设备监控系统及方法,该系统采用层次化方式设计,由数据源模块、数据缓存模块、数据发布器、事件管理器、用户监控视图模块、系统模块管理器以及数据库访问适配器组成,并提供数据源扩展点,采用组态化方式动态更新、扩展、新增数据源。该方法的监控模型可适用于基于单计算机节点的设备监控服务,也可应用于基于分布式集群计算机节点的设备监控服务,该方法以数据源为单位,给数据源配置多个数据点,以数据点为监控单元,通过数据源向设备请求数据,并解析设备的响应数据为各数据点信息,从而可以在观察列表中实时监控各数据点。本发明具有良好的可扩展性,易于工程化实现,为数据源的扩展提供了一种灵活的扩展方式,能够方便设备监控人员对各种设备的统一监控。
A configurable equipment monitoring system and method based on data sources, the system is designed in a hierarchical manner, and consists of a data source module, a data cache module, a data publisher, an event manager, a user monitoring view module, a system module manager and It consists of database access adapters, and provides data source extension points, and adopts configuration methods to dynamically update, expand, and add new data sources. The monitoring model of this method can be applied to equipment monitoring services based on single computer nodes, and can also be applied to equipment monitoring services based on distributed cluster computer nodes. The data point is the monitoring unit, which requests data from the device through the data source, and parses the response data of the device into the information of each data point, so that each data point can be monitored in real time in the watch list. The invention has good expansibility, is easy to realize engineering, provides a flexible expansion mode for the expansion of data sources, and can facilitate the unified monitoring of various equipment by equipment monitoring personnel.
Description
技术领域technical field
本发明涉及设备监控领域,特别涉及一种基于数据源的组态化设备监控系统及方法。The invention relates to the field of equipment monitoring, in particular to a data source-based configuration equipment monitoring system and method.
背景技术Background technique
当前对于设备的监控,大多数是每种设备配备一个专用的监控系统。新设备的研制,监控系统也需随之研制,例如通信终端以及通信设备等,设备监控系统的研制需要根据监控的接口协议来开发,由于设备类型和接口协议的多样性,难以形成集成的监控平台。所以,研究基于数据源的组态化设备监控系统及方法很有必要。Most of the current equipment monitoring is that each equipment is equipped with a dedicated monitoring system. The development of new equipment requires the development of monitoring systems, such as communication terminals and communication equipment. The development of equipment monitoring systems needs to be developed according to the monitoring interface protocol. Due to the diversity of equipment types and interface protocols, it is difficult to form an integrated monitoring system. platform. Therefore, it is necessary to study the system and method of configurable equipment monitoring based on data source.
在监控设备时需要通过特定的接口协议与设备相连,有的使用串口进行连接,有的使用网络进行连接,有的使用传感器来进行状态收集,这就需要设备监控中能够扩展各种数据源,既不影响之前已有的数据源,又可以增加新的数据源。所以,设备监控中扩展数据源的重点在于设备监控系统能够基于数据源实现组态化设备监控。When monitoring a device, it needs to be connected to the device through a specific interface protocol. Some use a serial port for connection, some use a network for connection, and some use a sensor for state collection. This requires the expansion of various data sources in device monitoring. It does not affect the existing data sources before, but also can add new data sources. Therefore, the key point of expanding data sources in device monitoring is that the device monitoring system can realize configuration-based device monitoring based on data sources.
目前已公开发表的关于设备监控系统及方法主要分为两类,第一类是针对具体的一种接口协议来研究相应的设备监控系统系统及方法,但是这种方式只能满足特定的设备监控需求,不能动态扩展新的设备接口协议;第二类是针对具体设备研究相应的设备监控系统及方法,不能用于其他种类设备监控需求,因此设备监控系统无法通用。The equipment monitoring systems and methods that have been published are mainly divided into two categories. The first category is to study the corresponding equipment monitoring system systems and methods for a specific interface protocol, but this method can only meet specific equipment monitoring. The second category is to study the corresponding equipment monitoring system and method for specific equipment, which cannot be used for other types of equipment monitoring requirements, so the equipment monitoring system cannot be used universally.
发明内容Contents of the invention
本发明技术解决的问题是:克服现有技术的不足,提供一种基于数据源的组态化设备监控系统及方法,能够动态扩展新的设备接口协议,实现了设备监控系统的通用,具有更具动态扩展性与自适应性的优点。The problem solved by the technology of the present invention is: to overcome the deficiencies of the existing technology, to provide a configuration-based equipment monitoring system and method based on data sources, which can dynamically expand the new equipment interface protocol, realize the universality of the equipment monitoring system, and have more It has the advantages of dynamic scalability and adaptability.
本发明的技术解决方案:一种基于数据源的组态化设备监控系统,所述系统至少包括:Technical solution of the present invention: a configurable equipment monitoring system based on data sources, the system at least includes:
数据源模块:管理各种类型数据源,不同数据源类型对应于不同类型的设备接口协议;通过选择数据源类型配置数据源实例,数据源实例接收事件管理器发送的控制命令,并向设备发送所述控制命令;数据源实例接收监视信息,所述监视信息包括设备响应信息和设备状态信息,并将监视信息发送给数据缓存模块和事件处理器;数据源将自身模块描述信息发送给系统模块管理器,通过系统模块管理器进行注册,以进行数据源扩展;Data source module: manage various types of data sources, different data source types correspond to different types of device interface protocols; configure data source instances by selecting data source types, and the data source instances receive control commands sent by the event manager and send them to the device The control command; the data source instance receives monitoring information, the monitoring information includes device response information and device status information, and sends the monitoring information to the data cache module and event processor; the data source sends its own module description information to the system module Manager, registered with the system module manager for data source extensions;
数据缓存模块:接收数据源实例发送的监视信息,并根据每个数据源实例设定的历史信息记录将监视信息通过数据库访问适配器存入数据库;Data caching module: receive the monitoring information sent by the data source instance, and store the monitoring information into the database through the database access adapter according to the historical information records set by each data source instance;
数据发布器:通过监听器接收事件管理器发送的设备参数点的实时监视信息,将设备参数点的实时监视信息向外部系统推送;设置数据同步定时器,定时器定时触发后,访问数据库访问适配器,接收数据库访问适配器返回的监控历史数据,并推送到外部系统中;数据发布器将自身模块描述信息发送给系统模块管理器,通过系统模块管理器进行注册,以便进行数据发布器的扩展;Data publisher: Receive the real-time monitoring information of the device parameter points sent by the event manager through the listener, and push the real-time monitoring information of the device parameter points to the external system; set the data synchronization timer, and access the database access adapter after the timer is triggered regularly , receive the monitoring historical data returned by the database access adapter, and push it to the external system; the data publisher sends its own module description information to the system module manager, and registers through the system module manager, so as to expand the data publisher;
事件管理器:通过事件机制实现数据源模块与用户监控视图模块以及数据发布器之间的信息传递;首先,接收用户监控视图模块发送的控制命令,并将所述控制命令发送给数据源模块中配置的数据源实例,而后接收数据源实例返回的监视信息并触发消息通知机制,通知数据发布器和用户监控视图模块的监听器,将实时监视信息发送给数据发布器与用户监控视图模块;Event manager: realize the information transfer between the data source module, the user monitoring view module and the data publisher through the event mechanism; first, receive the control command sent by the user monitoring view module, and send the control command to the data source module Configure the data source instance, then receive the monitoring information returned by the data source instance and trigger the message notification mechanism, notify the listener of the data publisher and the user monitoring view module, and send the real-time monitoring information to the data publisher and the user monitoring view module;
用户监控视图模块:用于输入控制命令,通过事件管理器将控制命令发送给数据源模块中配置的数据源实例;接收并显示事件管理器监测到的设备参数点的实时监视信息;User monitoring view module: used to input control commands, and send the control commands to the data source instance configured in the data source module through the event manager; receive and display the real-time monitoring information of the device parameter points monitored by the event manager;
系统模块管理器:接收数据源的模块描述信息和数据发布器的模块描述信息,进行注册,纳入系统模块管理器中进行管理;System module manager: Receive the module description information of the data source and the module description information of the data publisher, register, and incorporate it into the system module manager for management;
数据库访问适配器:与外界数据库连接,提供数据的查询、更新、添加和删除,数据缓存模块和数据发布器均需通过数据库访问适配器与外界数据库系统进行通信。Database access adapter: connect to the external database, provide data query, update, add and delete, the data cache module and the data publisher need to communicate with the external database system through the database access adapter.
一种基于数据源的组态化设备监控方法,实现如下:A data source-based configuration device monitoring method is implemented as follows:
第一步:进行系统配置,配置步骤如下:Step 1: Perform system configuration, the configuration steps are as follows:
(1)配置监控结构:依据监控模型配置I/O服务器、集群以及集群组,可以基于单计算机节点来配置监控结构,也可以基于分布式集群计算机节点来配置监控结构;(1) Configure the monitoring structure: configure the I/O server, cluster and cluster group according to the monitoring model. The monitoring structure can be configured based on a single computer node, or based on a distributed cluster computer node;
(2)配置数据源实例:以数据源为单位,对应不同设备的接口协议,根据设备接口协议类型,选择数据源类型,在I/O服务器上配置数据源实例,并设置数据源实例向设备请求数据的请求时间间隔;(2) Configure the data source instance: take the data source as the unit, correspond to the interface protocol of different devices, select the data source type according to the device interface protocol type, configure the data source instance on the I/O server, and set the data source instance to the device The request interval for requesting data;
(3)配置数据点:以数据点为监控单元,根据设备监控参数点给数据源实例配置相应的数据点;(3) Configure data points: use data points as monitoring units, and configure corresponding data points for data source instances according to device monitoring parameter points;
(4)配置观察列表:创建观察列表,对数据点进行分组,添加到不同的观察列表中;(4) Configure the observation list: create an observation list, group the data points, and add them to different observation lists;
第二步:监控方法流程步骤如下:Step 2: The monitoring method flow steps are as follows:
(1)用户通过用户监控视图模块输入控制命令;(1) The user inputs a control command through the user monitoring view module;
(2)事件管理器接收到控制命令后产生事件,并将控制命令发送给数据源实例;(2) The event manager generates an event after receiving the control command, and sends the control command to the data source instance;
(3)数据源实例将接收到的控制命令进行编码,生成数据流,并通过通信系统将生成的数据流传输给设备;(3) The data source instance encodes the received control command, generates a data stream, and transmits the generated data stream to the device through the communication system;
(4)设备接收控制命令数据流,进行解析,生成监视信息数据流并发送给数据源实例;(4) The device receives the control command data stream, analyzes it, generates the monitoring information data stream and sends it to the data source instance;
(5)数据源实例接收监视信息数据流,并解析得到对应的数据点监视信息;(5) The data source instance receives the monitoring information data flow, and parses to obtain the corresponding data point monitoring information;
(6)此处有2个分支,数据源实例将监视信息存储到数据缓存模块,跳转到(7),数据源实例产生事件,将监视信息发往事件管理器,跳转到(8);(6) There are two branches here, the data source instance stores the monitoring information in the data cache module, jump to (7), the data source instance generates an event, sends the monitoring information to the event manager, and jumps to (8) ;
(7)数据缓存模块通过数据库适配器存储到数据库;(7) The data cache module is stored in the database through the database adapter;
(8)事件管理器触发消息通知机制,将监视信息发往用户监控视图模块以及数据发布器;(8) The event manager triggers the message notification mechanism, and sends the monitoring information to the user monitoring view module and the data publisher;
(9)用户监控视图模块接收并显示监视信息;(9) The user monitoring view module receives and displays monitoring information;
(10)数据发布器把接收到的监视信息推送到外部系统;(10) The data publisher pushes the received monitoring information to the external system;
所述方法的监控模型可适用于基于单计算机节点的设备监控服务,也可应用于基于分布式集群计算机节点的设备监控服务;一台计算机节点可配置一到多个I/O服务器;一个集群可以包含无限数量的I/O服务器,可以分组管理集群,一个集群组包含一到多个集群;I/O服务器与数据源通信,数据源与具体的设备通信。The monitoring model of the method can be applied to equipment monitoring services based on single computer nodes, and can also be applied to equipment monitoring services based on distributed cluster computer nodes; one computer node can be configured with one or more I/O servers; a cluster It can contain an unlimited number of I/O servers, and clusters can be managed in groups. A cluster group contains one or more clusters; I/O servers communicate with data sources, and data sources communicate with specific devices.
本发明与现有技术相比具有如下优点:现有设备监控系统系统及方法一般来说主要分为两种:针对特定的设备接口协议设计的设备监控系统系统及方法;针对具体设备设计的设备监控系统系统及方法。本发明的设备监控系统及方法,采用组态化方式支持动态更新、扩展、新增数据源,为设备监控提供三大类处理方式:标准协议设备可以通过本发明提供的标准协议数据源来监控;非标准协议设备可以根据设备协议定制数据源,动态添加到本发明中再进行监控;另外,本发明提供的虚拟数据源可以辅助设备协议接口定义。相比较现有设备监控系统系统及方法,本发明更具动态扩展性与自适应性。Compared with the prior art, the present invention has the following advantages: the existing equipment monitoring system and method are generally divided into two types: the equipment monitoring system system and method designed for specific equipment interface protocols; the equipment designed for specific equipment Monitoring system system and method. The equipment monitoring system and method of the present invention support dynamic update, expansion, and new data source in a configuration mode, and provide three types of processing methods for equipment monitoring: standard protocol equipment can be monitored through the standard protocol data source provided by the present invention The non-standard protocol equipment can customize the data source according to the equipment protocol, and dynamically add it to the present invention for monitoring; in addition, the virtual data source provided by the present invention can assist the definition of the equipment protocol interface. Compared with the existing equipment monitoring system and method, the present invention has more dynamic expansibility and adaptability.
附图说明Description of drawings
图1为本发明基于数据源的组态化设备监控系统框架架构图;Fig. 1 is the frame structure diagram of the configuration equipment monitoring system based on the data source of the present invention;
图2为本发明基于数据源的组态化设备监控方法的设备监控模型配置流程图;Fig. 2 is the equipment monitoring model configuration flowchart of the configuration equipment monitoring method based on the data source of the present invention;
图3为本发明基于数据源的组态化设备监控方法的设备监控流程图;Fig. 3 is the equipment monitoring flowchart of the configuration equipment monitoring method based on the data source of the present invention;
图4为本发明基于数据源的组态化设备监控方法的监控模型图;4 is a monitoring model diagram of the data source-based configuration device monitoring method of the present invention;
图5为本发明基于数据源的组态化设备监控系统的数据源类型示意图;5 is a schematic diagram of the data source type of the data source-based configuration equipment monitoring system of the present invention;
图6为本发明基于数据源的组态化设备监控方法的北斗协议数据源配置的数据点示意图;Fig. 6 is a schematic diagram of data points configured by the Beidou protocol data source of the data source-based configuration device monitoring method of the present invention;
图7为本发明基于数据源的组态化设备监控方法的观察列表分组示意图。FIG. 7 is a schematic diagram of grouping watch lists of the data source-based configurable device monitoring method of the present invention.
具体实施方式Detailed ways
如图1所示,本发明基于数据源的组态化设备监控系统,包括数据源模块、数据缓存模块、数据发布器、事件管理器、用户监控视图模块、系统模块管理器以及数据库访问适配器。As shown in Figure 1, the data source-based configuration device monitoring system of the present invention includes a data source module, a data cache module, a data publisher, an event manager, a user monitoring view module, a system module manager and a database access adapter.
1.数据源模块1. Data source module
管理各种类型数据源,不同数据源类型对应于不同类型的设备接口协议;通过选择数据源类型配置数据源实例,数据源实例接收事件管理器发送的控制命令,并向设备发送所述控制命令;数据源实例接收监视信息,所述监视信息包括设备响应信息和设备状态信息,并将监视信息发送给数据缓存模块和事件处理器;数据源将自身模块描述信息发送给系统模块管理器,通过系统模块管理器进行注册,以进行数据源扩展。Manage various types of data sources, and different data source types correspond to different types of device interface protocols; by selecting the data source type to configure the data source instance, the data source instance receives the control command sent by the event manager, and sends the control command to the device ; The data source instance receives monitoring information, the monitoring information includes device response information and device status information, and sends the monitoring information to the data cache module and event processor; the data source sends its own module description information to the system module manager, through Register with the system module manager for data source extensions.
数据源类型是根据各种设备提供的接口协议来设计的。如图5所示,本发明中提供了三种方式来处理不同设备接口协议:第一种是为标准协议设备设计了标准的SNMP、Modbus等协议数据源;第二种是为非标准协议设备定制的协议数据源,例如本发明中提供的北斗协议数据源即专为北斗指挥机设计的协议数据源;第三种是为设备接口协议提供一种辅助定义方式,即本发明中提供的虚拟数据源来满足设备接口协议的辅助定义,虚拟数据源不需要连接任何设备,添加虚拟数据源时,只需要输入一个名称和数据请求时间间隔即可。The data source type is designed according to the interface protocols provided by various devices. As shown in Figure 5, three ways are provided in the present invention to handle different equipment interface protocols: the first is to design standard protocol data sources such as SNMP and Modbus for standard protocol equipment; the second is to design standard protocol data sources for non-standard protocol equipment Customized protocol data source, such as the Beidou protocol data source provided in the present invention is a protocol data source specially designed for the Beidou commander; the third is to provide an auxiliary definition method for the device interface protocol, that is, the virtual data source provided in the present invention The data source meets the auxiliary definition of the device interface protocol. The virtual data source does not need to be connected to any device. When adding a virtual data source, you only need to enter a name and data request interval.
数据源的开发是根据本发明涉及的系统中提供的数据源创建模板和开发规范以及实际要监控的设备接口协议进行开发;采用组态化方式动态更新、扩展以及新增的数据源以数据源类型为标识动态关联到本发明设备监控系统中的数据源类型列表里。The development of the data source is to develop according to the data source creation template and the development specification provided in the system involved in the present invention and the actual device interface protocol to be monitored; adopt the configuration mode to dynamically update, expand and add the data source as the data source The type is an identifier dynamically associated with the data source type list in the equipment monitoring system of the present invention.
2.数据缓存2. Data cache
接收数据源实例发送的监视信息,并根据每个数据源实例设定的历史信息记录将监视信息通过数据库访问适配器存入数据库。Receive the monitoring information sent by the data source instance, and store the monitoring information into the database through the database access adapter according to the historical information records set by each data source instance.
3.数据发布器3. Data publisher
通过监听器接收事件管理器发送的设备参数点的实时监视信息,将设备参数点的实时监视信息向外部系统推送;设置数据同步定时器,定时器定时触发后,访问数据库访问适配器,接收数据库访问适配器返回的监控历史数据,并推送到外部系统中;数据发布器将自身模块描述信息发送给系统模块管理器,通过系统模块管理器进行注册,以便进行数据发布器的扩展。Receive the real-time monitoring information of the device parameter points sent by the event manager through the listener, and push the real-time monitoring information of the device parameter points to the external system; set the data synchronization timer, after the timer is triggered regularly, access the database access adapter and receive the database access The monitoring historical data returned by the adapter is pushed to the external system; the data publisher sends its own module description information to the system module manager, and registers through the system module manager to expand the data publisher.
4.事件管理器4. Event Manager
通过事件机制实现数据源模块与用户监控视图模块以及数据发布器之间的信息传递;首先,接收用户监控视图模块发送的控制命令,并将所述控制命令发送给数据源模块中配置的数据源实例,而后接收数据源实例返回的监视信息并触发消息通知机制,通知数据发布器和用户监控视图模块的监听器,将实时监视信息发送给数据发布器与用户监控视图模块。Realize the information transfer between the data source module, the user monitoring view module and the data publisher through the event mechanism; first, receive the control command sent by the user monitoring view module, and send the control command to the data source configured in the data source module instance, and then receive the monitoring information returned by the data source instance and trigger the message notification mechanism to notify the listener of the data publisher and the user monitoring view module, and send the real-time monitoring information to the data publisher and the user monitoring view module.
5.用户监控视图模块5. User monitoring view module
用于输入控制命令,通过事件管理器将控制命令发送给数据源模块中配置的数据源实例;接收并显示事件管理器监测到的设备参数点的实时监视信息。It is used to input control commands, and sends the control commands to the data source instance configured in the data source module through the event manager; receives and displays the real-time monitoring information of the device parameter points monitored by the event manager.
6.系统模块管理器6. System module manager
接收数据源的模块描述信息和数据发布器的模块描述信息,进行注册,纳入系统模块管理器中进行管理。The module description information of the data source and the module description information of the data publisher are received, registered, and included in the system module manager for management.
7.数据库访问适配器7. Database Access Adapter
与外界数据库连接,提供数据的查询、更新、添加和删除,数据缓存模块和数据发布器均需通过数据库访问适配器与外界数据库系统进行通信。Connect with the external database to provide data query, update, add and delete. Both the data cache module and the data publisher need to communicate with the external database system through the database access adapter.
如图2、图3所示,本发明一种基于数据源的组态化设备监控方法,包括下列步骤:As shown in Fig. 2 and Fig. 3, a kind of data source-based configuration equipment monitoring method of the present invention comprises the following steps:
第一步:进行系统配置,配置步骤如下:Step 1: Perform system configuration, the configuration steps are as follows:
(1)配置监控结构:依据监控模型配置I/O服务器、集群以及集群组,可以基于单计算机节点来配置监控结构,也可以基于分布式集群计算机节点来配置监控结构。(1) Configure the monitoring structure: configure the I/O server, cluster and cluster group according to the monitoring model. The monitoring structure can be configured based on a single computer node, or based on a distributed cluster computer node.
所述步骤(1)配置监控结构,如图4所示,根据监控模型进行配置,监控模型可适用于基于单计算机节点的设备监控服务,也可应用于基于分布式集群计算机节点的设备监控服务可以以单机方式配置。一台计算机节点上可以配置一到多个I/O服务器,一个集群可以包含无限数量的I/O服务器,可以配置集群组来管理集群,一个集群组包含一到多个集群;I/O服务器与数据源通信,数据源与具体的设备通信。The step (1) configuration monitoring structure, as shown in Figure 4, is configured according to the monitoring model, and the monitoring model can be applied to the device monitoring service based on a single computer node, and can also be applied to the device monitoring service based on a distributed cluster computer node Can be configured in stand-alone mode. One or more I/O servers can be configured on a computer node, and a cluster can contain an unlimited number of I/O servers, and a cluster group can be configured to manage the cluster, and a cluster group includes one or more clusters; I/O The O server communicates with the data source, and the data source communicates with specific devices.
(2)配置数据源实例:以数据源为单位,对应不同设备的接口协议,根据设备接口协议类型,选择数据源类型,在I/O服务器上配置数据源实例,并设置数据源实例向设备请求数据的请求时间间隔。(2) Configure the data source instance: take the data source as the unit, correspond to the interface protocol of different devices, select the data source type according to the device interface protocol type, configure the data source instance on the I/O server, and set the data source instance to the device The request interval for requesting data.
所述步骤(2)配置数据源实例,需要根据设备接口协议类型来选择数据源类型。如果要选择的数据源类型存在则直接配置数据源实例,否则,可以采用虚拟数据源来配置,也可以开发数据源,然后再配置数据源实例。数据源实例有两种状态:激活和禁用。只有配置为激活状态的数据源实例才会向设备发送控制命令或请求信息。可以动态激活或禁用配置的数据源实例。In the step (2) of configuring a data source instance, the data source type needs to be selected according to the device interface protocol type. If the type of data source to be selected exists, configure the data source instance directly, otherwise, you can use a virtual data source to configure, or develop a data source, and then configure the data source instance. A data source instance has two states: activated and deactivated. Only the data source instance configured as active will send control commands or request information to the device. A configured datasource instance can be dynamically activated or deactivated.
(3)配置数据点:以数据点为监控单元,根据设备监控参数点给数据源实例配置相应的数据点。(3) Configure data points: use data points as monitoring units, and configure corresponding data points for data source instances according to equipment monitoring parameter points.
所述步骤(3)配置数据点:给配置好的数据源实例配置监控数据点,可以配置一到多个,数据点即为要监控的设备的监控参数点,如图6所示,要监控一个北斗指挥机可以配置功率状况、反馈信息、定位信息、自检信息以及通信信息等多个数据点。The step (3) configures data points: configure monitoring data points for the configured data source instance, one or more can be configured, and the data points are the monitoring parameter points of the equipment to be monitored, as shown in Figure 6, to monitor A Beidou commander can be configured with multiple data points such as power status, feedback information, positioning information, self-inspection information, and communication information.
实际中,还可以将数据点更细化,比如,图6中的定位信息可以再细化为经度信息以及纬度信息等,这就需要根据实际情况来配置数据点。In practice, the data points can also be further refined. For example, the positioning information in Figure 6 can be further refined into longitude information and latitude information, etc., which requires configuring data points according to the actual situation.
配置的数据点也有两种状态:激活和禁用。只有配置为激活状态的数据点才有效。可以动态激活或禁用配置的数据点。Configured data points also have two states: active and disabled. Only data points configured as active are valid. Configured data points can be dynamically activated or deactivated.
(4)配置观察列表:创建观察列表,对数据点进行分组,添加到不同的观察列表中。(4) Configure the observation list: Create observation lists, group data points, and add them to different observation lists.
所述步骤(4)配置观察列表:设备监控以数据源为单位,数据点为单元获取设备信息,一个数据源实例有多个数据点,为了方便设备监控人员的监控管理,本发明通过配置观察列表对数据点进行分组,每组数据点配置到同一个观察列表中。可以创建多个观察列表,如图7所示。The step (4) configures the observation list: the equipment monitoring takes the data source as the unit, and the data point is the unit to obtain equipment information. One data source instance has multiple data points. In order to facilitate the monitoring and management of the equipment monitoring personnel, the present invention observes through configuration Lists group data points, and each group of data points is configured into the same watch list. Multiple watch lists can be created, as shown in Figure 7.
第二步:监控方法流程步骤如下:Step 2: The monitoring method flow steps are as follows:
(1)用户通过用户监控视图模块输入控制命令;(1) The user inputs a control command through the user monitoring view module;
(2)事件管理器接收到控制命令后产生事件,并将控制命令发送给数据源实例;(2) The event manager generates an event after receiving the control command, and sends the control command to the data source instance;
(3)数据源实例将接收到的控制命令进行编码,生成数据流,并通过通信系统将生成的数据流传输给设备;(3) The data source instance encodes the received control command, generates a data stream, and transmits the generated data stream to the device through the communication system;
(4)设备接收控制命令数据流,进行解析,生成监视信息数据流并发送给数据源实例;(4) The device receives the control command data stream, analyzes it, generates the monitoring information data stream and sends it to the data source instance;
(5)数据源实例接收监视信息数据流,并解析得到对应的数据点监视信息;(5) The data source instance receives the monitoring information data flow, and parses to obtain the corresponding data point monitoring information;
(6)此处有2个分支,数据源实例将监视信息存储到数据缓存模块,跳转到(7),数据源实例产生事件,将监视信息发往事件管理器,跳转到(8);(6) There are two branches here, the data source instance stores the monitoring information in the data cache module, jump to (7), the data source instance generates an event, sends the monitoring information to the event manager, and jumps to (8) ;
(7)数据缓存模块通过数据库适配器存储到数据库;(7) The data cache module is stored in the database through the database adapter;
(8)事件管理器触发消息通知机制,将监视信息发往用户监控视图模块以及数据发布器;(8) The event manager triggers the message notification mechanism, and sends the monitoring information to the user monitoring view module and the data publisher;
(9)用户监控视图模块接收并显示监视信息;(9) The user monitoring view module receives and displays monitoring information;
(10)数据发布器把接收到的监视信息推送到外部系统。(10) The data publisher pushes the received monitoring information to the external system.
实施例:Example:
根据图2以及图3,以虚拟数据源为例对本发明的技术方案进行详细说明:According to Figure 2 and Figure 3, the technical solution of the present invention is described in detail by taking the virtual data source as an example:
(1)配置监控结构,以单机为例,安装设备监控程序,启动计算机系统中I/O服务器。(1) Configure the monitoring structure. Taking a single machine as an example, install the device monitoring program and start the I/O server in the computer system.
(1)配置好监控结构后,首先配置一个数据源实例vd,类型选择虚拟数据源,设置该虚拟数据源的请求时间间隔为1分钟,激活该数据源实例。(1) After configuring the monitoring structure, first configure a data source instance vd, select the virtual data source as the type, set the request time interval of the virtual data source to 1 minute, and activate the data source instance.
(2)配置数据点vp-1和vp-2,vp-1的数据类型设置为二进制,改变类型设置为交替改变,开始值设置为TRUE;vp-2的数据类型设置为多状态,改变类型设置为减少,值设置为10~19,轮询方式,开始值设置为10。设置完毕后,激活vp-1和vp-2。(2) Configure data points vp-1 and vp-2, set the data type of vp-1 to binary, set the change type to alternate change, set the start value to TRUE; set the data type of vp-2 to multi-state, change the type Set to decrease, the value is set to 10~19, polling mode, the start value is set to 10. After setting, activate vp-1 and vp-2.
(3)配置观察列表vdList,将vp-1和vp-2添加到vdList中,vp-1的数据信息如表1所示,vp-2的数据信息如表2所示。从表中可以看出,各数据点的数据信息会以数据源请求时间间隔进行变化,数据点值的变化符合数据点配置信息设置要求。(3) Configure the observation list vdList, add vp-1 and vp-2 to vdList, the data information of vp-1 is shown in Table 1, and the data information of vp-2 is shown in Table 2. It can be seen from the table that the data information of each data point will change at the time interval of the data source request, and the change of the data point value meets the setting requirements of the data point configuration information.
表1vp-1数据点的数据信息Table 1 Data information of vp-1 data point
表2vp-2数据点的数据信息Table 2 Data information of vp-2 data points
本发明未详细阐述的部分属于本领域公知技术。The parts not described in detail in the present invention belong to the well-known technology in the art.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210516306.3A CN103036736B (en) | 2012-11-30 | 2012-11-30 | A kind of configuration equipment monitoring system based on data source and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210516306.3A CN103036736B (en) | 2012-11-30 | 2012-11-30 | A kind of configuration equipment monitoring system based on data source and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103036736A CN103036736A (en) | 2013-04-10 |
CN103036736B true CN103036736B (en) | 2015-09-23 |
Family
ID=48023246
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210516306.3A Active CN103036736B (en) | 2012-11-30 | 2012-11-30 | A kind of configuration equipment monitoring system based on data source and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103036736B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106844140A (en) * | 2016-12-21 | 2017-06-13 | 南京富士通南大软件技术有限公司 | A kind of monitoring method based on SCOM |
CN107317722A (en) * | 2017-05-27 | 2017-11-03 | 北京奇艺世纪科技有限公司 | A kind of expansible system and method for data source |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104156798B (en) * | 2014-07-08 | 2017-12-01 | 四川中电启明星信息技术有限公司 | Enterprise authority source system data real time propelling movement method |
US9870410B2 (en) * | 2014-09-15 | 2018-01-16 | Microsoft Technology Licensing, Llc | Constructed data stream for enhanced event processing |
CN104950814A (en) * | 2015-06-29 | 2015-09-30 | 贵州桂荣科技有限公司 | Automatic control system of external electronic bracelet assembling equipment |
CN105116841A (en) * | 2015-06-29 | 2015-12-02 | 贵州桂荣科技有限公司 | Additional electronic hand ring assembly device control system |
CN105095056B (en) * | 2015-08-14 | 2018-01-12 | 焦点科技股份有限公司 | A kind of method of data warehouse data monitoring |
CN106468880B (en) * | 2015-08-18 | 2019-03-15 | 上海哥瑞利软件有限公司 | Monitor switching control system |
CN107480225B (en) * | 2017-09-11 | 2021-06-22 | 爱普(福建)科技有限公司 | Method for realizing data sharing between control station and third-party database |
CN107480224B (en) * | 2017-09-11 | 2021-06-22 | 爱普(福建)科技有限公司 | Device for realizing data sharing between configuration data of control station and third-party database |
CN108804686A (en) * | 2018-06-14 | 2018-11-13 | 北京全联互控科技有限公司 | A kind of whole solution of internet of things data acquisition processing and analysis application |
CN109067618B (en) * | 2018-09-06 | 2021-01-19 | 北京奥技异科技发展有限公司 | Distributed real-time data IOT acquisition system and method |
CN110376926B (en) * | 2019-07-22 | 2021-02-09 | 武汉恒泰通技术有限公司 | Intelligent management system for intelligent integrated power protection switch |
CN112667472B (en) * | 2020-12-28 | 2022-04-08 | 武汉达梦数据库股份有限公司 | Data source connection state monitoring device and method |
CN114741346A (en) * | 2022-03-15 | 2022-07-12 | 宝信软件(武汉)有限公司 | A Configurable Method for Integrated Data Acquisition |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101667034A (en) * | 2009-09-21 | 2010-03-10 | 北京航空航天大学 | Scalable monitoring system supporting hybrid clusters |
US8103668B2 (en) * | 2007-12-07 | 2012-01-24 | Microsoft Corporation | Search control and authoring environment |
CN102722582A (en) * | 2012-06-07 | 2012-10-10 | 陈浩 | System and method for integrating data on basis of reverse clearing |
-
2012
- 2012-11-30 CN CN201210516306.3A patent/CN103036736B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8103668B2 (en) * | 2007-12-07 | 2012-01-24 | Microsoft Corporation | Search control and authoring environment |
CN101667034A (en) * | 2009-09-21 | 2010-03-10 | 北京航空航天大学 | Scalable monitoring system supporting hybrid clusters |
CN102722582A (en) * | 2012-06-07 | 2012-10-10 | 陈浩 | System and method for integrating data on basis of reverse clearing |
Non-Patent Citations (1)
Title |
---|
监控组态软件框架及其实时数据库的研究与开发;程刚;《中国优秀硕士学位论文全文数据库》;20101215;全文 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106844140A (en) * | 2016-12-21 | 2017-06-13 | 南京富士通南大软件技术有限公司 | A kind of monitoring method based on SCOM |
CN106844140B (en) * | 2016-12-21 | 2020-05-26 | 南京富士通南大软件技术有限公司 | Monitoring method based on SCOM |
CN107317722A (en) * | 2017-05-27 | 2017-11-03 | 北京奇艺世纪科技有限公司 | A kind of expansible system and method for data source |
CN107317722B (en) * | 2017-05-27 | 2020-01-31 | 北京奇艺世纪科技有限公司 | data source extensible system and method |
Also Published As
Publication number | Publication date |
---|---|
CN103036736A (en) | 2013-04-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103036736B (en) | A kind of configuration equipment monitoring system based on data source and method | |
CN113508403B (en) | System and method for interoperable communication of automation system components with multiple information sources | |
CN103024060B (en) | Open type cloud computing monitoring system for large scale cluster and method thereof | |
RU2695052C2 (en) | Constructing hierarchy of devices for remote terminal unit | |
CN105099761A (en) | Method and system for concentratedly managing configuration information of client | |
US20110022187A1 (en) | Process control system with integrated external data sources | |
CN106533804A (en) | Network operation support system | |
US20160012150A1 (en) | System and method for main distribution network graph/model/data integration based on remote access and information interaction | |
CN107341044A (en) | A kind of distributive data center unified monitoring framework and method | |
CN105577822A (en) | Centralized cache management system based on CDN nodes | |
EP3410337A1 (en) | Edge encryption with metadata | |
CN103118130A (en) | Cluster management method and cluster management system for distributed service | |
CN104750544B (en) | Applied to the process management system and process management method in distributed system | |
EP3323222B1 (en) | Control center system for searching and managing objects across data centers | |
CN106814975A (en) | A kind of memory management method and its system for polymorphic type storage device | |
CN113377626B (en) | Visual unified alarm method, device, equipment and medium based on service tree | |
WO2022134352A1 (en) | Server hardware state monitoring method and apparatus, electronic device, and medium | |
CN103414771A (en) | A monitoring method for long task operation between nodes in cloud computing environment | |
CN103166984B (en) | System that Network Video Surveillance equipment control is controlled and automatically updates, method | |
CN107357272A (en) | A kind of DCS mobile remote monitoring systems and method based on OPC UA | |
CN106528308B (en) | A kind of server sensor information collection method | |
KR20210044281A (en) | Method and apparatus for ensuring continuous device operation stability in cloud degraded mode | |
EP3373608B1 (en) | Method and apparatus for acquiring resources | |
CN113037771A (en) | Method and device for controlling device shadow, storage medium and electronic device | |
HK1253571A1 (en) | Automatic server cluster discovery |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |