Device mode switching method, device and computer readable storage medium

By implementing the device mode switching method in AED, the limitations of use caused by AED's single working mode are solved, and the applicability and rescue guarantee capabilities of AED in rescue scenarios are enhanced.

CN114121254BActive Publication Date: 2025-05-06VIVEST MEDICAL TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111447868.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-30
Publication Date
2025-05-06
Estimated Expiration
2041-11-30

AI Technical Summary

Technical Problem

AED only has a single working mode, which leads to strong limitations in use and cannot provide sufficient rescue guarantee.

Method used

By implementing the device mode switching method in AED, the AED is allowed to determine the target working mode to be switched when receiving the mode switching command, obtain the target state machine corresponding to the target working mode, and switch from the current working mode to the target working mode, and run the corresponding working logic of the target state machine.

Benefits of technology

It has enhanced the applicability of AED in rescue scenarios, improved the rescue support capabilities of AED, and provided more flexible and effective rescue support.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114121254B_ABST
    Figure CN114121254B_ABST
Patent Text Reader

Abstract

The present application provides a device mode switching method, apparatus and computer-readable storage medium, the method comprising: upon receiving a device mode switching instruction, determining a target working mode to be switched; obtaining a target state machine corresponding to the target working mode; switching from the current working mode to the target working mode, and running the corresponding working logic of the target state machine. Through the implementation of the present application scheme, multiple state machines are pre-configured to support the AED to run a variety of different working modes, and the working logic in the corresponding mode is automatically run when a mode switching instruction is received, thereby enhancing the applicability of the AED in rescue scenarios and improving the rescue guarantee capability of the AED.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of medical electronic technology, and in particular to a device mode switching method, apparatus, and computer-readable storage medium. Background Art

[0002] With the popularity of AED (Automated External Defibrillator), people have put forward higher requirements for the user-friendliness of the equipment. In actual applications, AED usually has only a single working mode, and a single working mode cannot be applied to all application scenarios, resulting in strong limitations in use and failure to provide sufficient rescue protection. Summary of the invention

[0003] The embodiments of the present application provide a device mode switching method, apparatus, and computer-readable storage medium, which can at least solve the problem in the related art that the AED has only a single working mode, resulting in strong usage limitations and inability to provide sufficient rescue guarantees.

[0004] A first aspect of an embodiment of the present application provides a device mode switching method, which is applied to an automatic external defibrillator device, comprising:

[0005] Upon receiving a device mode switching instruction, determining a target operating mode to be switched;

[0006] Obtaining a target state machine corresponding to the target working mode;

[0007] Switch from the current working mode to the target working mode, and run the corresponding working logic of the target state machine.

[0008] A second aspect of an embodiment of the present application provides a device mode switching device, which is applied to an automatic external defibrillator device, comprising:

[0009] A determination module, used to determine a target working mode to be switched upon receiving a device mode switching instruction;

[0010] An acquisition module, used for acquiring a target state machine corresponding to the target working mode;

[0011] The running module is used to switch from the current working mode to the target working mode and run the corresponding working logic of the target state machine.

[0012] A third aspect of an embodiment of the present application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements each step of the device mode switching method provided in the first aspect of the embodiment of the present application.

[0013] The fourth aspect of the embodiments of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, each step of the device mode switching method provided in the first aspect of the embodiments of the present application is implemented.

[0014] As can be seen from the above, according to the device mode switching method, apparatus, and computer-readable storage medium provided by the present application, when receiving a device mode switching instruction, the target working mode to be switched is determined; the target state machine corresponding to the target working mode is obtained; the current working mode is switched to the target working mode, and the corresponding working logic of the target state machine is run. Through the implementation of the present application, multiple state machines are pre-configured to support the AED to run a variety of different working modes, and the working logic in the corresponding mode is automatically run when a mode switching instruction is received, which enhances the applicability of the AED in rescue scenarios and improves the rescue guarantee capability of the AED. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 A schematic diagram of a basic flow chart of a device mode switching method provided in the first embodiment of the present application;

[0016] Figure 2 A schematic diagram of a first scenario of a device mode switching method provided in the first embodiment of the present application;

[0017] Figure 3 A schematic diagram of a second scenario of the device mode switching method provided in the first embodiment of the present application;

[0018] Figure 4 A schematic diagram of the process flow of the device initialization phase provided for the second embodiment of the present application;

[0019] Figure 5 A flowchart of the algorithm analysis phase provided for the second embodiment of the present application;

[0020] Figure 6 A schematic flow chart of the defibrillation control stage provided in the second embodiment of the present application;

[0021] Figure 7 A schematic diagram of the flow of the algorithm analysis phase provided for the third embodiment of the present application;

[0022] Figure 8 A schematic diagram of a flow chart of a user response phase provided in the third embodiment of the present application;

[0023] Fig. 9 A schematic diagram of a treatment process in the third embodiment of the present application;

[0024] Fig.10 A schematic diagram of a program module of a device mode switching apparatus provided in a fourth embodiment of the present application;

[0025] Fig.11 A schematic diagram of the structure of an electronic device provided in the fifth embodiment of the present application. DETAILED DESCRIPTION

[0026] In order to make the purpose, features, and advantages of the invention of this application more obvious and easy to understand, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0027] In order to solve the problem that the AED in the related art has only a single working mode, which leads to strong limitations in use and inability to provide sufficient rescue guarantees, the first embodiment of the present application provides a device mode switching method, which is applied to an automatic external defibrillator (AED), also known as an automatic external defibrillator, an automatic defibrillator, an automatic defibrillator, a cardiac defibrillator, and a fool defibrillator. AED is a portable medical device that can diagnose specific arrhythmias and provide electric shock defibrillation. It is a medical device that can be used by non-professionals to rescue patients with cardiac arrest. In the event of cardiac arrest, the most effective way to prevent sudden death is to use AED to defibrillate and perform cardiopulmonary resuscitation on the patient within the "golden 4 minutes" of the best rescue time.

[0028] like Figure 1 This is a basic flow chart of a device mode switching method provided in the first embodiment of the present application. The device mode switching method includes the following steps:

[0029] Step 101: upon receiving a device mode switching instruction, determining a target operating mode to be switched.

[0030] Specifically, in this embodiment, the AED supports at least two working modes, such as rescue mode and monitoring mode, etc. The device mode switching instruction can be triggered based on a preset signal, such as a key trigger signal received by a mode switching button set on the AED. For an AED equipped with a mode switching button, the operator can trigger the device mode switching instruction by pressing the mode switching button. It should be understood that the triggering method of the device mode switching instruction of AEDs of different manufacturers and different signals may be different, and the above example of this embodiment does not constitute the only limitation.

[0031] It should be noted that, generally, the AED can enter the system default sleep mode after being turned on. The default sleep mode can be a rescue mode. In other implementations, the operator can also select a target working mode from multiple optional working modes, or automatically trigger the working mode entered when it was last turned on. This embodiment does not make a sole limitation on this, and in actual application it can depend on the specific usage scenario.

[0032] In one implementation of this embodiment, the step of determining the target working mode to be switched includes: acquiring real-time working parameters of the current working mode; and determining the target working mode to be switched from a plurality of switchable working modes based on the real-time working parameters.

[0033] Specifically, in actual applications, when the AED is in the current working mode to perform rescue work, if the AED supports more than two working modes, there will be multiple target working modes available for switching. Taking the current working mode as working mode A, the switchable working modes include working mode B and working mode C as an example. In conventional implementations, it is usually switched manually by the user, that is, multiple working modes are numbered in sequence in advance, and the next working mode of the current working mode is determined as the target working mode. For example, when the user triggers a mode switching button once, it switches from working mode A to working mode B. If the user needs to switch from working mode A to working mode B, it is necessary to operate the mode switching button twice. The operation is cumbersome and it is easy to cause mode switching errors due to misoperation.

[0034] Based on this, the present embodiment uses the working parameters in the current working mode as a reference to determine the target working mode to be switched. The operator's mode switching demand is usually triggered based on a specific working state during the use of the AED, that is, the current working mode can no longer meet the operator's current usage needs. Therefore, the present embodiment performs real-time working parameter detection in the current working mode, and makes mode switching judgments based on the real-time working parameters, thereby automatically triggering the mode switch. In addition, the working mode to be switched is usually logically associated with the parameter type and specific value of the real-time working parameters in the current working mode. Therefore, the present embodiment can automatically trigger the mode switch and automatically determine the working mode to be switched. Compared with manual switching by the user, on the one hand, the convenience of mode switching is improved, and on the other hand, the accuracy of mode switching is guaranteed.

[0035] Step 102: Obtain a target state machine corresponding to the target working mode.

[0036] Specifically, the state machine is a mathematical model of state transition, and the following Table 1 lists the state enumeration, value and interpretation of the AED. This embodiment closely associates the state machine with multiple working states, which is more conducive to the software management process analysis during the working process.

[0037] Table 1 AED status definition table

[0038] enumerate value definition STATE_UNKNOWN 0 Unknown status STATE_INIT 1 Initialization state STATE_MONITOR 2 Guardianship status STATE_VIBRATE 3 Vibration status STATE_RESPONSE 4 Response Status STATE_CHARGING 5 Charging status STATE_CHARGED 6 Charging completion status STATE_DISCHARGE 7 Discharge status STATE_DELAY 8 Delayed treatment status STATE_CPR 9 Cardiopulmonary resuscitation status STATE_INTERFERE 10 Interference status STATE_MOTION 11 Movement status STATE_NO_SIGNAL 12 No signal status STATE_HEART_STOP 13 Asystole signal status STATE_LEADOFF 14 Lead-off status STATE_ANALYSIS 15 Heart rate analysis status STATE_CHARGE_FAIL 16 Charging failure status STATE_DISCHARGE_FAIL 17 Discharge failure status STATE_NR 18 total

[0039] Step 103: switch from the current working mode to the target working mode, and run the corresponding working logic of the target state machine.

[0040] In one implementation of the present embodiment, the target working mode is the rescue mode, and the steps of the above-mentioned operation logic corresponding to the target state machine specifically include: obtaining the device status during the device initialization phase; wherein the device status includes at least one of the cardiopulmonary resuscitation status, the lead status, and the charging status; when the device status meets the preset status requirements, entering the first algorithm analysis phase; when it is determined according to the algorithm analysis results that the preset defibrillation control conditions are met, entering the defibrillation control phase; in the defibrillation control phase, executing the defibrillation operation in response to the defibrillation command input by the user.

[0041] Specifically, in this embodiment, the rescue mode refers to the working mode under semi-automatic defibrillation, and the workflow of the rescue mode includes: device initialization stage, algorithm analysis stage and defibrillation control stage. AED supports triggering the working mode switching instruction in any stage of the device initialization stage, algorithm analysis stage and defibrillation control stage. It should be noted that the cardiopulmonary resuscitation state of this embodiment includes immediate cardiopulmonary resuscitation, the lead state includes lead on and lead off, and the charging state includes charging failure and charging success.

[0042] like Figure 2 The first scenario diagram of the device mode switching method of this embodiment is shown. Any process at any stage of the rescue mode will switch to the monitoring mode after receiving the mode switching instruction.

[0043] In actual application, when the hardware is started, the AED is powered on, enters the device initialization phase, and determines whether to perform cardiopulmonary resuscitation immediately according to the configuration file. When it is detected that the defibrillator charging is complete and the lead status is good in the cardiopulmonary resuscitation state, or the result determined according to the configuration file is that cardiopulmonary resuscitation is not performed immediately and the lead status is good, the first algorithm analysis phase is entered. After entering the first algorithm analysis phase, the AED calls the algorithm analysis interface to perform algorithm analysis to obtain the algorithm analysis result. When the algorithm analysis result is that an electric shock is recommended and the defibrillator status is charging and holding, it will enter the charging completion state, that is, enter the defibrillator control phase. Entering the defibrillator control phase, in the charging completion state, the rescuer will be prompted to press a pre-set discharge button, such as the Shock button. After pressing the Shock button, the discharge is successful to achieve a single rescue.

[0044] Furthermore, in one implementation of the present embodiment, after the above-mentioned step of executing the defibrillation operation according to the defibrillation instruction input by the user, it also includes: determining the working stage return logic of the target state machine according to the defibrillation result; and returning to the corresponding working stage according to the working stage return logic.

[0045] Specifically, in this embodiment, after a single rescue is completed, the next operation to be performed will be determined based on the state of the algorithm analysis and the defibrillation result, thereby realizing the cyclic operation of the rescue mode.

[0046] In another implementation of the present embodiment, the target working mode is a monitoring mode, and the steps of the above-mentioned operation logic corresponding to the target state machine specifically include: entering the second algorithm analysis stage to determine whether the preset automatic treatment conditions are met; when it is determined according to the algorithm analysis results that the preset automatic treatment conditions are met, entering the user response stage; when no operation signal input by the user is received within the preset user response time, the treatment operation is automatically triggered.

[0047] Specifically, in this embodiment, the monitoring mode refers to the working mode under fully automatic defibrillation, and the working process of the monitoring mode includes: algorithm analysis stage, user response stage and treatment stage. When the AED runs the monitoring mode, any stage of the algorithm analysis stage, user response stage and treatment stage supports triggering the working mode switching instruction.

