System and method for switching endoscope interface signals and endoscope system

Through the endoscope interface signal switching system, the endoscope is identified by the detection module and the controller controls the interface switching module to select the target endoscope interface output, which solves the problem of high technical difficulty and high cost in multi-mirror switching operation, and realizes convenient multi-mirror display switching.

CN120570533APending Publication Date: 2025-09-02SCIVITA MEDICAL TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510886853.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-30
Publication Date
2025-09-02

AI Technical Summary

Technical Problem

In the prior art, when the joint diagnosis and treatment of multiple departments requires dual-mirror or multi-mirror switching operations to observe different parts, a customized image processing host is required, and multiple independent master chips are used, which is difficult to achieve, has a long development cycle and is expensive to produce.

Method used

An endoscopic interface signal switching system is provided, including an interface module, a detection module, an interface switching module and a controller. The endoscope is identified by detecting the resistance value of the pull-down resistor, and the controller control interface switching module selects the target endoscope interface output to realize multi-mirror signal selection and display.

Benefits of technology

The multi-mirror switching operation is simplified, the technical difficulty and development cost are reduced, and the convenient multi-mirror display scene switching is achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120570533A_ABST
    Figure CN120570533A_ABST
Patent Text Reader

Abstract

The invention discloses a system and method for switching endoscope interface signals and an endoscope system. The system for switching the endoscope interface signals comprises an interface module, a plurality of endoscopes, a detection module, an interface switching module, a filtering module and a controller. The interface module comprises a plurality of input interfaces and a plurality of output interfaces corresponding to the input interfaces; each endoscope is connected with one input interface; the detection module is electrically connected with the plurality of endoscopes and is used for detecting and determining a current input signal and sending the current input signal; the input end of the interface switching module is respectively connected with a plurality of output interfaces, the controller is respectively and electrically connected with the output end of the interface switching module and the detection module, and the controller is configured to receive the input signal sent by the detection module and send the input signal to the interface switching module; and determining the currently connected endoscope according to the input signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of medical devices, and in particular to a system and method for endoscope interface signal switching, and an endoscope system. Background Art

[0002] An endoscope is a testing instrument that integrates traditional optics, ergonomics, precision mechanics, modern electronics, mathematics, and software. It has an image sensor, optical lens, light source, and mechanical device, and can enter the body through natural orifices or artificial incisions.

[0003] In the existing technology, when joint diagnosis and treatment between multiple departments requires dual or multiple mirrors to switch and observe different parts (i.e., endoscopes with different viewing angles switch displays), a customized image processing host is usually required. This host uses multiple independent main control chips to simultaneously implement multiple endoscope MIPI signal processing, which is technically difficult, has a long development cycle, and high production costs.

[0004] The above content is only used to assist in understanding the technical solution of the present invention and does not constitute an admission that the above content is prior art. Summary of the Invention

[0005] The main purpose of the present invention is to provide a system and method for endoscope interface signal switching, and an endoscope system, which aims to solve the technical problems in the prior art that when dual-mirror or multi-mirror switching operations are required to observe different parts, a customized image processing host is required, and multiple independent main control chips are used to simultaneously realize multiple endoscope MIPI signal processing, which has high technical difficulty, long development cycle and high production cost.

[0006] To achieve the above object, the present invention provides a system for endoscope interface signal switching, the system for endoscope interface signal switching comprising:

[0007] An interface module, comprising a plurality of input interfaces and a plurality of output interfaces corresponding to the plurality of input interfaces;

[0008] Multiple endoscopes, each endoscope is connected to an input interface;

[0009] a detection module, electrically connected to the plurality of endoscopes, for detecting and determining a current input signal, and sending the current input signal;

[0010] An interface switching module, wherein the input end of the interface switching module is connected to multiple output interfaces respectively,

[0011] A controller is electrically connected to the output end of the interface switching module and the detection module, and is configured to:

