Design method based on object-oriented pneumoperitoneum machine software system and related equipment
Through an object-oriented design method, the functional modules of the pneumatic abdominal machine are decoupled and configured to be mutually exclusive, solving the complexity and uncertainty problems caused by code coupling in traditional software system design, and improving the maintenance and scalability of the system.
Patent Information
- Application Number
- CN202411990038.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-18
AI Technical Summary
The traditional pneumatic abdominal machine software system design method leads to a tight coupling between different functional codes, increasing the complexity and uncertainty of the system, and reducing the maintainability and scalability of the software system.
The object-oriented design method is adopted to distinguish the operation functions of the pneumatic abdominal machine into detection functions and control functions, and multiple control function modules are designed according to the principle of a single control source, so that these modules run mutually exclusively, thereby realizing the decoupling of the code.
Through modular design, the complexity and uncertainty of the software system are reduced, the maintenance and scalability of the system are improved, the development costs are reduced, and the chain reaction between functional modules is avoided.
Smart Images

Figure CN119847486A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of insufflator, and in particular to a design method of an object-oriented insufflator software system and related equipment. Background Art
[0002] In the field of minimally invasive surgery, the pneumoperitoneum machine plays a vital role. It expands the surgical field of view and operating space by creating pneumoperitoneum, thereby assisting doctors in performing more delicate surgical operations. The pneumoperitoneum machine integrates multiple functions, including air pressure detection, voltage stabilization control, exhaust control, flow regulation, gas temperature detection and heating, and fault alarm, etc. These functions together ensure the smooth progress of the operation and the safety of the patient.
[0003] However, traditional software system design methods often lead to tight coupling between different functional codes. The disadvantage of this coupling is that once the code of a functional module needs to be modified or updated, it may affect other related functional modules, thereby triggering a chain reaction and increasing the complexity and uncertainty of the system. For example, if the code of the voltage stabilization control function is tightly coupled with the code of the gas temperature detection function, then when modifying the voltage stabilization control algorithm, it may accidentally affect the detection accuracy of the gas temperature, causing fluctuations in the gas temperature in the abdominal cavity, thereby affecting the patient's body temperature and surgical effect.
[0004] More seriously, code coupling may also reduce the maintainability and scalability of the software system. With product iteration and technological advancement, it may be necessary to add new features or optimize existing features. However, if the code coupling between different functions is too high, it may become extremely difficult to add new features or optimize functions, and even require rewriting the entire software system, which not only increases development costs, but may also introduce new security risks.
[0005] There is currently no effective technical solution to the above problems. Summary of the invention
[0006] The purpose of this application is to provide an object-oriented design method and related equipment for a pneumoperitoneum machine software system to reduce the complexity and uncertainty of the software system and to improve the maintainability and scalability of the software system.
[0007] In a first aspect, the present application provides an object-oriented design method for a pneumoperitoneum software system, which is applied in the control of a pneumoperitoneum, and the method comprises the following steps: S1. The operating functions of the pneumoperitoneum machine are divided into detection function and control function; S2. Based on the principle of a single control source, multiple control function modules are designed according to the control function, and each of the control function modules performs control and regulation based on a regulating device as a single control source; S3, configuring multiple control function modules related to gas path execution control to operate mutually exclusive; S4. Design a detection function module according to the mutually exclusive relationship of the control function modules, the use requirements of the pneumoperitoneum machine and the detection function.
[0008] The object-oriented design method of the insufflator software system of the present application realizes the decoupling and splitting of the insufflator operating functions through modular design. It designs the control function modules based on the principle of a single control source and configures the control function modules for gas path execution control to run mutually exclusive, thereby decoupling the codes of various control functions, effectively reducing the complexity and uncertainty of the software system, and facilitating the subsequent addition of new function modules and optimization of old function modules, effectively improving the maintainability and scalability of the software system, thereby reducing the development cost of the software system.
[0009] The object-oriented design method of the pneumoperitoneum machine software system, wherein the multiple control function modules include: A voltage stabilizing module for voltage regulation based on a proportional valve, an exhaust module for exhaust regulation based on an exhaust valve, a flow regulating module for supplying execution parameters of the voltage stabilizing module based on flow configuration, and a gas temperature heating module for temperature regulation based on a heating component.
[0010] In this example, the main division idea of the present application method is to divide the control functions according to the core regulating devices (mainly proportional valves and exhaust valves), thereby realizing the basic decoupling of the code and separating the traditional flow regulation module associated with the voltage stabilization control to make the voltage stabilization function clearer and simpler, and the independent iterative operation processes in different control function modules will not affect each other.
[0011] The object-oriented design method of the pneumoperitoneum machine software system, wherein the detection function module includes: A sensor detection module for comprehensively collecting sensor data, a pressure reliability detection module for detecting pressure reliability, and a target flow adjustment module for adjusting the target flow.
[0012] The object-oriented design method of the insufflator software system of the present application further introduces a pressure reliability detection module for judging whether the pressure can be reliably used for voltage stabilization and regulation control according to whether the pressure change of the current output gas meets expectations, and a target flow regulation module for setting a suitable target flow according to actual scene changes and output requirements to supply the flow regulation module for regulation and control. These two modules can implement process control guidance, so that the voltage stabilization module and flow regulation module after code decoupling can participate in the operation of the insufflator to form a complete software system.
[0013] The object-oriented design method of the insufflator software system, wherein the pressure reliability detection module is connected to the flow regulation module and the voltage stabilization module, and is used to detect the pressure reliability according to the gas pressure fluctuation after the flow regulation module finishes executing the parameter configuration, and to allow the voltage stabilization module to operate when the pressure reliability meets expectations.
[0014] The object-oriented design method of the insufflator software system, wherein the target flow regulation module is connected to the exhaust module and the flow regulation module, and is used to adjust the target flow information according to the pressure change after the exhaust module completes the exhaust regulation, and configure the target flow information to the flow regulation module.
[0015] The object-oriented design method of the pneumoperitoneum machine software system, wherein the exhaust module is connected to the pressure stabilizing module, and is used to selectively perform exhaust regulation after the pressure stabilizing module completes the pressure stabilizing regulation.
[0016] The object-oriented design method of the pneumoperitoneum machine software system, wherein the detection function module includes a power-on self-test module.
[0017] In a second aspect, the present application further provides a design device for an insufflator software system based on an object-oriented method, which is applied in the control of the insufflator, and the device comprises: A function division module is used to divide the operating functions of the pneumoperitoneum machine into a detection function and a control function; A control function design module, used to design a plurality of control function modules according to the control function based on the principle of a single control source, each of which performs control and regulation based on a regulating device as a single control source; A mutually exclusive design module, used for configuring multiple control function modules regarding gas path execution control to operate mutually exclusive; The detection function design module is used to design the detection function module according to the mutually exclusive relationship of the control function modules, the use requirements of the pneumoperitoneum machine and the detection function.
[0018] The object-oriented design device of the insufflator software system of the present application realizes the decoupling and splitting of the operating functions of the insufflator through modular design. It designs the control function modules based on the principle of a single control source and configures the control function modules for gas path execution control to run mutually exclusively, thereby decoupling the codes of various control functions, effectively reducing the complexity and uncertainty of the software system, and facilitating the subsequent addition of new function modules and optimization of old function modules, effectively improving the maintainability and scalability of the software system, thereby reducing the development cost of the software system.
[0019] In a third aspect, the present application further provides an electronic device, comprising a processor and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the method provided in the first aspect are executed.
[0020] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps in the method provided in the first aspect are executed.
[0021] From the above, it can be seen that the object-oriented design method of the insufflator software system and related equipment provided by the present application, wherein the object-oriented design method of the insufflator software system of the present application realizes the decoupling and splitting of the insufflator operation functions through modular design, and designs the control function modules based on the principle of a single control source and configures the control function modules for gas circuit execution control to run mutually exclusive, so that the codes of various control functions are decoupled, which effectively reduces the complexity and uncertainty of the software system, and is also convenient for the subsequent addition of new function modules and optimization of old function modules, effectively improving the maintainability and scalability of the software system, thereby reducing the development cost of the software system. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 A flowchart of the object-oriented design method of the pneumoperitoneum machine software system provided in an embodiment of the present application.
[0023] Figure 2 It is a structural schematic diagram of a pneumoperitoneum machine in the related art.
[0024] Figure 3 The present invention is a detailed control flow chart of the software system of the pneumoperitoneum machine of the related art.
[0025] Figure 4 A logical relationship diagram of the control function modules designed according to the object-oriented design method of the pneumoperitoneum machine software system provided in an embodiment of the present application.
[0026] Figure 5 A schematic diagram of the structure of a design device for an object-oriented pneumoperitoneum machine software system provided in an embodiment of the present application.
[0027] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0028] Figure numerals: 1. Insufflator housing; 2. MCU; 3. Insufflator tube; 4. Heating assembly; 5. Air outlet; 6. Air inlet; 7. Primary pressure reducing valve; 8. Secondary pressure reducing valve; 9. Proportional valve; 10. Exhaust valve; 11. Main pressure sensor; 12. Secondary pressure sensor; 13. Flow sensor; 14. Temperature sensor; 201. Function division module; 202. Control function design module; 203. Mutually exclusive design module; 204. Detection function design module; 301. Processor; 302. Memory; 303. Communication bus. DETAILED DESCRIPTION
[0029] 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.
[0030] 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.
[0031] First, please refer to Figure 1 and Figure 4 Some embodiments of the present application provide a method for designing a pneumoperitoneum software system based on object-oriented design, which is applied in the control of the pneumoperitoneum. The method includes the following steps: S1. The operating functions of the pneumoperitoneum machine are divided into detection function and control function; S2. Based on the principle of a single control source, multiple control function modules are designed according to the control function, and each control function module performs control and regulation based on a regulating device as a single control source; S3, configuring multiple control function modules related to gas path execution control to operate mutually exclusive; S4. Design the detection function module according to the mutually exclusive relationship of the control function modules, the usage requirements of the pneumoperitoneum machine and the detection function.
[0032] Specifically, the object-oriented design method of the pneumoperitoneum machine software system in the embodiment of the present application adopts an object-oriented design concept and follows the single control source principle to design the software system, wherein object-oriented means that each functional module is regarded as a separate object, and the implementation of the function revolves around the module, rather than being designed according to the idea of program execution flow; the single control source principle means that the control source of a certain functional module is single, which is reflected in the program design as there is only one function entry function and only one call exists at a certain moment, that is, the control source (a regulating device that can be used to adjust relevant state parameters) used to limit each functional module is single; the software system is designed in combination with the object-oriented and single control source principles. The system design can split the control functions of the pneumoperitoneum machine, and make each control function controlled and regulated by a single regulating device, so as to avoid code coupling caused by the control and regulation of the same control function module by multiple regulating devices. When the staff modifies or updates a certain control function module, there will be no chain reaction in other related function modules to increase the complexity and uncertainty of the system, so that the designed software system has excellent maintainability and scalability. When the staff needs to add new functions, there is no need to rewrite the entire software system. They only need to build a new control function module that meets the single control source principle and the mutually exclusive relationship and introduce the corresponding detection function module for triggering to achieve the addition of new functions.
[0033] More specifically, step S1 is to determine the operating functions of the insufflator according to its device composition and complete operating logic, and to split the basic functions according to the operating characteristics of the operating functions to obtain multiple detection functions and control functions, wherein the detection function is a function for collecting relevant operating data, status data or performing data calculations, and the control function is a function for adjusting or changing the actual operating state of the insufflator. Step S1 is equivalent to a preliminary division of functions based on the two characteristics of adjustment control and data acquisition and analysis, so as to achieve preliminary decoupling of functions; step S2 is to split the control functions based on the principle of a single control source and design corresponding control function modules, wherein each control function module designed based on the principle of a single control source is controlled and adjusted based only on a corresponding adjustment device, so that each control function module will not have code coupling problems at the code level due to the appearance of parameter adjustment codes for at least two adjustment devices, so that no code interleaving regarding multiple adjustment devices will occur between different function modules; in addition, although each control function module is controlled and adjusted by one adjustment device, different control function modules may belong to the same adjustment device. The components are adjusted and controlled. In order to avoid control confusion in the actual control process, step S3 configures the multiple control function modules that have been designed for gas circuit execution control to run mutually exclusively, so as to avoid the phenomenon that these control function modules run at the same time and compete for the control right of the gas circuit and cause control confusion. The control function module for gas circuit execution control refers to the control function module that can directly execute the change of the actual gas delivery state of the gas circuit, such as the voltage stabilizing module and the exhaust module mentioned below; it should be noted that if these control function modules for gas circuit execution control cannot be configured to run mutually exclusively, it means that there are defects in the division design of the aforementioned control functions, and it is necessary to return to the design to obtain the control function module that can meet the operation of step S3; after obtaining all the control function modules required for the operation, step S4 can obtain the use scenario and corresponding trigger condition of each control function module according to the mutually exclusive relationship of the control function modules and the use requirements of the insufflator, and then design a suitable detection function module according to the detection function according to the use scenario and the corresponding trigger condition to associate each control function module, so that the combination of the detection function module and the control function module can meet the use requirements of the insufflator.
[0034] It should be noted that the design process of the control function module and the detection function module both belong to the software programming process, that is, the process of compiling the software code of the corresponding function module that conforms to its operating logic. The object-oriented design method of the pneumoperitoneum machine software system in the embodiment of the present application aims to provide a functional module design method that can reduce the complexity and uncertainty of the pneumoperitoneum machine software system design and improve its maintainability and scalability. The underlying software code compilation process can be obtained by relevant staff through compilation according to the operating logic of the function module, so this application does not elaborate on the compilation process of the underlying software code.
[0035] The object-oriented design method of the insufflator software system in the embodiment of the present application achieves the decoupling and splitting of the insufflator operating functions through modular design. It designs the control function modules based on the principle of a single control source and configures the control function modules for gas path execution control to run mutually exclusive, thereby decoupling the codes of various control functions, effectively reducing the complexity and uncertainty of the software system, and facilitating the subsequent addition of new function modules and optimization of old function modules, effectively improving the maintainability and scalability of the software system, thereby reducing the development cost of the software system.
[0036] In some preferred embodiments, the plurality of control function modules include: A voltage stabilizing module for voltage regulation based on a proportional valve, an exhaust module for exhaust regulation based on an exhaust valve, a flow regulating module for supplying execution parameters of the voltage stabilizing module based on flow configuration, and a gas temperature heating module for temperature regulation based on a heating component.
[0037] Specifically, the object-oriented design method of the pneumoperitoneum machine software system in the embodiment of the present application is applicable to various pneumoperitoneum machines including exhaust valves, proportional valves and related detection devices, and is particularly applicable to Figure 2 The insufflator shown includes an insufflator main body 1, an air supply pipeline and an MCU 2 arranged in the insufflator main body 1, the air supply pipeline is connected to the air supply component via an air inlet 6, and its air outlet 5 is connected to the insufflator tube 3, a heating component 4 and a temperature sensor 14 are provided on the insufflator tube, and a first-level pressure reducing valve 7, a second-level pressure reducing valve 8, a proportional valve 9, an exhaust valve 10, a main pressure sensor 11, and a secondary pressure sensor 12 are provided on the air supply pipeline in sequence along the air supply direction, wherein a flow sensor 13 arranged in parallel with the exhaust valve 10 is also provided on the air supply pipeline.
[0038] More specifically, Figure 2 Taking the pneumoperitoneum machine shown in the figure as an example, the present application aims to provide a design method for designing the software system of the pneumoperitoneum machine, so that the software system has the advantages of simple design principle, safety, novelty, stability and reliability, and is also convenient for subsequent staff to optimize and expand functions; for the pneumoperitoneum machine, the so-called code coupling is mainly reflected in the processing of flow control, voltage stabilization control, and exhaust control, such as Figure 3The figure shows the control process of the existing pneumoperitoneum machine. It can be seen that the codes of its various functions are highly coupled. The object-oriented design idea is mainly to simplify the process to deconstruct the control process to determine multiple subdivided detection functions and control functions. Therefore, the object-oriented design method of the pneumoperitoneum machine software system in the embodiment of the present application divides the control function into a voltage stabilization function, an exhaust function, a flow regulation function and a gas temperature heating function and designs corresponding voltage stabilization modules, exhaust modules, flow regulation modules and gas temperature heating modules; wherein, the main division idea is to control the functions according to the core regulating devices (mainly proportional valves and exhaust valves). , thereby realizing the basic decoupling of the code, separating the traditional flow regulation module associated with voltage stabilization control, so that the voltage stabilization function is clearer and simpler, and the independent iterative operation processes in different control function modules will not affect each other. Among them, the flow regulation module belongs to the configuration end of the execution parameters of the flow control, and the voltage stabilization module belongs to the actual execution end of the flow control based on the execution parameters; based on the principle of a single control source, this application bundles the system's core voltage stabilization control function and the proportional valve, and other related modules such as the flow regulation module cannot operate the proportional valve, effectively avoiding control confusion, so as to achieve the purpose of high reliability and high safety. .
[0039] In some preferred embodiments, the detection function module includes: A sensor detection module for comprehensively collecting sensor data, a pressure reliability detection module for detecting pressure reliability, and a target flow adjustment module for adjusting the target flow.
[0040] Specifically, in order to more effectively decouple the codes of the pressure stabilizing module and the flow regulating module, the object-oriented design method of the insufflator software system in the embodiment of the present application further introduces a pressure reliability detection module for judging whether the pressure can be reliably used for pressure stabilizing and regulating control based on whether the pressure change of the current output gas meets expectations, and a target flow regulating module for setting a suitable target flow according to actual scene changes and output requirements to supply the flow regulating module for regulation and control. These two modules can implement process control guidance, so that the pressure stabilizing module and flow regulating module after code decoupling can participate in the operation of the insufflator to form a complete software system.
[0041] More specifically, the sensor detection module is used to comprehensively call the sensors in the pneumoperitoneum machine to collect corresponding sensor data, such as collecting gas pressure according to the pressure sensor (including the main pressure sensor and / or the auxiliary pressure sensor), etc., to provide the sensor data required for control and adjustment for various control function modules.
[0042] More specifically, in the embodiment of the present application, the sensor detection module is mainly used to collect and obtain gas flow, gas pressure and gas temperature based on flow sensors, pressure sensors and temperature sensors respectively. Among them, due to the interference in the environment, the sensor detection results often carry some interference information. Therefore, in the process of designing the sensor detection module, it is necessary to introduce an interference filtering function, such as common ones such as mean filtering, median filtering, bandpass filtering, and band-stop filtering. The filter can be selected according to the actual application requirements. For example, the common industrial frequency is filtered out by a band-stop filter, and the peak noise is filtered out by a median filter. The design method of the object-oriented pneumoperitoneum machine software system in the embodiment of the present application preferably designs the filtering function as a filtering module subordinate to the detection function module.
[0043] In some preferred embodiments, the pressure reliability detection module is connected to the flow regulation module and the voltage stabilization module, and is used to detect the pressure reliability according to the gas pressure fluctuation after the flow regulation module completes the parameter configuration, and allows the voltage stabilization module to operate when the pressure reliability meets expectations.
[0044] Specifically, pressure reliability testing is a process of obtaining abdominal pressure based on a pressure sensor and determining whether the fluctuation of the abdominal pressure is in line with expectations (or whether a relatively stable periodic change occurs), so as to determine whether the currently collected pressure can correctly reflect the abdominal pressure. Pressure reliability testing is an important means to separate the execution parameter configuration process and the target flow regulation process from the voltage stabilization control. It can ensure that the voltage stabilization control function of the core voltage stabilization module after separation has high security, so as to guide the completion of the relationship jump of the entire flow regulation process. It is the basis for the controllable, reliable and safe execution of functions such as voltage stabilization control and exhaust control.
[0045] More specifically, the pressure stabilizing module is used to adjust the opening of the proportional valve according to the execution parameters to stabilize the gas pressure, which plays a key role in the safety of the insufflator.
[0046] In some preferred embodiments, the target flow regulation module is connected to the exhaust module and the flow regulation module, and is used to adjust the target flow information according to the pressure change after the exhaust module completes the exhaust regulation, and configure the target flow information to the flow regulation module.
[0047] Specifically, the flow regulating module is used to configure the execution parameters of the actual gas flow (the outlet flow of the pneumoperitoneum tube) in the direction of the target flow; and the target flow regulating module is used to adjust and determine the value of the target flow; in the process of establishing pneumoperitoneum, the doctor generally establishes pneumoperitoneum by installing a pneumoperitoneum needle at the end of the pneumoperitoneum tube. Since the outlet of the pneumoperitoneum needle is very small, a smaller flow rate is generally required for blowing during the establishment of pneumoperitoneum, otherwise it will cause the pneumoperitoneum machine to be in a high-pressure state all the time, and when stabilizing the pressure, the abdominal cavity is in a state of slight leakage, and it is also necessary to stabilize the pressure with a small flow rate. When using negative pressure for smoke evacuation, the abdominal cavity leakage is significantly increased, and a larger flow rate is required to ensure the stability of the abdominal cavity pressure; different target flow rates need to be configured for regulation under the above-mentioned different states. Therefore, the design method of the pneumoperitoneum machine software system based on object-oriented embodiment of the present application introduces a target flow regulating module to switch and adjust different target flow rates according to the process of establishing pneumoperitoneum by the pneumoperitoneum machine to meet the use requirements of the pneumoperitoneum machine. It is independent of the flow regulating module to set the target flow rate, which can meet the needs of fast setting and adjustment. The set target flow rate will be sent to the flow regulating module for configuration of execution parameters.
[0048] In some preferred embodiments, the exhaust module is connected to the pressure stabilization module for selectively performing exhaust regulation after the pressure stabilization module completes the pressure stabilization regulation.
[0049] Specifically, the exhaust module is used to determine whether it is necessary to exhaust and release the pressure through the exhaust valve according to the collected gas pressure after the pressure stabilization module completes the pressure regulation, so as to avoid excessive abdominal pressure after stabilization, thereby establishing a stable abdominal environment that meets the use requirements; in addition, Figure 4 As shown, when the abdominal cavity pressure needs to be changed, the exhaust control will switch to the target flow regulation link again.
[0050] More specifically, during pressure stabilization control, the opening of the exhaust valve will cause gas leakage, and the pressure sensor will not be able to detect the abdominal pressure, resulting in abnormal pressure stabilization operation; during exhaust control, the opening of the proportional valve will slow down the deflation speed and hinder the exhaust process, resulting in the phenomenon that the pressure stabilization control and the exhaust control compete for the control of the airway. Therefore, in the process of designing the control function modules of the software system, combined with the mutually exclusive relationship configured in the aforementioned content, the object-oriented design method of the insufflator software system of the embodiment of the present application defines that during normal insufflation, the control of the airway is handed over to the pressure stabilization module, and when an overpressure occurs, the control of the airway is handed over to the exhaust control module and no pressure stabilization control is performed, so that the operation of different control function modules also follows the principle of a single control source, so as to achieve the purpose of configuring multiple control function modules for airway execution control to operate mutually exclusive.
[0051] In some preferred embodiments, the gas temperature heating module is used to perform heating and regulation according to the gas temperature collected by the sensor detection module; low-temperature gas blown into the patient's abdominal cavity will cause the endoscope to fog frequently and even cause hypothermia in the patient. Therefore, the pneumoperitoneum machine needs to have gas temperature monitoring and heating functions, and this heating function is unrelated to a series of functions such as voltage stabilization. Setting it as an independent module can effectively avoid its impact on the voltage stabilization function.
[0052] In some preferred embodiments, the detection function module includes a power-on self-test module.
[0053] Specifically, the power-on self-check module is used to perform a power-on self-check on the main components of the device (especially the regulating devices) during the startup phase of the pneumoperitoneum machine to ensure that the user can be informed immediately when any abnormality occurs in the device.
[0054] More specifically, the power-on self-check process can be assisted by turning on low-flow air blowing to assist in judgment, and self-checking can be performed by comparing the actual state parameters generated under these states with the preset reference state parameters. The low-flow air blowing volume can also avoid causing harm to the patient.
[0055] In some preferred embodiments, the object-oriented design method of the pneumoperitoneum machine software system in the embodiment of the present application further includes the steps of: A fault alarm module is designed to alarm when faults or risks occur in other functional modules of the pneumoperitoneum machine (including the control function module and the detection function module); the fault alarm module is independent of other functional modules, can obtain abnormalities that occur in other functional modules, and present them to the staff in the form of text or sound.
[0056] Second, please refer to Figure 5 Some embodiments of the present application also provide a design device for a pneumoperitoneum machine software system based on an object-oriented approach, which is applied in the control of the pneumoperitoneum machine, and the device includes: Function division module 201, used to divide the operating functions of the pneumoperitoneum machine into detection function and control function; A control function design module 202, used to design a plurality of control function modules according to the control function based on the single control source principle, each control function module performs control and regulation based on a regulating device as a single control source; A mutually exclusive design module 203, used to configure multiple control function modules related to gas path execution control to operate mutually exclusive; The detection function design module 204 is used to design the detection function module according to the mutually exclusive relationship of the control function modules, the use requirements of the pneumoperitoneum machine and the detection function.
[0057] The object-oriented design device of the insufflator software system in the embodiment of the present application achieves the decoupling and splitting of the insufflator operating functions through modular design. It designs the control function modules based on the principle of a single control source and configures the control function modules for gas path execution control to run mutually exclusive, thereby decoupling the codes of various control functions, effectively reducing the complexity and uncertainty of the software system, and facilitating the subsequent addition of new function modules and optimization of old function modules, effectively improving the maintainability and scalability of the software system, thereby reducing the development cost of the software system.
[0058] In some preferred embodiments, the object-oriented design device for the pneumoperitoneum machine software system of the embodiment of the present application is used to execute the object-oriented design method for the pneumoperitoneum machine software system provided in the first aspect above.
[0059] Third, please refer to Figure 6 Some embodiments of the present application also provide a structural diagram of an electronic device. The present application provides an electronic device, including: a processor 301 and a memory 302. The processor 301 and the memory 302 are interconnected and communicate with each other through a communication bus 303 and / or other forms of connection mechanisms (not marked). The memory 302 stores computer-readable instructions executable by the processor 301. When the electronic device is running, the processor 301 executes the computer-readable instructions to execute the method in any optional implementation of the above embodiments.
[0060] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method in any optional implementation of the above embodiment is executed. The computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or optical disk.
[0061] In the 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 merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0062] In addition, the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, 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 solution of this embodiment.
[0063] Furthermore, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0064] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any such actual relationship or order between these entities or operations.
[0065] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A design method for an insufflator software system based on object-oriented technology, which is applied in the control of an insufflator, and is characterized in that: The method comprises the following steps: S1. The operating functions of the pneumoperitoneum machine are divided into detection function and control function; S2. Based on the principle of a single control source, multiple control function modules are designed according to the control function, and each of the control function modules performs control and regulation based on a regulating device as a single control source; S3, configuring multiple control function modules related to gas path execution control to operate mutually exclusive; S4. Design a detection function module according to the mutually exclusive relationship of the control function modules, the use requirements of the pneumoperitoneum machine and the detection function.
2. The object-oriented design method of the pneumoperitoneum machine software system according to claim 1 is characterized in that: The multiple control function modules include: A voltage stabilizing module for voltage regulation based on a proportional valve, an exhaust module for exhaust regulation based on an exhaust valve, a flow regulating module for supplying execution parameters of the voltage stabilizing module based on flow configuration, and a gas temperature heating module for temperature regulation based on a heating component.
3. The object-oriented design method of the pneumoperitoneum machine software system according to claim 2 is characterized in that: The detection function module includes: A sensor detection module for comprehensively collecting sensor data, a pressure reliability detection module for detecting pressure reliability, and a target flow adjustment module for adjusting the target flow.
4. The object-oriented design method of the pneumoperitoneum machine software system according to claim 3 is characterized in that: The pressure reliability detection module is connected to the flow regulation module and the voltage stabilization module, and is used to detect the pressure reliability according to the gas pressure fluctuation after the flow regulation module finishes executing parameter configuration, and to allow the voltage stabilization module to operate when the pressure reliability meets expectations.
5. The object-oriented design method of the pneumoperitoneum machine software system according to claim 3 is characterized in that: The target flow regulating module is connected to the exhaust module and the flow regulating module, and is used to adjust the target flow information according to the pressure change after the exhaust module completes the exhaust regulation, and configure the target flow information to the flow regulating module.
6. The object-oriented design method of the pneumoperitoneum machine software system according to claim 3 is characterized in that: The exhaust module is connected to the pressure stabilizing module and is used for selectively performing exhaust regulation after the pressure stabilizing module completes the pressure stabilizing regulation.
7. The object-oriented design method of the pneumoperitoneum machine software system according to claim 1 is characterized in that: The detection function module includes a power-on self-test module.
8. A design device for an insufflator software system based on object-oriented technology, applied in the control of an insufflator, characterized in that: The device comprises: A function division module is used to divide the operating functions of the pneumoperitoneum machine into a detection function and a control function; A control function design module, used to design a plurality of control function modules according to the control function based on the principle of a single control source, each of which performs control and regulation based on a regulating device as a single control source; A mutually exclusive design module, used to configure multiple control function modules related to gas path execution control to operate mutually exclusive; The detection function design module is used to design the detection function module according to the mutually exclusive relationship of the control function modules, the use requirements of the pneumoperitoneum machine and the detection function.
9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the steps in the method according to any one of claims 1 to 7 are executed.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are executed.