A self-checking method and device of a medical endoscope system and the medical endoscope system

By implementing a self-testing method and device for medical endoscope systems, the working and communication status of the endoscope handle, main unit, and display are self-tested. This solves the problem of reduced accuracy caused by equipment aging and wear and tear, improves the accuracy of pre-use testing, and ensures patient safety.

CN115670349BActive Publication Date: 2026-01-02HANGZHOU HAIKANG HUIYING TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211410701.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-11
Publication Date
2026-01-02
Estimated Expiration
2042-11-11

AI Technical Summary

Technical Problem

Medical equipment may age and suffer mechanical wear after prolonged use, leading to reduced accuracy of test results, affecting the accuracy of diagnosis and treatment, and even endangering patient safety.

Method used

A self-testing method and apparatus for a medical endoscope system are provided. The system performs a self-test on the working and communication status of the endoscope handle, the main unit, and the display through a host computer. This includes determining the test items, executing specified control commands, and comparing results to ensure that the equipment meets preset indicators before use.

Benefits of technology

This improves the self-examination efficiency and comprehensiveness of medical endoscope systems, ensuring high accuracy before use, reducing the risk of misdiagnosis and treatment delays, and protecting patient safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115670349B_ABST
    Figure CN115670349B_ABST
Patent Text Reader

Abstract

The embodiment of the application provides a kind of medical endoscope system self-checking method, device and medical endoscope system, it is related to medical equipment technical field.The method comprises: when detecting that preset self-checking trigger condition is satisfied, determine the detection item to be checked;Control the specified object corresponding to the detection item executes specified control instruction;Get the execution result obtained by the specified object executing the specified control instruction;Based on the comparison result of the execution result and the preset index of the detection item, determine the detection result of the detection item.Compared with the prior art, the scheme provided in the embodiment of the application can make the detection item in the self-checking process have higher depth and breadth, more comprehensively cover each link and equipment in the use process of medical endoscope system, improve the self-checking efficiency and comprehensiveness of medical endoscope system.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of medical equipment, in particular to a self-checking method and device of a medical endoscope system and the medical endoscope system. BACKGROUND

[0002] With the rapid development of medical level, medical staff can more accurately check and treat the patient's condition by using various medical equipment. Therefore, the accuracy of the medical equipment in use is one of the important factors for medical staff to accurately grasp and treat the condition.

[0003] Due to long-term use of the equipment, there may be problems such as equipment aging and mechanical wear and tear, which makes the accuracy of the equipment in use lower, thereby resulting in errors in the results detected by the equipment. However, the errors in the above results may cause delay in diagnosis and treatment of the condition by the medical staff in the medical process, thereby affecting the health of the patient, and even causing harm to the life safety of the patient. SUMMARY

[0004] The purpose of the embodiments of the present application is to provide a self-checking method and device of a medical endoscope system and the medical endoscope system, so that the user can timely adjust the equipment with lower accuracy, thereby improving the accuracy of the equipment in use. The specific technical solutions are as follows:

[0005] In a first aspect, the embodiments of the present application provide a self-checking method of a medical endoscope system, the medical endoscope system comprising a medical endoscope handle, a host and a display, the method being applied to the host and comprising:

[0006] When it is detected that a preset self-checking trigger condition is met, a detection item to be checked is determined; wherein the detection item comprises a detection item about the working state of the medical endoscope handle, a detection item about the working state of the host, and a detection item about the communication state of the host and the display;

[0007] A specified object corresponding to the detection item is controlled to execute a specified control instruction; wherein the specified object is an object required to be utilized to implement the detection item, and the specified control instruction is used to instruct a target operation required to be executed by the specified object in the self-checking process of the detection item;

[0008] An execution result obtained by the specified object executing the specified control instruction is acquired;

[0009] determine the detection result of the detection item based on a comparison result of the execution result and a preset index of the detection item, wherein the preset index is an expected index of the specified object when executing the specified control instruction.

[0010] Optionally, in a specific implementation, the type of the execution result includes a first type of result representing whether the specified object can complete the target operation, and a second type of result representing operation data obtained by the specified object performing the target operation.

[0011] The determining of the detection result of the detection item based on the comparison result of the execution result and the preset index of the detection item includes:

[0012] If the execution result is the first type of result, the detection result of the detection item is determined based on a judgment result of whether the first type of result is the same as the preset index of the detection item.

[0013] If the execution result is the second type of result, the detection result of the detection item is determined based on a judgment result of whether a difference between the second type of result and the preset index of the detection item meets a preset difference condition of the detection item.

[0014] Optionally, in a specific implementation, the detection item about the working state of the handle of the medical endoscope includes a first type of detection item about whether the handle of the medical endoscope can be started, a second type of detection item about whether the handle of the medical endoscope can normally run after being started, and a third type of detection item about a running effect of the handle of the medical endoscope.

[0015] The specified object corresponding to the first type of detection item and the third type of detection item includes the host, and the specified object corresponding to the second type of detection item includes the handle of the medical endoscope.

[0016] Optionally, in a specific implementation, the controlling of the specified object corresponding to the detection item to execute a specified control instruction includes:

[0017] For the first type of detection item, the host is controlled to execute an instruction for instructing to obtain a power supply voltage of the handle of the medical endoscope.

[0018] For the second type of detection item, the handle of the medical endoscope is controlled to execute an instruction for instructing to perform the target operation.

[0019] For the third type of detection item, the host is controlled to execute an instruction for instructing acquisition of target image data of the collection image of the handle of the medical endoscope; wherein the target image data is image data required for determining a detection result of the third type of detection item.

[0020] Optionally, in a specific implementation, the third type of detection item includes a detection item about a central deviation of the handle of the medical endoscope; and the control of the host to execute the instruction for instructing acquisition of the target image data of the collection image of the handle of the medical endoscope includes:

[0021] The host is controlled to execute an instruction for instructing acquisition of a target center frame of the collection image of the handle of the medical endoscope.

[0022] Optionally, in a specific implementation, the control of the specified object corresponding to the detection item to execute the specified control instruction includes:

[0023] For the detection item about the working state of the host and the detection item about the communication state of the host and the display, the host is controlled to execute an instruction for instructing acquisition of target device data; wherein the target device data is device data of the host for determining a detection result of the detection item.

[0024] Optionally, in a specific implementation, the host includes a plurality of functional chips, the detection item about the working state of the host includes a fourth type of detection item about a running state of the plurality of functional chips, a fifth type of detection item about a communication state between the plurality of functional chips, and a sixth type of detection item about an information output state of a communication interface of the host;

[0025] The control of the host to execute the instruction for instructing acquisition of the target device data includes:

[0026] For the fourth type of detection item, the host is controlled to execute an instruction for instructing acquisition of state information of each of the functional chips;

[0027] For the fifth type of detection item, the host is controlled to execute an instruction for instructing acquisition of first type of data stream information; wherein the first type of data stream information is data stream information transmitted between two of the functional chips having a mutual communication function in a communication process of the two functional chips;

[0028] For the sixth type of detection item, the host is controlled to execute an instruction for instructing acquisition of second type of data stream information; wherein the second type of data stream information is data stream information of each of the communication interfaces of the host when performing data transmission.

[0029] Optionally, in an implementation, the control of the host to execute instructions for instructing the collection of target device data comprises:

[0030] For the detection item about the communication state of the host and the display, the control of the host to execute instructions for instructing the acquisition of display parameters of to-be-displayed information of the display feedback, and the control of the host to execute instructions for instructing the acquisition of preset display parameters about the to-be-displayed information.

[0031] The to-be-displayed information is sent by the host to the display, the display parameters are parameters used to represent the display effect of the to-be-displayed information when the display displays the to-be-displayed information, and the preset display parameters are stored in a register of the host in advance.

[0032] Optionally, in an implementation, the method further comprises:

[0033] When the detection result represents that the detection item is abnormal, based on the comparison result, adjustment data about the detection item is determined, and the detection result and the adjustment data are outputted.

[0034] The adjustment data is data used to adjust the system so that the detection result is normal.

[0035] In a second aspect, the embodiments of the present application provide a self-checking device of a medical endoscope system, the medical endoscope system comprising a medical endoscope handle, a host and a display, the device being applied to the host and comprising:

[0036] An item determination module is configured to determine a detection item to be self-checked when a preset self-checking trigger condition is met, wherein the detection item comprises a detection item about the working state of the medical endoscope handle, a detection item about the working state of the host, and a detection item about the communication state of the host and the display.

[0037] A control module is configured to control a designated object corresponding to the detection item to execute a designated control instruction, wherein the designated object is an object required to be utilized to implement the detection item, and the designated control instruction is used to instruct a target operation required to be executed by the designated object in the self-checking process of the detection item.

[0038] An execution result acquisition module is configured to acquire an execution result obtained by the designated object executing the designated control instruction.

[0039] The detection result determination module is configured to determine the detection result of the detection item based on a comparison result of the execution result and a preset index of the detection item, wherein the preset index is an expected index of the specified object when executing the specified control instruction.

[0040] Optionally, in some embodiments, the type of the execution result includes a first type of result representing whether the specified object can complete the target operation, and a second type of result representing operation data obtained by the specified object performing the target operation.

[0041] The detection result determination module is specifically configured to:

[0042] If the execution result is the first type of result, the detection result of the detection item is determined based on a judgment result of whether the first type of result is the same as the preset index of the detection item.

[0043] If the execution result is the second type of result, the detection result of the detection item is determined based on a judgment result of whether a difference between the second type of result and the preset index of the detection item meets a preset difference condition of the detection item.

[0044] Optionally, in some embodiments, the detection item about the working state of the handle of the medical endoscope includes a first type of detection item about whether the handle of the medical endoscope can be started, a second type of detection item about whether the handle of the medical endoscope can normally run after being started, and a third type of detection item about a running effect of the handle of the medical endoscope.

[0045] The specified object corresponding to the first type of detection item and the third type of detection item includes the host, and the specified object corresponding to the second type of detection item includes the handle of the medical endoscope.

[0046] Optionally, in some embodiments, the control module includes:

[0047] The first control submodule is configured to control the host to execute an instruction for instructing to obtain a power supply voltage of the handle of the medical endoscope for the first type of detection item.

[0048] The second control submodule is configured to control the handle of the medical endoscope to execute an instruction for the second type of detection item.

[0049] a third control submodule, configured to control the host to execute an instruction for instructing to acquire target image data of a collection image of the handle of the medical endoscope, for the third type of detection item; the target image data is image data required for determining a detection result of the third type of detection item.

[0050] Optionally, in a specific implementation, the third type of detection item includes a detection item about a central deviation of the handle of the medical endoscope; and the third control submodule is specifically configured to:

[0051] control the host to execute an instruction for instructing to acquire a target center frame of the collection image of the handle of the medical endoscope.

[0052] Optionally, in a specific implementation, the control module is specifically configured to:

[0053] for the detection item about the working state of the host and the detection item about the communication state between the host and the display, control the host to execute an instruction for instructing to acquire target device data; the target device data is device data of the host used for determining a detection result of the detection item.

[0054] Optionally, in a specific implementation, the host includes a plurality of functional chips, the detection item about the working state of the host includes a fourth type of detection item about a working state of the plurality of functional chips, a fifth type of detection item about a communication state between the plurality of functional chips, and a sixth type of detection item about an information output state of a communication interface of the host;

[0055] the control module includes:

[0056] a fourth control submodule, configured to control the host to execute an instruction for instructing to acquire state information of each of the functional chips, for the fourth type of detection item;

[0057] a fifth control submodule, configured to control the host to execute an instruction for instructing to acquire first type of data stream information, for the fifth type of detection item; the first type of data stream information is data stream information transmitted between two of the functional chips having a mutual communication function in a communication process of the two functional chips;

[0058] a sixth control submodule, configured to control the host to execute an instruction for instructing to acquire second type of data stream information, for the sixth type of detection item; the second type of data stream information is data stream information of each of the communication interfaces of the host when performing data transmission.

[0059] Optionally, in an implementation form, the control module is specifically configured to:

[0060] For the detection item about the communication state of the host and the display, the host is controlled to execute an instruction for instructing to acquire a display parameter of to-be-displayed information of the display feedback, and the host is controlled to execute an instruction for instructing to acquire a preset display parameter about the to-be-displayed information.

[0061] The to-be-displayed information is sent by the host to the display, the display parameter is a parameter used for representing a display effect of the to-be-displayed information when the display displays the to-be-displayed information, and the preset display parameter is pre-stored in a register of the host.

[0062] Optionally, in an implementation form, the apparatus further includes:

[0063] The output module is configured to, when the detection result represents that the detection item is abnormal, determine adjustment data about the detection item based on the comparison result, and output the detection result and the adjustment data.

[0064] The adjustment data is data used for adjusting the system so as to make the detection result normal.

[0065] In a third aspect, an embodiment of the present application provides a medical endoscope system, comprising:

[0066] The memory is configured to store a computer program.

[0067] The processor is configured to, when executing the program stored in the memory, implement the steps of the self-checking method of any medical endoscope system provided in the first aspect.

[0068] In a fourth aspect, an embodiment of the present application provides a computer readable medium, and the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps of the self-checking method of any medical endoscope system provided in the first aspect.

[0069] In a fifth aspect, an embodiment of the present application provides a computer program product containing instructions, which, when executed on a computer, cause the computer to perform the steps of the self-checking method of any medical endoscope system provided in the first aspect.

[0070] The embodiments of the present application have the following beneficial effects:

[0071] It can be seen that, by using the scheme provided in the embodiments of the present application, a medical endoscope system including a medical endoscope handle, a host and a display can be set up. Before the medical endoscope system works, the host can detect whether the medical endoscope system meets a preset self-check triggering condition, so that when it is detected that the medical endoscope system meets the preset self-check triggering condition, self-check can be started.

[0072] When the host detects that the medical endoscope system meets the preset self-check triggering condition, the detection items to be checked can be determined, wherein the detection items include a detection item about the working state of the medical endoscope handle, a detection item about the working state of the host, and a detection item about the communication state of the host and the display. In this way, the host can control the specified object required to be used for implementing the detection items corresponding to the detection items, execute a specified control instruction for instructing the target operation required to be executed by the specified object in the self-check process of the detection items, so that the execution result obtained by the specified object executing the specified control instruction can be obtained. In order to improve the effectiveness of the detection result, the expected index of the specified object when executing the specified control instruction can be set as a preset index, so that after the execution result is obtained, the detection result of the detection item can be determined based on the comparison result of the execution result and the preset index of the detection item.

[0073] Based on this, by using the scheme provided in the embodiments of the present application, before the medical endoscope system works, the host of the medical endoscope system can perform self-check on the detection item about the working state of the medical endoscope handle, the detection item about the working state of the host, and the detection item about the communication state of the host and the display, so that the detection items in the self-check process can have high depth and breadth, and various links and devices in the use process of the medical endoscope system can be more comprehensively covered, thereby improving the self-check efficiency and comprehensiveness of the medical endoscope system. BRIEF DESCRIPTION OF DRAWINGS

[0074] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or the prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other embodiments can also be obtained by those skilled in the art based on these drawings.

[0075] Figure 1 A flowchart of a self-check method of a medical endoscope system provided in an embodiment of the present application;

[0076] Figure 2 A flowchart of another self-check method of a medical endoscope system provided in an embodiment of the present application;

[0077] Figure 3 A medical endoscope system provided by an embodiment of the present application is a flowchart of a specific embodiment of an execution subject;

[0078] Figure 4 For Figure 3 An internal structure diagram of a medical endoscope system shown in the figure;

[0079] Figure 5 A schematic diagram of the center detection of the handle provided by the embodiment of the present application;

[0080] Figure 6 A structure diagram of a medical endoscope system provided by an embodiment of the present application;

[0081] Figure 7 A structure diagram of a self-checking device of a medical endoscope system provided by an embodiment of the present application;

[0082] Figure 8 A structure diagram of a medical endoscope system provided by an embodiment of the present application. DETAILED DESCRIPTION

[0083] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art based on the present application belong to the scope of protection of the present application.

[0084] With the rapid development of medical level, medical staff can more accurately check and treat the patient's condition by using various medical equipment. Therefore, the accuracy of the medical equipment in use is one of the important factors for medical staff to accurately grasp and treat the condition. Due to long-term use of the equipment, there may be problems such as equipment aging and mechanical wear, which makes the accuracy of the equipment in use lower, so that the result detected by the equipment has errors. However, the errors in the above results may cause delay in diagnosis and treatment of the condition by medical staff in the medical process, thereby affecting the health of the patient, and even causing harm to the life safety of the patient.

[0085] In order to solve the above technical problems, the self-checking method of the medical endoscope system provided by the embodiments of the present application.

[0086] The method is suitable for various application scenarios of self-checking of a medical endoscope system, for example, a medical endoscope system related to a gastroscope, and for example, a medical endoscope system related to a colonoscope, and the like. Moreover, the method can be applied to a host of the medical endoscope system. Therefore, embodiments of the present application do not limit the application scenarios and execution subjects of the method.

[0087] As shown in the example of FIG. 1, a medical endoscope system is provided. Figure 6

[0088] The medical endoscope system includes a host 610, a display 620, and a medical endoscope handle 630.

[0089] The host 610 of the medical endoscope system is an electronic device for information interaction with the medical endoscope handle 630 and the display 620 of the medical endoscope system.

[0090] The display 620 of the medical endoscope system is an electronic device for providing display services for the host 610. For example, a display screen of a desktop computer, a tablet computer, a television, or the like.

[0091] The medical endoscope is a medical optical instrument that can be inserted into a body cavity and an internal cavity of an organ for direct observation, diagnosis, and treatment. Through the medical endoscope, the tissue morphology of an internal organ of the human body can be directly observed, thereby improving the accuracy of diagnosis.

[0092] The medical endoscope system is determined by the type of the medical endoscope handle. For example, the medical endoscope handle in the medical endoscope system for diagnosing and treating the respiratory system is a handle specially used for observing the respiratory system, the medical endoscope handle in the medical endoscope system for diagnosing and treating the peritoneal membrane is a handle specially used for observing the peritoneal membrane, and the like.

[0093] In addition, the medical endoscope system can be divided into a hard tube endoscope system, an optical fiber endoscope system, and an electronic endoscope system according to its imaging structure. The medical endoscope system is briefly introduced below by taking the electronic endoscope system as an example.

[0094] The electronic endoscope system mainly includes a medical endoscope, a host, and a display. Its imaging mainly depends on a micro image sensor (charge coupled device, CCD) equipped at the front end of the medical endoscope handle. The main function of the CCD is to convert an optical signal into an electrical signal, that is, a micro video camera sends an image to a screen of the display after processing the image by an image processor, so that the screen displays the image.

[0095] ​Medical staff inserts a micro image sensor equipped at a front end of a handle of a medical endoscope into a patient's body by operating the handle, thereby observing the tissue morphology of the patient's internal organs using images captured by the micro image sensor, and then performing diagnosis and treatment.

[0096] In addition, the electronic endoscope system is composed of three main parts of the medical endoscope, the host and the display, and can be equipped with some auxiliary devices such as a video recorder, a camera, a suction device and various treatment instruments used for diagnosis and treatment.

[0097] It should be noted that in the technical solution of the present application, the acquisition, storage, use, processing, transmission, provision and disclosure of various types of data information are all carried out after authorization.

[0098] The self-checking method of the medical endoscope system provided by the embodiment of the present application includes a medical endoscope handle, a host and a display, and is applied to the host and can include the following steps:

[0099] When it is detected that the preset self-checking trigger condition is met, a detection item to be self-checked is determined; wherein the detection item includes a detection item about the running state of the medical endoscope handle, a detection item about the running state of the host, and a detection item about the communication state of the host and the display;

[0100] A specified control instruction is controlled to be executed by a specified object corresponding to the detection item; wherein the specified object is an object required to be utilized to implement the detection item, and the specified control instruction is used to instruct a target operation required to be executed by the specified object in the self-checking process of the detection item;

[0101] An execution result obtained by the specified object executing the specified control instruction is acquired;

[0102] A detection result of the detection item is determined based on a comparison result of the execution result and a preset index of the detection item; wherein the preset index is an expected index of the specified object when executing the specified control instruction.

[0103] As can be seen above, by applying the scheme provided by the embodiment of the present application, a medical endoscope system including a medical endoscope handle, a host and a display can be set. Before the above medical endoscope system works, the above host can detect whether the above medical endoscope system meets a preset self-checking trigger condition, so that when it is detected that the above medical endoscope system meets the preset self-checking trigger condition, self-checking can be started.

[0104] When the host detects that the medical endoscope system meets the preset self-check trigger condition, the host can determine the detection items to be checked, wherein the detection items include: a detection item about the working state of the medical endoscope handle, a detection item about the working state of the host, and a detection item about the communication state between the host and the display. In this way, the host can control the specified object required to implement the detection item corresponding to the detection item, execute the specified control instruction for instructing the target operation required to be performed by the specified object in the self-check process of the detection item, so that the execution result obtained by the specified object executing the specified control instruction can be obtained. In order to improve the effectiveness of the detection result, the expected index of the specified object when executing the specified control instruction can be set as a preset index, so that after the execution result is obtained, the detection result of the detection item can be determined based on the comparison result of the execution result and the preset index of the detection item.

[0105] Therefore, by applying the scheme provided in the embodiments of the present application, before the medical endoscope system works, the host of the medical endoscope system can perform self-check on the detection items about the working state of the medical endoscope handle, the working state of the host, and the communication state between the host and the display, so that the detection items in the self-check process can have higher depth and breadth, and can more comprehensively cover each link and device in the use process of the medical endoscope system, thereby improving the self-check efficiency and comprehensiveness of the medical endoscope system.

[0106] Next, a self-check method of a medical endoscope system provided by the embodiments of the present application will be described in detail with reference to the accompanying drawings.

[0107] Figure 1 A flowchart of the self-check method of a medical endoscope system provided by the embodiments of the present application is shown in FIG. 1, and the method includes the following steps S101-S104. Figure 1

[0108] S101: When it is detected that a preset self-check trigger condition is met, determine the detection items to be checked;

[0109] The detection items include: a detection item about the working state of the medical endoscope handle, a detection item about the working state of the host, and a detection item about the communication state between the host and the display;

[0110] S102: Control the specified object corresponding to the detection item to execute the specified control instruction;

[0111] The specified object is an object required to implement the detection item, and the specified control instruction is used to instruct the target operation required to be performed by the specified object in the self-check process of the detection item.​

[0112] The medical endoscope handle, the main machine and the display included in the medical endoscope system may be damaged, aged and mechanically worn due to improper operation during long-term use, thereby reducing the accuracy of the medical endoscope system during use.

[0113] Therefore, in order to improve the accuracy of the medical endoscope system during use, it is desirable to perform self-checking on the running state of the medical endoscope system before use. Therefore, the medical endoscope system can be provided with a self-checking function, such as setting a self-checking program package in the medical endoscope system or adding a self-checking module to the medical endoscope system. At the same time, the medical endoscope system can also be provided with a self-checking trigger condition for the self-checking function.

