Endoscope communication circuit, method, system, device and medium

By adding resistors and switching devices to the endoscope to form a new circuit, the single-cable multi-signal transmission is realized, which solves the problem of poor communication stability and reliability of the endoscope and reduces the system detection cost.

CN115987325BActive Publication Date: 2025-08-12CHONGQING JINSHAN MEDICAL TECH RES INST CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211726683.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-30
Publication Date
2025-08-12
Estimated Expiration
2042-12-30

AI Technical Summary

Technical Problem

The communication stability and reliability of existing endoscopes are poor, mainly due to the thin cable and easy to break, and the insufficient number of connector pins leads to difficulty in determining in-position detection and control signals.

Method used

By adding a control unit, a first resistor, a switching device, a second resistor, a third resistor and a fourth resistor, a new circuit is formed, and a single cable is used to realize the position detection of the mirror body and the control signal multiplexing of the functional device. The I/O pin is set to the input mode to determine the access state of the mirror body, and the level signal is obtained through the I/O pin for operation.

Benefits of technology

Reduces the number of cables and connector pins, reduces the system detection cost, and improves the stability and reliability of endoscopic communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115987325B_ABST
    Figure CN115987325B_ABST
Patent Text Reader

Abstract

The present application discloses a communication circuit, method, system, device, and medium for an endoscope, which are applied to the communication field of endoscopes. The method mainly forms a new circuit by adding resistors, switching devices, and resistors to the scope body. A single cable can be used to multiplex the control signals of the scope body in place detection and functional devices. The I / O pins are set to input mode to enable the endoscope to perform timed in-place detection, obtain input levels, and determine whether the scope body is connected based on the input levels. Switching devices are selected based on control signals in the scope body and the functional devices are operated. This method allows the use of a single cable to transmit multiple signal forms, eliminating the need to transmit signals through multiple cables. Signal multiplexing reduces the number of cables and connector pins, making selection easier, reducing system detection costs, and effectively improving the stability and reliability of endoscope communication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of endoscope communication, and in particular to an endoscope communication circuit, method, system, device and medium. Background Art

[0002] With the continuous development of science and technology, electronic endoscopes have become a medical electronic optical instrument that can be inserted into the human body cavity and organ cavities for direct observation, diagnosis, and treatment. They integrate advanced optical, mechanical, and electrical technologies. They use a very small electronic imaging element, a charge-coupled device (CCD), to image the object to be observed in the cavity onto the CCD through a tiny objective optical system. The received image signal is then sent to the image processing system via an imaging fiber bundle, and the processed image is finally output on a monitor for the doctor to observe and diagnose.

[0003] However, current endoscopes mainly transmit and process images through multiple cables. During use, in order to achieve a better experience, the size of the scope is generally limited to a relatively small size. Therefore, on the basis of integrating water vapor and surgical forceps channels, the cables are generally required to have a smaller diameter and a relatively small number of connector pins, which requires that the electrical signals be minimized to minimize the scope size and connector volume. However, the thinner the cable, the thinner the internal wire core, the more difficult the production process is, the easier it is to break, and the shorter the service life. In addition, if the number of connector pins is not enough, it will be easy to lose the judgment of in-situ detection and control signals. The above method makes the stability and reliability of endoscope communication relatively poor.

[0004] In view of the above technical problems, seeking a method to solve the above problems is an urgent problem to be solved by those skilled in the art. Summary of the Invention

[0005] The purpose of the present application is to provide a communication circuit, method, system, device and medium for an endoscope, which mainly forms a new circuit by adding a control unit, a first resistor, a switching device, a second resistor, a third resistor and a fourth resistor. Through this circuit, a single cable can be used to realize the multiplexing of the control signal of the scope in place detection and the functional device, and the I / O pin is set to the input mode so that the endoscope can perform timed in place detection. The level signal is obtained through the I / O pin to determine whether the scope is connected, so as to facilitate the operation of the functional device. A single cable is used to realize the transmission of multiple signal forms and signal multiplexing, thereby reducing the number of cables and connector pins, facilitating selection, reducing the system detection cost, and effectively improving the stability and reliability of endoscope communication.

