Sample analyzer and fault processing method thereof
By introducing a combination of detection module, storage module and control module into the sample analyzer, the automatic determination and processing of fault status is realized, which solves the problems of test suspension and waste of consumables caused by faults, and improves test efficiency.
Patent Information
- Application Number
- CN202310197791.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-24
- Publication Date
- 2024-08-27
AI Technical Summary
Existing sample analyzers need to interrupt the testing process when a fault occurs, resulting in waste of consumables and low testing efficiency.
A sample analyzer is designed, including a detection module, a storage module and a control module. The control module responds to fault instructions, obtains fault information, determines the fault status, and terminates or suspends the test process when the fault status indicates, and resumes testing after the fault is eliminated.
It realizes rapid processing and recovery of the test process when a fault occurs, reduces waste of consumables, and improves test efficiency.
Smart Images

Figure CN118549663A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of medical devices, and in particular to a sample analyzer and a fault handling method thereof. Background Art
[0002] Sample analyzers are commonly used to perform sample tests of preset items on samples such as blood, saliva, and urine. When an existing sample analyzer fails during sample testing, for example, due to equipment failure, the test result is wrong or the test is not performed, the sample analyzer needs to suspend the current test process and wait for the failure to be eliminated before retesting the sample. The method of suspending the test will cause a waste of consumables and is not conducive to improving the test efficiency. Summary of the invention
[0003] In order to solve the above technical problems, the present application provides a sample analyzer and a fault handling method thereof.
[0004] To solve the above problems, the present application provides a first technical solution: a sample analyzer is provided, comprising a detection module, a storage module and a control module. The detection module is used to test the sample to be tested according to the preset detection items; the storage module is used to store computer programs; the control module is connected to the detection module and the storage module respectively, and the control module calls the computer program stored in the storage module to execute: in response to the fault instruction, obtain the fault information of the sample analyzer; obtain the fault state of the sample analyzer according to the fault information; in response to the fault state indicating that the detection item of the detection module is in a restricted state, control the detection module to terminate the test process and unload the currently detected sample to be tested on the sample analyzer; in response to the fault state indicating that the detection item of the detection module is in a non-restricted state, control the detection module to suspend the test process, so that the detection module continues to execute the test process after the fault is eliminated.
[0005] To solve the above problem, the present application provides a second technical solution: a fault handling method is provided, which is applied to the above sample analyzer, and the fault handling method includes: a control module obtains fault information of the sample analyzer in response to a fault instruction; the control module obtains the fault status of the sample analyzer according to the fault information; in response to the fault status indicating that the detection item of the sample analyzer is in a restricted state, the control module controls the sample analyzer to terminate the test process and unload the sample to be tested currently being tested on the sample analyzer; in response to the fault status indicating that the detection item of the sample analyzer is in a non-restricted state, the control module controls the sample analyzer to suspend the test process, so that the sample analyzer continues to execute the test process after the fault is eliminated.
[0006] The present application provides a sample analyzer and a fault handling method thereof, the sample analyzer comprising a detection module, a storage module and a control module. The detection module is used to test the sample to be tested according to the preset detection items; the storage module is used to store computer programs; the control module is connected to the detection module and the storage module respectively, and the control module calls the computer program stored in the storage module to handle the fault of the sample analyzer. The control module responds to the fault instruction, obtains the fault state of the sample analyzer, and when the fault state indicates that the detection item of the detection module is in a restricted state, the control module suspends the test process and unloads the currently detected sample to be tested on the sample analyzer; when the fault state indicates that the detection item of the detection module is in a non-restricted state, the control module suspends the test process, so that the detection module continues to execute the test process after the fault is eliminated, so that the sample analyzer can execute the corresponding fault handling method according to the fault restriction state of the detection item, so as to quickly start the test process of the sample to be tested after the fault is eliminated, and improve the test efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:
[0008] Figure 1 is a structural schematic diagram of a first embodiment of a sample analyzer provided by the present application;
[0009] Figure 2 It is a flowchart of the first embodiment of the fault handling method provided by the present application;
[0010] Figure 3 is a flowchart of a second embodiment of the fault handling method provided by the present application;
[0011] Figure 4 It is a flowchart of the third embodiment of the fault handling method provided by the present application;
[0012] Figure 5 It is a structural schematic diagram of an embodiment of a computer-readable storage medium provided by the present application. DETAILED DESCRIPTION
[0013] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0014] It should be noted that if the embodiments of the present application involve directional indications (such as up, down, left, right, front, back...), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0015] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0016] The embodiment of the present application provides a sample analyzer and a fault handling method thereof.
[0017] See also Figure 1 , Figure 1 Schematic diagram of the structure of the first embodiment of the sample analyzer provided by the present application. Figure 1 As shown, the sample analyzer of this embodiment includes a detection module 20 , a storage module 30 and a control module 10 .
[0018] Specifically, the detection module 20 is used to test the sample to be tested according to a preset test process; the storage module 30 is used to store a computer program; the control module 10 is connected to the detection module 20 and the storage module 30 respectively, and the control module 10 executes the fault handling method of the sample analyzer by calling the computer program stored in the storage module 30. Among them, the detection module 20 can be used to perform at least one of routine blood testing, specific protein testing, immune testing and glycation testing on the sample to be tested, and the test process can be a test process obtained by any combination of routine blood testing items, specific protein testing items, immune testing items and glycation testing items. For example, the test process may include: performing routine blood testing and / or specific protein testing on the sample to be tested according to a first time sequence, performing immune testing and / or glycation testing on the sample to be tested according to a second time sequence, or performing immune testing and / or routine blood testing on the sample to be tested according to a third time sequence.
[0019] When the control module 10 calls a computer program, it can be used to execute the following steps: in response to a fault instruction, obtain fault information of the sample analyzer; obtain the fault status of the sample analyzer according to the fault information; in response to the fault status indicating that the detection item of the detection module 20 is in a restricted state, control the detection module 20 to terminate the test process and unload the sample to be tested currently being tested on the sample analyzer; in response to the fault status indicating that the detection item of the detection module 20 is in a non-restricted state, control the detection module 20 to suspend the test process so that the detection module 20 continues to execute the test process after the fault is eliminated.
[0020] In this embodiment, the fault state of the sample analyzer is used to indicate the current state of the detection items of the detection module 20. Specifically, the fault instruction is an instruction issued when a certain component or operating state of the sample analyzer fails. In response to the fault instruction, the control module 10 determines that the sample analyzer is in a fault state and obtains specific fault information to obtain the fault state of the sample analyzer according to the fault information. In an optional embodiment, the fault information includes at least one of a fault level, a fault scenario, and a fault category. The control module 10 determines whether the current fault restricts the detection items of the sample to be tested according to the fault information of the current fault of the sample analyzer to obtain the fault state.
[0021] Among them, the test process is the whole process of the sample analyzer from receiving the sample to unloading the sample. Exemplarily, the test process may include the processes of sample injection, scanning, sample addition, testing, unloading, etc. of the sample analyzer. When the current fault makes all the test processes of the detection module 20 unable to continue, the control module 10 determines that the detection items of the detection module 20 are in a restricted state; when the current fault makes part of the test process of the detection module 20 unable to proceed, the control module 10 determines that the detection items of the detection module 20 are in a non-restricted state. For example, the fault event may be that the communication connection of the sample analyzer is interrupted, so that the analysis process and results of the sample analyzer cannot be synchronized online, resulting in all test processes being unable to continue; or, the fault event may also be that the placement amount on the sample unloading area of the sample analyzer exceeds the threshold, the sample analyzer cannot unload the currently detected sample and cannot perform the detection of the next sample, resulting in the test process being unable to continue. At this time, the control module 10 determines that the detection items of the detection module 20 are in a restricted state, controls the detection module 20 to terminate the current test process, and unloads the currently detected sample from the sample analyzer.
[0022] For another example, the fault event may be that the reagent remaining amount stored in the reagent storage device of the detection module 20 is insufficient, resulting in the inability to proceed with the next detection item of the sample to be tested; or, the optical coupling detection of the injection module of the sample analyzer fails, which makes the injection process of the injection module blocked. At this time, the control module 10 determines that the detection item of the detection module 20 is in a non-restricted state, and controls the detection module 20 to suspend the current test process, so as to control the detection module 20 to continue to execute the test process after the fault is eliminated.
[0023] The storage module 30 may include a memory stick, a TF card, etc., and is used to store all information in the sample analyzer, including the input raw data, computer programs, intermediate operation results, and final operation results, which are all stored in the storage module 30. It stores and retrieves information according to the location specified by the control module 10. The control module 10 may be an electronic chip with signal processing capabilities, or a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, or discrete hardware components.
[0024] In this embodiment, the control module 10 can respond to the fault instruction, obtain the fault status of the sample analyzer, and when the fault status indicates that the detection item of the detection module 20 is in a restricted state, control the detection module 20 to terminate the test process and unload the sample to be tested currently being tested on the sample analyzer; when the fault status indicates that the detection item of the detection module 20 is in a non-restricted state, control the detection module 20 to pause the test process, so that the detection module 20 continues to execute the test process after the fault is eliminated, so that the sample analyzer can execute the corresponding fault handling method according to the fault restriction state of the detection item, so as to quickly start the test process of the sample to be tested after the fault is eliminated, thereby improving the test efficiency.
[0025] In one embodiment, the fault information includes at least one of a fault level, a fault scenario, and a fault category.
[0026] Specifically, the fault level is a level divided according to the degree of fatality of the fault. For example, the fatal level may include fatal, restrictive and prompt. When the fatal level is fatal, the control module 10 controls the sample analyzer to stop the current operation; when the fatal level is restrictive, a fault occurs in the detection process of the sample analyzer, and the control module 10 determines that the fault may be recoverable. At this time, the control module 10 can pause or terminate the current test process; when the fatal level is restrictive, the control module 10 determines that the fault does not affect the count of the test process, and the control module 10 outputs a corresponding prompt message without performing any processing action.
[0027] The fault scenario is the current scenario of the sample analyzer when the fault occurs. When the fault occurs, the control module 10 can judge the fault level or degree of danger of the current fault according to different fault scenarios. The fault type is the type of fault that occurs. For example, the fault type can include motor type, reagent type and timing type. The motor type is generally a motor reset, optical coupler detection failure and other faults, the reagent type is generally a reagent replacement, reagent card swiping error and other faults, and the timing type is generally a timing initialization error and other faults. It can be understood that the fault handling measures for the same fault are different in different fault scenarios. The control module 10 can obtain or generate a corresponding fault elimination plan based on information such as the fault type, fault scenario and fault level. For example, when the sample analyzer fails, its failure scenario is all scenarios. At this time, the control module 10 can control the sample analyzer to perform a clearing operation; when the sample analyzer's failure scenario is an idle scenario, the control module 10 can control the sample analyzer to perform a component reset operation; when the sample analyzer's failure scenario is a pause scenario, the control module 10 can control the sample analyzer to perform a motion loading operation; when the sample analyzer's failure scenario is a running scenario, the control module 10 can control the sample analyzer to perform a component self-check.
[0028] Optionally, the control module 10 calls the computer program stored in the storage module 30 and is also used to execute: generating corresponding fault elimination instructions according to the fault information, so that the sample analyzer executes the corresponding fault elimination process according to the fault elimination instructions; and updating the fault status according to the execution result of the fault elimination process.
[0029] Specifically, the fault elimination instruction may include a fault elimination plan generated according to the fault information, and the fault elimination plan corresponds to the restricted state of the detection item. For example, when the communication connection of the sample analyzer is interrupted, the corresponding fault type is software type, the fault scenario is all scenarios, and the fault level is fatal. After obtaining the corresponding fault information, the control module 10 determines that the detection item is in a restricted state, controls the detection module 20 to terminate the test process, and unloads the sample to be tested currently being tested on the sample analyzer. For another example, when the reagent remaining amount of the sample analyzer is insufficient, the fault has a recoverable count, and the corresponding fault type is reagent type, the fault scenario is an operation scenario, and the fault level is restrictive. After obtaining the corresponding fault information, the control module 10 determines that the detection item is in a non-restricted state, and the control module 10 controls the detection module 20 to suspend the current test process, so as to control the detection module 20 to continue to execute the test process after the fault is eliminated.
[0030] It can be understood that the fault state is a restricted state of the detection item of the detection module 20, and the storage module 30 pre-stores a preset correspondence between the fault information and the fault state. The control module 10 determines the restricted state of the detection item by calling the preset correspondence between the fault information and the fault state stored in the storage module 30, and controls the detection module 20 to execute the corresponding fault elimination process according to the restricted state.
[0031] In one embodiment, the detection module 20 includes a first detection module 20 and a second detection module 20, and the detection items include a first test process corresponding to the first detection item and a second test process corresponding to the second detection item, and the first test process is different from the second test process.
[0032] Specifically, the detection methodologies of the first detection module 20 and the second detection module 20 are different, or the detection item categories and test processes of the first detection module 20 and the second detection module 20 are different. For example, the first detection item of the first detection module 20 may include a routine blood test item (the detection mode is any combination of CBC, DIFF and RET), and / or a specific protein test item (the detection mode is any combination of SAA, CRP, PCT, IL-6); the second detection item of the second detection module 20 may include an immunoassay item and / or a glycation test item (GHB). The sample analyzer can perform at least one of the following tests on the sample to be tested: routine blood test, specific protein test, immunoassay and glycation test.
[0033] When one of the first detection item and the second detection item is in a non-restricted state, the control module 10 is used to control the detection module 20 to suspend the corresponding first test process or the second test process, and the detection module 20 is used to perform the test of the other of the first detection item and the second detection item on the sample to be tested.
[0034] The present application also provides a fault handling method, which can be applied to the sample analyzer of any of the above embodiments. Figure 2 , Figure 2 1 is a flow chart of the first embodiment of the fault handling method provided by the present application. Figure 2 As shown, in this embodiment, the fault handling method includes the following steps:
[0035] Step S11: the control module 10 obtains fault information of the sample analyzer in response to the fault instruction.
[0036] The control module 10 obtains specific fault information of the sample analyzer in response to the acquired fault instruction of the sample analyzer. The fault information may include at least one of the fault level, fault scenario and fault category of the current fault of the sample analyzer.
[0037] Step S12: the control module 10 obtains the fault status of the sample analyzer according to the fault information.
[0038] After obtaining the fault information of the current fault, the control module 10 obtains the preset correspondence between the fault information and the fault status stored in the storage module 30, and obtains the fault status of the sample analyzer according to the preset correspondence. The fault status is used to indicate the status of the detection items of the sample analyzer.
[0039] Step S13: In response to the fault status indicating that the detection item of the sample analyzer is in a restricted state, the control module 10 controls the sample analyzer to terminate the test process and unload the sample to be tested currently being detected on the sample analyzer.
[0040] The control module 10 obtains the fault state of the sample analyzer, and when the fault state indicates that the detection item of the sample analyzer is in a restricted state, controls the detection module 20 of the sample analyzer to terminate the current test process and unload the sample to be tested currently being tested on the sample analyzer. It can be understood that the test process when the sample analyzer fails can include any stage of the sample detection. Since the sample analyzer is an instrument for automatic sample injection and processing, after the sample analyzer terminates the current test process, it is necessary to unload the sample to be tested that is being tested, injected, and transferred to clear the operation process of the sample analyzer, so that when the sample analyzer fails, the sample rack will not stay on the transfer track and cannot be unloaded and cannot be tested by other devices.
[0041] Step S14: In response to the fault status indicating that the detection items of the sample analyzer are in a non-restricted state, the control module 10 controls the sample analyzer to suspend the test process, so that the sample analyzer continues to execute the test process after the fault is eliminated.
[0042] When the fault state indicates that the detection item of the sample analyzer is in a non-restricted state, the control module 10 controls the detection module 20 of the sample analyzer to suspend the current test process. When the fault of the detection item in the fault state is eliminated, the control module 10 can control the detection module 20 to continue to execute the current test process to reduce the waste of reagents and consumables and improve the test speed.
[0043] In the embodiment of the present application, when the fault status indicates that the detection item of the sample analyzer is in a restricted state, the control detection module 20 terminates the test process and unloads the sample to be tested currently being tested on the sample analyzer; when the fault status indicates that the detection item of the sample analyzer is in a non-restricted state, the control detection module 20 pauses the test process so that the detection module 20 continues to execute the test process after the fault is eliminated, so that the sample analyzer can execute the corresponding fault handling method according to the fault restriction state of the detection item, so as to quickly start the test process of the sample to be tested after the fault is eliminated, thereby improving the test efficiency.
[0044] In one embodiment, see Figure 3 , Figure 3 2 is a flow chart of the second embodiment of the fault handling method provided by the present application. Figure 3 As shown, the detection items of this embodiment include a first detection item and a second detection item with different test processes, and the test process includes a first test process corresponding to the first detection item and a second test process corresponding to the second detection item; step S14 includes the following steps:
[0045] Step S21 : when the fault status indicates that one of the first detection item and the second detection item is in a non-restricted state, the control module 10 suspends the corresponding first test process or the second test process.
[0046] Specifically, in the present embodiment, when the sample analyzer obtains the sample to be tested, it can scan the sample test tube of the sample rack through the scanning device of the sampling module to obtain the identification information corresponding to the sample test tube, and obtain the test items that need to be tested for the sample to be tested according to the identification information, so as to control the sample to be tested to be tested between the first detection module 20 and / or the second detection module 20 according to the preset timing.
[0047] When the test process of the sample to be tested is blocked in one of the first detection module 20 and the second detection module 20, the control module 10 obtains the fault information of the sample analyzer to determine whether the corresponding detection item is in a restricted state according to the fault information. The control module 10 determines that the corresponding detection item is in a restricted state, and then suspends the test process corresponding to the detection item. Among them, suspending the test process is to fix the position of the current test process in the preset time sequence, so that the control module 10 can directly start the test process after the fault ends, and the detection module 20 can continue to execute the process before suspension.
[0048] Step S22: the control module 10 controls the sample analyzer to move the sample to be tested, so as to perform the other of the first test item and the second test item on the sample to be tested.
[0049] After the control module 10 pauses the corresponding first test process or the second test process, the control sample analyzer controls the sample to be tested to move the other of the first detection module 20 and the second detection module 20 so that the other of the first detection module 20 and the second detection module 20 continues to test the sample to be tested.
[0050] It can be understood that in this embodiment, the fault state is used to indicate whether the detection state of the first detection item and / or the second detection item is restricted. When the test of the first detection item and the second detection item is restricted, the control module 10 determines that the sample analyzer is in a restricted state, and the control module 10 terminates all the current test processes of the first detection item and the second detection item and performs corresponding fault processing; when the test of the first detection item or the second detection item is restricted, the control module 10 determines that the sample analyzer is in an unrestricted state, and the control module 10 suspends the test process of the restricted detection item and controls another unrestricted detection module 20 to continue to detect the sample to be tested, so as to speed up the test speed of the sample, and does not affect the current test process, reducing the waste of consumables.
[0051] When a fault occurs in the sample analyzer during the test of the sample to be tested, for example, the sample to be tested needs to be tested for the first detection item and the second detection item, the preset test sequence is to first control the first detection module 20 to detect the sample to be tested, and then control the second detection module 20 to detect the sample to be tested. Since the test process of the sample to be tested in the first detection module 20 is blocked due to the fault of the sample analyzer, the control module 10 obtains the fault information of the sample analyzer to determine whether the first detection item is in a restricted state according to the fault information. When the control module 10 determines that the first detection item is in a restricted state, the first test process is suspended, and the second detection module 20 is controlled to detect the sample to be tested. After the restricted state of the first detection module 20 is released, the control module 10 controls the first detection module 20 to continue to detect the sample to be tested.
[0052] In an embodiment of the present application, when a fault state indicates that one of the first detection item and the second detection item is in a non-restricted state, the control module 10 suspends the corresponding first test process or the second test process, and controls the sample analyzer to move the sample to be tested to perform the test of the other of the first detection item and the second detection item on the sample to be tested, so that the detection of the second detection module 20 is continued when the first detection module 20 is performing fault processing, thereby improving the detection efficiency.
[0053] In one embodiment, after step S22, the fault handling method may further include the following steps: the control module 10 continues the corresponding first test process or the second test process in response to the elimination of the fault of one of the first detection item and the second detection item to complete the detection of the sample to be tested.
[0054] In one embodiment, after step S11, the fault handling method may further include the following steps: the control module 10 generates a corresponding fault elimination instruction according to the fault information, so that the sample analyzer executes the corresponding fault elimination process according to the fault elimination instruction; the control module 10 updates the fault status according to the execution result of the fault elimination process.
[0055] Specifically, the storage module 30 stores a first correspondence between fault information and fault status and a second correspondence between fault status and fault elimination process. The control module 10 calls the first correspondence stored in the storage module 30 and determines the restriction state of the detection item according to the fault information. The control module 10 also calls the second correspondence stored in the storage module 30 to control the detection module 20 to execute the corresponding fault elimination process according to the restriction state. After the sample analyzer executes the fault elimination process, the control module 10 further obtains the execution result of the fault elimination process and updates the fault state according to the execution result.
[0056] In one embodiment, see Figure 4 , Figure 4 FIG. 1 is a flow chart of the third embodiment of the fault handling method provided by the present application. Figure 4 As shown, the step of the control module 10 updating the fault status according to the execution result of the fault elimination process also includes the following method:
[0057] Step S31: the control module 10 obtains the execution result of the fault elimination process.
[0058] The execution result of the troubleshooting process may include execution success / failure, execution steps, reasons for execution failure, etc.
[0059] Step S32: When the execution result is successful, the control module 10 generates a solution instruction, and updates the fault state to a normal state based on the solution instruction.
[0060] After the control module 10 obtains the execution result, if the execution result is successful, the control module 10 generates a solution instruction and updates the fault state to a normal state based on the solution instruction. The detection module 20 performs a sample test in response to the normal state.
[0061] Step S33: When the execution result is execution failure, the control module 10 generates a warning message and outputs the warning message to the visual interface.
[0062] Specifically, the sample analyzer further includes a visualization interface, which is used to display status information, execution information, test information, etc. of the sample analyzer. When the execution result is execution failure, the control module 10 generates warning information and outputs the warning information to the visualization interface.
[0063] Among them, after the control module 10 generates a warning message, the fault information and / or the fault elimination process of the current fault can be adjusted according to the warning information. For example, when the execution of the fault elimination process fails, the control module 10 adjusts the detection item from a non-restrictive state to a restricted state, or the control module 10 adjusts the fault level of the current fault from restrictive to fatal, and the control module 10 re-acquires the fault elimination process according to the adjusted fault information.
[0064] After the warning information is output to the visual interface, the user can check the fault information of the current fault, the process and result information of eliminating the fault, etc. through the visual interface and know the current fault situation, so as to facilitate the user to judge and handle the fault and improve the user experience.
[0065] In one embodiment, step S14 includes the following steps: the control module 10 inserts a fault breakpoint at the current position of the test process so that the test process stays at the fault breakpoint; after the fault of the sample analyzer is eliminated, the control module 10 starts the test process after the fault breakpoint according to a preset timing.
[0066] Specifically, when the control module 10 determines that the test item is in a non-restricted state, it inserts a fault breakpoint at the current position of the test process, so that the test process stays at the fault breakpoint, and controls the sample analyzer to perform fault processing according to the fault elimination process. After the fault of the sample analyzer is eliminated, the control module 10 continues to start the test process from the fault breakpoint according to the preset timing to perform subsequent unfinished tests on the sample to be tested, without the need for retesting, saving reagents and consumables, and improving the efficiency of sample testing.
[0067] See also Figure 5 , Figure 5 Schematic diagram of the structure of an embodiment of the computer-readable storage medium provided by the present application. Figure 5As shown, the computer-readable storage medium 110 stores program instructions 111 capable of implementing all the above methods.
[0068] If the integrated units of the functional units in the various embodiments of the present application are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium 110. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer-readable storage medium 110 includes several instructions in a program instruction 111 to enable a computer device (which can be a personal computer, a system server, or a network device, etc.), an electronic device (such as MP3, MP4, etc., or a mobile terminal such as a mobile phone, a tablet computer, a wearable device, or a desktop computer, etc.) or a processor to execute all or part of the steps of the methods of various implementation methods of the present application.
[0069] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-readable storage media 110 (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0070] The present application is described by flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by a computer-readable storage medium 110. These computer-readable storage media 110 can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the program instructions 111 executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. 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.
[0071] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A sample analyzer, It is characterized in that include: A detection module is used to test the sample to be tested according to the preset detection items; A storage module for storing a computer program; A control module is connected to the detection module and the storage module respectively, and the control module calls the computer program stored in the storage module to execute: In response to the fault instruction, acquiring fault information of the sample analyzer; Acquiring a fault status of the sample analyzer according to the fault information; In response to the fault state indicating that the detection item of the detection module is in a restricted state, controlling the detection module to terminate the test process and unloading the sample to be tested currently being tested on the sample analyzer; In response to the fault status indicating that the detection item of the detection module is in a non-restricted state, the detection module is controlled to suspend the test process, so that the detection module continues to execute the test process after the fault is eliminated.
2. The sample analyzer according to claim 1, It is characterized in that The detection items include a first detection item and a second detection item, the test process includes a first test process corresponding to the first detection item and a second test process corresponding to the second detection item, and the first test process is different from the second test process; When one of the first detection item and the second detection item is in a non-restricted state, the control module is used to pause the corresponding first test process or the second test process, and the detection module is used to control the detection module to perform the test of the other of the first detection item and the second detection item on the sample to be tested.
3. The sample analyzer according to claim 1, It is characterized in that The control module calls the computer program stored in the storage module and is also used to execute: generating a corresponding fault elimination instruction according to the fault information, so that the sample analyzer executes a corresponding fault elimination process according to the fault elimination instruction; The fault status is updated according to the execution result of the fault elimination process.
4. The sample analyzer according to claim 1, It is characterized in that The fault information includes at least one of a fault level, a fault scenario and a fault category.
5. A method for troubleshooting, It is characterized in that Applied to the sample analyzer according to any one of claims 1 to 4, the fault handling method comprises: The control module obtains fault information of the sample analyzer in response to the fault instruction; The control module obtains the fault status of the sample analyzer according to the fault information; In response to the fault state indicating that the detection item of the sample analyzer is in a restricted state, the control module controls the sample analyzer to terminate the test process and unload the sample to be tested currently being detected on the sample analyzer; In response to the fault status indicating that the detection item of the sample analyzer is in a non-restricted state, the control module controls the sample analyzer to suspend the test process, so that the sample analyzer continues to execute the test process after the fault is eliminated.
6. The fault handling method according to claim 5, It is characterized in that The detection items include a first detection item and a second detection item with different test processes, and the test process includes a first test process corresponding to the first detection item and a second test process corresponding to the second detection item; When the fault state indicates that the detection item of the sample analyzer is in a non-restricted state, the control module suspends the test process to continue to execute the test process after the fault of the sample analyzer is eliminated, including: When the fault state indicates that one of the first detection item and the second detection item is in a non-restricted state, the control module suspends the corresponding first test process or the second test process; The control module controls the sample analyzer to move the sample to be tested, so as to perform a test of the other of the first test item and the second test item on the sample to be tested.
7. The fault handling method according to claim 6, It is characterized in that After the step of the control module moving the sample to be tested to perform the other of the first detection item and the second detection item on the sample to be tested, the fault handling method further includes: In response to the elimination of a fault in one of the first detection item and the second detection item, the control module continues the corresponding first test process or the second test process to complete the detection of the sample to be tested.
8. The fault handling method according to claim 5, It is characterized in that After the step of the control module acquiring the fault status of the sample analyzer according to the fault information, the fault handling method further comprises: The control module generates a corresponding fault elimination instruction according to the fault information, so that the sample analyzer executes a corresponding fault elimination process according to the fault elimination instruction; The control module updates the fault status according to the execution result of the fault elimination process.
9. The fault handling method according to claim 8, It is characterized in that The step of the control module updating the fault status according to the execution result of the fault elimination process includes: The control module obtains the execution result of the fault elimination process; When the execution result is successful, the control module generates a solution instruction, and updates the fault state to a normal state based on the solution instruction; When the execution result is execution failure, the control module generates a warning message and outputs the warning message to a visual interface.
10. The fault handling method according to claim 5, It is characterized in that The control module suspends the test process to continue executing the test process after the fault of the sample analyzer is eliminated, including: The control module inserts a fault breakpoint at the current position of the test process so that the test process stops at the fault breakpoint; After the fault of the sample analyzer is eliminated, the control module starts the test process after the fault breakpoint according to a preset timing.
