Method and system for an industrial computer to output device state information and early warning to a serial screen

CN122761544APending Publication Date: 2026-09-15GUANGZHOU SPECIAL CONTROL ELECTRONIC IND CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610781601.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-06-02
Publication Date
2026-09-15

Smart Images

  • Figure CN122761544A_ABST
    Figure CN122761544A_ABST
Patent Text Reader

Abstract

The application discloses a method and system for outputting device state information and early warning to a serial screen by an industrial computer, and belongs to the technical field of industrial control and state monitoring. The method comprises the following steps: the industrial computer collects state data such as CPU temperature, usage rate, memory and hard disk occupancy ratio at a preset initial frequency, and dynamically adjusts the subsequent collection frequency according to data fluctuation; the data is preprocessed and encapsulated, and the data is compared with multi-level early warning thresholds, and a precise early warning instruction is generated when the threshold is exceeded; the data packet and the early warning instruction are sent to the serial screen through a serial port, and the transmission reliability is ensured by adding a check code and an automatic retransmission mechanism; after the serial screen analyzes the data, the data is visually displayed in the form of numerical values combined with trend graphs or occupancy graphs, and hierarchical early warning is triggered when the early warning instruction is received. The application realizes flexible collection, reliable transmission, intuitive display and accurate early warning, and effectively improves the efficiency of device state monitoring and the convenience of operation and maintenance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of industrial control and condition monitoring technology, specifically to a method and system for an industrial control computer to output device status information and early warning to a serial port screen. Background Technology

[0002] In the field of industrial automation, the combination of industrial PCs and serial port displays is widely used in automated production lines, control cabinets, and other scenarios to monitor equipment operating status. A typical existing solution involves the industrial PC collecting status data such as CPU temperature, usage rate, memory and hard drive percentages at a fixed frequency through system tools, and sending this data to the serial port display in a fixed format. The serial port display receives the data and displays it as static values ​​at a fixed location. When a data point exceeds a preset single threshold, the industrial PC sends an alarm signal, and the serial port display provides a fixed indication, such as flashing a color.

[0003] However, the existing solutions mentioned above have significant drawbacks. First, fixed-frequency data acquisition lacks flexibility. High-frequency acquisition wastes system resources when the equipment is running smoothly; low-frequency acquisition may miss critical transient data when the status is nearing an anomaly, leading to delayed warnings. Second, serial port transmission lacks effective fault tolerance mechanisms. In the complex electromagnetic environment of industrial sites, data packet loss or errors are prone to occur, resulting in distorted display information and misleading judgments. Third, serial port displays can only provide simple numerical displays and cannot provide intuitive information such as data trends or percentages, making it difficult for staff to predict equipment status. Fourth, the single warning threshold and vague alarm methods make it difficult for staff to quickly distinguish the severity of anomalies and obtain specific abnormal parameters, increasing the time and operational costs of fault location.

[0004] Therefore, there is an urgent need for a new type of industrial control computer and serial port screen collaboration solution to solve the problems of inflexible data acquisition, unreliable transmission, unintuitive display, and inaccurate early warning in the existing technology. Summary of the Invention

[0005] The purpose of this invention is to provide a method and system for an industrial control computer to output device status information and early warning to a serial port screen, so as to solve the above-mentioned problems existing in the prior art.

[0006] To achieve the above objectives, the technical solution adopted by the present invention is as follows: A method for an industrial control computer to output device status information and warnings to a serial port screen includes the following steps: The industrial control computer acquires at least one status data among CPU temperature, CPU utilization, memory usage, and hard disk usage at a preset initial acquisition frequency, and dynamically adjusts the subsequent acquisition frequency based on the operating status reflected by the status data. The collected status data is preprocessed and packaged into a data packet to be transmitted according to a preset format; wherein, the industrial control computer compares the status data with preset multi-level warning thresholds, and when the status data exceeds any warning threshold, it generates a warning instruction containing the abnormality level and abnormal parameters. The data packet to be transmitted is sent to the serial port screen via the serial port; if the warning command is generated, it is sent together; and a verification and retransmission mechanism is used during the transmission process to ensure data integrity and accuracy. The serial port screen receives and parses data from the serial port, and displays the parsed status data in numerical form, combined with at least one of trend charts and percentage charts for visualization; if an early warning command is parsed, the corresponding level of early warning display is triggered.