[0006] To solve the above technical problems, the present application provides a communication circuit for an endoscope, comprising:

[0007] A control unit, a first resistor, a switch device, a second resistor, a third resistor, and a fourth resistor;

[0008] Wherein, a first end of the first resistor is connected to the power supply, and a second end of the first resistor is connected to the I / O pin of the control unit, so as to be recognized by the control unit as a high level when the scope is not connected;

[0009] The first end of the second resistor is connected to the first end of the third resistor, the second end of the second resistor is grounded, the first end of the third resistor is respectively connected to the second end of the first resistor and the I / O pin of the control unit through the mirror body, the second end of the third resistor is connected to the control end of the switching device, the first end of the fourth resistor is connected to the power supply, the second end of the fourth resistor is connected to the first end of the switching device, and the second end of the switching device is grounded.

[0010] Preferably, the switching device is a triode or a MOS transistor.

[0011] Preferably, it further comprises: a fifth resistor;

[0012] The first end of the fifth resistor is respectively connected to the first end of the switch device, the second end of the fourth resistor and the functional device of the mirror body.

[0013] To solve the above technical problems, the present application provides an endoscope communication method, which is applied to a communication circuit of the endoscope as described above, and the method comprises:

[0014] Set the I / O pin to input mode;

[0015] Obtain the level signal through the I / O pin and determine whether the mirror is connected based on the level signal;

[0016] If the mirror is connected, the control signal of the functional device in the mirror is obtained;

[0017] The functional device is operated according to the control signal.

[0018] Preferably, the switch device is an N-type triode or an N-type MOS transistor, and before operating the functional device according to the control signal, the method further includes:

[0019] Set the I / O pin to output mode as described:

[0020] Among them, the initial level of the functional device is a high level, and the switch device changes from cut-off to on.

[0021] Preferably, the switch device is a P-type triode or a P-type MOS transistor, and before operating the functional device according to the control signal, the method further includes:

[0022] Set the I / O pin to output mode;

[0023] Among them, the initial level of the functional device is a low level, and the switch device changes from on to off.

[0024] Preferably, after operating the functional device, the method further includes:

[0025] After the operation is completed, set the I / O pin back to input mode and perform a timed presence test.

[0026] To solve the above technical problems, the present application further provides an endoscope communication system, which is applied to the communication circuit of the endoscope as described above, and the system includes:

[0027] The setting module is used to set the I / O pin to input mode;

[0028] A first acquisition module is used to obtain a level signal through an I / O pin and determine whether the scope is connected according to the level signal;

[0029] The second acquisition module is used to obtain the control signals of the functional components in the scope if the scope is connected;

[0030] The operating module is used to operate the functional device according to the control signal.

[0031] To solve the above technical problems, the present application also provides a communication device for an endoscope, comprising a memory for storing a computer program;

[0032] The processor is used to implement the steps of the endoscope communication method as described above when executing the computer program.

[0033] In order to solve the above technical problems, the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the endoscope communication method as described above are implemented.

[0034] The communication circuit of the endoscope provided in the present application forms a new circuit by adding a control unit, a first resistor, a switching device, a second resistor, a third resistor and a fourth resistor. Through this circuit, a single cable can be used to realize the multiplexing of the control signals of the scope in place detection and the functional devices. The I / O pin is set to the input mode so that the endoscope can perform timed in place detection. The level signal is obtained through the I / O pin to determine whether the scope is connected, so as to facilitate the operation of the functional devices. The transmission of multiple signal forms is realized by a single cable, and signal multiplexing is achieved, which reduces the number of cables and connector pins, makes it easy to select, reduces the system detection cost, and effectively improves the stability and reliability of endoscope communication.

[0035] The present application also provides a communication method, system, device and computer-readable storage medium for an endoscope, which correspond to the above-mentioned communication circuit and thus have the same beneficial effects as the above-mentioned communication circuit. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0037] Figure 1 A structural diagram of a communication circuit of an endoscope provided in an embodiment of the present application;

[0038] Figure 2 A flow chart of a communication method for an endoscope provided in an embodiment of the present application;

