Method, device and system for recording logs in equipment control process
A technology of equipment control and recording method, applied in special data processing applications, instruments, electrical digital data processing, etc., to achieve the effect of flexible recording, flexible log level setting, and avoiding industrial computer crashes
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] refer to figure 2 , is a flowchart of a log recording method in a device control process according to Embodiment 1 of the present invention.
[0044] During the operation of various process equipment, log records are carried out by the equipment control system. The equipment control system generally includes functional modules such as IO (input and output), Control (control), Alarm (alarm), Interlock (interlock), Recipe (process formula), Setup (configuration), and a large number of Log information, the following process will complete the recording of these log information.
[0045] Before starting the log recording process, you first need to configure the log recording method in the log configuration file. The specific configuration content includes the threshold value of the number of log files, which modules need to record logs, and log level restrictions. After the configuration is complete, start the following logging process:
[0046] Step 201, read and analyz...
Embodiment 2
[0067] Based on the content of the first embodiment, this embodiment provides a more specific logging method, which is as follows.
[0068] In this embodiment, the equipment control system includes functional modules such as IO (input and output), Control (control), Alarm (alarm), Interlock (interlock), Recipe (process formula), Setup (configuration); log levels are based on severity From low to high, it is divided into VERBOSE (detailed and lengthy information), EVENT (important event information), PROBLEM (problems that occur when the program is running, although it is not normal but not an error), ERROR (error information) and FATAL ( Fatal error message) five levels. The log configuration file records configuration information such as "log file storage path", "threshold value of log file quantity", "which modules record logs", "log levels of modules that record logs".
[0069] refer to image 3, is a schematic diagram of the log configuration file in Embodiment 2 of the ...
Embodiment 3
[0108] Based on the contents of the foregoing method embodiments, this embodiment provides corresponding device and system embodiments.
[0109] refer to Image 6 , is a structural diagram of a log recording device in a device control process according to Embodiment 3 of the present invention.
[0110] The log recording device may include a configuration parsing unit 61 , a new or open unit 62 , a file quantity detection unit 63 and a log recording unit 64 . Wherein, the configuration parsing unit 61 is used to read the log configuration file and analyze it to obtain the preset log file quantity threshold value in the log configuration file; the new or open unit 62 is used to create a new log file or open an existing log file; The number of files detection unit 63 is used to detect whether the number of log files that have been created exceeds the threshold value of the number of log files, if exceeded, then delete according to the preset strategy, until the number of ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com