Enemator control method and system and medium

By analyzing the propulsion distance and rectal image information of the enema, dynamically adjusting the propulsion position and enema pressure value of the enema, the problem that existing enema cannot be accurately controlled is solved, and the control accuracy and safety of the enema are improved.

CN119524247APending Publication Date: 2025-02-28SUZHOU MUNICIPAL HOSPITAL
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411715175.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

The existing enema device cannot accurately control the propulsion position of the enema device, resulting in unsafe enema process, difficult to control the flow rate and temperature of the medicine liquid, affecting the health of the patient.

Method used

By analyzing the propulsion distance of the enema, setting the propulsion parameters, and pre-processing using rectal image information, analyzing the position information of the enema, dynamically adjusting the propulsion position and enema pressure value of the enema to achieve accurate enema control.

Benefits of technology

It improves the control accuracy of the enema device, ensures the safety and effectiveness of the enema process, accurately reaches the optimal set position, and improves the effect of the enema.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119524247A_ABST
    Figure CN119524247A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an enemator control method and system and a medium. The method comprises the steps that enemator parameter information is obtained, an enemator advancing interval is generated based on the enemator parameter information, and an enemator advancing distance upper limit value and an enemator advancing distance lower limit value are generated based on the enemator advancing interval; acquiring the current advancing distance of the enemator; if the enemator reaches the initial advancing distance, analyzing position information of the enemator in the rectum based on the enhanced image, and analyzing whether the advancing position of the enemator meets set condition information or not based on the position information; if the set condition information is met, stopping propelling the enemator, setting an enema pressure value, and generating enema information; if the set condition information is not met, the propelling position of the enemator is adjusted, and propelling parameters of the enemator are set by analyzing the propelling distance of the enemator, so that the enemator is efficiently propelled, an enema pressure value is set to perform enema on the rectum, and the control precision of the enemator is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of medical equipment, and in particular to an enema control method, system and medium. Background Art

[0002] Enema is one of the commonly used medical methods in clinical practice. It is suitable for the treatment and auxiliary treatment of various diseases, beauty and fitness, as well as colonoscopy, barium enema, and intestinal cleansing preparation before abdominal surgery. Enema therapy is not only suitable for a wide range of diseases, but also can be widely used by hospitals, families and individuals.

[0003] At present, most hospitals still use the previous hanging enema bags or enema tubes or pneumatic, hand-assisted enema equipment. These devices have the disadvantages of inconvenient operation, unsafe use, and difficult control of the flow and temperature of the liquid medicine. In recent years, the colon approach treatment system introduced from abroad and the domestic large intestine irrigation device are expensive and bulky, which is not conducive to the promotion and application in hospitals, families and individuals. The existing enema device cannot accurately control the advancement position of the enema device, resulting in the impact on the patient's health during the advancement of the enema device. In view of the above problems, effective technical solutions are urgently needed. Summary of the invention

[0004] The purpose of the present application is to provide an enema control method, system and medium, which analyzes the propulsion distance of the enema and sets the propulsion parameters of the enema, thereby efficiently propels the enema, and sets the enema pressure value to perform enema on the rectum, thereby improving the control accuracy of the enema.

[0005] The present application also provides an enema control method, comprising:

[0006] Obtain enema parameter information, generate an enema advancement interval based on the enema parameter information, and generate an enema advancement distance upper limit value and an enema advancement distance lower limit value based on the enema advancement interval;

[0007] The initial advancing distance of the enema machine is set based on the lower limit of the advancing distance, and the current advancing distance of the enema machine is obtained;

[0008] If the enema reaches the initial advancement distance, the rectal image information is obtained, and the rectal image is preprocessed to obtain an enhanced image;

[0009] Analyzing the position information of the enema in the rectum based on the enhanced image, and analyzing whether the propulsion position of the enema meets the set condition information based on the position information;