[0012] receiving the input signal sent by the detection module, and determining the currently connected endoscope according to the input signal;

[0013] In response to receiving the switching instruction, determining and selecting a target endoscope to be outputted according to the switching instruction and the currently connected endoscope;

[0014] According to the determined target endoscope, the interface switching module is controlled to select the interface output corresponding to the target endoscope, so that the target endoscope is connected.

[0015] Preferably, in the system for endoscope interface signal switching, the input signal is the resistance value of a pull-down resistor;

[0016] Each endoscope end is provided with a preset pull-down resistor, and the resistance value of the preset pull-down resistor of each endoscope end is different;

[0017] The detection module is configured to detect the resistance value of the pull-down resistor and send the detected resistance value to the controller.

[0018] Preferably, in the system for switching endoscope interface signals, the interface switching module includes a plurality of switching circuits, the number of the switching circuits matches the number of the plurality of endoscopes, and each switching circuit is connected to a corresponding endoscope;

[0019] The interface switching module is configured to control the corresponding switching circuit to be connected to the controller according to the control instruction of the controller.

[0020] Preferably, the system for endoscope interface signal switching further includes a filtering module, an input end of the filtering module is connected to the interface switching module, and an output end of the filtering module is connected to the controller.

[0021] Preferably, in the system for endoscope interface signal switching, the controller is further configured to:

[0022] Controlling the interface switching module to sequentially select an interface output corresponding to an endoscope from the currently connected endoscopes, and obtaining the captured images taken by the endoscopes until all currently connected endoscopes have been traversed;

[0023] Determine the acquisition orientation map of each endoscope based on the acquisition images taken by each endoscope;

[0024] In response to receiving the switching instruction, according to the predetermined main endoscope, another endoscope with the minimum offset angle with the main endoscope is determined from the acquisition orientation map, and the interface switching module is controlled to select the interface output corresponding to the determined endoscope.

[0025] Preferably, in the system for endoscope interface signal switching, the controller is further configured to:

[0026] Determining the part corresponding to each collected image based on the collected images taken by each endoscope;

[0027] According to the determined location, the acquisition orientation map of each endoscope is determined.

[0028] Preferably, in the system for endoscope interface signal switching, the controller is further configured to:

[0029] Input the collected images taken by each endoscope into a pre-trained neural network model, and output the parts corresponding to the collected images;

[0030] The hidden layer of the neural network model is connected to a dynamic adjustment block, and the dynamic adjustment block stores historically collected images and corresponding parts.

[0031] Preferably, in the system for endoscope interface signal switching, the controller is further configured to:

[0032] Comparing the collected images taken by each endoscope with the historical collected images and arranging them according to their relevance, and taking the historical collected image with the highest relevance to the collected image taken by the endoscope as the reference image;

[0033] The collected images taken by each endoscope and the corresponding reference images are input into a pre-trained neural network model, and the parts corresponding to the collected images are output.

[0034] To achieve the above object, the present invention provides a method for switching endoscope interface signals, the method for switching endoscope interface signals comprising:

[0035] receiving an input signal sent by the detection module, and determining a currently connected endoscope based on the input signal;

[0036] In response to receiving the switching instruction, determining and selecting a target endoscope to be outputted according to the switching instruction and the currently connected endoscope;

[0037] According to the determined target endoscope, the interface switching module is controlled to select the interface output corresponding to the target endoscope, so that the target endoscope is turned on and displayed.

[0038] To achieve the above object, the present invention provides an endoscope system, comprising:

[0039] at least one processor; and,

[0040] a memory communicatively connected to the at least one processor; wherein,

[0041] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the above-mentioned method for endoscope interface signal switching.

[0042] To achieve the above-mentioned object, the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the above-mentioned method for endoscope interface signal switching.

[0043] The present invention has at least the following beneficial effects:

[0044] The present invention receives the input signal sent by the detection module and determines the currently connected endoscope based on the input signal. In response to receiving a switching instruction, the device determines and selects the target endoscope for output based on the switching instruction and the currently connected endoscope. Based on the determined target endoscope, the interface switching module is controlled to select the interface output corresponding to the target endoscope, thereby connecting the target endoscope. This allows for dual- or multi-lens signal selection and output, facilitating switching between multi-lens display scenes. The present invention eliminates the need for designing multiple image processing pathways, resulting in a simple design. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 A schematic diagram of a system for endoscope interface signal switching provided by the present invention;

[0046] Figure 2 for Figure 1 A circuit diagram of an embodiment of the present invention;

[0047] Figure 3 A schematic diagram of a method for endoscope interface signal switching provided by the present invention;

[0048] Figure 4 Schematic diagram of the endoscope system provided by the present invention.

[0049] 11-Endoscope A; 12-Endoscope B; 13-Endoscope X; 2-Interface module; 3-Interface switching module; 4-Detection module; 5-Filter module; 6-Controller; 7-Button.

[0050] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION

[0051] The technical solutions of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments. It should be noted that the embodiments of the present invention and the features therein may be combined with each other unless there is a conflict.

[0052] In embodiments of the present invention, the term "and / or" describes the association relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0053] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0054] In the embodiments of the present invention, the term "plurality" refers to two or more than two, and other quantifiers are similar.

[0055] In the present invention, unless otherwise specified, the directional words used, such as "up, down, top, bottom", usually refer to the directions shown in the drawings, or to the components themselves in the vertical, perpendicular or gravity direction; similarly, for ease of understanding and description, "inside and outside" refer to the inside and outside relative to the outline of each component itself, but the above directional words are not used to limit the present invention.

[0056] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be understood by those skilled in the art that in the embodiments of the present invention, many technical details are provided to enable the reader to better understand the present invention. However, even without these technical details and the various changes and modifications based on the following embodiments, the technical solutions claimed in the present invention can be implemented. The division of the following embodiments is for convenience of description and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined with each other and referenced to each other under the premise that there is no contradiction.

[0057] To this end, the present invention provides a system for endoscope interface signal switching, such as Figure 1 As shown, the system for endoscope interface signal switching includes an interface module 2, multiple endoscopes, a detection module 4, an interface switching module 3, a filtering module 5 and a controller 6.

[0058] The interface module 2 includes multiple input interfaces and multiple output interfaces corresponding to the multiple input interfaces. The number of input interfaces and output interfaces of the interface module 2 can be determined according to the number of endoscopes. In some embodiments, it is also possible to choose whether to connect to the interface module 2 according to needs.

[0059] The placement of multiple endoscopes can be determined based on demand. For example, endoscopes can be placed at different locations or at different viewing angles. The number of endoscopes can be determined based on demand. The number of endoscopes can be two, three, or more, and is not specifically limited here.

[0060] In some embodiments, each endoscope is connected to an input port of the interface module 2 .

[0061] Detection module 4 is used to detect the specific endoscope connected. In some embodiments, detection module 4 can be, but is not limited to, a detection circuit. Detection module 4 is electrically connected to each of the multiple endoscopes to detect and determine the current input signal and transmit the current input signal. In some embodiments, the input signal can be a detected resistance value, such as the resistance value of a pull-down resistor.

[0062] When the input signal is the resistance value of the pull-down resistor, each endoscope end is provided with a preset pull-down resistor, and the resistance value of the preset pull-down resistor of each endoscope end is different; the detection module 4 is configured to detect the resistance value of the pull-down resistor and send the detected resistance value to the controller 6.

[0063] Specifically, each endoscope end is provided with a preset pull-down resistor, and the resistance value of the pull-down resistor preset at each endoscope end is different. That is, different resistance values ​​correspond to endoscopes with different configurations. Once the endoscope is connected (the endoscope is inserted into an input interface of the interface module 2), the detection module 4 will obtain the resistance value of the pull-down resistor. The detection module 4 is configured to detect the resistance value of the pull-down resistor and send the detected resistance value to the controller 6. When the controller 6 receives the resistance value of the pull-down resistor, it can determine which specific endoscope is connected based on this resistance value; in some embodiments, the model of the endoscope and other information can also be determined based on this resistance value.

[0064] In some embodiments, a table of correspondences between the resistance values ​​of the pull-down resistors and endoscopes can be established. The controller 6 can then use the obtained pull-down resistor values ​​to find the corresponding endoscope based on the table. For example, a resistance value of 10 ohms corresponds to endoscope A, and a resistance value of 8 ohms corresponds to endoscope B.

[0065] In some embodiments, the multiple endoscopes may be directly connected to the detection module 4 , respectively. In other embodiments, the multiple endoscopes may be connected to the detection module 4 , respectively, via the interface module 2 .

[0066] The interface switching module 3 is used to select an endoscope to be connected to the controller 6 based on demand. The input end of the interface switching module 3 is respectively connected to the multiple output interfaces of the interface module 2. The interface switching module 3 includes multiple switching circuits, the number of which matches the number of endoscopes, and each switching circuit is connected to a corresponding endoscope. The interface switching module 3 is configured to control the corresponding switching circuit to be connected to the controller 6 according to the control instructions of the controller 6.

[0067] For example, let's say there are two endoscopes, namely endoscope A11 and endoscope B12. Endoscope A11 is connected to a first switching circuit, and endoscope B12 is connected to a second switching circuit. When the interface switching module 3 receives a control command from the controller 6 to connect endoscope A11, it controls the first switching circuit to connect to the controller 6, thereby switching to the desired endoscope viewing angle.

[0068] The filter circuit is used to filter the input signal to remove noise and achieve better signal quality. The input end of the filter module 5 is connected to the interface switching module 3, and the output end of the filter module 5 is connected to the controller 6. In some embodiments, the filter module 5 is a filter circuit.

[0069] The controller 6 is electrically connected to the output end of the interface switching module 3 and the detection module 4 respectively.

[0070] In some embodiments, a button 7 is further provided, which is connected to the controller 6 and is used to trigger the controller 6 to send a control instruction for switching the endoscope to the interface switching module 3. In other embodiments, the controller 6 can be triggered to send a control instruction for switching the endoscope to the interface switching module 3 in other ways, such as voice control.

[0071] Figure 3 The process of the method for switching endoscope interface signals provided by the present invention is illustrated. The process can be executed using the controller 6 mentioned above, or any other suitable computer device.

[0072] At step S210, the input signal sent by the detection module 4 is received, and the currently connected endoscope is determined based on the input signal. In some embodiments, each endoscope end may be provided with a preset pull-down resistor, and the resistance value of the preset pull-down resistor at each endoscope end is different. That is, different resistance values ​​correspond to endoscopes with different configurations. Once the endoscope is connected (the endoscope is inserted into an input interface of the interface module 2), the detection module 4 will obtain the resistance value of the pull-down resistor. The detection module 4 sends the detected resistance value to the corresponding execution subject (such as the controller 6). When the execution subject receives the resistance value of the pull-down resistor, it can determine which specific endoscope has been connected based on this resistance value; in some embodiments, the model of the endoscope and other information can also be determined based on this resistance value.

[0073] It is worth noting that the currently connected endoscope mentioned in the present invention only refers to the endoscope being connected to the interface for connecting the endoscope (such as the interface module 2 and the detection module 4); it does not mean that the endoscope is connected. Only when the endoscope is connected is it considered to be able to communicate with the execution subject (such as the controller 6). That is, when the endoscope is only connected but not connected, the execution subject (such as the controller 6) cannot communicate with the currently connected endoscope. Only when the endoscope is connected can it communicate with the endoscope.

