Job Recruitment Website - Job seeking and recruitment - Discussion on monitoring scheme of moving ring

Discussion on monitoring scheme of moving ring

In the interconnection standard, the data ID in SC is represented by a 32-bit integer, where the ID of SS is 5 bits, which can contain at most 3 1 city, and the ID of local station in SS is 10 bit, which can contain at most 1022. When establishing interconnection standards, computers are mainly 32-bit machines, so it is more convenient to define 32-bit in query speed and processing speed. However, with the gradual expansion of the scale of monitoring stations, the number of SS and the number of local stations in SS can no longer meet the requirements, especially the number of local stations in SS, some of which have reached more than 3,000, so it is necessary to expand the data ID. There are several ways to extend the ID:

Data ID in. SC extended to 64 bits;

Remove the 5-bit data ID of SS from the SC data ID as a whole, and the SS data ID is represented by a 32-bit integer alone;

The data ID of SC is divided into two 32-bit integers, SS and SS internal office stations use one 32-bit integer, and others use another 32-bit integer.

Either way, the problem of insufficient data ID will be solved, but each extension will bring more or less protocol changes, which is incompatible with the original protocol in compatibility. Because C interface standards are mostly question-and-answer protocols, that is, initiated by SC and responded by SS, the communication efficiency is not very high, even if the transmission bandwidth between SC and SS is very large, it will not occupy too much bandwidth. But there are many historical records (including historical alarms, historical data, etc.). ) in the dynamic monitoring system, the transmission of historical records will be delayed or unreliable in this transmission mechanism, which brings great trouble to the data statistics on SC. In order to solve this problem, we can consider standardizing the data table of historical database. The historical records can be directly saved locally by SS and directly accessed by SC, or saved in the historical database of SC by SS and directly accessed by SC.

This can make full use of the transmission bandwidth between SC and SS, at the same time, avoid reducing the real-time performance of real-time data due to the transmission of a large number of historical records, and effectively ensure the rapidity and accuracy of alarm data uploading, which is very important for dynamic loop monitoring system. In addition, it also solves the restriction that historical records cannot be queried on SC. Historical databases can standardize the following relational data tables:

1. Current active alarm data table

This data table mainly stores the alarms that have not been eliminated, that is, the alarms that have not been eliminated. After the alarm is eliminated, the historical data table of the eliminated alarm is automatically imported and saved as history.

2. The alarm history data table has been deleted.

The data table can be consistent with the structure of the current active alarm data table in structure, mainly to save the excluded alarms and save them as history for query. According to the application of the system, the alarms can be classified, queried, counted and analyzed by eliminating the historical data table of alarms.

3. Historical data point table

The data table mainly stores the historical data of remote measurement at a certain time point, and according to the situation of SS, stores the key time points of the corresponding remote measurement point, such as alarm time point, alarm elimination time point, time point with the greatest change, etc. According to this data table, a remote measurement curve can be formed, which can be used to analyze relevant data and find out the fault when a fault occurs.

4. Historical statistical data table of monitoring points

This data table mainly stores the statistical data of a monitoring point in a period of time (such as two hours), such as maximum value, minimum value, average value, etc. According to this data table, the data can be counted and monitored for data analysis in case of failure.

5. Historical Operation Record Form

The data table stores the operator's operation records of the equipment, which is convenient for tracing the source of the fault when there is a problem. The history table mentioned above mainly stores the basic data of the system, and SC can carry out various applications according to these data. When the basic data provided is not enough to complete the corresponding functions, we can consider expanding the history table accordingly to meet the requirements of practical application. The dynamic monitoring system has no department personnel and needs to be reformed. The identification of department personnel can be represented by 32 bits, which is similar to the identification of SC data ID. Adopt a globally unique identification number and add the SS data ID to the identification number, as shown below:

AAA。 hahahaha

Where: data ID of AAA SS and identification number of personnel in HHHH department. The control of image equipment is mainly the control of camera. There are two kinds of control, one is the switching of image equipment, and the other is the control of monitoring quantity of image equipment. When the message "User Write Data Action" is adopted, if the data ID number is the image device itself, it means switching the image device. This command can switch the specified video to the specified output. When the data ID number is the remote control point ID of the image device, it means controlling the image device, such as controlling the pan/tilt rotation of the camera. Through the above solutions, image switching and control can be well realized. At the same time, in image control, there is no need to add a new protocol, just adopt the original protocol format and give it new semantics. Conclusion Through the transformation of C interface standard, it is convenient to control intelligent access control and imaging equipment, and at the same time solve the problem of historical data query, realize the effective interconnection of monitoring systems of different manufacturers, and solve the practical application of users.