[0010] If the set condition information is met, the enema device is stopped from advancing, and the enema pressure value is set to generate enema information;

[0011] If the set condition information is not met, the advancing position of the enema device is adjusted.

[0012] Optionally, in the enema control method described in the embodiment of the present application, obtaining enema parameter information, generating an enema advancement interval based on the enema parameter information, and generating an enema advancement distance upper limit value and an advancement distance lower limit value based on the enema advancement interval specifically include:

[0013] Obtaining enema parameter information, wherein the enema parameter information includes the enema model and the enema size;

[0014] Set different advancement intervals based on the enema model and size;

[0015] Based on different propulsion intervals, upper and lower distance limits corresponding to enema machine models and sizes are generated.

[0016] Optionally, in the enema control method described in the embodiment of the present application, the initial advancement distance of the enema is set based on the lower limit of the advancement distance, and the current advancement distance of the enema is obtained, which specifically includes:

[0017] The initial advancing distance of the enema machine is set based on the lower limit of the advancing distance, and the current advancing distance of the enema machine is obtained;

[0018] Determine whether the current advancement distance of the enema device reaches the initial advancement distance;

[0019] If the initial advancement distance has not been reached, continue to advance the enema device;

[0020] If the initial advancement distance is reached, the advancement of the enema device is stopped.

[0021] Optionally, in the enema control method described in the embodiment of the present application, if the enema reaches the initial advancement distance, rectal image information is acquired, and the rectal image is preprocessed to obtain an enhanced image, specifically including:

[0022] Obtaining rectal image information, extracting image features, comparing the image features with set features, and obtaining feature deviation rates;

[0023] Determining whether the characteristic deviation rate is greater than or equal to a set characteristic deviation rate threshold;

[0024] If it is greater than or equal to, it is determined to be a noise feature and the noise feature is removed;

[0025] If it is less than, it is determined to be a valid feature, and an enhanced image is obtained based on the valid feature.

[0026] Optionally, in the enema control method described in the embodiment of the present application, if the set condition information is met, the enema is stopped from advancing, and the enema pressure value is set to generate enema information, which specifically includes:

[0027] Setting an enema pressure value, injecting enema liquid into the rectum based on the enema pressure value, and obtaining a current injection pressure of the enema liquid;

[0028] Compare the current injection pressure with the set enema pressure value to obtain the pressure difference;

[0029] Determine whether the pressure difference is within the set pressure range;

[0030] If it is within the set pressure range, the enema liquid in the enema device is injected into the rectum;

[0031] If it is not within the set pressure range, correction information is generated, and the enema pressure value is adjusted in real time based on the correction information.

[0032] Optionally, in the enema control method described in the embodiment of the present application, if the set condition information is not met, the propulsion position of the enema is adjusted, specifically including:

[0033] If the set condition information is not met, the difference between the propulsion position and the set condition information is calculated;

[0034] If the difference is greater than the first distance threshold and less than the second distance threshold, a first propulsion parameter is generated, and the enema device is controlled to move to a first propulsion position based on the first propulsion parameter;

[0035] If the difference is greater than or equal to the second distance threshold, a second advancement parameter is generated, and the enema device is controlled to move to a second advancement position based on the second advancement parameter.

[0036] In a second aspect, the present application provides an enema control system, the system comprising: a memory and a processor, the memory comprising a program of an enema control method, the program of the enema control method being executed by the processor to implement the following steps:

[0037] Obtain enema parameter information, generate an enema advancement interval based on the enema parameter information, and generate an enema advancement distance upper limit value and an enema advancement distance lower limit value based on the enema advancement interval;

[0038] The initial advancing distance of the enema machine is set based on the lower limit of the advancing distance, and the current advancing distance of the enema machine is obtained;

[0039] If the enema reaches the initial advancement distance, the rectal image information is obtained, and the rectal image is preprocessed to obtain an enhanced image;

