CN117492403B - Large instrument operation monitoring system and method - Google Patents
Large instrument operation monitoring system and method Download PDFInfo
- 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
- modification time
- instrument
- update identifier
- update
- log file
- 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 33
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000012986 modification Methods 0.000 claims abstract description 180
- 230000004048 modification Effects 0.000 claims abstract description 180
- 238000004891 communication Methods 0.000 claims abstract description 96
- 238000013507 mapping Methods 0.000 claims description 3
- 238000011160 research Methods 0.000 abstract description 8
- 230000001939 inductive effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 3
- 238000007792 addition Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0428—Safety, monitoring
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/24—Pc safety
- G05B2219/24024—Safety, surveillance
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Computer And Data Communications (AREA)
Abstract
The application discloses a large instrument operation monitoring system and method, wherein the system comprises a server and a plurality of upper computers, wherein the server is in communication connection with each upper computer, the upper computers are in communication connection with a corresponding instrument, update identifications and modification time information of the modification time of a communication log file of the instrument are obtained, the update identifications, the modification time information and the identification information of the instrument are sent to the server, and the update identifications are 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. When the intelligent non-inductive collecting instrument and equipment operation machine can be used, extra hardware equipment cost is not required to be increased, scientific research cost is reduced, and the utilization rate of large instrument and equipment is improved.
Description
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. A large instrument operation monitoring system is characterized by comprising 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 and equipment, acquires an update identifier and modification time information of modification time of a communication log file of the instrument and equipment, and sends the update identifier, the modification time information and the identifier information of the instrument and equipment to the server, wherein the update identifier is used for indicating whether the modification time of the communication log file is changed or not;
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;
wherein, the host 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 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;
the statistics module is used for judging the change condition of the modification time of the communication log file through the judgment module within a second time threshold value, 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;
the generation module is used for taking the recorded data of each time as one line of data according to the first update identifier and the corresponding current latest modification timestamp recorded by the statistics module or the second update identifier and the corresponding last modification timestamp 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 identification information of the instrument equipment to the server.
2. The large instrument device operation monitoring system of claim 1, wherein the server comprises:
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.
3. The large instrument operation monitoring system of claim 2, wherein the server comprises:
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.
4. The method for monitoring the operation of the large instrument is characterized by being applied to an upper computer, and comprises the following steps:
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;
transmitting the update identification, the modification time information and the identification information of the instrument device 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 device according to the update identification, the modification time information and the identification information of the instrument device,
the method specifically comprises the following steps:
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 that the first update identifier corresponds to a current latest modification time stamp, and if not, setting an update identifier as a second update identifier, and recording that the second update identifier corresponds to a last modification time stamp;
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 record 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 identification information of the instrument equipment to the server.
5. A method for monitoring operation of a large instrument device, the method being applied to a server and comprising:
receiving an update identifier, modification time information and identifier information of the instrument and equipment, wherein the update identifier is used for indicating whether modification time of a communication log file of the instrument and equipment in communication connection with the upper computer is changed or not, and the modification time information is modification time information of the communication log file;
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;
wherein, the host computer specifically executes the following operations:
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 that the first update identifier corresponds to a current latest modification time stamp, and if not, setting an update identifier as a second update identifier, and recording that the second update identifier corresponds to a last modification time stamp;
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 record 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 identification information of the instrument equipment to the server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311840715.3A CN117492403B (en) | 2023-12-29 | 2023-12-29 | Large instrument 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 | Large instrument 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 | Large instrument operation monitoring system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117492403B (en) |
Families Citing this family (1)
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)
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 | 国网河南省电力公司郑州供电公司 | Power equipment running state monitoring and evaluation system and method |
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 |
-
2023
- 2023-12-29 CN CN202311840715.3A patent/CN117492403B/en active Active
Patent Citations (8)
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 | 国网河南省电力公司郑州供电公司 | Power equipment running state monitoring and evaluation system and method |
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 |
---|---|---|
CN117492403B (en) | Large instrument operation monitoring system and method | |
US7783679B2 (en) | Efficient processing of time series data | |
JP6160064B2 (en) | Application determination program, failure detection apparatus, and application determination method | |
CN108509313B (en) | Service monitoring method, platform and storage medium | |
KR20150076230A (en) | Application program management method and apparatus, server, and terminal device | |
CN104104734A (en) | Log analysis method and device | |
CN111459944B (en) | MR data storage method, device, server and storage medium | |
CN111367760B (en) | Log collection method and device, computer equipment and storage medium | |
CN109710439B (en) | Fault processing method and device | |
CN113377637A (en) | Performance capacity diagnostic method and device | |
CN113392005A (en) | Large file processing test method and system | |
CN117290180A (en) | Monitoring method, equipment and medium based on time sequence data analysis equipment operation state | |
US20170139803A1 (en) | Obtaining and analyzing a reduced metric data set | |
CN112783711A (en) | Method and storage medium for analyzing program memory on NodeJS | |
CN113360413A (en) | Code testing method and device | |
CN110543509A (en) | Monitoring system, method and device for user access data and electronic equipment | |
CN110532153A (en) | A kind of business level user's operation experience visualization system | |
CN101674594A (en) | DNS-based mobile data service monitoring system and method | |
CN114338764A (en) | Non-invasive WEB application activity monitoring method and system | |
US8825843B2 (en) | System and methods for monitoring a geographic information system | |
CN112347066B (en) | Log processing method and device, server and computer readable storage medium | |
CN112783920A (en) | Industrial Internet of things data real-time computing method and system based on data arrangement | |
CN112069021A (en) | Flow data storage method and device, electronic equipment and storage medium | |
CN112131110A (en) | Multisource heterogeneous data probe method and device of smart phone system | |
CN111158870A (en) | Method and device for managing database |
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 |