Method and device for processing surgical smoke, computer device and storage medium
By acquiring video frame data in real time and using deep learning networks to identify the level of surgical smoke, the problem of the inability of existing technologies to intelligently handle surgical smoke has been solved, realizing intelligent smoke removal and improving surgical safety.
Patent Information
- Application Number
- CN202311730045.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-15
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2043-12-15
AI Technical Summary
Existing surgical smoke treatment methods cannot intelligently identify and process smoke, resulting in poor smoke removal effects and affecting surgical safety.
By acquiring real-time video frame data during the operation, the smoke feature information is extracted using a deep learning convolutional neural network, the smoke level is determined and accumulated, the alarm status is determined based on the accumulated smoke value and the preset threshold range, and the external pneumoperitoneum device is controlled to perform smoke exhaust operation.
It enables intelligent identification and processing of surgical smoke, improving smoke removal efficiency, avoiding frequent false alarms and tedious manual operations, and ensuring surgical safety.
Smart Images

Figure CN117899276B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of endoscopic technology, and in particular to methods, apparatus, computer equipment, and storage media for handling surgical fumes. Background Technology
[0002] In endoscopic surgery, a clear surgical field is crucial for safety. However, procedures such as electrocautery or electrocoagulation using surgical instruments generate significant amounts of smoke, interfering with the surgeon's view and increasing the risks. Therefore, it is essential to promptly remove any smoke generated during the procedure to prevent its disruption.
[0003] Current methods for handling smoke typically involve operators observing and assessing the smoke generation and manually activating relevant equipment to remove it. These methods lack the ability to intelligently identify and process surgical smoke, resulting in poor smoke removal and compromising surgical safety.
[0004] There is currently no effective solution to the problem that related technologies cannot intelligently identify and process surgical smoke, resulting in poor smoke removal effects. Summary of the Invention
[0005] This embodiment provides a method, apparatus, computer device, and storage medium for processing surgical smoke, in order to solve the problem in related technologies that cannot intelligently identify and process surgical smoke, resulting in poor smoke removal effect.
[0006] Firstly, this embodiment provides a method for treating surgical fumes, the method comprising:
[0007] Acquire video frame data in real time during the surgery; the video frame data includes a preset number of video frame images.
[0008] The smoke accumulation value of the video frame data is determined based on the smoke level corresponding to each video frame image;
[0009] Determine the current alarm status corresponding to the accumulated smoke value, and control the external pneumoperitoneum device to perform smoke extraction operation based on the current alarm status.
[0010] In some embodiments, before determining the smoke accumulation value of the video frame data based on the smoke level corresponding to each of the video frame images, the method includes:
[0011] The smoke feature information of each video frame image is obtained by extracting features from each video frame image using a deep learning convolutional neural network.
[0012] The corresponding smoke level is determined based on the smoke feature information of the video frame image.
[0013] In some embodiments, determining the cumulative smoke value of the video frame data based on the smoke level corresponding to each of the video frame images includes:
[0014] Determine the corresponding level value based on the smoke level corresponding to each video frame image;
[0015] The smoke accumulation value of the video frame data is obtained by accumulating the values of each of the aforementioned levels.
[0016] In some embodiments, determining the current alarm status corresponding to the accumulated smoke value includes:
[0017] The accumulated smoke value is compared with a preset threshold range;
[0018] When the accumulated smoke value is less than or equal to the minimum threshold in the threshold range, the current alarm status is output as a smoke-free alarm status;
[0019] When the accumulated smoke value is greater than the minimum threshold and less than the maximum threshold in the threshold range, the current alarm status is output as a medium smoke alarm status.
[0020] When the accumulated smoke value is greater than or equal to the maximum threshold, the current alarm status is output as a dense smoke alarm status.
[0021] In some embodiments, controlling the external pneumoperitoneum device to perform smoke extraction based on the current alarm status includes:
[0022] Initiate an alarm based on the current alarm status;
[0023] Upon detecting the first alarm, the current alarm state is recorded as the initial alarm state, and the external pneumoperitoneum device is controlled to perform smoke extraction.
[0024] In some embodiments, after recording the current alarm state as the initial alarm state and controlling the external pneumoperitoneum device to perform smoke extraction upon detecting the first alarm, the method further includes:
[0025] When it is detected that this is not the first time an alarm has been triggered, it is determined whether the current alarm state is the same as the previously output initial alarm state.
[0026] When the current alarm state is different from the previously output alarm state, the difference between the generation time of the current alarm state and the generation time of the previously output alarm state is determined.
[0027] The difference is compared with a preset time threshold. When the difference is greater than or equal to the time threshold, the external pneumoperitoneum device is controlled to perform a smoke extraction operation.
[0028] In some embodiments, the current alarm status corresponds to the degree of closure of the exhaust valve in the external pneumoperitoneum device.
[0029] Secondly, this embodiment provides a surgical smoke processing device, which includes: an acquisition module, a grading module, and a processing module;
[0030] The acquisition module is used to acquire video frame data collected in real time during the operation; the video frame data includes video frame images of a preset number of frames;
[0031] The grading module is used to determine the cumulative smoke value of the video frame data based on the smoke level corresponding to each video frame image.
[0032] The processing module is used to determine the current alarm status corresponding to the accumulated smoke value, and control the external pneumoperitoneum device to perform smoke extraction operation according to the current alarm status.
[0033] Thirdly, this embodiment provides a computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the surgical smoke processing method described in the first aspect above.
[0034] Fourthly, this embodiment provides a storage medium storing a computer program that, when executed by a processor, implements the surgical smoke processing method described in the first aspect above.
[0035] Compared with related technologies, the surgical smoke processing method, apparatus, computer equipment, and storage medium provided in this embodiment acquire video frame data collected in real time during the operation, the video frame data containing a preset number of video frame images; determine the smoke accumulation value of the video frame data according to the smoke level corresponding to each video frame image; further, determine the current alarm state corresponding to the smoke accumulation value, and control the external pneumoperitoneum device to perform smoke exhaust operation according to the current alarm state. This solves the problem of poor smoke removal effect caused by the inability to intelligently identify and process surgical smoke, and realizes intelligent identification and processing of surgical smoke, thereby improving the smoke removal effect.
[0036] Details of one or more embodiments of this application are set forth in the following drawings and description to make other features, objects and advantages of this application more readily apparent. Attached Figure Description
[0037] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0038] Figure 1 This is a hardware structure block diagram of a terminal device for a surgical smoke processing method provided in an embodiment of this application;
[0039] Figure 2 This is a flowchart of a surgical fume treatment method provided in one embodiment of this application;
[0040] Figure 3 This is a flowchart illustrating the pneumoperitoneum machine linkage strategy provided in one embodiment of this application;
[0041] Figure 4 This is a schematic flowchart of a surgical fume treatment method provided in an embodiment of this application;
[0042] Figure 5 This is a flowchart of a preferred embodiment of the surgical smoke treatment method provided in this application;
[0043] Figure 6 This is a structural block diagram of a surgical smoke treatment device provided in one embodiment of this application.
[0044] In the diagram: 102, processor; 104, memory; 106, transmission device; 108, input / output device; 10, acquisition module; 20, hierarchical module; 30, processing module. Detailed Implementation
[0045] To better understand the purpose, technical solution, and advantages of this application, the application is described and explained below in conjunction with the accompanying drawings and embodiments.
[0046] Unless otherwise defined, the technical or scientific terms used in this application shall have the general meaning as understood by one of ordinary skill in the art to which this application pertains. Words such as “a,” “an,” “an,” “the,” “the,” and “these,” used in this application, do not indicate quantitative limitation and may be singular or plural. The terms “comprising,” “including,” “having,” and any variations thereof used in this application are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or device that comprises a series of steps or modules (units) is not limited to the listed steps or modules (units) but may include steps or modules (units) not listed, or may include other steps or modules (units) inherent to such processes, methods, products, or devices. The terms “connected,” “linked,” and “coupled,” used in this application, are not limited to physical or mechanical connections but may include electrical connections, whether direct or indirect. The term “multiple” used in this application refers to two or more. The "and / or" operator describes the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: A alone, A and B simultaneously, and B alone. Typically, the character " / " indicates that the objects before and after it are in an "or" relationship. The terms "first," "second," and "third," etc., used in this application are merely for distinguishing similar objects and do not represent a specific ordering of the objects.
[0047] The method embodiments provided in this example can be executed on a terminal, computer, or similar computing device. For example, it can run on a terminal. Figure 1 This is a hardware structure block diagram of the terminal of the surgical smoke processing method in this embodiment. For example... Figure 1 As shown, a terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 and a memory 104 for storing data are also included. The processor 102 may be, but is not limited to, a microprocessor (MCU) or a programmable logic device (FPGA). The terminal may also include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that… Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the terminal described above. For example, the terminal may also include components that are larger than... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown are illustrated.
[0048] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the surgical smoke processing method in this embodiment. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0049] The transmission device 106 is used to receive or send data via a network. This network includes a wireless network provided by the terminal's communication provider. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 can be a Radio Frequency (RF) module used for wireless communication with the Internet.
[0050] This embodiment provides a method for treating surgical fumes. Figure 2 This is a flowchart of the surgical smoke treatment method in this embodiment, as shown below. Figure 2 As shown, the process includes the following steps:
[0051] Step S220: Acquire video frame data collected in real time during the operation; the video frame data includes video frame images of a preset number of frames.
[0052] Specifically, during endoscopic surgery, real-time video frame data is acquired through a lens. This video frame data typically contains a preset number of video frame images. After inputting the video frame images, a deep learning convolutional neural network is used to extract features from the video frame images to obtain smoke feature information for each video frame image. Based on the smoke feature information of the video frame images, the corresponding smoke level is determined. It should be noted that the surgical object in this embodiment is not limited to the human body.
[0053] Step S240: Determine the cumulative smoke value of the video frame data based on the smoke level corresponding to each video frame image.
[0054] Specifically, the smoke level of each video frame image is represented as a corresponding level value, and the level values of each video frame image in the video frame data are accumulated to obtain the smoke accumulation value of the preset number of frames.
[0055] Step S260: Determine the current alarm status corresponding to the smoke accumulation value, and control the external pneumoperitoneum machine to perform smoke exhaust operation according to the current alarm status.
[0056] Specifically, the accumulated smoke value is compared with a preset threshold range to determine the relationship between the accumulated smoke value and the minimum and maximum thresholds within the threshold range. Based on the determination result, the corresponding smoke alarm state is selected as the current alarm state and output. For example, the preset smoke alarm states include no smoke alarm state, moderate smoke alarm state, and dense smoke alarm state.
[0057] Furthermore, an alarm is initiated based on the current alarm status. If this is the first time an alarm has been initiated, the current alarm status is recorded as the initial alarm status, and the external pneumoperitoneum device is controlled to perform smoke extraction. If this is not the first time an alarm has been initiated, it is determined whether the current alarm status is the same as the previously output alarm status. If the current alarm status is different from the previously output alarm status, the difference between the generation time of the current alarm status and the generation time of the previously output initial alarm status is used to determine whether to control the external pneumoperitoneum device to perform smoke extraction.
[0058] It is important to know that smoke detection based on a single frame image is prone to false detections, which can cause the exhaust valve of the insufflator to open and close frequently. In this embodiment, the current smoke alarm status is determined based on the cumulative smoke value of a preset number of frames, which effectively reduces the probability of false smoke alarms caused by false detection of a single frame image during the smoke detection process.
[0059] Current methods for handling surgical smoke typically involve operators observing and assessing the smoke generation and manually activating relevant equipment to remove it. These methods lack intelligent identification and processing capabilities, resulting in poor smoke removal and compromising surgical safety.
[0060] Compared to existing technologies, this application acquires real-time video frame data during surgery, including a preset number of video frame images. Based on the smoke level corresponding to each video frame image, it determines the cumulative smoke value of the video frame data. Furthermore, it determines the current alarm state corresponding to the cumulative smoke value and controls the external insufflation machine to perform smoke extraction based on the current alarm state. Therefore, by accumulating the level values of each video frame image in the video frame data, the cumulative smoke value of the preset number of frames is obtained. The current smoke alarm state is accurately identified based on the cumulative smoke value, thus enabling precise control of the external insufflation machine's smoke extraction operation according to different smoke alarm states. This solves the problem of poor smoke removal due to the inability to intelligently identify and process surgical smoke, achieving intelligent identification and processing of surgical smoke and improving smoke removal efficiency.
[0061] In some embodiments, before determining the cumulative smoke value of the video frame data based on the smoke level corresponding to each video frame image, the following steps are included:
[0062] Step S231: Extract features from each video frame image using a deep learning convolutional neural network to obtain smoke feature information of the video frame image;
[0063] Step S232: Determine the corresponding smoke level based on the smoke feature information of the video frame image.
[0064] Specifically, after inputting video frame images, a deep learning convolutional neural network is used to extract features from the video frame images to obtain smoke feature information in each video frame image. This smoke feature information includes feature values used to describe the smoke features in the video frame image. The convolutional neural network that can be used in this embodiment includes, but is not limited to, residual networks, VGG networks, and Inception networks.
[0065] Furthermore, multiple feature value intervals are preset, and each feature value interval corresponds to a different smoke level. After extracting feature information from video frame images, the corresponding smoke level is determined based on the feature values of each video frame image. For example, different feature value intervals correspond to no smoke, moderate smoke, and dense smoke levels, respectively.
[0066] In this embodiment, a convolutional neural network based on deep learning is used to extract features from each video frame image to obtain smoke feature information of the video frame image. Thus, the smoke level of each video frame image can be accurately obtained based on the extracted smoke feature information.
[0067] In some embodiments, determining the cumulative smoke value of video frame data based on the smoke level corresponding to each video frame image includes the following steps:
[0068] Step S241: Determine the corresponding smoke level value based on the smoke level corresponding to each video frame image;
[0069] Step S242: Accumulate the values of each level to obtain the smoke accumulation value of the video frame data.
[0070] Specifically, each smoke level corresponds to a different numerical value. Based on the smoke level of the video frame image, it is mapped to the corresponding numerical value. For example, when the smoke levels include no smoke, moderate smoke, and dense smoke, the value 1 is set to no smoke, the value 2 to moderate smoke, and the value 3 to dense smoke. If the smoke level of the current video frame image is moderate smoke, then the value is assigned to 2.
[0071] Furthermore, the smoke accumulation value of each video frame image is obtained by accumulating the smoke level values of the video frame data, which is used to determine the current smoke alarm status, thereby effectively reducing the probability of false smoke alarms caused by false detection of a single frame image during the smoke detection process.
[0072] In this embodiment, the corresponding smoke level value is determined based on the smoke level corresponding to each video frame image, and the smoke accumulation value of each level value is accumulated to obtain the smoke accumulation value of the video frame data. This accurately quantifies the smoke features in the image, while avoiding false smoke alarms caused by false detection of a single frame image.
[0073] In some embodiments, determining the current alarm status corresponding to the smoke accumulation value includes the following steps:
[0074] Step S261: Compare the accumulated smoke value with a preset threshold range;
[0075] Step S262: When the accumulated smoke value is less than or equal to the minimum threshold in the threshold range, output the current alarm status as smoke-free alarm status.
[0076] Step S263: When the accumulated smoke value is greater than the minimum threshold and less than the maximum threshold in the threshold range, output the current alarm status as medium smoke alarm status.
[0077] Step S264: When the accumulated smoke value is greater than or equal to the maximum threshold, output the current alarm status as dense smoke alarm status.
[0078] Specifically, the calculated smoke accumulation value is compared with a preset threshold range to determine the current alarm status corresponding to the smoke accumulation value. When the smoke accumulation value is less than or equal to the minimum threshold in the threshold range, the current alarm status is output as a smoke-free alarm status; when the smoke accumulation value is greater than the minimum threshold but less than the maximum threshold in the threshold range, the current alarm status is output as a moderate smoke alarm status; when the smoke accumulation value is greater than or equal to the maximum threshold, the current alarm status is output as a dense smoke alarm status.
[0079] It is important to know that, depending on different application requirements, the above threshold range can be subdivided into multiple smaller threshold intervals, and smoke alarm statuses corresponding to each threshold interval can be set to improve the accuracy and reliability of smoke alarms.
[0080] In this embodiment, the accumulated smoke value is compared with a preset threshold range to determine the relationship between the accumulated smoke value and the minimum and maximum thresholds within the threshold range. Based on the determination result, the corresponding smoke alarm state is selected as the current alarm state, thus achieving clear distinction between different alarm states.
[0081] The following is combined Figure 3The linkage strategy of the pneumoperitoneum machine is explained in detail.
[0082] In some embodiments, based on the current alarm status, the external pneumoperitoneum machine is controlled to perform a smoke extraction operation, including the following steps:
[0083] Initiate an alarm based on the current alarm status;
[0084] When the first alarm is detected, the current alarm status is recorded as the initial alarm status, and the external pneumoperitoneum machine is controlled to perform smoke extraction.
[0085] Specifically, an alarm is initiated based on the current alarm status output (S310), and it is determined whether this is the first time an alarm has been initiated (S320). When the first alarm is detected, the current timestamp is recorded (S330), the current alarm status is recorded as the initial alarm status (S340), and the external pneumoperitoneum machine is controlled to perform smoke extraction (S380).
[0086] It's important to understand that recording the current alarm state as the initial alarm state upon the first alarm is crucial for comparing adjacent alarm states when an alarm is triggered again. If two adjacent alarm states are identical, it indicates that no operation of the external pneumoperitoneum device is required; otherwise, the timestamps corresponding to the two adjacent alarm states are further compared.
[0087] In this embodiment, an alarm is initiated based on the current alarm status. When the first alarm is detected, the current alarm status is recorded as the initial alarm status, and the external pneumoperitoneum device is controlled to perform a smoke exhaust operation. The alarm status is recorded for subsequent comparison, thereby avoiding frequent triggering of the pneumoperitoneum device's smoke exhaust valve.
[0088] In some embodiments, after recording the current alarm state as the initial alarm state and controlling the external pneumoperitoneum device to perform smoke extraction upon detecting the first alarm, the following steps are also included:
[0089] When it is detected that this is not the first time an alarm has been triggered, it is determined whether the current alarm status is the same as the previously output alarm status.
[0090] When the current alarm status is different from the previous output alarm status, determine the difference between the current alarm status generation time and the previous output alarm status generation time.
[0091] The difference is compared with a preset time threshold. When the difference is greater than or equal to the time threshold, the external pneumoperitoneum device is controlled to perform smoke extraction.
[0092] Specifically, when an alarm is detected not being the first one, it is determined whether the current alarm state is the same as the previously output alarm state (S350). If two adjacent alarm states are the same, the current process ends (S390), and no operation is required on the external pneumoperitoneum device; if the current alarm state is different from the previously output alarm state, the timestamp of the previous alarm state is obtained, and the difference between the timestamp of the current alarm state and the timestamp of the previous alarm state is calculated (S360).
[0093] Furthermore, the difference is compared with a preset time threshold to determine whether the difference is less than the time threshold (S370). If the difference is less than the time threshold, the current process ends (S390); if the difference is greater than or equal to the time threshold, the external pneumoperitoneum device is notified to perform a smoke extraction operation (S380), thus achieving linkage between the pneumoperitoneum device and the pneumoperitoneum device.
[0094] In this embodiment, when an alarm is detected not being the first time, it is determined whether the current alarm status is the same as the previous alarm status. Based on the determination result, it is decided whether to notify the external pneumoperitoneum device to perform a smoke extraction operation. By monitoring the time interval between alarms, the frequent triggering of the pneumoperitoneum device's smoke extraction valve is avoided, thus achieving a stable smoke extraction effect.
[0095] In some of these embodiments, the current alarm status corresponds to the degree of closure of the exhaust valve in the external pneumoperitoneum device.
[0096] It's important to understand that the output smoke alarm status represents the smoke characteristics contained in the currently acquired video frame data; that is, the smoke alarm status indicates different smoke concentrations. For different smoke concentrations, the degree of closure of the exhaust valve in the external insufflation unit needs to be appropriately controlled to achieve good smoke removal results.
[0097] Specifically, the current alarm status is correlated with the degree of closure of the smoke exhaust valve in the external insufflation machine. Whenever the external insufflation machine is notified to perform a smoke exhaust operation based on the current alarm status, the degree of closure of the smoke exhaust valve corresponding to the current alarm status is determined, and the external insufflation machine is adjusted accordingly to achieve the required smoke exhaust capacity. Specifically, when the smoke alarm status indicates a high smoke concentration, the degree of closure of the smoke exhaust valve is reduced accordingly.
[0098] In this embodiment, the current alarm status is set to correspond to the degree of closure of the smoke exhaust valve in the external pneumoperitoneum device, so as to reasonably control the degree of closure of the smoke exhaust valve, realize automatic smoke exhaust, and at the same time avoid the tedious operation of manual smoke exhaust that consumes the operator's energy.
[0099] Figure 4 This is a flowchart illustrating the surgical smoke treatment method of this embodiment, as shown below. Figure 4 As shown, the specific process of handling surgical fumes includes the following steps:
[0100] The video frame data S410, which consists of multiple video frame images, is acquired in real time during the surgery. Feature extraction is performed on each video frame image using a deep learning convolutional neural network to obtain feature values S420. Based on these feature values, the corresponding smoke level S430 is determined and mapped to the corresponding level value according to the smoke level of the video frame image.
[0101] The level values of each video frame are sequentially acquired and accumulated. It is then determined whether the number of currently processed video frames exceeds a preset frame count threshold S440. If the number of processed frames exceeds the preset frame count threshold, the process jumps to step S410 and clears the previously accumulated level values; otherwise, the level values of each video frame are accumulated to obtain the corresponding smoke accumulation value S450.
[0102] Then, determine the current alarm status S460 corresponding to the above-mentioned smoke accumulation value, and control the external pneumoperitoneum device to perform smoke exhaust operation S470 according to the current alarm status.
[0103] The present embodiment will now be described and illustrated through preferred embodiments.
[0104] Figure 5 This is a flowchart of the surgical smoke treatment method according to a preferred embodiment, as shown below. Figure 5 As shown, the method for handling surgical fumes includes the following steps:
[0105] Step S510: Acquire video frame data collected in real time during the surgery; the video frame data includes video frame images of a preset number of frames.
[0106] Step S520: Extract features from each video frame image using a deep learning convolutional neural network to obtain smoke feature information of the video frame image;
[0107] Step S530: Determine the corresponding smoke level based on the smoke feature information of the video frame image;
[0108] Step S540: Determine the smoke accumulation value of the video frame data based on the smoke level corresponding to each video frame image.
[0109] Step S550: Determine the current alarm status corresponding to the smoke accumulation value, and initiate an alarm based on the current alarm status;
[0110] Step S560: When it is detected that this is not the first time an alarm has been initiated, determine whether the current alarm status is the same as the previously output alarm status.
[0111] Step S570: When the current alarm state is different from the previously output alarm state, determine the difference between the current alarm state generation time and the previously output alarm state generation time.
[0112] Step S580: Compare the difference with a preset time threshold. When the difference is greater than or equal to the time threshold, control the external pneumoperitoneum device to perform smoke extraction.
[0113] This embodiment acquires real-time video frame data during surgery. The video frame data includes a preset number of video frame images. A deep learning convolutional neural network is used to extract features from each video frame image to obtain smoke feature information. Based on the smoke feature information of the video frame images, the corresponding smoke level is determined. Furthermore, based on the smoke level corresponding to each video frame image, the cumulative smoke value of the video frame data is determined, thereby accurately quantifying the smoke features in the image and avoiding false smoke alarms caused by misdetection of a single frame image.
[0114] Furthermore, the current alarm state corresponding to the accumulated smoke value is determined, and an alarm is triggered based on the current alarm state. If an alarm is detected not as the first one, it is determined whether the current alarm state is the same as the previously output alarm state. Specifically, if the current alarm state is different from the previously output alarm state, the difference between the generation time of the current alarm state and the generation time of the previously output alarm state is determined. This difference is compared with a preset time threshold, and if the difference is greater than or equal to the time threshold, the external insufflation machine is controlled to perform a smoke extraction operation. By monitoring the time interval between alarms, frequent triggering of the insufflation machine's smoke extraction valve is avoided, achieving a stable smoke extraction effect.
[0115] It should be noted that the steps shown in the above process or in the flowchart of the accompanying figures can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.
[0116] This embodiment also provides a surgical smoke treatment device, which is used to implement the above embodiments and preferred embodiments, and will not be repeated as described previously. The terms "module," "unit," "subunit," etc., used below refer to combinations of software and / or hardware that perform a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0117] Figure 6 This is a structural block diagram of the surgical smoke processing device in this embodiment, as shown below. Figure 6 As shown, the device includes: an acquisition module 10, a grading module 20, and a processing module 30;
[0118] The acquisition module 10 is used to acquire video frame data collected in real time during the operation; the video frame data includes video frame images of a preset number of frames;
[0119] The grading module 20 is used to determine the cumulative smoke value of the video frame data based on the smoke level corresponding to each video frame image.
[0120] The processing module 30 is used to determine the current alarm status corresponding to the smoke accumulation value, and control the external pneumoperitoneum device to perform smoke exhaust operation according to the current alarm status.
[0121] The device provided in this embodiment acquires real-time video frame data during surgery, which includes a preset number of video frame images. Based on the smoke level corresponding to each video frame image, the accumulated smoke value of the video frame data is determined. Furthermore, the current alarm state corresponding to the accumulated smoke value is determined, and the external pneumoperitoneum device is controlled to perform smoke extraction operation based on the current alarm state. This solves the problem of poor smoke removal effect due to the inability to intelligently identify and process surgical smoke, and realizes intelligent identification and processing of surgical smoke, thereby improving the smoke removal effect.
[0122] In some of these embodiments, in Figure 6 Based on this, the device also includes an extraction module, which is used to extract features from each video frame image through a deep learning convolutional neural network to obtain smoke feature information of the video frame image; and to determine the corresponding smoke level based on the smoke feature information of the video frame image.
[0123] In some of these embodiments, in Figure 6 Based on this, the device also includes an accumulation module, which is used to determine the corresponding level value according to the smoke level corresponding to each video frame image; and accumulate the values of each level to obtain the smoke accumulation value of the video frame data.
[0124] In some of these embodiments, in Figure 6 In addition to the above, the device also includes an alarm module, which compares the accumulated smoke value with a preset threshold range; when the accumulated smoke value is less than or equal to the minimum threshold in the threshold range, the current alarm status is output as a smoke-free alarm status; when the accumulated smoke value is greater than the minimum threshold but less than the maximum threshold in the threshold range, the current alarm status is output as a moderate smoke alarm status; when the accumulated smoke value is greater than or equal to the maximum threshold, the current alarm status is output as a dense smoke alarm status.
[0125] In some of these embodiments, in Figure 6In addition to the above, the device also includes a smoke exhaust module, which is used to initiate an alarm based on the current alarm status; when the first alarm is detected, the current alarm status is recorded as the initial alarm status, and the external pneumoperitoneum machine is controlled to perform smoke exhaust operation.
[0126] In some of these embodiments, in Figure 6 Based on this, the device also includes a detection module, which is used to determine whether the current alarm state is the same as the previous output alarm state when it is detected that the alarm is not the first time it has been triggered; when the current alarm state is different from the previous output alarm state, it determines the difference between the generation time of the current alarm state and the generation time of the previous output alarm state; compares the difference with a preset time threshold, and controls the external pneumoperitoneum machine to perform smoke exhaust operation when the difference is greater than or equal to the time threshold.
[0127] It should be noted that the above modules can be functional modules or program modules, and can be implemented through software or hardware. For modules implemented through hardware, the above modules can reside in the same processor; or the above modules can be located in different processors in any combination.
[0128] This embodiment also provides a computer device, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
[0129] Optionally, the computer device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.
[0130] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated in this embodiment.
[0131] Furthermore, in conjunction with the surgical fume treatment methods provided in the above embodiments, this embodiment can also provide a storage medium. This storage medium stores a computer program; when executed by a processor, the computer program implements any of the surgical fume treatment methods described in the above embodiments.
[0132] It should be understood that the specific embodiments described herein are merely illustrative of the application and not intended to limit it. All other embodiments derived by those skilled in the art based on the embodiments provided in this application without inventive effort are within the scope of protection of this application.
[0133] Obviously, the accompanying drawings are merely some examples or embodiments of this application. Those skilled in the art can apply this application to other similar situations based on these drawings without any creative effort. Furthermore, it is understood that although the work done in this development process may be complex and lengthy, for those skilled in the art, certain design, manufacturing, or production modifications made based on the technical content disclosed in this application are merely conventional technical means and should not be considered as insufficient disclosure of this application.
[0134] The term "embodiment" in this application refers to a specific feature, structure, or characteristic described in connection with an embodiment that may be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily imply the same embodiment, nor does it imply that it is mutually exclusive with or independent of other embodiments. It will be clearly or implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0135] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of patent protection. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the appended claims.
Claims
1. A method for treating surgical fumes, characterized in that, The method includes: Acquire video frame data captured in real time by the endoscope lens; the video frame data includes a preset number of video frame images. The smoke feature information of each video frame image is obtained by extracting features from each video frame image using a deep learning convolutional neural network. The corresponding smoke level is determined based on the smoke feature information of the video frame image; Determining the cumulative smoke value of the video frame data based on the smoke level corresponding to each video frame image includes: determining the corresponding level value based on the smoke level corresponding to each video frame image; and accumulating each level value to obtain the cumulative smoke value of the video frame data. Determine the current alarm status corresponding to the accumulated smoke value, and control the external pneumoperitoneum device to perform smoke extraction operation based on the current alarm status.
2. The method for treating surgical fumes according to claim 1, characterized in that, Determining the current alarm status corresponding to the accumulated smoke value includes: The accumulated smoke value is compared with a preset threshold range; When the accumulated smoke value is less than or equal to the minimum threshold in the threshold range, the current alarm status is output as a smoke-free alarm status; When the accumulated smoke value is greater than the minimum threshold and less than the maximum threshold in the threshold range, the current alarm status is output as a medium smoke alarm status. When the accumulated smoke value is greater than or equal to the maximum threshold, the current alarm status is output as a dense smoke alarm status.
3. The method for treating surgical fumes according to claim 1, characterized in that, The step of controlling the external pneumoperitoneum machine to perform smoke extraction based on the current alarm status includes: Initiate an alarm based on the current alarm status; Upon detecting the first alarm, the current alarm state is recorded as the initial alarm state, and the external pneumoperitoneum device is controlled to perform smoke extraction.
4. The method for treating surgical fumes according to claim 3, characterized in that, After recording the current alarm state as the initial alarm state upon detecting the first alarm and controlling the external pneumoperitoneum device to perform smoke extraction, the method further includes: When it is detected that this is not the first time an alarm has been triggered, it is determined whether the current alarm status is the same as the previously output alarm status; When the current alarm state is different from the previously output alarm state, the difference between the generation time of the current alarm state and the generation time of the previously output alarm state is determined. The difference is compared with a preset time threshold. When the difference is greater than or equal to the time threshold, the external pneumoperitoneum device is controlled to perform a smoke extraction operation.
5. The method for treating surgical fumes according to any one of claims 1-4, characterized in that, The current alarm status corresponds to the degree of closure of the smoke exhaust valve in the external pneumoperitoneum device.
6. A surgical fume treatment device, characterized in that, The device includes: an acquisition module, an extraction module, a grading module, and a processing module; The acquisition module is used to acquire video frame data collected in real time by the endoscope lens; the video frame data includes a preset number of video frame images. The extraction module is used to extract features from each video frame image using a deep learning convolutional neural network to obtain smoke feature information of the video frame image; The extraction module is also used to determine the corresponding smoke level based on the smoke feature information of the video frame image; The grading module is used to determine the cumulative smoke value of the video frame data based on the smoke level corresponding to each video frame image. The grading module is further configured to determine the corresponding level value based on the smoke level corresponding to each video frame image; and accumulate each level value to obtain the smoke accumulation value of the video frame data. The processing module is used to determine the current alarm status corresponding to the accumulated smoke value, and control the external pneumoperitoneum device to perform smoke extraction operation according to the current alarm status.
7. A computer device, comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to run the computer program to perform the steps of the surgical smoke treatment method according to any one of claims 1 to 5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the surgical smoke treatment method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Intelligent smoke discharge system and method for surgery
CN106510839A
Video smoke detection method based on change cumulative diagram and cascaded deep network
CN110765982A
Smoke sensing alarm reporting method, device and terminal
CN110942583A
Active control of surgical smoke evacuation systems
US20230165628A1