[0040] Analyzing the position information of the enema in the rectum based on the enhanced image, and analyzing whether the propulsion position of the enema meets the set condition information based on the position information;

[0041] If the set condition information is met, the enema device is stopped from advancing, and the enema pressure value is set to generate enema information;

[0042] If the set condition information is not met, the advancing position of the enema device is adjusted.

[0043] Optionally, in the enema control system described in the embodiment of the present application, obtaining enema parameter information, generating an enema advancement interval based on the enema parameter information, and generating an enema advancement distance upper limit value and an advancement distance lower limit value based on the enema advancement interval specifically include:

[0044] Obtaining enema parameter information, wherein the enema parameter information includes the enema model and the enema size;

[0045] Set different advancement intervals based on the enema model and size;

[0046] Based on different propulsion intervals, upper and lower distance limits corresponding to enema machine models and sizes are generated.

[0047] Optionally, in the enema control system described in the embodiment of the present application, the initial advancement distance of the enema is set based on the lower limit of the advancement distance, and the current advancement distance of the enema is obtained, specifically including:

[0048] The initial advancing distance of the enema machine is set based on the lower limit of the advancing distance, and the current advancing distance of the enema machine is obtained;

[0049] Determine whether the current advancement distance of the enema device reaches the initial advancement distance;

[0050] If the initial advancement distance has not been reached, continue to advance the enema device;

[0051] If the initial advancement distance is reached, the advancement of the enema device is stopped.

[0052] In a third aspect, the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium includes an enema control method program, and when the enema control method program is executed by a processor, the steps of the enema control method as described in any one of the above items are implemented.

[0053] As can be seen from the above, the present application provides an enema control method, system and medium, which obtains enema parameter information, generates an enema advancement interval based on the enema parameter information, and generates an upper limit value and a lower limit value of the enema advancement distance based on the enema advancement interval; sets the initial advancement distance of the enema based on the advancement distance lower limit value, and obtains the current advancement distance of the enema; if the enema reaches the initial advancement distance, obtains the rectal image information, pre-processes the rectal image, and obtains an enhanced image; analyzes the position information of the enema in the rectum based on the enhanced image, and analyzes whether the advancement position of the enema meets the set condition information based on the position information; if the set condition information is met, stops the enema advancement, sets the enema pressure value, and generates enema information; if the set condition information is not met, adjusts the advancement position of the enema, sets the advancement parameters of the enema by analyzing the advancement distance of the enema, thereby efficiently advancing the enema, and sets the enema pressure value to perform enema on the rectum, thereby improving the control accuracy of the enema. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0055] Figure 1 A flow chart of an enema control method provided in an embodiment of the present application;

[0056] Figure 2 A flow chart of a method for obtaining upper and lower limits of enema distance in an enema control method provided in an embodiment of the present application;

[0057] Figure 3 This is a flow chart of the enema advancement distance control method of the enema control method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0058] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0059] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0060] Please refer to Figure 1 , Figure 1 This is a flow chart of an enema control method in some embodiments of the present application. The enema control method is used in a terminal device, and the enema control method includes the following steps:

[0061] S101, acquiring enema parameter information, generating an enema advancement interval based on the enema parameter information, and generating an enema advancement distance upper limit value and an enema advancement distance lower limit value based on the enema advancement interval;

[0062] S102, setting an initial advancing distance of the enema device based on the lower limit of the advancing distance, and obtaining a current advancing distance of the enema device;

[0063] S103, if the enema reaches the initial advancement distance, then the rectal image information is acquired, and the rectal image is preprocessed to obtain an enhanced image;

[0064] S104, analyzing the position information of the enema device in the rectum based on the enhanced image, and analyzing whether the propulsion position of the enema device meets the set condition information based on the position information;

[0065] S105, if the set condition information is met, the enema device is stopped from advancing, and the enema pressure value is set to generate enema information; if the set condition information is not met, the advancing position of the enema device is adjusted.

