CN116449809A - Fault processing method and device, electronic equipment and storage medium - Google Patents

Fault processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116449809A
CN116449809A CN202310713215.7A CN202310713215A CN116449809A CN 116449809 A CN116449809 A CN 116449809A CN 202310713215 A CN202310713215 A CN 202310713215A CN 116449809 A CN116449809 A CN 116449809A
Authority
CN
China
Prior art keywords
fault
sub
strategy
flow
handling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310713215.7A
Other languages
Chinese (zh)
Other versions
CN116449809B (en
Inventor
刘邓
张梦君
任桥
张玺
陈佳琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Hanchen Guangyi Technology Co ltd
Chengdu Hanchen Guangyi Bioengineering Co ltd
Original Assignee
Chengdu Hanchen Guangyi Technology Co ltd
Chengdu Hanchen Guangyi Bioengineering Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Hanchen Guangyi Technology Co ltd, Chengdu Hanchen Guangyi Bioengineering Co ltd filed Critical Chengdu Hanchen Guangyi Technology Co ltd
Priority to CN202310713215.7A priority Critical patent/CN116449809B/en
Publication of CN116449809A publication Critical patent/CN116449809A/en
Application granted granted Critical
Publication of CN116449809B publication Critical patent/CN116449809B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0221Preprocessing measurements, e.g. data collection rate adjustment; Standardization of measurements; Time series or signal analysis, e.g. frequency analysis or wavelets; Trustworthiness of measurements; Indexes therefor; Measurements using easily measured parameters to estimate parameters difficult to measure; Virtual sensor creation; De-noising; Sensor fusion; Unconventional preprocessing inherently present in specific fault detection methods like PCA-based methods
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M99/00Subject matter not provided for in other groups of this subclass
    • G01M99/005Testing of complete machines, e.g. washing-machines or mobile phones
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The embodiment of the invention provides a fault processing method, a device, electronic equipment and a storage medium, and relates to the technical field of biological detection. The uncertainty and diversity of the scene are covered by the fault processing mechanism, the fixed processing flow is prevented from being solidified in the code according to some assumed fault scenes, recompilation and programming procedures are not required to be modified each time, and the fault processing efficiency is improved.

Description

Fault processing method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of biological detection technologies, and in particular, to a fault processing method, a fault processing device, an electronic device, and a storage medium.
Background
In the field of biological detection technology, a biological detection device performs a biological detection, and often includes a plurality of processes, each of which includes a plurality of action nodes.
When a biological detection device fails at a node executing a certain action, existing fault processing is realized by assuming the occurrence of some fault scenes and then solidifying a fixed processing flow in the code. Therefore, each time the program is modified, the program needs to be recompiled and programmed, and the efficiency is low.
Disclosure of Invention
The object of the present invention includes, for example, providing a fault handling method, a device, an electronic apparatus, and a storage medium, which can at least partially solve the above technical problems.
Embodiments of the invention may be implemented as follows:
in a first aspect, an embodiment of the present invention provides a fault handling method, where the method is applied to a controller, and the controller is communicatively connected to a biological detection device, and the method includes:
receiving a fault signal from the biological detection device and determining a first fault handling sub-strategy according to the fault signal; wherein, the fault signal is generated when the biological detection equipment execution target detection flow fails;
determining a second fault handling sub-strategy corresponding to the target detection flow based on the target detection flow;
determining a fault flow node from a plurality of flow nodes included in the target detection flow, and determining a third fault processing sub-strategy based on the fault flow node;
determining a fault handling policy based on the first fault handling sub-policy, the second fault handling sub-policy, and the third fault handling sub-policy;
and performing fault processing based on the fault processing strategy.
Optionally, a database is maintained in the controller, and a preset module fault configuration table and a preset module fault processing table are stored in the database, wherein the preset module fault processing table comprises a plurality of module fault processing sub-strategies; the fault signal comprises fault codes, the biological detection equipment comprises a plurality of equipment modules, and the fault configuration table of the preset modules comprises the fault codes corresponding to the equipment modules; the determining a first fault handling sub-strategy according to the fault signal comprises:
determining a target fault module and module fault contents of the target fault module from a plurality of equipment modules according to the fault codes based on the preset module fault configuration table;
determining a target fault processing sub-strategy from a plurality of module fault processing sub-strategies in the preset module fault processing table according to the target fault module and the module fault content;
and taking the target fault processing sub-strategy as the first fault processing sub-strategy.
Optionally, the database further stores a preset flow fault handling table, and the determining, based on the target detection flow, a second fault handling sub-policy corresponding to the target detection flow includes:
invoking the preset flow fault processing table from the database, wherein the preset flow fault processing table comprises a plurality of flow fault processing sub-strategies;
searching a target flow fault processing sub-strategy corresponding to the target detection flow from a plurality of flow fault processing sub-strategies based on the preset flow fault processing table;
and determining the target flow fault processing sub-strategy as the second fault processing sub-strategy.
Optionally, the database further stores a plurality of preset node fault handling tables, each preset node fault handling table corresponds to a detection flow, each preset node fault handling table includes a plurality of node fault handling sub-policies, and determining, based on the fault flow node, a third fault handling sub-policy includes:
calling a preset node fault processing table corresponding to the target detection flow from the database to serve as a target preset node fault processing table;
determining a target node fault processing sub-strategy corresponding to the fault flow node from a plurality of node fault processing sub-strategies in the target preset node fault processing table based on the fault flow node;
and determining the target node fault processing sub-strategy as the third fault processing sub-strategy.
Optionally, the method further comprises:
if the target module fault processing sub-strategy corresponding to the target fault module and the module fault content does not exist in the preset module fault processing table, determining that the first fault processing sub-strategy is an empty strategy, wherein the empty strategy does not comprise any fault processing content;
if the target process fault processing sub-strategy corresponding to the target detection process does not exist in the preset process fault processing table, determining that the second fault processing sub-strategy is the null strategy;
and if the target node fault processing sub-strategy corresponding to the fault flow node does not exist in the preset node fault processing table, determining that the third fault processing sub-strategy is the null strategy.
Optionally, the determining a fault handling policy based on the first fault handling sub-policy, the second fault handling sub-policy, and the third fault handling sub-policy includes:
performing execution sequence arrangement on the first fault handling sub-strategy, the second fault handling sub-strategy and the third fault handling sub-strategy based on a preset arrangement rule;
and packaging the arranged first fault processing sub-strategy, the second fault processing sub-strategy and the third fault processing sub-strategy to obtain the fault processing strategy.
Optionally, the method further comprises:
generating a pause control signal when a fault signal is received;
and controlling the biological detection device to suspend execution of the target detection flow based on the suspension control signal.
In a second aspect, an embodiment of the present invention provides a fault handling apparatus applied to a controller, where the controller is communicatively connected to a biological detection device, the fault handling apparatus includes:
a first fault handling sub-strategy determination unit for receiving a fault signal from the biological detection device and determining a first fault handling sub-strategy according to the fault signal; wherein, the fault signal is generated when the biological detection equipment execution target detection flow fails;
a second fault handling sub-policy determining unit, configured to determine a second fault handling sub-policy corresponding to the target detection flow based on the target detection flow;
a third fault handling sub-policy determining unit configured to determine a fault process node from a plurality of process nodes included in the target detection process, and determine a third fault handling sub-policy based on the fault process node;
a fault handling policy determining unit configured to determine a fault handling policy based on the first fault handling sub-policy, the second fault handling sub-policy, and the third fault handling sub-policy;
and the fault processing unit is used for carrying out fault processing based on the fault processing strategy.
In a third aspect, an embodiment of the present invention provides an electronic device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any one of the methods described above when the program is executed.
In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium, where the computer readable storage medium includes a computer program, where the computer program controls a server where the computer readable storage medium is located to implement the steps of any one of the methods described above.
The beneficial effects of the embodiment of the invention include, for example:
the method comprises the steps of receiving fault signals sent when the biological detection equipment breaks down, determining a first fault processing sub-strategy according to the fault signals, determining a second fault processing sub-strategy according to a target detection flow, determining a third fault processing sub-strategy according to a fault flow node, integrating the first fault processing sub-strategy, the second fault processing sub-strategy and the third fault processing sub-strategy, determining a fault processing strategy, and processing the fault of the biological detection equipment based on the fault processing strategy. The fault processing of the biological detection equipment is split into the fault processing of the equipment module, the fault processing of the detection flow and the fault processing of the flow node, and the complete equipment fault processing flow can be flexibly configured by configuring different fault processing strategies for the three parts, so that the uncertainty and the diversity of scenes are covered by the fault processing mechanism, the fixed processing flow is prevented from being solidified in the code according to some assumed fault scenes, the recompilation and programming procedures are not required to be modified each time, and the fault processing efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an electronic device according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a fault handling method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating interaction between a controller and a biological detection device according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a controller for fault handling according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a fault handling apparatus according to an embodiment of the present invention.
Icon: 100-an electronic device; 110-memory; a 120-processor; 130-a communication module; 300-fault handling means; 301-a first fault handling sub-policy determination unit; 302-a second fault handling sub-policy determination unit; 303-a third fault handling sub-policy determination unit; 304-a fault handling policy determination unit; 305-fault handling unit.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
Furthermore, the terms "first," "second," and the like, if any, are used merely for distinguishing between descriptions and not for indicating or implying a relative importance.
It should be noted that the features of the embodiments of the present invention may be combined with each other without conflict.
Biological detection devices are widely used in the fields of medical treatment, pharmacy, biotechnology and the like, such as animal and plant sample collection, DNA detection and the like, and the biological detection devices are required. A complete biological assay generally consists of a plurality of procedures, each of which includes a plurality of action nodes, e.g., a nucleic acid extraction, which involves a plurality of procedures such as lysis, binding, washing, elution, etc., while a washing procedure includes a plurality of action nodes such as adding a washing reagent, transferring a sample, magnetically attracting, discarding a waste solution, and demagnetizing. When the equipment runs and faults occur, how to find out what the faults are in time and how to process the faults faster is a key point for improving the fault processing efficiency. In the prior art, the biological detection equipment is generally suspended, then a worker performs troubleshooting, and then the executive program of the biological detection equipment is manually adjusted to finish the fault treatment, so that the human resources and the time are wasted.
Based on the above situation, the invention provides a fault processing method, a device, electronic equipment and a storage medium, which can effectively alleviate the technical problems.
Referring to fig. 1, a block diagram of an electronic device 100 provided in the present application is shown, where the electronic device 100 may be a device capable of performing data processing, which is not limited in this embodiment. The electronic device 100 includes a memory 110, a processor 120, and a communication module 130. The memory 110, the processor 120, and the communication module 130. The components are directly or indirectly electrically connected with each other to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines.
Wherein the memory 110 is used for storing programs or data. The Memory 110 may be, but is not limited to, random access Memory (Random Access Memory, RAM), read Only Memory (ROM), programmable Read Only Memory (Programmable Read-Only Memory, PROM), erasable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable Read Only Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc.
The processor 120 is used to read/write data or programs stored in the memory and perform corresponding functions.
The communication module 130 is used for establishing communication connection between the server and other communication terminals through the network, and is used for receiving and transmitting data through the network.
It should be understood that the structure shown in fig. 1 is merely a schematic diagram of the structure of the electronic device 100, and that the electronic device 100 may further include more or fewer components than those shown in fig. 1, or have a different configuration than that shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof. The electronic device 100 may be provided in a host computer, or may be provided as an independent device between the host computer and the biological detection device.
Corresponding to the electronic device 100, an embodiment of the present invention provides a fault handling method, which is applied to a controller, which is communicatively connected to a biological detection device, the method comprising the following steps as shown in fig. 2:
step S110: receiving a fault signal from the biological detection device and determining a first fault handling sub-strategy according to the fault signal; wherein the fault signal is generated when the biological detection equipment execution target detection flow fails.
Step S120: and determining a second fault processing sub-strategy corresponding to the target detection flow based on the target detection flow.
Step S130: and determining a fault flow node from a plurality of flow nodes included in the target detection flow, and determining a third fault processing sub-strategy based on the fault flow node.
Step S140: determining a fault handling policy based on the first fault handling sub-policy, the second fault handling sub-policy, and the third fault handling sub-policy.
Step S150: and performing fault processing based on the fault processing strategy.
The biological detection device is communicatively connected to the controller, and the architecture diagram is shown in fig. 3. After the biological detection device is started, detection work is started according to an instruction sent by a worker through the controller. The detection work comprises a plurality of detection processes, wherein the ongoing detection process is a target detection process.
When the biological detection device fails in executing a certain target detection process, executing step S110, receiving a failure signal from the biological detection device, and determining a first failure processing sub-strategy according to the failure signal; wherein the fault signal is generated when the biological detection equipment execution target detection flow fails.
The first failure handling sub-policy may be a failure handling sub-policy generated for a failed device module in the biological detection device. When the biological detection device fails, a fault signal is generated and sent to the controller, the controller receives the fault signal, and the first fault processing sub-strategy is determined by the fault signal. For example, the fault signal includes a name of a faulty equipment module, and after the controller receives the fault signal, the controller determines a first fault processing sub-policy and the like from a preset fault processing sub-policy corresponding to the name of the equipment module according to the name of the faulty equipment module.
Optionally, a database is maintained in the controller, and a preset module fault configuration table and a preset module fault processing table are stored in the database, wherein the preset module fault processing table comprises a plurality of module fault processing sub-strategies. The fault signal comprises fault codes, the biological detection device comprises a plurality of device modules, and the fault configuration table of the preset module comprises the fault codes corresponding to the device modules. The determining a first fault handling sub-strategy according to the fault signal comprises:
and determining a target fault module and module fault contents of the target fault module from a plurality of equipment modules according to the fault codes based on the preset module fault configuration table.
And determining a target fault processing sub-strategy from a plurality of module fault processing sub-strategies in the preset module fault processing table according to the target fault module and the module fault content.
And taking the target fault processing sub-strategy as the first fault processing sub-strategy.
As an alternative embodiment, a preset module fault configuration table and a preset module fault handling table may be pre-stored in a database maintained by the controller. The preset module fault configuration table comprises the name of each equipment module in the biological detection equipment and the corresponding fault code, and the preset module fault processing table comprises a plurality of module fault processing sub-strategies.
After the controller receives the fault signal, based on a preset module fault configuration table, the equipment module corresponding to the fault code and the module fault content are found in the preset module fault configuration table through the fault code in the fault signal, and the equipment module is determined to be a target fault module.
After the target fault module and the fault content are determined, a unique module fault processing sub-strategy corresponding to the target fault module and the fault content can be searched in a preset module fault processing table, and the module fault processing sub-strategy is determined to be a first fault processing sub-strategy.
For example, as shown in table 1, the fault configuration table is a preset module fault configuration table, and if the fault code in the fault signal received by the controller is F013, it may be determined that the target fault module is a, and the fault content is Ac. And then searching a module fault processing sub-strategy corresponding to the target fault module A and the fault content Ac from the preset module fault processing table through the preset module fault processing table shown in the table 2, and determining the X3 as a target fault processing sub-strategy, namely a first fault processing sub-strategy.
TABLE 1
TABLE 2
Step S120 is executed to determine, based on the target detection procedure, a second fault handling sub-policy corresponding to the target detection procedure.
The second fault handling sub-strategy may be a flow-level fault handling sub-strategy. For different detection flows, the corresponding fault processing modes are different. When the biological detection device fails, the controller may determine a second failure handling sub-policy corresponding thereto according to the currently executed target detection flow. For example, a prompt message is generated according to the name of the target detection flow and sent to an operation terminal of the staff, then a control instruction fed back by the staff through the operation terminal is received, and the instruction is determined to be the second fault processing sub-strategy.
Optionally, the database further stores a preset flow fault handling table, and the determining, based on the target detection flow, a second fault handling sub-policy corresponding to the target detection flow includes:
and calling the preset flow fault processing table from the database, wherein the preset flow fault processing table comprises a plurality of flow fault processing sub-strategies.
And searching a target flow fault processing sub-strategy corresponding to the target detection flow from a plurality of flow fault processing sub-strategies based on the preset flow fault processing table.
And determining the target flow fault processing sub-strategy as the second fault processing sub-strategy.
As another alternative embodiment, the controller may call a preset flow fault handling table from the database, and then find a target flow fault handling sub-policy corresponding to the target detection flow from a plurality of flow fault handling sub-policies in the preset flow fault handling table, as the second fault handling sub-policy.
For example, if the target flow is a proteinase K pipetting flow, when the biological detection device fails in executing the target detection flow, the controller invokes a preset flow failure handling table from the database, and finds that the flow failure handling sub-policy corresponding to the proteinase K pipetting flow is "pause device", and uses the "pause device" as the second failure handling sub-policy.
Step S130 is executed to determine a fault flow node from the plurality of flow nodes included in the target detection flow, and determine a third fault handling sub-policy based on the fault flow node.
Each target detection flow includes a plurality of flow nodes, and the failed flow node is a failed flow node. In an alternative embodiment, the controller may determine the fault flow node based on the target fault module, the target detection flow, and the fault signal. When a failed flow node is determined, a flow node level fault handling sub-policy, i.e., a third fault handling sub-policy, may be determined based on the failed flow node.
Optionally, the database further stores a plurality of preset node fault handling tables, each preset node fault handling table corresponds to a detection flow, each preset node fault handling table includes a plurality of node fault handling sub-policies, and determining, based on the fault flow node, a third fault handling sub-policy includes:
and calling a preset node fault processing table corresponding to the target detection flow from the database to serve as a target preset node fault processing table.
And determining a target node fault processing sub-strategy corresponding to the fault flow node from a plurality of node fault processing sub-strategies in the target preset node fault processing table based on the fault flow node.
And determining the target node fault processing sub-strategy as the third fault processing sub-strategy.
As an optional implementation manner, the controller may call a preset node fault handling table from the database, where each preset node fault handling table includes a fault handling manner (i.e., node fault handling sub-policy) corresponding to when each process node in the detection process breaks down. If the target detection flow is Z, determining a preset node fault processing table corresponding to Z as a target preset node fault processing table. After the target preset node fault processing table is determined, searching a target node fault processing sub-strategy corresponding to the fault flow node in a plurality of node fault processing sub-strategies in the target preset node fault processing table, and taking the target node fault processing sub-strategy as a third fault processing sub-strategy.
Taking the target detection flow as proteinase K pipetting flow as an example, if the fault flow node is the "cold storage module opens the windshield" in the target detection flow. The controller firstly finds a target preset node fault handling table corresponding to the proteinase K flow path, then searches a target node fault handling sub-strategy corresponding to a cold storage module open windshield in the target preset node fault handling table to be a 'discard Tip head', and then determines the 'discard Tip head' as a third fault handling sub-strategy.
It should be noted that, since the biological detection device is mainly applied to the fields of medical treatment, etc., the collection of a part of biological samples is difficult, and in order to ensure the accuracy of the detection result, the samples need not be polluted or discarded, so that the setting principle of the biological detection device is to protect the samples in the first fault processing sub-strategy, the second fault processing sub-strategy or the third fault processing sub-strategy. For example, the processing modes such as discarding the Tip head and transferring the sample are all preset fault processing modes set on the premise of ensuring the protection sample.
Step S140 is executed to determine a fault handling policy based on the first fault handling sub-policy, the second fault handling sub-policy and the third fault handling sub-policy.
When the first fault handling sub-strategy corresponding to the target fault module in the biological detection device, the second fault handling sub-strategy corresponding to the target detection flow and the third fault handling sub-strategy corresponding to the fault flow node are respectively determined, the three can be packaged into a flow for handling the fault (i.e. the fault handling strategy) for handling the fault more accurately.
Optionally, the determining a fault handling policy based on the first fault handling sub-policy, the second fault handling sub-policy, and the third fault handling sub-policy includes:
and based on a preset arrangement rule, performing order arrangement on the first fault processing sub-strategy, the second fault processing sub-strategy and the third fault processing sub-strategy.
And packaging the arranged first fault processing sub-strategy, the second fault processing sub-strategy and the third fault processing sub-strategy to obtain the fault processing strategy.
As an alternative implementation manner, an arrangement rule (preset arrangement rule) may be preset, and the first fault handling sub-policy, the second fault handling sub-policy and the third fault handling sub-policy are ordered in the execution sequence. And then the controller encapsulates the first fault processing sub-strategy, the second fault processing sub-strategy and the third fault processing sub-strategy according to the arranged execution sequence to obtain the fault processing strategy.
For example, if the first failure handling sub-policy is "cold storage module windshield reset", the second failure handling sub-policy is "equipment halt", and the third failure handling sub-policy is "discard Tip head"; the preset arrangement rule is as follows: executing the second fault processing sub-strategy, then executing the first fault processing sub-strategy, and finally executing the third fault processing sub-strategy. The packaged failure handling policy is: suspending equipment, resetting a windshield of a cold storage module, and discarding the Tip head.
Optionally, the method further comprises:
if the target module fault processing sub-strategy corresponding to the target fault module and the module fault content does not exist in the preset module fault processing table, determining that the first fault processing sub-strategy is an empty strategy, wherein the empty strategy does not comprise any fault processing content.
And if the target process fault processing sub-strategy corresponding to the target detection process does not exist in the preset process fault processing table, determining that the second fault processing sub-strategy is the null strategy.
And if the target node fault processing sub-strategy corresponding to the fault flow node does not exist in the preset node fault processing table, determining that the third fault processing sub-strategy is the null strategy.
In the detection flow of the biological detection device, some faults do not need to have a processing scheme in the first fault processing sub-strategy, the second fault processing sub-strategy and the third fault processing sub-strategy. Therefore, a null strategy can be set, or a mode that a corresponding fault processing scheme is not set for faults which do not need to be processed in a preset module fault processing table, a preset flow fault processing table and a preset node fault processing table is adopted, so that steps of fault processing are saved.
For example, if the target detection process is a "sample plate film sealing process", the target failure module is a heat sealing module, the failure content is a "hot air module motor movement failure", and the failure process node is a "heat sealing tray push-out". The fault does not need to configure the first fault handling sub-strategy and the third fault handling sub-strategy, so that the fault handling schemes of the first fault handling sub-strategy and the third fault handling sub-strategy can be configured as null strategies, and the second fault handling sub-strategy is determined as 'transferring samples to a heating oscillation plate position'. The final determined failure handling policy is: transfer the sample to the heated oscillation plate.
Optionally, the method further comprises: upon receipt of the fault signal, a pause control signal is generated.
And controlling the biological detection device to suspend execution of the target detection flow based on the suspension control signal.
In order to better protect the biological detection device and the protection sample, the controller can generate a pause control signal to control the biological detection device to pause the execution of the target detection flow immediately after receiving the fault signal sent by the biological detection device. The controller then regenerates the fault handling policy to handle the fault.
For a better illustration of the solution of the invention, the present description also provides a schematic diagram as shown in fig. 4 to explain the solution of the invention.
When the flow node 3 is abnormal, the controller firstly controls the equipment to pause, then the first fault processing sub-strategy, the second fault processing sub-strategy and the third fault processing sub-strategy are respectively determined, the three sub-strategies are packaged into the fault processing strategy, and the fault of the flow node 3 is processed.
Based on the same inventive concept, as shown in fig. 5, an embodiment of the present invention provides a fault handling apparatus 300 applied to a controller communicatively connected to a biological detection device, the fault handling apparatus 300 including:
a first fault handling sub-strategy determination unit 301, configured to receive a fault signal from the biological detection device, and determine a first fault handling sub-strategy according to the fault signal; wherein the fault signal is generated when the biological detection equipment execution target detection flow fails.
And a second fault handling sub-policy determining unit 302, configured to determine, based on the target detection flow, a second fault handling sub-policy corresponding to the target detection flow.
A third fault handling sub-policy determining unit 303, configured to determine a fault flow node from a plurality of flow nodes included in the target detection flow, and determine a third fault handling sub-policy based on the fault flow node.
A fault handling policy determining unit 304, configured to determine a fault handling policy based on the first fault handling sub-policy, the second fault handling sub-policy, and the third fault handling sub-policy.
And the fault processing unit 305 is used for performing fault processing based on the fault processing strategy.
With respect to the above-described fault handling apparatus 300, in which specific functions of the respective units have been described in detail in the embodiments of the fault handling method provided in the present specification, a detailed explanation will not be made here.
Based on the same inventive concept, the present specification embodiments provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of any one of the foregoing fault handling methods.
The invention at least comprises the following beneficial effects:
1. the fault processing of the biological detection equipment is split into the fault processing of the equipment module, the fault processing of the detection flow and the fault processing of the flow node, and the complete equipment fault processing flow can be flexibly configured by configuring different fault processing strategies for the three parts, so that the uncertainty and the diversity of scenes are covered by the fault processing mechanism, the fixed processing flow is prevented from being solidified in the code according to some assumed fault scenes, the recompilation and programming procedures are not required to be modified each time, and the fault processing efficiency is improved.
2. The method comprises the steps of receiving fault signals sent when the biological detection equipment breaks down, determining a first fault processing sub-strategy according to the fault signals, determining a second fault processing sub-strategy according to a target detection flow, determining a third fault processing sub-strategy according to a fault flow node, integrating the first fault processing sub-strategy, the second fault processing sub-strategy and the third fault processing sub-strategy, determining a fault processing strategy, and processing the fault of the biological detection equipment based on the fault processing strategy. When the biological detection equipment fails, the staff is not required to manually check and process the biological detection equipment, and the failure processing efficiency is improved.
In the several embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are merely illustrative, for example, of the flowcharts and block diagrams in the figures that illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present invention may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any changes or substitutions easily contemplated by those skilled in the art within the scope of the present invention should be included in the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method of fault handling, the method being applied to a controller communicatively coupled to a biological detection device, the method comprising:
receiving a fault signal from the biological detection device and determining a first fault handling sub-strategy according to the fault signal; wherein, the fault signal is generated when the biological detection equipment execution target detection flow fails;
determining a second fault handling sub-strategy corresponding to the target detection flow based on the target detection flow;
determining a fault flow node from a plurality of flow nodes included in the target detection flow, and determining a third fault processing sub-strategy based on the fault flow node;
determining a fault handling policy based on the first fault handling sub-policy, the second fault handling sub-policy, and the third fault handling sub-policy;
and performing fault processing based on the fault processing strategy.
2. The fault handling method of claim 1, wherein a database is maintained in the controller, the database storing a preset module fault configuration table and a preset module fault handling table, the preset module fault handling table including a plurality of module fault handling sub-policies; the fault signal comprises fault codes, the biological detection equipment comprises a plurality of equipment modules, and the fault configuration table of the preset modules comprises the fault codes corresponding to the equipment modules; the determining a first fault handling sub-strategy according to the fault signal comprises:
determining a target fault module and module fault contents of the target fault module from a plurality of equipment modules according to the fault codes based on the preset module fault configuration table;
determining a target fault processing sub-strategy from a plurality of module fault processing sub-strategies in the preset module fault processing table according to the target fault module and the module fault content;
and taking the target fault processing sub-strategy as the first fault processing sub-strategy.
3. The fault handling method of claim 2, wherein the database further stores a preset flow fault handling table, and the determining, based on the target detection flow, a second fault handling sub-policy corresponding to the target detection flow includes:
invoking the preset flow fault processing table from the database, wherein the preset flow fault processing table comprises a plurality of flow fault processing sub-strategies;
searching a target flow fault processing sub-strategy corresponding to the target detection flow from a plurality of flow fault processing sub-strategies based on the preset flow fault processing table;
and determining the target flow fault processing sub-strategy as the second fault processing sub-strategy.
4. The method of claim 3, wherein the database further stores a plurality of preset node fault handling tables, each of the preset node fault handling tables corresponding to a detection process, each of the preset node fault handling tables including a plurality of node fault handling sub-policies, the determining a third fault handling sub-policy based on the fault process node comprising:
calling a preset node fault processing table corresponding to the target detection flow from the database to serve as a target preset node fault processing table;
determining a target node fault processing sub-strategy corresponding to the fault flow node from a plurality of node fault processing sub-strategies in the target preset node fault processing table based on the fault flow node;
and determining the target node fault processing sub-strategy as the third fault processing sub-strategy.
5. The fault handling method of claim 4, wherein the method further comprises:
if the target module fault processing sub-strategy corresponding to the target fault module and the module fault content does not exist in the preset module fault processing table, determining that the first fault processing sub-strategy is an empty strategy, wherein the empty strategy does not comprise any fault processing content;
if the target process fault processing sub-strategy corresponding to the target detection process does not exist in the preset process fault processing table, determining that the second fault processing sub-strategy is the null strategy;
and if the target node fault processing sub-strategy corresponding to the fault flow node does not exist in the preset node fault processing table, determining that the third fault processing sub-strategy is the null strategy.
6. The fault handling method of claim 1, wherein the determining a fault handling policy based on the first fault handling sub-policy, the second fault handling sub-policy, and the third fault handling sub-policy comprises:
performing execution sequence arrangement on the first fault handling sub-strategy, the second fault handling sub-strategy and the third fault handling sub-strategy based on a preset arrangement rule;
and packaging the arranged first fault processing sub-strategy, the second fault processing sub-strategy and the third fault processing sub-strategy to obtain the fault processing strategy.
7. The fault handling method of claim 1, wherein the method further comprises:
generating a pause control signal when a fault signal is received;
and controlling the biological detection device to suspend execution of the target detection flow based on the suspension control signal.
8. A fault handling apparatus for use with a controller in communication with a biological detection device, the fault handling apparatus comprising:
a first fault handling sub-strategy determination unit for receiving a fault signal from the biological detection device and determining a first fault handling sub-strategy according to the fault signal; wherein, the fault signal is generated when the biological detection equipment execution target detection flow fails;
a second fault handling sub-policy determining unit, configured to determine a second fault handling sub-policy corresponding to the target detection flow based on the target detection flow;
a third fault handling sub-policy determining unit configured to determine a fault process node from a plurality of process nodes included in the target detection process, and determine a third fault handling sub-policy based on the fault process node;
a fault handling policy determining unit configured to determine a fault handling policy based on the first fault handling sub-policy, the second fault handling sub-policy, and the third fault handling sub-policy;
and the fault processing unit is used for carrying out fault processing based on the fault processing strategy.
9. An electronic device, comprising: memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method according to any one of claims 1 to 7 when the program is executed.
10. A computer readable storage medium, characterized in that the computer readable storage medium comprises a computer program, which when run controls a server where the computer readable storage medium is located to implement the steps of the method according to any one of claims 1-7.
CN202310713215.7A 2023-06-16 2023-06-16 Fault processing method and device, electronic equipment and storage medium Active CN116449809B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310713215.7A CN116449809B (en) 2023-06-16 2023-06-16 Fault processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310713215.7A CN116449809B (en) 2023-06-16 2023-06-16 Fault processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116449809A true CN116449809A (en) 2023-07-18
CN116449809B CN116449809B (en) 2023-09-05

Family

ID=87122321

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310713215.7A Active CN116449809B (en) 2023-06-16 2023-06-16 Fault processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116449809B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5502812A (en) * 1991-10-04 1996-03-26 Aerospatiale Societe Nationale Industrielle Method and system for automatic fault detection and recovery in a data processing system
US20100039944A1 (en) * 2008-06-27 2010-02-18 Masahiro Matsubara Distributed system
JP2014203294A (en) * 2013-04-05 2014-10-27 株式会社日立製作所 Failure handling system and failure handling method
US20140379302A1 (en) * 2013-06-20 2014-12-25 Electronics And Telecommunications Research Institute Apparatus and method for controlling water quality sensor faults
US20170244594A1 (en) * 2016-02-22 2017-08-24 Renesas Electronics Corporation On-vehicle system, program, and controller
CN107203451A (en) * 2016-03-18 2017-09-26 伊姆西公司 Method and apparatus for handling failure within the storage system
CN108170566A (en) * 2017-12-18 2018-06-15 新疆金风科技股份有限公司 Product failure information processing method, system, equipment and collaboration platform
CN108733563A (en) * 2018-05-18 2018-11-02 平安普惠企业管理有限公司 Business fault treatment method, server-side and the storage medium of application software
WO2022068189A1 (en) * 2020-09-30 2022-04-07 平安科技(深圳)有限公司 Flow visualization monitoring method and apparatus, computer device, and storage medium
CN114862183A (en) * 2022-04-29 2022-08-05 成都瀚辰光翼科技有限责任公司 Nucleic acid purification control method, gene detection control method, and related apparatus
CN115495315A (en) * 2022-09-30 2022-12-20 贵州省人民医院 Fault early warning system of large-scale medical equipment
CN115577708A (en) * 2022-11-07 2023-01-06 上海市安装工程集团有限公司 Automatic order dispatching method for maintenance operation of heating ventilation terminal equipment based on NLP
CN116016123A (en) * 2022-12-09 2023-04-25 京东科技信息技术有限公司 Fault processing method, device, equipment and medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5502812A (en) * 1991-10-04 1996-03-26 Aerospatiale Societe Nationale Industrielle Method and system for automatic fault detection and recovery in a data processing system
US20100039944A1 (en) * 2008-06-27 2010-02-18 Masahiro Matsubara Distributed system
JP2014203294A (en) * 2013-04-05 2014-10-27 株式会社日立製作所 Failure handling system and failure handling method
US20140379302A1 (en) * 2013-06-20 2014-12-25 Electronics And Telecommunications Research Institute Apparatus and method for controlling water quality sensor faults
US20170244594A1 (en) * 2016-02-22 2017-08-24 Renesas Electronics Corporation On-vehicle system, program, and controller
CN107203451A (en) * 2016-03-18 2017-09-26 伊姆西公司 Method and apparatus for handling failure within the storage system
CN108170566A (en) * 2017-12-18 2018-06-15 新疆金风科技股份有限公司 Product failure information processing method, system, equipment and collaboration platform
CN108733563A (en) * 2018-05-18 2018-11-02 平安普惠企业管理有限公司 Business fault treatment method, server-side and the storage medium of application software
WO2022068189A1 (en) * 2020-09-30 2022-04-07 平安科技(深圳)有限公司 Flow visualization monitoring method and apparatus, computer device, and storage medium
CN114862183A (en) * 2022-04-29 2022-08-05 成都瀚辰光翼科技有限责任公司 Nucleic acid purification control method, gene detection control method, and related apparatus
CN115495315A (en) * 2022-09-30 2022-12-20 贵州省人民医院 Fault early warning system of large-scale medical equipment
CN115577708A (en) * 2022-11-07 2023-01-06 上海市安装工程集团有限公司 Automatic order dispatching method for maintenance operation of heating ventilation terminal equipment based on NLP
CN116016123A (en) * 2022-12-09 2023-04-25 京东科技信息技术有限公司 Fault processing method, device, equipment and medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘建军: "一种策略可配置的IMA系统故障管理方法", 航空计算技术, pages 78 - 81 *
顾伟: "散货港口多电机传动运输系统故障诊断与容错控制", 《中国优秀博士学位论文全文数据库工程科技II辑》, pages 042 - 26 *

Also Published As

Publication number Publication date
CN116449809B (en) 2023-09-05

Similar Documents

Publication Publication Date Title
CN104967497B (en) A kind of reliable data transmission method and upgrade method based on network communication protocol
US10274919B2 (en) Method, device and computer program product for programming a plurality of control units
US11469951B2 (en) Network-configuration-information generation method and communication device
CN116449809B (en) Fault processing method and device, electronic equipment and storage medium
CN109213530A (en) A kind of communication connecting method based on USB, mobile terminal and storage medium
ES2258160T3 (en) PROCEDURE FOR THE TRANSMISSION OF A DATA TELEGRAM BETWEEN A DOMAIN IN REAL TIME AND A DOMAIN NOT IN REAL TIME AND COUPLING UNIT.
CN110968022B (en) Programmable logic controller, programmable logic controller system, and control method
US10459816B2 (en) Communication setting notification apparatus
CN105579920A (en) Programmable controller and control method for programmable controller
CN110489713A (en) For the method and system for controller zone network controller the configurating filtered device object
CN106708701B (en) Central maintenance device and method based on ARINC659 bus
SE536092C2 (en) Remote diagnostics of vehicles
CN108229167A (en) For the method, equipment and mobile terminal controlled multi-process application
CN106559439B (en) A kind of method for processing business and equipment
CN115687223A (en) Method and device for serial port communication of embedded equipment, embedded equipment and storage medium
CN108965169B (en) Message transmission method, network card controller, network card and electronic equipment
US20220046339A1 (en) Data collection device, data collection method, and program
EP3982250A1 (en) Generation of code for a system
US6944520B2 (en) System and method for communication between machine controllers
CN110955210B (en) AGV scheduling method, device and system
CN113656106B (en) Plug-in loading method, device, electronic equipment and computer readable storage medium
WO2000077616A2 (en) Method and apparatus for fast processing of selected packetized data requests
CN111555927B (en) Test system, method and device for satellite-borne Ethernet switch
CN111443682B (en) Safety protection device and method based on vehicle CAN bus structure
JP2503861B2 (en) Supervisory control method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant