Recording device, photographing device, time setting control method and program
By synchronizing time between a photographing device and a processing device through external correction, the system maintains accurate timekeeping and chronological order of recorded data, addressing inaccuracies caused by environmental deviations.
Patent Information
- Application Number
- JP2022037694
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-03-11
- Publication Date
- 2024-09-18
- Estimated Expiration
- 2042-03-11
AI Technical Summary
Existing recording devices, such as photographing devices, often experience inaccuracies in timekeeping due to environmental factors, leading to deviations in recorded date and time that can disrupt the chronological order of data, especially in applications like medical imaging where time accuracy is crucial.
A system comprising a photographing device and a processing device connected via wireless communication, where the processing device corrects the photographing device's time based on external synchronization, ensuring that time adjustments do not reverse the chronological order of recorded data by applying predetermined conditions to time correction processes.
This approach maintains the chronological integrity of recorded data by preventing time reversals, ensuring accurate timekeeping and facilitating seamless integration with other data systems, particularly in medical imaging.
Smart Images

Figure 0007552633000005 
Figure 0007552633000001 
Figure 0007552633000006
Abstract
Description
[Technical field]
[0001] The present invention relates to a recording device, a photographing device, a time setting control method, and a program. [Background technology]
[0002] Recording devices such as photographing devices that take visible light or infrared photographs and record digital photographic data, and recording devices that take audio and record digital audio data, have a timing function and store date and time information for when the data was recorded in association with the recorded data.
[0003] However, since most recording devices operate independently, the recording date and time attached to the recorded data often becomes inaccurate unless the user adjusts the date and time appropriately. Patent Document 1 discloses a technology that corrects the date and time attached to the photographed data to the correct recording date and time when accurate external date and time information is obtained, even if the date and time information is reset due to battery replacement or the like in the camera and an incorrect date and time is attached to the photographed data after that. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Japanese Patent Application Publication No. 9-186953 Summary of the Invention [Problem to be solved by the invention]
[0005] However, even if the data recording device is simply counting the time continuously, the time difference will become unevenly large depending on the usage environment, etc. Such a difference is difficult to correct later, and if the time is corrected all at once after the difference has become large and used as the shooting time, problems may arise such as the apparent shooting order becoming inconsistent before and after the correction.
[0006] An object of the present invention is to provide a recording device, a photographing device, a time setting control method, and a program that can prevent inconvenience caused by adjusting the time counted by the device itself. [Means for solving the problem]
[0007] In order to achieve the above object, the present invention provides A timekeeping unit that counts time; A recording unit for recording data; A communication unit for connecting to the outside; a time when the recording unit records the data is associated with the data based on a time measured by the time measuring unit as a recording time; After communication is established with the outside via the communication unit, a control unit that acquires a correction target time for correcting the measured time, and when it is determined that a predetermined condition for determining whether the correction target time is earlier than the recording time associated with the most recent data is satisfied, associates, with the data to be subsequently recorded, a time when the measured time has not been corrected based on the correction target time as the recording time; A recording device comprising: Effect of the Invention
[0008] According to the present invention, it is possible to suppress the occurrence of inconveniences that may accompany the correction of the time counted by the device itself. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a diagram illustrating a recording system according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a block diagram showing the functional configuration of an imaging device and a processing device. [Diagram 3] 10 is a flowchart showing a control procedure of a shooting control process. [Figure 4] FIG. 13 is a sequence diagram showing communication contents and processing timing between the photographing device and the processing device. [Diagram 5] 5 is a flowchart showing a first example and a second example of a control procedure of a date and time correction control process. [Figure 6] 10 is a flowchart showing a third and fourth example of a control procedure of the date and time correction control process. [Figure 7] 13 is a flowchart showing a fifth example of a control procedure for the date and time correction control process. [Figure 8] 13 is a flowchart showing a sixth example of a control procedure for the date and time correction control process. [Figure 9] 10 is a flowchart showing a control procedure of a date and time information transmission process executed by the processing device. [Figure 10] 13 is a flowchart showing a sixth example of a control procedure for the date and time correction control process. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a diagram showing a recording system 100 of the present embodiment. The recording system 100 includes an imaging device 1 and a processing device 4, and is capable of wireless communication connection via a router 7. Although not particularly limited, the recording system 100 is configured to acquire and manage medical images, and the processing device 4 acquires image data captured by the imaging device 1, associates it with a patient, and stores it or outputs it to an external medical management system.
[0011] The photographing device 1, which is a recording device of this embodiment, is a digital camera that detects incident light and generates image data. The recording device here is a device that detects, measures, and records data of some kind of recording target at a certain timing or for a limited period of time, and may include, in addition to the photographing device, a sound recording device, and a physical sensor that measures various physical quantities related to mechanics, thermodynamics, and / or electromagnetism. The photographing device (digital camera) includes an event recording device that detects an event that meets a specific condition and operates or stores recorded data. In addition, the physical sensor includes a biosensor that is executed mainly in response to the command of a person in charge, either once or intermittently, to measure the life state or activity state of a human being. On the other hand, it does not include a live camera or a monitoring sensor that continues recording operation continuously (at very short intervals, for example, at intervals of 1 second or less) regardless of individual recording commands or the occurrence of events.
[0012] The processing device 4 is, for example, a PC (Personal Computer), and executes an application program (program 431) that acquires and manages image data captured by the imaging device 1. The PC may be a desktop type or a notebook type. Alternatively, the processing device 4 may be a tablet terminal or the like.
[0013] The photographing device 1 and the processing device 4 are capable of transmitting and receiving data via, for example, wireless communication, for example, WiFi.
[0014] FIG. 2 is a block diagram showing the functional configuration of the photographing device 1 and the processing device 4. As shown in FIG. The photographing device 1 includes a CPU 11 (Central Processing Unit; control unit), a RAM 12 (Random Access Memory), a memory unit 13, a timing unit 14, a communication unit 15, an operation receiving unit 16, a display unit 17, and a photographing unit 18 (recording unit), etc.
[0015] The CPU 11 is a processor that performs calculation processing and controls the overall operation of the photographing device 1. The CPU 11 may have a single processor, or multiple processors may operate in parallel or independently for different purposes. The CPU 11 acquires the date and time of the clock unit 14 when the photographing operation is performed by the photographing unit 18 and photographed image data is generated, and associates the date and time with the recorded image data as the photographing date and time (recording date and time) (time setting step, time setting means).
[0016] The RAM 12 provides a working memory space for the CPU 11 and stores temporary data. The RAM 12 is, but is not limited to, a DRAM, for example.
[0017] The storage unit 13 has a non-volatile memory such as a flash memory. The storage unit 13 stores setting data, captured image data, and a program 131. The setting data may include identification information of the processing device 4 that outputs the captured image data, or the captured image data may simply be output when requested by an external device connected for communication.
[0018] The clock unit 14 counts the current date and time. The clock unit 14 here includes a counter (RTC: Real Time Clock) that continuously counts the date and time even when the CPU 11 is not operating as hardware, as well as a sundial function that counts a clock signal generated by an oscillator circuit (not shown) by the CPU 11.
[0019] The communication unit 15 controls transmission and reception of data to and from an external device according to a predetermined communication standard. The communication standard may be, for example, wireless LAN (WiFi) or the like, and may also be short-range wireless communication such as Bluetooth (registered trademark) in addition to or instead of this. The communication unit 15 has a network card for performing these communications. The communication unit 15 may also have a connection terminal for direct communication such as USB (Universal Serial Bus).
[0020] The operation reception unit 16 receives an input operation from the user and outputs an operation signal corresponding to the input operation to the CPU 11. The operation reception unit 16 may include, for example, some or all of a push button switch, a rotary switch, a slide switch, a touch panel, etc. The operation reception unit 16 includes, for example, a switch that receives an operation for switching the operation (on / off) of the photographing device 1 (own device), and a switch that receives an operation for releasing the shutter to photograph.
[0021] The display unit 17 has a display for displaying a preview image in the field of view for shooting, a shot image, a shooting menu, etc. The display is, for example, a liquid crystal display screen (LCD). Of the above, at least the CPU 11, the RAM 12, and the communication unit 15 are included in the computer of this embodiment.
[0022] The photographing unit 18 photographs an image in the field of view and generates (records) photographed image data. The photographing unit 18 has an optical system such as a lens and a detection unit such as a CMOS sensor or a CCD sensor, detects the amount of light that enters the field of view and is sent to the detection unit via the optical system in units of two-dimensionally arranged pixels, and generates and records image data as a luminance distribution in units of the pixels.
[0023] The photographing device 1 supplies power to each part using, for example, a removable dry cell or a rechargeable battery or a built-in rechargeable battery. In addition to or instead of this, the photographing device 1 may be capable of operating by receiving power from an external source via a power cable connected to a power terminal. Also, the rechargeable battery may be capable of being charged by the power supplied at this time.
[0024] In addition to the above, the photographing device 1 may have a light emitting unit and may be capable of illuminating the subject to be photographed with an appropriate illuminance.
[0025] The processing device 4 (information processing device) includes a CPU 41 (control unit), a RAM 42, a storage unit 43, a timer unit 44, a communication unit 45, an operation reception unit 46, a display unit 47, and the like. The CPU 41 is a processor that performs arithmetic processing and controls the overall operation of the processing device 4. The CPU 41 may have a single processor, or may have multiple processors that operate in parallel or independently for each purpose.
[0026] The RAM 42 provides a working memory space for the CPU 41 and stores temporary data. The RAM 42 is, but is not limited to, a DRAM, for example.
[0027] The storage unit 43 has a non-volatile memory such as an HDD (Hard Disk Drive) or a flash memory. The storage unit 43 stores setting data, medical information including captured image data acquired from the imaging device 1, and a program 431. The setting data may include identification information of the imaging device 1 to be connected for communication to acquire the captured image data.
[0028] The clock unit 44 counts the current date and time. The clock unit 44 here includes a counter (RTC: Real Time Clock) that continuously counts the date and time even when the CPU 41 is not operating as hardware, as well as a sundial function that counts a clock signal generated by an oscillator circuit (not shown) by the CPU 41. A PC generally periodically connects to a time information distribution server such as an NTP (Network Time Protocol) server to obtain the date and time, and the date and time counted by the clock unit 44 is adjusted, so that the discrepancy between the date and time is kept small.
[0029] The communication unit 45 controls transmission and reception of data with external devices according to a predetermined communication standard. The communication standard includes a standard common to the photographing device 1 to enable communication with the photographing device 1, such as wireless LAN (WiFi) in this case, and may also include TCP / IP and UDP related to wired LAN. The communication unit 45 has a network card (board) that enables the above communication. The communication unit 45 may also have a connection terminal related to direct communication via USB (Universal Serial Bus) or the like.
[0030] The operation reception unit 46 receives an input operation from a user and outputs an operation signal corresponding to the input operation to the CPU 41. The operation reception unit 46 includes, for example, a pointing device such as a mouse, a keyboard, etc. The operation reception unit 46 may also include a power switch and a reset switch for the processing device 4.
[0031] The display unit 47 has a display and performs display based on the control of the CPU 41. The display is, for example, a liquid crystal display screen (LCD). The display unit 47 may also include an LED lamp or the like for indicating an operating state or the like. The operation reception unit 46 and / or the display unit 47 may be a peripheral device (a configuration external to the processing device 4) connected via a connection terminal of the communication unit 45.
[0032] Next, the time setting control method of this embodiment will be described. When an image is captured by the photographing device 1, the date and time of the photographing timing (timing of recording) is obtained from the timing unit 14, and the date and time are stored in association with the generated captured image data as a recording date and time.
[0033] 3 is a flowchart showing a control procedure of the shooting control process by the CPU 11. This shooting control process is started every time the operation reception unit 16 receives a shooting operation (such as pressing the shutter button).
[0034] The CPU 11 acquires the date and time of the photographing timing from the timer unit 14 in response to the photographing operation (step S11). The CPU 11 generates photographed image data in a predetermined format based on the luminance distribution of the incident light detected by the detector of the photographing unit 18 in response to the photographing operation, and stores the data in the storage unit 13 (step S12). The format is not particularly limited, but may be, for example, the JPEG format.
[0035] The CPU 11 stores the acquired date and time as the recording date and time of the photographed image data in association with the photographed image data (step S13). The association may be in the same file as the photographed image data or may be managed separately, and may be included in metadata attached to the photographed image data, for example. Then, the CPU 11 ends the photographing control process. In this way, in the photographing device 1 of this embodiment, the recording date and time can simply be obtained from the clock section 14.
[0036] Independently of the above-mentioned photographing operation and association of photographed date and time with photographed image data, the photographing device 1 performs a date and time correction operation. In order to match the timing of acquiring the photographed image data of the photographing device 1 and other information held by the processing device 4, etc., the date and time of the clocking units 14, 44 of the processing device 4 and the photographing device 1 must be approximately the same. Generally, it is troublesome to manually input and set the correction of the date and time on the photographing device 1 side, and when the photographing operation is performed independently without being connected to the processing device 4, etc., or when the power supply is stopped, the clocking date and time is not adjusted by the clocking unit 14. If left as is, the clocking date and time will gradually deviate from the correct date and time (for example, up to about 0.5 seconds per day with the accuracy of a clock, and up to about 8.6 seconds per day with the accuracy (1 / 10,000) when the situation is not good for a general PC). Therefore, depending on the usage environment, etc., a deviation of several seconds to several minutes can easily occur. However, when the photographed image data by the photographing device 1 is integrated and managed with external medical information, etc., if there is a date and time difference between the photographing device 1 and the photographing device 1, it may cause a problem in integrating the photographed image data to which the deviated recording date and time is associated. Furthermore, particularly with medical data, it is not desirable to allow the date and time added to photographed image data to be modified later, as this could lead to unauthorized tampering. Therefore, it is necessary to add as accurate a date and time as possible from the beginning.
[0037] Therefore, when the photographing device 1 is connected to the processing device 4 for communication, the processing device 4 executes the program 431 to easily receive date and time data from the processing device 4 (external) via the communication unit 15 based on the date and time counted by the clock unit 44. When the processing device 4 starts the program 431, the user can easily perform an operation to request the transmission of date and time data to the photographing device 1 via a screen displayed on the display unit 47. Alternatively, the program 431 may check whether or not a communication connection with the photographing device 1 is possible at least when the program 431 is started, depending on the settings, and if a communication connection is possible and a communication connection is made, the program 431 may automatically transmit the date and time data. Note that, if the photographing device 1 is not started or is not in a place where communication is possible when the program 431 is started, and a communication connection is not made, the processing device 4 may periodically output a signal to search for the photographing device 1, or may output a signal to search for the photographing device 1 in response to a certain input operation to the operation reception unit 46. Alternatively, depending on the settings of the photographing device 1, the processing device 4 may wait for communication from the photographing device 1.
[0038] In this way, the date and time can be easily adjusted for each examination date, thereby preventing large discrepancies in the date and time.
[0039] FIG. 4 is a sequence diagram showing the contents of communication and the timing of processing between the photographing device 1 and the processing device 4. In FIG. As shown in FIG. 4(a), when the photographing device 1 is turned on and the program 431 is started in the processing device 4, a communication connection is established between the photographing device 1 and the processing device 4, and date and time information is transmitted from the processing device 4 to the photographing device 1. The photographing device 1 receives this date and time information and performs a control process related to the correction of the date and time counted by the clock unit 14. After that, when an image is captured by the photographing device 1, the date and time counted by the clock unit 14 at the time of the image capture is added to the photographed image data. The photographed image data with the date and time data added is transmitted to the processing device 4 at any time or in response to a transmission request from the processing device 4 (based on a transmission request by the user). The photographed image data acquired by the processing device 4 is appropriately integrated with other medical data.
[0040] Here, the programs 431 in the photographing device 1 and the processing device 4 are not always started at approximately the same timing. When the photographing device 1 finishes photographing a certain patient, the power supply is cut once as necessary, and the photographing device 1 is often in an off state until the next patient who needs to be photographed is photographed. In this case, the processing device 4 often has the program 431 in a running state around the timing when the photographing device 1 is turned on for the second or subsequent times on the same day. In this case, the date and time are corrected immediately after the photographing device 1 is started, so that the photographing date and time attached to the photographed image data is maintained in an approximately accurate state. Therefore, even after integration with the medical data, there is no difference with other medical data, for example, the consultation time of the photographed patient, so that the photographed image data can be appropriately managed.
[0041] On the other hand, when capturing an image of the first patient of the day, the program 431 may not yet be started in the processing device 4. For example, the program 431 may be started and connected for communication after the operation of the imaging device 1 is started (turned on) and an imaging operation is performed. Even in this case, if the date and time are corrected for each examination day as described above, the absolute value of the deviation is unlikely to become large.
[0042] However, as shown in FIG. 4(b), after the photographing device 1 is started and "photographing 1" is performed, the program 431 is started later to display the image on the processing device 4, and the date and time correction operation is performed accordingly. If this date and time correction is to return the counted date and time, a period in which the counted date and time overlap between the returned date and time and the original date and time (time count overlap period) occurs. If "photographing 2" is performed during this period, the recording date and time attached to the photographed image data of "photographing 2" performed later may be earlier than the recording date and time attached to the photographed image data of "photographing 1" performed earlier. Since the order of photographing is often important information (especially, it is important not to confuse the photographed image data with that of a different patient), it is not preferable to reverse the actual photographing order and the order of the attached recording dates and times.
[0043] In the photographing device 1 of this embodiment, when date and time information (target correction date and time) is acquired from the external processing device 4, control is performed so as not to change the date and time that may result in a reversal of the recording date and time and the shooting order.
[0044] FIG. 5 is a flowchart showing a first example and a second example of a control procedure by the CPU 11 of the date and time correction control process executed by the photographing device 1. In FIG. These date and time correction control processes are automatically started when communication is established with the processor 4 and date and time information is received.
[0045] In the first example of the date and time correction control process shown in Fig. 5(a), the CPU 11 acquires the received correction destination date and time Tc (step S101; correction information acquisition step, correction information acquisition means). The CPU 11 acquires the most recent shooting date and time Ts (i.e., the date and time of the most recent shooting operation so far) (step S102). If the captured image data is stored in the storage unit 13, this most recent shooting date and time Ts may be read out directly, or it may be stored and held separately from the captured image data, so that the captured image date and time Ts can be obtained even after the captured image data is transmitted to the outside (processing device 4) and deleted.
[0046] The CPU 11 determines whether the destination correction date and time Tc is greater than (is later than; "greater" can be "greater than or equal to") the most recent shooting date and time Ts (the first condition is not met) (step S103). If it is determined that the destination correction date and time Tc is greater than the most recent shooting date and time Ts ("YES" in step S103), the CPU 11 corrects the date and time counted by the clock unit 14 (timed date and time) with the destination correction date and time Tc (step S104). Then, the CPU 11 ends the date and time correction control process. If it is determined that the destination correction date and time Tc is not greater than the most recent shooting date and time Ts ("NO" in step S103), the CPU 11 ends the date and time correction control process.
[0047] That is, in the first example of the date and time correction control process, the CPU 11 does not correct the date and time if it would go back to a date and time earlier than the most recent shooting date and time Ts (the recording date and time of the photographed image data).
[0048] The second example of the date and time correction control process shown in FIG. 5(b) is the same as the first example of the date and time correction control process in steps S101 and S104, and the same process contents are given the same reference numerals and detailed explanations are omitted.
[0049] After the process of step S101, the CPU 11 determines whether a photographing operation has already been performed since the current startup of the photographing device 1 (whether the third condition is met) (step S111). If it is determined that a photographing operation has not been performed ("NO" in step S111), the process of the CPU 11 proceeds to step S104. If it is determined that a photographing operation has already been performed ("YES" in step S111), the CPU 11 ends the date and time correction control process.
[0050] During medical examinations, the operation of the photographing device 1 is turned off during the change of patients as described above. This off period is usually longer than the difference in the date and time counted by the clock unit 14 of the photographing device 1, taking into consideration the time required for the change of patients and explanations and questions to patients. On the other hand, during photographing, photographing is often performed multiple times in succession at short time intervals. Therefore, even if the most recent photographing date and time Ts is not directly acquired, if it is possible to correct the date and time counted by the clock unit 14 only during the period from when the photographing device 1 starts up (starts operation) to when the first photographing is performed, in other words, by prohibiting the correction of the date and time during the period from when the first photographing operation is performed to when the operation is stopped, it is possible to prevent the order of the photographing dates and times assigned to the photographed image data from being reversed with respect to the actual photographing order.
[0051] FIG. 6 is a flowchart showing a third and fourth example of the control procedure by the CPU 11 of the date and time correction control process executed by the photographing device 1. In FIG. The third example of date and time correction control processing shown in FIG. 6(a) is a combination of steps S101 to S104 of the first example and the determination processing (step S111) of the second example.
[0052] After the process of step S101, if the process of step S111 shows that a shooting operation has already been performed after the start-up of the photographing device 1 and the process branches to "YES", the process of the CPU 11 proceeds to the process of step S102. That is, in this photographing device 1, the CPU 11 initially judges only whether or not a shooting operation has been performed, and if it is determined that a shooting operation has been performed, it acquires the most recent shooting date and time Ts and more accurately determines whether or not a reversal of the shooting order of the shooting date and time attached to the photographed image data may occur (the combination (logical product) of "YES" in step S111 and "NO" in step S103 is the fourth condition).
[0053] The fourth example of the date and time correction control processing shown in Figure 6(b) is obtained by adding steps S112 and S113 to the date and time correction control processing of the second example. The same processing contents as those of the first and second examples of the date and time correction control processing are given the same reference numerals and detailed explanations are omitted.
[0054] If the determination process in step S111 shows that a photographing operation has already been performed after the start-up of the photographing device 1 and the process branches to "YES", the CPU 11 acquires the clocked date and time Tp by the clock unit 14 (step S112). The CPU 11 determines whether the clocked date and time Tp is smaller than the correction target date and time Tc (is later; "equal to or less than" may be used instead of "smaller") (the second condition is not satisfied) (step S113).
[0055] If it is determined that the measured date and time Tp is smaller (later) than the destination correction date and time Tc ("YES" in step S113), the process of the CPU 11 proceeds to step S104, where the measured date and time Tp is corrected. If it is determined that the measured date and time Tp is not smaller (advanced) than the destination correction date and time Tc ("NO" in step S113), the CPU 11 ends the date and time correction control process.
[0056] In the date and time correction control process of this fourth example, even after a photographing operation has been performed, if the correction is to advance the date and time, the photographing date and time attached to the photographed image data cannot be in a different order from the photographing order, so by allowing correction only in this case, the opportunities for correction are increased. Also, in the process of this fourth example, as in the second example, the most recent photographing date and time Ts is not obtained, so there is no need to store information on this photographing date and time Ts.
[0057] 7 is a flowchart showing a fifth example of the control procedure by the CPU 11 of the date and time correction control processing executed by the photographing device 1. In this fifth example of the date and time correction control processing, the processing of step S121 is added to the date and time correction control processing of the first example. The same processing contents as those of the first example are given the same reference numerals and detailed explanations will be omitted.
[0058] If it is determined in the determination process of step S103 that the most recent shooting date and time Ts is not smaller than the correction target date and time Tc (the correction target date and time Tc is earlier than the most recent shooting date and time Ts) ("NO" in step S103), the CPU 11 corrects the clocked date and time of the clock unit 14 to the most recent shooting date and time Ts (step S121). Then, the CPU 11 ends the date and time correction control process.
[0059] As described above, since it is only necessary to ensure that the order of the shooting dates and times assigned to the photographed image data is not reversed with respect to the actual shooting order, the order will not be reversed even if the clocked date and time Tp of the clock unit 14 is adjusted forward to the most recent shooting date and time Ts. In this way, by bringing the clocked date and time Tp closer to the correct date and time even if only slightly earlier, the amount of date and time adjustment required at the next adjustment can be reduced, thereby reducing the possibility that the next adjustment date and time Tc will be earlier than the most recent shooting date and time Ts. Note that, here, the clocked date and time Tp is corrected to the shooting date and time Ts on the assumption that the timing of the date and time correction and the next shooting operation will not occur simultaneously. However, in consideration of the case where they occur simultaneously, the CPU 11 may correct the clocked date and time Tp to a date and time obtained by adding a certain amount of time (for example, 1 second) to the shooting date and time Ts (a date and time later than the shooting date and time Ts).
[0060] 8 is a flowchart showing a sixth example of the control procedure by the CPU 11 of the date and time correction control processing executed by the photographing device 1. In this sixth example of the date and time correction control processing, steps S131 and S132 are added to the date and time correction control processing of the first example. The same process contents as those of the first example are denoted by the same reference numerals and detailed explanations will be omitted.
[0061] If the determination process in step S103 branches to "NO", the CPU 11 waits for the time difference (Ts-Tc) (step S131). The CPU 11 changes the correction destination time Tc to the most recent recording time Ts acquired in step S102 (step S132). Then, the process of the CPU 11 returns to step S102.
[0062] That is, if the correction destination date and time Tc is earlier than the most recent photographed date and time Ts, after the time difference has elapsed since the acquisition timing of the correction destination date and time Tc, the correction destination date and time, i.e., the exact date and time counted externally, will also be equal to the photographed date and time Ts after the same time has elapsed, so if the clocked date and time Tp is corrected at that timing (or after this timing), the correction destination date and time will not be smaller than the most recent photographed date and time Ts. However, if a new shooting operation is performed during the standby time and the most recent photographed date and time Ts changes (is moved down), Ts>Tc will still be maintained, so it will be necessary to wait again in the same way. Note that if the state branched to "NO" in the determination process of step S103 continues and the operation to turn off the operation is accepted by the operation acceptance unit 16 without correcting the clocked date and time Tp (this may include a case where a state where no input operation is performed for a certain specified time continues and a transition is made to a standby state (a state in which the operation of the CPU 11 is interrupted)), the date and time correction control process may be terminated without correcting the date and time.
[0063] Contrary to the above examples, the timekeeping date and time Tp of the clock unit 14 is always corrected in the date and time correction control process, while when the photographing date and time Ts is associated with the photographed image data in the photographing control process, the acquired timekeeping date and time Ts may be corrected according to the determination result in the date and time correction control process to become the photographing date and time Ts. In this case, for example, even if the determination result in the date and time correction control process indicates that the date and time is not to be corrected, the date and time is corrected, and at this time, the difference between the photographing date and time Ts at that time and the correction destination date and time Tc is calculated, and this difference is stored in the storage unit 13 as a correction value. In the case of the determination result that the date and time is to be corrected, the correction value may be set to "0". Then, instead of associating the timekeeping date and time Tp with the photographed image data, a correction date and time obtained by adding the obtained correction value to the timekeeping date and time Tp may be associated with the photographed image data. This correction value is held even if the operation is turned off until the next date and time correction control process is executed. In the photographing device 1 performing such processing, when using the date and time for purposes other than associating it with photographed image data, such as displaying the current date and time on the display unit 17, the corrected accurate measured date and time Tp may be used.
[0064] 9 is a flowchart showing a control procedure by the CPU 41 of the date and time information transmission process executed by the processing device 4. This date and time information transmission process is included in the program 431, and is called and executed when a communication connection is established between the processing device 4 and the image capturing device 1 while the program 431 is running.
[0065] The CPU 41 transmits a command related to ICMP_ECHO, such as ping, to the image capturing device 1 that is connected for communication (step S401). This transmission may be performed not only once, but multiple times. The CPU 41 acquires a communication delay time (a time required for communication) based on a response to the command related to ICMP_ECHO (step S402). When transmitting a command multiple times, the communication delay time may be determined based on an average value or the like.
[0066] The CPU 41 acquires the current date and time from the clock unit 44 (step S403). The CPU 41 corrects the current date and time by the communication delay time (step S404). That is, the CPU 41 advances the current date and time by approximately the communication delay time (sets it to a later time). The CPU 41 transmits the corrected date and time to the image capture device 1 (step S405). Then, the CPU 41 ends the date and time information transmission process.
[0067] The image capturing device 1 can also correct the communication delay time. 10 is a flowchart showing a sixth example of the control procedure by the CPU 11 of the date and time correction control processing executed by the photographing device 1. In this date and time correction control processing, steps S141 to S143 are added to the date and time correction control processing of the first example, and steps S103 and S104 are changed to steps S103a and S104a, respectively. Other processes that are the same are given the same reference numerals and detailed explanations will be omitted.
[0068] After the process of step S102, the CPU 11 transmits a ping to the processing device 4 (step S141). The CPU 11 obtains a communication delay time based on the response time (step S142). The CPU 11 corrects the correction destination date and time Tc to a correction destination date and time Tcm that is delayed by the obtained communication delay time (step S143).
[0069] The CPU 11 determines whether the most recent shooting date and time Ts is smaller (later) than the destination correction date and time Tcm (step S103a). If it is determined that the most recent shooting date and time Ts is smaller than the destination correction date and time Tcm ("YES" in step S103a), the CPU 11 corrects the date and time of the clock unit 14 to the destination correction date and time Tcm (step S104a). Then, the CPU 11 ends the date and time correction control process. If it is determined that the shooting date and time Ts is not smaller (later) than the destination correction date and time Tcm ("NO" in step S103a), the CPU 11 ends the date and time correction control process.
[0070] As described above, when the time measurement date and time Tp is corrected based on the correction destination date and time Tc, if the time measurement date and time Tp that was advanced is rewound, the time measurement date and time Tp will overlap partially in the photographing device 1. If photographing is performed during the second or subsequent overlapping period, the new photographing date and time Ts determined by the time measurement date and time Tp will appear to be earlier than the previous photographing date and time Ts, and the photographing order and the order of the photographing dates and times Ts will be reversed. In order to avoid such a reversal, a condition (predetermined condition) for determining whether the correction destination date and time Tc can be earlier than the most recent photographing date and time Ts is determined as a judgment condition for restricting or prohibiting the date and time correction, and depending on the result of this judgment, the photographing device 1 (program 131) determines whether to perform date and time correction and, ultimately, whether the date and time correction will be reflected in the photographing date and time Ts that will be associated with the photographed image data thereafter. Note that it is not necessary to use all of the first to fourth conditions given as examples of the judgment conditions, and any one of them may be used, or a combination of two or more conditions that are not mutually exclusive may be used. Furthermore, the predetermined conditions may be variable in each image capture device 1 by a selection operation or the like, or may be fixed as predetermined in the program 131 from the beginning.
[0071] As described above, the photographing device 1 of this embodiment includes a clock unit 14 that counts time, a photographing unit 18 that generates and records photographed image data, and a CPU 11 that associates the date and time of when the photographing unit 18 records the photographed image data as a photographing date and time Ts with the photographed image data based on the clocked date and time Tp counted by the clock unit 14. The CPU 11 acquires a destination date and time Tc for correcting the clocked date and time Tp, and when it is determined that a predetermined condition is satisfied for determining whether the destination date and time Tc can be earlier than the photographing date and time Ts associated with the most recent photographed image data, associates, with the photographed image data to be recorded subsequently, a date and time when the clocked date and time Tp has not been corrected based on the destination date and time Tc as the photographing date and time Ts. In this way, even if the correction destination date and time Tc is acquired, the correction destination date and time Tc is not necessarily reflected in the associated shooting date and time Ts, so that it is possible to avoid a situation in which the order of the associated shooting dates and times is changed with respect to the original shooting order of each piece of photographed image data. This makes it possible to suppress the occurrence of inconveniences related to date and time correction, such as inconveniences in integrating with other information.
[0072] The above-mentioned predetermined conditions also include a first condition that the correction target date and time Tc is earlier than the shooting date and time Ts associated with the most recent captured image data. In this way, by simply not making corrections that could upset the order of the shooting dates and times, date and time corrections at inconvenient times can be avoided with simple processing.
[0073] Alternatively, the predetermined condition may include a second condition that the correction date and time Tc is earlier than the measured date and time Tp. In such a condition, the order of the photographed dates and times Ts cannot be different from the photographed order due to the date and time correction, so that it is possible to easily prevent date and time correction that would cause inconvenience.
[0074] The photographing device 1 also includes an operation receiving unit 16 that receives an operation related to switching between operating and not operating the photographing device 1. The predetermined condition includes a third condition that is a period from when the first photographed image data is acquired after the photographing device 1 starts operating in response to the operation received by the operation receiving unit 16 until the photographing device 1 stops operating. In this way, by limiting the period during which the date and time can be adjusted to the period from when the photographing device 1 is started up until the first photograph is taken, it is possible to prevent the apparent order of photographing dates and times from being reversed or unnatural intervals between photographs from occurring due to the adjustment of the date and time between consecutive photographs.
[0075] Alternatively, the specified condition may include a fourth condition that the target correction date and time Tc is earlier than the measured date and time Tp, and is within a period from when the first data is acquired after the operation receiving unit 16 starts operating in response to the operation received to when the operation stops. As described above, even if date and time adjustments are not uniformly prohibited after a photograph is taken, if the adjustment advances the date and time, the apparent shooting order will not be upset. Therefore, by allowing such adjustments, it is easier to approach a more accurate date and time.
[0076] The photographing device 1 also includes a communication unit 15. The CPU 11 acquires the correction date and time from the outside via the communication unit 15. This makes it easier for the photographing device 1 to correct the date and time, as it is not necessary for the photographing device 1 to perform an input operation for correcting the date and time itself, or to acquire the correction date and time independently (for example, by receiving radio waves from a positioning satellite). This makes it possible to suppress the possibility of the discrepancy increasing without correcting the date and time.
[0077] In addition, when the CPU 11 receives the correction target date and time Tc from the external processing device 4, it may obtain the required time for communication with the sender (processing device 4) of the correction target date and time Tc, and obtain the correction target time Tcm by correcting the correction target date and time Tc by the required time.
[0078] In addition, by controlling the setting of the recording date and time of the captured image data in the photographing device 1 that records the captured image data as described above, it is possible to prevent the capture date and time from being assigned to the captured image data, the capture order of which can be important information, making it easier to handle the captured image data and to integrate it with other data.
[0079] The time setting control method of this embodiment includes a time setting step of associating the time (date and time) of the timing when the photographing unit 18, which generates and records the photographed image data, records the data as the photographing date and time Ts with the photographed image data based on the clocking date and time Tp counted by the clocking unit 14, and a correction information acquisition step of acquiring a correction destination date and time Tc related to the correction of the clocking date and time Tp, and in the time setting step, if it is determined that a predetermined condition is satisfied when the correction destination date and time Tc is acquired, the date and time when the clocking date and time Tp is not corrected based on the correction destination date and time Tc is associated as the photographed date and time Ts with the photographed image data to be recorded thereafter. This includes the case where the clocking date and time Tp itself is not corrected by the correction destination date and time Tc and is used as it is as the photographed date and time Ts, as in the above embodiment. In other words, the determination of the specified condition may be made in advance (when the correction information is obtained) rather than at the time of matching the shooting date and time Ts, and the corrected / uncorrected measured date and time Tp may simply be used when matching the shooting date and time Ts. According to this time setting control method, it is possible to prevent the shooting dates and times Ts attached to the captured image data from being reversed to a different order from the shooting order, and therefore to prevent inconvenience in processing and using the captured image data due to a difference between the original shooting order and the shooting date and time order.
[0080] Moreover, the program 131 of this embodiment causes the computer (including at least the CPU 11, the RAM 12, and the communication unit 15) to function as a time setting means for associating the date and time of when the photographing unit 18, which generates and records the photographed image data, records the photographed image data as the photographing date and time Ts with the photographed image data based on the clocked date and time Tp counted by the clocking unit 14, and a correction information acquisition means for acquiring a correction destination date and time Tc related to the correction of the clocked date and time Tp, and when it is determined that a predetermined condition for determining whether the correction destination date and time Tc can be earlier than the photographing date and time Ts associated with the most recent photographed image data is satisfied, the time setting means associates the date and time when the clocked date and time Tp is not corrected based on the correction destination date and time Tc with the photographed image data to be recorded thereafter as the photographing date and time Ts. As with the time setting control method, the determination related to the predetermined condition may be made in advance, not at the timing of association of the photographing date and time Ts. By installing such a program 131 in a computer, date and time correction can be easily controlled by software control, so that the shooting date and time of the captured image data can be easily and appropriately managed and problems related to the shooting order, etc. can be prevented.
[0081] The present invention is not limited to the above-described embodiment, but may be modified in various ways. For example, in the above embodiment, the processing device 4 transmits the date and time information to the photographing device 1 automatically or in response to an input operation, but the present invention is not limited to this. A communication requesting the processing device 4 to transmit the date and time information in response to an input operation on the photographing device 1 may be transmitted to the processing device 4, and the processing device 4 may transmit the date and time information in response to this request.
[0082] In the above embodiment, the processing device 4 transmits the date and time information to the photographing device 1 only once when a communication connection is established between the processing device 4 and the photographing device 1 for each operation of the photographing device 1, but this is not limited to the above. If the communication connection is continuously established, the processing device 4 may transmit the date and time information to the photographing device 1 multiple times at appropriate time intervals.
[0083] In the above embodiment, the communication delay time is considered, but it is not necessarily required to consider it. For example, in a small-scale network, the communication delay time is small and stable without the need to measure it, the processing device 4 may simply transmit the date and time of the timer 14 without reflecting the communication delay time.
[0084] In addition, when the processing device 4 starts the program 431, it may check the connection history with the NTP server, and if a discrepancy in the date and time of the timing unit 44 is expected (for example, by more than one second), it may correct the date and time of the timing unit 44 before sending the date and time information to the photographing device 1.
[0085] Moreover, the program 431 has been described as being started by a user operation or the like, but it may be possible to set it so that it is automatically started and remains resident when the processing device 4 is started.
[0086] Furthermore, the correction target date and time Ts transmitted from the processing device 4 does not have to be the date and time counted by the clock unit 44 of the processing device 4. Furthermore, the date and time acquired from outside the processing device 4 may be transferred to the photographing device 1 as is.
[0087] Furthermore, the photographing device 1 does not have to be limited to switching by a dedicated switch for switching between operation and non-operation. For example, the operation of the photographing device 1 may be turned on when the shutter button is half-pressed. Furthermore, if there is no input operation for a certain specified time (for example, 1 to 2 minutes), the operation may be automatically stopped. Note that the stop of the operation (transition to a standby state) due to the absence of an input operation for the specified time may be a temporary interruption of the operation different from the stop of the operation by a changeover switch, for example, the operation of the CPU 11 may be stopped but the refresh operation of the RAM 12 may be continued. Furthermore, the return of the operation from the temporary interruption in this case may not correspond to the "start-up" in the above second to sixth examples.
[0088] Furthermore, the recording operation (photographing operation) is not limited to being performed by a user's operation. As described above, in a monitoring device or the like, the measurement value of a physical sensor may be a trigger to start recording. Alternatively, the measurement value of a physical sensor may be recorded periodically at a predetermined period or interval.
[0089] Furthermore, the communication connection between the photographing device 1 and the processing device 4 is not limited to WiFi (wireless LAN) as long as it is possible to transmit and receive recorded data. It may be the above-mentioned Bluetooth or USB, or a wired LAN connection. Alternatively, communication may be performed according to other communication standards such as infrared communication or optical communication.
[0090] In the above embodiment, the control unit (processor) of the photographing device 1 is described as the CPU 11, but this is not limited thereto. It may be a dedicated microcomputer, or may include a control chip having a logic circuit for performing specific processing, an arithmetic processing circuit, etc.
[0091] In the above embodiment, the recording system 100 has been described as a system for managing medical data, but the present invention is not limited to this. The recording system 100 may be used for other business purposes, administrative record data, or non-profit (including hobby) record data by individuals.
[0092] Furthermore, the specific method of associating the photographing date and time is not particularly limited. For example, the photographing date and time may be added to the photographed image data by metadata or may be inserted into the image so that the date and time are displayed at a specific position in the photographed image.
[0093] Furthermore, in the photographing device 1 of the above embodiment, if the product is, for example, for business use, and it is not assumed that the clocked date and time will not be corrected for a long period of time, and that the photographed image data will not be transmitted to an external device and will be kept, in other words, if the product is one in which the clocked date and time deviation will not be too large (for example, more than 10 minutes or 1 hour), the clock unit 14 may count only the time without counting the date to obtain the clocked time.
[0094] Furthermore, the time setting control method of this embodiment is not limited to setting control within the photographing device 1. It can also be applied to control operations in an external control device or external device connected to the photographing device 1 when the control device or external device acquires photographed image data and associates the photographing date and time with the photographed image data based on the date and time counted by the control device or external device itself.
[0095] In the above description, the storage unit 13 is exemplified by a non-volatile memory such as a flash memory as a computer-readable medium for storing the program 131 related to the time setting control of the present invention, but is not limited to this. As other computer-readable media, other non-volatile memories such as MRAM, HDDs, and portable storage media such as CD-ROMs and DVD disks can be applied. In addition, a carrier wave is also applied to the present invention as a medium for providing data of the program according to the present invention via a communication line. In addition, the specific configurations, contents and procedures of the processing operations, etc. shown in the above embodiments can be modified as appropriate without departing from the spirit of the present invention.
[0096] Although several embodiments of the present invention have been described, the scope of the present invention is not limited to the above-described embodiments, but includes the scope of the invention described in the claims and its equivalents. The inventions described in the claims originally attached to this application are set forth below. The claim numbers in the appended claims are the same as those in the claims originally attached to this application.
[0097] [Note] <Claim 1> A timekeeping unit that counts time; A recording unit for recording data; a control unit which associates a time when the recording unit records data as a recording time with the data based on the clocked time counted by the clock unit, obtains a correction time for correcting the clocked time, and when it is determined that a predetermined condition for determining whether the correction time can be earlier than the recording time associated with the most recent data is satisfied, associates, with the data to be subsequently recorded, a time when the clocked time has not been corrected based on the correction time as the recording time; A recording device comprising: <Claim 2> 2. The recording device according to claim 1, wherein the predetermined condition includes a first condition that the modification time is earlier than the recording time associated with the most recent data. <Claim 3> 3. The recording apparatus according to claim 1, wherein the predetermined condition includes a second condition that the correction target time is earlier than the measured time. <Claim 4> An operation receiving unit that receives an operation related to switching on or off of the own device, The predetermined condition includes a third condition that is a period from when the first data is acquired after the operation is started in response to the operation received by the operation receiving unit until when the operation is stopped. 4. The recording apparatus according to claim 1. <Claim 5> An operation receiving unit that receives an operation related to switching on or off of the own device, The predetermined condition includes a fourth condition that the correction target time is earlier than the measured time and is within a period from when the first data is acquired after the operation is started in response to the operation accepted by the operation acceptance unit until when the operation is stopped. 3. The recording device according to claim 1 or 2. <Claim 6> Equipped with a communication unit, The control unit acquires the correction time from an external source via the communication unit. 6. The recording device according to claim 1. <Claim 7> 7. The recording device according to claim 6, wherein when the control unit receives the target correction time from an external source, the control unit obtains the time required for communication with a sender of the target correction time, and corrects the target correction time with the required time. <Claim 8> A timekeeping unit that counts time; an imaging unit that has an optical system and a detection unit that detects light incident through the optical system, and generates and records photographed image data based on the light detected by the detection unit; a control unit which associates a time at a timing when the image capturing unit records the captured image data as a recording time based on the clocked time counted by the clock unit, obtains a correction time for correcting the clocked time counted by the clock unit, and when it is determined that a predetermined condition for determining whether the correction time can be earlier than the recording time associated with the most recent captured image data is satisfied, associates, with the captured image data to be subsequently recorded, a time when the clocked time has not been corrected based on the correction time as the recording time; An imaging device comprising: <Claim 9> a time setting step of associating a time when a recording unit records data with the data as a recording time based on a measured time measured by a timing unit; a correction information acquisition step for acquiring a correction destination time for correcting the measured time; Including, In the time setting step, When it is determined that a predetermined condition for determining whether the correction target time is earlier than the recording time associated with the most recent data is satisfied, a time when the clock time has not been corrected based on the correction target time is associated as the recording time with respect to the data to be subsequently recorded. Time setting control method. <Claim 10> Computer, a time setting means for associating a time when a recording unit records data with the data as a recording time based on a measured time measured by a timing unit; a correction information acquisition means for acquiring a correction destination time for correcting the clock time; Function as a In the time setting means, When it is determined that a predetermined condition for determining whether the correction target time is earlier than the recording time associated with the most recent data is satisfied, a time when the clock time has not been corrected based on the correction target time is associated as the recording time with respect to the data to be subsequently recorded. program. [Explanation of symbols]
[0098] 1. Imaging device 4 Processing Equipment 7 Router 11, 41 CPU 12, 42 RAM 13, 43 Storage section 131, 431 Program 14, 44 Timing section 15, 45 Communications Department 16, 46 Operation reception section 17, 47 Display section 18. Photography Department 100 Recording System
Claims
1. A timekeeping unit that counts time; A recording unit for recording data; A communication unit for connecting to the outside; a control unit which associates a time when the recording unit records data as a recording time with the data based on the clocked time counted by the clock unit, acquires a correction time for correcting the clocked time from the outside after communication is established with the outside via the communication unit, and when it is determined that a predetermined condition for determining whether the correction time can be earlier than the recording time associated with the most recent data is satisfied, associates a time when the clocked time has not been corrected based on the correction time with the data to be recorded subsequently as the recording time; A recording device comprising:
2. 2. The recording apparatus according to claim 1, wherein the predetermined condition includes a first condition that the correction target time is earlier than the recording time associated with the most recent data.
3. 3. The recording apparatus according to claim 1, wherein the predetermined condition includes a second condition that the correction target time is earlier than the measured time.
4. An operation receiving unit that receives an operation related to switching on or off of the own device, The predetermined condition includes a third condition that is a period from when the first data is acquired after the operation is started in response to the operation accepted by the operation acceptance unit until the operation is stopped. The recording apparatus according to any one of claims 1 to 3.
5. An operation receiving unit that receives an operation related to switching on or off of the own device, The predetermined condition includes a fourth condition that the correction target time is earlier than the measured time and is within a period from when the first data is acquired after the operation is started in response to the operation accepted by the operation acceptance unit until when the operation is stopped.
3. The recording apparatus according to claim 1 or 2.
6. A recording device as described in any one of claims 1 to 5, wherein the control unit, when receiving the target correction time from an external source, obtains the required time for communication with the sender of the target correction time, and corrects the target correction time with the required time.
7. A timekeeping unit that counts time; an imaging unit that has an optical system and a detection unit that detects light incident through the optical system, and generates and records photographed image data based on the light detected by the detection unit; A communication unit for connecting to the outside; a control unit which associates a time at a timing when the photographing unit records the photographed image data as a recording time with the photographed image data based on the clocked time counted by the clock unit, acquires a correction time for correcting the clocked time counted by the clock unit from the outside after communication is established with the outside via the communication unit, and when it is determined that a predetermined condition for determining whether the correction time can be earlier than the recording time associated with the most recent photographed image data is established, associates a time when the clocked time has not been corrected based on the correction time with the photographed image data to be recorded subsequently as the recording time; An imaging device comprising:
8. a time setting step of associating a time when a recording unit records data with the data as a recording time based on a measured time measured by a timing unit; A communication step in which the communication unit establishes a communication connection with an external device; a correction information acquisition step of acquiring a correction target time for correcting the clock time from the outside after communication with the outside is established via the communication unit; Including, In the time setting step, When it is determined that a predetermined condition for determining whether the correction target time is earlier than the recording time associated with the most recent data is satisfied, a time when the clock time has not been corrected based on the correction target time is associated as the recording time with respect to the data to be subsequently recorded. Time setting control method.
9. Computer, a time setting means for associating a time when a recording unit records data with the data as a recording time based on a measured time measured by a timing unit; a correction information acquisition means for acquiring a correction time related to the correction of the clock time from an external device after the device is connected for communication with the external device via a communication unit for communication connection with the external device; Function as a In the time setting means, When it is determined that a predetermined condition for determining whether the correction target time is earlier than the recording time associated with the most recent data is satisfied, a time when the clock time has not been corrected based on the correction target time is associated as the recording time with respect to the data to be subsequently recorded. program.
Citation Information
Patent Citations
Recorder
JP1997186953A
Generation control method of identifier and medical image generation device
JP2005077366A
Apparatus and method for information management
JP2010237844A