[0066] It should be noted that by distributing the parameters of the enema device to set different upper and lower limits of the advancement distance, analyzing the rectal image information, and dynamically controlling the advancement position of the enema device according to the rectal image information, it is ensured that the enema device can accurately reach the optimal set position and improve the enema effect.

[0067] Please refer to Figure 2 , Figure 2 The flowchart of the enema distance upper and lower limit acquisition method of an enema control method in some embodiments of the present application is as follows. According to the embodiment of the present invention, enema parameter information is acquired, an enema advancement interval is generated based on the enema parameter information, and an enema advancement distance upper limit value and an advancement distance lower limit value are generated based on the enema advancement interval, specifically including:

[0068] S201, obtaining enema parameter information, wherein the enema parameter information includes the enema model and the enema size;

[0069] S202, setting different advancement intervals based on the model and size of the enema device;

[0070] S203, generating a distance upper limit value and a distance lower limit value corresponding to the enema model and the enema size based on different propulsion intervals.

[0071] It should be noted that the advancement interval of the enema is obtained by analyzing the factory model and size of the enema. When the advancement interval does not meet the requirements, the enema of a different model is replaced, so that different models of enema can be selected according to different patients.

[0072] Please refer to Figure 3 , Figure 3 The enema advancing distance control method flow chart of an enema advancing distance control method in some embodiments of the present application. According to the embodiment of the present invention, the enema initial advancing distance is set based on the advancing distance lower limit value, and the enema current advancing distance is obtained, specifically including:

[0073] S301, setting an initial advancing distance of the enema device based on the lower limit of the advancing distance, and obtaining a current advancing distance of the enema device;

[0074] S302, determining whether the current advancement distance of the enema device reaches the initial advancement distance;

[0075] S303, if the initial advancement distance has not been reached, continue to advance the enema device;

[0076] S304: If the initial advancement distance is reached, the advancement of the enema device is stopped.

[0077] It should be noted that by analyzing the current advancement distance of the enema device and judging whether it meets the set initial advancement distance, the enema device is precisely controlled to be advanced to the initial advancement distance, and rectal images are collected after reaching the initial advancement distance to improve the enema effect.

[0078] According to an embodiment of the present invention, if the enema reaches the initial advancement distance, rectal image information is obtained, and the rectal image is preprocessed to obtain an enhanced image, specifically including:

[0079] Obtaining rectal image information, extracting image features, comparing the image features with set features, and obtaining feature deviation rates;

[0080] Determine whether the feature deviation rate is greater than or equal to a set feature deviation rate threshold;

[0081] If it is greater than or equal to, it is determined to be a noise feature and the noise feature is removed;

[0082] If it is less than, it is determined to be a valid feature, and an enhanced image is obtained based on the valid feature.

[0083] It should be noted that by performing feature analysis on the rectal image, noise features are eliminated and the display accuracy of the rectal image is improved.

[0084] According to an embodiment of the present invention, if the set condition information is met, the enema device is stopped from advancing, and the enema pressure value is set to generate enema information, which specifically includes:

[0085] Setting an enema pressure value, injecting enema liquid into the rectum based on the enema pressure value, and obtaining a current injection pressure of the enema liquid;

[0086] Compare the current injection pressure with the set enema pressure value to obtain the pressure difference;

[0087] Determine whether the pressure difference is within the set pressure range;

[0088] If it is within the set pressure range, the enema liquid in the enema device is injected into the rectum;

[0089] If it is not within the set pressure range, correction information is generated, and the enema pressure value is adjusted in real time based on the correction information.

[0090] It should be noted that the enema liquid is injected by analyzing the enema pressure, and whether the enema pressure of the enema liquid meets the requirements is determined, so that the enema pressure value is dynamically corrected to improve the enema accuracy.