[0114] The self-checking refers to the process of detecting the running state of the device according to the use process of each device function involved by the user during actual use of the device. Therefore, the specified control instruction can be understood as an instruction sent by the user when operating the device function.

[0115] That is, the process of the user operating the medical endoscope system can be equivalent to the process of the user continuously issuing instructions to the medical endoscope system, so that the medical endoscope system responds to the instructions, performs the target operation corresponding to the instructions, and feeds back the result to the user. Therefore, the program code of each instruction issued by the user during actual operation can be extracted, and the specified control instruction can be written according to the extracted program code.

[0116] In this way, when the medical endoscope system performs device self-checking, the specified object corresponding to the detection item to be self-checked can be controlled to execute the specified control instruction corresponding to the detection item according to the determined detection item to be self-checked, thereby restoring the process of the user operating the medical endoscope system by completing the operation corresponding to the specified control instruction, and further completing the detection of the medical endoscope system before use.

[0117] That is, the process of the medical endoscope system performing self-checking can be the same as the process of the user detecting the medical endoscope system by manual operation, thereby reducing the labor cost and improving the work efficiency of the user.

[0118] In addition, the preset self-checking trigger condition of the medical endoscope system can include a plurality of conditions.

[0119] Optionally, when the main machine included in the medical endoscope system is powered on, the detection item to be self-checked is determined.

[0120] That is, when it is detected that the host included in the medical endoscope system is powered on, the device self-check can be started. Therefore, the power-on of the host included in the medical endoscope system can be taken as the self-check trigger condition of the medical endoscope system.

[0121] In this way, when it is detected that the host included in the medical endoscope system is powered on, the host can determine the detection items to be checked, so that the self-check method of the medical endoscope system provided in the embodiments of the present application can be executed before the medical endoscope system is used, and the device self-check is completed. In this way, the medical endoscope system can automatically perform the device self-check when it is detected that the host is powered on, the automaticity of the device self-check is improved, and the possibility that the device accuracy is low and the information collected is unreliable due to the user forgetting to perform the device self-check can be reduced.

[0122] In some cases, the user can send a self-check start instruction to the host included in the medical endoscope system, so that the host can execute the self-check method of the medical endoscope system provided in the embodiments of the present application when it is detected that the self-check start instruction is detected.

[0123] Optionally, the detection items to be checked are determined when the self-check start instruction for the medical endoscope system is detected.

[0124] That is, when the self-check start instruction for the medical endoscope system is detected, the device self-check can be started. Therefore, the detection of the self-check start instruction for the medical endoscope system can be taken as the self-check trigger condition of the medical endoscope system.

[0125] In this way, when the self-check start instruction for the medical endoscope system is detected, the medical endoscope system can determine the detection items to be checked, so that the self-check method of the medical endoscope system provided in the embodiments of the present application can be executed before the medical endoscope system is used, and the device self-check is completed.

[0126] The self-check start instruction can be a point selection operation of the user, an input operation of the user, or the like. The embodiments of the present application do not make specific limitations in this regard.

[0127] In this way, the user can issue the self-check start instruction to the medical endoscope system according to the user's own needs, so that the medical endoscope system can determine the detection items to be checked when the self-check start instruction for the medical endoscope system is detected, and start to check the running state of itself.

[0128] For example, before the medical endoscope system A is used, the user can select the self-check start button for the medical endoscope system A by a point selection operation, thereby issuing a self-check start instruction to the medical endoscope system A. In this way, when the medical endoscope system A detects the self-check start instruction for the medical endoscope system A, the detection item to be checked can be determined.

[0129] In some cases, the medical endoscope system can be in a long-time operation state. During the long-time use of the medical endoscope system, due to improper operation or other external factors, there can be problems such as poor contact and reduced accuracy of each component inside or outside the device. Therefore, in order to improve the accuracy of the medical endoscope system during use, the medical endoscope system can detect its running state according to a preset period during long-time use.

[0130] Based on this, optionally, during the power-on process of the host of the medical endoscope system, when it is detected that the time length from the last device self-check time reaches a preset time length, the detection item to be checked can be determined.

[0131] That is, during the power-on process of the host of the medical endoscope system, when it is detected that the time length from the last device self-check time reaches a preset time length, the device self-check can be started. Therefore, the detection that the time length from the last device self-check time reaches a preset time length during the power-on process of the host of the medical endoscope system can be used as the self-check trigger condition of the medical endoscope system.

[0132] Therefore, the preset time length can be set in advance. If the time length used during the power-on process of the host of the medical endoscope system is greater than the preset time length, the host of the medical endoscope system can execute the self-check method of the medical endoscope system provided in the present application to complete the device self-check.

[0133] In this way, during the power-on process of the medical endoscope system, when it is detected that the time length from the last device self-check time reaches a preset time length, the medical endoscope system can determine the detection item to be checked, thereby executing the self-check method of the medical endoscope system provided in the present application to complete the device self-check before the medical endoscope system is used again.

[0134] For example, the preset time length is 8 hours. In the power-on process of the medical endoscope system A, the time of first performing the device self-check is 12:31:58 on September 20, 2022, and at 20:31:58 on September 20, 2022, it is detected that the time length from the time of first performing the device self-check 12:31:58 on September 20, 2022 reaches the preset time length 8 hours, and therefore the medical endoscope system A can determine the detection items to be checked, and before the medical endoscope system A is used again, the self-check method of the medical endoscope system provided in the application is executed to complete the device self-check.

[0135] In this way, when it is detected that the preset self-check triggering condition is met, the medical endoscope system can determine the detection items to be checked.

[0136] Generally, in order to check the medical endoscope system, the detection items to be checked can be preset according to each device function involved in the actual use of the medical endoscope system by the user.

[0137] Therefore, the detection items to be checked can include detection items about the working state of the medical endoscope handle, detection items about the working state of the host, and detection items about the communication state between the host and the display.

[0138] For each detection item, the object to be used to implement the detection item is determined as the specified object of the detection item, and the control instruction for indicating the target operation to be performed by the specified object in the self-check process of the detection item is determined as the specified control instruction of the detection item.

[0139] That is, in the implementation of a detection item, the target operation corresponding to the detection item is completed by a device in the medical endoscope system performing the target operation. The target operation is indicated by the specified control instruction corresponding to the detection item, and the device performing the target operation is the object to be used to implement the detection item, i.e., the specified object of the detection item in the application, so that the specified control instruction of the detection item is used to indicate the target operation to be performed by the specified object in the self-check process of the detection item.

[0140] For example, when implementing a detection item about the image acquisition function of the medical endoscope handle, the user expects that the medical endoscope handle can acquire an image of the observed object, and thus a collection instruction for controlling the medical endoscope handle to acquire an image can be generated for the detection item. At this time, for the detection item about the image acquisition function of the medical endoscope handle, the specified object of the detection item is the medical endoscope handle, the target operation required to complete the detection item is to acquire an image, and the specified control instruction of the detection item is used to instruct the medical endoscope handle to perform the target operation of acquiring an image.

[0141] In this way, after the host determines the detection items to be self-checked, the specified object corresponding to each detection item to be self-checked can be controlled to perform the specified control instruction.

[0142] S103: Obtain an execution result obtained by the specified object performing the specified control instruction;

[0143] S104: Determine a detection result of the detection item based on a comparison result of the execution result and a preset index of the detection item;

[0144] The preset index is an expected index of the specified object when performing the specified control instruction.

[0145] After determining the detection items to be self-checked, the specified object corresponding to each detection item can be controlled to perform the specified control instruction corresponding to the detection item, so as to obtain an execution result obtained by the specified object performing the specified control instruction.

[0146] Since for each detection item, the user has an expected result of the specified object corresponding to the detection item performing the specified control instruction corresponding to the detection item, and the user can determine whether the detection item is normal by comparing the expected result of the detection item with an actual detection result of the detection item.

[0147] Therefore, the expected index corresponding to the expected result can be used as a preset index for determining whether the detection item is normal. In this way, for each detection item, the detection result of the detection item can be determined by comparing the detection result of the detection item with the preset index of the detection item, so as to determine whether the detection item can normally operate.

[0148] In some cases, the specified control instruction can be an instruction for controlling the specified object in the medical endoscope system to perform a target operation, so that the medical endoscope system presents a specified state.

[0149] That is, the execution result of the specified control instruction is a specified result, i.e., the execution result is determined. For example, the specified control instruction instructs the host to jump to a page, and the execution result of the specified control instruction is to jump to the specified page. Therefore, for this type of specified control instruction, a preset index can be set in advance for the detection item corresponding to the specified control instruction, so that after the execution result is obtained, the detection result of the detection item can be determined directly according to whether the execution result and the preset index are the same.

[0150] Correspondingly, in some other cases, the specified control instruction can be an instruction for controlling a specified object in a medical endoscope system to perform a target operation. Therefore, the execution result of the specified control instruction is operation data obtained after the specified object performs the target operation. The evaluation of whether the target operation is performed accurately is obtained according to the relevant data obtained by the target operation. Therefore, after the execution result of the specified control instruction is obtained, the relevant data and the preset index can be determined as the detection result of the detection item corresponding to the specified control instruction.

[0151] Therefore, in an optional specific implementation, the type of the execution result includes a first type of result representing whether the specified object can complete the target operation, and a second type of result representing operation data obtained by the specified object performing the target operation.

[0152] Correspondingly, the step S104 can include steps 1041 and 1042 as follows:

[0153] Step 1041: If the execution result is the first type of result, the detection result of the detection item is determined based on whether the first type of result and the preset index of the detection item are the same.

[0154] Step 1042: If the execution result is the second type of result, the detection result of the detection item is determined based on whether a difference between the second type of result and the preset index of the detection item satisfies a preset difference condition of the detection item.

[0155] In this specific implementation, if the execution result is the first type of result representing whether the specified object can complete the target operation corresponding to the detection item, a preset index of the detection item can be set in advance. Therefore, when the obtained target operation is the first type of result, the host can determine the detection result of the detection item based on whether the first type of result and the preset index of the detection item are the same.

[0156] For example, the detection item is a second type of detection item about whether the handle of the medical endoscope can normally operate after being started, the specified object corresponding to the second type of detection item includes the handle of the medical endoscope of the medical endoscope system, and the preset index of the detection item is that the camera of the handle moves forward by a specified distance. Therefore, the camera of the handle can be controlled to move forward by 1 cm, so as to determine whether the first type of result is the same as the preset index of the detection item.

[0157] If the execution result indicates that the camera of the handle moves forward by 1 cm, the result indicates that the specified object corresponding to the detection item can complete the target operation corresponding to the detection item, and the host can determine that the result is the same as the preset index of the detection item, and the detection result of the detection item is normal.

[0158] If the execution result indicates that the camera does not move, the result indicates that the specified object corresponding to the detection item cannot complete the target operation corresponding to the detection item, and the host can determine that the result is different from the preset index of the detection item, and the detection result of the detection item is abnormal.

[0159] Correspondingly, if the execution result is a second type of result indicating operation data obtained by the specified object performing the target operation corresponding to the detection item, the preset index of the detection item can be set in advance. Therefore, when the obtained execution result is the second type of result, the host can determine the detection result of the detection item based on a result of determining whether a difference between the second type of result and the preset index of the detection item satisfies a preset difference condition of the detection item.