[0039] Figure 3 A structural diagram of a communication system for an endoscope provided in an embodiment of the present application;

[0040] Figure 4 This is a structural diagram of a communication device for an endoscope provided in another embodiment of the present application. DETAILED DESCRIPTION

[0041] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0042] The core of this application is to provide a communication circuit, method, system, device and medium for an endoscope.

[0043] Since current endoscopes primarily transmit and process images via multiple cables, the scope's size is generally limited to a minimum to achieve a better user experience during use. Therefore, in addition to integrating water vapor and surgical forceps channels, the cables are generally required to have a smaller diameter and fewer connector pins, minimizing electrical signals and minimizing both scope size and connector volume. However, the thinner the cable, the finer the internal wire core, making the production process more difficult and prone to breakage, resulting in a shorter service life. Furthermore, if the connector pin count is insufficient, it is easy to lose the ability to detect in-situ and determine control signals. The above method makes the stability and reliability of endoscope communication relatively poor. The communication circuit of the endoscope provided in the present application forms a new circuit by adding a control unit, a first resistor, a switching device, a second resistor, a third resistor and a fourth resistor. Through this circuit, a single cable can be used to realize the multiplexing of the control signal of the scope body in place detection and the functional device. The I / O pin is set to the input mode to enable the endoscope to perform timed in-place detection. The level signal is obtained through the I / O pin to determine whether the scope body is connected, so as to facilitate the operation of the functional device. A single cable is used to realize the transmission of multiple signal forms and signal multiplexing, which reduces the number of cables and connector pins, is easy to select, reduces the system detection cost, and effectively improves the stability and reliability of endoscope communication.

[0044] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0045] Figure 1 A structural diagram of a communication circuit of an endoscope provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the circuit includes: a control unit 101, a first resistor R1, a switch device Q1, a second resistor R2, a third resistor R3 and a fourth resistor R4;

[0046] The first end of the first resistor R1 is connected to the power supply, and the second end of the first resistor R1 is connected to the I / O pin of the control unit 101, so as to be recognized as a high level by the control unit 101 when the scope is not connected;

[0047] The first end of the second resistor R2 is connected to the first end of the third resistor R3, the second end of the second resistor R2 is grounded, the first end of the third resistor R3 is connected to the second end of the first resistor R1 and the I / O pin of the control unit 101 through the mirror body, the second end of the third resistor R3 is connected to the control end of the switching device Q1, the first end of the fourth resistor R4 is connected to the power supply, the second end of the fourth resistor R4 is connected to the first end of the switching device Q1, and the second end of the switching device Q1 is grounded.

[0048] It should be noted that the embodiment of the present application does not make a specific limitation on the switching device Q1. The switching device Q1 can be selected according to actual conditions. The I / O pin in the control unit 101 is connected with the first resistor R1, wherein the first resistor R1 acts as a pull-up resistor. When the scope is not connected, due to the presence of the pull-up resistor, the I / O pin of the control unit 101 is recognized as a high level. When the scope is connected, the first resistor R1 and the second resistor R2 act as a voltage divider. The resistance value of the first resistor R1 can be calculated and the size of the first resistor R1 can be selected according to the input requirements of the I / O pin in the control unit 101. The first resistor R1 can be set to a sliding rheostat according to actual conditions, or resistors of different resistance values can be selected according to the requirements of different endoscope devices. When the scope is connected, the third resistor R3 can be connected to the first resistor R1 and the control unit 101 through the connection part of the scope. The embodiment of the present application does not make any specific limitation on the structure of the endoscope device where the communication circuit of the endoscope is located. The structure of the endoscope can be, but is not limited to, setting the switch device Q1, the second resistor R2, the third resistor R3 and the fourth resistor R4 in the scope part. The scope part can also include, but is not limited to, the head end, the connection part and the functional device, etc. The control unit 101, the image processing unit and the first resistor R1 can be, but are not limited to, set in the image processor part. The embodiment of the present application is not limited to the communication circuit of the endoscope to include only the above-mentioned resistors. The embodiment of the present application does not make any specific limitation on the type and number of each resistor. The embodiment of the present application only provides a preferred implementation method.

[0049] It can be seen that the communication circuit of the endoscope provided in the present application forms a new circuit by adding a control unit, a first resistor, a switching device, a second resistor, a third resistor and a fourth resistor. Through this circuit, a single cable can be used to realize the multiplexing of the control signals of the scope in place detection and the functional devices, and the I / O pin is set to the input mode to enable the endoscope to perform timed in-place detection. The level signal is obtained through the I / O pin to determine whether the scope is connected, so as to facilitate the operation of the functional device. The transmission of multiple signal forms is realized by a single cable, and signal multiplexing is achieved, which reduces the number of cables and connector pins, makes it easy to select, reduces the system detection cost, and effectively improves the stability and reliability of endoscope communication.

[0050] Based on the above embodiments, the present application provides a preferred embodiment, wherein the switching device Q1 is a transistor or a MOS transistor.

[0051] It should be noted that the embodiment of the present application only provides a preferred implementation scheme. The switching device Q1 provided in the embodiment of the present application is not limited to only including transistors and metal oxide semiconductor field effect transistors (MOSFET), referred to as MOS tubes, and does not make specific restrictions on the models and application scenarios of transistors and MOS tubes.

[0052] It can be seen that the communication circuit of the endoscope provided in the present application forms a new circuit by adding a control unit, a first resistor, a switching device, a second resistor, a third resistor and a fourth resistor. Through this circuit, a single cable can be used to realize the multiplexing of the control signals of the scope in place detection and the functional devices, and the I / O pin is set to the input mode to enable the endoscope to perform timed in-place detection. The level signal is obtained through the I / O pin to determine whether the scope is connected, so as to facilitate the operation of the functional device. The transmission of multiple signal forms is realized by a single cable, and signal multiplexing is achieved, which reduces the number of cables and connector pins, makes it easy to select, reduces the system detection cost, and effectively improves the stability and reliability of endoscope communication.

[0053] Based on the above embodiment, the present application further provides a preferred embodiment, further comprising: a fifth resistor R5;

[0054] The first end of the fifth resistor R5 is connected to the first end of the switch device Q1, the second end of the fourth resistor R4 and the functional device of the mirror body respectively.

[0055] It should be noted that the fifth resistor R5 serves as a pull-down resistor. The fifth resistor R5 can be enabled or disabled according to the driving level requirements. If the functional device in the mirror body requires a pull-down resistor, the fifth resistor R5 is connected to the circuit. If the functional device in the mirror body already has the corresponding function, the fifth resistor R5 can be selected not to be connected according to actual conditions. The embodiment of the present application only provides a preferred implementation method. The embodiment of the present application is not limited to only including the method of adding the fifth resistor R5, and corresponding changes can be made according to actual conditions.

[0056] It can be seen that the communication circuit of the endoscope provided in the embodiment of the present application forms a new circuit by adding a control unit, a first resistor, a switching device, a second resistor, a third resistor, a fourth resistor and a fifth resistor. Through this circuit, a single cable can be used to realize the multiplexing of the control signal of the scope body in place detection and the functional device, and the I / O pin is set to the input mode to enable the endoscope to perform timed in-place detection. The level signal is obtained through the I / O pin to determine whether the scope body is connected, so as to facilitate the operation of the functional device. The transmission of multiple signal forms is realized by a single cable, and signal multiplexing is achieved, which reduces the number of cables and connector pins, makes it easy to select, reduces the system detection cost, and effectively improves the stability and reliability of the endoscope communication.

[0057] On the basis of the above embodiments, the present application further provides an endoscope communication method, which is applied to the above endoscope communication circuit. Figure 2 A flow chart of a communication method for an endoscope provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the method includes:

[0058] S10: Set the I / O pin to input mode.

[0059] When the image processor is powered on and started normally, the control unit 101 sets the I / O to the input mode.

[0060] S11: Obtain a level signal through the I / O pin and determine whether the mirror is connected based on the level signal. If so, proceed to step S12.