[0048] like Figure 3 The second scenario schematic diagram of the device mode switching method of this embodiment is shown. Any process at any stage of the monitoring mode will switch to the rescue mode after receiving the mode switching instruction. It is worth noting that the operation stage and current state of the AED can be monitored and obtained through the state machine set on the AED. The state machine can be a virtual module or a pre-set state program.

[0049] It is understandable that rescue time is very precious for patients, so the AED responds to the working mode switching instruction very quickly, and the switching of the working mode will not affect the rescue.

[0050] In actual application, in monitoring mode, the second algorithm analysis phase is first entered. When the lead status is good and the algorithm analysis result is a recommended electric shock, the AED will enter the vibration state, that is, the user response phase. After entering the vibration state, the AED will vibrate periodically. In the user response phase, when the vibration time is greater than the treatment waiting time and the defibrillation state is charging hold, the charging completion state machine will be entered, that is, the treatment phase. If the algorithm analysis result is a recommended electric shock and the lead status is good, electric shock treatment will be performed.

[0051] Furthermore, in one implementation of the present embodiment, after the above-mentioned step of entering the user response stage, it also includes: when an operation signal input by the user is received within the preset user response time, entering the delayed treatment state, and returning to execute entering the second algorithm analysis stage to determine whether the preset automatic treatment conditions are met.

[0052] Specifically, this embodiment will enter the delayed treatment state after the electric shock is completed, and perform algorithm analysis again. When the electric shock conditions are met, the electric shock treatment will continue. In addition, when the number of discharges is greater than the preset maximum number of discharges, the cardiac arrest state will be entered. Fully automatic defibrillation can be achieved in the monitoring mode, and it can be manually switched to the rescue mode according to the actual situation to ensure the safety of the rescue process according to needs.

[0053] In another implementation of this embodiment, the step of running the corresponding working logic of the target state machine includes: obtaining the user identity information of the rescuer; and determining the working logic corresponding to the user identity information from multiple available working logics of the target state machine. Accordingly, the step of running the corresponding working logic of the target state machine includes: moving the working logic of the target state machine corresponding to the user identity information.

[0054] Specifically, in actual applications, taking into account the different operating levels or operating habits of different AED operators, that is, rescuers (such as doctors, volunteers, passers-by, etc.), in order to ensure that the rescuers can operate the AED smoothly, this embodiment can set multiple sets of different working logics in each working mode, which are adapted to the operating levels or operating habits of different rescuers, and improve the usability of AED for different user groups.

[0055] Based on the technical solution of the embodiment of the present application, when receiving the device mode switching instruction, determine the target working mode to be switched; obtain the target state machine corresponding to the target working mode; switch from the current working mode to the target working mode, and run the corresponding working logic of the target state machine. Through the implementation of the solution of the present application, multiple state machines are pre-configured to support the AED to run a variety of different working modes, and the working logic in the corresponding mode is automatically run when the mode switching instruction is received, which enhances the applicability of the AED in the rescue scenario and improves the rescue guarantee capability of the AED.

[0056] The second embodiment of the present application describes in detail the workflow in the rescue mode. Figure 4 The figure is a flow chart of the device initialization phase provided by the second embodiment of the present application. The working process of the AED in the device initialization phase is as follows:

[0057] Determine whether to perform cardiopulmonary resuscitation immediately based on the results of heart rate analysis. Generally, if no indications for defibrillation are found during heart rate analysis, immediate cardiopulmonary resuscitation is required. Cardiopulmonary resuscitation should also be performed immediately after defibrillation.

[0058] If the heart rate analysis result indicates immediate CPR, the device will enter the CPR state. After entering the CPR state, check whether charging has failed. If charging has failed, the device will continue to enter the CPR state. If charging has succeeded, the device will enter the heart rate analysis state when the lead status is good.

[0059] If the heart rate analysis result is not immediate cardiopulmonary resuscitation, the lead status is further determined. If the lead status is leadon, the heart rate analysis state is entered to obtain the patient's real-time heart rate information to determine whether immediate cardiopulmonary resuscitation is needed based on the real-time heart rate information.

[0060] If the lead state is leadoff, it enters the lead-off state, then further determine whether the current lead off duration exceeds the preset maximum lead off duration. The preset maximum lead off duration can be set as needed, for example, 5s, 10s, 15s, etc. If the current lead off duration exceeds the preset maximum lead off duration, enter the cardiopulmonary resuscitation state. After entering the cardiopulmonary resuscitation state, check whether the charging fails. If the charging fails, continue to enter the cardiopulmonary resuscitation state; if the charging is successful, immediately perform cardiopulmonary resuscitation. If the current lead off duration does not exceed the preset maximum lead off duration, enter the lead state again. The initialization phase is run in a loop until the algorithm analysis phase is entered.