[0007] Furthermore, the dynamic adjustment of the subsequent acquisition frequency includes: A fluctuation threshold is preset for each state data; When the change calculated based on the acquired state data exceeds its corresponding fluctuation threshold, the sampling frequency is increased. When the change amplitude is lower than its corresponding fluctuation threshold, the initial acquisition frequency is adopted or restored.

[0008] Furthermore, the preprocessing of the collected status data includes: Analyze the changing trend based on the aforementioned state data; If the analysis results indicate an abnormal trend, the data is compressed to generate a refined data packet as the data packet to be transmitted. If no abnormal trend is found, the status data is directly encapsulated into the data packet to be transmitted.

[0009] Furthermore, the aforementioned verification and retransmission mechanism includes: On the industrial control computer, redundant check codes for error detection or correction are added to the data packets to be transmitted before they are sent. On the serial port screen, the received data packet with added checksum is verified. If the verification fails, a retransmission request is sent to the industrial control computer, which then retransmits the corresponding data packet according to the retransmission request.

[0010] Furthermore, the multi-level warning threshold includes at least two threshold levels of different severity; the warning instruction also includes anomaly type information.

[0011] Furthermore, the method also includes: A parameter configuration interface is provided on the serial port screen to receive configuration instructions from the user for at least one of the initial acquisition frequency, early warning threshold and serial port transmission parameters; The configuration command is sent to the industrial control computer via the serial port, so that the industrial control computer updates and applies the corresponding parameters.

[0012] Another objective of this invention is to provide a system for an industrial control computer to output device status information and warnings to a serial port screen, for implementing the aforementioned method for an industrial control computer to output device status information and warnings to a serial port screen, comprising a first processing unit disposed on the industrial control computer and a second processing unit disposed on the serial port screen, the two being connected via serial communication, wherein: The first processing unit includes: The adaptive acquisition module is used to acquire status data at a preset initial acquisition frequency and dynamically adjust the subsequent acquisition frequency based on the operating status reflected by the acquired status data. The data processing and early warning module is used to preprocess the status data and encapsulate it into a data packet to be transmitted. During the encapsulation process, the status data is compared with multi-level early warning thresholds, and an early warning instruction is generated when the threshold is exceeded. The communication transmission module is used to send the data packet to be transmitted and the generated warning command through the serial port, and to implement the verification and retransmission mechanism. The second processing unit includes: The data parsing module is used to receive and parse data through the serial port; The visualization module is used to display the parsed status data in numerical form, combined with at least one of trend charts and percentage charts. The early warning display module is used to trigger the display of early warnings of the corresponding level when an early warning command is parsed.

[0013] Another object of the present invention is to provide an industrial control computer, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the following functions in the method for an industrial control computer to output device status information and warnings to a serial port screen: At a preset initial sampling frequency, acquire at least one status data among CPU temperature, CPU utilization, memory usage, and hard disk usage; The subsequent sampling frequency is dynamically adjusted based on the operating status reflected by the status data. The collected status data is preprocessed and encapsulated into a data packet to be transmitted according to a preset format; The status data is compared with a preset multi-level warning threshold, and when the threshold is exceeded, a warning instruction containing the abnormality level and abnormal parameters is generated. The data packet to be transmitted, along with the generated warning command, is sent via serial port, and a verification and retransmission mechanism is employed during the transmission process.

[0014] Another object of the present invention is to provide a serial port display, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the following functions in the method for an industrial control computer to output device status information and warnings to a serial port display: Receive and parse data from the serial port; The parsed status data is presented in numerical form and visualized by combining at least one of trend charts and percentage charts. If a warning instruction is obtained through parsing, the corresponding level of warning will be displayed.