[0091] Furthermore, in order to ensure the safety of the enema device, the temperature of the enema liquid is adjusted in real time during the use of the enema liquid to ensure that the temperature of the enema liquid is close to the human body temperature and the error between the two is maintained within 5 degrees Celsius to ensure the effectiveness of the enema liquid.

[0092] According to an embodiment of the present invention, if the set condition information is not met, the advancing position of the enema device is adjusted, specifically including:

[0093] If the set condition information is not met, the difference between the propulsion position and the set condition information is calculated;

[0094] If the difference is greater than the first distance threshold and less than the second distance threshold, a first propulsion parameter is generated, and the enema device is controlled to move to a first propulsion position based on the first propulsion parameter;

[0095] If the difference is greater than or equal to the second distance threshold, a second advancement parameter is generated, and the enema device is controlled to move to a second advancement position based on the second advancement parameter.

[0096] It should be noted that by analyzing the propulsion distance difference of the enema, different propulsion parameters are set for different distance differences, so as to accurately control the propulsion position of the enema and improve the safety of the enema.

[0097] According to an embodiment of the present invention, it also includes:

[0098] Get the current position of the propeller and the set condition information, and calculate the distance difference;

[0099] Compare the distance difference with the set distance threshold;

[0100] If the distance difference is greater than the set distance threshold, a set advancement speed is generated, and the vehicle advances at a uniform speed based on the set advancement speed;

[0101] If the distance difference is less than the set distance threshold, the deceleration is set according to the current propulsion speed, and the propulsion speed is decelerated based on the deceleration.

[0102] It should be noted that by controlling the propulsion speed of the enema, it is ensured that the enema can reach the set position safely and efficiently, thereby improving the propulsion efficiency of the enema.

[0103] Furthermore, multiple advancing distances of the enema are set, which are respectively recorded as a first distance, a second distance and a third distance. When the enema has not reached the first distance, the enema is set to advance at a first advancing speed. When the enema has reached the first distance but has not reached the second distance, the enema is set to advance at a second advancing speed. When the enema has reached the second distance but has not reached the third distance, the enema is set to advance at a third advancing speed, thereby dynamically adjusting the advancing speed of the enema and improving the advancing accuracy of the enema.

[0104] In a second aspect, an embodiment of the present application provides an enema control system, the system comprising: a memory and a processor, the memory comprising a program of an enema control method, and when the program of the enema control method is executed by the processor, the following steps are implemented:

[0105] Obtain enema parameter information, generate an enema advancement interval based on the enema parameter information, and generate an enema advancement distance upper limit value and an enema advancement distance lower limit value based on the enema advancement interval;

[0106] The initial advancing distance of the enema machine is set based on the lower limit of the advancing distance, and the current advancing distance of the enema machine is obtained;

[0107] If the enema reaches the initial advancement distance, the rectal image information is obtained, and the rectal image is preprocessed to obtain an enhanced image;

[0108] Analyzing the position information of the enema in the rectum based on the enhanced image, and analyzing whether the propulsion position of the enema meets the set condition information based on the position information;

[0109] If the set condition information is met, the enema device is stopped from advancing, and the enema pressure value is set to generate enema information;

[0110] If the set condition information is not met, the advancing position of the enema device is adjusted.

[0111] It should be noted that by distributing the parameters of the enema device to set different upper and lower limits of the advancement distance, analyzing the rectal image information, and dynamically controlling the advancement position of the enema device according to the rectal image information, it is ensured that the enema device can accurately reach the optimal set position and improve the enema effect.

[0112] According to an embodiment of the present invention, obtaining enema parameter information, generating an enema advancement interval based on the enema parameter information, and generating an enema advancement distance upper limit value and an enema advancement distance lower limit value based on the enema advancement interval specifically include:

[0113] Obtaining enema parameter information, wherein the enema parameter information includes the enema model and the enema size;

[0114] Set different advancement intervals based on the enema model and size;

[0115] Based on different propulsion intervals, upper and lower distance limits corresponding to enema machine models and sizes are generated.