[0061] In actual application, the electrode should be in close contact with the designated part of the patient, but the cardiopulmonary resuscitation operation during the rescue process may cause the electrode to shift and loosen, which may cause the lead to fall off. After the lead falls off, the AED will issue a corresponding prompt for the operator to re-attach the electrode to the designated part of the patient. When the AED determines that the lead state is leadon, it enters the heart rate analysis state.

[0062] When the operation result of the initial stage is that charging is completed and the lead status is good in the cardiopulmonary resuscitation state, or cardiopulmonary resuscitation is not performed immediately and the lead status is good, the algorithm analysis state is entered.

[0063] like Figure 5 The figure is a flow chart of the algorithm analysis phase provided in the second embodiment of the present application. The working process of the AED in the algorithm analysis phase is as follows:

[0064] Determine the algorithm analysis result based on the acquired heart rate analysis result and lead status;

[0065] Specifically, if the lead state is lead on, the algorithm analysis result is obtained, and the algorithm analysis result is electric shock recommendation, electric shock not recommended, movement state, and external interference state.

[0066] If the algorithm analysis result is that electric shock is recommended, the charging state is entered and defibrillation is performed based on the charging state;

[0067] Generally, when the algorithm analysis obtains the defibrillation heart rate and the lead state is good, the algorithm analysis result is a recommendation for electric shock. Generally, the defibrillation heart rates include ventricular fibrillation and pulseless ventricular tachycardia. In this embodiment, the defibrillation state is obtained after entering the charging state. The defibrillation state includes charging maintenance, charging failure and others. The charging is completed after a certain period of time; before the patient is shocked, the capacitor needs to be charged to a specified voltage, such as 50J (children's defibrillation energy), 150J, 200J, etc., in preparation for entering the defibrillation state after charging is completed. If charging fails, the cardiopulmonary resuscitation state or the heart rate analysis state is entered. Others in the defibrillation state include obtaining the algorithm analysis results.

[0068] If the algorithm analysis result indicates that electric shock is not recommended, the state will enter the cardiopulmonary resuscitation state or the heart rate analysis state;

[0069] AED will not shock patients with no heart rate and a flat ECG. Therefore, when there is no heart rate and the ECG is flat, the algorithm analysis result is that shock is not recommended. When shock is not recommended, the state will enter the cardiopulmonary resuscitation state or the heart rate analysis state.

[0070] If the algorithm analysis result is motion state, the state will enter lead-off state, heart rate analysis state or cardiopulmonary resuscitation state;

[0071] If the AED is in motion, the algorithm analysis result is motion. After entering the motion state, if the lead state is lead off, it enters the lead off state; if the algorithm analysis result is non-motion state, it enters the heart rate analysis state; if the motion wait timeout, it enters the cardiopulmonary resuscitation state or heart rate analysis state.

[0072] If the algorithm analysis result is an interference state, the interference state is entered.

[0073] If the AED detects external interference, the algorithm analysis result is interference state. Generally, when other people or objects come into contact with the patient, it will be interference state. After entering the interference state, if the lead state is lead off, it will enter the lead off state; if the algorithm analysis result is non-interference state, it will enter the heart rate analysis state. If the exercise wait timeout, it will enter the cardiopulmonary resuscitation state or heart rate analysis state.

[0074] In this embodiment, the preset defibrillation requirement is that the algorithm analysis result is that electric shock is recommended and the defibrillation state is charging completed. When the algorithm analysis result is that electric shock is recommended and the defibrillation state is charging completed, the defibrillation control stage is entered. Figure 6 The figure shows a flow chart of the defibrillation control stage provided by the second embodiment of the present application. The working process of the AED in the defibrillation control stage is as follows:

[0075] In the charging completion state, the rescuer is prompted to press a preset discharge button, such as the Shock button. After pressing the Shock button, the discharge is successful to achieve a single rescue. At this time, the algorithm analysis state will be entered again to obtain the real-time state, and the next operation to be performed will be determined in combination with the defibrillation result, thus realizing the cyclic operation of the rescue mode. Among them, the defibrillation result includes completed defibrillation discharge and undefibrillation discharge.

[0076] In the charging completion state, if the defibrillation discharge is completed, or the charging completion wait timeout occurs and the defibrillation discharge is completed, or the algorithm analysis result is that defibrillation is not recommended, the cardiopulmonary resuscitation state is entered; if the lead state is lead off, the lead-off state is entered; if the algorithm analysis result is the motion state, the motion state is entered; if the algorithm analysis result is external interference, the interference state is entered.

[0077] In this way, in the rescue state, the automatic rescue equipment operates according to the workflow in the rescue state, ensuring the smooth operation of the equipment, making the automatic rescue equipment easy to use and contributing to efficient first aid.

[0078] The third embodiment of the present application describes in detail the workflow in the monitoring mode. Figure 7 The figure is a flow chart of the algorithm analysis phase provided in the third embodiment of the present application. The workflow of the AED in the algorithm analysis phase is as follows:

[0079] In the algorithm analysis stage, if the lead status is good, the algorithm analysis result is further obtained. If the algorithm analysis result is that electric shock is recommended, the vibration state is entered, that is, the user response stage. If the algorithm analysis result is an arrest state and the arrest time exceeds the preset maximum arrest duration, the no signal state is entered. Further, if the continued waiting time exceeds the preset maximum waiting time, the arrest signal state is entered. In addition, after entering the no signal state, if a non-arrest and non-analyzing state is obtained, the algorithm analysis state is re-entered. It can be understood that as cardiopulmonary resuscitation proceeds, the arrest signal can be transformed into a non-arrest signal.

[0080] In the algorithm analysis stage, if the lead state is lead off, the lead state is entered, and the state machine continues to monitor the lead state. If the lead state obtained is lead on, the algorithm analysis state is re-entered.

[0081] like Figure 8 The figure shows a flow chart of the user response phase provided by the third embodiment of the present application. The working process of the AED in the user response phase is as follows:

[0082] The user response phase begins, and the user presses a button to trigger a button response signal. If no button response signal is received within the preset maximum response waiting time, the response state is entered. After reaching the response state, the defibrillation state is obtained again. If the defibrillation state is charging hold, the treatment state is entered.

[0083] like Fig. 9 The figure shows a schematic diagram of the treatment phase provided by the third embodiment of the present application. The working process of the AED in the treatment phase is as follows:

[0084] After entering the treatment state, the algorithm analysis result is obtained; if the algorithm analysis result is asystole, the asystole state is entered. If a user key response signal is received or an algorithm analysis result of a recommended electric shock is obtained, the user response stage is re-entered; if the algorithm analysis result is not recommended for electric shock, the cardiopulmonary resuscitation state is entered; if the algorithm analysis result is a recommended electric shock, the discharge state is entered. In the discharge state, if the discharge timeout or discharge failure occurs, the discharge failure state is entered, and the algorithm analysis result is further obtained. If the non-charging completion or non-charging failure in the defibrillation state is obtained, the response state is entered. If in the discharge state, if no user key response signal is received but the maximum number of discharges does not exceed the preset maximum number of discharges, the treatment delay state is entered; until the maximum number of discharges exceeds the preset maximum number of discharges, the asystole state is entered. If the algorithm analysis result is a motion state, the motion state is entered. If the algorithm analysis result is external interference, the interference state is entered. In the motion state and interference state, if the algorithm analysis result is a non-motion state and a non-heart rate analysis state, or a non-interference state and a non-heart rate analysis state, the treatment stage is re-entered.

[0085] In addition, after entering the treatment phase and before obtaining the algorithm analysis results, if a user key response signal is received, the delayed treatment state is entered. In the discharge success state or discharge failure state, if a user key response signal is received, the delayed treatment state is also entered.

[0086] If the defibrillation state is charging failure, the charging failure state is entered. In the charging failure state, the algorithm analysis results are continued to be obtained. If the algorithm analysis result is that electric shock is not recommended, the cardiopulmonary resuscitation state is entered, and the cardiopulmonary resuscitation state is maintained for a time greater than the preset maintenance time, and the response phase is re-entered. Further, after entering the charging failure state, if the charging result is non-discharging completion or the defibrillation state is non-charging failure, the response state is entered again.

[0087] It should be noted that after entering the user response stage, if a key response signal is received within the preset maximum response waiting time, the treatment delay state is entered; further, according to the algorithm analysis results, it is determined whether the AED is in a motion state, interference state or asystole state, and the user response stage is re-entered. Further determine whether the algorithm analysis result is a recommendation for electric shock. If the algorithm analysis result is a recommendation for electric shock and a user key response signal is received, the response state is entered; if no user key response signal is received, the user response stage is re-entered. If the algorithm analysis result is that electric shock is not recommended and a user key response signal is received, the cardiopulmonary resuscitation state is entered; if no user key response signal is received, the user response stage is re-entered.

[0088] In addition, in the aforementioned response state and charging failure state, if a key response signal is received, the treatment delay state is also entered.

[0089] As a result, the AED operates according to the preset process during the treatment phase, ensuring the smooth operation of the equipment, making the automatic rescue equipment convenient to use and facilitating efficient first aid.

[0090] Fig.10 A device mode switching device is provided in the fourth embodiment of the present application. The device mode switching device can be used to implement the device mode switching method in the above embodiment. Fig.10 As shown, the device mode switching device mainly includes:

[0091] The determination module 1001 is used to determine the target working mode to be switched when receiving the device mode switching instruction;

[0092] An acquisition module 1002 is used to acquire a target state machine corresponding to a target working mode;

[0093] The running module 1003 is used to switch from the current working mode to the target working mode and run the corresponding working logic of the target state machine.

[0094] In some implementations of this embodiment, the operation module is specifically used to: obtain the device status during the device initialization phase; wherein the device status includes at least one of cardiopulmonary resuscitation status, lead status, and charging status; when the device status meets the preset status requirements, enter the first algorithm analysis phase; when it is determined according to the algorithm analysis results that the preset defibrillation control conditions are met, enter the defibrillation control phase; in the defibrillation control phase, perform the defibrillation operation in response to the defibrillation command input by the user.

[0095] Furthermore, in some implementations of this embodiment, after executing the above-mentioned function of performing the defibrillation operation according to the defibrillation instruction input by the user, the operation module is also used to: determine the working stage return logic of the target state machine according to the defibrillation result; and return to the corresponding working stage according to the working stage return logic.

[0096] In some other implementations of this embodiment, the operation module is specifically used to: enter the second algorithm analysis stage to determine whether the preset automatic treatment conditions are met; when it is determined according to the algorithm analysis results that the preset automatic treatment conditions are met, enter the user response stage; when no operation signal input by the user is received within the preset user response time, automatically trigger the treatment operation.

[0097] Furthermore, in some implementations of this embodiment, after executing the above-mentioned function of entering the user response stage, the operation module is also used to: enter the delayed treatment state when receiving an operation signal input by the user within the preset user response time, and then return to execute to enter the second algorithm analysis stage to determine whether the preset automatic treatment conditions are met.

[0098] In some other implementations of this embodiment, the determination module is further used to: obtain the user identity information of the rescuer; and determine the working logic corresponding to the user identity information from multiple available working logics of the target state machine. Accordingly, the operation module is specifically used to: move the working logic of the target state machine corresponding to the user identity information.

[0099] In some implementations of this embodiment, the determination module is specifically used to: obtain real-time working parameters of the current working mode; and determine the target working mode to be switched from multiple switchable working modes based on the real-time working parameters.

[0100] It should be noted that the device mode switching methods in the aforementioned embodiments can all be implemented based on the device mode switching apparatus provided in this embodiment. Ordinary technicians in the relevant field can clearly understand that for the convenience and conciseness of description, the specific working process of the device mode switching apparatus described in this embodiment can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0101] According to the device mode switching device provided in this embodiment, when receiving the device mode switching instruction, the target working mode to be switched is determined; the target state machine corresponding to the target working mode is obtained; the current working mode is switched to the target working mode, and the corresponding working logic of the target state machine is run. Through the implementation of the present application scheme, multiple state machines are pre-configured to support the AED to run a variety of different working modes, and the working logic in the corresponding mode is automatically run when the mode switching instruction is received, which enhances the applicability of the AED in the rescue scenario and improves the rescue guarantee capability of the AED.