[0015] Compared with the prior art, the present invention has the following beneficial effects: The adaptive acquisition algorithm in this invention dynamically adjusts the sampling frequency according to the equipment's operating status. It reduces the frequency to save resources when the status is stable and increases the frequency to capture transient anomalies when data fluctuates or approaches anomalies, thus improving the real-time performance and efficiency of monitoring. A bidirectional verification transmission mechanism combining forward error correction and automatic retransmission effectively resists interference in industrial settings, ensuring accurate data transmission from the industrial control computer to the serial port screen and avoiding misjudgments due to data errors. The serial port screen integrates numerical values, trend charts, and percentage charts, making the patterns of equipment status changes clear at a glance and facilitating proactive prediction by staff. A precise early warning mechanism based on multi-level thresholds clearly indicates the anomaly level, type, and specific parameters, enabling staff to quickly locate problems and significantly shortening troubleshooting and handling time. It supports remote configuration of all core parameters on the serial port screen, solving the pain point of inconvenient operation of industrial control computers often deployed in enclosed cabinets, and improving the system's flexibility and deployment convenience. Attached Figure Description

[0016] Figure 1 This is a schematic diagram of the method flow of the present invention. Detailed Implementation

[0017] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention. Furthermore, the technical features involved in the various embodiments of this invention described below can be combined with each other as long as they do not conflict with each other.

[0018] This invention provides a method and system for an industrial control computer to output device status information and early warnings to a serial port display. In this embodiment, the industrial control computer and the serial port display establish a bidirectional physical connection via an RS-232 serial port; other serial communication interfaces such as RS-485 can also be used. This invention is implemented purely in software and can be directly integrated into the monitoring software of the existing operating system of the industrial control computer and the embedded software of the serial port display. It is fully compatible with existing hardware and requires no additional equipment.

[0019] This embodiment provides a method for an industrial control computer to output device status information and early warnings to a serial port display. The method is implemented based on a system. The system adopts a collaborative hardware and software architecture, mainly including a first processing unit located on the industrial control computer and a second processing unit located on the serial port display, which are connected via serial communication. The first processing unit, i.e., the industrial control computer software, includes an adaptive acquisition module, a data processing and early warning module, and a communication transmission module. The second processing unit, i.e., the serial port display software, includes a data parsing module, a visualization module, and an early warning display module.

[0020] The method described in this embodiment starts automatically when the industrial control computer and serial port screen are powered on. The following is a combination of... Figure 1 The specific process of the method described in this embodiment will be explained in detail.

[0021] Step 1: The industrial control computer acquires at least one status data among CPU temperature, CPU utilization, memory usage, and hard disk usage at a preset initial acquisition frequency, and dynamically adjusts the subsequent acquisition frequency based on the operating status reflected by the status data.

[0022] This step is performed by the adaptive acquisition module. After the industrial computer and the serial port screen are powered on, their communication transmission and data parsing modules run automatically, attempting to establish a connection using preset serial port parameters such as a baud rate of 115200, 8 data bits, no parity, and 1 stop bit. After the connection is established, they exchange handshake signals to complete identity matching and load factory default configuration parameters, including the preset initial acquisition frequency. Such as 1Hz, and various warning thresholds for different state parameters. The system then entered a stable operating state.

[0023] The adaptive acquisition module first uses the preset initial acquisition frequency. The module begins collecting and monitoring four core status data points: CPU temperature (T), CPU utilization (U), memory usage (M), and hard disk usage (D). Subsequently, based on the operational status reflected in the acquired status data, the module dynamically adjusts the subsequent data collection frequency. Specifically, a fluctuation threshold ΔX is preset for each status data point. This threshold reflects the typical fluctuation range of the parameter under normal operating conditions. For example, the normal fluctuation threshold for CPU temperature is set to ΔT = 2℃.