[0160] For example, the detection item is a detection item about a communication state between the host and the display, the specified object corresponding to the detection item includes the host of the medical endoscope system, and the preset difference condition of the detection item is that an error between a communication data stream of the host and the display in a communication process and a preset communication data stream is less than a preset data stream. Therefore, the host can be controlled to collect the communication data stream of the host and the display in the communication process, so as to determine whether the error between the communication data stream of the host and the display in the communication process and the preset communication data stream is less than the preset data stream.

[0161] If the error between the communication data stream and the preset communication data stream of the detection item is less than the preset data stream, the host can determine that the detection result of the detection item is normal.

[0162] If the error between the communication data stream and the preset communication data stream of the detection item is not less than the preset data stream, the host can determine that the detection result of the detection item is abnormal.

[0163] Due to the medical endoscope system in the long use process, there may be due to the existence of equipment aging and mechanical wear and tear and other problems, resulting in the precision of the medical endoscope system is low when using. For the hospital, the precision of the medical equipment in use is low, which may lead to the delay of the medical staff in diagnosing and treating the disease, so as to affect the health of the patient, and even endanger the life safety of the patient. However, the production cost of medical equipment is high, and if the whole set of medical equipment is replaced because of small measurement error, it is a large expense for the hospital.

[0164] Therefore, in order to improve the service life of the medical endoscope system, when the detection result represents that the detected detection item is abnormal, the host of the medical endoscope system can output adjustment data for the detection item by comparing the difference between the detection result and the preset index of the detection item, so that the user can adjust the specified object corresponding to the detection item, so that the medical endoscope system can continue to be used, and thus the cost of the user is reduced.

[0165] Based on this, optionally, in one specific embodiment, as shown in Figure 2 the flowchart of the device self-checking method provided by the embodiment of the application, the method can further include the following step S105:

[0166] S105: when the detection result represents that the detection item is abnormal, determining the adjustment data for the detection item based on the comparison result, and outputting the detection result and the adjustment data;

[0167] Among them, the adjustment data is: the data used to adjust the system to make the detection result normal.

[0168] In the present specific implementation, when the detection result represents that the detection item is abnormal, the medical endoscope system can obtain the adjustment data for the detection item for adjusting the medical endoscope system to make the detection result normal according to the comparison result of the detection result and the preset index of the corresponding detection item.

[0169] In this way, after the host obtains the adjustment data for the detection item, it can output the detection result and the adjustment data, so that the user can evaluate the risk level of the medical endoscope system in use according to the detection result and the adjustment data, and adjust the specified object corresponding to the detection item that needs to be adjusted in the medical endoscope system, thereby improving the precision and reliability of the medical endoscope system in use.

[0170] Since there can be multiple detection results of the characteristic detection items being abnormal in the self-checking process of the medical endoscope system, the medical endoscope system can integrate the multiple detection results and output the integrated detection results. In this way, the user can evaluate the risk level of the medical endoscope system in use according to the integrated detection results, thereby improving the reliability of the target device in use.

[0171] Moreover, optionally, the adjustment data corresponding to the detection results of the characteristic detection items being abnormal can be integrated based on the user demand and the integrated adjustment data is output. In this way, the user can adjust the specified object corresponding to the detection items needing adjustment in the medical endoscope system according to the integrated adjustment data, thereby improving the accuracy of the medical endoscope system in use.

[0172] The output mode of the detection results and the adjustment data can be one or more of sending an email to a specified user account, outputting to a display screen, voice broadcasting, etc. For this, the embodiments of the present application are not limited.

[0173] Optionally, after outputting the detection results and the adjustment data, the medical endoscope system can send alarm information to the user to prompt the user that the medical endoscope system needs adjustment. The alarm information can include one or more of voice information, text information, sound information, and vibration information. For this, the embodiments of the present application are not limited.

[0174] As can be seen above, by applying the scheme provided by the embodiments of the present application, a medical endoscope system including a medical endoscope handle, a host, and a display can be set. Before the medical endoscope system works, the host can detect whether the medical endoscope system meets the preset self-check triggering condition, thereby starting the self-checking when it is detected that the medical endoscope system meets the preset self-check triggering condition.

[0175] When the host detects that the medical endoscope system meets the preset self-check trigger condition, the host can determine a detection item to be self-checked, wherein the detection item includes a detection item about the working state of the medical endoscope handle, a detection item about the working state of the host, and a detection item about the communication state of the host and the display. In this way, the host can control a specified object required to be used for implementing the detection item corresponding to the detection item, execute a specified control instruction for instructing a target operation required to be performed by the specified object in the self-check process of the detection item, so that an execution result obtained by the specified object executing the specified control instruction can be acquired. In order to improve the effectiveness of the detection result, the expected index of the specified object when executing the specified control instruction can be set as a preset index, so that after the execution result is obtained, the detection result of the detection item can be determined based on a comparison result of the execution result and the preset index of the detection item.

[0176] Based on this, by applying the scheme provided in the embodiments of the present application, before the medical endoscope system works, the host of the medical endoscope system can self-check the detection item about the working state of the medical endoscope handle, the detection item about the working state of the host, and the detection item about the communication state of the host and the display, so that the detection items in the self-check process can have higher depth and breadth, and more comprehensively cover each link and device in the use process of the medical endoscope system, and improve the self-check efficiency and comprehensiveness of the medical endoscope system.

[0177] Generally, in order to detect the medical endoscope system, the detection item to be self-checked can be set in advance according to each device function involved in the actual use of the medical endoscope system by the user. The detection item to be self-checked can include the detection item about the working state of the medical endoscope handle, the detection item about the working state of the host, and the detection item about the communication state of the host and the display.

[0178] Optionally, in a specific implementation manner, the detection item about the working state of the medical endoscope handle can include a first type of detection item about whether the medical endoscope handle can be started, a second type of detection item about whether the medical endoscope handle can normally run after being started, and a third type of detection item about the running effect of the medical endoscope handle. The specified object corresponding to the first type of detection item and the third type of detection item includes the host, and the specified object corresponding to the second type of detection item includes the medical endoscope handle.

[0179] In the specific implementation, in order to detect the medical endoscope handle, the detection items about the working state of the medical endoscope handle can be set in advance according to the functions of each device involved in the actual use of the medical endoscope handle by the user.

[0180] In the working process of the medical endoscope handle, three stages can usually be included: handle starting, running of the handle keys after starting, and analysis of the image effect of the collected images after the collected images are collected. Therefore, the detection items about the working state of the medical endoscope handle can include the first type of detection item about whether the medical endoscope handle can be started, the second type of detection item about whether the medical endoscope handle can normally run after starting, and the third type of detection item about the running effect of the medical endoscope handle.

[0181] In the first type of detection item, since the host provides voltage for the medical endoscope handle in the medical endoscope system, whether the power supply voltage of the medical endoscope handle is normal can be determined by the host, that is, for the first type of detection item, the specified object corresponding to the detection item includes the host.

[0182] In the second type of detection item, whether the medical endoscope handle can normally run after starting is determined by the keys of the medical endoscope handle itself, so for the second type of detection item, the specified object corresponding to the detection item includes the medical endoscope handle.

[0183] In the third type of detection item, the running effect of the medical endoscope handle can be determined by the host in analyzing the image effect of the collected images of the medical endoscope handle, so whether the third type of detection item about the running effect of the medical endoscope handle is normal can be determined, and therefore for the third type of detection item, the specified object corresponding to the detection item includes the host.

[0184] In this way, after the detection items of the medical endoscope handle of the medical endoscope system to be detected are determined, the specified object corresponding to the detection item can be controlled to execute the specified control instruction to detect the medical endoscope handle, so that the medical endoscope handle completes the self-detection.

[0185] Optionally, in the specific implementation, when the detection items about the working state of the medical endoscope handle include the first type of detection item about whether the medical endoscope handle can be started, the second type of detection item about whether the medical endoscope handle can normally run after starting, and the third type of detection item about the running effect of the medical endoscope handle, the step S102 of controlling the specified object corresponding to the detection item to execute the specified control instruction can include the following steps 1021-1023:

[0186] Step 1021: For the first type of detection item, the host is controlled to execute an instruction for instructing to acquire the power supply voltage of the medical endoscope handle;

[0187] Step 1022: For the second type of detection item, the medical endoscope handle is controlled to execute an instruction for instructing to perform a target operation;

[0188] Step 1023: For the third type of detection item, the host is controlled to execute an instruction for instructing to acquire target image data of the captured image of the medical endoscope handle;

[0189] The target image data is image data required for determining the detection result of the third type of detection item.

[0190] In the specific implementation, the specified control instruction executed is different in different detection items, and thus the type of the obtained execution result is different.

[0191] Since the power supporting the operation of the medical endoscope handle is provided by the host of the medical endoscope system, and different medical endoscopes require different power supply voltages, the medical endoscope handle can be started when the voltage provided by the host is the power supply voltage suitable for the medical endoscope handle.

[0192] Therefore, for the first type of detection item, the specified object corresponding to the detection item is the host, and thus the host can be controlled to execute an instruction for instructing to acquire the power supply voltage of the medical endoscope handle, so as to determine whether the medical endoscope handle can be started.

[0193] For example, the preset power supply voltage of the medical endoscope handle is 5 volts, that is, the medical endoscope handle can be started when the power supply voltage provided by the host of the medical endoscope system is 5 volts.

[0194] Therefore, when detecting whether the medical endoscope handle can be started, the host of the medical endoscope system can acquire the power supply voltage of the medical endoscope, so as to determine whether the power supply voltage of the medical endoscope can support the starting of the medical endoscope handle.

[0195] For the second type of detection item, the specified object corresponding to the detection item is the medical endoscope handle, and thus the medical endoscope handle can be controlled to execute an instruction for instructing to perform a target operation, so as to determine whether the medical endoscope handle can normally run after being started.

[0196] Optionally, the second type of detection items about whether the medical endoscope handle can normally operate after being started can include one or more of a detection item about a handle button function of the medical endoscope handle, a detection item about a lens focusing function of the medical endoscope handle, a detection item about a rotation range of a stepping motor of the medical endoscope handle, and a detection item about a communication function of the stepping motor of the medical endoscope handle.

[0197] Next, each of the detection items included in the second type of detection items about whether the medical endoscope handle can normally operate after being started is described.

[0198] 1. For the detection item about the handle button function of the medical endoscope handle, the integrity and effectiveness of the handle button function of the medical endoscope handle in use can be determined by detecting the handle button connectivity of the medical endoscope handle.

[0199] The handle button connectivity means that the medical endoscope handle can be normally used.

[0200] The integrity of the handle button function means that the buttons of the medical endoscope handle, such as specified buttons of the medical endoscope handle, all buttons of the medical endoscope handle, and the like, can be normally used.

[0201] The effectiveness of the handle button function means that each button of the medical endoscope handle can normally operate according to the specified function.

[0202] For example, for a button for controlling forward movement, the corresponding target operation is to move the camera forward; for a button for controlling backward movement, the corresponding target operation is to move the camera backward; for a button for collecting images, the corresponding target operation is to collect images by the camera.

[0203] 2. For the detection item about the lens focusing function of the medical endoscope handle, the stability of the image focusing function of the medical endoscope handle in use can be determined by detecting the image focusing function of the medical endoscope handle.

[0204] The effectiveness of the image focusing function means that the image focusing function of the medical endoscope handle can be adjusted according to the focal length desired by the user, so that the user can clearly observe the observed object during use.

[0205] The stability of the image focusing function means that the image focusing function of the medical endoscope handle can normally operate.

[0206] 3. Regarding the test item concerning the rotation range of the stepper motor of the medical endoscope handle, the stepper motor of the medical endoscope handle can be controlled to rotate. By observing the change in the size of the aperture in the image, the rotation range of the stepper motor can be determined, thereby determining whether the test item concerning the rotation range of the stepper motor of the medical endoscope handle is normal.

