Method and apparatus for controlling endoscope main unit, device, and storage medium
By acquiring images in response to the first command in the endoscope host and receiving the second command to execute the recording function under the condition of meeting the time difference, the problem of inaccurate function switching caused by misoperation is solved, and the convenience of control and detection efficiency are improved.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- HUNAN VATHIN MEDICAL INSTR CO LTD
- Filing Date
- 2025-11-18
- Publication Date
- 2026-06-04
AI Technical Summary
The existing control methods for endoscope main units are prone to inaccurate function switching due to misoperation, which affects the detection efficiency, especially in the medical field, and may lead to the loss of the best imaging position or angle.
The system acquires a first image upon receiving a first instruction, and acquires a second image and performs recording when a second instruction is received under a trigger condition. The trigger condition is that the time difference between receiving the first instruction and the second instruction is within a preset time interval, thus reducing the impact of misoperation.
It improves the ease of control of the endoscope host, ensures that the obtained images are consistent with the user's expectations, and reduces the impact of misoperation on the detection process.
Smart Images

Figure CN2025135732_04062026_PF_FP_ABST
Abstract
Description
A control method, apparatus, device, and storage medium for an endoscope host. Technical Field
[0001] This application relates to the field of endoscope control technology, specifically to a control method, device, equipment, and storage medium for an endoscope host. Background Technology
[0002] Currently, to facilitate endoscope operation, users typically control the endoscope main unit by holding the handle with one hand. Taking photos or videos is usually done by controlling the same button, with different button operations activating different functions. However, activating a second function may require triggering the first—for example, a single click activates a photo, a double click activates a video. This control method can lead to accidental activation of the wrong function. For instance, in the medical field, when a doctor adjusts the angle for a photo, a misoperation or camera shake might cause two consecutive presses within a preset time, inadvertently activating the recording function. Current technology only stops recording and allows the doctor to take a photo again after observing the endoscope's display and recognizing it as recording. If the doctor switches back to photo mode, the field of view may have changed, wasting time and potentially losing the optimal shooting position or angle. Therefore, the doctor may need to readjust the field of view and take another photo, resulting in low convenience for the endoscope control method. Summary of the Invention
[0003] This application provides a control method, device, equipment, and storage medium for an endoscope host, which can improve the convenience of the control method for the endoscope host and reduce the impact of misoperation on the detection process.
[0004] This application provides a control method for an endoscope host, including:
[0005] In response to receiving a first instruction, the first instruction is executed to obtain a first image; the first instruction is used to instruct the endoscope host to obtain the first image, and the first image is the image when the first instruction is received;
[0006] In response to receiving a second instruction and the first and second instructions satisfying the triggering conditions, a second image is acquired and the second instruction is executed; the second instruction is used to instruct the endoscope host to start the recording function, the second image is the image when the second instruction is received, and the triggering conditions include triggering the reception of the second instruction after receiving the first instruction and the time difference between the reception of the first instruction and the second instruction being within a preset time interval.
[0007] To achieve the above and other related objectives, this application also provides an electronic device, the electronic device comprising:
[0008] One or more processors;
[0009] Memory used to store the executable program code of the processor;
[0010] The processor is configured to execute the program code to implement the control method of the endoscope host described above.
[0011] To achieve the above and other related objectives, this application also provides a computer-readable storage medium that, when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, enables the electronic device to perform the control method of the endoscope host described above.
[0012] As described above, the control method, apparatus, device, and storage medium for an endoscope host provided in this application have the following beneficial effects:
[0013] This application discloses a control method for an endoscope host. The method, in response to receiving a first instruction, executes the first instruction to acquire a first image; and in response to receiving a second instruction, where both the first and second instructions satisfy a triggering condition, acquires a second image and executes the second instruction. Because the reception of the second instruction is triggered after receiving the first instruction, and the second instruction indicates that the recording function should be activated when the second instruction is received, the method acquires the second image upon receiving the second instruction. This allows the selected viewing angle to be preserved as much as possible even when the endoscope host receives the second instruction due to accidental touches or other reasons, ensuring that the acquired image matches the user's initial expectations. This improves the convenience of the endoscope host control method and reduces the impact of misoperation on the detection process.
[0014] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0015] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:
[0016] Figure 1 is a schematic diagram illustrating the implementation environment of the control method for an endoscope host according to an exemplary embodiment of this application;
[0017] Figure 2 is a flowchart illustrating a control method for an endoscope host according to an exemplary embodiment of this application;
[0018] Figure 3 is a block diagram of the control device of an endoscope host according to an exemplary embodiment of this application. Detailed Implementation
[0019] The embodiments of this application will be described below with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. This application can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this application. It should be understood that the preferred embodiments are only for illustrating this application and are not intended to limit the scope of protection of this application.
[0020] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of this application. Therefore, the drawings only show the components related to this application and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.
[0021] In the following description, numerous details are explored to provide a more thorough explanation of embodiments of the present application. However, it will be apparent to those skilled in the art that embodiments of the present application may be practiced without these specific details. In other embodiments, well-known structures and devices are shown in block diagram form rather than in detail to avoid obscuring embodiments of the present application.
[0022] Please refer to Figure 1, which is a schematic diagram of the implementation environment of the control method for an endoscope host according to an exemplary embodiment of this application. The implementation environment may include an operating handle 110 and an endoscope host 120.
[0023] The operating handle 110 and the endoscope host 120 can be connected via wired or wireless means. Figure 1 shows a wired connection. When the operating handle 110 and the endoscope host 120 are connected via wired means, they can be connected via fiber optic cable or cable. When the operating handle 110 and the endoscope host 120 are connected wirelessly, they can be connected to the endoscope host via wireless communication protocols such as Wi-Fi or Bluetooth.
[0024] An insertion tube is connected to the operating handle 110, and a lens is attached to the front end of the insertion tube. The insertion tube is used for insertion into the body, and the lens is responsible for capturing images inside the body. The user can control the endoscope through the operating handle 110, such as adjusting the direction of the insertion tube, turning auxiliary tools on or off, etc. An operation button 111 may be provided on the operating handle 110.
[0025] In one possible implementation, the user can press the operation button 111 to take a picture, that is, to acquire the first image. The user can also press the operation button 111 twice in a preset time interval to start the recording function, and press the operation button 111 to turn off the recording function after starting the recording function.
[0026] In another possible implementation, the user can press the operation button 111 to take a picture, or press and hold the operation button 111 for a preset time interval to start the recording function, and press the operation button 111 to stop the recording function after starting the recording function.
[0027] The endoscope host 120 can display the images captured by the lens of the operating handle 110, and the endoscope host can also store images and target videos.
[0028] Please refer to Figure 2, which is a flowchart illustrating a control method for an endoscope host according to an exemplary embodiment of this application. This control method for the endoscope host can be applied to the implementation environment shown in Figure 1. Referring to Figure 2, it can be seen that the control method for the endoscope host may include:
[0029] Step S210: In response to receiving the first instruction, execute the first instruction to obtain the first image.
[0030] The first instruction is used to instruct the endoscope host to acquire the first image, which is the image received when the first instruction is received.
[0031] In one embodiment of this application, in response to receiving a first instruction, the endoscope host can execute the first instruction to obtain a first image, which can be an image displayed by the endoscope host when it receives the first instruction.
[0032] Since users typically operate the endoscope with one hand holding the control handle, they press the operation buttons to take photos or videos according to preset rules.
[0033] For example, the preset rules may include pressing and releasing the operation button to correspond to a first instruction, and pressing the operation button twice within a preset time to correspond to a second instruction; the preset rules may also include pressing and releasing the operation button to correspond to a first instruction, and pressing and releasing the operation button for a long time to correspond to a second instruction.
[0034] After obtaining the first image, it can be stored in the first temporary folder.
[0035] Step S220: In response to receiving the second instruction and the first and second instructions satisfying the triggering conditions, acquire the second image and execute the second instruction.
[0036] The second instruction is used to instruct the endoscope host to start the recording function. The second image is the image when the second instruction is received. The triggering conditions include receiving the second instruction after receiving the first instruction and the time difference between receiving the first instruction and the second instruction being within a preset time interval.
[0037] In one embodiment of this application, the second image may be an image displayed by the endoscope host when it receives a second instruction. After acquiring the second image, it can be stored in a first temporary folder.
[0038] Because the second instruction can only be received after the first instruction is received, in practical applications, when the user adjusts the angle to take a picture, accidental touches or handle vibrations may cause the user to accidentally activate the recording function instead of taking a picture, resulting in the user not obtaining the desired image. The endoscope host control method provided in this application can obtain the first image upon receiving the first instruction, and when the recording function is activated, first acquire the second image upon receiving the second instruction before executing the second instruction. This allows the user to view the desired image during subsequent review, or delete the second image when it is determined that the user wants the target video, thus improving the convenience of the endoscope host control method.
[0039] It should be noted that when using the endoscope, in one usage mode, the user may accidentally press the operation button twice in succession to start the recording function; in another usage mode, the user wants to press the operation button twice to take two photos, but due to accidental pressing, the user does not fully release the operation button when pressing it twice, resulting in the operation button being pressed for a long time, and the endoscope host receives a second instruction to start the recording function.
[0040] For example, a target time can be preset. When the operation button is pressed twice consecutively to activate the recording function, the range from 0 to the target time can be defined as the preset time interval. When the operation button is pressed for a long time to activate the recording function, the range from the target time to infinity can be defined as the preset time interval.
[0041] In one embodiment, step S220 may include: in response to receiving a second instruction and the first and second instructions satisfying the triggering conditions, generating a prompt message and broadcasting the prompt message via voice, acquiring a second image, and executing the second instruction. The voice prompt message can alert the user to start recording with the endoscope host. It can remind the user via voice when they have not noticed that the recording function has been accidentally activated, allowing them to quickly turn off the recording function, thereby improving the convenience of the endoscope host control method.
[0042] In one embodiment, after executing step S220 in response to receiving the second instruction and the first and second instructions satisfying the triggering conditions, acquiring the second image and executing the second instruction, the control method of the endoscope host may further include steps S310 to S340.
[0043] Step S310: In response to receiving a third instruction during the execution of the second instruction, acquire the third image and the target video.
[0044] The target video is the set of images received between the receipt of the second instruction and the receipt of the third instruction. The third instruction is used to instruct the endoscope host to turn off the recording function, and the third image is the image received when the third instruction is received.
[0045] In one embodiment of this application, the third image may be an image displayed on the endoscope host's display interface when a third instruction is received. The third instruction can be used to instruct the endoscope host to turn off the recording function. After receiving the third instruction, the set of images displayed on the endoscope host's display interface during the period from the second instruction to the receipt of the third instruction can be obtained, that is, the target video can be obtained. The third image can be stored in a first temporary folder; the target video can be stored in a second temporary folder. The first temporary folder and the second temporary folder can be the same folder or different folders. The first image, second image, third image, and target video obtained can be temporarily stored in a temporary folder (first temporary folder or second temporary folder) only when executing the control method of the endoscope host provided in this application embodiment. In this application embodiment, caching can also be performed after obtaining the first image, second image, third image, and target video.
[0046] It should be noted that since the reception time difference between the second and first commands falls within a preset time interval, the second command can be received as long as the reception time difference is within this interval. However, if the second command is a mistaken trigger, the reception time difference between the first and second commands will still fall within the preset interval. Although the second command instructs the endoscope host to start recording, the user may intend to take a second photo, meaning the second command could be a mistaken trigger. In this case, after the user mistakenly starts recording, a third command is needed to stop the recording function. Alternatively, even without a mistaken trigger, a third command is required to stop the recording function during normal recording.
[0047] For example, the preset rules may also include pressing an operation button and releasing the corresponding third instruction during the execution of the second instruction.
[0048] Step S320: Determine whether the second instruction is a mis-touch instruction.
[0049] It should be noted that since the time difference between the second instruction and the first instruction is within a preset time interval, the second instruction can be received as long as the time difference is within the preset time interval.
[0050] In one possible implementation, when two first instructions are received within a preset time interval to represent the receipt of a second instruction, the reception time of the first instruction and the second instruction can be used to determine whether the second instruction is a false trigger instruction. If the difference between the reception time of the first instruction and the reception time of the second instruction is less than or equal to a speed threshold, then the second instruction is a false trigger instruction; if the difference between the reception time of the first instruction and the reception time of the second instruction is greater than the speed threshold (and the difference falls within the preset time interval), then the second instruction is not a false trigger instruction. The speed threshold can represent the fastest hand speed at which the user continuously presses the operation button. The speed threshold can be a preset value, or it can be determined by the endoscope based on the user's historical usage data; this embodiment does not limit this.
[0051] In another possible implementation, when pressing the operation button represents a first instruction, and releasing the operation button while the pressing time falls within a preset time interval represents a second instruction, the pressure applied to the operation button can be used to determine whether the second instruction is a false trigger instruction. If the change in pressure applied to the operation button within the preset time interval is less than a preset change interval, the second instruction can be determined not to be a false trigger instruction; if the change in pressure applied to the operation button within the preset time interval is greater than or equal to the preset change interval, the second instruction can be determined to be a false trigger instruction.
[0052] In one embodiment, step S320, which determines whether the second instruction is a mis-touch instruction, may include steps S321 to S324.
[0053] Step S321: Obtain the base duration.
[0054] In one embodiment of this application, the base duration can characterize the acceptable duration data of the recorded video.
[0055] In one possible implementation, the base duration can be a preset value set based on expert experience. This setting can reduce the memory required by the endoscope host and decrease the time spent determining whether the second command is a false trigger.
[0056] In another possible implementation, multiple historical recording durations can be obtained; the median of these durations can be used as the base duration, or the mode can be used as the base duration, or a weighted average of the historical recording durations can be applied to obtain the base duration. Determining the base duration based on historical recording durations better aligns with user habits, improving the accuracy of the base duration and thus enhancing the accuracy of determining whether the second instruction is a mis-touch instruction.
[0057] In one embodiment, the process of obtaining multiple historical recording durations may include: obtaining the observation type; and determining multiple historical recording durations associated with the observation type in historical data based on the observation type. The observation type can be input by the user before using the endoscope, and the observation type can characterize the internal body part being examined by the user during this endoscopy. For this endoscopic examination, the user can input the observation type into the endoscope host before using the endoscope. When storing historical data, the endoscope host can first associate the data obtained from each examination with the corresponding observation type.
[0058] For example, the type to be observed can be A, and the historical data associated with the type to be observed can include historical recording duration, images, videos, etc.
[0059] During the use of the endoscope, the endoscope host can record the user's usage data (historical data). If the user has enabled the recording function, the host can obtain the user's feedback on the video. If the user reports that the video is valid, the video duration can be determined as the historical recording duration; if the user reports that the video is invalid, the video can be deleted.
[0060] In this embodiment of the application, the base duration obtained based on the historical recording duration can more accurately represent the effective video recording duration during the user's use of the endoscope host, providing a more accurate basis for judging whether the second instruction is a mis-touch instruction.
[0061] Step S322: Compare the current recording duration of the target video with the base duration.
[0062] In one embodiment of this application, since the base duration represents the length data of a qualified video, it can be determined whether the target video is a valid video by comparing the current recording duration of the target video with the base duration.
[0063] Step S323: When the current recording duration is less than the base duration, determine that the second instruction is a mis-touch instruction.
[0064] In one embodiment of this application, when the current recording duration is less than the base duration, the target video is an invalid video, and the second instruction can be determined to be a mis-touch instruction.
[0065] Step S324: When the current recording duration is greater than or equal to the base duration, determine that the second instruction is not a mis-touch instruction.
[0066] In one embodiment of this application, when the current recording duration is greater than or equal to the base duration, the target video is a valid video, and it can be determined that the second instruction is not a mis-touch instruction.
[0067] Step S330: When the second instruction is a mistaken trigger instruction, delete the target video.
[0068] In one embodiment of this application, when the second instruction is a mis-touch instruction, it indicates that the user did not intend to activate the recording function. The second instruction may be accidentally triggered due to the user accidentally touching an operation button or the operating handle vibrating. In this case, the target video can be deleted. The target video can be deleted from the second temporary folder, that is, from the storage space of the endoscope host; or the target video can be deleted from the second temporary folder and placed in a transition folder. This transition folder can be cleaned periodically according to control instructions; for example, it can be set to be cleaned every two days.
[0069] In one possible implementation, after deleting the target video, the control method of the endoscope host may further include: if the current recording duration of the target video is less than or equal to a first preset duration, then storing the first image, the second image, and the third image, wherein the first preset duration is less than a base duration; if the current recording duration is greater than the first preset duration but less than the base duration, then storing the first image, the second image, and deleting the third image. The base duration can be determined according to the implementation described in step S321, and will not be repeated here.
[0070] The first preset duration can be the minimum recording length of the video. This preset duration can be a value set based on expert experience. When recording a video, users typically need to observe changes in internal features or examine them in detail. In this case, the video length should be longer than the first preset duration to ensure the user can view sufficient feature information. If the current recording duration is less than or equal to the first preset duration, it indicates that the user wants to take three photos upon receiving the third instruction; therefore, the first, second, and third images can be stored.
[0071] Storing the first, second, and third images can be done by deleting them from the temporary folder and then storing them in the photo folder. The images in the photo folder will be stored indefinitely, and operations on the images in the photo folder will only be performed in response to user actions.
[0072] In step S340, if the second instruction is not a mis-touch instruction, the target video is stored and the first image, the second image, and the third image are deleted.
[0073] In one embodiment of this application, when the second instruction is not a mis-touch instruction, it can indicate that the user wants to turn on the recording function. The first instruction is a prerequisite for triggering the second instruction. The second instruction instructs the endoscope host to turn on the recording function, and the third instruction instructs the endoscope host to turn off the recording function. The first image, the second image, and the third image obtained by taking pictures of the display interface of the endoscope host are not the images needed by the user, so the first image, the second image, and the third image can be deleted.
[0074] When the first image, second image, and third image are stored in the first temporary folder, they can be deleted from the first temporary folder, which means they can be deleted from the storage space of the endoscope host; or they can be deleted from the first temporary folder and placed in a transition folder. The transition folder can be cleaned up periodically according to control commands. For example, the transition folder can be set to be cleaned up every 2 days.
[0075] In one embodiment, the control method for the endoscope host may further include steps S410 and S420.
[0076] Step S410: Determine the reception time interval between any two commands with adjacent reception times.
[0077] In one embodiment of this application, the instructions may include a first instruction, a second instruction, and a third instruction. The endoscope host may have an internal clock, which can determine the receiving time as the clock's time when the instruction is received.
[0078] Step S420: If the receiving time interval is less than the preset time interval, then the instruction received later is determined to be an invalid instruction.
[0079] In one embodiment of this application, the endoscope host does not execute invalid instructions. The preset time interval can represent the fastest time a user can manually press the operation button repeatedly. When using the endoscope's operating handle, the time interval between two consecutive button presses (i.e., the reception time interval) should be greater than or equal to the preset time interval. If the reception time interval is less than the preset time interval, it indicates that one instruction is an abnormal instruction, and the instruction received later can be determined as an invalid instruction. The endoscope host may not execute invalid instructions.
[0080] In one embodiment of this application, the file names of the first image, the second image, the third image, and the target video are associated. This allows users to easily retrieve the relevant files during subsequent viewings.
[0081] Figure 3 is a block diagram illustrating a control device for an endoscope host according to an exemplary embodiment of this application. As shown in Figure 3, the exemplary control device 300 for the endoscope host includes:
[0082] The first execution module 310 is configured to execute the first instruction to obtain a first image in response to receiving the first instruction; the first instruction is configured to instruct the endoscope host to obtain the first image, and the first image is the image when the first instruction is received.
[0083] The second execution module 320 is used to acquire a second image and execute the second instruction in response to receiving a second instruction and the first instruction and the second instruction satisfying the triggering conditions; the second instruction is used to instruct the endoscope host to start the recording function, the second image is the image when the second instruction is received, and the triggering conditions include triggering the reception of the second instruction after receiving the first instruction and the time difference between the reception of the first instruction and the second instruction being within a preset time interval.
[0084] It should be noted that the control device for the endoscope host provided in the above embodiments and the control method for the endoscope host provided in the above embodiments belong to the same concept. The specific ways in which each module and unit performs operations have been described in detail in the method embodiments, and will not be repeated here. In practical applications, the control device for the endoscope host provided in the above embodiments can allocate the above functions to different functional modules as needed, that is, divide the internal structure of the system into different functional modules to complete all or part of the functions described above, and this is not a limitation here.
[0085] Embodiments of this application also provide an electronic device, including: one or more processors; and a storage device for storing one or more programs, which, when executed by one or more processors, cause the electronic device to implement the control method of the endoscope host provided in the above embodiments.
[0086] Another aspect of this application provides a computer-readable storage medium storing a computer program thereon, which, when executed by a computer's processor, causes the computer to perform the control method for the endoscope host provided in the various embodiments described above. This computer-readable storage medium may be included in the electronic device described in the above embodiments, or it may exist independently and not assembled into the electronic device.
[0087] Another aspect of this application provides a computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the control method for the endoscope host provided in the various embodiments described above.
[0088] In the embodiments of this application, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance. The terms "comprising" and "including" as used throughout the specification and claims are open-ended terms and should therefore be interpreted as "comprising but not limited to".
[0089] The above embodiments are merely illustrative of the principles and effects of this application and are not intended to limit this application. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of this application. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in this application should still be covered by the claims of this application.
Claims
1. A control method of an endoscope master, characterized by, The method comprises: in response to receiving a first instruction, executing the first instruction to obtain a first image; the first instruction is used to instruct the endoscope host to obtain the first image, and the first image is an image at the time of receiving the first instruction; in response to receiving a second instruction and the first instruction and the second instruction satisfying a trigger condition, obtaining a second image and executing the second instruction; the second instruction is used to instruct the endoscope host to start a video recording function, the second image is an image at the time of receiving the second instruction, and the trigger condition comprises triggering the reception of the second instruction after receiving the first instruction and the time difference between the reception of the first instruction and the second instruction belonging to a preset time interval.
2. The control method of an endoscope host computer according to claim 1, characterized by, After the method further comprises: in response to receiving a third instruction during the execution of the second instruction, obtaining a third image and a target video, the target video being a set of images from the reception of the second instruction to the reception of the third instruction, the third instruction being used to instruct the endoscope host to stop the video recording function, and the third image being an image at the time of receiving the third instruction; determining whether the second instruction is a false touch instruction; when the second instruction is a false touch instruction, deleting the target video; when the second instruction is not a false touch instruction, storing the target video and deleting the first image, the second image and the third image.
3. The control method of an endoscope host computer according to claim 2, characterized by, Determining whether the second instruction is a false touch instruction comprises: obtaining a basic duration; comparing a current recording duration of the target video with the basic duration; when the current recording duration is less than the basic duration, determining that the second instruction is a false touch instruction; when the current recording duration is greater than or equal to the basic duration, determining that the second instruction is not a false touch instruction.
4. The control method of an endoscope host computer according to claim 3, characterized by, Obtaining a basic duration comprises: obtaining a plurality of historical recording durations; determining the median of the plurality of historical recording durations as the basic duration, or determining the mode of the historical recording durations as the basic duration, or weighting the plurality of historical recording durations to obtain the basic duration.
5. The control method of an endoscope host computer according to claim 4, characterized by, Obtaining a plurality of historical recording durations comprises: obtaining a type to be observed; determining a plurality of historical recording durations associated with the type to be observed in historical data based on the type to be observed.
6. The control method of an endoscope host computer according to claim 2, characterized by, After the method further comprises: when the second instruction is a false touch instruction, deleting the target video, and then if the current recording duration of the target video is less than or equal to a first preset duration, storing the first image, the second image and the third image; 7. The control method of an endoscope host computer according to any one of claims 1 to 6, characterized by if the current recording duration is greater than the first preset duration and less than the basic duration, storing the first image and the second image and deleting the third image. The method further comprises: determining the reception time interval between any two instructions with adjacent reception times; 8. A control device of an endoscope master, characterized by, if the reception time interval is less than a preset time interval, determining the instruction with the later reception time as an invalid instruction. The method comprises: a first execution module, configured to execute a first instruction to obtain a first image in response to receiving the first instruction; The first instruction is used to instruct the endoscope host to acquire the first image, the first image being an image at a time when the first instruction is received; The second execution module is configured to acquire a second image and execute a second instruction in response to receiving the second instruction and the first instruction and the second instruction satisfying a trigger condition; the second instruction is used to instruct the endoscope host to start a video recording function, the second image being an image at a time when the second instruction is received, and the trigger condition including triggering the receiving of the second instruction after the receiving of the first instruction and a time difference between the receiving of the first instruction and the receiving of the second instruction belonging to a preset time interval.
9. An electronic device, comprising: The electronic device comprises: one or more processors; a memory for storing program codes executable by the processors; The processor is configured to execute the program codes to implement the control method of the endoscope host according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, When the instructions in the computer readable storage medium are executed by the processor of the electronic device, the electronic device can execute the control method of the endoscope host according to any one of claims 1 to 7.