[0024] definition This refers to the value of a specific status data item acquired during the current data collection period. This refers to the value of the same status data acquired in the previous collection cycle. Each time new data is collected... Then, the module calculates its value compared to the previous collected value. absolute value of the difference The dynamic adjustment logic includes: like The parameter was determined to be fluctuating drastically, which may indicate an anomaly. Therefore, the subsequent sampling frequency for this parameter was immediately increased to a higher frequency. For example, 5Hz; like And it is currently at a high frequency. If the data acquisition status is reached, a stable counter is started. When the data acquisition satisfies the following conditions for N consecutive times (N=10 in this embodiment),... If the parameters have been determined to be stable, the subsequent sampling frequency will be adopted or restored to the preset initial sampling frequency. Where N is the stability counter threshold, used to determine whether the state data has returned to stability.

[0025] Through the above process, data is collected at a lower frequency when the equipment is running smoothly, saving system resources; while when the state is abnormal or fluctuates drastically, it automatically switches to high-frequency data collection, improving the real-time monitoring and the ability to capture transient anomalies.

[0026] Step 2: Preprocess the collected status data and encapsulate it into a data packet to be transmitted according to a preset format; wherein, the industrial control computer compares the status data with preset multi-level warning thresholds, and when the status data exceeds any warning threshold, generates a warning instruction containing the abnormality level and abnormal parameters.

[0027] The data processing and early warning module performs this process. First, preprocessing is performed, where the module cleans the collected raw state data, such as removing invalid values ​​that clearly exceed physical limits, and formats the data. Then, the module analyzes the changing trends based on the state data. For example, from the current and historical state data sequences, the average slope and variance of parameters over a past period are calculated as a basis for trend judgment.

[0028] If the analysis results indicate an abnormal trend, a data compression algorithm is triggered, such as lightweight compression based on differential or simple coding, to package multiple data points and generate a refined data packet as the data packet to be transmitted.

[0029] If no abnormal trend is found, the status data is directly encapsulated into the data packet to be transmitted.

[0030] During preprocessing and packaging, early warning judgments are performed simultaneously. This module stores multi-level early warning thresholds for each type of status data, with each threshold including at least two levels of different severity. In this embodiment, two threshold levels are set for CPU temperature: This corresponds to a Level 1 warning, or alert. This corresponds to a Level 2 warning, which is considered severe.

[0031] The module will display real-time status data. Compare with these thresholds: like The condition is classified as a Level 2 severe anomaly, and an early warning instruction is generated. like If it is determined to be a Level 1 warning, a corresponding instruction will be generated; If no data exceeds the threshold, no warning instruction will be generated.

[0032] The warning instruction is a structured data string or data packet, whose standard format is defined as: [Alarm Type, Parameter Name, Warning Level, Current Value]. Where: The alarm type is fixed as Alert, indicating that this is a warning message.

[0033] Parameter name, indicating the specific status parameter where the exception occurred, such as Indicates CPU temperature. This indicates CPU utilization.

[0034] Warning levels indicate the severity of the anomaly; for example, Level 1 represents a first-level warning, and Level 2 represents a second-level severe anomaly.

[0035] Current value: The specific value of the status parameter after processing when this warning is triggered, i.e., the processed CPU temperature value. CPU utilization after processing wait.

[0036] For example, when the processed CPU temperature value Exceeding the secondary threshold At that time, the generated warning instruction is: Upon receiving this command, the serial port display can parse out each field and issue corresponding visual warnings accordingly.

[0037] The warning command includes anomaly level and anomaly type information such as CPU temperature and specific anomaly parameter values, thus achieving accurate warnings. Finally, the module encapsulates the preprocessed data, i.e., the refined data packet or the original data packet, into a data packet to be transmitted according to a preset format: [frame header, device ID, timestamp, data body, checksum, frame tail]. If a warning command is generated, it can be added to the data body or used as an independent logical unit.

[0038] Step 3: Send the data packet to be transmitted to the serial port screen via the serial port; if the warning command is generated, send it along with the data; and use a verification and retransmission mechanism during transmission to ensure data integrity and accuracy.