[0102] See also Fig.11 , Fig.11 The fifth embodiment of the present application provides an electronic device. The electronic device can be used to implement the device mode switching method in the above embodiments. Fig.11 As shown, the electronic device mainly includes:

[0103] The memory 1101, the processor 1102, the bus 1103, and the computer program stored in the memory 1101 and executable on the processor 1102, the memory 1101 and the processor 1102 are connected via the bus 1103. When the processor 1102 executes the computer program, the device mode switching method in the aforementioned embodiment is implemented. The number of processors may be one or more.

[0104] The memory 1101 may be a high-speed random access memory (RAM) memory, or a non-volatile memory, such as a disk memory. The memory 1101 is used to store executable program codes, and the processor 1102 is coupled to the memory 1101 .

[0105] Furthermore, the present application also provides a computer-readable storage medium, which may be disposed in the electronic device in the above embodiments. Fig.11 Memory in the illustrated embodiment.

[0106] The computer readable storage medium stores a computer program, and when the program is executed by the processor, the device mode switching method in the aforementioned embodiment is implemented. Furthermore, the computer readable storage medium can also be a U disk, a mobile hard disk, a read-only memory (ROM), a RAM, a magnetic disk or an optical disk, and other media that can store program codes.

[0107] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0108] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0109] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.