[0074] like Figure 1 As shown, the currently connected endoscopes include endoscope A11, endoscope B12, and endoscope X. However, endoscope A11, endoscope B12, and endoscope X are not all endoscopes that can be output by the controller 6. Only when the interface switching module 3 selects to connect to one of the endoscopes (for example, endoscope A11) can the endoscope output the display image. When endoscope A11 is selected as the target endoscope, the interface switching module 3 selects endoscope A11 for output. At this time, the user can read the information of endoscope A11, and the information of endoscope A11 can be displayed on the display screen. When switching is required, a new target endoscope is sent to the interface switching module 3. At this time, the interface switching module 3 disconnects the previous endoscope and outputs the new target endoscope. In this way, dual-mirror or multi-mirror signal selection output can be achieved, which facilitates the switching of multi-mirror display scenes.

[0075] like Figure 2 As shown, the currently counted endoscopes include endoscope A11 and endoscope B12. Endoscope A11 and endoscope B12 are connected to interface switching module 3 and detection module 4, respectively. Detection module 4 can determine the information of the connected endoscope by detecting the resistance values ​​of the pull-down resistors corresponding to endoscopes A11 and B12. Figure 2By detecting the resistance values ​​of the pull-down resistors corresponding to endoscopes A11 and B12, it can be determined whether endoscopes A11 and B12 are connected. Assuming that endoscope A11 is currently connected, when switching is required, the target endoscope is sent to the interface switching module 3, indicating that the target endoscope is endoscope B12. The interface switching module 3 controls the output of endoscope B12.

[0076] In some embodiments, there may be a plurality of endoscopes currently connected, and the specific number may be determined according to demand.

[0077] In response to receiving the switching instruction at step S220, the target endoscope to be output is determined based on the switching instruction and the currently connected endoscope. In some embodiments, the switching instruction can be triggered by the user operating button 7, button 7 to switch the endoscope; in other embodiments, the switching instruction can also be triggered by other means that can trigger the switching of the endoscope, such as voice control.

[0078] The target endoscope can be determined based on user-preset rules, or by randomly selecting another endoscope for switching; or the target endoscope for switching can be directly specified. In some embodiments, to facilitate continuous observation by the user, the target endoscope for switching can be selected based on the viewing angle. For example, if one endoscope is used as the main endoscope for observation, when observation from a different viewing angle is needed, the viewing angle can be gradually adjusted to switch, for example, switching from a small angle to a large angle relative to the main endoscope.

[0079] In some embodiments, in response to receiving a switching instruction, based on a predetermined main endoscope, another endoscope having a minimum offset angle with the main endoscope is determined from the acquisition orientation map, and the interface switching module 3 is controlled to select the interface output corresponding to the determined endoscope.

[0080] The acquisition orientation map can be determined through steps S241 and S242.

[0081] At step S241, the interface switching module 3 is controlled to sequentially select an interface output corresponding to an endoscope from the currently connected endoscopes and obtain the captured images captured by the endoscopes until all currently connected endoscopes have been traversed. By controlling each endoscope to connect and capture images, the specific position of each endoscope can be determined. The specific position can be an absolute position or a relative position (for example, relative to the preset position of the main endoscope).

[0082] At step S242, a collection orientation map for each endoscope is determined based on the captured images captured by each endoscope. The collection orientation map can be a map of the specific locations of each endoscope within the human body. Different endoscope locations correspond to different viewing angles. The collection orientation map can include the offset angles between the viewing angles of each endoscope, or it can be calculated based on the offset angle between the viewing angles of the main endoscope after the main endoscope is determined.

[0083] Since the positional relationship of various parts of the human body is fixed, in some embodiments, the acquisition orientation map can be directly determined based on the specific location of the endoscope, such as steps S2421 and S2422. In other embodiments, it can also be determined based on the positioning coordinates of each endoscope.