[0039] This process is executed by the communication transmission module, which sends the encapsulated data packet to be transmitted to the serial port screen via the serial port. If the warning command is generated in step S2, it is sent along with the data packet. The warning command can be sent as an independent data packet or integrated with the status data packet. During transmission, a verification and retransmission mechanism is used to ensure reliability, specifically including: At the industrial control computer (transmitter), redundant checksums for error detection or correction are added to the data packets and warning command data to be transmitted before transmission. For example, a Cyclic Redundancy Check (CRC) algorithm can be used to calculate the checksum and append it to the end of the data.

[0040] At the serial port screen end (receiving end), the data parsing module verifies the received data packet with added checksum. If the verification is successful, an ACK signal is returned to the industrial control computer, and the process proceeds to the next parsing stage. If the verification fails, it indicates a transmission error, and the data parsing module sends a retransmission request to the industrial control computer. The industrial control computer's communication transmission module then retransmits the corresponding data packet based on the retransmission request.

[0041] This process of sending, verifying, confirming, or retransmitting effectively resists electromagnetic interference in industrial settings, ensuring high accuracy and reliability of data transmission and preventing misjudgments caused by data errors at the source.

[0042] Step 4: The serial port screen receives and parses the data from the serial port, and displays the parsed status data in numerical form, combined with at least one of the trend chart and percentage chart for visualization; if an early warning command is parsed, the corresponding level of early warning display is triggered.

[0043] The second processing unit's data parsing module, visualization module, and early warning display module work together. The data parsing module receives and parses data from the serial port. It decodes the verified data and extracts a list of valid status data. It also determines whether an early warning command has been parsed. Subsequently, the visualization module displays the parsed status data in numerical form, combined with at least one of a trend chart or a percentage chart, specifically: (1) Numerical form: The current value of each status is displayed in real time in a clear large font in a designated area of ​​the interface; (2) Chart format, including: Trend chart: Draws a line chart to dynamically display the recent changes in parameters, such as the historical change curve over the past 5 minutes.

[0044] Percentage Chart: For memory and hard drive percentages, a pie chart is used to visually display the ratio of used to remaining space.

[0045] This multi-format integrated display makes the equipment status clear at a glance, making it easier for staff to make proactive predictions.

[0046] If a warning command is parsed and obtained, the warning display module is immediately activated, triggering the display of the corresponding warning level. It performs differentiated display based on the precise anomaly level information in the command, including: Level 1 Warning: The backlight of the control serial port screen flashes yellow slowly, and a yellow warning message pops up on the screen.

[0047] Level 2 Severe Anomaly: The backlight flashes red rapidly, emits a rapid beep, and a red severe alarm window pops up on the screen, displaying the specific abnormal parameter values.

[0048] This tiered and precise early warning mechanism enables staff to instantly identify the severity and specific location of any anomalies, significantly shortening troubleshooting and emergency response time.

[0049] In a preferred embodiment, the method further includes: Step 5: Provide a parameter configuration interface on the serial port screen to receive configuration instructions from the user for at least one of the initial acquisition frequency, early warning threshold, and serial port transmission parameters; send the configuration instructions to the industrial control computer through the serial port so that the industrial control computer updates and applies the corresponding parameters.

[0050] On the serial port screen, a parameter configuration interface can be integrated as a functional extension of the second processing unit. Operators do not need to operate the industrial control computer; they can directly access the parameter configuration interface on the serial port screen to receive configuration commands from users for at least one of the initial acquisition frequency, warning threshold, and serial port transmission parameters.

[0051] After configuration, the configuration command is sent to the industrial control computer via the serial port. The communication transmission module and configuration logic on the industrial control computer parse the command, causing the computer to update and apply the corresponding parameters, thereby adjusting the behavior of modules such as adaptive data acquisition and early warning judgment in real time. This function solves the pain point of inconvenient operation of industrial control computers, greatly improving the flexibility and convenience of system deployment and maintenance.

