CN117492403B - A large-scale instrument and equipment operation monitoring system and method - Google Patents

A large-scale instrument and equipment operation monitoring system and method Download PDF

Info

Publication number
CN117492403B
CN117492403B CN202311840715.3A CN202311840715A CN117492403B CN 117492403 B CN117492403 B CN 117492403B CN 202311840715 A CN202311840715 A CN 202311840715A CN 117492403 B CN117492403 B CN 117492403B
Authority
CN
China
Prior art keywords
instrument
modification
update identifier
equipment
update
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
CN202311840715.3A
Other languages
Chinese (zh)
Other versions
CN117492403A (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.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
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 Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN202311840715.3A priority Critical patent/CN117492403B/en
Publication of CN117492403A publication Critical patent/CN117492403A/en
Application granted granted Critical
Publication of CN117492403B publication Critical patent/CN117492403B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0428Safety, monitoring
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24024Safety, surveillance

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer And Data Communications (AREA)

Abstract

本申请公开了一种大型仪器设备运行监控系统及方法,系统包括服务器和多个上位机,服务器与每一个上位机通信连接,上位机与对应的一台仪器设备通信连接,获取仪器设备的通信日志文件的修改时间的更新标识以及修改时间信息,将更新标识、修改时间信息以及仪器设备的标识信息发送至所述服务器,更新标识用以指示通信日志文件的修改时间是否变化;服务器根据所述更新标识、修改时间信息以及仪器设备的标识信息,确定仪器设备的运行时间。本申请能够无感智能化采集仪器设备运行机时,无需增加额外的硬件设备成本,降低了科研成本,提高了大型仪器设备的利用率。

This application discloses a large-scale instrument and equipment operation monitoring system and method. The system includes a server and multiple host computers. The server is communicatively connected to each host computer. The host computer is communicatively connected to a corresponding instrument and equipment to obtain the communication of the instrument and equipment. The update identifier and modification time information of the modification time of the log file are sent to the server. The update identifier is used to indicate whether the modification time of the communication log file has changed; the server determines whether the modification time of the communication log file has changed; Update the identification, modification time information and identification information of the instrument and equipment to determine the running time of the instrument and equipment. This application enables non-sensory intelligent collection of instruments and equipment without adding additional hardware equipment costs, reducing scientific research costs and improving the utilization rate of large-scale instruments and equipment.

Description

Large instrument operation monitoring system and method
Technical Field
The application relates to the technical field of instrument and equipment management, in particular to a large instrument and equipment operation monitoring system and method.
Background
The use efficiency of large instruments and equipment in many universities and units is relatively low, so that the large instruments and equipment cannot effectively exert greater benefits.
In the related technical scheme for managing the large-scale instrument and equipment, a mode of manually recording or using a reservation registration of a large-scale instrument and equipment sharing management system is generally adopted by an instrument and equipment manager, the large-scale instrument and equipment sharing management system mainly adopts the technology of the internet of things, for example, the working current of the instrument and equipment is collected through a sensor and the like, and the hardware input cost is high.
Disclosure of Invention
The utility model aims at providing a large instrument and equipment operation monitoring system and method, which can realize noninductive intelligent acquisition of instrument and equipment operation machine without adding extra hardware equipment cost, reduce scientific research cost and improve utilization rate of large instrument and equipment.
Based on the above purpose, the application provides a large instrument operation monitoring system, which comprises a server and a plurality of upper computers, wherein the server is in communication connection with each upper computer,
the upper computer is in communication connection with a corresponding instrument device, acquires an update identifier and modification time information of the modification time of the communication log file of the instrument device, and sends the update identifier, the modification time information and the identifier information of the instrument device to the server, wherein the update identifier is used for indicating whether the modification time of the communication log file is changed or not;
and the server determines the running time of the instrument equipment according to the update identification, the modification time information and the identification information of the instrument equipment.
Further, the upper computer includes:
the function calling module is used for calling windows interface functions and acquiring the modification time information of the communication log file;
the judging module is used for monitoring whether the modification time of the communication log file changes within a first time threshold, if so, setting the update identifier as a first update identifier, recording the current latest modification time stamp corresponding to the first update identifier, and if not, setting the update identifier as a second update identifier, and recording the last modification time stamp corresponding to the second update identifier.
Further, the upper computer includes:
and the statistics module is used for judging the change condition of the modification time of the communication log file through the judgment module within the second time threshold value, and recording the first update identifier and the corresponding current latest modification time stamp or the second update identifier and the corresponding last modification time stamp which are acquired when the judgment is executed each time.
Further, the identification information of the instrument equipment is the MAC address of the upper computer, and the upper computer includes:
the generating module is used for taking the data recorded each time as one line of data according to the first update identifier and the corresponding current latest modification time stamp recorded each time by the statistics module or the second update identifier and the corresponding last modification time stamp so as to obtain multiple lines of data and further generate a CSV file;
and the sending module is used for sending the CSV file and the MAC address of the upper computer to the server.
Further, the server includes:
and the storage module is used for storing the mapping relation between the MAC address of each upper computer and the equipment identification information of the corresponding instrument equipment.
Further, the server includes:
the receiving module is used for acquiring the identification information of the corresponding instrument and equipment according to the MAC address of the upper computer;
the analysis module is used for reading the CSV file row by row, acquiring a corresponding current latest modification time stamp when the data line containing the first update identifier is read, acquiring a corresponding last modification time stamp when the data line containing the second update identifier is read, and performing difference operation based on the two acquired modification time stamps to obtain the running time of the instrument and the equipment.
Based on the above purpose, the present application provides a method for monitoring operation of a large-scale instrument, which is applied to an upper computer, and the method includes:
acquiring an update identification and modification time information of a modification time of a communication log file of the instrument and equipment in communication connection with the upper computer;
and sending the update identification, the modification time information and the identification information of the instrument equipment to a server, wherein the update identification is used for indicating whether the modification time of the communication log file is changed or not, so that the server determines the running time of the instrument equipment according to the update identification, the modification time information and the identification information of the instrument equipment.
Further, the method comprises the steps of:
calling a windows interface function to acquire the modification time information of the communication log file;
monitoring whether the modification time of the communication log file changes within a first time threshold, if so, setting an update identifier as a first update identifier, recording the current latest modification time stamp corresponding to the first update identifier, and if not, setting an update identifier as a second update identifier, and recording the last modification time stamp corresponding to the second update identifier.
Further, the method further comprises:
judging the change condition of the modification time of the communication log file in a second time threshold, and recording a first update identifier and a corresponding current latest modification time stamp or a second update identifier and a corresponding last modification time stamp which are acquired when the judgment is executed each time;
according to the first update identifier and the corresponding current latest modification time stamp of each record or the second update identifier and the corresponding last modification time stamp, taking the data of each record as one line of data to obtain multiple lines of data, and further generating a CSV file;
and sending the CSV file and the MAC address of the upper computer to a server, wherein the MAC address of the upper computer is used for uniquely identifying instrument equipment.
Based on the above objects, the present application provides a method for monitoring operation of a large-scale instrument, which is applied to a server, and the method includes:
receiving an update identifier, modification time information and instrument equipment identifier information sent by an upper computer, wherein the update identifier is used for indicating whether the modification time of a communication log file of the instrument equipment in communication connection with the upper computer is changed, and the modification time information is modification time information of the communication log file;
and determining the running time of the instrument equipment according to the update identification, the modification time information and the identification information of the instrument equipment.
According to the method and the device, extra hardware equipment cost is not required to be added, scientific research cost is reduced, instrument equipment with lower use rate can be found in time, the use rate of large instrument equipment is improved, and the sharing rate of the instrument equipment is pertinently improved.
Drawings
FIG. 1 is a system block diagram of a large instrument operation monitoring system provided in accordance with an embodiment of the present application;
fig. 2 is a system block diagram of a host computer according to an embodiment of the present application;
FIG. 3 is a system block diagram of a server provided according to an embodiment of the present application;
FIG. 4 is a first flow chart of a method for monitoring operation of a large instrument provided in accordance with an embodiment of the present application;
FIG. 5 is a second flowchart of a large instrument operation monitoring method provided in accordance with an embodiment of the present application;
FIG. 6 is a third flowchart of a large instrument operation monitoring method provided in accordance with an embodiment of the present application;
fig. 7 is a fourth flowchart of a method for monitoring operation of a large instrument device according to an embodiment of the present application.
Detailed Description
The present application will be described in detail with reference to the specific embodiments shown in the drawings, but these embodiments are not limited to the present application, and structural, method, or functional changes made by those skilled in the art according to these embodiments are included in the protection scope of the present application.
Referring to fig. 1, an embodiment of the present application provides a monitoring system for operation of large-scale instruments and devices, where the system includes a server 11 and a plurality of upper computers 12, and the server 11 is communicatively connected to each upper computer 12. Each upper computer 12 is communicatively connected to a corresponding one of the instrumentation devices 13. The upper computer 12 acquires the update identification and the modification time information of the modification time of the communication log file of the instrument device 13, and transmits the update identification, the modification time information and the identification information of the instrument device 13 to the server 11, wherein the update identification is used for indicating whether the modification time of the communication log file is changed. The server 11 determines the run time of the instrument device 13 based on the update identification, the modification time information and the identification information of the instrument device 13. The communication log file is stored on the host computer 12. The communication log file is used for recording data communication between the upper computer 12 and the instrument 13 and recording the operation condition of the instrument 13. After the instrument 13 starts the power-on operation, control operations are performed on the instrument 13, which are to be performed by a program installed in the host computer 12, and these operations are recorded in a communication log file of the host computer 12. When the instrument 13 starts the power-on operation, the modification time of the document, which is the communication log file stored in the upper computer 12, is changed. Therefore, the upper computer 12 records the updated modification time by monitoring whether the modification time of the communication log file of the instrument 13 changes or not, and uploads the recorded modification time to the server 11, and the server 11 can determine the running time of the instrument 13, so that the running time of each instrument can be managed, the effective management of the use of the instrument can be realized, the instrument with lower use rate can be discovered in time, the utilization rate and sharing rate of the instrument can be improved, and the scientific research cost can be reduced.
As an alternative implementation, as shown in fig. 2, the upper computer 12 includes a function calling module 121 and a judging module 122. The function call module 121 obtains modification time information of the communication log file by calling windows to provide an interface function Getfiletime () of the user. The determining module 122 monitors whether the modification time of the communication log file changes within the first time threshold, if so, sets the update identifier as a first update identifier, records the update identifier as a current latest modification time stamp, and if not, sets the update identifier as a second update identifier, and records the update identifier as a last modification time stamp. For example, the first time threshold is set to 30 minutes, the determining module 122 monitors whether the modification time of the communication log file changes within 30 minutes, if so, the change means that the modification time of the monitored communication log file is inconsistent with the modification time of the last monitored communication log file, which indicates that the communication log file is changed, which indicates that the instrument device is in a power-off to power-on state or is always in a running state or is in a power-on to power-off state, the first update identifier is set to 1,1 indicates that there is a change, and the current latest modification timestamp of the communication log file is recorded. If the modification time of the communication log file is unchanged within 30 minutes, which means that the communication log file is unchanged, the instrument is in a shutdown state, and setting the second update identifier to 0,0 means that the communication log file is unchanged. According to the technical scheme, the attribute of the modification time of the communication log file is monitored to determine the running time of the instrument and equipment, hardware equipment such as a sensor is not required to be installed, the monitoring of the running time of the instrument and equipment is realized through software, the influence on the instrument and equipment is avoided, and meanwhile, the scientific research cost is reduced.
As an alternative implementation, as shown in FIG. 2, the host computer 12 also includes a statistics module 123. The statistics module 123 determines, by the determining module 122, a change condition of the modification time of the communication log file within the second time threshold, and records the first update identifier and the corresponding current latest modification timestamp obtained when the determination is performed each time, or the second update identifier and the corresponding last modification timestamp. Illustratively, the second time threshold is set to 2 hours, the change of the modification time of the communication log file in 2 hours is counted, and the change of the modification time of the communication log file counted each time is recorded. According to the above embodiment, the determining module 122 monitors the change condition of the modification time of the communication log file every 30 minutes, if the change is set to 1, and records the latest modification time of the communication log file, if the change is not set to 0, and records the last modification time of the communication log file, so that the monitored change condition is counted every 2 hours, and the counted change condition is recorded and stored. Based on the technical scheme, the change condition of the counted communication log file modification time is stored locally on the upper computer 12, and monitoring data does not need to be frequently sent to the server 11, so that the operation and resource utilization of the upper computer 12 are not affected.
As an alternative implementation manner, the identification information of the instrument device 13 may be the number of the instrument device 13, or the identification information for uniquely identifying the instrument device 13, and the upper computer 12 stores the identification information of the instrument device 13. The identification information of the instrument 13 may also be represented by the MAC address of the host computer 12, because one instrument corresponds to one host computer, and the MAC address may uniquely identify the instrument.
As an alternative implementation, as shown in fig. 2, the upper computer 12 further includes a generating module 124 and a sending module 125. The generating module 124 uses the recorded data of each time as a line of data according to the first update identifier and the corresponding current latest modification timestamp recorded by the statistics module 123 or the second update identifier and the corresponding last modification timestamp, so as to obtain a plurality of lines of data, and further generate a CSV file. The generating module 124 generates a CSV file according to the modification time variation of the communication log file recorded by the statistics module 123, and records the modification time variation monitored each time in each line of data of the CSV file. Illustratively, assuming that the first row of data includes a first update identifier of 1 and the corresponding modification time is 8:00, the second row of data includes a first update identifier of 1 and the corresponding modification time is 8:30; the third row data includes a first update identifier of 1, a corresponding modification time of 9:00, the fourth row data includes a first update identifier of 1, a corresponding modification time of 9:30, and the fifth row data includes a second update identifier of 0, a corresponding modification time of 9:30. The transmitting module 125 transmits the CSV file and the MAC address of the host computer 12 to the server 11. By means of the technical scheme, the CSV file is generated according to the counted and monitored modification time information, and the file occupies small storage space and occupies very low resources.
As an alternative implementation, as shown in fig. 3, the server 11 includes a storage module 111. The storage module 111 stores a mapping relationship between the MAC address of each host computer 12 and the device identification information of the corresponding instrument device 13.
As an alternative implementation, as shown in fig. 3, the server 11 further includes a receiving module 112 and an analyzing module 113. The receiving module 112 receives the MAC address of the upper computer 12 sent by the upper computer 12, and according to the MAC address of the upper computer 12, the storage module 111 queries and obtains the identification information of the corresponding device 13, so as to determine from which device the received CSV file comes. The parsing module 113 parses the CSV file sent by the host computer 12, reads the CSV file row by row, obtains the corresponding current latest modification timestamp when the data line containing the first update identifier is read, obtains the corresponding last modification timestamp when the data line containing the second update identifier is read, and performs a difference operation based on the two obtained modification timestamps to obtain the running time of the instrument 13. According to the CSV file described in the above embodiment, when the first row of data is read, the first update identifier is 1, the modification time is 8:00, and the first update identifiers in the second row of data to the fourth row of data are all 1, it is indicated that the modification time of the communication log file of the instrument device 13 is always updated, which indicates that the instrument device 13 is always running, and when the second update identifier of the fifth row of data is read is 0, it is indicated that the modification time of the communication log file of the instrument device 13 is no longer updated, which indicates that the instrument device 13 is in the off state, thereby it can be determined that the running time of the instrument device 13 is 1.5 hours. According to the technical scheme, the running time of the instrument 13 is determined by detecting the change condition of the communication log file modification time of the instrument 13, the accuracy is high, the instrument with lower use rate can be found in time, and the use rate of the large instrument is improved. The server 11 analyzes the service time of all instruments and equipment according to the multi-dimension of years, months, days and the like, thereby providing important decision basis for scientifically purchasing the instruments and equipment and reducing scientific research cost.
Referring to fig. 4, an embodiment of the present application provides a method for monitoring operation of a large-scale apparatus, which is applied to an upper computer 12, and the method includes the steps of:
s41, acquiring an update identification and modification time information of the modification time of the communication log file of the instrument device 13 in communication connection with the upper computer 12;
s42, the update identifier, the modification time information, and the identification information of the instrument 13 are sent to the server 11, where the update identifier is used to indicate whether the modification time of the communication log file is changed, so that the server 11 determines the running time of the instrument 13 according to the update identifier, the modification time information, and the identification information of the instrument 13.
The update identification and the modification time information of the modification time of the communication log file of the instrument device 13 are acquired, and the update identification, the modification time information and the identification information of the instrument device 13 are sent to the server 11, wherein the update identification is used for indicating whether the modification time of the communication log file is changed or not. The server 11 determines the run time of the instrument device 13 based on the update identification, the modification time information and the identification information of the instrument device 13. The communication log file is stored on the host computer 12. The communication log file is used for recording data communication between the upper computer 12 and the instrument 13 and recording the operation condition of the instrument 13. By monitoring the change condition of the modification time of the communication log file of the instrument equipment 13, the updated modification time is recorded, the recorded modification time is uploaded to the server 11, and the server 11 can determine the running time of the instrument equipment 13, so that the running time of each instrument equipment can be managed, the effective management of the use of the instrument equipment can be realized, the utilization rate and the sharing rate of the instrument equipment are improved, and the scientific research cost is reduced.
As an alternative implementation, as shown in fig. 5, the method includes:
s51, calling a windows interface function to acquire the modification time information of the communication log file;
s52, monitoring whether the modification time of the communication log file changes within a first time threshold, if so, setting an update identifier as a first update identifier, recording the current latest modification time stamp corresponding to the first update identifier, and if not, setting an update identifier as a second update identifier, and recording the last modification time stamp corresponding to the second update identifier.
And obtaining the modification time information of the communication log file by calling a windows providing interface function getfiletime () of the user. Monitoring whether the modification time of the communication log file changes within a first time threshold, if so, setting an update identifier as a first update identifier, recording a current latest modification time stamp corresponding to the first update identifier, and if not, setting an update identifier as a second update identifier, and recording a last modification time stamp corresponding to the second update identifier. For example, the first time threshold is set to 30 minutes, whether the modification time of the communication log file changes is monitored within 30 minutes, if so, the first update identifier is set to 1, which indicates that the communication log file is changed, indicates that the instrument device is in a shutdown-to-startup state or is always in a running state or is in a startup-to-shutdown state, and records the current latest modification time stamp of the communication log file. If the communication log file is unchanged, setting the second update identifier to 0, and indicating that the communication log file is unchanged all the time, wherein the instrument and the equipment are in a shutdown state. The property of the modification time of the communication log file is monitored to determine the running time of the instrument and equipment, hardware equipment such as a sensor is not required to be installed, the instrument and equipment are not affected, and the scientific research cost is reduced.
As an alternative implementation, as shown in fig. 6, the method further includes:
s61, judging the change condition of the modification time of the communication log file in a second time threshold, and recording a first update identifier and a corresponding current latest modification time stamp or a second update identifier and a corresponding last modification time stamp which are acquired when the judgment is executed each time;
s62, according to the first update identifier and the corresponding current latest modification time stamp of each record or the second update identifier and the corresponding last modification time stamp, taking the record data of each time as one line of data to obtain multiple lines of data, and further generating a CSV file;
and S63, the CSV file and the MAC address of the upper computer 12 are sent to the server 11, and the MAC address of the upper computer 12 is used for uniquely identifying the instrument equipment 13.
And counting the change condition of the modification time of the communication log file in the second time threshold, and recording the counted change condition of the modification time of the communication log file each time. The first update identifier and the corresponding current latest modification time stamp recorded each time, or the second update identifier and the corresponding last modification time stamp are used as one line of data, so that multiple lines of data are obtained, and a CSV file is generated. The modified time variation of each monitoring is recorded in each line of the CSV file. Illustratively, assuming that the first row of data includes a first update identifier of 1 and the corresponding modification time is 8:00, the second row of data includes a first update identifier of 1 and the corresponding modification time is 8:30; the third row data includes a first update identifier of 1, a corresponding modification time of 9:00, the fourth row data includes a first update identifier of 1, a corresponding modification time of 9:30, and the fifth row data includes a second update identifier of 0, a corresponding modification time of 9:30. The CSV file and the MAC address of the host computer 12 are transmitted to the server 11. The server 11 determines the run time or the use time of the instrumentation 13 from the acquired CSV file. According to the technical scheme, the CSV file is generated by the counted and monitored modification time information, the file occupies small storage space and occupies very low resources, the data communication frequency between the upper computer 12 and the server 11 is reduced, and the resource occupation of the upper computer 12 is reduced.
Referring to fig. 7, an embodiment of the present application provides a method for monitoring operation of a large-scale instrument, which is applied to a server 11, and the method includes the steps of,
s71, receiving update identification, modification time information and identification information of the instrument equipment 13 sent by the upper computer 12, wherein the update identification is used for indicating whether the modification time of a communication log file of the instrument equipment 13 in communication connection with the upper computer 12 is changed, and the modification time information is modification time information of the communication log file;
s72, determining the running time of the instrument 13 according to the update identification, the modification time information and the identification information of the instrument 13.
Illustratively, the server 11 determines the identification information of the instrument 13 according to the MAC address of the host computer 12 to determine from which instrument the received CSV file is coming. The server 11 analyzes the CSV file sent by the upper computer 12, reads the CSV file row by row, reads the corresponding current latest modification timestamp when the data line containing the first update identifier is read, reads the corresponding last modification timestamp when the data line containing the second update identifier is read, and performs a difference operation based on the two read modification timestamps to obtain the running time of the instrument 13. The running time of the instrument and equipment is determined by detecting the change condition of the communication log file modification time of the instrument and equipment 13, so that the instrument and equipment with lower use rate can be found in time, and the use rate of the large instrument and equipment can be provided.
Although the preferred embodiments of the present application have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, without departing from the scope and spirit of the application as disclosed in the accompanying claims.

Claims (5)

1.一种大型仪器设备运行监控系统,其特征在于,所述系统包括服务器和多个上位机,所述服务器与每一个上位机通信连接,1. A large-scale instrument and equipment operation monitoring system, characterized in that the system includes a server and multiple host computers, and the server is communicatively connected to each host computer, 所述上位机,与对应的一台仪器设备通信连接,获取所述仪器设备的通信日志文件的修改时间的更新标识以及修改时间信息,将所述更新标识、修改时间信息以及所述仪器设备的标识信息发送至所述服务器,所述更新标识用以指示所述通信日志文件的修改时间是否变化;The host computer is connected through communication with a corresponding instrument and equipment, obtains the update identification and modification time information of the modification time of the communication log file of the instrument and equipment, and stores the update identification, modification time information and modification time information of the instrument and equipment. The identification information is sent to the server, and the update identification is used to indicate whether the modification time of the communication log file changes; 所述服务器,根据所述更新标识、修改时间信息以及所述仪器设备的标识信息,确定所述仪器设备的运行时间;The server determines the running time of the instrument equipment based on the update identification, modification time information, and identification information of the instrument equipment; 其中,所述上位机包括:Among them, the upper computer includes: 函数调用模块,用于调用windows接口函数,获取所述通信日志文件的修改时间信息;The function calling module is used to call the windows interface function to obtain the modification time information of the communication log file; 判断模块,用于监测所述通信日志文件的修改时间在第一时间阈值内是否变化,若变化,设置更新标识为第一更新标识符,并记录所述第一更新标识符对应为当前最新的修改时间戳,若没有变化,设置更新标识为第二更新标识符,并记录所述第二更新标识符对应为上一次的修改时间戳;A judgment module configured to monitor whether the modification time of the communication log file changes within the first time threshold. If it changes, set the update identifier as the first update identifier, and record that the first update identifier corresponds to the current latest Modify the timestamp. If there is no change, set the update identifier as the second update identifier, and record that the second update identifier corresponds to the last modification timestamp; 统计模块,用于在第二时间阈值内通过所述判断模块判断所述通信日志文件的修改时间的变化情况,记录各次执行判断时所获取的第一更新标识符和对应的当前最新修改时间戳,或者第二更新标识符和对应的上一次的修改时间戳;A statistics module, configured to determine changes in the modification time of the communication log file through the judgment module within the second time threshold, and record the first update identifier obtained during each judgment and the corresponding latest modification time. stamp, or the second update identifier and the corresponding last modification timestamp; 生成模块,用于根据所述统计模块每一次记录的第一更新标识符和对应的当前最新修改时间戳,或者第二更新标识符和对应的上一次的修改时间戳,将每一次的记录数据作为一行数据,以得到多行数据,进而生成一CSV文件;A generation module configured to generate each recorded data according to the first update identifier and the corresponding latest modification timestamp recorded each time by the statistics module, or the second update identifier and the corresponding last modification timestamp. As one row of data, to get multiple rows of data, and then generate a CSV file; 发送模块,用于将所述CSV文件和所述仪器设备的标识信息发送至所述服务器。A sending module, configured to send the CSV file and the identification information of the instrument to the server. 2.如权利要求1所述的大型仪器设备运行监控系统,其特征在于,所述服务器包括:2. The large-scale instrument and equipment operation monitoring system as claimed in claim 1, characterized in that the server includes: 存储模块,用于存储每一个上位机的MAC地址与对应的仪器设备的设备标识信息的映射关系。The storage module is used to store the mapping relationship between the MAC address of each host computer and the device identification information of the corresponding instrument equipment. 3.如权利要求2所述的大型仪器设备运行监控系统,其特征在于,所述服务器包括:3. The large-scale instrument and equipment operation monitoring system according to claim 2, characterized in that the server includes: 接收模块,用于根据所述上位机的MAC地址获取对应的仪器设备的标识信息;A receiving module, configured to obtain the identification information of the corresponding instrument and equipment according to the MAC address of the host computer; 解析模块,用于逐行读取所述CSV文件,当读取到包含第一更新标识符的数据行时,获取对应的当前最新修改时间戳,并当读取到包含第二更新标识符的数据行时,获取对应的上一次的修改时间戳,基于两次获取的修改时间戳进行差值运算,得到所述仪器设备的运行时间。The parsing module is used to read the CSV file line by line. When the data line containing the first update identifier is read, obtain the corresponding latest modification timestamp, and when the data line containing the second update identifier is read, When the data is rowed, the corresponding last modification timestamp is obtained, and a difference operation is performed based on the two obtained modification timestamps to obtain the running time of the instrument. 4.一种大型仪器设备运行监控方法,其特征在于,应用于上位机,所述方法包括:4. A method for monitoring the operation of large-scale instruments and equipment, which is characterized in that it is applied to a host computer. The method includes: 获取与所述上位机通信连接的仪器设备的通信日志文件的修改时间的更新标识以及修改时间信息;Obtain the update identification and modification time information of the modification time of the communication log file of the instrument equipment that is communicatively connected to the host computer; 将所述更新标识、修改时间信息以及所述仪器设备的标识信息发送至服务器,所述更新标识用以指示所述通信日志文件的修改时间是否变化,以使所述服务器根据所述更新标识、修改时间信息以及所述仪器设备的标识信息,确定所述仪器设备的运行时间,The update identification, the modification time information and the identification information of the instrument are sent to the server. The update identification is used to indicate whether the modification time of the communication log file has changed, so that the server can change according to the update identification, Modify the time information and the identification information of the instrument and equipment to determine the running time of the instrument and equipment, 其中,所述方法具体包括:Wherein, the method specifically includes: 调用windows接口函数,获取所述通信日志文件的修改时间信息;Call the windows interface function to obtain the modification time information of the communication log file; 监测所述通信日志文件的修改时间在第一时间阈值内是否变化,若变化,设置更新标识为第一更新标识符,并记录所述第一更新标识符对应为当前最新修改时间戳,若没有变化,设置更新标识为第二更新标识符,并记录所述第二更新标识符对应为上一次的修改时间戳;Monitor whether the modification time of the communication log file changes within the first time threshold. If it changes, set the update identifier as the first update identifier, and record that the first update identifier corresponds to the current latest modification timestamp. If not, Change, set the update identifier as the second update identifier, and record that the second update identifier corresponds to the last modification timestamp; 在第二时间阈值内判断所述通信日志文件的修改时间的变化情况,记录各次执行判断时所获取的第一更新标识符和对应的当前最新修改时间戳,或者第二更新标识符和对应的上一次的修改时间戳;Determine changes in the modification time of the communication log file within the second time threshold, and record the first update identifier and the corresponding current latest modification timestamp obtained during each execution of the judgment, or the second update identifier and the corresponding The last modification timestamp; 根据每一次记录的第一更新标识符和对应的当前最新修改时间戳,或者第二更新标识符和对应的上一次的修改时间戳,将每一次的记录数据作为一行数据,以得到多行数据,进而生成一CSV文件;According to the first update identifier of each record and the corresponding latest modification timestamp, or the second update identifier and the corresponding last modification timestamp, each record data is treated as one row of data to obtain multiple rows of data. , and then generate a CSV file; 将所述CSV文件和所述仪器设备的标识信息发送至所述服务器。Send the CSV file and the identification information of the instrument to the server. 5.一种大型仪器设备运行监控方法,其特征在于,应用于服务器,所述方法包括:5. A method for monitoring the operation of large-scale instruments and equipment, characterized in that it is applied to a server, and the method includes: 接收上位机发送的更新标识、修改时间信息以及所述仪器设备的标识信息,其中,所述更新标识用以指示与所述上位机通信连接的仪器设备的通信日志文件的修改时间是否变化,所述修改时间信息为所述通信日志文件的修改时间信息;Receive the update identification, modification time information and identification information of the instrument equipment sent by the host computer, wherein the update identification is used to indicate whether the modification time of the communication log file of the instrument equipment connected to the host computer has changed, so The modification time information is the modification time information of the communication log file; 根据所述更新标识、修改时间信息以及所述仪器设备的标识信息,确定所述仪器设备的运行时间;Determine the running time of the instrument and equipment according to the update identification, modification time information and identification information of the instrument and equipment; 其中,所述上位机具体执行如下操作:Among them, the host computer specifically performs the following operations: 调用windows接口函数,获取所述通信日志文件的修改时间信息;Call the windows interface function to obtain the modification time information of the communication log file; 监测所述通信日志文件的修改时间在第一时间阈值内是否变化,若变化,设置更新标识为第一更新标识符,并记录所述第一更新标识符对应为当前最新修改时间戳,若没有变化,设置更新标识为第二更新标识符,并记录所述第二更新标识符对应为上一次的修改时间戳;Monitor whether the modification time of the communication log file changes within the first time threshold. If it changes, set the update identifier as the first update identifier, and record that the first update identifier corresponds to the current latest modification timestamp. If not, Change, set the update identifier as the second update identifier, and record that the second update identifier corresponds to the last modification timestamp; 在第二时间阈值内判断所述通信日志文件的修改时间的变化情况,记录各次执行判断时所获取的第一更新标识符和对应的当前最新修改时间戳,或者第二更新标识符和对应的上一次的修改时间戳;Determine changes in the modification time of the communication log file within the second time threshold, and record the first update identifier and the corresponding current latest modification timestamp obtained during each execution of the judgment, or the second update identifier and the corresponding The last modification timestamp; 根据每一次记录的第一更新标识符和对应的当前最新修改时间戳,或者第二更新标识符和对应的上一次的修改时间戳,将每一次的记录数据作为一行数据,以得到多行数据,进而生成一CSV文件;According to the first update identifier of each record and the corresponding latest modification timestamp, or the second update identifier and the corresponding last modification timestamp, each record data is treated as one row of data to obtain multiple rows of data. , and then generate a CSV file; 将所述CSV文件和所述仪器设备的标识信息发送至所述服务器。Send the CSV file and the identification information of the instrument to the server.
CN202311840715.3A 2023-12-29 2023-12-29 A large-scale instrument and equipment operation monitoring system and method Active CN117492403B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311840715.3A CN117492403B (en) 2023-12-29 2023-12-29 A large-scale instrument and equipment operation monitoring system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311840715.3A CN117492403B (en) 2023-12-29 2023-12-29 A large-scale instrument and equipment operation monitoring system and method

Publications (2)

Publication Number Publication Date
CN117492403A CN117492403A (en) 2024-02-02
CN117492403B true CN117492403B (en) 2024-03-26

Family

ID=89680419

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311840715.3A Active CN117492403B (en) 2023-12-29 2023-12-29 A large-scale instrument and equipment operation monitoring system and method

Country Status (1)

Country Link
CN (1) CN117492403B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118175071B (en) * 2024-05-16 2024-07-19 浙江大学 Near-zero interference instrument equipment running state monitoring system and method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101335650A (en) * 2007-06-26 2008-12-31 上海岱嘉医学信息系统有限公司 Server system operation situation monitoring early-warning processing method
CN102143171A (en) * 2011-03-21 2011-08-03 河南思维自动化设备有限公司 Train operation monitoring device vehicle-mounted data replacement and installation system
CN107948234A (en) * 2016-10-13 2018-04-20 北京国双科技有限公司 The processing method and processing device of data
CN110661339A (en) * 2019-10-10 2020-01-07 四川洪辉电力科技有限公司 Method for monitoring running state of monitoring host of transformer substation
RU2726317C1 (en) * 2019-07-19 2020-07-14 Публичное акционерное общество "ОДК - Уфимское моторостроительное производственное объединение" (ПАО "ОДК-УМПО") Gas turbine installation remote monitoring system
CN115378129A (en) * 2022-08-10 2022-11-22 国网河南省电力公司郑州供电公司 System and method for monitoring and evaluating the operating status of electric power equipment
CN115457479A (en) * 2022-09-28 2022-12-09 江苏省特种设备安全监督检验研究院 Crane operation monitoring method and system based on digital twinning
CN117290180A (en) * 2023-09-26 2023-12-26 浙江鸿程计算机系统有限公司 Monitoring method, equipment and medium based on time sequence data analysis equipment operation state

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101335650A (en) * 2007-06-26 2008-12-31 上海岱嘉医学信息系统有限公司 Server system operation situation monitoring early-warning processing method
CN102143171A (en) * 2011-03-21 2011-08-03 河南思维自动化设备有限公司 Train operation monitoring device vehicle-mounted data replacement and installation system
CN107948234A (en) * 2016-10-13 2018-04-20 北京国双科技有限公司 The processing method and processing device of data
RU2726317C1 (en) * 2019-07-19 2020-07-14 Публичное акционерное общество "ОДК - Уфимское моторостроительное производственное объединение" (ПАО "ОДК-УМПО") Gas turbine installation remote monitoring system
CN110661339A (en) * 2019-10-10 2020-01-07 四川洪辉电力科技有限公司 Method for monitoring running state of monitoring host of transformer substation
CN115378129A (en) * 2022-08-10 2022-11-22 国网河南省电力公司郑州供电公司 System and method for monitoring and evaluating the operating status of electric power equipment
CN115457479A (en) * 2022-09-28 2022-12-09 江苏省特种设备安全监督检验研究院 Crane operation monitoring method and system based on digital twinning
CN117290180A (en) * 2023-09-26 2023-12-26 浙江鸿程计算机系统有限公司 Monitoring method, equipment and medium based on time sequence data analysis equipment operation state

Also Published As

Publication number Publication date
CN117492403A (en) 2024-02-02

Similar Documents

Publication Publication Date Title
CN102915269B (en) Method analyzed in the general journal of a kind of B/S software system
US20060173878A1 (en) Efficient processing of time series data
WO2018184420A1 (en) Software testing method, apparatus, electronic device, and medium
CN108509313B (en) A business monitoring method, platform and storage medium
CN102291256B (en) A kind of querying method of monitor data and equipment
CN111614483A (en) Link monitoring method, device, storage medium and computer equipment
CN109710439B (en) Fault processing method and device
US10862984B2 (en) Methods and apparatus to monitor usage of virtual computing environments
CN117492403B (en) A large-scale instrument and equipment operation monitoring system and method
CN108228322B (en) Distributed link tracking and analyzing method, server and global scheduler
JP2014102661A (en) Application determination program, fault detection device, and application determination method
CN100449326C (en) Method and system for recording monitoring logs
CN113377637A (en) Performance capacity diagnostic method and device
CN108664346A (en) The localization method of the node exception of distributed memory system, device and system
WO2024139810A1 (en) Network fault analysis method and system
CN114422564A (en) Audit tracing method and device for access data, computer equipment and storage medium
CN108228432A (en) A kind of distributed link tracking, analysis method and server, global scheduler
CN113392005A (en) Large file processing test method and system
CN112783711A (en) Method and storage medium for analyzing program memory on NodeJS
US8825843B2 (en) System and methods for monitoring a geographic information system
CN118113569A (en) Log analysis method, device, equipment and storage medium of edge equipment
CN108763291B (en) Data management method and device and electronic equipment
CN110532253A (en) A kind of business diagnosis method, system and cluster
CN111506422A (en) Event analysis method and system
CN110908886A (en) A data transmission method, apparatus, electronic device 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
GR01 Patent grant
GR01 Patent grant