[0110] If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. 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, which is stored in a readable storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned readable storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.

[0111] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0112] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0113] The above is a description of the device mode switching method, apparatus, and computer-readable storage medium provided in the present application. For technicians in this field, according to the ideas of the embodiments of the present application, there may be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A device mode switching method, characterized in that: Applied to an automatic external defibrillator device, the device mode switching method includes: Upon receiving a device mode switching instruction, determining a target working mode to be switched; Obtaining a target state machine corresponding to the target working mode; Switch from the current working mode to the target working mode, and run the corresponding working logic of the target state machine; The target working mode is a rescue mode, and the step of running the working logic corresponding to the target state machine includes: Acquiring the device status during the device initialization phase; wherein the device status includes at least one of a cardiopulmonary resuscitation status, a lead status, and a charging status; When the device state meets the preset state requirements, entering the first algorithm analysis phase; When it is determined according to the algorithm analysis result that the preset defibrillation control conditions are met, the defibrillation control stage is entered; In the defibrillation control stage, a defibrillation operation is performed in response to a defibrillation instruction input by a user.

2. The device mode switching method according to claim 1, characterized in that: After the step of performing a defibrillation operation according to the defibrillation instruction input by the user, the method further includes: Determine the working phase return logic of the target state machine accordingly according to the defibrillation result; Return to the corresponding working stage according to the working stage return logic.