[0061] It should be noted that when the scope is not connected, the control unit 101 recognizes a high level due to the presence of the pull-up resistor. When the scope is connected, the input level is divided by the first resistor R1 and the second resistor R2, and the control unit 101 recognizes a low level. The control unit 101 obtains the level signal through the I / O pin and determines whether the scope is connected based on the level signal. It should be noted that the embodiment of this application only provides a preferred implementation method and is not limited to the above method.

[0062] S12: Obtain control signals of functional devices in the mirror body.

[0063] S13: Operate the functional device according to the control signal.

[0064] It should be noted that, after the scope is connected, the scope part is connected to the image processor part through the connection part of the scope. When the control unit 101 recognizes a low level, it considers that the scope is inserted, turns on the scope power, waits for the power to stabilize, and performs power-on initialization configuration on some devices on the scope. Among them, the power supply can be set to a delay according to, but not limited to, the actual test power-on time. After the scope part is initialized and stabilized, the control signal of the current functional device is obtained, and the corresponding mode is selected according to the control signal to operate the functional device. The embodiment of the present application does not make specific limitations on the control signal, and the embodiment of the present application does not make limitations on the specific operation method of the functional device. The embodiment of the present application only provides a preferred implementation method. The embodiment of the present application is not limited to only including the above-mentioned implementation methods and can be changed according to actual conditions.

[0065] It can be seen that the method provided in the present application forms a new circuit by adding resistors to the image processor and adding switching devices and resistors to the scope part. A single cable can be used to realize scope presence detection and control signal multiplexing of functional devices. The I / O pin is set to input mode so that the endoscope performs timed presence detection, obtains the input level and determines whether the scope is connected based on the input level, selects the switching device based on the control signal in the scope and operates the functional device. Through this method, a single cable is used to realize the transmission of multiple signal forms and signal multiplexing, thereby reducing the number of cables and connector pins, making it easy to select, reducing the system detection cost, and effectively improving the stability and reliability of endoscope communication.

[0066] Based on the above embodiments, the present application provides a preferred embodiment, in which the switch device Q1 is an N-type triode or an N-type MOS transistor, and before operating the functional device according to the control signal, the following steps are further included:

[0067] Set the I / O pin to output mode;

[0068] The initial level of the functional device is a high level, and the switch device Q1 changes from being cut off to being on.

[0069] It should be noted that when the functional device is controlled at a low level, an N-type switch device Q1 can be selected, but is not limited to, N-type transistor or N-type MOS transistor. When the mirror is powered on and the I / O pin of the control unit 101 is an input, the switch device Q1 is cut off, and the functional device control level is initially high. When the functional device needs to be controlled, the control unit 101 switches the I / O pin to output mode, outputting a high level. At this time, the switch device Q1 is turned on, the control level is low, and the functional device can be operated. The embodiments of the present application are not limited to only including N-type MOS transistors or N-type transistors. The embodiments of the present application do not specifically limit the steps after the functional device is operated. The embodiments of the present application only provide a preferred implementation method. The embodiments of the present application are not limited to only including the above-mentioned method and can be modified according to actual circumstances.

[0070] It can be seen that the method provided in the embodiment of the present application forms a new circuit by adding a resistor to the image processor and adding an N-type transistor or N-type MOS tube and a resistor to the scope part. A single cable can be used to realize scope presence detection and control signal multiplexing of functional devices, and the I / O pin is set to input mode so that the endoscope performs timed presence detection, obtains the input level and determines whether the scope is connected based on the input level, selects the switching device based on the control signal in the scope and operates the functional device. Through this method, a single cable is used to realize the transmission of multiple signal forms and signal multiplexing, thereby reducing the number of cables and connector pins, facilitating selection, reducing the system detection cost, and effectively improving the stability and reliability of endoscope communication.

[0071] Preferably, the switch device Q1 is a P-type transistor or a P-type MOS transistor, and before operating the functional device according to the control signal, the following steps are further included:

[0072] Set the I / O pin to output mode;

[0073] The initial level of the functional device is a low level, and the switch device Q1 changes from on to off.

