Fault positioning method and device of blood purification equipment and storage medium
By pre-generating target fault logs and storing fault information tables, faults in blood purification equipment can be quickly located, solving the problem of difficult fault location in lower-level machines and improving fault diagnosis efficiency as well as equipment safety and reliability.
Patent Information
- Application Number
- CN202511942563.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-22
- Publication Date
- 2026-02-06
AI Technical Summary
During the operation of blood purification equipment, it is difficult to locate faults in the lower-level machine. Existing technologies require the analysis of scattered and complex-formatted operation logs, which leads to long troubleshooting times and affects the safety and reliability of the equipment.
Target fault logs are generated in advance and fault information tables are stored. Fault information can be quickly located by using the target fault logs and the pre-stored fault information tables, thus shortening the fault troubleshooting time.
It improves the efficiency of fault location in the lower-level machine, shortens the fault diagnosis time, and enhances the safety and reliability of blood purification equipment.
Smart Images

Figure CN121483545A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of fault positioning, in particular to a fault positioning method and device of a blood purification equipment and a storage medium. BACKGROUND
[0002] With the continuous development of medical technology, blood purification equipment has been widely used in clinical. However, it is inevitable to have faults in the running process of blood purification equipment, especially the fault problem of the lower machine of blood purification equipment, which will seriously affect the safety and reliability of the equipment. At present, the running log of the lower machine is mainly collected and analyzed to locate the fault of the lower machine, but these running logs are scattered and complex in format, which requires a lot of time to locate the fault of the lower machine. SUMMARY
[0003] Based on this, the embodiments of the present application provide a fault positioning method and device of a blood purification equipment and a storage medium, aiming to improve the efficiency of positioning the fault of the lower machine.
[0004] In the first aspect, the embodiments of the present application provide a fault positioning method of a blood purification equipment, comprising: obtaining a target fault log of a lower machine in the blood purification equipment, the target fault log being generated in advance according to multi-source log data of the lower machine; determining target fault information of the blood purification equipment according to the target fault log and a preset fault information table.
[0005] In some embodiments, the target fault log includes a timestamp, a board card ID, a component type, a component serial number and a fault type, the fault information table includes fault information of each component in the blood purification equipment, and the determination of the target fault information of the blood purification equipment according to the target fault log and the preset fault information table comprises: obtaining fault information corresponding to the board card ID, the component type, the component serial number and the fault type in the target fault log from the preset fault information table; determining the fault information corresponding to the board card ID, the component type, the component serial number and the fault type in the target fault log as the target fault information of the blood purification equipment.
[0006] In some embodiments, after the determination of the target fault information of the blood purification equipment according to the target fault log and the preset fault information table, the method further comprises: controlling a display module to display the target fault information; In response to the user's selection of the target fault information, the display module is controlled to display a fault debugging interface. The fault debugging interface includes fault debugging guidance information, which is used to guide the user to debug the fault corresponding to the fault type in the target fault information.
[0007] In some embodiments, after controlling the display module to display the fault debugging interface in response to the user's selection operation of the target fault information, the method further includes: In response to the fact that the fault type in the target fault information has been debugged, a corresponding preset instruction is sent to the component corresponding to the target fault information. In response to the response information returned by the component corresponding to the target fault information based on the preset instruction, it is determined that the fault of the component corresponding to the target fault information has been resolved.
[0008] In some embodiments, controlling the display module to display a fault debugging interface in response to a user's selection of the target fault information includes: In response to the user's selection of the target fault information, if the fault type indicated in the target fault information can be resolved through debugging, the display module is controlled to display the fault debugging interface.
[0009] In some embodiments, after the control display module displays the target fault information, it further includes: In response to the user's selection of the target fault information, if the fault type indicated in the target fault information can be resolved by upgrading the software program, the corresponding program installation package is downloaded from the server according to the target fault information; In response to the completion of the program installation package download, the display module is controlled to display the software upgrade interface, and the program installation package is installed in response to the user's software upgrade confirmation command triggered by the software upgrade interface.
[0010] In some embodiments, after the control display module displays the target fault information, it further includes: In response to the user's selection of the target fault information, if the fault type indicated in the target fault information cannot be resolved by upgrading the software program and cannot be resolved by debugging, a preset first alarm message is output.
[0011] In some embodiments, after determining the target fault information of the blood purification device based on the target fault log and a preset fault information table, the method further includes: The target fault information is sent to the server so that when the server determines that the fault type indicated in the target fault information can be resolved by upgrading the software program, it can download the corresponding program installation package according to the target fault information and send the program installation package to the corresponding blood purification device; or when the server determines that the fault type indicated in the target fault information cannot be resolved by upgrading the software program and cannot be resolved by debugging, it can output a preset second alarm message. In response to receiving the program installation package sent by the server, the control display module displays the software upgrade interface, and in response to the software upgrade confirmation command triggered by the user based on the software upgrade interface, installs the program installation package.
[0012] Secondly, embodiments of this application also provide a fault location device for a blood purification device, the fault location device comprising: At least one processor; At least one memory containing a computer program; In this embodiment, at least one of the memory and computer programs, together with at least one of the processors, are configured to enable the fault location device to implement any of the fault location methods described above.
[0013] Thirdly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to implement any of the fault location methods described above.
[0014] This application provides a method, apparatus, and storage medium for locating faults in a blood purification device. In this application, the target fault log is generated in advance based on multi-source log data from the lower-level machine, and a fault information table is also pre-stored. Thus, during fault location, it is not necessary to analyze the multi-source log data of the lower-level machine. The target fault information of the blood purification device can be quickly located through the target fault log and the pre-stored fault information table, which shortens the fault investigation time of the lower-level machine and improves the efficiency of locating specific faults of the lower-level machine.
[0015] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0016] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 This is a schematic flowchart illustrating the steps of a fault location method for a blood purification device provided in an embodiment of this application; Figure 2 This is a schematic flowchart illustrating the steps of another method for locating faults in a blood purification device provided in an embodiment of this application; Figure 3 This is a schematic flowchart illustrating the steps of another method for locating faults in a blood purification device provided in an embodiment of this application; Figure 4 This is a schematic flowchart illustrating the steps of another method for locating faults in a blood purification device provided in an embodiment of this application; Figure 5 This is a schematic block diagram of the structure of a fault location device for a blood purification equipment provided in an embodiment of this application. Detailed Implementation
[0018] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0019] The flowchart shown in the attached diagram is for illustrative purposes only and does not necessarily include all content and operations / steps, nor does it necessarily have to be performed in the order described. For example, some operations / steps can be broken down, combined, or partially merged, so the actual execution order may change depending on the actual situation.
[0020] It should be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.
[0021] With the continuous development of medical technology, blood purification equipment has been widely used in clinical practice. However, malfunctions are inevitable during the operation of blood purification equipment, especially problems with the lower-level machine, which can seriously affect the safety and reliability of the equipment. Currently, the main method for locating lower-level machine faults is to collect and analyze the operating logs of the lower-level machine. However, these operating logs are scattered and have complex formats, requiring a considerable amount of time to pinpoint the faults.
[0022] To address the aforementioned issues, this application provides a method, apparatus, and storage medium for locating faults in blood purification equipment. In this application, the target fault log is pre-generated based on multi-source log data from the lower-level machine, and a fault information table is also pre-stored. This eliminates the need to analyze the multi-source log data from the lower-level machine during fault location. The target fault log and the pre-stored fault information table can be used to quickly locate the target fault information of the blood purification equipment, shortening the fault investigation time of the lower-level machine and improving the efficiency of locating specific faults in the lower-level machine.
[0023] The following detailed description of some embodiments of this application is provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0024] Please see Figure 1 , Figure 1 This is a schematic flowchart illustrating the steps of a fault location method for a blood purification device provided in an embodiment of this application. This fault location method for a blood purification device is applied to a blood purification device.
[0025] like Figure 1 As shown, the fault location method for the blood purification device includes steps S101 to S102.
[0026] Step S101: Obtain the target fault log of the lower-level machine in the blood purification device. The target fault log is generated in advance based on the multi-source log data of the lower-level machine.
[0027] In this embodiment, the lower-level machine in the blood purification equipment includes modules such as a control module, a storage module, a pump control module, a sensor module, a safety and alarm module, a communication module, an ultrafiltration control module, a heating module, and a blood volume monitoring module. The control module includes a microcontroller / microprocessor, and the storage module includes read-only memory, flash memory, random access memory, and non-volatile random access memory. The pump control module includes components such as a blood pump, a replacement fluid pump / dialysis fluid pump, a heparin pump, and a waste fluid pump. The sensor module includes components such as a pressure sensor, a temperature sensor, a bubble detector, a blood leakage detector, a conductivity sensor, and a level sensor. The safety and alarm execution module includes components such as a solenoid valve, a clamp valve, and an audible and visual alarm. The communication module includes components such as a serial communication module, a CAN bus / Ethernet, and a network communication module.
[0028] In some embodiments, generating a target fault log includes: acquiring multi-source log data from a lower-level machine in a blood purification device; the multi-source log data includes at least a tracking log for recording safety-critical events, a communication log for recording data exchange processes, and a scheduling log for recording real-time internal system behavior; each log entry in the tracking log, communication log, and scheduling log includes at least a uniformly structured timestamp, board ID, component type, component serial number, and fault type; merging all log entries in the tracking log, communication log, and scheduling log into a set to obtain a log set, and adding a log type tag to each log entry in the log set to identify its source; using the timestamp as the primary key, analyzing the log entries in the log set... All log entries are globally sorted to obtain a first log entry sequence arranged in chronological order. The first log entry sequence is then traversed, and multiple log entries with timestamp differences less than a preset time window threshold are grouped into the same time window group. For multiple log entries within the same time window group, they are sorted according to a preset priority order reflecting causal logic, resulting in a second log entry sequence, where scheduling logs have higher priority than communication logs, and communication logs have higher priority than tracking logs. Based on the second log entry sequence after time window alignment, a target fault log is generated and output. The target fault log displays events from different log sources along a unified timeline, forming an event chain for fault root cause analysis.
[0029] It should be noted that the preset time window threshold can be set based on actual conditions, and this application embodiment does not impose specific limitations on it. For example, the preset time window threshold ranges from 10 microseconds to 1 millisecond. Specifically, the sorting according to the preset priority order of log types that reflects causal logic is as follows: within the same time window group, scheduling log entries are arranged first, followed by communication log entries, and finally tracking log entries.
[0030] In some embodiments, before acquiring multi-source log data from the lower-level machine in the blood purification device, the method further includes: performing system-level time synchronization on each hardware board of the generated tracking log, communication log, and scheduling log using a precision clock synchronization protocol to ensure that the timestamps of all log entries in the tracking log, communication log, and scheduling log are based on a unified time base. The timestamps include year, month, day, hour, minute, and second.
[0031] In some embodiments, this application further includes: reserving a designated area with contiguous physical addresses in the memory of the lower-level machine of the blood purification device as a dedicated log storage area; starting a memory-resident log service program, controlling the log service program to run continuously and perform the following steps: receiving and integrating multi-source log data in real time, generating target fault log entries; directly and synchronously writing the generated target fault log entries into the circular buffer of the dedicated log storage area; calculating and storing verification information for each written target fault log entry; when the blood purification device experiences a fault reset, controlling the log service program to first read and verify the saved target fault logs from the dedicated log storage area. This embodiment stores the target fault logs in a preset area in the lower-level machine's memory, which can prevent the target fault logs from being lost and ensure their reliability.
[0032] Step S102: Determine the target fault information of the blood purification equipment based on the target fault log and the preset fault information table.
[0033] In this embodiment, the target fault log is generated in advance based on the multi-source log data of the lower-level machine, and a fault information table is also stored in advance. In this way, it is not necessary to analyze the multi-source log data of the lower-level machine during fault location. The target fault information of the blood purification equipment can be quickly located through the target fault log and the pre-stored fault information table, which shortens the fault investigation time of the lower-level machine and improves the efficiency of locating the specific fault of the lower-level machine.
[0034] In some embodiments, the target fault log includes a timestamp, board ID, component type, component serial number, and fault type. The fault information table includes fault information for each component in the blood purification device. Based on the target fault log, the target fault information of the blood purification device is obtained from the preset fault information table, including: obtaining the fault information corresponding to the board ID, component type, component serial number, and fault type in the target fault log from the preset fault information table; and determining the fault information corresponding to the board ID, component type, component serial number, and fault type in the target fault log as the target fault information of the blood purification device.
[0035] For example, Table 1 contains the fault information of the blood circuit control board in the blood purification device, which is included in the preset fault information table. It should be noted that the fault information of the other boards in the blood purification device included in the preset fault information table is set in the same way as in Table 1.
[0036]
[0037] If the board ID in the target fault log is 0x18, the component type is 1, the component serial number is 1, and the fault type is 01, then by looking up Table 1, the fault of the lower-level machine can be found to be: a CRC check error occurred on the CAN bus of the blood circuit control board. If the board ID in the target fault log is 0x18, the component type is 1, the component serial number is 1, and the fault type is 02, then by looking up Table 1, the fault of the lower-level machine can be found to be: a communication packet loss occurred on the CAN bus of the blood circuit control board. If the board ID in the target fault log is 0x18, the component type is 1, the component serial number is 1, and the fault type is 03, then by looking up Table 1, the fault of the lower-level machine can be found to be: a communication length error occurred on the CAN bus of the blood circuit control board.
[0038] If the target fault log shows board ID 0x18, component type 5, component serial number 1, and fault type 01, then by looking up Table 1, the fault in the lower-level machine is: the blood pump in the blood circuit control board has stopped. If the target fault log shows board ID 0x18, component type 5, component serial number 1, and fault type 02, then by looking up Table 1, the fault in the lower-level machine is: the blood pump in the blood circuit control board has a large speed difference fault. If the target fault log shows board ID 0x18, component type 5, component serial number 1, and fault type 03, then by looking up Table 1, the fault in the lower-level machine is: the blood pump in the blood circuit control board has a motor driver fault. If the target fault log shows board ID 0x18, component type 5, component serial number 1, and fault type 04, then by looking up Table 1, the fault in the lower-level machine is: the blood pump in the blood circuit control board has an abnormal stop rotation fault.
[0039] If the board ID in the target fault log is 0x18, the component type is 5, the component number is 2, and the fault type is 01, then by looking up Table 1, the fault in the lower-level machine is: the propeller pump in the blood circuit control board has stopped. If the board ID in the target fault log is 0x18, the component type is 5, the component number is 2, and the fault type is 02, then by looking up Table 1, the fault in the lower-level machine is: the propeller pump in the blood circuit control board has a large speed difference fault. If the board ID in the target fault log is 0x18, the component type is 5, the component number is 2, and the fault type is 03, then by looking up Table 1, the fault in the lower-level machine is: the propeller pump in the blood circuit control board has a motor driver fault. If the board ID in the target fault log is 0x18, the component type is 5, the component serial number is 2, and the fault type is 04, then by looking up Table 1, we can find that the fault of the lower-level machine is: the paddle pump in the blood circuit control board has stopped and is rotating abnormally.
[0040] In some embodiments, such as Figure 2 As shown, after step S102, the following steps are also included: Step S103: Control the display module to display the target fault information.
[0041] In this embodiment, the display module can be the display screen built into the blood purification device, or it can be the display screen of a mobile terminal used by medical staff or maintenance personnel. The target fault information includes fault location information and fault resolution measures. The fault location information is used to identify the faulty component and the fault type, while the fault resolution measures guide the user on how to resolve the current fault. The mobile terminal can include a laptop, smartphone, or tablet computer, etc.
[0042] Step S104: In response to the user's selection of target fault information, the control display module displays the fault debugging interface. The fault debugging interface includes fault debugging guidance information, which is used to guide the user to debug the fault corresponding to the fault type in the target fault information.
[0043] In this embodiment, after determining the target fault information, the control display module displays the target fault information, which makes it easier for users to know the faulty components and fault type, and what fault-solving measures should be taken to resolve the fault. This improves the efficiency of fault resolution, thereby improving the safety and reliability of the blood purification equipment.
[0044] In some embodiments, in response to a user's selection of target fault information, the control display module displays a fault debugging interface, including: in response to a user's selection of target fault information, if the fault type indicated in the target fault information can be resolved through debugging, the control display module displays the fault debugging interface.
[0045] In some embodiments, such as Figure 3 As shown, after step S104, the following steps are also included: Step S105: In response to the fact that the fault type in the target fault information has been debugged, send the corresponding preset command to the component corresponding to the target fault information.
[0046] Step S106: In response to the response information returned by the component corresponding to the target fault information based on the preset instruction, determine that the fault of the component corresponding to the target fault information has been resolved.
[0047] In this embodiment, after the user troubleshoots the fault according to the troubleshooting guidance information, if the fault has been troubleshooted, a corresponding preset instruction is sent to the component corresponding to the target fault information to confirm whether the fault has been resolved. When a response information is received from the component corresponding to the target fault information based on the preset instruction, it is determined that the fault of the component corresponding to the target fault information has been resolved. When no response information is received from the component corresponding to the target fault information based on the preset instruction, it is determined that the fault of the component corresponding to the target fault information has not been resolved, thereby improving the safety and reliability of the blood purification equipment.
[0048] In some embodiments, in response to the completion of troubleshooting for the fault type corresponding to the fault in the target fault information, sending a corresponding preset instruction to the component corresponding to the target fault information includes: in response to the completion of troubleshooting for the fault type corresponding to the fault in the target fault information, controlling the display module to display a fault resolution confirmation pop-up window, the fault resolution confirmation pop-up window including preset controls and text information confirming whether the fault has been resolved; in response to the user's click operation on the preset controls in the fault resolution confirmation pop-up window, sending a corresponding preset instruction to the component corresponding to the target fault information. Wherein, in response to receiving response information returned by the component corresponding to the target fault information based on the preset instruction, controlling the display module to display a fault resolution completed pop-up window, the fault resolution completed pop-up window including prompts to the user that the current fault has been resolved.
[0049] For example, the host computer sends a communication command to the blood circuit control board. If the host computer does not receive a communication response from the blood circuit control board, it resends the communication command. If the host computer still does not receive a communication response from the blood circuit control board, it is determined that the communication between the blood circuit control board and the host computer has been disconnected. At this time, the slave computer generates and stores a target fault log based on the collected multi-source log data, and then sends the target fault log to the host computer. The host computer determines the target fault information based on the target fault log and the preset fault information table. The fault location information in the target fault information is: the communication between the blood circuit control board and the host computer has been disconnected. The fault resolution measures in the target fault information are: check whether the CAN cable of the blood circuit control board is properly connected and whether it is loose. The control display module displays the target fault information. If the user clicks on the target fault information, it will enter single-step debugging. (1) Display the fault resolution confirmation pop-up. The fault resolution confirmation pop-up includes the text "Confirm the fault has been resolved?" and the control "Next". (2) After the user clicks the control "Next", the host computer sends a communication command to the blood circuit control board in the lower computer. When the host computer detects the return packet sent by the lower computer, it confirms that the communication is normal, then confirms that the fault has been resolved and displays the fault resolution completion pop-up. The fault resolution completion pop-up includes the text "Fault has been resolved" and the control "Confirm". Otherwise, it considers the communication to be abnormal and continues to display the fault resolution confirmation pop-up.
[0050] For example, before the lower-level machine crashes or upon the next power-on, the lower-level machine generates and stores a target fault log based on the collected multi-source log data, and then sends the target fault log to the upper-level machine. The upper-level machine determines the target fault information based on the target fault log and a preset fault information table. The fault location information in the target fault information is: the blood circuit protection board has crashed. The fault resolution in the target fault information is: check the OpenLed function on line 233 of the led.c file of the blood circuit protection board. The cause of the crash is memory access out of bounds. Please handle it. The control display module displays the target fault information. If the user clicks on the target fault information, it will enter single-step debugging. (1) Display the fault resolution confirmation pop-up. The fault resolution confirmation pop-up includes the text "Confirm the fault has been resolved?" and the control "Next". (2) After the user clicks the control "Next", the host computer sends a separate instruction to the slave computer to execute the error function. When the host computer receives a reply from the slave computer within 2 seconds confirming that the fault has been resolved, it will display the fault resolution confirmation pop-up. The fault resolution confirmation pop-up includes the text "Fault resolved" and the control "Confirm". Otherwise, the fault resolution confirmation pop-up will continue to be displayed.
[0051] For example, using supercapacitor energy storage monitoring technology, the output fluctuations of the main power supply (220 V ± 0.5 V) and the backup power supply are monitored in real time. When the voltage exceeds 220 V ± 0.5 V, it is determined to be a power supply hardware failure and a fault warning is triggered. At this time, the lower computer generates and stores the target fault log based on the collected multi-source log data, and then sends the target fault log to the upper computer. The upper computer determines the target fault information based on the target fault log and the preset fault information table. The fault location information in the target fault information is: power supply hardware failure. The fault resolution measures in the target fault information are: (1) Power supply connection error, please check if the power supply is plugged in. (2) Power supply connection error, please check if the power supply module is working properly. The control display module displays the target fault information. If the user clicks on the target fault information, it will enter single-step debugging. (1) Display the fault resolution confirmation pop-up. The fault resolution confirmation pop-up includes the text "Confirm the fault has been resolved?" and the control "Next". (2) After the user clicks the control "Next", the host computer sends a separate instruction to the slave computer to re-detect the voltage. When the host computer receives a reply from the slave computer within 2 seconds confirming that the fault has been resolved, it will display the fault resolution confirmation pop-up. The fault resolution confirmation pop-up includes the text "Fault resolved" and the control "Confirm". Otherwise, the fault resolution confirmation pop-up will continue to be displayed.
[0052] In some embodiments, such as Figure 4 As shown, after step S103, the following steps are also included: Step S107: In response to the user's selection of target fault information, if the fault type indicated in the target fault information can be resolved by upgrading the software program, download the corresponding program installation package from the server according to the target fault information.
[0053] Step S108: In response to the completion of the program installation package download, the control display module displays the software upgrade interface, responds to the user's software upgrade confirmation command triggered by the software upgrade interface, and installs the program installation package.
[0054] In this embodiment, if the fault type indicated in the target fault information can be resolved by upgrading the software program, the corresponding program installation package is automatically downloaded from the server based on the target fault information. After the program installation package is downloaded, the user confirms whether to upgrade. If the user confirms the upgrade, the program installation package is installed, thereby resolving the fault type indicated in the target fault information, improving the efficiency and convenience of fault resolution.
[0055] In some embodiments, after step S103, the method further includes: in response to the user's selection of target fault information, if the fault type indicated in the target fault information cannot be resolved by upgrading the software program and cannot be resolved by debugging, outputting a preset first alarm message. The preset first alarm message is used to prompt the user that the current fault cannot be resolved by upgrading the software program and cannot be resolved by debugging. In this embodiment, when the current fault cannot be resolved by upgrading the software program and cannot be resolved by debugging, an alarm message is output, allowing the user to promptly seek assistance from the blood purification equipment supplier to resolve the fault as quickly as possible.
[0056] In some embodiments, after step S102, the method further includes: sending target fault information to a server, so that when the server determines that the fault type indicated in the target fault information can be resolved by upgrading the software program, it downloads the corresponding program installation package according to the target fault information and sends the program installation package to the corresponding blood purification device; in response to receiving the program installation package sent by the server, the display module displays a software upgrade interface, and in response to a software upgrade confirmation command triggered by the user based on the software upgrade interface, the program installation package is installed. In this embodiment, when the server determines that the current fault can be resolved by upgrading the software program, it automatically sends the corresponding program installation package to the corresponding blood purification device. After the blood purification device receives the program installation package, the user confirms whether to upgrade. If the user confirms the upgrade, the program installation package is installed, thereby resolving the fault indicated by the fault type in the target fault information, improving the efficiency and convenience of fault resolution.
[0057] In some embodiments, when the server determines that the fault type indicated in the target fault information cannot be resolved by upgrading the software program or by debugging, it outputs a preset second alarm message. The target fault information includes the device serial number of the blood purification equipment. In this embodiment, when the current fault cannot be resolved by upgrading the software program or by debugging, the server outputs an alarm message to prompt after-sales personnel to proactively contact the customer to resolve the fault. For example, after-sales personnel can quickly locate the faulty blood purification equipment using the device serial number in the target fault information and proactively contact the user to resolve the fault.
[0058] Please see Figure 5 , Figure 5 This is a schematic block diagram of the structure of a fault location device for a blood purification equipment provided in an embodiment of this application.
[0059] like Figure 5 As shown, the fault location device 100 of the blood purification equipment includes at least one processor 101 and at least one memory 102 including a computer program. The at least one processor 101 and the at least one memory 102 including a computer program are connected by a bus 103, such as an I2C (Inter-integrated Circuit) bus.
[0060] Specifically, the processor 101 can be a microcontroller unit (MCU), a central processing unit (CPU), or a digital signal processor (DSP), etc.
[0061] Specifically, the memory 102 can be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a portable hard drive, etc.
[0062] Wherein, at least one of the memory 102 and the computer program, together with at least one of the processors 101, are configured to cause the fault location device 100 to perform the following steps: Obtain the target fault log of the lower-level machine in the blood purification device, wherein the target fault log is generated in advance based on the multi-source log data of the lower-level machine; Based on the target fault log and the preset fault information table, the target fault information of the blood purification equipment is determined.
[0063] In some embodiments, the target fault log includes a timestamp, board ID, component type, component serial number, and fault type; the fault information table includes fault information for each component in the blood purification device; and the fault location device 100, when determining the target fault information of the blood purification device based on the target fault log and the preset fault information table, is used to: Retrieve fault information corresponding to the board ID, component type, component serial number, and fault type in the target fault log from the preset fault information table; The fault information corresponding to the board ID, component type, component serial number, and fault type in the target fault log is identified as the target fault information of the blood purification device.
[0064] In some embodiments, after determining the target fault information of the blood purification device based on the target fault log and a preset fault information table, the fault location device 100 is further configured to: The control display module displays the target fault information; In response to the user's selection of the target fault information, the display module is controlled to display a fault debugging interface. The fault debugging interface includes fault debugging guidance information, which is used to guide the user to debug the fault corresponding to the fault type in the target fault information.
[0065] In some embodiments, after the fault location device 100 controls the display module to display the fault debugging interface in response to the user's selection operation of the target fault information, it is further configured to: In response to the fact that the fault type in the target fault information has been debugged, a corresponding preset instruction is sent to the component corresponding to the target fault information. In response to the response information returned by the component corresponding to the target fault information based on the preset instruction, it is determined that the fault of the component corresponding to the target fault information has been resolved.
[0066] In some embodiments, when the fault location device 100 controls the display module to display a fault debugging interface in response to a user's selection of the target fault information, it is used to: In response to the user's selection of the target fault information, if the fault type indicated in the target fault information can be resolved through debugging, the display module is controlled to display the fault debugging interface.
[0067] In some embodiments, after the fault location device 100 controls the display module to display the target fault information, it is further configured to: In response to the user's selection of the target fault information, if the fault type indicated in the target fault information can be resolved by upgrading the software program, the corresponding program installation package is downloaded from the server according to the target fault information; In response to the completion of the program installation package download, the display module is controlled to display the software upgrade interface, and the program installation package is installed in response to the user's software upgrade confirmation command triggered by the software upgrade interface.
[0068] In some embodiments, after the fault location device 100 controls the display module to display the target fault information, it is further configured to: In response to the user's selection of the target fault information, if the fault type indicated in the target fault information cannot be resolved by upgrading the software program and cannot be resolved by debugging, a preset first alarm message is output.
[0069] In some embodiments, after determining the target fault information of the blood purification device based on the target fault log and a preset fault information table, the fault location device 100 is further configured to: The target fault information is sent to the server so that when the server determines that the fault type indicated in the target fault information can be resolved by upgrading the software program, it can download the corresponding program installation package according to the target fault information and send the program installation package to the corresponding blood purification device; or when the server determines that the fault type indicated in the target fault information cannot be resolved by upgrading the software program and cannot be resolved by debugging, it can output a preset second alarm message. In response to receiving the program installation package sent by the server, the control display module displays the software upgrade interface, and in response to the software upgrade confirmation command triggered by the user based on the software upgrade interface, installs the program installation package.
[0070] It should be noted that those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the fault location device for the blood purification equipment described above can be referred to the corresponding process in the aforementioned embodiments of the fault location method for blood purification equipment, and will not be repeated here.
[0071] This application also provides a blood purification device, which includes a fault location device 100.
[0072] It should be noted that those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the blood purification equipment described above can be referred to the corresponding process in the aforementioned embodiments of the fault location method for blood purification equipment, and will not be repeated here.
[0073] This application also provides a computer-readable storage medium storing one or more programs that can be executed by one or more processors to implement the steps of the fault location method for the blood purification device provided in the above embodiments.
[0074] The computer-readable storage medium can be volatile or non-volatile. It can be an internal storage unit of the blood purification device described in any of the foregoing embodiments, such as the hard drive or memory of the blood purification device. Alternatively, it can be an external storage device of the blood purification device, such as a plug-in hard drive, smart media card (SMC), secure digital card (SD), flash card, etc., provided on the blood purification device.
[0075] Those skilled in the art will understand that all or some of the steps, systems, or apparatuses disclosed above, and their functional modules / units, can be implemented as software, firmware, hardware, or suitable combinations thereof. In hardware embodiments, the division between functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0076] It should be understood that the term "and / or" as used in this specification and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes such combinations. It should be noted that, herein, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0077] The sequence numbers of the above embodiments of the present invention are merely for descriptive purposes and do not represent the superiority or inferiority of the embodiments. The above descriptions are only specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method for locating faults in a blood purification device, characterized in that, include: Obtain the target fault log of the lower-level machine in the blood purification device, wherein the target fault log is generated in advance based on the multi-source log data of the lower-level machine; Based on the target fault log and the preset fault information table, the target fault information of the blood purification equipment is determined.
2. The fault location method according to claim 1, characterized in that, The target fault log includes a timestamp, board ID, component type, component serial number, and fault type. The fault information table includes fault information for each component in the blood purification device. Determining the target fault information of the blood purification device based on the target fault log and the preset fault information table includes: Retrieve fault information corresponding to the board ID, component type, component serial number, and fault type in the target fault log from the preset fault information table; The fault information corresponding to the board ID, component type, component serial number, and fault type in the target fault log is identified as the target fault information of the blood purification device.
3. The fault location method according to claim 1, characterized in that, After determining the target fault information of the blood purification equipment based on the target fault log and the preset fault information table, the method further includes: The control display module displays the target fault information; In response to the user's selection of the target fault information, the display module is controlled to display a fault debugging interface. The fault debugging interface includes fault debugging guidance information, which is used to guide the user to debug the fault corresponding to the fault type in the target fault information.
4. The fault location method according to claim 3, characterized in that, After responding to the user's selection of the target fault information and controlling the display module to display the fault debugging interface, the method further includes: In response to the fact that the fault type in the target fault information has been debugged, a corresponding preset instruction is sent to the component corresponding to the target fault information. In response to the response information returned by the component corresponding to the target fault information based on the preset instruction, it is determined that the fault of the component corresponding to the target fault information has been resolved.
5. The fault location method according to claim 3, characterized in that, The step of controlling the display module to display the fault debugging interface in response to the user's selection operation of the target fault information includes: In response to the user's selection of the target fault information, if the fault type indicated in the target fault information can be resolved through debugging, the display module is controlled to display the fault debugging interface.
6. The fault location method according to claim 3, characterized in that, After the control display module displays the target fault information, it also includes: In response to the user's selection of the target fault information, if the fault type indicated in the target fault information can be resolved by upgrading the software program, the corresponding program installation package is downloaded from the server according to the target fault information; In response to the completion of the program installation package download, the display module is controlled to display the software upgrade interface, and the program installation package is installed in response to the user's software upgrade confirmation command triggered by the software upgrade interface.
7. The fault location method according to claim 3, characterized in that, After the control display module displays the target fault information, it also includes: In response to the user's selection of the target fault information, if the fault type indicated in the target fault information cannot be resolved by upgrading the software program and cannot be resolved by debugging, a preset first alarm message is output.
8. The fault location method according to any one of claims 1-7, characterized in that, After determining the target fault information of the blood purification equipment based on the target fault log and the preset fault information table, the method further includes: The target fault information is sent to the server so that when the server determines that the fault type indicated in the target fault information can be resolved by upgrading the software program, it can download the corresponding program installation package according to the target fault information and send the program installation package to the corresponding blood purification device; or when the server determines that the fault type indicated in the target fault information cannot be resolved by upgrading the software program and cannot be resolved by debugging, it can output a preset second alarm message. In response to receiving the program installation package sent by the server, the control display module displays the software upgrade interface, and in response to the software upgrade confirmation command triggered by the user based on the software upgrade interface, installs the program installation package.
9. A fault location device for blood purification equipment, characterized in that, The fault location device includes: At least one processor; At least one memory containing a computer program; In this embodiment, at least one of the memory and computer programs, together with at least one of the processors, are configured to enable the fault location device to implement the fault location method according to any one of claims 1-8.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, causes the processor to implement the fault location method according to any one of claims 1-8.