3. The device mode switching method according to claim 1, characterized in that: The target working mode is a monitoring mode, and the step of running the working logic corresponding to the target state machine includes: Enter the second algorithm analysis stage to determine whether the preset automatic treatment conditions are met; When the preset automatic treatment conditions are determined to be met according to the algorithm analysis results, the user response stage is entered; When no operation signal input by the user is received within the preset user response time, the treatment operation is automatically triggered.

4. The device mode switching method according to claim 3, characterized in that: After the step of entering the user response phase, the process further includes: When an operation signal input by the user is received within the preset user response time, the delayed treatment state is entered, and the process returns to the step of entering the second algorithm analysis phase to determine whether the preset automatic treatment conditions are met.

5. The device mode switching method according to claim 1, characterized in that: The step of running the corresponding working logic of the target state machine includes: Obtain the user identity information of the rescuer; Determine, from a plurality of available working logics of the target state machine, a working logic corresponding to the user identity information; The step of running the corresponding working logic of the target state machine includes: The target state machine is moved to correspond to the working logic of the user identity information.

6. The device mode switching method according to any one of claims 1 to 5, characterized in that: The step of determining the target operating mode to be switched comprises: Obtaining real-time operating parameters of the current operating mode; Based on the real-time working parameters, a target working mode to be switched is correspondingly determined from a plurality of switchable working modes.

7. A device mode switching device, characterized in that: Applied to an automatic external defibrillator device, the device mode switching device comprises: A determination module, used to determine a target working mode to be switched upon receiving a device mode switching instruction; An acquisition module, used for acquiring a target state machine corresponding to the target working mode; An operation module, used to switch from the current operation mode to the target operation mode, and to run the corresponding operation logic of the target state machine; The target working mode is the rescue mode; the operation module is specifically used to: obtain the device status during the device initialization phase; wherein the device status includes at least one of the cardiopulmonary resuscitation status, the lead status, and the charging status; when the device status meets the preset status requirements, enter the first algorithm analysis phase; when it is determined according to the algorithm analysis results that the preset defibrillation control conditions are met, enter the defibrillation control phase; in the defibrillation control phase, perform the defibrillation operation in response to the defibrillation command input by the user.

8. An electronic device, characterized in that: include: Memory, processor and bus; The bus is used to realize the connection and communication between the memory and the processor; The processor is used to execute the computer program stored in the memory; When the processor executes the computer program, the steps in the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps in the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Control method, device and system of compound equipment and storage medium

    CN113081041A

  • Emergency monitor-defibrillator with telemedicine capability

    US20150343229A1