Endoscope camera handle key function control method, device and equipment
By configuring dynamic smart buttons, the function priority is determined according to the application scenario of the endoscope camera system and mapped to the buttons, which solves the problem of insufficient button functions on the endoscope camera handle and realizes on-demand configuration and flexible adaptation of functions.
Patent Information
- Application Number
- CN202211393775.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-08
- Publication Date
- 2026-08-25
- Estimated Expiration
- 2042-11-08
AI Technical Summary
The limited button functionality of the endoscope camera handle renders many practical functions unusable, especially in multi-dimensional system integration scenarios where insufficient buttons result in inflexible function configuration.
By configuring dynamic smart buttons, the priority of functions is determined according to the application scenario, and the highest priority function is mapped to the button, outputting button function prompt information.
It improves the flexibility and efficiency of button function configuration on the camera handle, ensuring that button functions are configured as needed to adapt to the needs of different application scenarios.
Smart Images

Figure CN115670356B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of medical endoscopy technology, and in particular to a method, device and equipment for controlling the button function of an endoscope camera handle. Background Technology
[0002] In endoscopic camera systems, the camera handle is often limited by size and only has 2-5 buttons. Some of these buttons have fixed functions, such as white balance or autofocus, image capture or video recording. In reality, there are less than 3 customizable function buttons. However, camera systems have many practical functions, especially when multi-dimensional systems such as white light + fluorescence / 3D / AI are integrated, the functions become even more diverse.
[0003] With many available functions but few buttons, many practical functions become useless during surgery. If a function is not activated at the beginning, it may be unusable throughout the entire surgery. Summary of the Invention
[0004] In view of this, this application provides a method, device, and equipment for controlling the button functions of an endoscope camera handle.
[0005] Specifically, this application is implemented through the following technical solution:
[0006] According to a first aspect of the embodiments of this application, a method for controlling the button functions of an endoscope camera handle is provided, including:
[0007] Based on the current application scenario, determine the priority order of each function of the endoscopic camera system corresponding to the application scenario;
[0008] Based on the number N of target camera handle buttons configured as dynamic smart buttons, the N highest priority functions of the endoscope camera system in this application scenario are mapped to the target camera handle buttons, and prompt information of the function mapped to each target camera handle button is output; N≥1.
[0009] According to a second aspect of the embodiments of this application, an endoscope camera handle button function control device is provided, comprising:
[0010] The determining unit is used to determine the priority order of each function of the endoscope camera system corresponding to the current application scenario based on the current application scenario.
[0011] The mapping unit is used to map the N highest priority functions of the endoscope camera system to the target camera handle buttons based on the number N of target camera handle buttons configured as dynamic smart buttons; N≥1.
[0012] The output unit is used to output prompts for the functions of the handheld button mappings for each target camera.
[0013] According to a third aspect of the embodiments of this application, an electronic device is provided, the electronic device comprising:
[0014] A processor and a machine-readable storage medium storing machine-executable instructions that can be executed by the processor; the processor is configured to execute the machine-executable instructions to implement the method described in the first aspect.
[0015] The endoscope camera handle button function control method of this application configures some or all of the camera handle buttons as dynamic smart buttons. Based on the application scenario of the endoscope camera system, the priority order of each function of the endoscope camera system corresponding to the application scenario is determined. Based on the number N of target camera handle buttons configured as dynamic smart buttons, the N functions with the highest priority in the endoscope camera system under the application scenario are mapped to the target camera handle buttons, and prompt information of the mapped functions of each target camera handle button is output. This realizes the function of automatically configuring the camera handle buttons as needed, improves the flexibility of camera handle button function configuration, and improves the efficiency of camera handle button function configuration. Attached Figure Description
[0016] Figure 1 This is a flowchart illustrating an exemplary embodiment of an endoscope camera handle button function control method.
[0017] Figure 2 This is a schematic diagram illustrating the implementation process of an endoscope camera handle button function control scheme, as shown in an exemplary embodiment of this application.
[0018] Figure 3 This is a schematic diagram illustrating the structure of an endoscope camera handle button function control device, which is an exemplary embodiment of this application.
[0019] Figure 4 A schematic diagram of another endoscope camera handle button function control device shown as another exemplary embodiment of this application;
[0020] Figure 5 This is a schematic diagram of the hardware structure of an electronic device as illustrated in an exemplary embodiment of this application. Detailed Implementation
[0021] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0022] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The singular forms “a,” “the,” and “the” used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.
[0023] To enable those skilled in the art to better understand the technical solutions provided in the embodiments of this application, and to make the above-mentioned objectives, features and advantages of the embodiments of this application more apparent and understandable, the technical solutions in the embodiments of this application will be further described in detail below with reference to the accompanying drawings.
[0024] Please see Figure 1 This is a flowchart illustrating a method for controlling the button functions of an endoscope camera handle according to an embodiment of this application. Figure 1 As shown, the method for controlling the button functions of the endoscope camera handle may include the following steps:
[0025] Step S100: Based on the current application scenario, determine the priority order of each function of the endoscope camera system corresponding to the application scenario.
[0026] Step S110: Based on the number N of target camera handle buttons configured as dynamic smart buttons, map the N highest priority functions of the endoscope camera system in this application scenario to the target camera handle buttons, and output prompt information for the functions mapped to each target camera handle button; N≥1.
[0027] In this embodiment of the application, it is considered that the functional requirements of the endoscopic camera system may differ under different application scenarios.
[0028] Taking laparoscopic cholecystectomy in the context of biliary tract surgery as an example, the fluorescence brightness will decrease over time during normal use. Doctors can adjust the fluorescence gain to make the fluorescent area more obvious. There is also the problem of fluorescence contamination from bile flow during surgery, which requires quick switching of the fluorescence function on and off. This function is not needed in other scenarios where fluorescence is not used.
[0029] Therefore, the importance of each function of the endoscope camera system varies in different application scenarios, that is, the priority of each function of the endoscope camera system is different.
[0030] Furthermore, considering the limited number of buttons on the camera handle, it is impossible to fix all the functions required for different application scenarios on different buttons. Therefore, in order to improve the flexibility of button function configuration and meet the functional requirements of different application scenarios, some or all of the camera handle buttons can be configured as dynamic smart buttons. The camera handle buttons configured as dynamic smart buttons (referred to as target camera handle buttons in this article) are no longer fixed in their configuration, but can be flexibly mapped to functions according to requirements.
[0031] Accordingly, based on the actual application scenario of the endoscope camera system (i.e. the current application scenario), the priority order of each function of the endoscope camera system corresponding to the application scenario can be determined. Based on the number of buttons on the target camera handle (assuming it is N, N≥1), the N functions with the highest priority in the endoscope camera system under this application scenario are mapped to the target camera handle buttons, and prompt information of the function mapped to each target camera handle button is output so that relevant personnel can accurately know the function mapped to each target camera handle button and use the corresponding function as needed.
[0032] Where N is less than or equal to the total number of buttons on the camera handle.
[0033] For example, the prompts for the functions of the button mappings of each target camera handle may include, but are not limited to, displaying the functions of the button mappings of each target camera handle on the display; or, prompting the functions of each target camera handle button on the host in the form of LED (Light Emitting Diode) lights or matrix lights.
[0034] For example, if an operation command (such as a click command) is detected for any target camera handle button, the corresponding processing can be performed according to the function mapped to the target camera handle button.
[0035] It can be seen that, in Figure 1 In the illustrated method, by configuring some or all of the camera handle buttons as dynamic smart buttons, the priority order of each function of the endoscope camera system corresponding to the application scenario of the endoscope camera system is determined according to the application scenario. Based on the number N of target camera handle buttons configured as dynamic smart buttons, the N functions with the highest priority in the endoscope camera system under the application scenario are mapped to the target camera handle buttons, and prompt information of the mapped functions of each target camera handle button is output. This realizes the function of automatically configuring the camera handle buttons on demand, improves the flexibility of camera handle button function configuration, and improves the efficiency of camera handle button function configuration.
[0036] In some embodiments, before determining the priority order of the functions of the endoscopic camera system corresponding to the current application scenario, the following may also be included:
[0037] Based on images captured by the camera, the current application scenario is identified using a pre-trained application scenario recognition model.
[0038] For example, in order to achieve automatic identification of the application scenario of the endoscope camera system, an algorithm model for application scenario identification (which can be called an application scenario identification model) can be pre-trained, such as a deep learning algorithm model. In practical applications, the current application scenario can be identified based on the images captured by the camera of the endoscope camera system using the pre-trained application scenario identification model.
[0039] For example, considering that the raw images captured by the camera may not meet the processing requirements of the application scene recognition model, such as excessively high image resolution or excessively high frame rate, the images captured by the camera can be preprocessed before using the pre-trained application scene recognition model for application scene recognition. For example, the images captured by the camera can be downsampled to reduce the number and / or resolution of the images that need to be processed.
[0040] In some embodiments, the above-mentioned mapping of the N highest priority functions of the endoscope camera system in this application scenario to the target camera handle buttons based on the number N of target camera handle buttons configured as dynamic smart buttons may further include:
[0041] Determine the current operating mode of the endoscopic camera system;
[0042] When the current working mode is automatic, determine the number N of target camera handle buttons configured as dynamic smart buttons, and map the N highest priority functions of the endoscope camera system in this application scenario to the operation of the target camera handle buttons.
[0043] For example, in order to improve the flexibility and controllability of the function mapping of the target camera handle buttons, multiple different working modes can be set for the endoscope camera system. In different working modes, different methods can be used to map the function of the target camera handle buttons.
[0044] For example, the operating mode of an endoscopic camera system may include an automatic mode.
[0045] When the endoscope camera system is in automatic mode, the target camera handle buttons can be mapped to functions in the manner described in the above embodiments. That is, based on the number N of target camera handle buttons configured as dynamic smart buttons, the N highest priority functions of the endoscope camera system in this application scenario are mapped to the target camera handle buttons.
[0046] In one example, after determining the current operating mode of the endoscopic camera system as described above, it may also include:
[0047] When the current working mode is memory mode, the system reads the saved mapping relationship between the target camera handle buttons and the endoscope camera system functions, maps the target camera handle buttons to the endoscope camera system functions according to the mapping relationship, and outputs prompt information for the functions mapped to each target camera handle button.
[0048] For example, the working mode of the endoscope camera system may also include a memory mode. In the memory mode, the endoscope camera system can map the target camera handle buttons to functions based on the stored mapping relationship between the target camera handle buttons and the endoscope camera system functions.
[0049] Accordingly, when the current working mode of the endoscope camera system is memory mode, the system reads the saved mapping relationship between the target camera handle buttons and the endoscope camera system functions, maps the target camera handle buttons to the endoscope camera system functions according to the mapping relationship, and outputs prompt information of the function mapping of each target camera handle button, such as displaying the function mapping of each target camera handle button on the monitor.
[0050] It should be noted that when the endoscope camera system is first run, the saved mapping relationship between the target camera handle buttons and the endoscope camera system functions can be the default configuration mapping relationship. Each time the mapping relationship between the target camera handle buttons and the endoscope camera system functions changes, the endoscope camera system can save the latest mapping relationship. In memory mode, the system will remap the target camera handle buttons according to the saved latest mapping relationship.
[0051] In one example, after determining the current operating mode of the endoscopic camera system as described above, it may also include:
[0052] With the current working mode as the baseline mode, the system maps the target camera handle buttons to the endoscope camera system functions according to the received configuration instructions, and outputs prompts indicating the functions of each target camera handle button mapping.
[0053] For example, the operating mode of the endoscopic camera system may also include a baseline mode, in which the function mapping of the target camera handle buttons can be performed manually.
[0054] Accordingly, when the endoscope camera system is currently in memory mode, it can map the target camera handle buttons to the endoscope camera system functions according to the received configuration instructions, and output prompts for the functions of each target camera handle button mapping, such as displaying the functions of each target camera handle button mapping on the monitor.
[0055] In some embodiments, mapping the N highest priority functions of the endoscope camera system in this application scenario to the target camera handle buttons based on the number N target camera handle buttons configured as dynamic smart buttons may further include:
[0056] If the function mapping of the M target camera handle buttons fails, according to the priority of each effective function of the endoscope camera system in this application scenario, the M functions with the highest priority among the unmapped effective functions are mapped to the M target camera handle buttons, and prompt information of the function mapping of each target camera handle button is output, as well as prompt information of function failure is output.
[0057] or,
[0058] If the mapping function of the M target camera handle buttons fails, disable the mapping function of the M target camera handle buttons and output a function failure prompt message.
[0059] For example, considering that in real-world scenarios, endoscope camera systems may experience functional failures, such as a failure of the fluorescence camera leading to the failure of fluorescence-related functions, and consequently, the failure of the target camera handle button mapping function, resulting in some or all of the target camera handle buttons not having corresponding functions, thus wasting button resources.
[0060] Accordingly, in order to improve the utilization rate of button resources, in the case of the failure of the function mapping of M (1≤M≤N) target camera handle buttons, in one example, the currently unmapped valid functions among the valid functions of the endoscope camera system can be identified. According to the priority of each valid function of the endoscope camera system in the current application scenario, the M functions with the highest priority among the unmapped valid functions are mapped to the M target camera handle buttons. The prompt information of the function mapping of each target camera handle button is output, as well as the function failure prompt information, to inform relevant personnel that the endoscope camera system has failed and the failed function.
[0061] In another example, the mapping function of the M target camera handle buttons (i.e., the target camera handle buttons mapped to the failure function as described above) can be changed. That is, during this operation, the M target camera handle buttons will no longer act as dynamic smart buttons, but will revert to ordinary buttons. The function of the M target camera handle buttons can be the default function of each button.
[0062] In some embodiments, the functionality of the endoscopic camera system described above may include a single function or a combination of functions;
[0063] The aforementioned priority ordering of the functions of the endoscopic camera system corresponding to this application scenario may include:
[0064] Prioritize the functions of the endoscope camera system corresponding to this application scenario.
[0065] In cases where there is functional overlap among multiple target functions, identify the designated target function that is not the highest priority among these multiple target functions;
[0066] Prioritize the functions of the endoscope camera system corresponding to the application scenario, excluding the specified target function, and then prioritize the specified target function after these other functions.
[0067] For example, considering that in real-world scenarios, the functions of an endoscopic camera system may be used in combination (i.e., multiple functions are used together), for instance, in a laparoscopic cholecystectomy scenario, the functions of "fluorescence gain", "white light gain" and "dark area brightening" can be mapped as a combined function to the same button, and the functions of "fluorescence gain", "white light gain" and "dark area brightening" can be triggered by this single button.
[0068] There may be functional overlap between combined functions and between combined functions and individual functions.
[0069] For example, there is functional overlap between functions A&B and functions A&C (both include function A); there is functional overlap between functions A&B and function B (both include function B).
[0070] Accordingly, when prioritizing the functions of an endoscopic imaging system, the functions can be prioritized based on their importance (the higher the importance, the higher the priority).
[0071] In cases where multiple functions overlap, the highest-priority target function among these overlapping functions (referred to as target functions in this document) can be identified. The other functions of the endoscopic imaging system corresponding to the application scenario, excluding the target function, are then prioritized, and the target function is prioritized after these other functions.
[0072] For example, suppose the endoscopic camera system has three functions: A, B, and C. Ranked by importance, it produces five combinations: A&B, A, A&C, B, and C. Among these, A, A&C, and B all have functional overlap with A&B. That is, A&B, A, A&C, and B are the aforementioned target functions, while A, A&C, and B are the aforementioned designated target functions. The reset priority order is A&B, C, A, A&C, and B.
[0073] To enable those skilled in the art to better understand the technical solutions provided in the embodiments of this application, the technical solutions provided in the embodiments of this application are described below with reference to specific examples.
[0074] In this embodiment, a "Dynamic Smart Button" setting function has been added to the original OSD (On Screen Display, screen menu-style adjustment) menu camera handle buttons. This function can autonomously select the handle button position according to needs. When the "Dynamic Smart Button" function is configured to a certain position of the handle button, it can map the function to the button appropriate for the current application scenario (i.e., surgical scenario) and display a prompt on the display.
[0075] In addition, the endoscopic camera system also supports the detection of damage to critical components, addresses the issue of redundant buttons, and displays error messages on the monitor.
[0076] In this embodiment, as Figure 2 As shown, the implementation process of the endoscope camera handle button function control scheme is as follows:
[0077] 1. Preprocess the raw images captured by the camera;
[0078] 2. Input the preprocessed image into a pre-trained application scenario recognition model to determine the current application scenario;
[0079] For example, the current application scenario can be displayed on the monitor, such as by indicating the current application scenario at the edge of the monitor.
[0080] For example, the gamepad button mapping function can be displayed on the screen.
[0081] For example, the application scenario and gamepad button mapping prompts can be updated when the application scenario changes.
[0082] For example, a corresponding surgical scenario (i.e., application scenario) can be defined for each surgical procedure, and the application scenario recognition model can be trained using calibrated samples for each surgical scenario.
[0083] 3. Map the functions of the camera handle buttons configured as dynamic smart buttons (i.e., the target camera handle buttons mentioned above);
[0084] For example, one or more camera handle buttons can be configured as dynamic smart buttons. For each dynamic smart button, a single function or a combination of functions can be mapped, that is, a single function or a combination of functions can be mapped to the camera handle button configured as a dynamic smart button (i.e., the target camera handle button mentioned above).
[0085] For example, the operating modes of an endoscopic camera system may include memory mode, baseline mode, and automatic mode; different methods can be used to map the function of the target camera handle buttons in different operating modes.
[0086] For example, in memory mode, the target camera handle buttons and the endoscope camera system functions can be mapped according to the saved mapping relationship between dynamics and endoscope camera system functions.
[0087] For example, in baseline mode, the target camera handle buttons and the functions of the endoscope camera system can be mapped according to the received configuration instructions. That is, the relevant personnel configure the mapping relationship between the target camera handle buttons and the functions of the endoscope camera system (which can be called baseline parameters), and map the target camera handle buttons and the functions of the endoscope camera system according to the configured baseline parameters.
[0088] For example, in automatic mode, the priority order of each function of the endoscope camera system corresponding to the current application scenario can be determined according to the current application scenario, and the N functions with the highest priority in the endoscope camera system under the application scenario can be mapped to the target camera handle buttons according to the number N of target camera handle buttons configured as dynamic smart buttons.
[0089] For example, suppose an endoscope camera system includes three functions: A, B, and C. Sorting by importance results in five possible functions or combinations: A&B, A, A&C, B, and C. Functions A, A&C, and B overlap with function A&B, and their priority is lower than that of function A&B (i.e., functions A, A&C, and B are the specified target functions). These functions can be prioritized later, resulting in the order: A&B, C, A, A&C, and B. Then, based on the priority of each function, each function is mapped to the target camera handle buttons one by one.
[0090] For example, assuming the target camera handle has 3 buttons, the top 3 functions (i.e., functions A & B, C, and A) can be mapped to the target camera handle buttons one by one.
[0091] For example, if the function mapping of the target camera handle buttons is performed, the function of each target camera handle button mapping can be displayed on the monitor.
[0092] For example, if there is a malfunction among the functions that have been mapped to the target camera handle buttons, such as due to damage to physical components causing some functions to fail, the priority of the malfunctioning function can be set to the lowest priority, and the unmapped functions can be mapped to the target camera handle buttons mapped to the malfunctioning functions according to the priority order of the unmapped functions.
[0093] For example, if the function mapping of two target camera handle buttons is not working, the two highest priority functions among the unmapped functions can be mapped to the two target camera handle buttons.
[0094] For example, in the event of a functional failure, a functional failure message and the content of the damage (if there is device damage) can be displayed.
[0095] For example, if one of the dual cameras with 3D functionality is damaged and 3D functionality cannot be achieved, the 3D-related functions configured in the "Dynamic Smart Button" will be replaced with other functions by default, and a message will be displayed indicating that either the left or right camera is damaged and the 3D-related functions are disabled.
[0096] It should be noted that if a function of the target camera handle button is not working, the target camera handle button mapped to the not working function can be turned off, that is, it can be restored from a dynamic smart button to a normal button, and its function will also be restored to the default function of the normal button.
[0097] For example, for any target camera handle button that has been function-mapped, when a trigger operation command, such as a click command, is detected for the target camera handle button, the corresponding processing can be performed according to the function mapped to the target camera handle button.
[0098] The technical solutions provided in the embodiments of this application will be described below with reference to specific application scenarios.
[0099] Take laparoscopic cholecystectomy using a general-purpose fluorescence laparoscope as an example in the context of biliary tract surgery.
[0100] Background: During normal use, the fluorescence brightness decreases over time. Doctors can adjust the fluorescence gain to make the fluorescent areas more prominent. However, there is also the issue of fluorescence contamination from bile flow during surgery, requiring quick switching of the fluorescence function on and off. This function is unnecessary in other scenarios where fluorescence is not used. The five functions mentioned above—fluorescence on / off, fluorescence gain, fluorescence brightness, display mode, and no fluorescence—are mutually exclusive. Therefore, during normal surgery, the "Dynamic Smart Button" is configured for fluorescence gain. When fluorescence contamination occurs, the software will switch the "Dynamic Smart Button" to fluorescence on / off. If the machine detects that the fluorescence function is malfunctioning or the camera does not support fluorescence, the software will disable the "Dynamic Smart Button" and indicate that fluorescence is not supported. After surgery, when switching to other scenarios, the software will switch to other algorithm functions.
[0101] In this application scenario, the implementation process of the endoscope camera handle button function control scheme is as follows:
[0102] Step 1: With the medical endoscope unit (which needs to support fluorescence + white light function) and the medical display unit both started normally, the user can configure the "Dynamic Smart Button" to a physical button on the handle via the OSD menu or AI automatic recognition. At this time, the button function prompt configured by the "Dynamic Smart Button" will appear on the display.
[0103] Step 2: Set the priority of the "Fluorescence Gain", "White Light Gain", and "Dark Area Brightening" functions of the "Dynamic Smart Button" in the "Laparoscopic Cholecystectomy" scenario to the highest; set the priority of the "Fluorescence Switch" function of the "Dynamic Smart Button" in the "Fluorescence Contamination" scenario to the highest.
[0104] Step 3: Place the medical endoscope camera unit in the laparoscopic cholecystectomy surgery scenario. At this time, the "Dynamic Smart Button" on the monitor will display the "Fluorescence Gain", "White Light Gain", and "Dark Area Brightening" functions, and the scenario will be "Cholecystectomy". If bile leakage occurs unexpectedly and fluorescent contamination occurs, the scenario prompt bar will display "Fluorescence Contamination", and the "Dynamic Smart Button" will display the "Fluorescence Switch" function. If the fluorescent camera is detected to be malfunctioning at this time, an additional "Fluorescence Failure" prompt will be added next to the original scenario prompt, and all fluorescence-related functions configured in Step 2 of the "Dynamic Smart Button" will be switched to other non-fluorescence functions or turned off.
[0105] Step 4: Click the physical button bound to the "Dynamic Smart Button". You can observe on the display that the algorithm switch for the fluorescence function and the gain adjustment will be updated based on the button press.
[0106] The method provided in this application has been described above. The apparatus provided in this application is described below:
[0107] Please see Figure 3 This is a schematic diagram of the structure of an endoscope camera handle button function control device provided in an embodiment of this application, as shown below. Figure 3 As shown, the endoscope camera handle button function control device may include:
[0108] The determining unit 310 is used to determine the priority order of each function of the endoscope camera system corresponding to the current application scenario based on the current application scenario.
[0109] Mapping unit 320 is used to map the N highest priority functions of the endoscope camera system to the target camera handle buttons according to the number N of target camera handle buttons configured as dynamic smart buttons; N≥1;
[0110] Output unit 330 is used to output prompt information about the function of the handle button mapping for each target camera.
[0111] In some embodiments, such as Figure 4 As shown, the endoscope camera handle button function control device may also include:
[0112] The scene recognition unit 340 is used to identify the current application scene based on the image captured by the camera and using a pre-trained application scene recognition model.
[0113] In some embodiments, the mapping unit 320, based on the number N target camera handle buttons configured as dynamic smart buttons, maps the N highest priority functions of the endoscope camera system in the application scenario to the target camera handle buttons, and further includes:
[0114] Determine the current operating mode of the endoscopic camera system;
[0115] When the current working mode is automatic, determine the number N of target camera handle buttons that are configured as dynamic smart buttons, and map the N highest priority functions of the endoscope camera system in this application scenario to the operation of the target camera handle buttons.
[0116] In some embodiments, after the mapping unit 320 determines the current operating mode of the endoscope camera system, it further includes:
[0117] When the current working mode is memory mode, read the saved mapping relationship between the target camera handle buttons and the endoscope camera system functions, and map the target camera handle buttons and the endoscope camera system functions according to the mapping relationship;
[0118] The output unit 330 is also used to output prompt information about the function of the handle button mapping for each target camera.
[0119] In some embodiments, after the mapping unit 320 determines the current operating mode of the endoscope camera system, it further includes:
[0120] With the current working mode being the baseline mode, the target camera handle buttons and the endoscope camera system functions are mapped according to the received configuration instructions.
[0121] The output unit 330 is also used to output prompt information about the function of the handle button mapping for each target camera.
[0122] In some embodiments, the mapping unit 320, based on the number N of target camera handle buttons configured as dynamic smart buttons, maps the N highest priority functions of the endoscope camera system in the application scenario to the target camera handle buttons, and further includes:
[0123] If the mapping function of the M target camera handle buttons fails, according to the priority of each effective function of the endoscope camera system in this application scenario, the M functions with the highest priority among the unmapped effective functions are mapped to the M target camera handle buttons.
[0124] The output unit 330 is also used to output prompt information about the function of the button mapping of each target camera handle, and to output prompt information about function failure.
[0125] or,
[0126] The mapping unit 320, based on the number N of target camera handle buttons configured as dynamic smart buttons, maps the N highest priority functions of the endoscope camera system in this application scenario to the target camera handle buttons, and further includes:
[0127] If the mapping function of the M target camera handle buttons fails, disable the mapping function of the M target camera handle buttons;
[0128] The output unit 330 is also used to output a function failure prompt message.
[0129] In some embodiments, the endoscopic imaging system may have a single function or a combination of functions;
[0130] The determining unit 310 determines the priority order of each function of the endoscopic camera system corresponding to the application scenario, including:
[0131] Prioritize the functions of the endoscope camera system corresponding to this application scenario.
[0132] In cases where there is functional overlap among multiple target functions, identify the designated target function that is not the highest priority among these multiple target functions;
[0133] Prioritize the functions of the endoscope camera system corresponding to the application scenario, excluding the specified target function, and then prioritize the specified target function after these other functions.
[0134] This application provides an electronic device, including a processor and a memory, wherein the memory stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the endoscope camera handle button function control method described above.
[0135] Please see Figure 5 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. The electronic device may include a processor 501 and a memory 502 storing machine-executable instructions. The processor 501 and the memory 502 can communicate via a system bus 503. Furthermore, by reading and executing the machine-executable instructions in the memory 502 corresponding to the endoscope camera handle button function control logic, the processor 501 can execute the endoscope camera handle button function control method described above.
[0136] The memory 502 mentioned in this document can be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, etc. For example, machine-readable storage media can be: RAM (Random Access Memory), volatile memory, non-volatile memory, flash memory, storage drives (such as hard disk drives), solid-state drives, any type of storage disk (such as optical discs, DVDs, etc.), or similar storage media, or combinations thereof.
[0137] In some embodiments, a machine-readable storage medium, such as Figure 5 The memory 502 in the device stores machine-executable instructions, which, when executed by a processor, implement the endoscope camera handle button function control method described above. For example, the storage medium can be ROM, RAM, CD-ROM, magnetic tape, floppy disk, or optical data storage device.
[0138] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0139] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. An electronic device, characterized in that, The electronic device includes: a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor; the processor is configured to execute the machine-executable instructions, which include: Based on the current application scenario, determine the priority order of each function of the endoscopic camera system corresponding to the application scenario; Based on the number N of target camera handle buttons configured as dynamic smart buttons, the N highest priority functions of the endoscope camera system in this application scenario are mapped to the target camera handle buttons, and prompt information of the function mapped to each target camera handle button is output; N≥1, the target camera handle buttons configured as dynamic smart buttons include some or all of the camera handle buttons.
2. The electronic device according to claim 1, characterized in that, The machine-executable instructions also include: Based on images captured by the camera, the current application scenario is identified using a pre-trained application scenario recognition model.
3. The electronic device according to claim 1, characterized in that, The machine-executable instructions also include: Determine the current operating mode of the endoscopic camera system; When the current working mode is automatic mode, determine the number N of target camera handle buttons that are configured as dynamic smart buttons to execute, and map the N highest priority functions of the endoscope camera system in this application scenario to the operation of the target camera handle buttons. When the current working mode is memory mode, the system reads the saved mapping relationship between the target camera handle buttons and the endoscope camera system functions, maps the target camera handle buttons to the endoscope camera system functions according to the mapping relationship, and outputs prompt information for the function mapping of each target camera handle button. With the current working mode being the baseline mode, the target camera handle buttons are mapped to the functions of the endoscope camera system according to the received configuration instructions, and prompts are output regarding the functions of each target camera handle button mapping.
4. The electronic device according to claim 1, characterized in that, The machine-executable instructions also include: If the function mapping of the M target camera handle buttons fails, according to the priority of each effective function of the endoscope camera system in this application scenario, the M functions with the highest priority among the unmapped effective functions are mapped to the M target camera handle buttons, and prompt information of the function mapping of each target camera handle button is output, as well as prompt information of function failure is output. or, If the mapping function of the M target camera handle buttons fails, disable the mapping function of the M target camera handle buttons and output a function failure prompt message. Where 1≤M≤N.
5. The electronic device according to claim 1, characterized in that, The endoscopic camera system has functions including single functions or combinations of functions; The machine-executable instructions specifically include: Prioritize the functions of the endoscope camera system corresponding to this application scenario. When there is functional overlap among multiple target functions, identify the designated target function that is not the highest priority among these multiple target functions; Prioritize the functions of the endoscope camera system corresponding to the application scenario, excluding the specified target function, and then prioritize the specified target function after these other functions.
6. An endoscope camera handle button function control device, characterized in that, include: The determining unit is used to determine the priority order of each function of the endoscope camera system corresponding to the current application scenario based on the current application scenario. The mapping unit is used to map the N highest priority functions of the endoscope camera system to the target camera handle buttons based on the number N of the target camera handle buttons configured as dynamic smart buttons in this application scenario. N≥1, the target camera handle button configured as a dynamic smart button includes some or all of the camera handle buttons; The output unit is used to output prompts for the functions of the handheld button mappings for each target camera.
7. The apparatus according to claim 6, characterized in that, The device further includes: The scene recognition unit is used to identify the current application scene based on the images captured by the camera and a pre-trained application scene recognition model.
8. The apparatus according to claim 6, characterized in that, The mapping unit, based on the number N of target camera handle buttons configured as dynamic smart buttons, maps the N highest priority functions of the endoscope camera system in this application scenario to the target camera handle buttons, and further includes: Determine the current operating mode of the endoscopic camera system; When the current working mode is automatic mode, determine the number N of target camera handle buttons that are configured as dynamic smart buttons to execute, and map the N highest priority functions of the endoscope camera system in this application scenario to the operation of the target camera handle buttons. When the current working mode is memory mode, the system reads the saved mapping relationship between the target camera handle buttons and the endoscope camera system functions, and maps the target camera handle buttons and the endoscope camera system functions according to the mapping relationship; the output unit is used to output prompt information for the function mapping of each target camera handle button. With the current working mode being the baseline mode, the target camera handle buttons are mapped to the functions of the endoscope camera system according to the received configuration instructions; the output unit is also used to output prompt information about the functions mapped to each target camera handle button.
9. The apparatus according to claim 6, characterized in that, The mapping unit, based on the number N of target camera handle buttons configured as dynamic smart buttons, maps the N highest priority functions of the endoscope camera system in this application scenario to the target camera handle buttons, and further includes: If the mapping function of the M target camera handle buttons fails, according to the priority of each effective function of the endoscope camera system in this application scenario, the M functions with the highest priority among the unmapped effective functions are mapped to the M target camera handle buttons. The output unit is used to output prompt information about the function of the button mapping of each target camera handle, and to output prompt information about function failure. or, If the mapping function of the M target camera handle buttons fails, disable the mapping function of the M target camera handle buttons; The output unit is also used to output a function failure prompt message; Where 1≤M≤N.
10. The apparatus according to claim 6, characterized in that, The endoscopic camera system has functions including single functions or combinations of functions; The determining unit determines the priority order of each function of the endoscopic camera system corresponding to the application scenario, including: Prioritize the functions of the endoscope camera system corresponding to this application scenario. When there is functional overlap among multiple target functions, identify the designated target function that is not the highest priority among these multiple target functions; Prioritize the functions of the endoscope camera system corresponding to the application scenario, excluding the specified target function, and then prioritize the specified target function after these other functions.
Citation Information
Patent Citations
Virtual function button display method and device
CN112346621A
Imaging method and device in endoscope camera system and computer equipment
CN113496475A
Electronic endoscope system and electronic endoscope
JP2006167139A