[0207] 4. Regarding the testing of the communication function of the stepper motor of the medical endoscope handle, the stepper motor of the medical endoscope handle can be controlled to rotate in a preset direction. By observing the changes in the size of the aperture in the image, it can be determined whether the changes in the size of the aperture are the same as the rotation of the stepper motor. Thus, it can be determined whether the testing of the communication function of the stepper motor of the medical endoscope handle is normal.

[0208] For the third type of test item, the designated object corresponding to this test item is the host. Therefore, the host can be controlled to execute instructions to obtain the target image data required to determine the test results of the third type of test item from the acquired image of the medical endoscope handle. Thus, the operating effect of the medical endoscope handle can be determined using the obtained target image data.

[0209] In some cases, the acquired images may contain dead pixels that can be distracting to the user, have low image resolution and bandwidth, or produce low image quality after processing by a pre-defined image processing algorithm. These potential problems can significantly interfere with and impact a doctor's diagnosis and treatment during medical procedures, and may even lead to medical accidents, endangering the patient's health.

[0210] Based on this, optionally, the third type of test items regarding the operational performance of the medical endoscope handle may include one or more of the following: test items regarding the detection of bad pixels in the acquired images of the medical endoscope handle, test items regarding the detection of image resolution in the acquired images of the medical endoscope handle, test items regarding the detection of image bandwidth in the acquired images of the medical endoscope handle, test items regarding the detection of the benefits of the preset image processing algorithm of the medical endoscope handle, and test items regarding the detection of centrality deviation of the medical endoscope handle.

[0211] Below, examples are provided for each of the test items included in the third category of tests concerning the operational effectiveness of medical endoscope handles.

[0212] 1. For the detection item of the bad point detection of the acquired image of the handle of the medical endoscope, the preset number of bad points and the preset area of each bad point can be set as the preset index of the detection item in advance, and the difference between the number of bad points and the preset number is less than the preset bad point difference, and the difference between the area of each bad point and the preset area is less than the preset area difference, which is determined as the preset difference condition of the detection item.

[0213] In this way, after the control host executes the target image data for instructing to acquire the acquired image of the handle of the medical endoscope, the number of bad points in the acquired image and the area of each bad point can be determined by using the preset recognition technology, and based on the judgment result of whether the difference between the obtained number of bad points and the area of each bad point and the preset number and the preset area of the detection item meets the preset difference condition of the detection item, the detection result of the detection item is determined.

[0214] If it is met, it indicates that the handle of the medical endoscope can be normally used, so that the detection result of the detection item can be determined as normal; if it is not met, it indicates that the handle of the medical endoscope cannot be normally used, so that the detection result of the detection item can be determined as abnormal.

[0215] For example, for the detection item of the bad point detection of the acquired image of the handle of the medical endoscope, the preset index of the detection item is that the preset number of bad points is 2, and the preset area of each bad point is 0.35. The preset difference condition of the detection item is that the difference between the number of bad points of the acquired image and the preset number of bad points is not greater than 1, and the difference between the area of each bad point and the preset area is not greater than 0.1.

[0216] If the number of bad points in the acquired image is 1, wherein the difference between the number of bad points of the acquired image and the preset number of bad points is 1, 1 = 1, which indicates that the number of bad points meets the preset difference condition of the difference between the number of bad points of the acquired image and the preset number of bad points, at this time, the area of the bad point can be calculated to obtain the area of the bad point is 0.25, wherein the difference between the area of each bad point and the preset area is 0.1, 0.1 = 0.1, which indicates that the area of each bad point meets the preset difference condition of the difference between the area of each bad point and the preset area.

[0217] At this time, the difference between the obtained number of bad points and the area of each bad point and the preset number and the preset area of the detection item meets the preset difference condition of the detection item, so that the detection result of the detection item of the bad point detection of the acquired image of the handle of the medical endoscope A can be determined as normal.

[0218] If the number of bad points in the captured image is 1, and the difference between the number of bad points in the captured image and the preset number of bad points is 1, 1 = 1, which indicates that the number of bad points satisfies the preset difference condition that the difference between the number of bad points in the captured image and the preset number of bad points, the area of the above bad point can be calculated, and the area of the bad point is 0.5, wherein the difference between the area of each bad point and the preset area is 0.25, 0.1 < 0.25, which indicates that the area of each bad point does not satisfy the preset difference condition that the difference between the area of each bad point in the captured image and the preset area.

[0219] At this time, the difference between the number of bad points and the area of each bad point obtained above and the preset number and preset area of the detection item does not satisfy the preset difference condition of the detection item, so it can be determined that the detection result of the detection item of the bad point detection of the captured image of the handle of the medical endoscope A is abnormal.

[0220] 2. For the detection item of the image resolution detection of the captured image of the handle of the medical endoscope, the preset image resolution can be set as the preset index of the detection item in advance, and the difference between the image resolution and the preset image resolution is less than the preset resolution difference, which is determined as the preset difference condition of the detection item.

[0221] In this way, after the host executes the target image data for instructing to acquire the captured image of the handle of the medical endoscope, the image resolution of the above captured image can be determined, so that based on the judgment result of whether the difference between the image resolution of the above captured image and the preset image resolution of the detection item satisfies the preset difference condition of the detection item, the detection result of the detection item is determined.

[0222] If the judgment result that the difference between the image resolution of the above captured image and the preset image resolution of the detection item satisfies the preset difference condition of the detection item, it indicates that the handle of the medical endoscope can be used normally, so that the detection result of the detection item is determined to be normal.

[0223] If the judgment result that the difference between the image resolution of the above captured image and the preset image resolution of the detection item does not satisfy the preset difference condition of the detection item, it indicates that the handle of the medical endoscope cannot be used normally, so that the detection result of the detection item is determined to be abnormal.

[0224] 3. For the detection item of the image bandwidth detection of the captured image of the handle of the medical endoscope, the preset image bandwidth can be set as the preset index of the detection item in advance, and the difference between the image bandwidth and the preset image bandwidth is less than the preset resolution difference, which is determined as the preset difference condition of the detection item.

[0225] Thus, after the host computer executes the target image data for instructing to acquire the captured image of the medical endoscope handle, the image bandwidth of the captured image can be determined, so that the detection result of the detection item is determined based on whether the difference between the image bandwidth of the captured image and the preset image bandwidth of the detection item meets the preset difference condition of the detection item.

[0226] If the result of the determination that the difference between the image bandwidth of the captured image and the preset image bandwidth of the detection item meets the preset difference condition of the detection item, it indicates that the medical endoscope handle can be normally used, so that the detection result of the detection item is determined as normal.

[0227] If the result of the determination that the difference between the image bandwidth of the captured image and the preset image bandwidth of the detection item does not meet the preset difference condition of the detection item, it indicates that the medical endoscope handle cannot be normally used, so that the detection result of the detection item is determined as abnormal.

[0228] 4. For the detection item of the yield detection of the preset image processing algorithm of the medical endoscope handle, after the medical endoscope handle acquires the captured image, the image processing algorithm provided in the handle for image processing of the acquired captured image can be used to process the captured image, for example, image noise reduction. Thus, the noise in the captured image that interferes with the user's observation can be removed by image noise reduction, so that the user can observe the observed object more clearly.

[0229] However, with the long-time use of the device, the effect achieved by image noise reduction can be reduced. Therefore, in order to detect the effect achieved by image noise reduction, the processing effect of the image processing algorithm can be represented by the result obtained by algorithm yield. And the expected algorithm effect of the user is determined as the preset effect.

[0230] Thus, the image processing algorithm provided in the medical endoscope handle for image processing of the acquired captured image can be used to process the noise and other factors that may exist in the captured image acquired by the medical endoscope handle and interfere with the user's observation of the observed object, so that the user can observe the observed object more clearly.

[0231] For example, the control host computer acquires the original image data stream and the corrected value after image noise reduction processing. Thus, the comparison result of the original image data stream and the corrected value can be used to determine whether the effect achieved by the image noise reduction meets the preset effect.

[0232] If it meets, it indicates that the captured image after image noise reduction can be provided for the user to use; if it does not meet, it indicates that the captured image after image noise reduction cannot be provided for the user to use.

[0233] 5、For the detection item about the center deviation of the handle of the medical endoscope, in an optional specific implementation, in the case where the third type of detection item includes the detection item about the center deviation of the handle of the medical endoscope, the step 1023 of controlling the host to execute the step of instructing to acquire the target image data of the captured image of the handle of the medical endoscope can include the following step 11.

[0234] Step 11: controlling the host to execute the instruction of instructing to acquire the target center frame of the captured image of the handle of the medical endoscope.

[0235] In the specific implementation, the third type of detection item can include the detection item about the center deviation of the handle of the medical endoscope, and the specified object corresponding to the detection item is the host.

[0236] In order to determine the center deviation of the medical endoscope, for the detection item, a preset center frame can be set as a preset index of the detection item in advance, and the center deviation error between the target center frame acquired and the preset center frame is not greater than a preset error, as a preset difference condition of the detection item.

[0237] Therefore, when detecting the center deviation of the medical endoscope, the host can be controlled to execute the instruction of instructing to acquire the target center frame of the captured image of the handle of the medical endoscope, and the target center frame of the captured image is acquired.

[0238] In this way, the detection result of the detection item can be determined by the judgment result of whether the difference between the preset center frame and the target center frame meets the preset difference condition.

[0239] Optionally, after the target center frame is acquired, a preset center standard profile development algorithm can be used to calculate the center deviation error between the target center frame and the preset center frame of the detection item, so that the detection result of the detection item is determined based on the judgment result of whether the difference between the obtained center deviation error and the preset index of the detection item meets the preset difference condition of the detection item.

[0240] If the judgment result of whether the difference between the obtained center deviation error and the preset index of the detection item meets the preset difference condition of the detection item is true, it indicates that the target center frame of the handle of the medical endoscope can be used normally, and thus the detection result of the detection item is determined as normal.

[0241] If the difference between the obtained centering error and the preset index of the detection item does not satisfy the preset difference condition of the detection item, it is determined that the target center frame of the medical endoscope handle cannot be normally used, and thus it is determined that the detection result of the detection item is abnormal.

[0242] To achieve the above-mentioned multi-faceted self-checking of the medical endoscope system, thereby improving the self-checking effect of the medical endoscope system, so that the user can timely adjust the equipment with lower precision, and improve the precision of the equipment in use. In addition to the above-mentioned setting of each detection item about the working state of the medical endoscope handle for the medical endoscope handle, the embodiments of the present application can also set detection items about the working state of the host for the host, and set detection items about the communication state of the host and the display for the host and the display, thereby achieving multi-faceted self-checking of the medical endoscope system, and improving the self-checking effect of the medical endoscope system.

[0243] Optionally, in a specific implementation, the step S102 of controlling the specified object corresponding to the detection item to execute the specified control instruction can include the following step 1024:

[0244] Step 1024: For the detection items about the working state of the host and the communication state of the host and the display, control the host to execute instructions for instructing to collect target device data;

[0245] Wherein, the target device data is device data of the host for determining the detection result of the detection item.

[0246] In this specific implementation, for the detection items about the working state of the host and the communication state of the host and the display, the host can be controlled to execute instructions for collecting target device data, so as to obtain target device data about the target device, so that the obtained target device data can be used to determine the detection result of the detection items about the working state of the host and the communication state of the host and the display.

