Computer hardware fault positioning method and device
Through the cooperation of the front-end mirror detection module and the built-in detection module with the digital twin server simulator, efficient location of computer hardware faults is achieved, solving the problems of low manual debugging efficiency and location errors, and improving the accuracy and efficiency of fault location. .
Patent Information
- Application Number
- CN202410690925.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-08-23
AI Technical Summary
In the existing technology, computer hardware fault location relies on manual debugging, which is inefficient and prone to fault location errors.
The front-end mirror detection module and built-in detection module are used to cooperate with the digital twin server simulator to synchronously transmit traffic data and internal data to generate virtual components, send snapshots at preset intervals, and report faults after receiving fault alarm information. The hardware detection module is bridged to the digital twin server simulator to perform simulation operations to locate faults.
It improves the accuracy and efficiency of computer hardware fault location, saves human resources, and reduces the occurrence of fault location errors.
Smart Images

Figure CN118535368A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a method and device for locating computer hardware faults. Background Art
[0002] This section is intended to provide a background or context to the embodiments of the invention recited in the claims. No description herein is admitted to be prior art by inclusion in this section.
[0003] Computer hardware facilities are an indispensable part of banking business support. Banking business covers a wide range and requires a large amount of data processing and storage. Therefore, efficient and secure computer hardware facilities are needed to support it. If the computer hardware fails, it may cause the bank to be unable to operate normally. In order to judge computer hardware failures, the existing technology relies on manual debugging methods to locate computer hardware failures, but manual debugging methods are inefficient and prone to fault location errors. Summary of the invention
[0004] In an embodiment of the present invention, a computer hardware fault location method is proposed, which is applied to a client where the computer hardware is located. The client includes a front mirror detection module and a built-in detection module, which can improve the accuracy of computer hardware fault location, improve the fault location efficiency, and greatly save human resources, including:
[0005] Synchronously transmitting the traffic data in the computer hardware corresponding to each front mirror detection module to the corresponding virtual component in the digital twin server simulator; wherein each computer hardware is provided with a front mirror detection module; and each virtual component is a digital copy of the corresponding computer hardware;
[0006] Synchronously transmitting the internal data in the computer hardware corresponding to each built-in detection module to the corresponding virtual component in the digital twin server simulator; wherein each computer hardware is provided with a built-in detection module; the flow data and the internal data are used to ensure that the operating state of the virtual component is synchronized with the operating state of the client where the computer hardware is located;
[0007] Send a snapshot of the traffic data and internal data of each computer hardware to the digital twin server simulator at a preset interval;
[0008] If a fault warning message is received, the computer hardware that has failed is determined based on the fault warning message;
[0009] Sending a communication disconnection signal to the digital twin server simulator, wherein the communication disconnection signal includes an identifier of a virtual component corresponding to the failed computer hardware; the communication disconnection signal is used to disconnect the communication of the virtual component corresponding to the computer hardware;
[0010] The front mirror detection module of the faulty computer hardware is bridged to the digital twin server simulator, so that the digital twin server simulator, in the current running state, performs simulation operation according to the snapshot of the flow data and the snapshot of the internal data of each computer hardware stored in the digital twin server simulator to obtain the fault location result;
[0011] Receive the fault location results determined by the digital twin server simulator.
[0012] In an embodiment of the present invention, a computer hardware fault location method is proposed, which is applied to a digital twin server simulator. The digital twin server simulator includes multiple virtual components, which can improve the accuracy of computer hardware fault location, improve the fault location efficiency, and greatly save human resources, including:
[0013] Receive the flow data in the computer hardware corresponding to each pre-image detection module synchronously transmitted by the client where the computer hardware is located, and store it in the corresponding virtual component; wherein each computer hardware is provided with the computer hardware on which the pre-image detection module is provided; each virtual component is a digital copy of the corresponding computer hardware;
[0014] Receiving internal data in the computer hardware corresponding to each built-in detection module synchronously transmitted by the client where the computer hardware is located, and storing the data in the corresponding virtual component; wherein each computer hardware is provided with a built-in detection module;
[0015] Utilizing the flow data and the internal data, synchronizing the operating status of the virtual component with the operating status of the client where the computer hardware is located;
[0016] Receive a snapshot of traffic data and internal data of each computer hardware sent by a client where the computer hardware is located at a preset interval;
[0017] After receiving a communication disconnection signal sent by the client where the computer hardware is located, disconnect the communication of the virtual component corresponding to the computer hardware where the fault occurs; wherein the computer hardware where the fault occurs is determined by the client where the computer hardware is located according to the fault alarm information after receiving the fault alarm information of the computer hardware;
[0018] After the front mirror detection module of the faulty computer hardware is bridged to the digital twin server simulator, a simulation run is performed based on the snapshot of the traffic data and the snapshot of the internal data of each computer hardware to obtain the fault location result;
[0019] The fault location result is sent to the client where the computer hardware is located.
[0020] In an embodiment of the present invention, a computer hardware fault location device is proposed, which is applied to a client where the computer hardware is located. The client includes a front mirror detection module and a built-in detection module, which can improve the accuracy of computer hardware fault location, improve the fault location efficiency, and greatly save human resources, including:
[0021] A first data synchronization unit is used to synchronously transmit the flow data in the computer hardware corresponding to each front mirror detection module to the corresponding virtual component in the digital twin server simulator; wherein each computer hardware is provided with a front mirror detection module; and each virtual component is a digital copy of the corresponding computer hardware;
[0022] A second data synchronization unit is used to synchronously transmit the internal data in the computer hardware corresponding to each built-in detection module to the corresponding virtual component in the digital twin server simulator; wherein each computer hardware is provided with a built-in detection module; the flow data and the internal data are used to ensure that the operation state of the virtual component is synchronized with the operation state of the client where the computer hardware is located;
[0023] A data snapshot unit, used to send a snapshot of the flow data and the internal data of each computer hardware to the digital twin server simulator at a preset interval;
[0024] A faulty hardware determination unit, for determining the computer hardware that has failed according to the faulty warning information if the faulty warning information is received;
[0025] A signal sending unit, used to send a communication disconnection signal to the digital twin server simulator, wherein the communication disconnection signal includes an identifier of a virtual component corresponding to the failed computer hardware; the communication disconnection signal is used to disconnect the communication of the virtual component corresponding to the computer hardware;
[0026] A fault hardware bridging unit is used to bridge the front mirror detection module of the faulty computer hardware to the digital twin server simulator, so that the digital twin server simulator, in the current running state, performs simulation operation according to the snapshot of the flow data and the snapshot of the internal data of each computer hardware stored in the digital twin server simulator to obtain the fault location result;
[0027] The fault result receiving unit is used to receive the fault location result determined by the digital twin server simulator.
[0028] In an embodiment of the present invention, a computer hardware fault location device is proposed, which is applied to a digital twin server simulator. The digital twin server simulator includes multiple virtual components, which can improve the accuracy of computer hardware fault location, improve the fault location efficiency, and greatly save human resources, including:
[0029] A first data receiving unit is used to receive the flow data in the computer hardware corresponding to each pre-image detection module, which is synchronously transmitted by the client where the computer hardware is located, and store it in the corresponding virtual component; wherein each computer hardware is provided with a pre-image detection module provided on the computer hardware; and each virtual component is a digital copy of the corresponding computer hardware;
[0030] A second data receiving unit is used to receive the internal data of the computer hardware corresponding to each built-in detection module synchronously transmitted by the client where the computer hardware is located, and store it in the corresponding virtual component; wherein each computer hardware is provided with a built-in detection module;
[0031] An operation status synchronization unit, used to synchronize the operation status of the virtual component with the operation status of the client where the computer hardware is located by using the flow data and the internal data;
[0032] A snapshot receiving unit, used to receive a snapshot of the flow data and internal data of each computer hardware sent by a client where the computer hardware is located at a preset interval;
[0033] A virtual component communication disconnection unit, used to disconnect the communication of the virtual component corresponding to the computer hardware that has failed after receiving a communication disconnection signal sent by the client where the computer hardware is located; wherein the computer hardware that has failed is determined by the client where the computer hardware is located according to the fault alarm information after receiving the fault alarm information of the computer hardware;
[0034] A simulation operation unit is used to perform simulation operation according to a snapshot of traffic data and a snapshot of internal data of each computer hardware after the front mirror detection module of the faulty computer hardware is bridged to the digital twin server simulator to obtain a fault location result;
[0035] The fault result sending unit is used to send the fault location result to the client where the computer hardware is located.
[0036] The embodiment of the present invention provides a computer hardware fault location system, which is applied to a client where the computer hardware is located, and includes:
[0037] A front mirror detection module and a built-in detection module are arranged on each computer hardware, and a computer hardware fault locating device is applied to the client where the computer hardware is located.
[0038] In an embodiment of the present invention, a computer hardware fault locating system is proposed, which is applied to a digital twin server simulator, including: multiple virtual components, and a computer hardware fault locating device applied to the digital twin server simulator.
[0039] In an embodiment of the present invention, a computer device is proposed, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, a computer hardware fault locating method is implemented.
[0040] In an embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, a computer hardware fault locating method is implemented.
[0041] A computer program product is provided in an embodiment of the present invention. The computer program product includes a computer program. When the computer program is executed by a processor, a computer hardware fault locating method is implemented.
[0042] The present invention can solve the problem that the method of locating computer hardware faults by manual debugging is inefficient and prone to fault locating errors; the embodiment of the present invention synchronously transmits the flow data in the computer hardware corresponding to each front mirror detection module to the corresponding virtual component in the digital twin server simulator; wherein each computer hardware is provided with a front mirror detection module; each virtual component is a digital copy of the corresponding computer hardware; the internal data in the computer hardware corresponding to each built-in detection module is synchronously transmitted to the corresponding virtual component in the digital twin server simulator; wherein each computer hardware is provided with a built-in detection module; the flow data and internal data are used to ensure that the operating state of the virtual component is synchronized with the operating state of the client where the computer hardware is located; each computer hardware is synchronized at a preset interval. The snapshot of the flow data and the snapshot of the internal data are sent to the digital twin server simulator; if a fault alarm information is received, the computer hardware that has failed is determined according to the fault alarm information; a communication disconnection signal is sent to the digital twin server simulator, and the communication disconnection signal includes the identifier of the virtual component corresponding to the computer hardware that has failed; the communication disconnection signal is used to disconnect the communication of the virtual component corresponding to the computer hardware; the front mirror detection module of the computer hardware that has failed is bridged to the digital twin server simulator, so that the digital twin server simulator, in the current running state, performs simulation operation according to the snapshot of the flow data and the snapshot of the internal data of each computer hardware stored in the digital twin server simulator to obtain the fault location result; and receives the fault location result determined by the digital twin server simulator. The embodiment of the present invention uses the front mirror detection module to bridge the computer hardware that has failed to the digital twin server simulator, simulates the flow data and the snapshot of the internal data of each computer hardware to obtain the fault location result, which can improve the accuracy of computer hardware fault location, improve the efficiency of fault location, and greatly save human resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0044] Figure 1 It is a flowchart of a method for locating a computer hardware fault according to an embodiment of the present invention.
[0045] Figure 2 It is a specific example diagram of the computer hardware fault locating method according to an embodiment of the present invention.
[0046] Figure 3 It is a specific example diagram of the computer hardware fault locating method according to an embodiment of the present invention.
[0047] Figure 4 It is a specific example diagram of the computer hardware fault locating method according to an embodiment of the present invention.
[0048] Figure 5 It is a specific example diagram of the computer hardware fault locating method according to an embodiment of the present invention.
[0049] Figure 6 It is a schematic diagram of a computer hardware fault locating device applied to a client where the computer hardware is located according to an embodiment of the present invention.
[0050] Figure 7 It is a schematic diagram of a computer hardware fault locating device applied to a digital twin server simulator according to an embodiment of the present invention.
[0051] Figure 8 It is a schematic diagram of a computer hardware fault locating system applied to a client where the computer hardware is located according to an embodiment of the present invention.
[0052] Fig. 9 It is a schematic diagram of a computer hardware fault locating system applied to a digital twin server simulator according to an embodiment of the present invention.
[0053] Fig.10 Schematic diagram of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION
[0054] To make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.
[0055] The term "and / or" herein only describes an association relationship, indicating that three relationships may exist. For example, A and / or B may represent the following three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C may represent including any one or more elements selected from the set consisting of A, B, and C.
[0056] In the description of this specification, the terms "include", "including", "have", "contain", etc. are all open terms, which mean including but not limited to. The descriptions with reference to the terms "one embodiment", "a specific embodiment", "some embodiments", "for example", etc. mean that the specific features, structures or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. The order of steps involved in each embodiment is used to schematically illustrate the implementation of the present application, and the order of steps is not limited and can be appropriately adjusted as needed.
[0057] The principle and spirit of the present invention are explained in detail below with reference to several representative embodiments of the present invention.
[0058] Figure 1 FIG. 1 is a flow chart of a method for locating a computer hardware fault according to an embodiment of the present invention. Figure 1 As shown, a computer hardware fault location method is applied to a client where the computer hardware is located, and the client includes a front mirror detection module and a built-in detection module. The method includes:
[0059] Step 101, synchronously transmitting the flow data in the computer hardware corresponding to each front mirror detection module to the corresponding virtual component in the digital twin server simulator; wherein each computer hardware is provided with a front mirror detection module; and each virtual component is a digital copy of the corresponding computer hardware;
[0060] Step 102, synchronously transmitting the internal data in the computer hardware corresponding to each built-in detection module to the corresponding virtual component in the digital twin server simulator; wherein each computer hardware is provided with a built-in detection module; the flow data and the internal data are used to ensure that the operating state of the virtual component is synchronized with the operating state of the client where the computer hardware is located;
[0061] Step 103, sending a snapshot of the traffic data and the internal data of each computer hardware to the digital twin server simulator at a preset interval;
[0062] Step 104, if fault warning information is received, determine the computer hardware that has failed according to the fault warning information;
[0063] Step 105, sending a communication disconnection signal to the digital twin server simulator, wherein the communication disconnection signal includes an identifier of a virtual component corresponding to the failed computer hardware; the communication disconnection signal is used to disconnect the communication of the virtual component corresponding to the computer hardware;
[0064] Step 106, bridge the front mirror detection module of the faulty computer hardware to the digital twin server simulator, so that the digital twin server simulator, in the current running state, performs simulation operation according to the snapshot of the flow data and the snapshot of the internal data of each computer hardware stored in the digital twin server simulator to obtain the fault location result;
[0065] Step 107, receiving the fault location result determined by the digital twin server simulator.
[0066] Depend on Figure 1 It can be seen from the shown process that the embodiment of the present invention synchronously transmits the flow data in the computer hardware corresponding to each front mirror detection module to the corresponding virtual component in the digital twin server simulator; wherein each computer hardware is provided with a front mirror detection module; each virtual component is a digital copy of the corresponding computer hardware; the internal data in the computer hardware corresponding to each built-in detection module is synchronously transmitted to the corresponding virtual component in the digital twin server simulator; wherein each computer hardware is provided with a built-in detection module; at a preset interval, a snapshot of the flow data and a snapshot of the internal data of each computer hardware are sent to the digital twin server simulator; if a fault alarm information is received, the computer hardware that has failed is determined according to the fault alarm information; a communication disconnection signal is sent to the digital twin server simulator, and the communication disconnection signal includes the identifier of the virtual component corresponding to the computer hardware that has failed; the front mirror detection module of the computer hardware that has failed is bridged to the digital twin server simulator, so that the digital twin server simulator, in the current running state, performs simulation operation according to the snapshot of the flow data and the snapshot of the internal data of each computer hardware stored in the digital twin server simulator to obtain the fault location result; and the fault location result determined by the digital twin server simulator is received. The embodiment of the present invention utilizes a front-end mirror detection module to bridge the faulty computer hardware to the digital twin server simulator, and simulates the traffic data and internal data snapshots of each computer hardware to obtain the fault location result, which can improve the accuracy of computer hardware fault location, improve the fault location efficiency, and greatly save human resources.
[0067] In order to explain the above-mentioned computer hardware fault location method more clearly, each step is described in detail below.
[0068] In one embodiment of the present invention, the client sends a communication disconnection signal to the digital twin server simulator, and the communication disconnection signal is used to disconnect the communication between the virtual component corresponding to the computer hardware and the virtual bus;
[0069] Bridge the front mirror detection module of the failed computer hardware to the digital twin server simulator. Specifically, bridge the front mirror detection module of the failed computer hardware to the virtual bus of the digital twin server simulator.
[0070] Send a snapshot of the traffic data and a snapshot of the internal data of each computer hardware to the digital twin server simulator. Specifically, send a snapshot of the traffic data and a snapshot of the internal data of each computer hardware to the virtual memory of the digital twin server simulator.
[0071] In one embodiment of the present invention, the operating system running data of the client is synchronously transmitted to the digital twin server simulator; the operating system running data, traffic data and internal data are used to ensure that the running status of the virtual component is synchronized with the running status of the client where the computer hardware is located.
[0072] In the specific implementation, the operating system running data of the client (hardware device) is synchronously transmitted to the digital twin server simulator through the Agent.
[0073] In one embodiment of the present invention, the client further includes a global monitoring card, and the front mirror detection module and the built-in detection module are communicatively connected to the global monitoring card via a PCIE bus;
[0074] Through the global monitoring card, the traffic data in the computer hardware corresponding to each front-end mirror detection module is synchronously transmitted to the corresponding virtual component in the digital twin server simulator;
[0075] Through the global monitoring card, the internal data in the computer hardware corresponding to each built-in detection module is synchronously transmitted to the corresponding virtual component in the digital twin server simulator.
[0076] Figure 2 It is a specific example diagram of the computer hardware fault locating method according to an embodiment of the present invention.
[0077] In one embodiment of the present invention, reference Figure 2, each computer hardware (including memory, graphics card, hard disk, etc.) is equipped with a front mirror detection module and a built-in detection module, and each computer hardware is connected to the bridge chip, which is a processing chip that directly exchanges data and instructions with the CPU and acts as a connecting bridge; the global monitoring card is connected to the bridge chip through the PCIE protocol, and is used to synchronously transmit the flow data in the computer hardware corresponding to each front mirror detection module to the corresponding virtual component in the digital twin server simulator through the global monitoring card, and synchronously transmit the internal data in the computer hardware corresponding to each built-in detection module to the corresponding virtual component in the digital twin server simulator; in addition, the CPU operation data (operating system operation data) is sent to the global monitoring card through the Agent, and further transmitted to the digital twin server simulator. The Agent can also be used to directly transmit the CPU operation data to the digital twin server simulator. BMC (Baseboard Management Controller) is a dedicated controller used to monitor and manage the server, which is connected to the bridge chip.
[0078] In the present invention, the global monitoring card can communicate with the computer hardware bus through the PCIE protocol, the front mirror detection module can physically intercept the hardware flow data, and can also make mirror-level copies of the flow data. The front mirror detection module is equipped with an independent communication function, which can communicate directly with the digital twin server, and can also communicate with the global monitoring card through the PCIE bus. The built-in detection module is used to detect the internal data of the computer hardware, and the operating system level data can be reported to the global monitoring card through the Agent and transmitted to the digital twin server simulator.
[0079] In one embodiment of the present invention, the front mirror detection module (hereinafter referred to as the front module) has two communication modes:
[0080] (1) Bus communication mode: flow data can be forwarded to the global monitoring card through the PCIE bus, and then forwarded to the digital twin server simulator;
[0081] (2) Independent communication mode. In this communication mode, the PCIE bus or global monitoring card is not available, and there may be problems with the device power supply. This communication mode is activated in the hardware debugging mode. The front mirror detection module can enter this mode through the built-in battery or a separate power supply.
[0082] There are two communication modes for the built-in detection module:
[0083] (1) Bus communication mode: internal data can be forwarded to the global monitoring card through the PCIE bus, and then forwarded to the digital twin server simulator. This mode does not rely on the front mirror detection module;
[0084] (2) Front-end module communication mode: This mode is activated in the hardware debugging mode. The internal data detected by the built-in detection module is directly forwarded to the digital twin server simulator through the front-end mirror detection module.
[0085] The operating system data reaches the digital twin server simulator through the following channels:
[0086] (1) When the network, network card, and operating system are normal, the Agent can communicate directly with the digital twin server and directly transmit operating system data;
[0087] (2) When there are abnormalities in the network, network card, and operating system, but the PCIE bus is normal, the Agent cannot communicate directly with the digital twin server. At this time, the operating system data can be reported to the digital twin server through the PCIE bus through the global monitoring card;
[0088] (3) When there are abnormalities in the network, network card, and operating system, and there are problems with the global monitoring card, the operating system data can be transmitted through the PCIE bus through the front mirror detection module and finally reported to the digital twin server;
[0089] (4) When there are abnormalities in the network, network card, or operating system, and when there are problems with the global monitoring card or PCIE bus, the operating system data can be forwarded to the digital twin server through the BMC.
[0090] Figure 3 It is a specific example diagram of the computer hardware fault locating method according to an embodiment of the present invention.
[0091] In one embodiment of the present invention, reference Figure 3 , synchronously transmit the flow data in the computer hardware corresponding to each front-end mirror detection module (front-end module) to the data synchronization component of the digital twin server, and the data synchronization component of the digital twin server synchronizes the flow data to the corresponding virtual component through the bridge component in the simulator; synchronously transmit the internal data in the computer hardware corresponding to each built-in detection module (built-in module) to the data synchronization component of the digital twin server, and the data synchronization component of the digital twin server synchronizes the internal data to the corresponding virtual component through the bridge component in the simulator; the flow data and internal data can also be transmitted to the global monitoring card, and the flow data and internal data are transmitted to the data synchronization component in the digital twin server simulator through the global monitoring card; the operating system data is directly transmitted to the data synchronization component in the digital twin server simulator using the Agent. When there is a problem with the global monitoring card and the PCIE bus, the operating system data can be forwarded and reported to the data synchronization component of the digital twin server through the BMC; after bridging the failed computer hardware, the hardware fault is located through the troubleshooting component and the analysis component.
[0092] In specific implementation, in real-time mirroring mode, the internal data and traffic data of all hardware components will be collected through the built-in mirror detection module and synchronously sent to the digital twin server. The digital twin server runs a software simulator to receive all mirror data to ensure that the simulator can reproduce the internal data and traffic data of the hardware and realize real-time mirror-level digital twins.
[0093] In specific implementation, in snapshot mode, the internal data and traffic data of the hardware can be regularly snapshotted and synchronously sent to the digital twin server. The digital twin server runs the software simulator to regularly restore the snapshot to ensure that the simulator can reproduce the internal data and traffic data of the hardware at a certain time, thus realizing the snapshot-level digital twin. The snapshot can retain the previous environmental data and hardware monitoring data. If the server crashes or the simulator quits working, the historical operating environment can be restored based on the environmental data and hardware monitoring data. At the same time, if the simulator in snapshot mode runs for a long time based on the old snapshot and there is data that is out of sync with the real machine, it is necessary to reload the recent snapshot data from the real machine.
[0094] In another embodiment of the present invention, in the bus proxy mode, the front-end mirror detection module and the built-in detection module are not necessarily configured, but a global monitoring card needs to be configured. All bus processes are forwarded to the CPU through the global monitoring card. The global monitoring card can perform flow data mirroring or snapshot data collection and send it to the simulator of the digital twin server.
[0095] Figure 4 It is a specific example diagram of the computer hardware fault locating method according to an embodiment of the present invention.
[0096] In a real-time embodiment of the present invention, reference Figure 4 When bridging the faulty computer hardware to the digital twin server simulator, shut down the physical machine (computer), disconnect the communication between the faulty computer hardware and the computer hardware bus (physical bus), shut down the virtual machine, disconnect the communication of the virtual components corresponding to the faulty computer hardware, that is, uninstall the virtual components, bridge the front-end mirror detection module of the faulty computer hardware to the virtual bus of the digital twin server simulator, and then start the virtual machine to locate the fault of the faulty computer hardware.
[0097] In one embodiment of the present invention, before the front mirror detection module of the faulty computer hardware is bridged to the digital twin server simulator, the communication between the faulty computer hardware and the computer hardware bus is disconnected, wherein the communication between the computer hardware and the computer hardware bus is established through the front mirror detection module.
[0098] In one embodiment of the present invention, if fault warning information of computer hardware is received, the computer hardware where the fault occurs is determined based on the fault warning information; if fault warning information of the computer hardware is not received, after receiving a debugging instruction of the computer hardware, a front mirror detection module corresponding to the computer hardware to be debugged is introduced into a debugging operating system to perform a preset functional test and / or a preset non-functional test on the computer hardware to be debugged to obtain a test result; and based on the test result, a fault location result of the computer hardware to be debugged is determined.
[0099] In specific implementation, after entering the computer hardware debugging mode, the computer hardware needs to be configured with at least a front mirror detection module. When this mode is triggered, the front mirror detection module will disconnect the communication between the computer hardware and the bus, and use the module power supply to power the computer hardware, so as to realize real-time data collection and troubleshooting of the isolated hardware. At the same time, the hardware can be completely shielded in the minimal mode, and the corresponding virtual components running in the digital twin server simulator can be bridged through the front mirror detection module to realize the mixed operation of virtual components on physical hardware; similarly, the computer hardware can also be bridged to the virtual bus running in the digital twin server simulator through the front mirror detection module, which is another hybrid mode. The hybrid mode can realize the mixing of multiple computer hardware.
[0100] Debug mode can be triggered in the following situations:
[0101] (1) Local debugging (troubleshooting) is automatically triggered. When the entire machine crashes due to an unknown fault, the faulty hardware needs to be checked one by one. At this time, the front-end image detection module of each hardware of the entire machine will automatically start debugging the hardware of this module at the same time. At this time, the front-end image detection module will boot into a built-in minimal operating system and try to perform relevant functional tests and / or non-functional tests.
[0102] (2) Local debugging (troubleshooting) is manually remotely triggered. When it is suspected that some hardware has an untriggered fault, the server can initiate the device shutdown, and the digital twin server specifies the hardware's front-end image detection module to enter the debugging operating system and attempt to perform relevant functional tests and / or non-functional tests.
[0103] (3) Remote debugging (troubleshooting or development inspection) is manually triggered. When it is necessary to bridge the specified hardware to be debugged to the remote simulator for historical data reproduction and debugging, the digital twin server can initiate the device shutdown, and the digital twin server specifies the hardware's front mirror detection module to enter the remote bridge mode. At this time, the remote simulator can restore the snapshot that could not be reproduced locally before, and debug it in combination with the hardware to be debugged. Note that the purpose of debugging can be to troubleshoot suspected faulty hardware, or to reproduce and check hardware instructions and process logic in the hardware development and testing phase.
[0104] If it is necessary to debug and reproduce hardware failures, the existing technology lacks a more convenient snapshot solution, and can often only collect a certain time point or part of the data, and there is no condition to reproduce it on the simulator. The present invention can reproduce the hardware data more completely on the simulator, which can facilitate debugging and troubleshooting.
[0105] The existing technology cannot record, collect, and reproduce the underlying data traffic of hardware components at the mirror level. On the one hand, the present invention collects component-level data hardware data in real time and sends the data to the digital twin server for recording. On the other hand, the digital twin server simulator is used to reproduce data and collect and analyze information.
[0106] Since the present invention supports hardware component-level data interception and mirroring, more comprehensive hardware data collection and mirrored traffic data storage can be achieved. The data collection channel depends on the channel of the collection board or the server service network card. When the server motherboard fails, it is impossible to enable individual components in the component-level minimum mode for troubleshooting. The front mirror detection module of all components of the present invention supports separate power supply. When the hardware fails or the server motherboard fails, it can be guided by the built-in minimal system of the built-in mirror detection module, and fault recovery and fault system inspection can be performed.
[0107] Figure 5 It is a specific example diagram of the computer hardware fault locating method according to an embodiment of the present invention.
[0108] The present invention also provides a computer hardware fault location method, which is applied to a digital twin server simulator, wherein the digital twin server simulator includes multiple virtual components. Figure 5 , the detailed steps of the method are as follows:
[0109] Step 501, receiving the flow data in the computer hardware corresponding to each pre-image detection module synchronously transmitted by the client where the computer hardware is located, and storing it in the corresponding virtual component; wherein each computer hardware is provided with the computer hardware on which the pre-image detection module is provided; each virtual component is a digital copy of the corresponding computer hardware;
[0110] Step 502, receiving the internal data of the computer hardware corresponding to each built-in detection module synchronously transmitted by the client where the computer hardware is located, and storing it in the corresponding virtual component; wherein each computer hardware is provided with a built-in detection module;
[0111] Step 503, using the flow data and internal data, synchronize the operation status of the virtual component with the operation status built-in detection module of the client where the computer hardware is located;
[0112] Step 504, receiving a snapshot of the flow data and the internal data of each computer hardware sent by the client where the computer hardware is located at a preset interval;
[0113] Step 505, after receiving the communication disconnection signal sent by the client where the computer hardware is located, disconnect the communication of the virtual component corresponding to the computer hardware where the fault occurs; wherein the computer hardware where the fault occurs is determined by the client where the computer hardware is located according to the fault alarm information after receiving the fault alarm information of the computer hardware;
[0114] Step 506, after the front mirror detection module of the computer hardware that has failed is bridged to the digital twin server simulator, a simulation operation is performed based on a snapshot of the flow data and the snapshot of the internal data of each computer hardware to obtain a fault location result;
[0115] Step 507: Send the fault location result to the client where the computer hardware is located.
[0116] In one embodiment of the present invention, when an abnormality occurs in the digital twin server or the digital twin server simulator, the operating environment is restored based on a snapshot of the traffic data and a snapshot of the internal data of each computer hardware.
[0117] In one embodiment of the present invention, it further includes:
[0118] Receiving operating system running data synchronously transmitted by the client where the computer hardware is located;
[0119] The operating system operation data, flow data and internal data are used to synchronize the operation status of the virtual component with the operation status of the client where the computer hardware is located.
[0120] In one embodiment of the present invention, it further includes:
[0121] Simulate and run the preset test cases to obtain the running results;
[0122] The fault location result is obtained by querying in a preset knowledge base according to the operation result, wherein the preset knowledge base contains the fault location result corresponding to the operation result of the simulated operation preset test case.
[0123] When implementing it, refer to Figure 4 The digital twin server debugging and troubleshooting module sends component test cases and debugging instructions, simulates the test cases, and obtains the running results; according to the running results, the fault location results are obtained by querying the fault test knowledge base (i.e., the preset knowledge base).
[0124] It should be noted that, although the operations of the method of the present invention are described in a specific order in the above embodiments and the accompanying drawings, this does not require or imply that the operations must be performed in the specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.
[0125] The implementation of the computer hardware fault location device can refer to the implementation of the above method, and the repeated parts will not be repeated. The terms "module" or "unit" used below can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware is also possible and conceived.
[0126] Based on the same inventive concept, the present invention also proposes a computer hardware fault location device, such as Figure 6 As shown, the device is applied to a client where the computer hardware is located, the client includes a front mirror detection module and a built-in detection module, and the device includes:
[0127] The first data synchronization unit 601 is used to synchronously transmit the flow data in the computer hardware corresponding to each front mirror detection module to the corresponding virtual component in the digital twin server simulator; wherein each computer hardware is provided with a front mirror detection module; and each virtual component is a digital copy of the corresponding computer hardware;
[0128] A second data synchronization unit 602 is used to synchronously transmit the internal data in the computer hardware corresponding to each built-in detection module to the corresponding virtual component in the digital twin server simulator; wherein each computer hardware is provided with a built-in detection module; the flow data and the internal data are used to ensure that the operation state of the virtual component is synchronized with the operation state of the client where the computer hardware is located;
[0129] The data snapshot unit 603 is used to send a snapshot of the flow data and the internal data of each computer hardware to the digital twin server simulator at a preset interval;
[0130] A faulty hardware determination unit 604 is used to determine the computer hardware that has failed according to the fault warning information if the fault warning information is received;
[0131] A signal sending unit 605 is used to send a communication disconnection signal to the digital twin server simulator, wherein the communication disconnection signal includes an identifier of a virtual component corresponding to the failed computer hardware; the communication disconnection signal is used to disconnect the communication of the virtual component corresponding to the computer hardware;
[0132] The fault hardware bridging unit 606 is used to bridge the front mirror detection module of the faulty computer hardware to the digital twin server simulator, so that the digital twin server simulator, in the current running state, performs simulation operation according to the snapshot of the flow data and the snapshot of the internal data of each computer hardware stored in the digital twin server simulator to obtain the fault location result;
[0133] The fault result receiving unit 607 is used to receive the fault location result determined by the digital twin server simulator.
[0134] In one embodiment of the present invention, the communication disconnection signal is used to disconnect the communication between the virtual component corresponding to the computer hardware and the virtual bus;
[0135] The fault hardware bridging unit 606 is specifically used for:
[0136] Bridge the front mirror detection module of the failed computer hardware to the virtual bus of the digital twin server simulator;
[0137] The data snapshot unit 603 is specifically used for:
[0138] Send a snapshot of the traffic data and internal data of each computer hardware to the virtual memory of the digital twin server simulator.
[0139] In one embodiment of the present invention, it further includes:
[0140] The third data synchronization unit is used to synchronously transmit the operating system operation data of the client to the digital twin server simulator; the operating system operation data, traffic data and internal data are used to ensure that the operating status of the virtual component is synchronized with the operating status of the client where the computer hardware is located.
[0141] In one embodiment of the present invention, the client (computer device) further includes a global monitoring card, and the front mirror detection module and the built-in detection module are communicatively connected to the global monitoring card via a PCIE bus;
[0142] The first data synchronization unit 601 is also used to synchronously transmit the flow data in the computer hardware corresponding to each front mirror detection module to the corresponding virtual component in the digital twin server simulator through the global monitoring card;
[0143] The second data synchronization unit 602 is also used to synchronously transmit the internal data in the computer hardware corresponding to each built-in detection module to the corresponding virtual component in the digital twin server simulator through the global monitoring card.
[0144] In one embodiment of the present invention, it further includes:
[0145] The hardware communication disconnection unit is used to disconnect the communication between the faulty computer hardware and the computer hardware bus before bridging the front mirror detection module of the faulty computer hardware to the digital twin server simulator, wherein the communication between the computer hardware and the computer hardware bus is established through the front mirror detection module.
[0146] In one embodiment of the present invention, it further includes:
[0147] The hardware debugging unit is used for, if no fault alarm information of the computer hardware is received, introducing the front mirror detection module corresponding to the computer hardware to be debugged into the debugging operating system after receiving the debugging instruction of the computer hardware to perform preset functional tests and / or preset non-functional tests on the computer hardware to be debugged to obtain test results; and determining the fault location results of the computer hardware to be debugged according to the test results.
[0148] The embodiment of the present invention also provides a computer hardware fault location device, which is applied to a digital twin server simulator. The digital twin server simulator includes multiple virtual components, such as Figure 7 As shown, the device comprises:
[0149] The first data receiving unit 701 is used to receive the flow data in the computer hardware corresponding to each pre-image detection module, which is synchronously transmitted by the client where the computer hardware is located, and store it in the corresponding virtual component; wherein each computer hardware is provided with the computer hardware on which the pre-image detection module is provided; and each virtual component is a digital copy of the corresponding computer hardware;
[0150] The second data receiving unit 702 is used to receive the internal data of the computer hardware corresponding to each built-in detection module synchronously transmitted by the client where the computer hardware is located, and store it in the corresponding virtual component; wherein each computer hardware is provided with a built-in detection module;
[0151] The operation status synchronization unit 703 is used to synchronize the operation status of the virtual component with the operation status of the client where the computer hardware is located by using the flow data and the internal data;
[0152] The snapshot receiving unit 704 is used to receive the snapshot of the flow data and the snapshot of the internal data of each computer hardware sent by the client where the computer hardware is located at a preset interval;
[0153] The virtual component communication disconnection unit 705 is used to disconnect the communication of the virtual component corresponding to the computer hardware where the fault occurs after receiving the communication disconnection signal sent by the client where the computer hardware is located; wherein the computer hardware where the fault occurs is determined by the client where the computer hardware is located according to the fault alarm information after receiving the fault alarm information of the computer hardware;
[0154] The simulation operation unit 706 is used to perform simulation operation according to the snapshot of the flow data and the snapshot of the internal data of each computer hardware after the front mirror detection module of the computer hardware with fault is bridged to the digital twin server simulator to obtain the fault location result;
[0155] The fault result sending unit 707 is used to send the fault location result to the client where the computer hardware is located.
[0156] In one embodiment of the present invention, it further includes:
[0157] The operating environment recovery unit is used to restore the operating environment based on the snapshots of the traffic data and internal data of each computer hardware when an abnormality occurs in the digital twin server or the digital twin server simulator.
[0158] In one embodiment of the present invention, it further includes:
[0159] The third data receiving unit is used to receive the operating system running data synchronously transmitted by the client where the computer hardware is located; and use the operating system running data, flow data and internal data to synchronize the running state of the virtual component with the running state of the client where the computer hardware is located.
[0160] In one embodiment of the present invention, the simulation operation unit 706 is further used for:
[0161] The preset test case is simulated and run to obtain the run result; and the fault location result is obtained by querying in the preset knowledge base according to the run result, wherein the preset knowledge base contains the fault location result corresponding to the run result of the simulated run preset test case.
[0162] It should be noted that, although several modules of the computer hardware fault location device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to an embodiment of the present invention, the features and functions of two or more modules described above can be embodied in one module. Conversely, the features and functions of one module described above can be further divided into multiple modules to be embodied.
[0163] The present invention also proposes a computer hardware fault location system, which is applied to the client where the computer hardware is located, referring to Figure 8 ,include:
[0164] A front mirror detection module and a built-in detection module are arranged on each computer hardware, and a computer hardware fault locating device is applied to the client where the computer hardware is located.
[0165] The present invention also proposes a computer hardware fault location system, which is applied to a digital twin server simulator. Fig. 9 , including: multiple virtual components, and a computer hardware fault locating device applied to a digital twin server simulator.
[0166] Based on the above invention concept, Fig.10 As shown, the present invention also proposes a computer device 1000, including a memory 1001, a processor 1002, and a computer program 1003 stored in the memory 1001 and executable on the processor 1002, wherein the processor 1002 implements the aforementioned computer hardware fault locating method when executing the computer program 1003.
[0167] Based on the aforementioned inventive concept, the present invention proposes a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the aforementioned computer hardware fault locating method is implemented.
[0168] Based on the aforementioned inventive concept, the present invention proposes a computer program product, wherein the computer program product includes a computer program, and when the computer program is executed by a processor, a computer hardware fault locating method is implemented.
[0169] The present invention can solve the problem that the method of locating computer hardware faults by manual debugging is inefficient and prone to fault locating errors; the embodiment of the present invention synchronously transmits the flow data in the computer hardware corresponding to each front mirror detection module to the corresponding virtual component in the digital twin server simulator; wherein each computer hardware is provided with a front mirror detection module; each virtual component is a digital copy of the corresponding computer hardware; the internal data in the computer hardware corresponding to each built-in detection module is synchronously transmitted to the corresponding virtual component in the digital twin server simulator; wherein each computer hardware is provided with a built-in detection module; the flow data and internal data are used to ensure that the operating state of the virtual component is synchronized with the operating state of the client where the computer hardware is located; each computer hardware is synchronized at a preset interval. The snapshot of the flow data and the snapshot of the internal data are sent to the digital twin server simulator; if a fault alarm information is received, the computer hardware that has failed is determined according to the fault alarm information; a communication disconnection signal is sent to the digital twin server simulator, and the communication disconnection signal includes the identifier of the virtual component corresponding to the computer hardware that has failed; the communication disconnection signal is used to disconnect the communication of the virtual component corresponding to the computer hardware; the front mirror detection module of the computer hardware that has failed is bridged to the digital twin server simulator, so that the digital twin server simulator, in the current running state, performs simulation operation according to the snapshot of the flow data and the snapshot of the internal data of each computer hardware stored in the digital twin server simulator to obtain the fault location result; and receives the fault location result determined by the digital twin server simulator. The embodiment of the present invention uses the front mirror detection module to bridge the computer hardware that has failed to the digital twin server simulator, simulates the flow data and the snapshot of the internal data of each computer hardware to obtain the fault location result, which can improve the accuracy of computer hardware fault location, improve the efficiency of fault location, and greatly save human resources.
[0170] Those skilled in the art will appreciate that 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 complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take 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 code.
[0171] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks 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 produce 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.
[0172] 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 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0173] 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 A step that specifies a function in one or more boxes.
[0174] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A computer hardware fault location method, characterized in that: Applied to a client where computer hardware is located, the client includes a front mirror detection module and a built-in detection module, and the method includes: Synchronously transmitting the traffic data in the computer hardware corresponding to each front mirror detection module to the corresponding virtual component in the digital twin server simulator; wherein each computer hardware is provided with a front mirror detection module; and each virtual component is a digital copy of the corresponding computer hardware; Synchronously transmitting the internal data in the computer hardware corresponding to each built-in detection module to the corresponding virtual component in the digital twin server simulator; wherein each computer hardware is provided with a built-in detection module; the flow data and the internal data are used to ensure that the operating state of the virtual component is synchronized with the operating state of the client where the computer hardware is located; Send a snapshot of the traffic data and internal data of each computer hardware to the digital twin server simulator at a preset interval; If a fault warning message is received, the computer hardware that has failed is determined based on the fault warning message; Sending a communication disconnection signal to the digital twin server simulator, wherein the communication disconnection signal includes an identifier of a virtual component corresponding to the failed computer hardware; the communication disconnection signal is used to disconnect the communication of the virtual component corresponding to the computer hardware; The front mirror detection module of the faulty computer hardware is bridged to the digital twin server simulator, so that the digital twin server simulator, in the current running state, performs simulation operation according to the snapshot of the flow data and the snapshot of the internal data of each computer hardware stored in the digital twin server simulator to obtain the fault location result; Receive the fault location results determined by the digital twin server simulator.
2. The method according to claim 1, characterized in that The communication disconnection signal is used to disconnect the communication between the virtual component corresponding to the computer hardware and the virtual bus; Bridging the front mirror detection module of the failed computer hardware to the digital twin server simulator, including: bridging the front mirror detection module of the failed computer hardware to the virtual bus of the digital twin server simulator; Sending a snapshot of the traffic data and a snapshot of the internal data of each computer hardware to the digital twin server simulator, including: sending a snapshot of the traffic data and a snapshot of the internal data of each computer hardware to the virtual memory of the digital twin server simulator.
3. The method according to claim 1, characterized in that Also includes: Synchronously transmitting the operating system running data of the client to the digital twin server simulator; The operating system operation data, flow data and internal data are used to ensure that the operation status of the virtual component is synchronized with the operation status of the client where the computer hardware is located.
4. The method according to claim 1, characterized in that: The client also includes a global monitoring card, and the front mirror detection module and the built-in detection module are connected to the global monitoring card through a PCIE bus; The method further comprises: Through the global monitoring card, the flow data in the computer hardware corresponding to each front mirror detection module is synchronously transmitted to the corresponding virtual component global monitoring card in the digital twin server simulator; Through the global monitoring card, the internal data in the computer hardware corresponding to each built-in detection module is synchronously transmitted to the corresponding virtual component built-in detection module built-in detection module global monitoring card global monitoring card in the digital twin server simulator.
5. The method according to claim 1, characterized in that Before bridging the front mirror detection module of the failed computer hardware to the digital twin server simulator, it also includes: The communication between the failed computer hardware and the computer hardware bus is disconnected, wherein the communication between the computer hardware and the computer hardware bus is established through the front mirror detection module.
6. The method according to claim 1, characterized in that If a computer hardware fault warning message is received, the computer hardware that has failed is determined according to the fault warning message, further comprising: If no fault warning information of the computer hardware is received, after receiving the debugging instruction of the computer hardware, the front mirror detection module corresponding to the computer hardware to be debugged is introduced into the debugging operating system to perform a preset functional test and / or a preset non-functional test on the computer hardware to be debugged to obtain a test result; Based on the test results, determine the fault location results of the computer hardware to be debugged.
7. A computer hardware fault location method, characterized in that: Applied to a digital twin server simulator, the digital twin server simulator includes multiple virtual components, and the method includes: Receive the flow data in the computer hardware corresponding to each pre-image detection module synchronously transmitted by the client where the computer hardware is located, and store it in the corresponding virtual component; wherein each computer hardware is provided with the computer hardware on which the pre-image detection module is provided; each virtual component is a digital copy of the corresponding computer hardware; Receiving internal data in the computer hardware corresponding to each built-in detection module synchronously transmitted by the client where the computer hardware is located, and storing the data in the corresponding virtual component; wherein each computer hardware is provided with a built-in detection module; Using the flow data and internal data, a built-in detection module is used to synchronize the operation status of the virtual component with the operation status of the client where the computer hardware is located; Receive a snapshot of traffic data and internal data of each computer hardware sent by a client where the computer hardware is located at a preset interval; After receiving a communication disconnection signal sent by the client where the computer hardware is located, disconnect the communication of the virtual component corresponding to the computer hardware where the fault occurs; wherein the computer hardware where the fault occurs is determined by the client where the computer hardware is located according to the fault alarm information after receiving the fault alarm information of the computer hardware; After the front mirror detection module of the faulty computer hardware is bridged to the digital twin server simulator, a simulation run is performed based on the snapshot of the traffic data and the snapshot of the internal data of each computer hardware to obtain the fault location result; The fault location result is sent to the client where the computer hardware is located.
8. The method according to claim 7, characterized in that Also includes: When an abnormality occurs in the digital twin server or the digital twin server simulator, the operating environment is restored based on a snapshot of the traffic data and internal data of each computer hardware.
9. The method according to claim 7, characterized in that: Also includes: Receiving operating system running data synchronously transmitted by the client where the computer hardware is located; The operating system operation data, flow data and internal data are used to synchronize the operation status of the virtual component with the operation status of the client where the computer hardware is located.
10. The method according to claim 7, characterized in that Also includes: Simulate and run the preset test cases to obtain the running results; The fault location result is obtained by querying in a preset knowledge base according to the operation result, wherein the preset knowledge base contains the fault location result corresponding to the operation result of the simulated operation of the preset test case.
11. A computer hardware fault location device, characterized in that: Applied to the client where the computer hardware is located, the client includes a front mirror detection module and a built-in detection module, and the device includes: A first data synchronization unit is used to synchronously transmit the flow data in the computer hardware corresponding to each front mirror detection module to the corresponding virtual component in the digital twin server simulator; wherein each computer hardware is provided with a front mirror detection module; and each virtual component is a digital copy of the corresponding computer hardware; A second data synchronization unit is used to synchronously transmit the internal data in the computer hardware corresponding to each built-in detection module to the corresponding virtual component in the digital twin server simulator; wherein each computer hardware is provided with a built-in detection module; the flow data and the internal data are used to ensure that the operation state of the virtual component is synchronized with the operation state of the client where the computer hardware is located; A data snapshot unit, used to send a snapshot of the flow data and the internal data of each computer hardware to the digital twin server simulator at a preset interval; A faulty hardware determination unit, for determining the computer hardware that has failed based on the faulty warning information if the faulty warning information is received; A signal sending unit, used to send a communication disconnection signal to the digital twin server simulator, wherein the communication disconnection signal includes an identifier of a virtual component corresponding to the failed computer hardware; the communication disconnection signal is used to disconnect the communication of the virtual component corresponding to the computer hardware; A fault hardware bridging unit is used to bridge the front mirror detection module of the faulty computer hardware to the digital twin server simulator, so that the digital twin server simulator, in the current running state, performs simulation operation according to the snapshot of the flow data and the snapshot of the internal data of each computer hardware stored in the digital twin server simulator to obtain the fault location result; The fault result receiving unit is used to receive the fault location result determined by the digital twin server simulator.
12. The device according to claim 11, characterized in that The communication disconnection signal is used to disconnect the communication between the virtual component corresponding to the computer hardware and the virtual bus; Faulty hardware bridging unit, specifically used for: Bridge the front mirror detection module of the failed computer hardware to the virtual bus of the digital twin server simulator; The data snapshot unit is specifically used for: Send a snapshot of the traffic data and internal data of each computer hardware to the virtual memory of the digital twin server simulator.
13. The device according to claim 11, characterized in that Also includes: A third data synchronization unit, used for synchronously transmitting the operating system running data of the client to the digital twin server simulator; The operating system operation data, flow data and internal data are used to ensure that the operation status of the virtual component is synchronized with the operation status of the client where the computer hardware is located.
14. The device according to claim 11, characterized in that The client also includes a global monitoring card, and the front mirror detection module and the built-in detection module are connected to the global monitoring card through a PCIE bus; The first data synchronization unit is further used to synchronously transmit the flow data in the computer hardware corresponding to each front mirror detection module to the corresponding virtual component in the digital twin server simulator through the global monitoring card; The second data synchronization unit is also used to synchronously transmit the internal data in the computer hardware corresponding to each built-in detection module to the corresponding virtual component in the digital twin server simulator through the global monitoring card.
15. The device according to claim 11, characterized in that Also includes: The hardware communication disconnection unit is used to disconnect the communication between the faulty computer hardware and the computer hardware bus before bridging the front mirror detection module of the faulty computer hardware to the digital twin server simulator, wherein the communication between the computer hardware and the computer hardware bus is established through the front mirror detection module.
16. The device according to claim 11, characterized in that Also includes: The hardware debugging unit is used for, if no fault warning information of the computer hardware is received, introducing the front mirror detection module corresponding to the computer hardware to be debugged into the debugging operating system after receiving the debugging instruction of the computer hardware, so as to perform a preset functional test and / or a preset non-functional test on the computer hardware to be debugged, and obtain the test result; Based on the test results, determine the fault location results of the computer hardware to be debugged.
17. A computer hardware fault location device, characterized in that: Applied to a digital twin server simulator, the digital twin server simulator includes multiple virtual components, and the device includes: A first data receiving unit is used to receive the flow data in the computer hardware corresponding to each pre-image detection module, which is synchronously transmitted by the client where the computer hardware is located, and store it in the corresponding virtual component; wherein each computer hardware is provided with a pre-image detection module provided on the computer hardware; and each virtual component is a digital copy of the corresponding computer hardware; A second data receiving unit is used to receive the internal data of the computer hardware corresponding to each built-in detection module synchronously transmitted by the client where the computer hardware is located, and store it in the corresponding virtual component; wherein each computer hardware is provided with a built-in detection module; An operation status synchronization unit, used to synchronize the operation status of the virtual component with the operation status of the client where the computer hardware is located by using the flow data and the internal data; A snapshot receiving unit, used to receive a snapshot of the flow data and internal data of each computer hardware sent by a client where the computer hardware is located at a preset interval; A virtual component communication disconnection unit, used to disconnect the communication of the virtual component corresponding to the computer hardware that has failed after receiving a communication disconnection signal sent by the client where the computer hardware is located; wherein the computer hardware that has failed is determined by the client where the computer hardware is located according to the fault alarm information after receiving the fault alarm information of the computer hardware; A simulation operation unit is used to perform simulation operation according to a snapshot of traffic data and a snapshot of internal data of each computer hardware after the front mirror detection module of the faulty computer hardware is bridged to the digital twin server simulator to obtain a fault location result; The fault result sending unit is used to send the fault location result to the client where the computer hardware is located.
18. The device according to claim 17, characterized in that Also includes: The operating environment recovery unit is used to restore the operating environment based on the snapshots of the traffic data and internal data of each computer hardware when an abnormality occurs in the digital twin server or the digital twin server simulator.
19. The device according to claim 17, characterized in that Also includes: The third data receiving unit is used to receive the operating system running data synchronously transmitted by the client where the computer hardware is located; and use the operating system running data, flow data and internal data to synchronize the running state of the virtual component with the running state of the client where the computer hardware is located.
20. The device according to claim 17, characterized in that The simulation operation unit is also used for: The preset test case is simulated and run to obtain the run result; and the fault location result is obtained by querying in the preset knowledge base according to the run result, wherein the preset knowledge base contains the fault location result corresponding to the run result of the simulated run preset test case.
21. A computer hardware fault location system, characterized in that: Applicable to the client side where the computer hardware is located, including: A front mirror detection module and a built-in detection module are arranged on each computer hardware, and the computer hardware fault locating device according to claim 11.
22. A computer hardware fault location system, characterized in that: Applied to a digital twin server simulator, comprising: a plurality of virtual components, and the computer hardware fault locating device as claimed in claim 17, wherein each virtual component is a digital replica of the corresponding computer hardware.
23. A computer 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 method according to any one of claims 1 to 10 is implemented.
24. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 10 is implemented.
25. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 10 is implemented.
Citation Information
Cited By
Computer fault rapid positioning method
CN121807611A
A computer fault rapid positioning method
CN121807611B
Debugging method and apparatus, electronic device, readable storage medium, and program
WO2026081420A1
