Endoscope control method and system, electronic equipment and storage medium
By using multiple sensors and processors to switch control methods in endoscopic surgery, the problem of relying on a single sensor in traditional surgery is solved, and the safety and stability of the surgery are improved.
Patent Information
- Application Number
- CN202510235845.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-28
- Publication Date
- 2025-05-27
AI Technical Summary
During traditional endoscopic surgery, temperature and pressure control relies on a single sensor data, which is prone to adverse effects on the surgery due to sensor failure or abnormal data.
Using multiple temperature sensors and pressure sensors, the processor switches the control of the laser fiber and the water pump according to the deviation value of the sensor data, ensuring that the surgical site is carried out within the appropriate temperature and pressure range.
Improves the safety, effectiveness and stability of the surgery, ensures that the surgery is carried out under appropriate conditions, and reduces the risks caused by abnormal temperature and pressure.
Smart Images

Figure CN120036708A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure belongs to the technical field of endoscopes, and more particularly, relates to an endoscope control method and system, an electronic device, and a storage medium. Background Art
[0002] In the field of medical surgery, as a commonly used medical device, the endoscope plays an important role in disease diagnosis and treatment. However, the temperature and pressure control during the endoscope surgery have always been a difficult problem for doctors. Traditional control methods often rely on the data of a single sensor. Once the sensor fails or the data is abnormal, it may have an adverse impact on the surgery. Summary of the Invention
[0003] The purpose of the present disclosure is to provide an endoscope control method and system, an electronic device, and a storage medium to improve the safety of the surgery.
[0004] In the first aspect of the embodiments of the present disclosure, an endoscope control method is provided, which is applied to a processor and includes: In response to the deviation between the first temperature value and the reference temperature value being less than the first deviation value, controlling the laser fiber based on the first temperature value, where the first temperature value is the detection value of the first temperature sensor; In response to the deviation between the first temperature value and the reference temperature value being greater than or equal to the first deviation value, controlling the laser fiber based on the second temperature value, where the second temperature value is the detection value of the second temperature sensor; In response to the deviation between the first pressure value and the reference pressure value being less than the second deviation value, controlling the water pump based on the first pressure value, where the first pressure value is the detection value of the first pressure sensor; In response to the deviation between the first pressure value and the reference pressure value being greater than or equal to the second deviation value, controlling the water pump based on the second pressure value, where the second pressure value is the detection value of the second pressure sensor.
[0005] In the second aspect of the embodiments of the present disclosure, an endoscope control system is provided, including: A first temperature control module, configured to control the laser fiber based on the first temperature value in response to the deviation between the first temperature value and the reference temperature value being less than the first deviation value, where the first temperature value is the detection value of the first temperature sensor; A second temperature control module, configured to control the laser fiber based on the second temperature value in response to the deviation between the first temperature value and the reference temperature value being greater than or equal to the first deviation value, where the second temperature value is the detection value of the second temperature sensor; A first pressure control module, configured to control the water pump based on the first pressure value in response to the deviation between the first pressure value and the reference pressure value being less than the second deviation value, where the first pressure value is the detection value of the first pressure sensor; The second pressure control module is configured to control the water pump based on the second pressure value in response to the deviation between the first pressure value and the reference pressure value being greater than or equal to the second deviation value, where the second pressure value is the detected value of the second pressure sensor.
[0006] In a third aspect of the embodiments of the present disclosure, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, the steps of the above endoscopic control method are implemented.
[0007] In a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above endoscopic control method are implemented.
[0008] The beneficial effects of the endoscopic control method, system, electronic device, and storage medium provided by the embodiments of the present disclosure are as follows: The endoscopic control method in the embodiments of the present disclosure provides accurate and reliable guarantees for surgeries. In terms of temperature control, the laser fiber is preferentially controlled based on the data of the first temperature sensor that is close to the surgical site and has accurate detection, which can ensure that the surgical site is within an appropriate temperature range and effectively avoid affecting the surgical effect due to abnormal temperature. When there is a deviation in the first temperature sensor, it is timely switched to the second temperature sensor to ensure the basic progress of the surgery and enhance the fault tolerance of the system. The same applies to pressure control. The water pump is preferentially controlled based on the data of the first pressure sensor, which can accurately adjust the circulating water pressure and avoid damaging the surgical site due to excessive pressure. If the first pressure sensor is abnormal, the data of the second pressure sensor is used to maintain the stability of the circulating water pressure and meet the basic needs of the surgery. This improves the safety, effectiveness, and stability of the surgery. Description of the Drawings
[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art. Obviously, the following drawings are only some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0010] Figure 1 It is a schematic structural diagram of an endoscope provided by an embodiment of the present disclosure; Figure 2 It is a schematic flowchart of an endoscopic control method provided by an embodiment of the present disclosure; Figure 3 It is a structural block diagram of an endoscopic control system provided by an embodiment of the present disclosure; Figure 4 It is a schematic block diagram of an electronic device provided by an embodiment of the present disclosure. Detailed Embodiments
[0011] In the following description, specific details such as specific system architectures and technologies are presented for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present disclosure. However, those skilled in the art should clearly understand that the present disclosure can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, systems, circuits, and methods are omitted to avoid unnecessary details from interfering with the description of the present disclosure.
[0012] To make the objectives, technical solutions, and advantages of the present disclosure clearer, the following will be described through specific embodiments in conjunction with the accompanying drawings.
[0013] In this embodiment, please refer to Figure 1 , Figure 1 which is a schematic structural diagram of an endoscope provided by an embodiment of the present disclosure. The first temperature sensor 10 and the first pressure sensor 11 can be disposed on the inner sheath 1 with a camera. The inner sheath 1 can be inserted into the inner sheath tube 4. After the inner sheath 1 is inserted into the inner sheath tube 4, a cavity 9 is formed between the inner sheath 1 and the inner sheath tube 4. The inner sheath tube 4 is provided with a laser fiber inlet 2 and a circulating water inlet. The first temperature sensor 10 is used to detect the temperature of the surgical site, and the first pressure sensor 11 is used to detect the pressure of the surgical site.
[0014] The water pump pumps water into the water inlet 3 of the inner sheath tube 4, and then the water flows into the surgical site through the cavity 9 between the inner sheath tube 4 and the inner sheath 1.
[0015] The laser fiber enters the surgical site from the laser fiber inlet 2 and also passes through the cavity 9 between the inner sheath tube 4 and the inner sheath. The laser fiber is used for performing surgical operations on the patient.
[0016] The inner sheath tube can be inserted into the outer sheath tube 6. The outer sheath tube 6 is provided with a water outlet 5. The second temperature sensor 7 and the second pressure sensor 8 are disposed at the water outlet 5 of the outer sheath tube 6. There is a cavity 9 between the inner sheath tube 4 and the outer sheath tube 6. The circulating water can flow through the cavity 9 between the inner sheath tube 4 and the outer sheath tube 6 and then be discharged through the water outlet 5. The second temperature sensor 7 is also used to detect the temperature of the surgical site, and the second pressure sensor 8 is also used to detect the pressure of the surgical site.
[0017] In this embodiment, the positions of the first temperature sensor 10 and the first pressure sensor 11 are closer to the surgical site. Therefore, the first temperature and first pressure values detected by the first temperature sensor 10 and the first pressure sensor 11 are more accurate than the second temperature and second pressure values. It is preferred to use the first temperature sensor 10 and the first pressure sensor 11 for detection.
[0018] Please refer to Figure 2 , Figure 2The flowchart of the endoscope control method provided by an embodiment of the present disclosure, which is applied to a processor, includes: S101: In response to the deviation between the first temperature value and the reference temperature value being less than the first deviation value, control the laser optical fiber based on the first temperature value, where the first temperature value is the detected value of the first temperature sensor 10.
[0019] In this embodiment, when the deviation between the first temperature value detected by the first temperature sensor 10 and the preset reference temperature value is less than the first deviation value, it indicates that the first temperature sensor 10 is working properly, the temperature detected by the first temperature sensor 10 is close to the ideal state, and because its position is closer to the surgical site, the detection is more accurate. The processor can control the working state of the laser optical fiber based on the first temperature value.
[0020] At this time, the operating parameters of the laser optical fiber (such as power, working duration, etc.) can be adjusted according to the first temperature value to ensure that the laser surgery operation is carried out on the surgical site within an appropriate temperature range, and to avoid affecting the surgical effect due to too high or too low temperature.
[0021] S102: In response to the deviation between the first temperature value and the reference temperature value being greater than or equal to the first deviation value, control the laser optical fiber based on the second temperature value, where the second temperature value is the detected value of the second temperature sensor 7.
[0022] In this embodiment, if the deviation between the first temperature value and the reference temperature value is greater than or equal to the first deviation value, it indicates that the first temperature sensor 10 is affected during the surgery, and the temperature detected by the first temperature sensor 10 is quite different from the normal value. At this time, in order to ensure the normal progress of the surgery, the processor can switch to controlling the laser optical fiber based on the second temperature value detected by the second temperature sensor 7. At this time, the second temperature sensor 7 can be used as a backup sensor. The second temperature sensor 7 is used to detect the temperature value of the circulating water at the water outlet 5, and judge the temperature value of the surgical site based on the temperature of the extracted circulating water to maintain the basic progress of the surgery.
[0023] S103: In response to the deviation between the first pressure value and the reference pressure value being less than the second deviation value, control the water pump based on the first pressure value, where the first pressure value is the detected value of the first pressure sensor 11.
[0024] In this embodiment, for pressure control, when the deviation between the first pressure value detected by the first pressure sensor 11 and the reference pressure value is less than the second deviation value, it indicates that the pressure detected by the first pressure sensor 11 is within the normal range. At this time, the processor can control the operation of the water pump based on this first pressure value. For example, by adjusting parameters such as the rotation speed and flow rate of the water pump, the pressure of the circulating water can be made to meet the requirements of the surgical site, ensuring that water can flow into the surgical site at an appropriate pressure, both guaranteeing the normal realization of functions such as flushing and cooling, and avoiding damage to the surgical site due to excessive pressure.
[0025] S104: In response to the deviation between the first pressure value and the reference pressure value being greater than or equal to the second deviation value, control the water pump based on the second pressure value, where the second pressure value is the detected value of the second pressure sensor 8.
[0026] In this embodiment, when the deviation between the first pressure value and the reference pressure value is greater than or equal to the second deviation value, it indicates that the pressure detected by the first pressure sensor 11 deviates from the normal range, such as in the case of a pressure sensor failure or abnormal system pressure. At this time, the processor can switch to controlling the water pump based on the second pressure value detected by the second pressure sensor 8 to ensure that the operation of the water pump can maintain the pressure stability of the circulating water to a certain extent and meet the basic requirements of the surgery.
[0027] Exemplarily, suppose there is a laser lithotripsy surgery for a patient's kidney stone.
[0028] Before the surgery starts, the doctor sets the reference temperature value to 37°C and the first deviation value to 2°C according to experience and surgical requirements. During the surgery, the first temperature sensor 10 detects the temperature of the surgical site in real time. Suppose the first temperature value detected at a certain moment is 37.5°C, and its deviation from the reference temperature value of 37°C is 0.5°C, which is less than the first deviation value of 2°C. At this time, the processor determines that the first temperature sensor 10 is working properly and the detection result is reliable. Based on the first temperature value of 37.5°C, the processor starts to adjust the operating parameters of the laser fiber. Since the temperature is slightly higher than the reference value, the processor appropriately reduces the power of the laser fiber from the original 10 watts to 8 watts, and at the same time shortens the duration of each laser emission from 0.5 seconds to 0.3 seconds to avoid further increase in the temperature of the surgical site and ensure that the surgery is carried out at a suitable temperature.
[0029] As the operation progresses, the first temperature sensor 10 is affected due to reasons such as the impact of stone fragments. The first temperature value detected at a certain moment is 42°C, and the deviation from the reference temperature value of 37°C reaches 5°C, which is greater than or equal to the first deviation value of 2°C. The processor determines that the detection result of the first temperature sensor 10 is unreliable, and then switches to control based on the second temperature sensor 7. The second temperature sensor 7 detects that the temperature value of the circulating water at the water outlet 5 is 39°C, and the processor adjusts the laser fiber according to this second temperature value. Considering that the temperature of the circulating water is 39°C after taking away some of the heat, it is inferred that the temperature of the surgical site is relatively high, so the laser fiber power is further reduced to 6 watts, and the interval time of laser emission is extended from once per second to once every two seconds, so as to maintain the basic progress of the operation and prevent excessive temperature at the surgical site from causing tissue damage.
[0030] Before the operation, the doctor sets the reference pressure value to 100 mmHg and the second deviation value to 10 mmHg. During the operation, the first pressure sensor 11 monitors the pressure of the surgical site in real time. The first pressure value detected at a certain moment is 103 mmHg, and the deviation from the reference pressure value of 100 mmHg is 3 mmHg, which is less than the second deviation value of 10 mmHg. The processor determines that the pressure detected by the first pressure sensor 11 is within the normal range, so the water pump is controlled based on the first pressure value. Since the pressure is slightly higher than the reference value, the processor appropriately reduces the speed of the water pump from 1000 revolutions per minute to 900 revolutions per minute, thereby reducing the flow and pressure of the circulating water, ensuring that water can flow into the surgical site at an appropriate pressure, avoiding damage to kidney tissue caused by excessive pressure, and ensuring the normal implementation of the flushing and cooling functions.
[0031] Later, due to partial blockage of the inner sheath and other reasons, the first pressure value detected by the first pressure sensor 11 was 120 mmHg, and the deviation from the reference pressure value of 100 mmHg reached 20 mmHg, which was greater than or equal to the second deviation value of 10 mmHg. The processor determines that the pressure detected by the first pressure sensor 11 deviates from the normal range and switches to control based on the second pressure sensor 8. The second pressure value detected by the second pressure sensor 8 is 110 mmHg, and the processor controls the water pump according to this value. In order to maintain the stable pressure of the circulating water, the processor increases the speed of the water pump to 1100 revolutions per minute, and at the same time adjusts the valve opening of the water pump to increase the flow rate of the circulating water to meet the basic needs of the operation and ensure that the operation can continue safely.
[0032] As can be seen from the above, the endoscopic control method in this embodiment can provide accurate and reliable guarantee for the operation. In terms of temperature control, the laser fiber is preferentially controlled according to the data of the first temperature sensor 10 which is close to the operation site and has accurate detection, which can ensure that the operation site is within the appropriate temperature range and effectively avoid affecting the operation effect due to abnormal temperature. When the first temperature sensor 10 has a deviation, it is timely switched to the second temperature sensor 7 to ensure the basic progress of the operation and enhance the fault tolerance of the system. The same is true for pressure control. The water pump is preferentially controlled according to the data of the first pressure sensor 11, and the circulating water pressure can be accurately adjusted to avoid damaging the operation site due to excessive pressure. If the first pressure sensor 11 is abnormal, the data of the second pressure sensor 8 is used to maintain the stability of the circulating water pressure and meet the basic requirements of the operation. The safety, effectiveness and stability of the operation are improved.
[0033] In one embodiment of the present disclosure, controlling the laser fiber based on the first temperature value includes: When the first temperature value exceeds the first temperature threshold, a first alarm instruction is issued, and a first power control instruction is sent to the laser fiber based on the difference between the first temperature value and the first temperature threshold; Controlling the water pump based on the first pressure value includes: When the first pressure value exceeds the first pressure threshold, a second alarm instruction is issued, and a second power control instruction is sent to the water pump based on the difference between the first pressure value and the first pressure threshold.
[0034] In this embodiment, the first temperature threshold is the upper temperature limit determined according to the safety requirements and the best effect of the operation, and is an important index to ensure that the tissue at the operation site is not damaged by high temperature. The first temperature value detected by the first temperature sensor 10 is obtained in real time and compared with the preset first temperature threshold.
[0035] When the first temperature value exceeds the first temperature threshold, it indicates that the temperature at the operation site has reached or exceeded the safe range, which may cause adverse effects such as thermal damage to the patient's tissue. At this time, the processor issues a first alarm instruction, and the first alarm instruction can remind medical staff to pay attention to the abnormal temperature of the operation site through sound, light or other means, so as to take corresponding measures in time.
[0036] At the same time, the processor calculates the difference between the first temperature value and the first temperature threshold, and this difference reflects the degree to which the temperature exceeds the safe range. Based on this difference, the processor can send a first power control instruction to the laser fiber. The larger the difference, the more serious the over-temperature situation is. At this time, it is necessary to reduce the power of the laser fiber to reduce the heat generated by the laser, so that the temperature at the operation site gradually drops to the safe range. For example, if the difference is small, the laser power can be appropriately reduced; if the difference is large, the power needs to be greatly reduced or the laser emission needs to be temporarily stopped.
[0037] In this embodiment, the first pressure threshold is determined according to the pressure range that the surgical site can withstand and the appropriate pressure required for functions such as circulating water flushing and cooling. Similarly, the first pressure value detected by the first pressure sensor 11 is obtained in real time and compared with the preset first pressure threshold.
[0038] When the first pressure value exceeds the first pressure threshold, it indicates that the pressure of the circulating water may be too high, which may cause mechanical damage to the tissue at the surgical site or affect the normal progress of the surgical operation. At this time, the processor issues a second alarm instruction to remind medical staff to pay attention to the abnormal pressure situation.
[0039] The processor calculates the difference between the first pressure value and the first pressure threshold, and this difference reflects the degree to which the pressure exceeds the normal range. Based on this difference, the processor sends a second power control instruction to the water pump. The larger the difference, the more serious the excessive pressure situation is, and it is necessary to reduce the power of the water pump to reduce the pressure of the circulating water and restore it to the safe range. For example, if the difference is small, the water pump speed can be appropriately reduced; if the difference is large, the speed can be greatly reduced or the water pump operation can be temporarily stopped.
[0040] It can be concluded from the above that in this embodiment, in terms of temperature control, when the threshold is exceeded, an alarm is issued and the laser fiber power is adjusted according to the difference, which can promptly warn of temperature abnormalities and accurately control the temperature to avoid tissue thermal damage. Similarly for pressure control, when the threshold is exceeded, an alarm is issued and the water pump power is adjusted, which can prevent excessive pressure from damaging the tissue and ensure the safe, stable and efficient progress of the operation.
[0041] In an embodiment of the present disclosure, it further includes: In response to the deviation between the first temperature value and the reference temperature value being greater than or equal to the first deviation value, the first temperature threshold is adjusted based on the water pump flow rate to obtain a second temperature threshold; In response to the deviation between the first pressure value and the reference pressure value being greater than or equal to the second deviation value, the first pressure threshold is adjusted based on the water pump flow rate to obtain a second pressure threshold.
[0042] In this embodiment, when the deviation between the first temperature value and the reference temperature value is greater than or equal to the first deviation value or the deviation between the first pressure value and the reference pressure value is greater than or equal to the second deviation value, it indicates that the first temperature sensor 10 or the first pressure sensor 11 is affected during the operation, and the first temperature value or the first pressure value can no longer be used as a reference. At this time, it is necessary to control the laser fiber or the water pump based on the second temperature value or the second pressure value.
[0043] Because the first temperature sensor 10 and the first pressure sensor 11 are at different distances from the surgical site than the second temperature sensor 7 and the second pressure sensor 8, if the laser fiber or the water pump is adjusted based on the first temperature threshold or the first pressure threshold, there will be control errors, thus unable to reliably ensure the safety of the surgery.
[0044] In this embodiment, when the detection data of the first temperature sensor 10 shows deviation, the first temperature threshold can be adjusted based on the water pump flow rate to obtain the second temperature threshold. The water pump flow rate can affect the heat dissipation of the surgical site. The faster the flow rate, the more heat is carried away, and the relatively higher temperature the surgical site can withstand; the slower the flow rate, the worse the heat dissipation effect, and the temperature that the surgical site can withstand needs to be reduced accordingly. Dynamically adjusting the temperature threshold according to the water pump flow rate can make the subsequent control of the laser fiber based on the second temperature value more accurate and reduce the control errors caused by different sensor positions.
[0045] When the detection data of the first pressure sensor 11 shows deviation, the first pressure threshold can be adjusted based on the water pump flow rate to obtain the second pressure threshold. The water pump flow rate can affect the pressure distribution of the circulating water, and the change in the flow rate will cause the actual pressure borne by the surgical site to change. Adjusting the pressure threshold according to the water pump flow rate can make the control of the water pump based on the second pressure value more in line with the actual pressure requirements of the surgical site, avoid inaccurate control caused by different sensor positions, and thus ensure the safety of the surgery.
[0046] After the threshold adjustment is completed, this embodiment can switch the control basis, control the laser fiber based on the second temperature value, and control the water pump based on the second pressure value. Since the adjusted second temperature threshold and second pressure threshold take into account the influence of the water pump flow rate and sensor position, they can more accurately adapt to the actual situation of the surgery, thus reliably ensuring the safety of the surgery.
[0047] It can be concluded from the above that when the first temperature or pressure value deviates too much from the reference value, the threshold is adjusted based on the water pump flow rate to obtain the second threshold. This can compensate for the control errors caused by different sensor positions, make the control of the laser fiber and the water pump more in line with the actual situation of the surgery, greatly improve the control accuracy, and reliably ensure the safety of the surgical process.
[0048] In an embodiment of the present disclosure, controlling the laser fiber based on the second temperature value includes: When the second temperature value exceeds the second temperature threshold, issuing a first alarm instruction and sending a first stop control instruction to the laser fiber; Controlling the water pump based on the second pressure value includes: When the second pressure value exceeds the second pressure threshold, issuing a second alarm instruction and sending a second stop control instruction to the water pump.
[0049] In this embodiment, since there is a certain distance between the second temperature sensor 7 and the second pressure sensor 8 and the surgical site, there will be a certain deviation in the detection results. Therefore, when the second temperature value exceeds the second temperature threshold or the second pressure value exceeds the second pressure threshold, the parameters of the laser fiber or the water pump are no longer adjusted continuously, but the operation is directly stopped to ensure the safety and stability of the surgical process.
[0050] In this embodiment, when the second temperature value exceeds the second temperature threshold, it indicates that a dangerous situation of excessive temperature has occurred at the surgical site. To ensure surgical safety, the processor issues a first alarm instruction, which can remind medical staff to pay attention through means such as sound and light. At the same time, the processor sends a first stop control instruction to the laser fiber to directly stop the operation of the laser fiber. Because when there is a deviation in the detection results, continuing to adjust the parameters of the laser fiber may not accurately control the temperature, but may instead cause the temperature to get out of control further. Stopping the operation can avoid serious damage to the patient's tissue due to excessive temperature.
[0051] In this embodiment, when the second pressure value exceeds the second pressure threshold, it indicates that the pressure at the surgical site may be too high, posing a risk of mechanical damage to the tissue. At this time, the processor issues a second alarm instruction to alert the medical staff. The processor sends a second stop control instruction to the water pump to stop the operation of the water pump. Since there is a deviation in the detected pressure, it is difficult to accurately control the pressure by continuing to adjust the parameters of the water pump. Stopping the water pump can prevent the pressure from continuing to rise and causing greater harm to the surgical site, ensuring the stability of the surgery.
[0052] It can be concluded from the above that in this embodiment, through steps such as setting thresholds, real-time monitoring, triggering alarms, and stop control, the safety and stability of the surgical process are maximally ensured in the case of deviations in sensor detection.
[0053] In an embodiment of the present disclosure, in response to the deviation between the first temperature value and the reference temperature value being greater than or equal to the first deviation value, adjusting the first temperature threshold based on the water pump flow rate to obtain a second temperature threshold, including: Adjusting the first temperature threshold based on the first formula to obtain the second temperature threshold; The first calculation formula is:
[0054] Wherein, represents the second temperature threshold, represents the first temperature threshold, represents the adjustment coefficient, represents the lowest safe temperature that the surgical site can withstand, represents the flow rate influence coefficient.
[0055] In this embodiment, when the deviation between the first temperature value and the reference temperature value is greater than or equal to the first deviation value, it indicates that the first temperature sensor 10 may be affected by factors such as instrument interference and tissue occlusion during the operation, and the reliability of its detection result is reduced. At this time, the laser fiber and other devices cannot be simply controlled based on the first temperature threshold, and the first temperature threshold needs to be adjusted.
[0056] The first temperature threshold is the maximum safe temperature allowed for the surgical site preset in advance according to factors such as the type of surgery and the patient's physical condition under normal circumstances, and it is an initial standard for temperature control during the operation.
[0057] The lowest safe temperature that the surgical site can withstand is the lowest temperature limit that the surgical site can withstand determined based on medical knowledge and a large number of clinical practices. Temperatures below this may cause adverse effects on the tissues of the surgical site, such as hypothermic injury.
[0058] Adjustment coefficient The value range is usually between 0 and 1, and it is used to control the amplitude of the adjustment of the temperature threshold by the water pump flow rate. Different surgical scenarios and device characteristics can set different values to ensure that the adjustment of the temperature threshold is neither too large to cause over-control nor too small to fail to play an effective regulatory role.
[0059] Considering that the adjustment of the temperature threshold should be positively correlated with the flow rate change, and in order to reflect creativity, a non-linear flow rate influence coefficient , is introduced, and its relationship with the flow rate is:
[0060] where is the reference flow rate, is the water pump flow rate. This coefficient is 1 when the flow rate is the reference flow rate, and it can reflect the non-linear influence when the flow rate changes.
[0061] Most of the existing technologies use a linear relationship to consider the influence of the flow rate on the temperature threshold, while this embodiment introduces a non-linear flow rate influence coefficient based on the logarithmic function. In practice, the heat dissipation effect and the flow rate are not a simple linear relationship, and the non-linear treatment can more accurately reflect the influence of the flow rate on the temperature tolerance of the surgical site.
[0062] From the above, it can be concluded that in this embodiment, by setting the trigger condition and specific calculation formula, the temperature threshold can be dynamically adjusted according to the water pump flow rate, making the temperature control during the operation more accurate and reliable.
[0063] In one embodiment of the present disclosure, in response to the deviation between the first pressure value and the reference pressure value being greater than or equal to the second deviation value, adjusting the first pressure threshold based on the water pump flow rate to obtain a second pressure threshold, including: Adjusting the first pressure threshold based on the second formula to obtain the second pressure threshold; The second calculation formula is:
[0064] Wherein, represents the second pressure threshold, represents the first pressure threshold, represents the pressure adjustment constant, represents the flow rate-pressure influence factor.
[0065] In this embodiment, the first pressure threshold can be the maximum safe pressure allowed at the surgical site preset according to factors such as the surgical type, the patient's physical condition, and the equipment performance under normal circumstances, and is the initial standard for pressure control during the operation.
[0066] The pressure adjustment constant C is greater than 0 and is determined according to different surgical types, equipment characteristics, and a large amount of experimental data. Its function is to control the amplitude of the adjustment of the pressure threshold by the water pump flow rate. Different C values can be set for different surgical scenarios, so as to ensure that the adjustment of the pressure threshold is neither too large to cause over-control nor too small to fail to play an effective adjustment role.
[0067] The flow rate-pressure influence factor is related to the water pump flow rate and reflects the influence of the water pump flow rate on the pressure distribution at the surgical site. The flow rate-pressure influence factor has a relationship with the water pump flow rate as . Its value range is between 0 and 1. When the flow rate is the reference flow rate, . The value of can change with the change of the water pump flow rate, reflecting the non-linear relationship between the flow rate and the pressure.
[0068] It can be concluded from the above that when the deviation of the first pressure value is large, this method can dynamically adjust the pressure threshold according to the flow rate. The pressure adjustment constant and the flow rate-pressure influence factor make the adjustment more accurate and reasonable, ensuring that the pressure control during the operation adapts to the actual situation and improving the safety and stability of the operation.
[0069] In one embodiment of the present disclosure, it further includes: Fusing the physiological information data, surgical type data, and target device data of the target individual to obtain comprehensive data; Obtaining the first temperature threshold and the first pressure threshold based on the comprehensive data.
[0070] In this embodiment, the physiological information data of the target individual may include: the patient's age, gender, weight, basic disease information, etc. There are significant differences in the temperature and pressure tolerance of patients with different physiological characteristics during the surgical process. For example, the physical functions of the elderly are relatively weak, and their adaptability to temperature and pressure changes is poor; patients with cardiovascular diseases may be more sensitive to pressure changes.
[0071] The surgical type data includes: brain surgery, abdominal surgery, orthopedic surgery, etc., and the temperature and pressure requirements for the surgical site are different. Brain surgery has extremely high requirements for temperature stability, and even slight temperature fluctuations may affect nerve tissues; while orthopedic surgery may have specific requirements for the pressure tolerance range to ensure the smooth progress of the surgical operation.
[0072] The target device data includes the performance parameters of the endoscope device and its related supporting devices, including the power, wavelength, emission mode of the laser fiber, the flow rate, head, and adjustment range of the water pump, etc. The working state of the device can directly affect the temperature and pressure distribution at the surgical site, and different combinations of device parameters will produce different effects.
[0073] Fuse the collected physiological information data, surgical type data, and target device data of the target individual to obtain comprehensive data. By fusing these data, the actual situation of the surgical scenario can be comprehensively and accurately reflected, providing a richer and more reliable basis for determining the threshold value subsequently.
[0074] In this embodiment, a neural network model can be used to train a large amount of historical surgical data, enabling the model to learn the mapping relationship between different comprehensive data features and appropriate temperature and pressure thresholds. In practical applications, input the comprehensive data of the current surgery into the trained model, and the model can output the first temperature threshold and the first pressure threshold suitable for this surgical scenario.
[0075] It can be concluded from the above that in this embodiment, by fusing the physiological information of the target individual, the surgical type, and the target device data to obtain comprehensive data, and then determining the first temperature and pressure thresholds, individual differences, surgical characteristics, and device performance can be fully considered, making the threshold setting more accurately fit the actual surgical scenario, improving the accuracy of temperature and pressure control, reducing surgical risks, and ensuring surgical safety and effectiveness.
[0076] Corresponding to the endoscope control method in the above embodiment, Figure 3 is a structural block diagram of an endoscope control system provided by an embodiment of the present disclosure. For the sake of convenience of description, only the parts related to the embodiment of the present disclosure are shown. Refer to Figure 3 , the endoscope control system 20 includes: a first temperature control module 21, a second temperature control module 22, a first pressure control module 23, and a second pressure control module 24.
[0077] Among them, the first temperature control module 21 is configured to control the laser optical fiber based on the first temperature value in response to the deviation between the first temperature value and the reference temperature value being less than the first deviation value, where the first temperature value is the detected value of the first temperature sensor 10; The second temperature control module 22 is configured to control the laser optical fiber based on the second temperature value in response to the deviation between the first temperature value and the reference temperature value being greater than or equal to the first deviation value, where the second temperature value is the detected value of the second temperature sensor 7; The first pressure control module 23 is configured to control the water pump based on the first pressure value in response to the deviation between the first pressure value and the reference pressure value being less than the second deviation value, where the first pressure value is the detected value of the first pressure sensor 11; The second pressure control module 24 is configured to control the water pump based on the second pressure value in response to the deviation between the first pressure value and the reference pressure value being greater than or equal to the second deviation value, where the second pressure value is the detected value of the second pressure sensor 8.
[0078] In an embodiment of the present disclosure, the first temperature control module 21 is specifically configured to: When the first temperature value exceeds the first temperature threshold, issue a first alarm instruction, and send a first power control instruction to the laser optical fiber based on the difference between the first temperature value and the first temperature threshold; The first pressure control module 23 is specifically configured to: When the first pressure value exceeds the first pressure threshold, issue a second alarm instruction, and send a second power control instruction to the water pump based on the difference between the first pressure value and the first pressure threshold.
[0079] In an embodiment of the present disclosure, the endoscope control system 20 further includes: a threshold adjustment module, which is specifically configured to: When the deviation between the first temperature value and the reference temperature value is greater than or equal to the first deviation value, adjust the first temperature threshold based on the water pump flow rate to obtain a second temperature threshold; When the deviation between the first pressure value and the reference pressure value is greater than or equal to the second deviation value, adjust the first pressure threshold based on the water pump flow rate to obtain a second pressure threshold.
[0080] In an embodiment of the present disclosure, the threshold adjustment module is specifically further configured to: When the second temperature value exceeds the second temperature threshold, issue a first alarm instruction, and send a first stop control instruction to the laser optical fiber; When the second pressure value exceeds the second pressure threshold, issue a second alarm instruction, and send a second stop control instruction to the water pump.
[0081] In an embodiment of the present disclosure, the threshold adjustment module is specifically further configured to: Adjust the first temperature threshold based on the first formula to obtain a second temperature threshold; The first calculation formula is:
[0082] Wherein, represents the second temperature threshold, represents the first temperature threshold, represents the adjustment coefficient, represents the lowest safe temperature that the surgical site can withstand, represents the flow rate influence coefficient.
[0083] In an embodiment of the present disclosure, the threshold adjustment module is further specifically configured to: Adjust the first pressure threshold based on the second formula to obtain a second pressure threshold; The second calculation formula is:
[0084] Wherein, represents the second pressure threshold, represents the first pressure threshold, represents the pressure adjustment constant, represents the flow rate pressure influence factor.
[0085] In an embodiment of the present disclosure, the endoscope control system 20 further includes: a threshold determination module, specifically configured to: fuse the physiological information data, surgical type data, and target device data of the target individual to obtain comprehensive data; Obtain the first temperature threshold and the first pressure threshold based on the comprehensive data.
[0086] See Figure 4 , Figure 4 is a schematic block diagram of an electronic device provided in an embodiment of the present disclosure. As Figure 4 shown, the electronic device 300 in this embodiment may include: one or more processors 301, one or more input devices 302, one or more output devices 303, and one or more memories 304. The above-mentioned processors 301, input devices 302, output devices 303, and memories 304 communicate with each other through the communication bus 305. The memory 304 is used to store computer programs, and the computer programs include program instructions. The processor 301 is configured to execute the program instructions stored in the memory 304. Among them, the processor 301 is configured to call the program instructions to execute the functions of each module in the above system embodiments, such as Figure 3 the functions of the modules 21 to 24 shown.
[0087] It should be understood that in the embodiments of the present disclosure, the so-called processor 301 may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0088] The input device 302 may include a touchpad, a fingerprint acquisition sensor (for acquiring the fingerprint information and the direction information of the fingerprint of the user), a microphone, etc., and the output device 303 may include a display (such as an LCD), a speaker, etc.
[0089] The memory 304 may include a read-only memory and a random access memory, and provide instructions and data to the processor 301. A part of the memory 304 may also include a non-volatile random access memory. For example, the memory 304 may also store information about the device type.
[0090] In specific implementation, the processor 301, the input device 302, and the output device 303 described in the embodiments of the present disclosure may execute the implementation manners described in the first embodiment and the second embodiment of the endoscope control method provided by the embodiments of the present disclosure, and may also execute the implementation manner of the electronic device described in the embodiments of the present disclosure, which will not be elaborated herein.
[0091] In another embodiment of the present disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program, and the computer program includes program instructions. When the program instructions are executed by a processor, all or part of the processes in the method of the above embodiment are implemented. It can also be completed by instructing related hardware through the computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file or some intermediate form, etc. The computer-readable medium can include: any entity or system capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disc, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal, and software distribution medium, etc.
[0092] The computer-readable storage medium can be an internal storage unit of the electronic device in any of the foregoing embodiments, such as the hard disk or memory of the electronic device. The computer-readable storage medium can also be an external storage device of the electronic device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device. Further, the computer-readable storage medium can also include both the internal storage unit and the external storage device of the electronic device. The computer-readable storage medium is used to store the computer program and other programs and data required by the electronic device. The computer-readable storage medium can also be used to temporarily store the data that has been output or will be output.
[0093] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the examples have been generally described according to their functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present disclosure.
[0094] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the above-described electronic devices and units can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0095] In several embodiments provided by the present application, it should be understood that the disclosed electronic devices and methods can be implemented in other ways. For example, the system embodiments described above are merely illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed couplings or direct couplings or communication connections to each other can be indirect couplings or communication connections through some interfaces or units, and can also be electrical, mechanical or other forms of connection.
[0096] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiments of the present disclosure.
[0097] In addition, each functional unit in various embodiments of the present disclosure can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
[0098] The above is only the specific implementation manner of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present disclosure can easily think of various equivalent modifications or replacements, and these modifications or replacements should be covered within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.
Claims
1. An endoscope control method, applied to a processor, characterized in that: include: In response to a deviation between the first temperature value and the reference temperature value being less than a first deviation value, controlling the laser optical fiber based on the first temperature value, the first temperature value being a detection value of the first temperature sensor; In response to a deviation between the first temperature value and the reference temperature value being greater than or equal to the first deviation value, controlling the laser fiber based on a second temperature value, the second temperature value being a detection value of a second temperature sensor; In response to a deviation between the first pressure value and the reference pressure value being less than a second deviation value, controlling the water pump based on the first pressure value, the first pressure value being a detection value of the first pressure sensor; In response to a deviation between the first pressure value and the reference pressure value being greater than or equal to a second deviation value, the water pump is controlled based on a second pressure value, where the second pressure value is a detection value of the second pressure sensor.
2. The endoscope control method according to claim 1, characterized in that: The controlling of the laser optical fiber based on the first temperature value comprises: In response to the first temperature value exceeding the first temperature threshold, issuing a first alarm instruction, and sending a first power control instruction to the laser optical fiber based on the difference between the first temperature value and the first temperature threshold; The controlling of the water pump based on the first pressure value comprises: In response to the first pressure value exceeding the first pressure threshold, a second alarm instruction is issued, and a second power control instruction is sent to the water pump based on the difference between the first pressure value and the first pressure threshold.
3. The endoscope control method according to claim 2, characterized in that: Also includes: In response to a deviation between the first temperature value and the reference temperature value being greater than or equal to a first deviation value, adjusting the first temperature threshold based on a water pump flow rate to obtain a second temperature threshold; In response to a deviation between the first pressure value and the reference pressure value being greater than or equal to a second deviation value, the first pressure threshold is adjusted based on a water pump flow rate to obtain a second pressure threshold.
4. The endoscope control method according to claim 3, characterized in that: The controlling of the laser optical fiber based on the second temperature value comprises: In response to the second temperature value exceeding the second temperature threshold, issuing a first alarm instruction and sending a first stop control instruction to the laser optical fiber; The controlling the water pump based on the second pressure value comprises: In response to the second pressure value exceeding the second pressure threshold, a second alarm instruction is issued, and a second stop control instruction is sent to the water pump.
5. The endoscope control method according to claim 3, characterized in that: In response to the deviation between the first temperature value and the reference temperature value being greater than or equal to the first deviation value, adjusting the first temperature threshold based on the water pump flow rate to obtain the second temperature threshold includes: Adjusting the first temperature threshold based on a first formula to obtain a second temperature threshold; The first calculation formula is: in, represents the second temperature threshold, represents the first temperature threshold, represents the adjustment coefficient, Indicates the lowest safe temperature that the surgical site can withstand. Represents the flow velocity influence coefficient.
6. The endoscope control method according to claim 3, characterized in that: In response to the deviation between the first pressure value and the reference pressure value being greater than or equal to the second deviation value, adjusting the first pressure threshold based on the water pump flow rate to obtain the second pressure threshold includes: The first pressure threshold is adjusted based on a second formula to obtain a second pressure threshold; The second calculation formula is: in, represents the second pressure threshold, represents the first pressure threshold, represents the pressure regulation constant, Represents the flow velocity pressure influence factor.
7. The endoscope control method according to claim 2, characterized in that: Also includes: Based on the fusion of physiological information data of the target individual, surgical type data and target device data, comprehensive data is obtained; A first temperature threshold and the first pressure threshold are obtained based on the comprehensive data.
8. An endoscope control system, applied to a processor, characterized in that: include: A first temperature control module, configured to control the laser optical fiber based on a first temperature value in response to a deviation between the first temperature value and the reference temperature value being less than a first deviation value, wherein the first temperature value is a detection value of a first temperature sensor; a second temperature control module, configured to control the laser optical fiber based on a second temperature value in response to a deviation between the first temperature value and the reference temperature value being greater than or equal to the first deviation value, wherein the second temperature value is a detection value of a second temperature sensor; a first pressure control module, configured to control the water pump based on a first pressure value in response to a deviation between the first pressure value and the reference pressure value being less than a second deviation value, wherein the first pressure value is a detection value of the first pressure sensor; The second pressure control module is configured to control the water pump based on a second pressure value in response to a deviation between the first pressure value and the reference pressure value being greater than or equal to a second deviation value, where the second pressure value is a detection value of the second pressure sensor.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.