[0116] It should be noted that the advancement interval of the enema is obtained by analyzing the factory model and size of the enema. When the advancement interval does not meet the requirements, the enema of a different model is replaced, so that different models of enema can be selected according to different patients.

[0117] According to an embodiment of the present invention, the initial advancement distance of the enema device is set based on the lower limit of the advancement distance, and the current advancement distance of the enema device is obtained, specifically including:

[0118] The initial advancing distance of the enema machine is set based on the lower limit of the advancing distance, and the current advancing distance of the enema machine is obtained;

[0119] Determine whether the current advancement distance of the enema device reaches the initial advancement distance;

[0120] If the initial advancement distance has not been reached, continue to advance the enema device;

[0121] If the initial advancement distance is reached, the advancement of the enema device is stopped.

[0122] It should be noted that by analyzing the current advancement distance of the enema device and judging whether it meets the set initial advancement distance, the enema device is precisely controlled to be advanced to the initial advancement distance, and rectal images are collected after reaching the initial advancement distance to improve the enema effect.

[0123] According to an embodiment of the present invention, if the enema reaches the initial advancement distance, rectal image information is obtained, and the rectal image is preprocessed to obtain an enhanced image, specifically including:

[0124] Obtaining rectal image information, extracting image features, comparing the image features with set features, and obtaining feature deviation rates;

[0125] Determine whether the feature deviation rate is greater than or equal to a set feature deviation rate threshold;

[0126] If it is greater than or equal to, it is determined to be a noise feature and the noise feature is removed;

[0127] If it is less than, it is determined to be a valid feature, and an enhanced image is obtained based on the valid feature.

[0128] It should be noted that by performing feature analysis on the rectal image, noise features are eliminated and the display accuracy of the rectal image is improved.

[0129] According to an embodiment of the present invention, if the set condition information is met, the enema device is stopped from advancing, and the enema pressure value is set to generate enema information, which specifically includes:

[0130] Setting an enema pressure value, injecting enema liquid into the rectum based on the enema pressure value, and obtaining a current injection pressure of the enema liquid;

[0131] Compare the current injection pressure with the set enema pressure value to obtain the pressure difference;

[0132] Determine whether the pressure difference is within the set pressure range;

[0133] If it is within the set pressure range, the enema liquid in the enema device is injected into the rectum;

[0134] If it is not within the set pressure range, correction information is generated, and the enema pressure value is adjusted in real time based on the correction information.

[0135] It should be noted that the enema liquid is injected by analyzing the enema pressure, and whether the enema pressure of the enema liquid meets the requirements is determined, so that the enema pressure value is dynamically corrected to improve the enema accuracy.

[0136] Furthermore, in order to ensure the safety of the enema device, the temperature of the enema liquid is adjusted in real time during the use of the enema liquid to ensure that the temperature of the enema liquid is close to the human body temperature and the error between the two is maintained within 5 degrees Celsius to ensure the effectiveness of the enema liquid.

[0137] According to an embodiment of the present invention, if the set condition information is not met, the advancing position of the enema device is adjusted, specifically including:

[0138] If the set condition information is not met, the difference between the propulsion position and the set condition information is calculated;

[0139] If the difference is greater than the first distance threshold and less than the second distance threshold, a first propulsion parameter is generated, and the enema device is controlled to move to a first propulsion position based on the first propulsion parameter;

[0140] If the difference is greater than or equal to the second distance threshold, a second advancement parameter is generated, and the enema device is controlled to move to a second advancement position based on the second advancement parameter.

[0141] It should be noted that by analyzing the propulsion distance difference of the enema, different propulsion parameters are set for different distance differences, so as to accurately control the propulsion position of the enema and improve the safety of the enema.

[0142] According to an embodiment of the present invention, it also includes:

[0143] Get the current position of the propeller and the set condition information, and calculate the distance difference;

[0144] Compare the distance difference with the set distance threshold;