[0052] This embodiment also provides a system for an industrial control computer to output device status information and warnings to a serial port screen, used to implement the aforementioned method for an industrial control computer to output device status information and warnings to a serial port screen, including a first processing unit disposed on the industrial control computer and a second processing unit disposed on the serial port screen, the two being connected via serial communication, wherein: The first processing unit includes: The adaptive acquisition module is used to acquire status data at a preset initial acquisition frequency and dynamically adjust the subsequent acquisition frequency based on the operating status reflected by the acquired status data. The data processing and early warning module is used to preprocess the status data and encapsulate it into a data packet to be transmitted. During the encapsulation process, the status data is compared with multi-level early warning thresholds, and an early warning instruction is generated when the threshold is exceeded. The communication transmission module is used to send the data packet to be transmitted and the generated warning command through the serial port, and to implement the verification and retransmission mechanism. The second processing unit includes: The data parsing module is used to receive and parse data through the serial port; The visualization module is used to display the parsed status data in numerical form, combined with at least one of trend charts and percentage charts. The early warning display module is used to trigger the display of early warnings of the corresponding level when an early warning command is parsed.

[0053] This embodiment also provides an industrial control computer, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the following functions in the method for an industrial control computer to output device status information and warnings to a serial port screen: At a preset initial sampling frequency, acquire at least one status data among CPU temperature, CPU utilization, memory usage, and hard disk usage; The subsequent sampling frequency is dynamically adjusted based on the operating status reflected by the status data. The collected status data is preprocessed and encapsulated into a data packet to be transmitted according to a preset format; The status data is compared with a preset multi-level warning threshold, and when the threshold is exceeded, a warning instruction containing the abnormality level and abnormal parameters is generated. The data packet to be transmitted, along with the generated warning command, is sent via serial port, and a verification and retransmission mechanism is employed during the transmission process.

[0054] This embodiment also provides a serial port display, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the following functions in the method for an industrial control computer to output device status information and warnings to a serial port display: Receive and parse data from the serial port; The parsed status data is presented in numerical form and visualized by combining at least one of trend charts and percentage charts. If a warning instruction is obtained through parsing, the corresponding level of warning will be displayed.

[0055] In summary, through the above process, this invention constructs a complete solution from intelligent sensing, reliable transmission, intuitive presentation to interactive configuration.

[0056] Embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0057] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0058] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0059] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0060] Contents not described in detail in this specification are prior art known to those skilled in the art. It is hereby indicated that the above description is intended to help those skilled in the art understand this invention, but does not limit the scope of protection of this invention. Any equivalent substitutions, modifications, improvements, or simplifications of the above descriptions that do not depart from the essential content of this invention fall within the scope of protection of this invention.

Claims

1. A method for an industrial computer to output device state information and early warning to a serial screen, characterized in that, Includes the following steps: The industrial control computer acquires at least one status data among CPU temperature, CPU utilization, memory usage, and hard disk usage at a preset initial acquisition frequency, and dynamically adjusts the subsequent acquisition frequency based on the operating status reflected by the status data. The collected status data is preprocessed and packaged into a data packet to be transmitted according to a preset format; wherein, the industrial control computer compares the status data with preset multi-level warning thresholds, and when the status data exceeds any warning threshold, it generates a warning instruction containing the abnormality level and abnormal parameters. The data packet to be transmitted is sent to the serial port screen via the serial port; if the warning command is generated, it is sent together; and a verification and retransmission mechanism is used during the transmission process to ensure data integrity and accuracy. The serial port screen receives and parses data from the serial port, and displays the parsed status data in numerical form, combined with at least one of trend charts and percentage charts for visualization; if an early warning command is parsed, the corresponding level of early warning display is triggered.