[0074] It should be noted that when the functional device is controlled at a high level, a P-type transistor switch Q1 can be selected, wherein the P-type transistor switch Q1 can be a P-type triode or a P-type MOS transistor. When the mirror is powered on and the I / O pin of the control unit 101 is an input, the switch Q1 is turned on, and the functional device control level is initially low. When the functional device needs to be controlled, the control unit 101 switches the I / O pin to output mode, outputting a high level. At this time, the switch Q1 is turned off, the control level is high, and the functional device can be operated. The embodiments of the present application are not limited to only including P-type MOS transistors or P-type triodes. The embodiments of the present application do not specifically limit the steps after the functional device is operated. The embodiments of the present application only provide a preferred implementation method. The embodiments of the present application are not limited to only including the above-mentioned method and can be modified according to actual circumstances.

[0075] It can be seen that the method provided in the embodiment of the present application forms a new circuit by adding resistors to the image processor and adding P-type MOS tubes or P-type transistors and resistors to the scope part. A single cable can be used to realize scope presence detection and control signal multiplexing of functional devices. The I / O pin is set to input mode so that the endoscope performs timed presence detection, obtains the input level and determines whether the scope is connected based on the input level, selects the switching device based on the control signal in the scope and operates the functional device. Through this method, a single cable is used to realize the transmission of multiple signal forms and signal multiplexing, which reduces the number of cables and connector pins, makes selection easy, reduces the system detection cost, and effectively improves the stability and reliability of endoscope communication.

[0076] Based on the above embodiment, the present application further provides a preferred embodiment, which further includes:

[0077] After the operation is completed, set the I / O pin back to input mode and perform a timed presence test.

[0078] It should be noted that after the operation on the functional device is completed, the I / O pins of the control unit 101 are reset to the input mode and a timed presence detection is performed.

[0079] It can be seen that through the method provided in the embodiment of the present application, a single cable can be used to realize the multiplexing of the control signals of the scope in place detection and the functional device, and the I / O pin is set to the input mode so that the endoscope performs timed in place detection, the input level is obtained and whether the scope is connected is determined according to the input level, the I / O pin is set to the output mode, and the switching device is selected according to the control signal in the scope and the functional device is operated. After the operation is completed, the I / O pin is set to the input mode again so that the endoscope performs timed in place detection. Through this method, a single cable is used to realize the transmission of multiple signal forms, signal multiplexing, reduce the number of cables and connector pins, facilitate selection, reduce the system detection cost, and effectively improve the stability and reliability of endoscope communication.

[0080] Based on the functional module perspective, this application also provides an endoscope communication system, such as Figure 3 As shown, Figure 3 The structure diagram of a communication system for an endoscope provided in an embodiment of the present application is applied to a communication circuit including the endoscope described above, and the system includes:

[0081] A setting module 30 is used to set the I / O pin to input mode;

[0082] A first acquisition module 31 is used to obtain a level signal through an I / O pin and determine whether the scope is connected according to the level signal;

[0083] The second acquisition module 32 is used to obtain the control signals of the functional components in the scope if the scope is connected;

[0084] The operating module 33 is used to operate the functional device according to the control signal.

[0085] Since the embodiments of the system part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the system part, and will not be repeated here.

[0086] The endoscope communication system provided in this embodiment corresponds to the above-mentioned endoscope communication method, and thus has the same beneficial effects as the above-mentioned method.

[0087] Figure 4 A structural diagram of a communication device for an endoscope provided in another embodiment of the present application is shown in FIG. Figure 4 As shown, the communication device of the endoscope includes: a memory 20 for storing computer programs;

[0088] The processor 21 is configured to implement the steps of the endoscope communication method mentioned in the above embodiment when executing the computer program.

[0089] The communication device of the endoscope provided in this embodiment may include but is not limited to a smart phone, a tablet computer, a laptop computer or a desktop computer.

[0090] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of a digital signal processor (DSP), a field programmable gate array (FPGA), and a programmable logic array (PLA). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.

[0091] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include high-speed random access memory, and non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used to store the following computer program 201, wherein, after the computer program is loaded and executed by the processor 21, it can implement the relevant steps of the endoscope communication method disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 202 may include Windows, Unix, Linux, etc. The data 203 may include but is not limited to data of the endoscope communication method, etc.