[0247] Since the above-mentioned host includes a plurality of functional chips, and the running of the host relies on the information interaction of the plurality of functional chips installed in the host, and the information interaction between the host and other auxiliary devices through the communication interface to complete the instructions issued by the user. Therefore, when the above-mentioned host realizes the corresponding device function, each functional chip may have communication function. However, the communication function of each functional chip may have the problem of incomplete information transmission, which affects the completeness and reliability of the information received by the user in the use process, thereby affecting the precision of the medical endoscope system in use.

[0248] And in some cases, the user in the process of using the medical endoscope system, the host computer may need other auxiliary equipment, for example, various processing instruments used for diagnosis and treatment, etc. Generally, the host computer can be connected with the above-mentioned auxiliary equipment by using the communication interface. However, the above-mentioned data interface may have poor contact, disconnection and other problems, so that the information received by the user is incomplete, inaccurate and other problems, resulting in the lack of integrity and reliability of the information received by the user in the process of use, thereby affecting the accuracy of the medical endoscope system in use.

[0249] Therefore, in order to improve the accuracy of the medical endoscope system in use, optionally, in a specific implementation, the host computer includes a plurality of functional chips, and the detection items about the working state of the host computer include: the fourth type of detection item about the running state of the plurality of functional chips, the fifth type of detection item about the communication state between the plurality of functional chips, and the sixth type of detection item about the information output state of the communication interface of the host computer.

[0250] In the above step 1024, the step of controlling the host computer to execute the instruction for instructing to collect the target device data can include the following steps 21-23:

[0251] Step 21: For the fourth type of detection item, controlling the host computer to execute the instruction for instructing to collect the state information of each functional chip;

[0252] Step 22: For the fifth type of detection item, controlling the host computer to execute the instruction for instructing to collect the first type of data stream information;

[0253] Wherein, the first type of data stream information is the data stream information transmitted between the two functional chips in the communication process of each two functional chips having mutual communication function;

[0254] Step 23: For the sixth type of detection item, controlling the host computer to execute the instruction for instructing to collect the second type of data stream information;

[0255] Wherein, the second type of data stream information is the data stream information of each communication interface of the host computer when performing data transmission.

[0256] In the present specific implementation, in different detection items, the specified control instructions executed are different, and the corresponding preset indicators are also different.

[0257] For the fourth type of detection item, in order to determine the state of each functional chip, the user's desired indicators can be determined as the preset indicators of this detection item. In this way, after the host computer is controlled to execute the instruction for instructing to collect the state information of each functional chip, the state information of the functional chip can be obtained, so as to determine the state of each functional chip.

[0258] If the state of the functional chip is the preset state, it indicates that the functional chip can operate normally, and the detection result of the detection item is normal.

[0259] If the state of the functional chip is not the preset state, it indicates that the functional chip cannot operate normally, and the detection result of the detection item is abnormal.

[0260] The state information of each functional chip can be referred to as ecological information of each functional chip.

[0261] For the fifth type of detection item, in order to determine the first type of data stream information transmitted between two functional chips with mutual communication function in the communication process of the two functional chips, the preset data stream information expected by the user can be determined as the preset index of the detection item in advance, and the error between the first type of data stream information and the preset data stream information is less than the first preset data stream error, as the preset difference condition of the detection item.

[0262] In this way, after the control host executes the instruction for instructing to collect the first type of data stream information transmitted between the two functional chips with mutual communication function in the communication process of the two functional chips, the first type of data stream information can be determined, and thus the detection result of the detection item can be determined by whether the error between the first type of data stream information and the preset data stream information meets the first preset data stream error.

[0263] If the error between the first type of data stream information and the preset data stream information is less than the first preset data stream error, it is determined that the detection result of the detection item is normal.

[0264] If the error between the first type of data stream information and the preset data stream information is not less than the first preset data stream error, it is determined that the detection result of the detection item is abnormal.

[0265] For the sixth type of detection item, in order to determine the second type of data stream information when each communication interface of the host performs data transmission, the preset data stream information expected by the user can be determined as the preset index of the detection item in advance, and the error between the first type of data stream information and the preset data stream information is less than the second preset data stream error, as the preset difference condition of the detection item.

[0266] In this way, after the control host executes the instruction for instructing to collect the second type of data stream information, the second type of data stream information can be determined, and thus the detection result of the detection item can be determined by whether the error between the second type of data stream information and the preset data stream information meets the second preset data stream error.

[0267] If the error between the second type of data stream information and the preset data stream information is less than the second preset data stream error, it is determined that the detection result of the detection item is normal.

[0268] If the error between the second type of data stream information and the preset data stream information is not less than the second preset data stream error, it is determined that the detection result of the detection item is abnormal.

[0269] In order to facilitate the user to view the specific situation of the observed object in the process of using the medical endoscope system, the medical endoscope system can include a display. Generally, the host of the medical endoscope system can be connected with the display of the medical endoscope system by using a communication interface. However, the data interface may have problems such as poor contact and disconnection, so that the information received by the user is incomplete and inaccurate, which leads to the lack of integrity and reliability of the information received by the user in the process of use, thereby affecting the accuracy of the medical endoscope system in the process of use. Therefore, in order for the user to clearly and completely observe the observed object, the detection of the communication state between the host and the display is essential.

[0270] Optionally, in a specific implementation, the step 1024 of controlling the host to execute the instruction for instructing to collect the target device data can include the following step 24.

[0271] Step 24: for the detection item of the communication state between the host and the display, controlling the host to execute the instruction for instructing to obtain the display parameter of the to-be-displayed information fed back by the display, and controlling the host to execute the instruction for instructing to obtain the preset display parameter of the to-be-displayed information.

[0272] Wherein, the to-be-displayed information is sent by the host to the display, the display parameter is a parameter used to represent the display effect of the to-be-displayed information when the display displays the to-be-displayed information, and the preset display parameter is pre-stored in the register of the host.

[0273] In this specific implementation, because the display parameters of different specifications of displays are different. That is, the display parameters are different, and the display effects of the displays are different when the displays display the to-be-displayed information sent by the host.

[0274] Therefore, for the detection item of the communication state between the host and the display, the host can be controlled to execute the instruction for instructing to obtain the display parameter of the to-be-displayed information fed back by the display, so that the display effect of the display in displaying the to-be-displayed information can be determined.

[0275] At the same time, the host executes an instruction to retrieve preset display parameters for the information to be displayed, thereby retrieving the preset display parameters adapted to the host from the host's register.

[0276] In this way, the detection result of the detection item can be determined by checking whether the display parameters of the information to be displayed fed back by the monitor are the same as the preset display parameters.

[0277] If the display parameters of the information to be displayed fed back by the monitor are the same as the preset display parameters, it indicates that the monitor can achieve the display effect corresponding to the preset display parameters of the host when displaying the information to be displayed sent by the host. Therefore, it can be determined that the test result of the test item is normal.

[0278] If the display parameters of the information to be displayed fed back by the monitor are different from the preset display parameters, it indicates that the monitor does not achieve the display effect corresponding to the preset display parameters of the host when displaying the information to be displayed sent by the host. Therefore, it can be determined that the detection result of the detection item is abnormal.

[0279] For example, such as Figure 3 The diagram shown is a flowchart illustrating a specific embodiment of a medical endoscope system as the execution subject provided in this application, and provides a detailed explanation of the self-testing method of the medical endoscope system provided in this application.

[0280] The aforementioned medical endoscope system includes a recording host and a medical endoscope handle. The recording host includes a main unit and a monitor.

[0281] Figure 3 When the camera host in this embodiment is powered on, it determines the test items to be self-tested when the host of the medical endoscope system is detected to be powered on. Figure 3 The handle function self-test module 301 in this application embodiment is a first type of test item regarding whether the medical endoscope handle can be started and a second type of test item regarding whether the medical endoscope handle can operate normally after being started. Figure 3 The self-test module 302 for the handle image effect is the detection item for the image effect of the medical endoscope handle in this embodiment of the application; Figure 3 The handle centering detection module 303 in this embodiment is for detecting the centering deviation of the medical endoscope handle; Figure 3 The host system hardware detection module 304 in this embodiment is the sixth type of detection item regarding the information output status of the host's communication interface. Figure 3 The host system software detection module 305 in this application embodiment is the fourth type of detection item regarding the operating status of multiple functional chips and the fifth type of detection item regarding the communication status between multiple functional chips.Figure 3 The occurrence of system abnormal information in the embodiment of this application indicates that the detection item is abnormal. Figure 3 The integration of abnormal information in this embodiment refers to the integration of detection results that indicate an abnormality when the detection result indicates that the detection item is abnormal. Figure 3 The ISP (Image Signal Processing) parameters and other control parameters that need to be adjusted in the present application embodiment are the adjustment data for the detection item determined based on the comparison results when the detection result indicates that the detection item is abnormal. Figure 3 The system parameter effect integration in this embodiment is to integrate the adjustment data corresponding to the detection results that indicate that the detection items are abnormal when the detection results indicate that the detection items are abnormal. Figure 3 The integrated detection results are the output detection results and adjustment data in this embodiment of the application.

[0282] The preset self-test trigger condition for the medical endoscope system is the detection that the recording host is powered on.

[0283] The self-test items to be performed may include: a first category of test items regarding whether the medical endoscope handpiece can be started; a second category of test items regarding whether the medical endoscope handpiece can operate normally after being started; a third category of test items regarding the operating effect of the medical endoscope handpiece; a test item regarding the centering deviation of the medical endoscope handpiece; a fourth category of test items regarding the operating status of multiple functional chips; a fifth category of test items regarding the communication status between multiple functional chips; and a sixth category of test items regarding the information output status of the host's communication interface.

[0284] Therefore, when the aforementioned medical endoscope system detects that the recording host is powered on, the host of the medical endoscope system can begin the device self-test process.

[0285] Thus, after determining the first type of test item regarding whether the medical endoscope handle can be started and the second type of test item regarding whether the medical endoscope handle can operate normally after being started, the handle function self-test module 301 controls the designated objects corresponding to the first type of test item and the second type of test item to execute the corresponding designated control commands to test the first type of test item and the second type of test item.

[0286] If the power supply voltage in the execution result is different from the preset power supply voltage of the first type of test item corresponding to the handle function self-test module 301, it indicates that the test result of the first type of test item is abnormal. Based on the comparison result, adjustment data for the first type of test item is obtained, and the test result and adjustment data for the first type of test item are output.

[0287] If the comparison result between the execution result and the preset index of the second type of detection item corresponding to the handle function self-checking module 301 indicates that the detection result of the second type of detection item is abnormal, based on the comparison result, adjustment data about the second type of detection item is obtained, and the detection result and the adjustment data about the second type of detection item are output.

[0288] After the first type of detection item and the second type of detection item are detected by controlling the specified object corresponding to the first type of detection item and the second type of detection item to execute the corresponding specified control instruction by the handle function self-checking module 301, a detection item about the image effect of the medical endoscope handle is determined, and the detection item is detected by controlling the specified object corresponding to the detection item to execute the corresponding specified control instruction by the handle image effect self-checking module 302.

[0289] If the difference between the number of bad points of the collected image in the execution result and the area of each bad point and the preset number and the preset area of the detection item satisfies the preset difference condition of the detection item, it indicates that the detection result of the detection item about the image effect of the medical endoscope handle by the handle image effect self-checking module 302 is abnormal, based on the comparison result, adjustment data about the detection item is obtained, and the detection result and the adjustment data about the detection item are output.

[0290] After the detection item about the image effect of the medical endoscope handle is detected by controlling the specified object corresponding to the detection item to execute the corresponding specified control instruction by the handle image effect self-checking module 302, a detection item about the center deviation of the medical endoscope handle is determined, and the detection item is detected by controlling the specified object corresponding to the detection item to execute the corresponding specified control instruction by the handle center degree detection module 303.

