Upper computer fault diagnosis method, device, equipment and medium
By obtaining the latest status data set of the host computer and using preset fault diagnosis programs for diagnosis, the problem of insufficient diagnosis of the DCS host computer in the prior art is solved, and the comprehensive diagnosis of the host computer is achieved, and the overall performance of the DCS is improved.
Patent Information
- Application Number
- CN202411543340.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-02-28
AI Technical Summary
In the prior art, the diagnosis of the upper computer in DCS is mainly focused on basic information, making it difficult to obtain more in-depth equipment conditions, affecting the overall efficiency, safety and reliability of DCS.
By obtaining the latest status data set of the host computer and generating the target program set based on the station type of the host computer, using the preset fault diagnosis program to perform fault diagnosis, and generating the latest fault diagnosis result set.
It realizes comprehensive and targeted diagnosis of different station types of host computers, improves the understanding of equipment conditions by technicians, and thus improves the overall efficiency, safety and reliability of DCS.
Smart Images

Figure CN119536212A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of fault diagnosis, and in particular to a host computer fault diagnosis method, a fault diagnosis method for a DCS, a host computer fault diagnosis device, a fault diagnosis device for a DCS, an electronic device, and a machine-readable storage medium. Background Art
[0002] Distributed Control System (DCS) includes a host computer system, which includes multiple host computers. DCS monitors the status of the host computer's hardware devices (such as servers and printers) in real time and performs fault diagnosis to help technicians understand the device status when the DCS is running.
[0003] In the related technology, DCS diagnosis of the host computer mainly focuses on basic information, which cannot meet the current needs. That is, the host computers of different station types need more comprehensive and targeted diagnosis to further improve the overall efficiency, safety and reliability of the system. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a host computer fault diagnosis method, host computer fault diagnosis device, equipment and medium to solve the problem that in the prior art, the diagnosis content of the host computer in the DCS is mainly concentrated on basic information, which makes it difficult for technicians to obtain more in-depth equipment conditions, affecting the overall efficiency, safety and reliability of the DCS.
[0005] In order to achieve the above-mentioned object, the first aspect of the present application provides a host computer fault diagnosis method, which is applied to a fault diagnosis device of a DCS, wherein the DCS includes multiple host computers, each of which has a corresponding station type, and the method includes: Obtain the latest status data set of each host computer based on preset data acquisition rules; For each host computer, based on the latest status data set of the host computer, the latest fault diagnosis result set of the host computer is determined through the target program set corresponding to the host computer; wherein, the target program set corresponding to the host computer is generated based on the station type corresponding to the host computer; wherein, the target program set includes multiple preset fault diagnosis programs, and each preset fault diagnosis program corresponds to a fault diagnosis function.
[0006] In the embodiment of the present application, before obtaining the latest status data set of each host computer based on the preset data acquisition rule, the method further includes: For each host computer, according to the station type corresponding to the host computer, determine the target diagnostic item set corresponding to the host computer; wherein the target diagnostic item set includes multiple diagnostic items; For each host computer, a target program set corresponding to the host computer is determined according to a target diagnostic item set corresponding to the host computer; wherein the preset fault diagnosis programs in the target program set correspond one-to-one to the diagnostic items in the target diagnostic item set.
[0007] In the embodiment of the present application, before obtaining the latest status data set of each host computer based on the preset data acquisition rule, the method further includes: Acquire or generate preset fault diagnosis programs in each target program set, and install each preset fault diagnosis program on the fault diagnosis device.
[0008] In the embodiment of the present application, the latest status data set includes a plurality of latest status data; Based on the latest status data set of the host computer, the latest fault diagnosis result set of the host computer is determined through the target program set corresponding to the host computer, including: For each preset fault diagnosis program in the target program set, the target status data is determined according to the latest status data set of the host computer, the target status data is input into the preset fault diagnosis program, and the latest fault diagnosis result is output through the preset fault diagnosis program; wherein the target status data is the latest status data related to the fault diagnosis performed by the preset fault diagnosis program.
[0009] In the embodiment of the present application, the latest fault diagnosis result set includes the latest fault diagnosis results corresponding to each of the multiple fault diagnosis functions, and the fault diagnosis result is a fault or no fault; The method further comprises: For each host computer, sending the latest status data set and the latest fault diagnosis result set of the host computer to the data storage module of the DCS; and / or When there is a latest fault diagnosis result with a faulty value in the latest fault diagnosis result set, an alarm message is generated according to the fault diagnosis function corresponding to the latest fault diagnosis result with a faulty value and sent to the alarm module of the DCS.
[0010] A second aspect of the present application provides a fault diagnosis method for a DCS, wherein the DCS includes a fault diagnosis device and multiple host computers, and the method includes: Generate configuration files according to the station types corresponding to each host computer; The configuration file is parsed by the fault diagnosis device, and the host computer fault diagnosis method described in the first aspect is executed.
[0011] In a third aspect, the present application provides a host computer fault diagnosis device, which is configured in a fault diagnosis device of a DCS, wherein the DCS includes multiple host computers, each of which has a corresponding station type, and the device includes: The host computer data acquisition module is used to obtain the latest status data set of each host computer based on preset data acquisition rules; The host computer fault diagnosis module is used to determine the latest fault diagnosis result set of each host computer based on the latest status data set of the host computer and through the target program set corresponding to the host computer; wherein the target program set corresponding to the host computer is generated based on the station type corresponding to the host computer; wherein the target program set includes multiple preset fault diagnosis programs, and each preset fault diagnosis program corresponds to a fault diagnosis function.
[0012] A fourth aspect of the present application provides a fault diagnosis device for a DCS, wherein the DCS includes a fault diagnosis device and multiple host computers, and the device includes: The configuration file generation module is used to generate configuration files according to the station types corresponding to each host computer; A fault diagnosis module is used to parse the configuration file through the fault diagnosis device and execute the host computer fault diagnosis method described in the first aspect above.
[0013] The fifth aspect of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the host computer fault diagnosis method described in the first aspect when executing the computer program.
[0014] A sixth aspect of the present application provides a machine-readable storage medium having instructions stored thereon, which, when executed by a processor, configures the processor to execute the host computer fault diagnosis method described in the first aspect above.
[0015] The host computer fault diagnosis method, device, equipment and medium provided in the present application, after obtaining the latest status data set of the host computer, completes the fault diagnosis of the host computer based on the latest status data set through each preset fault diagnosis program corresponding to the host computer, which can meet the needs of comprehensive and targeted diagnosis of host computers of different station types. For host computers of different station types, different preset fault diagnosis programs are configured to complete different fault diagnosis functions, which has a high degree of flexibility. According to the latest fault diagnosis result set of the host computer, the technician can have a deeper understanding of the relevant situation, thereby improving the overall efficiency, safety and reliability of the DCS.
[0016] Other features and advantages of the embodiments of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings: Figure 1 The flowchart of the host computer fault diagnosis method of the embodiment of the present application is schematically shown; Figure 2 The structure block diagram of the host computer fault diagnosis device of the embodiment of the present application is schematically shown; Figure 3 The internal structure diagram of the computer device according to the embodiment of the present application is schematically shown.
[0018] Description of Reference Numerals A01-processor; A02-network interface; A03-internal memory; A04-display screen; A05-input device; A06-non-volatile storage medium; B01-operating system; B02-computer program. DETAILED DESCRIPTION
[0019] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0020] It should be noted that if the embodiments of the present application involve directional indications (such as up, down, left, right, front, back, etc.), such directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0021] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0022] In view of the fact that the diagnosis content of the host computer in the DCS in the related art is mainly focused on basic information, which makes it difficult for technicians to obtain more in-depth equipment conditions, affecting the overall efficiency, safety and reliability of the DCS, the present application provides a host computer fault diagnosis method, device, equipment and medium. The host computer fault diagnosis method, device, equipment and medium provided by the present application are described in detail below in conjunction with the accompanying drawings through specific embodiments and implementation methods.
[0023] Figure 1 The flowchart of the host computer fault diagnosis method of the embodiment of the present application is schematically shown. Figure 1 As shown, in one embodiment of the present application, a host computer fault diagnosis method is provided, which is applied to a fault diagnosis device of a DCS. The DCS includes multiple host computers, each of which has a corresponding station type. The host computer fault diagnosis method may include the following steps.
[0024] Step 200: Acquire the latest status data set of each host computer based on preset data acquisition rules.
[0025] The preset data acquisition rule is mainly determined by the DCS. In one example, the preset data acquisition rule is real-time acquisition, that is, step 200 is: real-time acquisition of the latest status data set of each host computer.
[0026] In the embodiment of the present application, the latest status data set includes a plurality of latest status data, so that fault diagnosis is performed by using different latest status data and various preset fault diagnosis programs to output corresponding diagnosis results.
[0027] Step 400 , for each host computer, based on the latest state data set of the host computer and through the target program set corresponding to the host computer, determine the latest fault diagnosis result set of the host computer.
[0028] The target program set corresponding to the host computer is generated based on the station type corresponding to the host computer; the target program set includes a plurality of preset fault diagnosis programs, and each preset fault diagnosis program corresponds to a fault diagnosis function.
[0029] In the embodiment of the present application, the station type refers to the specific function or role that the host computer assumes in the DCS. Specifically, the station type may include: Computing server station: used to process data from field devices and other systems, and perform complex calculations, analysis, and control.
[0030] Operator workstation: used to monitor and control the process, operators use these workstations to view real-time data and input instructions.
[0031] History Station: Records and stores historical data of the system for subsequent analysis and reporting.
[0032] Different station types cooperate with each other to ensure that the DCS can operate efficiently and safely.
[0033] In a specific implementation, step 400 includes the following steps: Step 410, for each preset fault diagnosis program in the target program set, determine the target state data according to the latest state data set of the host computer, input the target state data into the preset fault diagnosis program, and output the latest fault diagnosis result through the preset fault diagnosis program.
[0034] The target state data is the latest state data related to the fault diagnosis performed by the preset fault diagnosis program. The latest fault diagnosis result set includes the latest fault diagnosis results corresponding to the multiple fault diagnosis functions, and the fault diagnosis results are faulty or non-faulty.
[0035] In the embodiment of the present application, in order to determine the latest fault diagnosis result set of the host computer, before step 200, the method further includes the following steps: Step 110: for each host computer, determine the target diagnostic item set corresponding to the host computer according to the station type corresponding to the host computer.
[0036] The target diagnostic item set includes multiple diagnostic items.
[0037] It is understandable that in order to perform a more comprehensive and targeted diagnosis on the host computer, the diagnostic items included in the target diagnostic item set are different between host computers of different station types. Among them, the diagnostic items corresponding to host computers of different station types can be determined by computer programs or by obtaining and parsing pre-configured configuration files, wherein the station type of the host computer can be used as the name of the set, and the diagnostic items corresponding to the host computer can be stored in the configuration file as the elements contained in the set. This application does not limit the method for determining the diagnostic items corresponding to the host computer.
[0038] For example, for a computing server station, its target diagnostic item set may include memory and CPU diagnosis, network reception and transmission utilization diagnosis, online diagnosis of all host stations, and abnormality diagnosis of the network interface card; for an operator workstation, its target diagnostic item set may include memory and CPU diagnosis, network reception and transmission utilization diagnosis; for a historical record station, its target diagnostic item set may include memory and CPU diagnosis, network reception and transmission utilization diagnosis, and hard disk capacity diagnosis.
[0039] Step 120 : For each host computer, determine the target program set corresponding to the host computer according to the target diagnostic item set corresponding to the host computer.
[0040] Among them, the preset fault diagnosis programs in the target program set correspond one-to-one to the diagnosis items in the target diagnosis item set.
[0041] It can be understood that each diagnostic item has a corresponding fault diagnosis program (i.e., a preset fault diagnosis program). By determining the target program set corresponding to each host computer, the fault diagnosis device dynamically loads the corresponding fault diagnosis program according to the station type of the host computer, thereby realizing a more comprehensive and targeted diagnosis of host computers of different station types.
[0042] Optionally, the method further comprises the following steps: Step 130 , obtaining or generating preset fault diagnosis programs in each target program set, and installing each preset fault diagnosis program on the fault diagnosis device.
[0043] The preset fault diagnosis program can use an existing computer program to implement the corresponding fault diagnosis function, or can be written in an existing development language. In addition, each preset fault diagnosis program can be integrated into a host computer fault diagnosis program to facilitate installation and maintenance of the program.
[0044] The embodiment of the present application installs a preset fault diagnosis program on the fault diagnosis device, so that the fault diagnosis device can directly execute the internal program, thereby quickly realizing fault diagnosis of each host computer without relying on other devices or platforms.
[0045] Optionally, after step 400, the method further includes the following steps: Step 510, for each host computer, sending the latest status data set and the latest fault diagnosis result set of the host computer to the data storage module of the DCS; and / or when there is a latest fault diagnosis result with a value of faulty in the latest fault diagnosis result set, generating an alarm message according to the fault diagnosis function corresponding to the latest fault diagnosis result with a value of faulty, and sending it to the alarm module of the DCS.
[0046] The embodiment of the present application sends the latest status data set of the host computer and its latest fault diagnosis result set to the data storage module of the DCS for storage as historical data, which is convenient for subsequent query and backtracking, and helps to analyze the cause of the host computer fault; when it is determined that the value of at least part of the latest fault diagnosis result in the latest fault diagnosis result set is faulty, according to the fault diagnosis function corresponding to the latest fault diagnosis result with a value of faulty, an alarm message is generated and sent to the alarm module of the DCS, so that relevant personnel can understand the fault situation in time and respond quickly, thereby ensuring the safety and reliability of the system.
[0047] It can be seen that after acquiring the latest status data set of the host computer, the host computer fault diagnosis method provided in the embodiment of the present application completes the fault diagnosis of the host computer based on the latest status data set through each preset fault diagnosis program corresponding to the host computer, which can meet the needs of comprehensive and targeted diagnosis of host computers of different station types. For host computers of different station types, different preset fault diagnosis programs are configured to complete different fault diagnosis functions, which has a high degree of flexibility. According to the latest fault diagnosis result set of the host computer, the technicians can have a deeper understanding of the relevant situation, thereby improving the overall efficiency, safety and reliability of the DCS.
[0048] Figure 1 FIG. 1 is a flow chart of a method for diagnosing a fault in a host computer according to an embodiment of the present invention. Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0049] Figure 2 The structure block diagram of the host computer fault diagnosis device of the embodiment of the present application is schematically shown. Figure 2 As shown, in one embodiment of the present application, a host computer fault diagnosis device is provided, which is a fault diagnosis device configured in a DCS. The DCS includes multiple host computers, each of which has a corresponding station type. The host computer fault diagnosis device may include the following functional modules.
[0050] The host computer data acquisition module is used to obtain the latest status data set of each host computer based on preset data acquisition rules.
[0051] The host computer fault diagnosis module is used to determine the latest fault diagnosis result set of each host computer based on the latest state data set of the host computer and through the target program set corresponding to the host computer. The target program set corresponding to the host computer is generated based on the station type corresponding to the host computer; the target program set includes multiple preset fault diagnosis programs, and each preset fault diagnosis program corresponds to a fault diagnosis function.
[0052] In the embodiment of the present application, the host computer fault diagnosis device may further include: The diagnostic item set determination module is used to determine, for each host computer, a target diagnostic item set corresponding to the host computer according to the station type corresponding to the host computer, wherein the target diagnostic item set includes multiple diagnostic items.
[0053] The target program set determination module is used to determine the target program set corresponding to each host computer according to the target diagnostic item set corresponding to the host computer, wherein the preset fault diagnosis programs in the target program set correspond to the diagnostic items in the target diagnostic item set one by one.
[0054] In the embodiment of the present application, the host computer fault diagnosis device may further include: The program installation module is used to obtain or generate preset fault diagnosis programs in each target program set, and install each preset fault diagnosis program on the fault diagnosis device.
[0055] In an embodiment of the present application, the latest status data set includes a plurality of latest status data; the host computer fault diagnosis module may include: The host computer fault diagnosis unit is used to determine target state data for each preset fault diagnosis program in the target program set according to the latest state data set of the host computer, input the target state data into the preset fault diagnosis program, and output the latest fault diagnosis result through the preset fault diagnosis program. The target state data is the latest state data related to the fault diagnosis performed by the preset fault diagnosis program.
[0056] In the embodiment of the present application, the latest fault diagnosis result set includes the latest fault diagnosis results corresponding to each of the multiple fault diagnosis functions, and the fault diagnosis result is a fault or no fault; the host computer fault diagnosis device may also include: A data storage module, used for sending, for each host computer, the latest status data set and the latest fault diagnosis result set of the host computer to the data storage module of the DCS; and / or The fault information transmission module is used to generate alarm information and send it to the alarm module of the DCS according to the fault diagnosis function corresponding to the latest fault diagnosis result with a value of faulty when there is a latest fault diagnosis result with a value of faulty in the latest fault diagnosis result set.
[0057] Since the host computer fault diagnosis device provided in the embodiment of the present application is a virtual device corresponding to the host computer fault diagnosis method described in the above embodiment, it can also solve the problem that the diagnosis content of the host computer in the DCS in the prior art is mainly concentrated on basic information, which makes it difficult for technicians to obtain more in-depth equipment conditions, affecting the overall efficiency, safety and reliability of the DCS.
[0058] An embodiment of the present application provides a fault diagnosis method for a DCS, wherein the DCS includes a fault diagnosis device and multiple host computers. The fault diagnosis method for the DCS may include the following steps.
[0059] Step 600, generating a configuration file according to the station type corresponding to each host computer.
[0060] Step 800: parsing the configuration file through the fault diagnosis device, and executing the host computer fault diagnosis method described in the above embodiment.
[0061] In the embodiment of the present application, the fault diagnosis device obtains and parses a simply configured configuration file, so that the fault diagnosis device can subsequently quickly start the corresponding program to implement fault diagnosis on each host computer.
[0062] Since the fault diagnosis method for DCS provided in the embodiment of the present application includes the host computer fault diagnosis method described in the above embodiment, it can also solve the problem that the diagnosis content of the host computer in the DCS in the prior art is mainly concentrated on basic information, which makes it difficult for technicians to obtain more in-depth equipment conditions, affecting the overall efficiency, safety and reliability of the DCS.
[0063] An embodiment of the present application provides a fault diagnosis apparatus for a DCS, wherein the DCS includes a fault diagnosis device and multiple host computers. The fault diagnosis apparatus for the DCS may include the following functional modules.
[0064] The configuration file generation module is used to generate configuration files according to the station type corresponding to each host computer.
[0065] The fault diagnosis module is used to parse the configuration file through the fault diagnosis device and execute the host computer fault diagnosis method described in the above embodiment.
[0066] Since the fault diagnosis device for DCS provided in the embodiment of the present application is a virtual device corresponding to the fault diagnosis method for DCS described in the above embodiment, it can also solve the problem in the prior art that the diagnosis content of the upper computer in the DCS is mainly concentrated on basic information, which makes it difficult for technicians to obtain more in-depth equipment conditions, affecting the overall efficiency, safety and reliability of the DCS.
[0067] An embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the host computer fault diagnosis method described in the above embodiment when executing the computer program.
[0068] The electronic device provided in the embodiment of the present application includes a processor capable of running the host computer fault diagnosis method of the aforementioned embodiment, and can therefore also solve the problem in the prior art that the diagnosis content of the host computer in the DCS is mainly concentrated on basic information, making it difficult for technicians to obtain more in-depth equipment conditions, thereby affecting the overall efficiency, safety and reliability of the DCS.
[0069] An embodiment of the present application provides a machine-readable storage medium, on which instructions are stored. When the instructions are executed by a processor, the processor is configured to execute the host computer fault diagnosis method described in the above embodiment.
[0070] The machine-readable storage medium provided in the embodiment of the present application stores instructions for causing the machine to execute the host computer fault diagnosis method described in the above embodiment. Therefore, it can also solve the problem in the prior art that the diagnosis content of the host computer in the DCS is mainly concentrated on basic information, which makes it difficult for technicians to obtain more in-depth equipment conditions, affecting the overall efficiency, safety and reliability of the DCS.
[0071] Figure 3 The internal structure diagram of the computer device of the embodiment of the present application is schematically shown. Figure 3 As shown, in one embodiment of the present application, a computer device is provided, which may be a terminal. The computer device includes a processor A01, a network interface A02, a display screen A04, an input device A05 and a memory (not shown in the figure) connected via a system bus. Among them, the processor A01 of the computer device is used to provide computing and control capabilities. The memory of the computer device includes an internal memory A03 and a non-volatile storage medium A06. The non-volatile storage medium A06 stores an operating system B01 and a computer program B02. The internal memory A03 provides an environment for the operation of the operating system B01 and the computer program B02 in the non-volatile storage medium A06. The network interface A02 of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor A01, a host computer fault diagnosis method is implemented. The display screen A04 of the computer device may be a liquid crystal display or an electronic ink display, and the input device A05 of the computer device may be a touch layer covered on the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.
[0072] Those skilled in the art will understand that Figure 3The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0073] In one embodiment, the host computer fault diagnosis device provided by the present application can be implemented in the form of a computer program. The computer program can be Figure 3 The computer device is run on the computer device shown. The memory of the computer device can store various program modules constituting the host computer fault diagnosis device, and the computer program composed of various program modules enables the processor to execute the steps of the host computer fault diagnosis method of each embodiment of the present application described in this specification.
[0074] Figure 3 The computer device shown can be Figure 2 The host computer data acquisition module in the host computer fault diagnosis device shown executes the step 200 and the host computer fault diagnosis module executes the step 400.
[0075] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0076] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0077] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0078] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0079] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0080] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0081] Computer readable media include permanent and non-permanent, removable and non-removable media, and can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0082] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0083] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A host computer fault diagnosis method, characterized in that: A fault diagnosis device applied to a DCS, wherein the DCS includes a plurality of host computers, each of which has a corresponding station type, and the method includes: Obtain the latest status data set of each host computer based on preset data acquisition rules; For each host computer, based on the latest status data set of the host computer, the latest fault diagnosis result set of the host computer is determined through the target program set corresponding to the host computer; wherein, the target program set corresponding to the host computer is generated based on the station type corresponding to the host computer; wherein, the target program set includes multiple preset fault diagnosis programs, and each preset fault diagnosis program corresponds to a fault diagnosis function.
2. The method according to claim 1, characterized in that Before obtaining the latest status data set of each host computer based on the preset data acquisition rule, the method further includes: For each host computer, according to the station type corresponding to the host computer, determine the target diagnostic item set corresponding to the host computer; wherein the target diagnostic item set includes multiple diagnostic items; For each host computer, a target program set corresponding to the host computer is determined according to a target diagnostic item set corresponding to the host computer; wherein the preset fault diagnosis programs in the target program set correspond one-to-one to the diagnostic items in the target diagnostic item set.
3. The method according to claim 1, characterized in that Before obtaining the latest status data set of each host computer based on the preset data acquisition rule, the method further includes: Acquire or generate preset fault diagnosis programs in each target program set, and install each preset fault diagnosis program on the fault diagnosis device.
4. The method according to claim 1, characterized in that: The latest status data set includes multiple latest status data; Based on the latest status data set of the host computer, the latest fault diagnosis result set of the host computer is determined through the target program set corresponding to the host computer, including: For each preset fault diagnosis program in the target program set, the target status data is determined according to the latest status data set of the host computer, the target status data is input into the preset fault diagnosis program, and the latest fault diagnosis result is output through the preset fault diagnosis program; wherein the target status data is the latest status data related to the fault diagnosis performed by the preset fault diagnosis program.
5. The method according to any one of claims 1 to 4, characterized in that The latest fault diagnosis result set includes the latest fault diagnosis results corresponding to the multiple fault diagnosis functions, and the fault diagnosis results are faulty or non-faulty; The method further comprises: For each host computer, sending the latest status data set and the latest fault diagnosis result set of the host computer to the data storage module of the DCS; and / or When there is a latest fault diagnosis result with a faulty value in the latest fault diagnosis result set, an alarm message is generated according to the fault diagnosis function corresponding to the latest fault diagnosis result with a faulty value and sent to the alarm module of the DCS.
6. A fault diagnosis method for DCS, characterized in that: The DCS includes a fault diagnosis device and multiple host computers, and the method includes: Generate configuration files according to the station types corresponding to each host computer; The configuration file is parsed by the fault diagnosis device, and the host computer fault diagnosis method according to any one of claims 1 to 5 is executed.
7. A host computer fault diagnosis device, characterized in that: A fault diagnosis device configured in a DCS, wherein the DCS includes a plurality of host computers, each of which has a corresponding station type, and the device includes: The host computer data acquisition module is used to obtain the latest status data set of each host computer based on preset data acquisition rules; The host computer fault diagnosis module is used to determine the latest fault diagnosis result set of each host computer based on the latest status data set of the host computer and through the target program set corresponding to the host computer; wherein the target program set corresponding to the host computer is generated based on the station type corresponding to the host computer; wherein the target program set includes multiple preset fault diagnosis programs, and each preset fault diagnosis program corresponds to a fault diagnosis function.
8. A fault diagnosis device for DCS, characterized in that: The DCS includes a fault diagnosis device and a plurality of host computers, and the device includes: The configuration file generation module is used to generate configuration files according to the station types corresponding to each host computer; A fault diagnosis module is used to parse the configuration file through the fault diagnosis device and execute the host computer fault diagnosis method according to any one of claims 1 to 5.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the host computer fault diagnosis method described in any one of claims 1 to 5 is implemented.
10. A machine-readable storage medium having instructions stored thereon, characterized in that: When the instruction is executed by a processor, the processor is configured to execute the host computer fault diagnosis method according to any one of claims 1 to 5.