[0092] In some embodiments, the communication device of the endoscope may further include a display screen 22 , an input / output interface 23 , a communication interface 24 , a power supply 25 , and a communication bus 26 .

[0093] Those skilled in the art will understand that Figure 4 The structure shown in the figure does not constitute a limitation on the communication device of the endoscope, and may include more or fewer components than shown in the figure.

[0094] The communication device of an endoscope provided in an embodiment of the present application includes a memory and a processor. When the processor executes a program stored in the memory, it can implement the following method: an endoscope communication method.

[0095] Finally, the present application also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps described in the above method embodiment.

[0096] It is understandable that if the method in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium and executes all or part of the steps of the methods of each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0097] The communication circuit, method, system, device and medium of the endoscope provided by the present application are introduced in detail above. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.

[0098] It should also be noted that, in this specification, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.

Claims

1. A communication circuit for an endoscope, characterized in that: include: A control unit, a first resistor, a switch device, a second resistor, a third resistor, and a fourth resistor; Wherein, the first end of the first resistor is connected to the power supply, and the second end of the first resistor is connected to the I / O pin of the control unit, so as to be recognized by the control unit as a high level when the scope is not connected; The first end of the second resistor is connected to the first end of the third resistor, the second end of the second resistor is grounded, the first end of the third resistor is connected to the second end of the first resistor and the I / O pin of the control unit respectively through the mirror body, the second end of the third resistor is connected to the control end of the switching device, the first end of the fourth resistor is connected to the power supply, the second end of the fourth resistor is connected to the first end of the switching device, and the second end of the switching device is grounded; the first end of the switching device and the second end of the fourth resistor are both connected to the functional device.

2. The communication circuit of the endoscope according to claim 1, characterized in that: The switching device is a triode or a MOS tube.

3. The communication circuit of the endoscope according to claim 2, characterized in that: Also includes: a fifth resistor; The first end of the fifth resistor is respectively connected to the first end of the switch device, the second end of the fourth resistor and the functional device of the mirror body.

4. A communication method for an endoscope, characterized in that: Applied to a communication circuit comprising an endoscope according to any one of claims 1 to 3, the method comprising: Set the I / O pin to input mode; Acquire a level signal through the I / O pin and determine whether the mirror body is connected according to the level signal; If the mirror is connected, obtaining control signals of functional devices in the mirror; The functional device is operated according to the control signal.

5. The endoscope communication method according to claim 4, characterized in that: The switch device is an N-type triode or an N-type MOS transistor, and before operating the functional device according to the control signal, the method further includes: Setting the I / O pin to output mode; The initial level of the functional device is a high level, and the switch device changes from being cut off to being on.

6. The endoscope communication method according to claim 5, characterized in that: The switch device is a P-type triode or a P-type MOS tube, and before operating the functional device according to the control signal, the method further includes: Setting the I / O pin to the output mode; The initial level of the functional device is a low level, and the switch device changes from being on to being off.

7. The endoscope communication method according to claim 5 or 6, characterized in that: After the operating the functional device, the method further includes: After the operation is completed, the I / O pin is reset to the input mode and a timed presence detection is performed.

8. A communication system for an endoscope, characterized in that: Applicable to a communication circuit comprising an endoscope according to any one of claims 1 to 3, the system comprising: The setting module is used to set the I / O pin to input mode; A first acquisition module, configured to acquire a level signal through the I / O pin and determine whether the scope is connected according to the level signal; A second acquisition module is used to acquire control signals of functional components in the scope if the scope is connected; An operating module is used to operate the functional device according to the control signal.

9. A communication device for an endoscope, characterized in that: including a memory for storing a computer program; A processor, configured to implement the steps of the endoscope communication method according to any one of claims 4 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the endoscope communication method according to any one of claims 4 to 7 are implemented.

Citation Information

Patent Citations

  • Endoscope device

    CN103002788A

  • Endoscope cold light source capable of automatically turning off air pump and endoscope system

    CN209059134U