Method for serial port data acquisition polling, monitoring system and storage medium

A serial data and data acquisition technology, applied in the field of communication, can solve the problems of increasing the construction cost of the host computer hardware and wiring implementation costs, not allowing a large number of wiring construction, and poor real-time monitoring system, so as to shorten the polling cycle and improve the real-time monitoring. performance, reducing hardware costs

Pending Publication Date: 2019-08-16
依米康软件技术(深圳)有限责任公司
View PDF10 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this case, a data collection complete polling cycle T=(communication time T1+device data preparation time T2)*number of single device requests M*number of devices N, because the device data preparation time T2 is too long (often much longer than the communication time) , resulting in a very long polling cycle T and low overall data collection efficiency
[0004] like figure 1 As shown, N (for example, 10) UPS devices are mounted on an RS485 bus, each device needs 3 requests (running information, component information, alarm information) to recall all data, and it takes 200ms for the device to receive 1 request It takes 30ms to prepare data and communicate data in 30ms, so it takes 30ms*3*10+200ms*3*10=6900ms for a complete cycle of collecting all device data. This time leads to very poor real-time performance of the monitoring system, especially for alarms Very sensitive information, but subject to the objectivity of the performance of the monitored equipment, to improve this real-time performance, the industry's practice is to improve it by increasing hardware investment, such as increasing the number of buses and the number of serial ports on the host computer, and shunting the single bus This method can improve real-time performance, but it will lead to a substantial increase in construction costs (including host computer hardware and wiring implementation costs, etc.), and the objective environment of some high-density computer room sites does not allow a large number of wiring construction

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for serial port data acquisition polling, monitoring system and storage medium
  • Method for serial port data acquisition polling, monitoring system and storage medium
  • Method for serial port data acquisition polling, monitoring system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The embodiment of the present application provides a serial port data collection and polling method, monitoring system and storage medium, which are used to shorten the polling cycle and improve the overall data collection efficiency. Under the same hardware configuration, the collection time can be greatly shortened and the monitoring system can be improved. Real-time; give full play to the performance of the upper computer and reduce the hardware cost of the monitoring system. In order to make the above objects, features and advantages of the present invention more comprehensible, specific implementations of the present invention will be described in detail below in conjunction with the accompanying drawings. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, the present invention can be implemented in many other ways different from those described here, and those skille...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the application discloses a method for serial port data acquisition polling, a monitoring system and a storage medium. The method for serial port data acquisition polling comprises the following steps: an upper computer polls and delivers a data preparation command corresponding to all monitored devices; after receiving the corresponding data preparation command, each monitored device starts to prepare data; after waiting for a preset delay time, the upper computer receives response data returned by all the monitored devices; and the upper computer sequentially processes theresponse data of each monitored device to complete a data acquisition polling cycle. Therefore, the polling cycle is shortened; the overall data acquisition efficiency is improved; the acquisition time can be greatly shortened under the same hardware configuration; the real-time performance of monitoring is improved; the performance of the upper computer is fully used; and the hardware cost of themonitoring system is reduced.

Description

technical field [0001] The present application relates to the field of communication technology, and in particular to a method for collecting and polling serial port data, a monitoring system and a storage medium. Background technique [0002] In the monitoring system, real-time performance is the most critical indicator. The monitoring system requests data through polling to realize online real-time monitoring. The efficiency of serial port polling directly affects the real-time performance of monitoring. The RS485 bus is the most common and commonly used data interface method for the monitored equipment in the data center. Usually, the serial communication adopts a single-step mechanism of one request and one response. This mechanism connects one serial port of the collector to one device, and the device can use one request There is no problem under the application of the recalled data. However, in practical applications, the number of smart devices in the data center is ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G05B19/042
CPCG05B19/0428G05B2219/24024
Inventor 李明锋周伟邰天保何晋
Owner 依米康软件技术(深圳)有限责任公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products