[0291] If the handle center is judged by the superimposed standard center degree frame in the real-time image of the collected image in the execution result and the center degree standard contour development algorithm set by the handle center degree detection module 303, if the judgment result does not satisfy the preset difference condition of the detection item, it indicates that the detection result of the detection item about the center deviation of the medical endoscope handle is abnormal, and based on the comparison result between the detection result and the detection item, adjustment data about the handle center is obtained, and the detection result and the adjustment data about the detection item are output.

[0292] After the detection item is detected by controlling the specified object corresponding to the detection item to execute the corresponding specified control instruction by the handle center degree detection module 303, a sixth type of detection item about the information output state of the communication interface of the host computer is determined, and the detection item is detected by controlling the specified object corresponding to the detection item to execute the corresponding specified control instruction by the host computer system hardware detection module 304.

[0293] If the error between the data stream information in the execution result and the preset data stream information corresponding to the detection item is not less than the preset data stream error of the detection item, it is determined that the detection result of the detection item is abnormal. Then, the adjustment data of the sixth type of detection item about the information output state of the communication interface of the host can be obtained by comparing the detection result with the preset abnormal condition of the detection item, and the detection result and the adjustment data of the sixth type of detection item about the information output state of the communication interface of the host are output.

[0294] After the detection of the detection item is performed on the specified object corresponding to the detection item by using the host system hardware detection module 304 to control the specified object to execute the specified control instruction corresponding to the detection item, the fourth type of detection item about the running state of the plurality of functional chips and the fifth type of detection item about the communication state between the plurality of functional chips are determined, and the fourth type of detection item and the fifth type of detection item are detected by using the host system software detection module 305 to control the specified object corresponding to the fourth type of detection item and the fifth type of detection item to execute the specified control instruction corresponding to the fourth type of detection item and the fifth type of detection item.

[0295] If the comparison result of the state information of the functional chip in the execution result and the preset state of the fourth type of detection item corresponding to the host system software detection module 305 is different, it is indicated that the detection result of the fourth type of detection item is abnormal. Then, based on the comparison result, the adjustment data of the fourth type of detection item is obtained, and the detection result and the adjustment data of the fourth type of detection item are output.

[0296] If the error between the data stream information transmitted between the two functional chips with mutual communication function in the communication process of the two functional chips and the preset data stream information of the fifth type of detection item corresponding to the host system software detection module 305 is not less than the preset data stream error of the detection item, it is determined that the detection result of the fifth type of detection item is abnormal. Then, the adjustment data of the fifth type of detection item can be obtained by comparing the detection result with the preset difference condition of the detection item, and the detection result and the adjustment data of the fifth type of detection item are output.

[0297] In this way, after obtaining the detection result and the adjustment data corresponding to each module, the detection result and the adjustment data of the medical endoscope system can be obtained. The user can adjust the medical endoscope system based on the obtained detection result and adjustment data of the medical endoscope system, so as to improve the accuracy of the medical endoscope system in use.

[0298] Another example is shown in FIG. 1, which is a schematic diagram of the internal structure of a medical endoscope system. Figure 4 Figure 3 Another example is shown in FIG. 1, which is a schematic diagram of the internal structure of a medical endoscope system.

[0299] ​When detecting that the host touch screen module 402 is started, a self-check start request is sent to the host behavior execution module 407 through the host information interaction module 405 and the host information processing module 406, so that each module responds to the request after receiving the self-check start request.

[0300] When the handle function self-check module 417 detects the first type of detection item about whether the medical endoscope handle can be started and the second type of detection item about whether the medical endoscope handle can normally run after being started, the power supply voltage collected by the host key panel module 401 and the data required for determining the second type of detection item can be obtained by the host information interaction module 405 as the execution result of the handle function self-check module 417. Then, the comparison result obtained by comparing the above power supply voltage with the preset power supply voltage of the first type of detection item corresponding to the handle function self-check module 417, and the comparison result obtained by comparing the execution result of the second type of detection item with the preset index of the second type of detection item corresponding to the handle function self-check module, are used to determine the detection result of the handle function self-check module 417, and the obtained detection result is sent to the log information module 413 for recording and then to the data and state library module 412.

[0301] When the handle image effect self-check module 418 detects the detection item about the image effect of the medical endoscope handle, the images collected by the host recording module 409, the host screenshot module 410, and the host OSD (on-screen display) module 411 can be obtained by the image acquisition module 403 as the execution result of the handle image effect self-check module 418. Then, the above execution result can be analyzed to determine the number of bad points, the size of bad points, the image resolution, and the image bandwidth in the image. In this way, it can be determined whether the difference between the preset number of bad points and the preset area of bad points of the detection item about the image effect of the medical endoscope handle corresponding to the handle image effect self-check module 418 in the above execution result meets the preset difference condition of the detection item, so as to determine the detection result of the handle image effect self-check module 418 according to the determination result, and send the obtained detection result to the log information module 413 for recording and then to the data and state library module 412.

[0302] When using the handle centering detection module 419 to detect the centering deviation of a medical endoscope handle, the image acquisition module 403 can acquire real-time images captured by the host recording module 409 and the host OSD module 411, which serve as the execution result of the handle centering detection module 419. Then, by overlaying a standard centering bounding box and the centering standard contour imaging algorithm set by the handle centering detection module 419 onto the aforementioned real-time images, the handle centering can be judged, and the judgment result is determined as the detection result of the handle centering detection module 419. The obtained detection result can then be sent to the log information module 413 for recording, and then sent to the data and status database module 412. Figure 5 The diagram shown is a schematic representation of the detection item regarding the center deviation of a medical endoscope handle provided in an embodiment of this application. Wherein, Figure 5 Region 501 in the diagram is the standard centrality box. Figure 5 Area 502 in the text is the center frame of the handle.

[0303] When using the host system hardware detection module 420 to detect the sixth type of detection item regarding the information output status of the host's communication interface, the host storage device processing module 408 and the data stream pass-through module 404 can obtain the data stream output status of each interface detection module of the host system. Therefore, by comparing the original data stream with the preset data stream and checking the completeness of the information output of each interface, the information output status of the host's communication interface can be judged, and the judgment result is determined as the detection result of the host system hardware detection module 420. Then, the obtained detection result can be sent to the log information module 413 for recording and then sent to the data and status database module 412.

[0304] When using the host system software detection module 421 to detect the fourth type of detection items regarding the operating status of multiple functional chips and the fifth type of detection items regarding the communication status between multiple functional chips, the host storage device processing module 408 and the data stream pass-through module 404 can obtain the data stream output status of each functional chip in the host system software. Therefore, by comparing the original data stream with the preset data stream, the operating status of multiple functional chips and the communication status between them can be judged, and the judgment result is determined as the detection result of the host system software detection module 421. Then, the obtained detection result can be sent to the log information module 413 for recording and then sent to the data and status database module 412.

[0305] The data and state library module 412 can integrate the detection results after obtaining the detection results of the handle function self-checking module 417, the handle image effect self-checking module 418, the handle center degree detection module 419, the host system hardware detection module 420 and the host system software detection module 421, and send the detection results to the host image processing module 414 for image processing. Then, the processed detection results can be sent to the host image display module 415, so that the host image display module 415 sends the detection results to the display device 416 for display.

[0306] Corresponding to the self-checking method of the medical endoscope system provided in the embodiments of the present application, the embodiments of the present application provide a self-checking device of a medical endoscope system.

[0307] Figure 7 A structural schematic diagram of a self-checking device of a medical endoscope system provided in the embodiments of the present application is shown in FIG. 7. The medical endoscope system includes a medical endoscope handle, a host and a display. The device is applied to the host. As shown in FIG. 7, the device can include the following modules: Figure 7

[0308] The item determination module 710 is configured to determine detection items to be checked when it is detected that a preset self-checking trigger condition is met. The detection items include a detection item about the working state of the medical endoscope handle, a detection item about the working state of the host and a detection item about the communication state between the host and the display.

[0309] The control module 720 is configured to control a designated object corresponding to the detection item to execute a designated control instruction. The designated object is an object required to be utilized to implement the detection item, and the designated control instruction is used to instruct a target operation required to be executed by the designated object in the self-checking process of the detection item.

[0310] The execution result acquisition module 730 is configured to acquire an execution result obtained by the designated object executing the designated control instruction.

[0311] The detection result determination module 740 is configured to determine a detection result of the detection item based on a comparison result of the execution result and a preset index of the detection item. The preset index is an expected index of the designated object when executing the designated control instruction.

[0312] ​It can be seen that the scheme provided by the embodiment of the application can set a medical endoscope system including a medical endoscope handle, a host and a display. Before the medical endoscope system works, the host can detect whether the medical endoscope system meets a preset self-check trigger condition, so that when it is detected that the medical endoscope system meets the preset self-check trigger condition, the self-check can be started.

[0313] When the host detects that the medical endoscope system meets the preset self-check trigger condition, the detection items to be self-checked can be determined, wherein the detection items include a detection item about the working state of the medical endoscope handle, a detection item about the working state of the host, and a detection item about the communication state of the host and the display. In this way, the host can control the specified object required to be used for implementing the detection item corresponding to the detection item, execute a specified control instruction for instructing the target operation required to be executed by the specified object in the self-check process of the detection item, so that the execution result obtained by the specified object executing the specified control instruction can be obtained. In order to improve the effectiveness of the detection result, the expected index of the specified object when executing the specified control instruction can be set as a preset index, so that after the execution result is obtained, the detection result of the detection item can be determined based on the comparison result of the execution result and the preset index of the detection item.

[0314] Based on this, the scheme provided by the embodiment of the application can make the host of the medical endoscope system perform self-check on the detection item about the working state of the medical endoscope handle, the detection item about the working state of the host, and the detection item about the communication state of the host and the display before the medical endoscope system works, so that the detection items in the self-check process can have high depth and breadth, and can more comprehensively cover each link and device in the use process of the medical endoscope system, thereby improving the self-check efficiency and comprehensiveness of the medical endoscope system.

[0315] Optionally, in a specific implementation manner, the type of the execution result includes a first type of result representing whether the specified object can complete the target operation, and a second type of result representing operation data obtained by the specified object executing the target operation.

[0316] The detection result determination module 740 is specifically configured to:

[0317] If the execution result is the first type of result, the detection result of the detection item is determined based on whether the first type of result is the same as the preset index of the detection item.

[0318] If the execution result is the second type of result, a detection result of the detection item is determined based on a result of judging whether a difference between the second type of result and a preset index of the detection item meets a preset difference condition of the detection item.

[0319] Optionally, in an implementation, the detection item about the working state of the medical endoscope handle includes a first type of detection item about whether the medical endoscope handle can be started, a second type of detection item about whether the medical endoscope handle can normally run after being started, and a third type of detection item about a running effect of the medical endoscope handle.

[0320] The first type of detection item and the third type of detection item correspond to the host, and the second type of detection item corresponds to the medical endoscope handle.

[0321] Optionally, in an implementation, the control module 720 includes:

[0322] A first control submodule is configured to control the host to execute an instruction for instructing to acquire a power supply voltage of the medical endoscope handle for the first type of detection item.

[0323] A second control submodule is configured to control the medical endoscope handle to execute an instruction for instructing to perform the target operation for the second type of detection item.

[0324] A third control submodule is configured to control the host to execute an instruction for instructing to acquire target image data of a captured image of the medical endoscope handle for the third type of detection item, where the target image data is image data required for determining a detection result of the third type of detection item.