[0145] If the distance difference is greater than the set distance threshold, a set advancement speed is generated, and the vehicle advances at a uniform speed based on the set advancement speed;

[0146] If the distance difference is less than the set distance threshold, the deceleration is set according to the current propulsion speed, and the propulsion speed is decelerated based on the deceleration.

[0147] It should be noted that by controlling the propulsion speed of the enema, it is ensured that the enema can reach the set position safely and efficiently, thereby improving the propulsion efficiency of the enema.

[0148] Furthermore, multiple advancing distances of the enema are set, which are respectively recorded as the first distance, the second distance and the third distance. When the enema has not reached the first distance, the enema is set to advance at the first advancing speed. When the enema reaches the first distance but has not reached the second distance, the enema is set to advance at the second advancing speed. When the enema reaches the second distance but has not reached the third distance, the enema is set to advance at the third advancing speed, thereby dynamically adjusting the advancing speed of the enema and improving the advancing accuracy of the enema.

[0149] A third aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium includes an enema control method program. When the enema control method program is executed by a processor, the steps of any of the above enema control methods are implemented.

[0150] The present invention discloses an enema control method, system and medium. The method obtains enema parameter information, generates an enema advancement interval based on the enema parameter information, generates an enema advancement distance upper limit and an enema advancement distance lower limit based on the enema advancement interval; sets an initial enema advancement distance based on the advancement distance lower limit, and obtains a current enema advancement distance; if the enema reaches the initial advancement distance, obtains rectal image information, pre-processes the rectal image, and obtains an enhanced image; analyzes the position information of the enema in the rectum based on the enhanced image, and analyzes whether the advancement position of the enema meets the set condition information based on the position information; if the set condition information is met, stops the enema advancement, sets an enema pressure value, and generates enema information; if the set condition information is not met, adjusts the advancement position of the enema, sets the enema advancement parameters by analyzing the advancement distance of the enema, thereby efficiently advancing the enema, and sets the enema pressure value to perform enema on the rectum, thereby improving the control accuracy of the enema.

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

[0152] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0153] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0154] Those skilled in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a readable storage medium. When the program is executed, it executes the steps of the above method embodiments; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), disks or optical disks, and other media that can store program codes.

[0155] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

Claims

1. A method for controlling an enema, characterized in that: include: Obtain enema parameter information, generate an enema advancement interval based on the enema parameter information, and generate an enema advancement distance upper limit value and an enema advancement distance lower limit value based on the enema advancement interval; The initial advancing distance of the enema machine is set based on the lower limit of the advancing distance, and the current advancing distance of the enema machine is obtained; If the enema reaches the initial advancement distance, the rectal image information is obtained, and the rectal image is preprocessed to obtain an enhanced image; Analyzing the position information of the enema in the rectum based on the enhanced image, and analyzing whether the propulsion position of the enema meets the set condition information based on the position information; If the set condition information is met, the enema device is stopped from advancing, and the enema pressure value is set to generate enema information; If the set condition information is not met, the advancing position of the enema device is adjusted.

2. The enema control method according to claim 1, characterized in that: Obtain enema parameter information, generate an enema advancement interval based on the enema parameter information, and generate an enema advancement distance upper limit value and an enema advancement distance lower limit value based on the enema advancement interval, specifically including: Obtaining enema parameter information, wherein the enema parameter information includes the enema model and the enema size; Set different advancement intervals based on the enema model and size; Based on different propulsion intervals, upper and lower distance limits corresponding to enema machine models and sizes are generated.

3. The enema control method according to claim 2, characterized in that: The initial advancement distance of the enema machine is set based on the lower limit of the advancement distance, and the current advancement distance of the enema machine is obtained, including: The initial advancing distance of the enema machine is set based on the lower limit of the advancing distance, and the current advancing distance of the enema machine is obtained; Determine whether the current advancement distance of the enema device reaches the initial advancement distance; If the initial advancement distance has not been reached, continue to advance the enema device; If the initial advancement distance is reached, the advancement of the enema device is stopped.

