Endoscope camera system, camera host and file storage management method thereof
By associating the file names of screenshot images with the file names of video files in the endoscopic camera system and generating a video file index, the problem of users having difficulty finding files is solved, and the search efficiency is improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2020-01-10
- Publication Date
- 2026-03-10
AI Technical Summary
After endoscopic surgery, users often find it difficult to quickly locate relevant video and screenshot files, leading to difficulties and time-consuming searches.
By associating the filenames of screenshot images with the filenames of video files in the endoscopic camera system, and generating video file index information during the recording process, users can quickly locate relevant information.
It enables users to quickly find relevant video files and screenshots, reducing search time and difficulty.
Smart Images

Figure CN121636748A_ABST
Abstract
Description
[0001] This application is a divisional application of the invention patent application with the application date of January 10, 2020, the application number of 202010026998.8, and the invention name of "Endoscope camera system, camera host and file storage management method thereof". TECHNICAL FIELD
[0002] The present application relates to the field of medical devices, in particular to an endoscope camera system, a camera host and a file storage management method thereof. BACKGROUND
[0003] With the development of minimally invasive surgery, medical endoscopes have been increasingly widely applied to daily surgery and examination. The camera system of the current medical endoscope often needs to support video recording and screenshot functions, and screenshot may also be performed during video recording. However, when the user needs to obtain the video file of the video recording and the image file of the screenshot during the video recording, the user needs to spend a lot of time browsing multiple files to determine the video file and the corresponding snapshot file (screenshot file), which brings inconvenience to the user's search. SUMMARY
[0004] The embodiments of the present application provide an endoscope camera system, a camera host and a file storage management method thereof and a computer readable storage medium, solve the problem of difficulty and time-consuming of user searching for related video files or snapshot files after endoscopic surgery, and can facilitate the user to search for related information.
[0005] In a first aspect, the embodiments of the present application provide a file storage management method for an endoscope camera host, comprising: The endoscope camera host determines whether a camera start operation triggering the camera device of the endoscope to perform camera is acquired; When the camera start operation is acquired, the image information acquired from the camera device during the camera process is stored in a video file; Determine whether a screenshot operation triggering the camera device to perform screenshot is acquired during the camera process; When the screenshot operation is acquired during the camera process, the image information at the triggering time corresponding to the screenshot operation is stored as a screenshot picture; The file name of the screenshot picture is associated with the file name of the video file.
[0006] The file storage management method for the endoscope camera host provided by the embodiment associates the file name of the screenshot picture with the file name of the video file when saving the screenshot picture, so that the user can conveniently know the source of the screenshot picture when viewing the file. The problem of difficult and time-consuming search of related video files or snapshot files by the user after the endoscopic surgery is solved, and the user can conveniently search for related information.
[0007] In an embodiment, the control stores the image information acquired from the camera device in the video file during the camera process, including: determining a camera start time corresponding to the camera start operation; setting the file name of the video file based on the camera start time, so that the file name of the video file includes the camera start time.
[0008] In an embodiment, the setting of the file name of the screenshot picture associated with the file name of the video file includes: determining a screenshot time corresponding to the screenshot operation; acquiring the file name of the video file; setting the file name of the screenshot picture based on the screenshot time and the file name of the video file, so that the file name of the screenshot picture includes the screenshot time.
[0009] In an embodiment, the method further includes: judging whether a camera end operation triggering the camera device to stop the camera is acquired; when the camera end operation is acquired, determining a camera end time corresponding to the camera end operation; after the camera ends, updating the file name of the video file based on the camera end time, so that the file name of the video file includes the camera start time and the camera end time.
[0010] In an embodiment, the setting of the file name of the video file based on the camera start time includes: setting the file name of the video file based on the camera start time and a file identifier, wherein the file name of the video file includes the camera start time and the file identifier, and the file identifiers in the file names of different video files are all different.
[0011] In an embodiment, the file storage management method further includes: when the camera start operation is acquired, creating a new storage folder in the memory of the camera host to store the video file and the screenshot picture in the storage folder.
[0012] In one embodiment, creating a new storage folder in the memory of the camera host includes: Obtain the creation time corresponding to the creation of the storage folder; The folder name of the storage folder is set based on the creation time, so that the folder name includes the creation time.
[0013] In one embodiment, the file storage management method further includes: The video file is sampled based on the sampling time interval to generate one or more sampled images; The filename of each sampled image is associated with the filename of the video file.
[0014] In one embodiment, the step of generating one or more sampled images after sampling the video file based on the sampling time interval includes: One or more sampling time points on the video file are determined based on the sampling time interval; Obtain the video information corresponding to each sampling time point in the video file; The system generates a sampled image for each sampling time point from the video information at that sampling time point.
[0015] In one embodiment, associating the filename of each sampled image with the filename of the video file includes: Obtain the filename of the video file; Set the file name of the sampled image corresponding to each sampling time point and the file name of the video file, so that the file name of the sampled image includes the information of the corresponding sampling time point.
[0016] In one embodiment, the sampling time interval is a fixed sampling time interval or a non-fixed sampling time interval.
[0017] In one embodiment, after determining the screenshot time corresponding to the screenshot operation, the method further includes: Control the camera device to stop acquiring the image information; The file name of the video file is updated based on the screenshot time, so that the file name of the video file includes the camera start time and the screenshot time.
[0018] In one embodiment, after determining whether a camera start operation has been detected that triggers the endoscope's camera device to take pictures, the method further includes: If the camera starts operation is not obtained, but a screenshot operation is obtained that triggers the camera device to take a screenshot, then the image information at the trigger time corresponding to the screenshot operation is stored as a screenshot image. The file name of the screenshot image is set to include the trigger time.
[0019] Secondly, embodiments of this application provide another file storage management method for an endoscope camera host, including: The endoscope camera host controls the storage of image information generated by the endoscope's camera device during the recording process into a video file; Determine whether an indexing operation that triggers the creation of an index for the video file is obtained during the recording process; When the index operation is obtained during the recording process, the video file is indexed based on the index operation so that the video file includes index information corresponding to the index operation.
[0020] The file storage management method for an endoscope camera host provided in this embodiment indexes video files and saves the index information to the corresponding video files, allowing users to easily identify the source of screenshots when viewing files. This solves the problem of difficulty and time-consuming search for relevant video files or snapshot files after endoscopic surgery, making it easier for users to find relevant information.
[0021] In one embodiment, the indexing process of the video file based on the indexing operation includes: Determine the indexing time corresponding to triggering the indexing operation; The video file is indexed based on the index time, so that the index information of the video file includes the index time.
[0022] In one embodiment, the indexing operation includes a screenshot operation performed during the camera operation; determining the indexing time corresponding to triggering the indexing operation includes: The screenshot time of the screenshot operation is determined as the index time.
[0023] In one embodiment, the indexing operation includes a sampling processing operation on the video file based on the sampling time interval; determining the indexing time corresponding to triggering the indexing operation includes: The sampling processing operation is determined at one or more sampling points on the video file; The index time is determined to include each sampling time point.
[0024] In one embodiment, the sampling time interval is a fixed sampling time interval or a non-fixed sampling time interval.
[0025] In one embodiment, the index information is used to display in the playback interface when the video file is played; the file storage management method further includes: Obtain the video information corresponding to the indexed time in the video file; An index image is generated based on the video information at the index time; the index image is used to be displayed in the playback interface when the video file is played.
[0026] Thirdly, embodiments of this application also provide another file storage management method for an endoscope camera host, including: The endoscope camera host determines whether it has received a camera start operation that triggers the camera device of the endoscope to start recording; When the camera operation is initiated, the control will store the image information acquired from the camera device during the recording process in a video file; Determine whether a screenshot operation triggering the camera device to take a screenshot was obtained during the recording process; When the screenshot operation is captured during the recording process, the control stores the image information corresponding to the trigger time of the screenshot operation as a screenshot image; Determine the screenshot time corresponding to the screenshot operation; The file name of the screenshot image must include at least the time the screenshot was taken.
[0027] The file storage management method for an endoscopic camera host provided in this embodiment ensures that when a screenshot is taken during video recording, the file name includes at least the time the screenshot was taken. This allows users to easily identify the source of the screenshot and pinpoint its exact moment in the video when viewing the file. This solves the problem of difficulty and time-consuming retrieval of relevant video or snapshot files after endoscopic surgery, making it easier for users to find related information.
[0028] Fourthly, embodiments of this application provide an endoscope camera host, comprising: case; An image signal input interface is provided on the housing; An image processing board assembly, comprising at least an image processing board, wherein the image processing board is communicatively connected to the image signal input interface and is used to process image information input through the image signal input interface; An image output board assembly, which is communicatively connected to the image processing board, is used to convert and output the image information processed by the image processing board; A video recording board, which is communicatively connected to the image output board assembly, is used to record image information processed by the image output board assembly; A memory, which is communicatively connected to the video recording card, is used to store image information recorded by the video recording card; A control board, which is at least communicatively connected to the video recording card; the control board includes at least a processor, which executes executable program instructions to implement the steps of the file storage management method as described in any one of claims 1-20.
[0029] Fifthly, this application provides an endoscopic imaging system, characterized in that it includes an endoscope, a camera, a light source host, the aforementioned camera host, a display, and a beam guide; one end of the beam guide is connected to the light source interface of the light source host, and the other end is connected to the endoscope, for providing a light source for the endoscope; one end of the camera is used to snap onto the endoscope to acquire the optical signals of the endoscope and process the optical signals to obtain image information; the other end of the camera is connected to the image signal input interface of the camera host via a communication cable to transmit the image information acquired by the camera to the camera host for processing; the display is connected to the camera host for displaying the image output by the camera host.
[0030] A fifth aspect of the present invention provides a computer-readable storage medium storing computer-executable program instructions, which, when executed by a processor, implement the file storage management method described in any one of the preceding embodiments. Attached Figure Description
[0031] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0032] Figure 1 This is a schematic diagram of an endoscopic camera system in one embodiment.
[0033] Figure 2 This is a schematic diagram of the structure of an endoscope camera host in one embodiment.
[0034] Figure 3 This is a schematic diagram of the structure of an endoscope camera host in one embodiment.
[0035] Figure 4 This is a schematic diagram of the structure of an endoscope camera host in one embodiment.
[0036] Figure 5 This is a schematic diagram of the signal flow of the endoscope camera host in one embodiment.
[0037] Figure 6 This is a flowchart of the steps of a file storage management method in one embodiment.
[0038] Figure 7 This is a schematic diagram of a file directory structure in one embodiment.
[0039] Figure 8 This is a flowchart of the steps of a file storage management method in one embodiment.
[0040] Figure 9 This is a flowchart of the steps of a file storage management method in another embodiment.
[0041] Figure 10 This is a flowchart of the steps of a file storage management method in another embodiment.
[0042] Figure 11 This is a schematic diagram of video file playback in one embodiment.
[0043] Figure 12 This is a flowchart of the steps of a file storage management method in one embodiment. Detailed Implementation
[0044] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0045] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.
[0046] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0047] The embodiments of the present invention will be described in detail below.
[0048] like Figure 1 The diagram shown is a schematic of an endoscopic imaging system in one embodiment, including an endoscope 3000 ( Figure 1 The diagram shows a rigid endoscope, a camera 6000, a light source host 4000, a camera host 1000, a display 2000, and a beam guide 5000. One end of the beam guide 5000 is connected to the light source interface of the light source host 4000, and the other end is connected to the light source interface of the endoscope 3000 to provide a light source for the endoscope 3000. One end of the camera 6000 is used to snap onto the endoscope 3000 to acquire and process the optical signals from the endoscope 3000 to obtain image information. The other end of the camera 6000 is connected to the image signal input interface of the camera host 1000 via a communication cable to transmit the image information acquired by the camera 6000 to the camera host 1000 for processing. The display 2000 is connected to the camera host 1000 to display the images output by the camera host 1000. The camera host 1000 can be any of the embodiments described below.
[0049] like Figures 2-5The diagram shows a schematic of a camera host 1000 in one embodiment. It includes a housing 200, an image signal input interface 130, an image processing board assembly, an image output board assembly 300, a recording board 500, a power module 600 (specifically, an AD-DC power module), a control board 700, an I / O board 110, and a memory. The image signal input interface 130 is mounted on the housing 200. The image processing board assembly includes at least an image processing board 400, which is communicatively connected to the image signal input interface 130 and used to process the image signal input from the image signal input interface 130. The image output board assembly 300 is connected to the image processing board 500. The image processing board 400 is connected to the image output board 300 for conversion and output; the video recording board 500 is connected to the image output board 300 for recording the image processed by the image output board 300; the memory is connected to the video recording board for storing the image information recorded by the video recording board; the control board 700 is used to control the power supply between the various devices inside the camera host, and may also include a processor for executing executable program instructions to control the function implementation of the various devices inside the camera host. In this embodiment, the processor is used to execute executable program instructions to implement the steps of the file storage management method provided in any of the following embodiments.
[0050] The memory can be either the camera's internal memory (e.g., the camera's hard drive) or external memory (e.g., external hard drive, USB flash drive, SD memory card, etc.). External memory is connected to the camera via an interface on the I / O board.
[0051] The control board 700 and the I / O board 110 are respectively disposed at any position in the housing 200. For example, the control board 700 and the I / O board 110 are installed on both sides or in the middle of the housing 200. In one embodiment, the control board 700 and the I / O board 110 are respectively disposed at both ends of the housing 200. The housing 200 is divided into two sides from the front end to the rear end of the housing 200. The video recording board 500 and the AC-DC power supply module 600 are sequentially installed on one side, while the image processing board assembly and the image output board assembly 300 are sequentially installed on the other side.
[0052] Specifically, the control board 700 is located at the front end of the housing 200, and the I / O board 110 is located at the rear end of the housing 200. The housing 200 is divided into two areas from the front end to the rear end. One area is used to house the video recording board 500 and the AC-DC power module 600, and the other area is used to house the image processing board assembly and the image output board assembly 300. The video recording board 500 and the image output board assembly 300 are located on the side closer to the front end of the housing 200, and the image output board assembly 300 and the AC-DC power module 600 are located on the side closer to the rear end of the housing 200. This not only facilitates the routing of cables between the housing 200, the image signal input interface 130, the image processing board assembly, the image output board assembly 300, the video recording board 500, the AC-DC power module 600, the control board 700, and the I / O board 110. For example, the signal line connecting the image output board assembly 300 and the image processing board 400 can be arranged along the edge of the housing 200; the signal line between the recording board 500 and the image output board assembly 300 can be arranged along one side of the recording board 500 and the side of the image output board assembly 300 away from the edge; and the image processing board 400 is adjacent to the image signal input interface 130, thus allowing direct communication via signal lines (e.g., ...). Figure 5 (As shown).
[0053] For example, the power cord connects sequentially from the AC-DC power module 600 along the other edge of the housing 200 to the control board 700, and then through the control board 700 along the side of the recording card 500 away from the edge to the recording card 500, the image processing card 400, and the image output card assembly 300, respectively. This avoids the problem of power cords crossing signal lines and also solves the problem of power cords interfering with signal lines (e.g., Figure 5 (As shown).
[0054] After adopting the above technical solution, since the cables are interconnected and influence each other through electromagnetic conduction, electromagnetic induction and electromagnetic radiation, the various components inside the endoscope host can be reasonably arranged in the housing 200. This not only facilitates the orderly and neat arrangement of the cables inside the camera host 1000, avoiding the problem of tangling caused by a large number of cables, but also reduces signal interference between cables. At the same time, it also prevents the endoscope host from being interfered with, affected and harmed by personnel or other equipment under certain conditions.
[0055] In one embodiment, the image processing board 400 is a CCU board assembly, and the image output board assembly 300 includes a 2K image output board 302 and a 4K image output board 301. Both the 2K image output board 302 and the 4K image output board 301 are used to convert and output the images processed by the image processing board 400. The signal line connecting the image output board assembly 300 and the image processing board 400 can be a high-frequency cable 101. In this embodiment, a 4K image output interface and a 2K image output interface are respectively provided at the rear end of the housing 200 so that users can select different output interfaces according to their needs.
[0056] In one embodiment, the camera host 1000 further includes a filter assembly 800, wherein the filter assembly 800 is mounted on the housing 200 via an insulating base assembly, thereby preventing devices and cables at the power input terminal from causing signal interference to other devices inside the camera host 1000.
[0057] Specifically, the filter assembly 800 is installed at the rear of the housing 200 and on the side close to the AC-DC power module 600. This is mainly to prevent the AC-DC power module 600 from causing signal interference to other devices inside the camera host 1000, such as the image output board assembly 300, the image processing board 400, and the recording board 500. The endoscope host has a power socket 120 at one end of the filter assembly 800 to connect to an external power source to power the various devices inside the endoscope camera host.
[0058] In one embodiment, the image processing board assembly further includes a board bracket (not shown) and a heat sink (not shown), wherein the image processing board 400 is mounted on the housing 200 via the board bracket, and the heat sink is mounted on the side of the image processing board 400 facing away from the board bracket in order to dissipate heat from the image processing board 400.
[0059] In one embodiment, the image output board assembly 300 further includes a spacer bracket (not shown in the figure), wherein the 4K image output board 301 is mounted on the housing 200, and the 2K image output board 302 is mounted on the side of the 4K image output board 301 facing away from the housing via the spacer bracket. This not only avoids occupying space inside the endoscope host, but also prevents the 2K image output board 302 from affecting the signal of the 4K image output board 301, and also facilitates the connection of signal lines between the 2K image output board 302 and the 4K image output board 301.
[0060] Please see Figure 6 The diagram shows a flowchart of a file storage management method for an endoscopic camera system according to an embodiment of this application. The file storage management method includes the following steps: Step 100: The endoscope camera host determines whether it has detected the camera device that triggered the endoscope to start recording; if the camera start operation is detected, step 102 is executed.
[0061] Specifically, such as Figure 1 As shown, the imaging device of the endoscope may include an endoscope 3000 and a camera 6000.
[0062] The user can hold the operating unit (handle) of the camera 6000 and insert the endoscope 3000 into the patient's body. Both the endoscope 3000 and the camera 6000 contain optical elements such as lenses. The camera 6000 may contain an image sensor located in the optical path of the optical elements to convert the optical signals acquired by the endoscope 3000 into image information. The image sensor may include, but is not limited to, a CCD sensor or a CMOS sensor. The camera 6000 transmits the acquired image information to the camera host 1000 for further processing, such as conversion, compression, and storage. The camera host 1000 can also display the converted image information on the monitor 2000 for the user to view.
[0063] The camera 6000 has one or more operation buttons on its operating unit. The camera 6000 can perform corresponding functions based on the user's operation of these buttons. For example, the operation buttons may include a recording button and a photo button. The camera 6000 can perform recording operation based on the user's operation of the recording button, and can also perform photo capture operation based on the user's operation of the photo button. Specifically, when the recording button is pressed for the first time, it controls the camera host 1000 to start recording; when the recording button is pressed again, it controls the camera host 1000 to end recording. In other embodiments, the operation buttons may also include a recording start button and a recording end button to control the camera host 1000 to perform recording start and recording end operations respectively.
[0064] For example, when a user performs surgery or examination using an endoscope, upon receiving a recording start command, the camera host can begin recording. This recording start command can be issued by the user pressing the record button on the camera 6000 handle, by pressing the corresponding function key on the camera host 1000, or by a remote control associated with the camera host 1000. When the user wishes to take a picture of the current scene, they can send a photo command to save the current scene as an image. This photo command can be issued by the user pressing the photo button on the camera 6000 handle, by pressing the corresponding function key on the camera host 1000, or by a remote control associated with the camera host 1000. When the user wants to stop recording, they can send a recording end command. This recording end command can be issued by the user pressing the record button on the camera 6000 handle, by pressing the corresponding function key on the camera host 1000, or by a remote control associated with the camera host 1000.
[0065] Step 102: Control the storage of image information acquired from the camera device during the recording process into a video file.
[0066] In one embodiment, the control board of the camera host also includes a clock chip (not shown), and the processor obtains the time of occurrence of the corresponding event from the clock chip, such as one or more of the year, month, week, day, hour, minute, and second of the event.
[0067] In one embodiment, when the camera button is triggered, the processor begins to execute the camera operation. The processor begins acquiring image information and obtains the camera start time corresponding to the start of the camera operation via a clock chip. The processor also controls the storage of the image information acquired during the camera operation into a video file.
[0068] Users may take multiple photos on the same day. Therefore, to distinguish or search different stored video files, the filenames of the video files can be set. In one embodiment, the processor can determine the start time of the camera operation and set the filename of the video file based on the start time, so that the filename of the video file includes the start time of the camera operation. Furthermore, this also facilitates users in classifying, organizing, or searching for different files in the same folder.
[0069] Please see Figure 7The diagram shows a file directory structure according to an embodiment of this application. If the camera starts recording at 15:30 on April 15, 2019, the processor can set the video file name to include the camera start time, such as setting the video file to "04151530", where the video file name is "MMDDHHMM" (two months, two days, two hours, and two minutes, respectively). To better distinguish different files, a file identifier can be added to the file name of each video file to update the video file name. The file identifier can be letters, numbers, or a combination of both. The file identifier of the video file name can be "EF", and the updated video file can be shown as video file 632. In other embodiments, the file identifier of the video file name can be "01", and the updated video file can be shown as video file 614. In this embodiment, the file identifier of each video file can be different.
[0070] To make it easier for users to find relevant files, files generated on different days can be stored in different storage folders. For example, when the endoscope camera system is turned on (e.g., when the power is turned on), the processor performs the operation of creating a new storage folder in memory to store the files generated during this boot.
[0071] In one embodiment, the processor can create folders within a preset file path, such as a storage folder created under the preset file path "ROOT". The processor can iterate through the creation times of each storage folder under the preset file path and determine whether a storage folder created on the same day exists. If no storage folder created on the same day exists, the processor performs a storage folder creation operation to create a new storage folder under the preset file path; if a storage folder created on the same day already exists, the newly generated file data can be directly stored in that folder.
[0072] In one embodiment, the folder name of the storage folder can be set according to the creation time corresponding to the storage folder creation operation. The processor obtains the creation time and sets the folder name of the storage folder based on the creation time. The creation time includes one or more of the year, month, day, hour, and minute numbers corresponding to the storage folder creation operation; or, the creation time includes one or more of the year, week, day, hour, and minute numbers corresponding to the storage folder creation operation. For example, if the creation time of the storage folder creation operation is 15:10 on April 15, 2019, the processor can set the folder name of the newly created storage folder to 04151510-2019 (i.e., "MMDDHHMM-YYYY", which consists of two months, two days, two hours, two minutes, and four years, respectively). In this way, the user can determine which day's records they need to view based on the storage folder name.
[0073] Folder 600 includes one or more storage folders, and users can determine the creation time based on the folder names of each storage folder. For example, the default folder 600 includes a first folder 610, a second folder 620, and a third folder 630. The first folder 610 was created at 8:30 AM on March 15, 2019, the second folder 620 was created at 8:30 AM on April 13, 2019, and the third folder 630 was created at 3:30 PM on April 15, 2019.
[0074] Of course, in one embodiment, each video file and its corresponding other files can be stored in a folder.
[0075] In one embodiment, the processor stores the video files in corresponding storage folders, such as storing the video files in storage folders created on the same day. For example, video file 612 is stored in folder 610 created on the same day, video file 622 is stored in folder 620 created on the same day, and video file 632 is stored in folder 630 created on the same day.
[0076] Step 104: Determine whether a screenshot operation triggering the camera device to take a screenshot is obtained during the recording process; when the screenshot operation is obtained during the recording process (e.g., the user triggers the screenshot operation by pressing an operation button), proceed to step 106.
[0077] Step 106: Control the storage of image information corresponding to the trigger time of the screenshot operation as a screenshot image.
[0078] When a screenshot operation is detected during video recording, the processor determines the screenshot time corresponding to the operation. The processor then acquires the image information corresponding to that trigger time and stores it as a screenshot image. For example, if the screenshot time is determined to be 3:30:30 PM on April 15, 2019, the processor can acquire the image information corresponding to that time and store it as a screenshot image.
[0079] Step 108: Associate the file name of the screenshot image with the file name of the video file.
[0080] When a screenshot operation is simultaneously performed during video recording, to facilitate user understanding of the relationship between the screenshot image obtained from the screenshot operation and the video file obtained from the video recording operation, the processor determines the screenshot time corresponding to the screenshot operation and obtains the filename of the video file containing the image information stored during the video recording process. The processor 500 also sets the filename of the screenshot image based on the start time of the video recording and the filename of the video file, so that the filename of the screenshot image is associated with the filename of the video file. The association between the filename of the screenshot image and the filename of the video file indicates that the filenames of the screenshot image and the video file share at least some similarity. For example... Figure 7 As shown, during the recording process of storing image information in video file 632, a screenshot operation corresponding to the trigger time of 15:30:30 on April 15, 2019 is obtained. At this time, the processor 500 stores the image information of the trigger time as a screenshot image 636, whose file name is "EP-0415153030" (which represents the file identifier of the video file, two-digit month number, two-digit day number, two-digit hour number, two-digit minute number, and two-digit second number, respectively). The file name of screenshot image 636 contains parts that are the same as the file name of video file 632, such as "EP-04151530". Thus, the user can know from the file names of video file 632 and screenshot image 636 that screenshot image 636 was generated during the recording process of video file 632.
[0081] In one embodiment, when the recording process is lengthy, the video file size may be large. Therefore, the user may need to record in segments. During the recording operation, the user can click the screenshot button. The processor simultaneously acquires the screenshot during the recording process, controls the cessation of image information acquisition, and updates the video file name based on the screenshot time, ensuring that the video file name includes both the recording start time and the screenshot time. That is, at least some screenshot operations are used as dividing points to divide the video recording process into multiple video files for storage. For example, for the second folder 620, if the recording start operation is acquired at 9:30:30 on April 15, 2019, the processor stores the acquired image information in the video file and sets the video file name according to the recording start time corresponding to the recording start operation, such as setting the video file name to "CD-093030-*". When a screenshot is captured during recording at 9:30:40 AM on April 15, 2019, the processor stores the image information corresponding to that trigger time as screenshot image 624 and associates the filename of screenshot image 624 with the filename of the video file. For example, both the filename of screenshot image 624 and the filename of the video file include the identifier "CD". When another screenshot is captured during recording at 10:10:10 AM on April 15, 2019, the processor stores the image information corresponding to that trigger time as screenshot image 628 and stores the image information from both times as one video file. Newly acquired image information is stored as another video file. The processor updates the filename of video file 622 according to the trigger time of the screenshot operation, as shown in video file 622. At this time, the file name of video file 622 includes the start time of camera recording and the trigger time of screenshot operation, and the file name of screenshot image 628 is associated with the file name of video file 622. For example, the file name of screenshot image 624 and the file name of video file both include "CD" and "101010".
[0082] Step 110: Determine whether a recording end operation has been obtained that triggers the camera device to stop recording. If a recording end operation is obtained, proceed to step 112. If no recording end operation is obtained, it means that the recording process is still continuing. Then return to step 102 to continue storing the acquired image information in the video file.
[0083] Step 112: Determine the camera ending time corresponding to the camera ending operation.
[0084] Step 114: Update the filename of the video file based on the camera's end time, so that the filename of the video file includes both the camera's start time and end time. For example, for the first folder 610, if a camera start operation is detected at 9:30:30 on March 15, 2019, the processor stores the acquired image information in a video file and sets the filename of the video file according to the camera start time corresponding to the camera start operation, such as setting the filename of the video file to "AB-093030-*". If a camera end operation is detected at 10:10:10 on March 15, 2019, the processor updates the filename of the video file according to the camera end time. The updated filename of the video file is shown in video file 612, that is, the filename of the video file includes both the camera start time and end time. Additionally, video file 614 indicates that the recording started at 3:30:30 PM on March 15, 2019, and ended at 10:10:10 AM on March 16, 2019.
[0085] Video files and image files can be distinguished by their different file types and formats. For example, video file types and formats include mp4, avi, flv, etc., while screenshots can be in formats such as jpg, png, gif, etc.
[0086] In one embodiment, the file names corresponding to the video file obtained based on the camera operation and the screenshot image obtained based on the screenshot operation are different. Therefore, the screenshot image generated in the same camera operation and the video file generated in the same camera operation can be stored in the same folder so that users can quickly identify the associated screenshot image and video file.
[0087] The above-mentioned file storage management method associates the file names of screenshots taken during the camera operation with the file names of the stored video files. This allows users to quickly and easily retrieve the files corresponding to the screenshots taken during the camera operation based on the file names of the screenshots and the video files, which helps users better identify the associated screenshots and video files.
[0088] Please see Figure 8The diagram shows a flowchart of the file storage management method according to another embodiment of this application. Compared with the file storage management method in the above embodiments, the file storage management method in this embodiment further includes: when step 200 is executed, if the camera start operation is not detected, it indicates that the user may have triggered a screenshot operation independently, i.e., the screenshot operation is not during the camera recording process. In this case, step 204 is executed; when the camera start operation is detected, step 202 can be executed, wherein step 202 is the same as steps 102 to 114 in the above embodiments, so please refer to steps 102 to 114 in the above embodiments for details.
[0089] Step 204: Determine whether a screenshot operation triggering the camera device to take a screenshot has been obtained; if the screenshot operation is obtained, proceed to step 206; if no screenshot operation is obtained, it means that the user has not generated the corresponding file through the camera operation or screenshot operation of the endoscope 50, and at this time, this process can end.
[0090] Step 206: Control the image information at the trigger time corresponding to the screenshot operation to be stored as a screenshot image.
[0091] Step 208: Set the file name of the screenshot image to include the trigger time.
[0092] like Figure 7 As shown, in one embodiment, for the third subfolder 630, if a screenshot operation is obtained at 15:30:20 on April 15, 2019, when the camera is not in the process of recording, the processor can store the image information corresponding to the trigger time as a screenshot image 634, and set the file name of the screenshot image 634 to include the trigger time, such as the file name of the screenshot image 634 being "0415153020-2019" (which respectively represent the two-digit month number, two-digit day number, two-digit hour number, two-digit minute number, two-digit second number, and four-digit year number of the screenshot image).
[0093] The file storage management method provided in the above embodiments sets the file name of the screenshot image according to different rules based on whether the screenshot image was generated during the recording process, which also helps users to easily distinguish different screenshot images.
[0094] Please see Figure 9 The diagram shows a flowchart of a file storage management method according to another embodiment of this application. This file storage management method includes the following steps: Step 300: Obtain the video file during the recording process or obtain the video file after the recording is completed.
[0095] When multiple surgeries or examinations are performed on the same day, multiple video files will be generated. If a user wants to find the content of a specific video file or to know the content of a video file, the user may need to spend a lot of time looking at each video file. Moreover, video files may contain long video content. Therefore, if a user wants to find out whether a video file contains the corresponding target content (such as an image of a specific part of the monitored object), the user will need to spend a lot of time searching.
[0096] To improve the efficiency of users finding target content, in this embodiment, video files during or after recording can be sampled to generate one or more sample images. The file name of each sample image is then associated with the file name of the corresponding video file. In this way, users can determine whether the corresponding video file is the one they are looking for based on the sample images, thus improving the efficiency of users finding target content.
[0097] Step 302: After sampling the video file based on the sampling time interval, generate one or more sampled images.
[0098] During or after recording, the video file can be stored in a memory (including but not limited to the internal memory of the endoscope camera host or an external memory connected to the endoscope camera host via a communication interface), such as... Figure 7 As shown, video files 612, 614, and 622 are video files after the recording is completed; video file 632 is a video file during the recording process.
[0099] The endoscope camera host can sample video files to obtain images at each sampling point, allowing users to determine whether target content exists in the video file based on the images obtained from the sampling process.
[0100] In one embodiment, one or more sampling time points on the video file can be determined according to the sampling time interval, and the video information corresponding to each sampling time point on the video file can be obtained. Specifically, the video information of each sampling time point or the video information near the sampling time point can be controlled to generate a sampling image corresponding to each sampling time point. The type and format of the sampling image may include static file type (such as jpg, png) or dynamic file type (such as gif).
[0101] In one embodiment, the sampling time interval can be fixed or non-fixed, so that the sampling time intervals between two adjacent sampling points are the same or different. The processor 500 determines the sampling time points on the video file based on the sampling time interval. For example, when the duration of the video file is 30 minutes, if the sampling time interval is fixed (e.g., 5 minutes), then 6 sampling time points will be formed on the video file, corresponding to the positions at 5 minutes, 10 minutes...25 minutes, and 30 minutes of the video file's duration. Of course, the sampling time interval can also be non-fixed. Specifically, the sampling time points can be determined according to a preset sampling rule. For example, the camera host can intelligently recognize the current image information. When a significant change is detected in the image, such as a change in the examination area shown in the image, a sampling time point is generated to facilitate recording the moment when the examination area on the patient changes. Furthermore, after determining each sampling time point on the video file, the video information of each sampling time point can be acquired, and the acquired video information of each sampling time point can be converted into a sample image. The specific conversion process can be executed through corresponding software or commands.
[0102] Step 304: Associate the file name of each sampled image with the file name of the video file, so that the file name of the sampled image includes information of the corresponding sampling time point.
[0103] When obtaining the sampled images at each sampling time point, to better facilitate the association between the sampled images and video files for users, each sampled image can be associated with the filename of the corresponding video file. Furthermore, the filename of the sampled image may also include information about the corresponding sampling time point. For example, the filename of the sampled image may include the time position information of the sampled image in the corresponding video, so that users can easily know the position of the sampled image in the video.
[0104] Referring again to Figure 7, after sampling video file 622, if a sampled image 626 is obtained, the filename of the sampled image can be set to include the filename of video file 622 and the sampling time point of the sampled image within video file 622. For example, if the sampling image is located at 1 minute and 1 second in video file 622, and the filename of video file 622 is "CD-093030-101010", then the sampled image can be set to "CD-093030-101010-000101". Furthermore, users can also determine the corresponding video file and its specific location within that video file based on the filename of the sampled image. For example, if the filename of the sampled image is "CD-093030-101010-000108", the user can determine that the sampled image is located within the filename of the video file "CD-093030-101010" and specifically at 1 minute and 8 seconds in the video file, thus facilitating quick location within the video file.
[0105] The above-mentioned file storage management method samples the video file according to the sampling time interval and associates the sampled images with the original video file. In this way, users can easily determine whether the original video file contains the target content or the specific time position of the content that the user is interested in in the video file based on the sampled images.
[0106] Please see Figure 10 The diagram shows a flowchart of a file storage management method according to another embodiment of this application. This file storage management method includes the following steps: When users need to find whether a video file contains the target content (such as an image of a specific part of a monitored object), they may need to spend a lot of time looking through each video file from beginning to end, which is inconvenient for them.
[0107] To improve the efficiency of users finding target content, in this embodiment, an indexing operation can be performed on the video file during the recording process or the video file after the recording is completed to generate one or more index information. In this way, users can determine whether the video file is the target content they are looking for, or where the target content of interest is located in the video file, based on the index information included in the video file, which helps to improve the efficiency of users finding target content.
[0108] Step 400: Store the image information acquired during the recording process in a video file.
[0109] In this embodiment, steps 100 to 114 in the above embodiments can be executed to store the image information transmitted during the recording process in the video file. For details, please refer to the steps in the above embodiments.
[0110] Step 402: Determine whether an indexing operation triggering the indexing of the video file is obtained during the recording process; if the indexing operation is obtained during the recording process, proceed to step 406; if the indexing operation is not obtained during the recording process, proceed to step 404.
[0111] In this embodiment, the indexing operation can be triggered during the recording process, such as when a screenshot operation is obtained during the recording process. That is, when a screenshot operation is obtained, it is determined that an indexing operation to create an index for the video file during the recording process has been obtained.
[0112] Step 404: Determine whether an indexing operation to create an index for the video file was obtained after the recording was completed; if the indexing operation was obtained after the recording was completed, proceed to step 406; otherwise, the process ends.
[0113] In this embodiment, the indexing operation can be triggered after the recording is completed, such as when indexing video file 622. In this case, the indexing operation includes sampling processing of the video file based on the sampling time interval. In other embodiments, sampling processing can also be performed based on the sampling time interval when indexing video files during the recording process.
[0114] Step 406: Index the video file based on the indexing operation, so that the video file includes index information corresponding to the indexing operation. Specifically, the index information can be used to display in the playback interface when the video file is played.
[0115] In this embodiment, the indexing time corresponding to triggering the indexing operation is determined, and the video file is indexed based on the indexing time so that the indexing information of the video file includes the indexing time.
[0116] When a screenshot operation is captured during video recording, the video file stored during the recording process is indexed based on the screenshot operation. The screenshot time corresponding to the screenshot operation can be used as the index time. In this way, when one or more screenshot operations are captured during video recording, one or more corresponding index times can be determined, and the video file can be indexed based on the determined index times.
[0117] Once the sampling processing performed on the video file based on the sampling time interval is obtained after the recording is completed, one or more sampling time points of the sampling processing on the video file can be determined, and the index time point can be determined to include the corresponding sampling time point.
[0118] Similarly, the sampling time interval can be a fixed sampling time interval or a non-fixed sampling time interval.
[0119] Step 408: Play the video file including the index information. Specifically, the video file can be played directly through the camera host and displayed on a monitor connected to the camera host; or the user can copy the video file to another playback device (such as a computer) for playback.
[0120] Please refer to the following: Figure 11 The diagram illustrates a video file playback according to an embodiment of this application. When a video file including index information is played, the video content of the video file can be displayed on a display screen 508. The display screen 508 includes an image display area 580, a duration control area 584, and an index display area 582. The index display area 582 displays one or more index images 528 containing index information.
[0121] In this embodiment, when playing a video file that includes index information, the camera host can preprocess the video file, such as determining the index image corresponding to each index moment, and displaying each index image 528 tiled in the index display area 582 during playback.
[0122] For example, the camera host can control the display of an index image at the corresponding index time position on the video file. In this embodiment, the index image 528 includes a first index image, a second index image, a third index image, and a fourth index image. The first and third index images can be generated based on screenshots taken during the recording process, while the second and fourth index images can be generated based on the sampling time interval. When the index image 528 is clicked or selected, the user can quickly play the video content at the index time where the index image 528 is located.
[0123] The file storage management method described above allows users to easily and quickly locate the content they want to watch based on the position of the index information when playing video files that include index information, further improving the efficiency of users in finding target content.
[0124] like Figure 12 The diagram shown is a flowchart illustrating another file storage management method for an endoscope camera host in an embodiment of this application, including the following steps: Step 1.1: The endoscope camera host determines whether it has received a notification that the camera device of the endoscope has started recording. If so, proceed to step 1.2.
[0125] Step 1.2: When the camera operation is initiated, the control will store the image information acquired from the camera device during the recording process in a video file.
[0126] Step 1.3: Determine whether a screenshot operation was triggered during the recording process. If so, proceed to step 1.4.
[0127] Step 1.4: When the screenshot operation is captured during the recording process, the image information corresponding to the trigger time of the screenshot operation is stored as a screenshot image.
[0128] Step 1.5: Determine the screenshot time corresponding to the screenshot operation, that is, the time when the screenshot operation occurred.
[0129] Step 1.6: Set the file name of the screenshot image to include at least the screenshot time.
[0130] In this embodiment, steps 1.1-1.4 and... Figure 6 Steps 100-106 are the same in the illustrated embodiment; please refer to the detailed explanation below. Figure 6 In the corresponding embodiment, the difference is that when setting the file name of the screenshot image, the screenshot time corresponding to the screenshot operation is obtained, and the screenshot time is used as at least part of the file name of the screenshot image to facilitate user viewing and enable quick location of the screenshot image's corresponding time position in the video file.
[0131] This application also provides a computer-readable storage medium storing computer-executable program instructions, which, when executed by a processor, implement the file storage management method for an endoscope camera host described in any of the above embodiments.
[0132] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0133] The embodiments of the present invention have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A file storage management method for an endoscope camera head, characterized by, The method comprises: The endoscope camera host control stores image information generated by the camera device of the endoscope in a video file during the camera process; Determine whether the index operation triggering the index of the video file is acquired during the camera process; When the index operation is acquired during the camera process, the video file is indexed based on the index operation, so that the video file includes index information corresponding to the index operation.
2. The file storage management method of claim 1, wherein, The index processing of the video file based on the index operation comprises: Determine the index time corresponding to the index operation; Index the video file based on the index time, so that the index information of the video file includes the index time.
3. The file storage management method of claim 2, wherein, The index operation includes a screenshot operation of taking a screenshot during the camera operation; the index time corresponding to the index operation is determined, comprising: Determine the screenshot time of the screenshot operation as the index time.
4. The file storage management method of claim 2, wherein, The index operation includes a sampling processing operation on the video file based on a sampling time interval; The index time corresponding to the index operation is determined, comprising: Determine one or more sampling time points of the sampling processing operation on the video file; The index time includes each sampling time point.
5. The file storage management method of claim 4, wherein, The sampling time interval is a fixed sampling time interval or a non-fixed sampling time interval.
6. The file storage management method of claim 3, wherein, The index information is used to display in the playing interface when the video file is played; The file storage management method further comprises: Acquire the video information corresponding to the index time in the video file; Generate an index picture according to the video information of the index time; the index picture is used to display in the playing interface when the video file is played.
7. An endoscope camera head, characterized by comprising: The method comprises: A housing; An image signal input interface, the image signal input interface is arranged on the housing; An image processing board card assembly, the image processing board card assembly at least includes an image processing board card, the image processing board card is in communication connection with the image signal input interface, and is used for processing image information input by the image signal input interface; An image output board card assembly, the image output board card assembly is in communication connection with the image processing board card, and is used for converting and outputting image information processed by the image processing board card; A recording board card, the recording board card is in communication connection with the image output board card assembly, and is used for recording image information processed by the image output board card assembly; A memory, the memory is in communication connection with the recording board card, and is used for storing image information recorded by the recording board card; A control board, the control board is in communication connection with at least the recording board card; the control board at least includes a processor, and the processor is used for executing executable program instructions to realize the steps of the file storage management method in any one of claims 1-6.
8. An endoscope camera system characterized by comprising: The system comprises an endoscope, a camera, a light source host, a camera host as claimed in claim 7, a display and a light guide; one end of the light guide is connected to a light source interface of the light source host, and the other end is connected to the endoscope, for providing light source for the endoscope; one end of the camera is used for clamping to the endoscope, for acquiring optical signals of the endoscope, and processing the optical signals to obtain image information; the other end of the camera is connected to an image signal input interface of the camera host through a communication cable, for transmitting the image information acquired by the camera to the camera host for processing; The display is connected to the camera host, for displaying images output by the camera host.
9. A computer-readable storage medium storing computer-executable program instructions, characterized in that, The computer executable program instructions are executed by the processor to implement the file storage management method as claimed in any one of claims 1 to 6.
Citation Information
Patent Citations
Vehicle, environmental control system, and method for operating an environmental control system
EP4151530A1