2. The method for an industrial control computer to output device status information and early warning to a serial port screen according to claim 1, characterized in that, The dynamic adjustment of subsequent acquisition frequency includes: A fluctuation threshold is preset for each state data; When the change calculated based on the acquired state data exceeds its corresponding fluctuation threshold, the sampling frequency is increased. When the change amplitude is lower than its corresponding fluctuation threshold, the initial acquisition frequency is adopted or restored.

3. The method for an industrial control computer to output device status information and early warning to a serial port screen according to claim 1, characterized in that, The preprocessing of the collected status data includes: Analyze the changing trend based on the aforementioned state data; If the analysis results indicate an abnormal trend, the data is compressed to generate a refined data packet as the data packet to be transmitted. If no abnormal trend is found, the status data is directly encapsulated into the data packet to be transmitted.

4. The method for an industrial control computer to output device status information and early warning to a serial port screen according to claim 1, characterized in that, The aforementioned verification and retransmission mechanism includes: On the industrial control computer, redundant check codes for error detection or correction are added to the data packets to be transmitted before they are sent. On the serial port screen, the received data packet with added checksum is verified. If the verification fails, a retransmission request is sent to the industrial control computer, which then retransmits the corresponding data packet according to the retransmission request.

5. A method for an industrial control computer to output device status information and early warning to a serial port screen according to claim 1, characterized in that, The multi-level warning threshold includes at least two threshold levels of different severity; the warning instruction also includes anomaly type information.

6. The method for an industrial control computer to output device status information and early warning to a serial port screen according to claim 1, characterized in that, The method further includes: A parameter configuration interface is provided on the serial port screen to receive configuration instructions from the user for at least one of the initial acquisition frequency, early warning threshold and serial port transmission parameters; The configuration command is sent to the industrial control computer via the serial port, so that the industrial control computer updates and applies the corresponding parameters.

7. A system for an industrial control computer to output device status information and warnings to a serial port screen, used to implement the method for an industrial control computer to output device status information and warnings to a serial port screen as described in any one of claims 1-6, characterized in that, It includes a first processing unit located on the industrial control computer and a second processing unit located on the serial port screen, which are connected via serial communication. The first processing unit includes: The adaptive acquisition module is used to acquire status data at a preset initial acquisition frequency and dynamically adjust the subsequent acquisition frequency based on the operating status reflected by the acquired status data. The data processing and early warning module is used to preprocess the status data and encapsulate it into a data packet to be transmitted. During the encapsulation process, the status data is compared with multi-level early warning thresholds, and an early warning instruction is generated when the threshold is exceeded. The communication transmission module is used to send the data packet to be transmitted and the generated warning command through the serial port, and to implement the verification and retransmission mechanism. The second processing unit includes: The data parsing module is used to receive and parse data through the serial port; The visualization module is used to display the parsed status data in numerical form, combined with at least one of trend charts and percentage charts. The early warning display module is used to trigger the display of early warnings of the corresponding level when an early warning command is parsed.

8. An industrial control computer, characterized in that, The system includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it performs the following functions as described in any one of claims 1-6: [The system includes a memory, a processor, and a computer program stored in the memory and executable on the processor.] At a preset initial sampling frequency, acquire at least one status data among CPU temperature, CPU utilization, memory usage, and hard disk usage; The subsequent sampling frequency is dynamically adjusted based on the operating status reflected by the status data. The collected status data is preprocessed and encapsulated into a data packet to be transmitted according to a preset format; The status data is compared with a preset multi-level warning threshold, and when the threshold is exceeded, a warning instruction containing the abnormality level and abnormal parameters is generated. The data packet to be transmitted, along with the generated warning command, is sent via serial port, and a verification and retransmission mechanism is employed during the transmission process.

9. A serial port screen, characterized in that, The system includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it performs the following functions as described in any one of claims 1-6: [The system includes a memory, a processor, and a computer program stored in the memory and executable on the processor.] Receive and parse data from the serial port; The parsed status data is presented in numerical form and visualized by combining at least one of trend charts and percentage charts. If a warning instruction is obtained through parsing, the corresponding level of warning will be displayed.