4. The enema control method according to claim 3, characterized in that: If the enema reaches the initial advancement distance, the rectal image information is obtained, and the rectal image is preprocessed to obtain an enhanced image, specifically including: Obtaining rectal image information, extracting image features, comparing the image features with set features, and obtaining feature deviation rates; Determining whether the characteristic deviation rate is greater than or equal to a set characteristic deviation rate threshold; If it is greater than or equal to, it is determined to be a noise feature and the noise feature is removed; If it is less than, it is determined to be a valid feature, and an enhanced image is obtained based on the valid feature.

5. The enema control method according to claim 4, characterized in that: If the set condition information is met, the enema device is stopped from advancing, and the enema pressure value is set to generate enema information, including: Setting an enema pressure value, injecting enema liquid into the rectum based on the enema pressure value, and obtaining a current injection pressure of the enema liquid; Compare the current injection pressure with the set enema pressure value to obtain the pressure difference; Determine whether the pressure difference is within the set pressure range; If it is within the set pressure range, the enema liquid in the enema device is injected into the rectum; If it is not within the set pressure range, correction information is generated, and the enema pressure value is adjusted in real time based on the correction information.

6. The enema control method according to claim 5, characterized in that: If the set condition information is not met, the advancing position of the enema device is adjusted, including: If the set condition information is not met, the difference between the propulsion position and the set condition information is calculated; If the difference is greater than the first distance threshold and less than the second distance threshold, a first propulsion parameter is generated, and the enema device is controlled to move to a first propulsion position based on the first propulsion parameter; If the difference is greater than or equal to the second distance threshold, a second advancement parameter is generated, and the enema device is controlled to move to a second advancement position based on the second advancement parameter.

7. An enema control system, characterized in that: The system includes: a memory and a processor, wherein the memory includes a program of the enema control method, and when the program of the enema control method is executed by the processor, the following steps are implemented: Obtain enema parameter information, generate an enema advancement interval based on the enema parameter information, and generate an enema advancement distance upper limit value and an enema advancement distance lower limit value based on the enema advancement interval; The initial advancing distance of the enema machine is set based on the lower limit of the advancing distance, and the current advancing distance of the enema machine is obtained; If the enema reaches the initial advancement distance, the rectal image information is obtained, and the rectal image is preprocessed to obtain an enhanced image; Analyzing the position information of the enema in the rectum based on the enhanced image, and analyzing whether the propulsion position of the enema meets the set condition information based on the position information; If the set condition information is met, the enema device is stopped from advancing, and the enema pressure value is set to generate enema information; If the set condition information is not met, the advancing position of the enema device is adjusted.

8. The enema control system according to claim 7, characterized in that: Obtain enema parameter information, generate an enema advancement interval based on the enema parameter information, and generate an enema advancement distance upper limit value and an enema advancement distance lower limit value based on the enema advancement interval, specifically including: Obtaining enema parameter information, wherein the enema parameter information includes the enema model and the enema size; Set different advancement intervals based on the enema model and size; Based on different propulsion intervals, upper and lower distance limits corresponding to enema machine models and sizes are generated.

9. The enema control system according to claim 8, characterized in that: The initial advancement distance of the enema machine is set based on the lower limit of the advancement distance, and the current advancement distance of the enema machine is obtained, including: The initial advancing distance of the enema machine is set based on the lower limit of the advancing distance, and the current advancing distance of the enema machine is obtained; Determine whether the current advancement distance of the enema device reaches the initial advancement distance; If the initial advancement distance has not been reached, continue to advance the enema device; If the initial advancement distance is reached, the advancement of the enema device is stopped.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes an enema control method program, and when the enema control method program is executed by a processor, the steps of the enema control method according to any one of claims 1 to 6 are implemented.