[0084] At step S2421, the part corresponding to the collected image is determined based on the collected image taken by each endoscope. In some embodiments, the collected image can be compared with the pre-stored pictures of each part, and the part with high similarity is used as the part where the endoscope is located. The specific calculation can be, but is not limited to, extracting the feature vectors of the two compared images, and calculating the cosine similarity or Euclidean distance of the corresponding feature vectors of the two images. The higher the calculated cosine similarity, the higher the similarity of the two images. When the similarity reaches a first preset threshold, the part of the compared image is used as the part corresponding to the collected image. The smaller the calculated Euclidean distance, the higher the similarity of the two images. When the Euclidean distance is less than a second preset threshold, the part of the compared image is used as the part corresponding to the collected image.

[0085] At step S2422, the acquisition orientation map of each endoscope is determined according to the determined location.

[0086] It should be noted that, when determining the corresponding part based on the acquired image, in order to further improve the accuracy, step S2421 includes step S24211.

[0087] At step S24211, the captured images taken by each endoscope are input into a pre-trained neural network model, and the parts corresponding to the captured images are output; wherein the hidden layer of the neural network model is connected to a dynamic adjustment block, and the dynamic adjustment block stores historical captured images and corresponding parts. Specifically, the captured images taken by each endoscope are compared with the historical captured images and arranged according to their relevance, and the historical captured image with the highest relevance to the captured image taken by the endoscope is used as the reference image; the captured images taken by each endoscope and the corresponding reference image are input into the pre-trained neural network model, and the parts corresponding to the captured images are output.

[0088] At step S230, based on the determined target endoscope, the interface switching module 3 is controlled to select the interface output corresponding to the target endoscope, thereby connecting the target endoscope. The interface switching module 3 selects the interface output corresponding to the target endoscope, and the target endoscope is now connected to the execution subject (e.g., the controller 6 or other computer device), and the user can read the information of the target endoscope. In other embodiments, the information of the target endoscope can be presented on a display screen.

[0089] The present invention receives the input signal sent by the detection module 4 and determines the currently connected endoscope based on the input signal. In response to receiving a switching instruction, the target endoscope for output is determined based on the switching instruction and the currently connected endoscope. Based on the determined target endoscope, the interface switching module 3 is controlled to select the interface output corresponding to the target endoscope, thereby connecting the target endoscope. This allows for dual- or multi-lens signal selection and output, facilitating switching of multi-lens display scenes. The present invention does not require the design of multiple image processing pathways, resulting in a simple design.

[0090] In order to achieve the above object, the present invention also provides an endoscope system, such as Figure 4 As shown, the device includes at least one processor 401; and a memory 402 communicatively connected to the at least one processor 401; wherein the memory 402 stores instructions that can be executed by the at least one processor 401, and the instructions are executed by the at least one processor 401 to enable the at least one processor 401 to execute the above-mentioned method for endoscope interface signal switching.

[0091] Memory 402 and processor 401 are connected using a bus. The bus may include any number of interconnected buses and bridges, connecting various circuits of one or more processors 401 and memory 402. The bus may also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits. These are all well known in the art and, therefore, will not be described further herein. The bus interface provides an interface between the bus and the transceiver. The transceiver may be a single component or multiple components, such as multiple receivers and transmitters, providing a unit for communicating with various other devices over a transmission medium. Data processed by processor 401 is transmitted over a wireless medium via an antenna. Furthermore, the antenna receives data and transmits it to processor 401.

[0092] The processor 401 is responsible for managing the bus and general processing, and may also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. The memory 402 may be used to store data used by the processor 401 when performing operations.

[0093] In order to achieve the above-mentioned object, the present invention provides a computer-readable storage medium storing a computer program, which implements the above-mentioned method for endoscope interface signal switching when executed by the processor 401.

[0094] That is, those skilled in the art will understand that all or part of the steps in the above-described embodiments can be implemented by instructing the relevant hardware through a program. The program is stored in a storage medium and includes a number of instructions for causing a device (which may be a single-chip microcomputer, chip, etc.) or processor 4014 (processor) to execute all or part of the steps in the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0095] Obviously, the embodiments described above are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, those skilled in the art may make other different forms of changes or modifications without making any creative work, and all of these should fall within the scope of protection of the present invention.