[0325] Optionally, in an implementation, the third type of detection item includes a detection item about a central deviation of the medical endoscope handle, and the third control submodule is specifically configured to:

[0326] Control the host to execute an instruction for instructing to acquire a target center frame of the captured image of the medical endoscope handle.

[0327] Optionally, in an implementation, the control module 720 is specifically configured to:

[0328] The host is controlled to execute an instruction for instructing to collect target device data according to the detection item about the working state of the host and the detection item about the communication state of the host and the display, wherein the target device data is device data of the host used to determine a detection result of the detection item.

[0329] Optionally, in a specific implementation, the host includes a plurality of functional chips, and the detection item about the working state of the host includes a fourth detection item about running states of the plurality of functional chips, a fifth detection item about communication states between the plurality of functional chips, and a sixth detection item about information output states of communication interfaces of the host.

[0330] The control module 720 includes:

[0331] A fourth control submodule is configured to control the host to execute an instruction for instructing to collect state information of each of the functional chips according to the fourth detection item.

[0332] A fifth control submodule is configured to control the host to execute an instruction for instructing to collect first data stream information according to the fifth detection item, wherein the first data stream information is data stream information transmitted between two of the functional chips having a mutual communication function in a communication process of the two functional chips.

[0333] A sixth control submodule is configured to control the host to execute an instruction for instructing to collect second data stream information according to the sixth detection item, wherein the second data stream information is data stream information of each of the communication interfaces of the host when performing data transmission.

[0334] Optionally, in a specific implementation, the control module 720 is specifically configured to:

[0335] The host is controlled to execute an instruction for instructing to obtain display parameters of to-be-displayed information fed back by the display according to the detection item about the communication state of the host and the display, and the host is controlled to execute an instruction for instructing to obtain preset display parameters about the to-be-displayed information.

[0336] The to-be-displayed information is sent by the host to the display, the display parameters are parameters used to represent display effects of the to-be-displayed information when the display displays the to-be-displayed information, and the preset display parameters are stored in a register of the host in advance.

[0337] Optionally, in a specific implementation, the apparatus further includes:

[0338] an output module, configured to determine adjustment data about the detection item based on the comparison result when the detection result represents that the detection item is abnormal, and output the detection result and the adjustment data;

[0339] The adjustment data is data for adjusting the system to make the detection result normal.

[0340] Corresponding to the self-checking method of the medical endoscope system provided in the above embodiments of the present application, the embodiments of the present application further provide a medical endoscope system, as shown in the accompanying drawings, comprising: Figure 8 a memory 801 configured to store a computer program;

[0341] a processor 802 configured to execute the program stored in the memory 801 to implement the steps of the self-checking method of any medical endoscope system provided in the above embodiments of the present application.

[0342] The above electronic device can further comprise a communication bus and / or a communication interface, and the processor 802, the communication interface and the memory 801 can complete mutual communication through the communication bus.

[0343] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, only one thick line is shown in the figure, but it does not mean that there is only one bus or only one type of bus.

[0344] The communication interface is used for communication between the above electronic device and other devices.

[0345] The memory can include a Random Access Memory (RAM) and can also include a Non-Volatile Memory (NVM), for example, at least one disk memory. Optionally, the memory can also be at least one storage device located away from the aforementioned processor.

[0346] The memory can include a Random Access Memory (RAM) and can also include a Non-Volatile Memory (NVM), for example, at least one disk memory. Optionally, the memory can also be at least one storage device located away from the aforementioned processor.

[0347] The processor described above can be a general processor, including a central processing unit (CPU), a network processor (NP), etc.; can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component.

[0348] In another embodiment provided in the present application, a computer readable storage medium is also provided, and the computer readable storage medium stores a computer program. The computer program is executed by a processor to implement the steps of the self-checking method of any of the medical endoscope systems.

[0349] In another embodiment provided in the present application, a computer program product containing instructions is also provided, and when the computer program product is executed on a computer, the computer is caused to execute the self-checking method of any of the medical endoscope systems in the above embodiments.

[0350] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) mode. The computer readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. integrated with one or more available media. The available media can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)) and the like.

[0351] It is to be noted that, in the present document, relational terms such as first and second and the like can be used solely to distinguish one entity or action from another entity or action without necessarily implying any actual relationship or order between such entities or actions. Also, the terms "comprises", "comprising", or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the presence of additional identical elements in the process, method, article, or apparatus that comprises the element.

[0352] Each of the embodiments in the present specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other. Each of the embodiments focuses on the difference from other embodiments. In particular, the medical endoscope system embodiment, the device embodiment, the computer readable storage medium embodiment, and the computer program product embodiment are described simply because they are substantially similar to the method embodiment, and the relevant parts can be referred to the part of the method embodiment.

[0353] The above only describes the preferred embodiments of the present application, and is not intended to limit the protection scope of the present application. 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 self-checking method of a medical endoscope system, characterized by, The medical endoscope system comprises a medical endoscope handle, a main machine and a display, and the method is applied to the main machine and comprises the following steps: When it is detected that a preset self-check triggering condition is met, a detection item to be self-checked is determined; wherein the detection item is preset according to each device function involved in the actual use of the medical endoscope system by a user, and the detection item comprises a detection item about the working state of the medical endoscope handle, a detection item about the working state of the main machine, and a detection item about the communication state of the main machine and the display; A specified object corresponding to the detection item is controlled to execute a specified control instruction; wherein the specified object is an object required to be utilized to implement the detection item, and the specified control instruction is used to instruct a target operation required to be executed by the specified object in the self-checking process of the detection item; the generation mode of the specified control instruction comprises extracting the program code of each instruction issued by the user in the actual operation process to operate the device function, and compiling the specified control instruction according to the extracted program code; An execution result obtained by the specified object executing the specified control instruction is acquired; Based on the comparison result between the execution result and a preset index of the detection item, a detection result of the detection item is determined; wherein the preset index is an expected index of the specified object when executing the specified control instruction; When the detection result represents that the detection item is abnormal, adjustment data about the detection item is determined based on the comparison result, and the detection result and the adjustment data are outputted; Wherein the adjustment data is data used to adjust the system so that the detection result is normal.

2. The method of claim 1, wherein, The type of the execution result comprises a first type of result representing whether the specified object can complete the target operation, and a second type of result representing operation data obtained by the specified object executing the target operation; The determination of the detection result of the detection item based on the comparison result between the execution result and the preset index of the detection item comprises: If the execution result is the first type of result, the detection result of the detection item is determined based on the judgment result of whether the first type of result is the same as the preset index of the detection item; If the execution result is the second type of result, the detection result of the detection item is determined based on the judgment result of whether the difference between the second type of result and the preset index of the detection item meets the preset difference condition of the detection item.

3. The method of claim 2, wherein, The detection item about the working state of the medical endoscope handle comprises a first type of detection item about whether the medical endoscope handle can be started, a second type of detection item about whether the medical endoscope handle can normally run after being started, and a third type of detection item about the running effect of the medical endoscope handle; Wherein the specified object corresponding to the first type of detection item and the third type of detection item comprises the main machine, and the specified object corresponding to the second type of detection item comprises the medical endoscope handle.

4. The method of claim 3, wherein, The control of the specified control instruction executed by the specified object corresponding to the detection item comprises: For the first type of detection item, the host is controlled to execute an instruction for indicating to acquire a power supply voltage of the handle of the medical endoscope; For the second type of detection item, the handle of the medical endoscope is controlled to execute an instruction for indicating to perform the target operation; For the third type of detection item, the host is controlled to execute an instruction for indicating to acquire target image data of a collected image of the handle of the medical endoscope; wherein the target image data is image data required for determining a detection result of the third type of detection item.

5. The method of claim 4, wherein, The third type of detection item comprises a detection item about a central deviation of the handle of the medical endoscope; and the control of the host to execute an instruction for indicating to acquire target image data of a collected image of the handle of the medical endoscope comprises: The host is controlled to execute an instruction for indicating to acquire a target center frame of the collected image of the handle of the medical endoscope.

6. The method of claim 2, wherein, The control of the specified control instruction executed by the specified object corresponding to the detection item comprises: For the detection item about the working state of the host and the detection item about the communication state between the host and the display, the host is controlled to execute an instruction for indicating to collect target device data; wherein the target device data is device data of the host for determining a detection result of the detection item.

7. The method of claim 6, wherein, The host comprises a plurality of functional chips, the detection item about the working state of the host comprises a fourth type of detection item about running states of the plurality of functional chips, a fifth type of detection item about communication states between the plurality of functional chips, and a sixth type of detection item about an information output state of a communication interface of the host; The control of the host to execute an instruction for indicating to collect target device data comprises: For the fourth type of detection item, the host is controlled to execute an instruction for indicating to collect state information of each of the functional chips; For the fifth type of detection item, the host is controlled to execute an instruction for indicating to collect first type of data stream information; wherein the first type of data stream information is data stream information transmitted between two of the functional chips having a mutual communication function in a communication process of the two functional chips; For the sixth type of detection item, the host is controlled to execute an instruction for indicating to collect second type of data stream information; wherein the second type of data stream information is data stream information of each of the communication interfaces of the host when performing data transmission.

8. The method of claim 6, wherein, The control of the host to execute an instruction for indicating to collect target device data comprises: For the detection item about the communication state between the host and the display, the host is controlled to execute an instruction for indicating to acquire display parameters of to-be-displayed information fed back by the display, and the host is controlled to execute an instruction for indicating to acquire preset display parameters about the to-be-displayed information. The to-be-displayed information is sent by the host to the display, the display parameter is a parameter used to represent a display effect of the to-be-displayed information when the display displays the to-be-displayed information, and the preset display parameter is pre-stored in a register of the host.

9. A self-testing device for a medical endoscope system, characterized in that, The medical endoscope system includes a medical endoscope handle, a host, and a display. The device is applied to the host and includes: An item determination module is configured to determine a detection item to be self-checked when a preset self-check triggering condition is met. The detection item is pre-set according to each device function involved in the actual use of the medical endoscope system by a user. The detection item includes a detection item about a working state handle of the medical endoscope, a detection item about a working state of the host, and a detection item about a communication state of the host and the display. A control module is configured to control a specified object corresponding to the detection item to execute a specified control instruction. The specified object is an object required to implement the detection item. The specified control instruction is used to instruct a target operation required to be executed by the specified object in the self-checking process of the detection item. The specified control instruction is generated by extracting program codes of each instruction issued by the user to operate the device function in the actual operation process and writing the specified control instruction according to the extracted program codes. An execution result acquisition module is configured to acquire an execution result obtained by the specified object executing the specified control instruction. A detection result determination module is configured to determine a detection result of the detection item based on a comparison result of the execution result and a preset index of the detection item. The preset index is an expected index of the specified object when executing the specified control instruction. An output module is configured to determine adjustment data about the detection item based on the comparison result when the detection result represents that the detection item is abnormal, and output the detection result and the adjustment data. The adjustment data is data used to adjust the system to make the detection result normal.

10. A medical endoscope system characterized by comprising: The device includes: A memory is configured to store a computer program. A processor is configured to execute the program stored in the memory to implement the method of any one of claims 1-8.

11. A computer readable storage medium characterized by The computer readable storage medium stores a computer program. The computer program is executed by the processor to implement the method of any one of claims 1-8.

Citation Information

Patent Citations

  • Medical tool detection method and system, computer equipment and storage medium

    CN114359135A

  • Image processing apparatus and endoscope system

    JP2009195621A

  • Color signal transmission device, wireless image transmission system, and transmitter

    US20140002627A1