Claims

1. A system for endoscope interface signal switching, characterized in that: include: An interface module, comprising a plurality of input interfaces and a plurality of output interfaces corresponding to the plurality of input interfaces; Multiple endoscopes, each endoscope is connected to an input interface; a detection module, electrically connected to the plurality of endoscopes, for detecting and determining a current input signal, and sending the current input signal; An interface switching module, wherein the input end of the interface switching module is connected to multiple output interfaces respectively, A controller is electrically connected to the output end of the interface switching module and the detection module, and is configured to: receiving the input signal sent by the detection module, and determining the currently connected endoscope according to the input signal; In response to receiving the switching instruction, determining and selecting a target endoscope to be outputted according to the switching instruction and the currently connected endoscope; According to the determined target endoscope, the interface switching module is controlled to select the interface output corresponding to the target endoscope, so that the target endoscope is connected.

2. The system for endoscope interface signal switching according to claim 1, wherein: The input signal is the resistance value of the pull-down resistor; Each endoscope end is provided with a preset pull-down resistor, and the resistance value of the preset pull-down resistor of each endoscope end is different; The detection module is configured to detect the resistance value of the pull-down resistor and send the detected resistance value to the controller.

3. The system for endoscope interface signal switching according to claim 1, wherein: The interface switching module includes a plurality of switching circuits, the number of which matches the number of the endoscopes, and each switching circuit is connected to a corresponding endoscope; The interface switching module is configured to control the corresponding switching circuit to be connected to the controller according to the control instruction of the controller.

4. The system for endoscope interface signal switching according to claim 1, wherein: It also includes a filtering module, the input end of the filtering module is connected to the interface switching module, and the output end of the filtering module is connected to the controller.

5. The system for endoscope interface signal switching according to claim 1, wherein: The controller is further configured to: Controlling the interface switching module to sequentially select an interface output corresponding to an endoscope from the currently connected endoscopes, and obtaining the captured images taken by the endoscopes until all currently connected endoscopes have been traversed; Determine the acquisition orientation map of each endoscope based on the acquisition images taken by each endoscope; In response to receiving the switching instruction, according to the predetermined main endoscope, another endoscope with the minimum offset angle with the main endoscope is determined from the acquisition orientation map, and the interface switching module is controlled to select the interface output corresponding to the determined endoscope.

6. The system for endoscope interface signal switching according to claim 5, wherein: The controller is further configured to: Determining the part corresponding to each collected image based on the collected images taken by each endoscope; According to the determined location, the acquisition orientation map of each endoscope is determined.

7. The system for endoscope interface signal switching according to claim 6, wherein: The controller is further configured to: Input the collected images taken by each endoscope into a pre-trained neural network model, and output the parts corresponding to the collected images; The hidden layer of the neural network model is connected to a dynamic adjustment block, and the dynamic adjustment block stores historically collected images and corresponding parts.

8. The system for endoscope interface signal switching according to claim 7, wherein: The controller is further configured to: Comparing the collected images taken by each endoscope with the historical collected images and arranging them according to their relevance, and taking the historical collected image with the highest relevance to the collected image taken by the endoscope as the reference image; The collected images taken by each endoscope and the corresponding reference images are input into a pre-trained neural network model, and the parts corresponding to the collected images are output.

9. A method for switching endoscope interface signals, characterized in that: include: receiving an input signal sent by the detection module, and determining a currently connected endoscope based on the input signal; In response to receiving the switching instruction, determining and selecting a target endoscope to be outputted according to the switching instruction and the currently connected endoscope; According to the determined target endoscope, the interface switching module is controlled to select the interface output corresponding to the target endoscope, so that the target endoscope is turned on and displayed.

10. An endoscope system, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method for endoscope interface signal switching according to claim 9.

11. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for endoscope interface signal switching according to claim 9 is implemented.