Electronic device, imaging device, and control method thereof
The electronic device efficiently manages multiple transfer modes on memory cards by selecting the appropriate mode based on speed requirements, ensuring stable and high-speed data transfer.
Patent Information
- Application Number
- JP2021008939
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-01-22
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2041-01-22
AI Technical Summary
Existing electronic devices with imaging functions face issues when the data rate of image data exceeds the transfer speed of memory cards, leading to unstable or slow operations, as they struggle to appropriately utilize memory cards with multiple transfer modes.
An electronic device equipped with a communication means and determining means to select the appropriate transfer mode based on the minimum transfer speed requirements, switching between a guaranteed minimum transfer mode and a faster mode when necessary.
Ensures stable and high-speed data transfer by selecting the optimal transfer mode, preventing interruptions and maximizing the capabilities of memory cards with varying transfer speeds.
Smart Images

Figure 0007611715000001 
Figure 0007611715000002 
Figure 0007611715000003
Abstract
Description
[Technical field]
[0001] The present invention relates to an electronic device, an imaging device, and a control method thereof, and more particularly to an electronic device, an imaging device, and a control method thereof that use a recording medium. [Background technology]
[0002] In electronic devices with an imaging function, such as digital cameras and smartphones, memory cards are widely used as a recording medium for image data obtained by the imaging function. Some memory cards have multiple transfer modes with different data transfer speeds (Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2013-258469 A Summary of the Invention [Problem to be solved by the invention]
[0004] If the data rate of the image data to be recorded or played back exceeds the transfer speed of the memory card, the image data may not be recorded or played back properly, or the operation of the electronic device may become slow. For this reason, for memory cards that have multiple transfer modes with different transfer speeds, it is necessary to select the appropriate transfer mode.
[0005] For example, if a memory card has a first transfer mode in which a minimum transfer speed is guaranteed, and a second transfer mode in which the minimum transfer speed is not guaranteed but the maximum transfer speed is higher than that of the first transfer mode, it is important to appropriately use the stable transfer mode and the high-speed transfer mode. This issue is not limited to imaging, but applies to any electronic device that generates and records data by any method.
[0006] An object of the present invention is to provide an electronic device, an imaging device, and a control method thereof that are capable of appropriately using a recording medium having a plurality of transfer modes with different transfer speed characteristics. [Means for solving the problem]
[0007] The above-mentioned object can be achieved by an electronic device capable of communicating with a recording medium having a first transfer mode in which a minimum transfer rate is guaranteed and a second transfer mode in which there is no guaranteed minimum transfer rate and transfers faster than the minimum transfer rate, the electronic device having a communication means for communicating with the connected recording medium and a decision means for deciding the transfer mode to be used by the communication means for communication, the decision means deciding to use the first transfer mode if the connected recording medium supports the second transfer mode and the minimum transfer rate is higher than the transfer rate required for data to be recorded by communication with the recording medium, and to use the second transfer mode if the minimum transfer rate is not higher than the required transfer rate, and deciding to use the first transfer mode if the connected recording medium does not support the second transfer mode. Effect of the Invention
[0008] According to the present invention, it is possible to provide an electronic device, an imaging device, and a control method thereof that are capable of appropriately using a recording medium having a plurality of transfer modes with different transfer speed characteristics. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a block diagram showing an example of the functional configuration of an electronic device and a recording medium according to an embodiment; [Diagram 2] Flowchart of transfer mode determination operation according to the first embodiment [Diagram 3] Flowchart of transfer mode determination operation according to the second embodiment [Figure 4] Flowchart of transfer mode determination operation according to the third embodiment [Diagram 5] FIG. 1 is a diagram showing a display example of an electronic device according to an embodiment; [Figure 6] Flowchart of transfer mode determination operation according to the fourth embodiment DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] The present invention will be described in detail below based on its exemplary embodiments with reference to the accompanying drawings. Note that the following embodiments do not limit the invention according to the claims. In addition, although multiple features are described in the embodiments, not all of them are necessarily essential to the invention, and multiple features may be combined arbitrarily. Furthermore, in the accompanying drawings, the same reference numbers are used for the same or similar configurations, and duplicated explanations are omitted.
[0011] In the following embodiment, the present invention will be described as being implemented in an electronic device having an imaging function, specifically, a digital camera that is an imaging device. However, the imaging function is not essential to the present invention. The present invention can be implemented in various electronic devices, such as computer devices (personal computers, tablet computers, media players, PDAs, etc.), mobile phones, smartphones, game consoles, robots, drones, and drive recorders.
[0012] ●(First embodiment) 1 is a block diagram showing an example of a functional configuration of an electronic device 100 and a recording medium 120 that is detachable from the electronic device 100. The electronic device 100 communicates with the connected recording medium 120 via a medium control unit 106 to record (write) data to the recording medium 120 and reproduce (read) data from the recording medium 120.
[0013] In this embodiment, as an example, the electronic device 100 is a digital camera, and the data is video data and still image data. The recording medium 120 is described as a memory card (SD Express card) whose bus interface conforms to SD Express. Note that microSD Express cards are also included in the SD Express card. The medium control unit 106 has an SD Express host function that supports both the SD interface and the PCIe interface.
[0014] The SD Express card has a first transfer mode and a second transfer mode. The first transfer mode is a transfer mode in which a minimum transfer speed is guaranteed but the maximum transfer speed is low. The second transfer mode is a transfer mode in which a minimum transfer speed is not guaranteed but transfers faster than the minimum transfer speed guaranteed in the first transfer mode are possible. In this way, the SD Express card is an example of a memory card having multiple transfer modes with different transfer speed characteristics.
[0015] In the following description, the first transfer mode is a transfer mode (SD mode) in which the bus interface complies with UHS-I, and the second transfer mode is a transfer mode (PCIe mode) in which the bus interface complies with SD Express. Note that the SD Express bus interface is based on PCI Express (PCIe).
[0016] The bus interface used in the multiple transfer modes of the recording medium 120 may be of other standards. For example, the bus interface for the first transfer mode may be compliant with UHS-II or UHS-III.
[0017] The imaging unit 101 has a photographing optical system and an imaging element, for example, a CMOS image sensor. A plurality of pixels are arranged in the imaging element, and an optical image formed by the photographing optical system is photoelectrically converted by the plurality of pixels to generate a group of electrical signals (image signals) corresponding to the optical image. The imaging unit 101 outputs the image signals to an image processing unit 102.
[0018] The image processing unit 102 applies predetermined image processing to the image signal output by the imaging unit 101, generates signals and image data, and acquires and / or generates various information. The signals, image data, and information generated by the image processing unit 102 are output to the display control unit 105, the medium control unit 106, the control unit 103, and the like. The image processing unit 102 may be a dedicated hardware circuit such as an ASIC designed to realize a specific function, or may be configured to realize a specific function by a programmable processor such as a DSP executing software.
[0019] Here, the image processing applied by the image processing unit 102 includes pre-processing, color interpolation processing, correction processing, detection processing, data processing, evaluation value calculation processing, special effect processing, and the like. Pre-processing includes signal amplification, reference level adjustment, defective pixel correction, A / D conversion, etc. Color interpolation is a process that interpolates the values of color components that cannot be obtained during shooting, and is also called demosaic processing or synchronization processing. The correction processing includes white balance adjustment, gradation correction (gamma processing), processing for correcting the effects of optical aberration and peripheral light falloff of the image capturing unit 101, and color correction processing. The detection process includes detection of feature regions (for example, face regions and human body regions) and their movements, and person recognition processing. The data processing includes synthesis, scaling, encoding and decoding, header information generation, etc. Display data and recording data are generated by the data processing. The evaluation value calculation process includes the generation of signals and evaluation values used in automatic focus detection (AF), and the calculation of evaluation values used in automatic exposure control (AE). Special effects include blurring, changing color tones, relighting, and the like. Note that these are merely examples of image processing that the image processing unit 102 can apply, and do not limit the image processing that the image processing unit 102 can apply.
[0020] The operation unit 108 is a general term for input devices (such as buttons, switches, and dials) that are provided for the user to input various instructions to the electronic device 100. The input devices constituting the operation unit 108 have names according to the functions assigned to them. For example, the operation unit 108 includes a release switch, a video recording switch, a shooting mode selection dial for selecting a shooting mode, a menu button, direction keys, and a decision key. The release switch is a switch for recording still images, and the control unit 103 recognizes the half-pressed state of the release switch as a shooting preparation instruction and the full-pressed state as a shooting start instruction. In addition, the control unit 103 recognizes the video recording switch pressed in a shooting standby state as a video recording start instruction, and recognizes the video recording switch pressed during video recording as a recording stop instruction. Note that the functions assigned to the same input device may be variable. In addition, the input device may be a software button or key using a touch display. In addition, the operation unit 108 may include an input device compatible with a non-contact input method such as voice input or gaze input.
[0021] The control unit 103 has a programmable processor (CPU), a ROM, and a RAM. The CPU loads a program stored in the ROM into the RAM and executes it, thereby controlling the operation of each functional block of the electronic device 100 and realizing the functions of the electronic device 100. The ROM is, for example, rewritable, and stores programs executable by the CPU, setting values of the electronic device 100, GUI data, etc. The RAM is used to load the programs executed by the CPU and to store values required during the execution of the programs. Although not shown in the figure, the control unit 103 is connected to each of the functional blocks shown in the figure.
[0022] The control unit 103 also executes processing according to an instruction from a user via the operation unit 108. For example, the control unit 103 switches the operation mode of the electronic device 100 when an instruction to switch the operation mode of the electronic device 100 is input. The electronic device 100 has a plurality of operation modes including, for example, a video recording mode, a still image recording mode, and a playback mode. The control unit 103 notifies the medium control unit 106 and the speed instruction unit 107 of the operation mode after switching.
[0023] The display unit 104 is, for example, a touch display. The display unit 104 displays display data input from the display control unit 105. The display data is, for example, video data, still image data, and GUI data. The GUI includes an operable GUI such as a menu screen, and a GUI that displays information of the electronic device 100.
[0024] The display control unit 105 converts the data input from the image processing unit 102 and the medium control unit 106 into a format suitable for the display unit 104 , and outputs the converted data to the display unit 104 .
[0025] The medium control unit 106 is, for example, an SD host controller, and under the control of the control unit 103, supplies control signals such as a clock to the recording medium 120 and executes operations related to data transfer with the recording medium 120. The medium control unit 106 also determines a transfer mode to be used for data transfer with the recording medium 120 according to the operation mode of the electronic device 100, required speed information from the speed indication unit 107, and card information acquired from the holding unit 110 via the communication control unit 109. The operation of the medium control unit 106 to determine the transfer mode will be described in detail later.
[0026] Using the determined transfer mode, the medium control unit 106 writes data to the recording medium 120 or reads data from the recording medium 120. The medium control unit 106 outputs the read data to the control unit 103, the image processing unit 102, or the display control unit 105.
[0027] The card information that the medium control unit 106 acquires from the holding unit 110 of the recording medium 120 is, for example, information on the transfer modes supported by the recording medium 120 (transfer mode support information) and transfer speed information for each transfer mode. The transfer speed information includes at least one of the maximum transfer speed and the guaranteed minimum transfer speed. Note that the card information can be acquired only by a command sent to the recording medium 120 using the first transfer mode.
[0028] The speed instruction unit 107 notifies the medium control unit 106 of the required minimum transfer speed according to the operation mode of the electronic device 100 notified by the control unit 103. For example, if the operation mode of the electronic device 100 is a moving image recording mode, the speed instruction unit 107 outputs information on the minimum transfer speed required to continuously record a moving image (required speed information) to the medium control unit 106. The required minimum transfer speed can be stored in advance for each operation mode. Note that there may be an operation mode in which a minimum transfer speed is not set.
[0029] Next, the recording medium 120 will be described. The storage unit 110 is a non-volatile memory that stores information (card information) about the recording medium 120, such as transfer mode support information, transfer speed information, and storage capacity information. The recording area 111 is a non-volatile memory for recording data. The communication control unit 109 communicates with a medium control unit 106 of the electronic device 100 to which the recording medium 120 is connected. The communication control unit 109 outputs information stored in the storage unit 110 and data recorded in the recording area 111 to the electronic device 100 through communication with the medium control unit 106. Furthermore, the communication control unit 109 writes data input from the electronic device 100 to the recording area 111 in a designated transfer mode through communication with the medium control unit 106. Furthermore, the communication control unit 109 outputs data recorded in the recording area 111 to the electronic device 100 in a designated transfer mode through communication with the medium control unit 106.
[0030] 2 is a flowchart related to the operation of the medium control unit 106 to determine the transfer mode to be used for communication between the electronic device 100 and the recording medium 120. This operation may be performed at any timing, but it is assumed here that it is performed when the medium control unit 106 is notified of the operation mode of the electronic device 100 by the control unit 103.
[0031] In S202, the medium control unit 106 determines whether or not the operation mode notified by the control unit 103 is a moving image recording mode. This determination corresponds to a determination whether or not the current operation mode of the electronic device 100 is an operation mode having a required minimum transfer speed. If the operation mode is not the moving image recording mode, the medium control unit 106 executes S203, and if the operation mode is not the moving image recording mode, the medium control unit 106 executes S210. After S202 is executed, if the current transfer mode is the second transfer mode, S205 may be executed without executing S203 and S204.
[0032] In S203, the medium control unit 106 changes the transfer mode to the first transfer mode as necessary, and then issues a command to the recording medium 120 requesting transfer mode compatibility information, thereby acquiring the transfer mode compatibility information from the holding unit 110 of the recording medium 120. Then, the medium control unit 106 executes S204. Note that in S203, not only the transfer mode compatibility information but also transfer speed information may be acquired.
[0033] In S204, the medium control unit 106 refers to the transfer mode support information acquired in S203 and determines whether the recording medium 120 supports the second transfer mode (SD Express). If it is determined that the recording medium 120 supports the second transfer mode, the medium control unit 106 executes S205. On the other hand, if it is not determined that the recording medium 120 supports the second transfer mode, the medium control unit 106 executes S208.
[0034] In S205, the media control unit 106 changes the transfer mode to the first transfer mode as necessary, and then issues a command to the recording medium 120 to request transfer speed information. Note that if the transfer speed information has already been acquired in S203, S205 does not need to be executed. Furthermore, before issuing the command to request the transfer speed information, the media control unit 106 may increase the frequency of the clock supplied to the recording medium 120. By increasing the clock frequency, the operating speed of the recording medium 120 increases, and the time required to acquire the transfer speed information can be shortened. After acquiring the transfer speed information, the media control unit 106 executes S206.
[0035] In addition, in S205, the medium control unit 106 may obtain only information on the guaranteed minimum transfer speed from the transfer speed information. Furthermore, if it is determined that there is no guaranteed minimum transfer speed in the current transfer mode, the medium control unit 106 may execute S209 without executing S206 and S207.
[0036] In S206, the medium control unit 106 compares the minimum transfer speed required when the electronic device 100 is in the moving image recording mode with the minimum transfer speed guaranteed by the recording medium 120. The minimum transfer speed required for the operation mode is notified to the medium control unit 106 by the speed instruction unit 107 in accordance with the current operation mode. The minimum transfer speed required for the operation mode in the moving image recording mode differs depending on the moving image recording settings, such as, for example, the recording size (number of pixels) of the moving image, the bit rate, the frame rate, the compression ratio, and the image quality mode.
[0037] In S207, the medium control unit 106 determines whether the minimum transfer rate guaranteed in the current transfer mode of the recording medium 120 is higher than the minimum transfer rate required in the current operation mode of the electronic device 100. If it is determined that the guaranteed minimum transfer rate is higher than the required minimum transfer rate, the medium control unit 106 executes S208, and if not, executes S209.
[0038] In S208, the medium control unit 106 determines to perform communication with the recording medium 120 in the first transfer mode. In S209, the medium control unit 106 determines to perform communication with the recording medium 120 in the second transfer mode.
[0039] On the other hand, if it is determined that the operation mode of the electronic device 100 is not the moving image recording mode, in S210 the medium control unit 106 determines whether or not the current operation mode of the electronic device 100 is the still image recording mode. This determination corresponds to a determination whether or not the current operation mode of the electronic device 100 is an operation mode that does not have the required minimum transfer speed. If it is determined that the current operation mode is the still image recording mode, the medium control unit 106 executes S211, and if not, executes S214. After S202 or S210 is executed, if the current transfer mode is the second transfer mode, S213 may be executed without executing S211 and S212.
[0040] In S211, the media control unit 106 acquires the transfer mode compatibility information from the holding unit 110 of the recording medium 120 by issuing a command requesting the transfer mode compatibility information to the recording medium 120. The media control unit 106 outputs the acquired transfer mode compatibility information to the control unit 103 or stores it in its own memory. Then, the media control unit 106 executes S212.
[0041] In S212, the medium control unit 106 refers to the transfer mode support information acquired in S211 and determines whether the recording medium 120 supports the second transfer mode (SD Express). If it is determined that the recording medium 120 supports the second transfer mode, the medium control unit 106 executes S213. On the other hand, if it is not determined that the recording medium 120 supports the second transfer mode, the medium control unit 106 executes S214.
[0042] In step S213, the medium control unit 106 determines to communicate with the recording medium 120 in the second transfer mode. In step S214, the medium control unit 106 determines to communicate with the recording medium 120 in the first transfer mode.
[0043] In this way, the medium control unit 106 judges whether the operation mode of the electronic device 100 is an operation mode in which a required minimum transfer rate exists, such as a video recording mode. Then, if the minimum transfer rate guaranteed by the recording medium 120 is higher than the minimum transfer rate required for the operation mode, the medium control unit 106 decides to use the transfer mode in which the minimum transfer rate is guaranteed for communication with the recording medium 120. This makes it possible to prevent recording or playback from being interrupted due to the transfer rate.
[0044] On the other hand, the medium control unit 106 If the minimum transfer rate guaranteed by the recording medium 120 is not higher than the minimum transfer rate required for the operating mode, If the recording medium 120 does not have a guaranteed minimum transfer rate, or When the operation mode of the electronic device 100 is an operation mode in which there is no required minimum transfer rate, such as a still image recording mode, In this case, it is determined that the transfer mode with the highest transfer speed among the transfer modes supported by the recording medium 120 is to be used for communication with the recording medium 120. Therefore, the capabilities of the recording medium 120 can be utilized to the maximum extent.
[0045] In this example, the moving image recording mode is used as an operation mode having a required minimum transfer rate, and the still image recording mode is used as an operation mode not having a required minimum transfer rate, but these are merely examples. Whether or not to associate a required minimum transfer rate with an operation mode can be determined appropriately for each electronic device 100. For example, a required minimum transfer rate can be associated with a playback mode so that playback is not interrupted. Also, even in the still image recording mode, a required minimum transfer rate may be associated with a continuous shooting mode, and a required minimum transfer rate may not be associated with a single shooting mode.
[0046] In the present embodiment, the operation mode of the electronic device 100 is associated with the required minimum transfer speed, and the transfer mode is determined according to the operation mode. However, the purpose or characteristics of data recorded (written) on the recording medium 120 or reproduced (read) from the recording medium 120 may be associated with the required minimum transfer speed, and the transfer mode may be determined according to the purpose or characteristics of the data. Examples of the purpose or characteristics of the reproduced (read) data include, but are not limited to, the reproduction frame rate of video data, the data format (whether or not it is encoded), the encoding method, and the resolution.
[0047] Also, card information including transfer mode support information and transfer speed information of the recording medium 120 can be acquired when the recording medium 120 is connected. Therefore, if the transfer mode support information and transfer speed information of the recording medium 120 have already been acquired at the start of the operation described in the flowchart of Fig. 2, the steps for acquiring this information can be omitted. Specifically, S203, S205, and S211 can be omitted.
[0048] According to this embodiment, the transfer mode to be used for communication with a recording medium having a plurality of transfer modes with different transfer speed characteristics is determined according to the operation mode of the electronic device and the minimum transfer speed guaranteed by the recording medium, making it possible to achieve both stable data recording or reproduction and utilization of the transfer capacity of the recording medium.
[0049] ●(Second embodiment) Next, a second embodiment of the present invention will be described. This embodiment can be implemented by the electronic device 100 and the recording medium 120 described in the first embodiment. Therefore, the following description will focus on the differences from the first embodiment.
[0050] In the first embodiment, the operation of the medium control unit 106 to determine the transfer mode in response to notification of the operation mode of the electronic device 100 from the control unit 103 has been described. In the present embodiment, the operation is executed when the electronic device 100 is started up with the recording medium 120 connected, or when the recording medium 120 is connected to the electronic device 100 that is started up.
[0051] 3 is a flowchart showing the operation of the medium control unit 106 in this embodiment to determine the transfer mode to be used for communication between the electronic device 100 and the recording medium 120. The same reference numerals as in FIG. 2 are used for steps that perform the same operations as in the first embodiment, and the explanation will be omitted. As described above, this operation is executed when the electronic device 100 to which the recording medium 120 is connected is started up, or when the recording medium 120 is connected to the electronic device 100 that is started up.
[0052] In S302, the medium control unit 106 executes operation initialization of the recording medium 120. The operation initialization of the recording medium 120 can be performed, for example, by issuing an initialization command from the medium control unit 106. Furthermore, during the operation initialization, the medium control unit 106 sets the transfer mode of the recording medium 120 to the first transfer mode (SD mode).
[0053] It should be noted that the operational initialization of the recording medium 120 is different from the initialization (formatting) of the recording area 111. The operational initialization is executed for the purpose of checking the operation of the recording medium 120, for example.
[0054] In S202, the medium control unit 106 determines whether or not the operation mode of the electronic device 100 is the moving image recording mode. If the operation mode is not the moving image recording mode, the medium control unit 106 executes S203, and if the operation mode is not the moving image recording mode, the medium control unit 106 executes S210.
[0055] When the operation mode of the electronic device 100 is the moving image recording mode, the operations from S203 onwards are the same as those in the first embodiment, and therefore a description thereof will be omitted.
[0056] In this embodiment, even if the operation mode of the electronic device 100 is not the video recording mode, the medium control unit 106 , Transfer The transfer mode support information and the transfer rate information are obtained from the recording medium 120 .
[0057] If it is determined in S212 that the recording medium 120 supports the second transfer mode, the medium control unit 106 executes S303 before deciding the transfer mode in S214, and acquires the transfer speed information in the same manner as in S205. The medium control unit 106 outputs the acquired transfer speed information to the control unit 103, or stores it in its own memory.
[0058] Furthermore, if it is determined in S210 that the operation mode of the electronic device 100 is not the still image recording mode, the medium control unit 106 executes S304 and S305 before executing S214. In S304, the medium control unit 106 acquires transfer mode support information from the recording medium 120 in the same manner as in S203. In S305, the medium control unit 106 In step S205, the transfer speed information is obtained from the recording medium 120.
[0059] In this way, when using the first transfer mode, the transfer mode can be selected even if the camera is not in video recording mode. correspondence By acquiring the card information and transfer speed information, the information can be used when the second transfer mode is used and this information becomes necessary. As described above, the card information can only be acquired using the first transfer mode. Therefore, when the second transfer mode is used and card information is necessary, it is necessary to switch to the first transfer mode, acquire the card information, and then switch back to the second transfer mode. Switching the transfer mode of the recording medium requires the operation initialization of the recording medium, but the operation initialization requires several hundred msc each time and cannot be ignored.
[0060] For example, when the second transfer mode is used in the still image recording mode and the mode is changed to the moving image recording mode, the first transfer mode must be used to execute S203 and S205. If the card information is acquired in the first transfer mode when the electronic device 100 is started or when the recording medium 120 is connected as in this embodiment, there is no need to switch to the first transfer mode to acquire the card information even if the second transfer mode is used thereafter.
[0061] Furthermore, when the second transfer mode is used in the moving image recording mode, it is not necessary to switch back to the second transfer mode in S209 from the state in which the mode was switched to the first transfer mode for the execution of S205.
[0062] Therefore, even if the camera switches to moving image recording mode while using the second transfer mode in still image recording mode, the transfer mode to be used can be quickly determined, thereby shortening the time until moving image recording becomes possible.
[0063] In this embodiment, when the electronic device is started or the recording medium is connected, the transfer mode support information and the transfer speed information are first obtained from the recording medium using the first transfer mode. Therefore, in addition to the effect of the first embodiment, it is possible to omit the switching of the transfer mode for obtaining the transfer mode support information and the transfer speed information, and the operation of the electronic device can be made faster.
[0064] ●(Third embodiment) Next, a third embodiment of the present invention will be described. In the first and second embodiments, the transfer mode determination operation during recording has been mainly described, but this embodiment relates to the transfer mode determination operation during playback. This embodiment can be implemented by the electronic device 100 and recording medium 120 described in the first embodiment. Therefore, the following description will focus on the differences from the first embodiment.
[0065] 4 is a flowchart related to the operation of the medium control unit 106 in this embodiment to determine the transfer mode to be used for communication between the electronic device 100 and the recording medium 120. This operation can be executed, for example, when the operation mode of the electronic device 100 is switched to the playback mode via the operation unit 108. When the control unit 103 detects an operation to switch the operation mode to the playback mode, it switches the operation mode of the electronic device 100 to the playback mode. In addition, the control unit 103 notifies the medium control unit 106 and the speed instruction unit 107 that the mode has been switched to the playback mode.
[0066] In S502, when the medium control unit 106 is notified by the control unit 103 that the mode has been switched to the playback mode, the medium control unit 106 sets the transfer mode used for communication with the recording medium 120 to the first transfer mode. If the second transfer mode was being used when the medium control unit 106 received the notification from the control unit 103, the medium control unit 106 executes an operation to switch to the first transfer mode, and if the first transfer mode was being used, the medium control unit 106 maintains the transfer mode. Next, the medium control unit 106 executes S503.
[0067] In S503, the medium control unit 106 reads out image data for thumbnail display of the moving image file recorded on the recording medium 120 from the recording medium 120, and outputs it to the image processing unit 102. The moving image file can be identified, for example, from the file extension. The medium control unit 106 also reads out information on the transfer mode used when recording the moving image file together with the image data for thumbnail display from the recording medium 120. It is assumed that the information on the transfer mode used when recording is recorded as accompanying information of the moving image data.
[0068] Information on the transfer mode used during recording is stored in memory within the media control unit 106 in association with the moving image file name or the file name of image data for thumbnail display, or may be output to the control unit 103. The control unit 103 stores the information received from the media control unit 106 in its internal RAM.
[0069] The image processing unit 102 generates data for a GUI screen that displays image data for thumbnail display in a list in a predetermined layout, and outputs the data to the display control unit 105. The display control unit 105 causes the display unit 104 to display a thumbnail list display screen in a selectable manner. The list display screen is a screen for selecting data to be read out from data recorded on the recording medium 120.
[0070] 5(a) and (b) are examples of thumbnail list display screen 500. List display screen 500 may be displayed over the entirety of display unit 104, or may be displayed in a partial area. Here, an example is shown in which six thumbnails are displayed in one screen, but the number of thumbnail images per screen is arbitrary. Furthermore, if the thumbnail images to be displayed cannot all be displayed on one screen, list display screen 500 can be displayed using a known method, such as configuring the list display screen 500 on multiple pages or using a scroll display.
[0071] Fig. 5(a) shows a case where thumbnails 601 to 606 are all thumbnails of moving image files recorded using the first transfer mode, while Fig. 5(b) shows a case where thumbnails 609 to 610 are thumbnails of moving image files recorded using the first transfer mode, and thumbnails 607, 608, 611, and 612 are thumbnails of moving image files recorded using the second transfer mode.
[0072] In S504, the medium control unit 106 compares the number of thumbnails of the video file recorded in the first transfer mode with the number of thumbnails of the video file recorded in the second transfer mode for the thumbnails displayed on the list display screen 500. This comparison corresponds to an operation of determining a transfer mode that is likely to be used when playing the video file whose thumbnail is displayed on the list display screen 500. Note that even if some of the read thumbnails are displayed on the list display screen 500, the comparison is performed on the thumbnails displayed on the list display screen 500.
[0073] The media control unit 106 executes S505 if the number of thumbnails of the video file recorded using the first transfer mode is equal to or greater than the number of thumbnails of the video file recorded using the second transfer mode. Also, the media control unit 106 executes S506 if the number of thumbnails of the video file recorded using the first transfer mode is less than the number of thumbnails of the video file recorded using the second transfer mode. Therefore, the media control unit 106 executes S505 in the example of FIG. 5(a) and executes S506 in the example of FIG. 5(b).
[0074] In S505, the medium control unit 106 determines the first transfer mode as the transfer mode to be used for communication with the recording medium 120. If the second transfer mode is being used at this point, the medium control unit 106 executes an operation to switch to the first transfer mode. Even when the transfer mode is switched, the thumbnail list display on the display unit 104 continues. Next, the medium control unit 106 executes S507.
[0075] In S506, the medium control unit 106 determines the second transfer mode as the transfer mode to be used for communication with the recording medium 120. If the first transfer mode is being used at this point, the medium control unit 106 executes an operation to switch to the second transfer mode. Even when the transfer mode is switched, the thumbnail list display on the display unit 104 continues.
[0076] Although the transfer mode switching requires several hundred msec for processing on the recording medium 120, the transfer mode switching is performed in parallel with the thumbnail list display on the display unit 104, so that the user is not aware of the transfer mode switching.
[0077] In S507, the control unit 103 determines whether or not an instruction to switch the list display screen 500 has been detected through the operation unit 108 (including the touch panel of the display unit 104). The switching instruction may be an instruction to turn a page forward or backward, an instruction to scroll, or the like, depending on the display form of the list display screen 500. If the control unit 103 determines that an instruction to switch the list display screen 500 has been detected, it instructs the image processing unit 102 to generate data for the list display screen 500 in accordance with the switching instruction. As a result, S503 is executed again, and the image processing unit 102 generates data for the next page, previous page, or list display screen 500 after scrolling, and outputs it to the display control unit 105.
[0078] On the other hand, if it is determined that an instruction to switch the list display screen 500 has not been detected, the control unit 103 executes S508.
[0079] In S508, the control unit 103 determines whether or not a playback instruction for the thumbnails displayed on the list display screen 500 has been detected through the operation unit 108 (including the touch panel of the display unit 104). The playback instruction may be, for example, a selection operation of a thumbnail. The selection operation may be a touch operation on the display unit 104, or a combination of a key operation and a button operation on the operation unit 108.
[0080] If the control unit 103 determines that a playback instruction for the currently displayed thumbnail has been detected, it notifies the medium control unit 106 of which thumbnail the playback instruction has been issued, or the identification information of the video file that has been instructed to play. If the control unit 103 does not determine that a playback instruction for the currently displayed thumbnail has been detected, it executes S507.
[0081] In S509, the medium control unit 106 determines whether the transfer mode used when the video file instructed to be played is recorded is different from the transfer mode currently being used. If it is determined that the transfer modes are different, the medium control unit 106 executes S510, and if it is determined that the transfer modes are the same, the medium control unit 106 executes S511.
[0082] In S510, the medium control unit 106 switches the transfer mode used for communication between the electronic device 100 and the recording medium 120 to the transfer mode used for recording the video file instructed to be played. Then, the medium control unit 106 executes S511.
[0083] In S511, the medium control unit 106 reads out from the recording medium 120 the moving image file for which the user instructed to play in S508, and outputs it to the image processing unit 102. The image processing unit 102 decodes the moving image data stored in the image file, generates moving image data for display, and outputs it to the display control unit 105. The display control unit 105 displays the moving image on the display unit 104.
[0084] For example, if the second transfer mode is used when playing a video recorded in the first transfer mode, the playback may be interrupted because there is no guarantee of a minimum transfer speed. Also, since the video recorded in the second transfer mode may have been recorded at a speed higher than the maximum transfer speed of the first transfer mode, the video may not be played smoothly when played using the first transfer mode. In this embodiment, when playing a video file recorded on the recording medium 120, the transfer mode used at the time of recording is used, so that the possibility of such problems occurring can be reduced.
[0085] In addition, before a playback instruction is given for a video file with thumbnails displayed in a list, the transfer mode is switched to the one most likely to be used during playback. This makes it possible to reduce delays in the start of playback that occur when the transfer mode is switched after a playback instruction is accepted. In addition, by switching the transfer mode in parallel with the thumbnail display, the transfer mode can be switched without the user being aware of it.
[0086] It is also possible to determine the transfer mode to be used during playback based on a transfer mode other than that used during recording. For example, the bit rate information of the video file may be obtained, and the transfer mode to be used during playback may be determined based on the transfer speed required to smoothly play back the video file.
[0087] For example, in S504, the media control unit 106 judges whether or not the number of the video files whose thumbnails are displayed is equal to or more than half, the transfer speed required for playback of which is less than the minimum transfer speed guaranteed in the first transfer mode. If it is judged that the number of the video files whose thumbnails are displayed is equal to or more than half, the media control unit 106 decides to use the first transfer mode in S505. On the other hand, if it is not judged that the number of the video files whose thumbnails are displayed is equal to or more, the transfer speed required for playback of which is less than the minimum transfer speed guaranteed in the first transfer mode, the media control unit 106 decides to use the second transfer mode in S506. The above-mentioned effect can also be achieved by such an operation.
[0088] ●(Fourth embodiment) Next, a fourth embodiment of the present invention will be described. As with the third embodiment, this embodiment also relates to a transfer mode determination operation during playback. This embodiment can be implemented by the electronic device 100 and recording medium 120 described in the first embodiment. Therefore, the following description will focus on the differences from the third embodiment.
[0089] In this embodiment, the time required to switch between two transfer modes differs depending on the switching direction.
[0090] 6 is a flowchart showing the operation of the medium control unit 106 in this embodiment to determine the transfer mode to be used for communication between the electronic device 100 and the recording medium 120. The same reference numerals are used for steps that perform the same operations as in the third embodiment. This operation can be executed when the operation mode of the electronic device 100 is switched to the playback mode via the operation unit 108, for example, as in the third embodiment.
[0091] When the medium control unit 106 is notified by the control unit 103 that the mode has been switched to the playback mode in S502, the medium control unit 106 sets the transfer mode used for communication with the recording medium 120 to the first transfer mode. If the second transfer mode was being used when the medium control unit 106 received the notification from the control unit 103, the medium control unit 106 executes an operation to switch to the first transfer mode, and if the first transfer mode was being used, the medium control unit 106 maintains the transfer mode. Next, the medium control unit 106 executes S703.
[0092] Here, it is assumed that the time required to switch from the first transfer mode to the second transfer mode is shorter than the time required to switch from the second transfer mode to the first transfer mode. Therefore, the first transfer mode is used in S502. If the time required to switch from the second transfer mode to the first transfer mode is shorter, the second transfer mode is used in S502.
[0093] In S703, the medium control unit 106 reads out image data for thumbnail display of the moving image file recorded on the recording medium 120 from the recording medium 120, and outputs the data to the image processing unit 102. The medium control unit 106 also reads out information on the transfer mode used when recording the moving image file from the recording medium 120 together with the image data for thumbnail display.
[0094] Furthermore, information on the transfer mode used during recording is stored in memory within the media control unit 106 in association with the moving image file name or the file name of image data for thumbnail display, or may be output to the control unit 103. The control unit 103 stores the information received from the media control unit 106 in its internal RAM.
[0095] The image processing unit 102 generates data for a thumbnail display screen in the same manner as in S503. However, in this embodiment, the image processing unit 102 generates data for a screen that displays one thumbnail 613 per screen, as shown in FIG. 5(c). Thereafter, the control unit 103 executes S507 and S508 in the same manner as in the third embodiment.
[0096] In S706, the medium control unit 106 determines whether the transfer mode used when the moving image file displayed as a thumbnail was recorded is the first transfer mode, and if it is determined that it is the first transfer mode, executes S511, and if it is not determined that it is the first transfer mode, executes S707. Note that if the second transfer mode is configured to be used in S502, it is determined in S706 whether the transfer mode used when the moving image file displayed as a thumbnail was recorded is the second transfer mode. The branching according to the determination result remains unchanged.
[0097] In S707, the medium control unit 106 switches the transfer mode used for communication between the electronic device 100 and the recording medium 120 to the second transfer mode. The transfer mode is switched in parallel with the thumbnail display. Then, the medium control unit 106 executes S511. Note that if the second transfer mode is configured to be used in S502, the transfer mode is switched to the first transfer mode in S707.
[0098] S 511 Then, the medium control unit 106 508 The video file for which the user has instructed to play is read from the recording medium 120. Furthermore, the display control unit 105 is table Display unit 104 Video This flowchart ends by displaying the
[0099] In this embodiment, the transfer mode to be used first is determined in consideration of the time required to switch the transfer mode used for communication between the medium control unit 106 and the recording medium 120. Specifically, the transfer mode that takes the longest time to switch and use is determined to be used first. In this embodiment, unlike the third embodiment, the transfer mode is not switched before accepting a playback instruction, so that the transfer mode may be switched after accepting a playback instruction, but the delay that occurs in that case can be reduced.
[0100] (Other embodiments) The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.
[0101] The present invention is not limited to the above-described embodiments, and various modifications and variations are possible without departing from the spirit and scope of the invention. Therefore, the following claims are appended to disclose the scope of the invention. [Explanation of symbols]
[0102] 100: electronic device, 101: imaging section, 102: image processing section, 103: control section, 104: display section, 105: display control section, 106: medium control section, 107: speed indication section, 108: recording medium, 109: communication control section, 110: information storage section, 111: recording area
Claims
1. An electronic device capable of communicating with a recording medium having a first transfer mode in which a minimum transfer speed is guaranteed and a second transfer mode in which a guaranteed minimum transfer speed is not provided and a transfer speed faster than the minimum transfer speed is possible, A communication means for communicating with the connected recording medium; the communication means has a determination means for determining a transfer mode to be used in the communication; The determining means is if the connected recording medium is compatible with the second transfer mode, it is determined to use the first transfer mode if the minimum transfer speed is higher than a transfer speed required for data to be recorded by communication with the recording medium, and to use the second transfer mode if the minimum transfer speed is not higher than the required transfer speed; 13. An electronic device comprising: an input section for inputting a transfer mode to the recording medium; an input section for inputting a transfer mode to the recording medium;
2. 2. The electronic device according to claim 1, characterized in that the required transfer speed is associated with an operating mode of the electronic device, and the determination means makes the determination depending on the operating mode of the electronic device when the connected recording medium is compatible with the second transfer mode.
3. 3. The electronic device according to claim 2, wherein the electronic device has an operation mode associated with the required transfer speed and an operation mode not associated with the required transfer speed.
4. The electronic device according to claim 3, characterized in that the determination means determines, when the operating mode of the electronic device is an operating mode to which the required transfer speed is not associated, to use the second transfer mode if the connected recording medium supports the second transfer mode, and to use the first transfer mode if the connected recording medium does not support the second transfer mode.
5. the information about the minimum transfer speed is obtainable from the recording medium only using the first transfer mode; 5. The electronic device according to claim 1, wherein the determination means acquires and stores the information from the recording medium while the communication means is using the first transfer mode, and uses the stored information when the information becomes necessary while the communication means is using the second transfer mode.
6. 6. The electronic device according to claim 5, wherein the communication means uses the first transfer mode when the electronic device is started up or when the recording medium is connected to the electronic device.
7. 7. The electronic device according to claim 1, wherein the determination means determines the transfer mode to be used by the communication means when reading data from the recording medium to be the same transfer mode as the transfer mode used by the communication means when the data was recorded on the recording medium.
8. An electronic device capable of communicating with a recording medium having a first transfer mode in which a minimum transfer speed is guaranteed and a second transfer mode in which a guaranteed minimum transfer speed is not provided and a transfer speed faster than the minimum transfer speed is possible, A communication means for communicating with the connected recording medium; the communication means has a determination means for determining a transfer mode to be used in the communication; The determining means is an electronic device that determines a transfer mode to be used by said communication means when reading data from said recording medium to be the same transfer mode as the transfer mode used by said communication means when said data was recorded on said recording medium.
9. the electronic device displays on a display means a screen for selecting data to be read from the recording medium; 9. The electronic device according to claim 7, wherein the determination means determines the transfer mode based on the transfer mode used when recording the data displayed on the screen, and if the determined transfer mode differs from the transfer mode currently being used, switches the transfer mode in parallel with the display of the screen.
10. 10. The electronic device according to claim 9, wherein the determination unit determines a transfer mode that was used when recording a greater number of data items among the plurality of data items displayed on the screen.
11. 11. The electronic device according to claim 9 or 10, wherein, when the transfer mode used when the data selected from the screen is recorded is different from the determined transfer mode, the determination means switches the transfer mode to use the transfer mode used when the selected data was recorded.
12. 9. The electronic device according to claim 7 or 8, characterized in that, when a time required for switching from the first transfer mode to the second transfer mode is different from a time required for switching from the second transfer mode to the first transfer mode, a transfer mode that requires more time for switching and being used is used, and then a screen for selecting data to be read from the recording medium is displayed on a display means.
13. 13. The electronic device according to claim 1, wherein the first transfer mode is an SD mode, and the second transfer mode is a PCIe mode.
14. A switching means for switching the operation mode of the electronic device, The determining means is When the operation mode of the electronic device is a first mode, if the connected recording medium is compatible with the second transfer mode, it is determined to use the first transfer mode if the minimum transfer speed is higher than a transfer speed required for data to be recorded by communication with the recording medium, and to use the second transfer mode if the minimum transfer speed is not higher than the required transfer speed; determining to use the first transfer mode if the connected recording medium does not support the second transfer mode; When the operation mode of the electronic device is the second mode, determining to use the second transfer mode if the connected recording medium supports the second transfer mode; determining to use the first transfer mode if the connected recording medium does not support the second transfer mode; 14. The electronic device according to claim 1,
15. 15. The electronic device according to claim 14, wherein the first mode is a moving image recording mode, and the second mode is a still image recording mode.
16. 16. The electronic device according to claim 15, wherein the determining means determines to use the first transfer mode when the operation mode of the electronic device is a reproduction mode for reproducing an image.
17. An imaging device capable of communicating with a recording medium having a first transfer mode in which a minimum transfer rate is guaranteed and a second transfer mode in which a guaranteed minimum transfer rate is not provided and a transfer rate faster than the minimum transfer rate is possible, A communication means for communicating with the connected recording medium; the communication means has a determination means for determining a transfer mode to be used in the communication; The determining means is When the imaging device is in a recording mode, a transfer mode to be used for the communication is determined according to a determination result of whether or not the connected recording medium supports the second transfer mode; determining to use the first transfer mode when the imaging device is in a playback mode; 1. An imaging device comprising:
18. When the imaging device is in the recording mode, the determination means if the connected recording medium is compatible with the second transfer mode, it is determined to use the first transfer mode if the minimum transfer speed is higher than a transfer speed required for data to be recorded by communication with the recording medium, and to use the second transfer mode if the minimum transfer speed is not higher than the required transfer speed; determining to use the first transfer mode if the connected recording medium does not support the second transfer mode; 20. The imaging device according to claim 17,
19. When the imaging device is in a playback mode, the determination means determining to use the first transfer mode when the imaging device is started up or when the recording medium is connected to the imaging device; while the imaging device is operating in a playback mode, a transfer mode to be used for the communication is determined according to an image being played back; 19. The imaging device according to claim 17 or 18.
20. 1. A method for controlling an electronic device capable of communicating with a recording medium having a first transfer mode in which a minimum transfer rate is guaranteed and a second transfer mode in which a guaranteed minimum transfer rate is not provided and a transfer rate faster than the minimum transfer rate is possible, comprising: The determination means has a determination step of determining a transfer mode to be used in communication with the connected recording medium, The determining step includes: determining, when the connected recording medium is compatible with the second transfer mode, to use the first transfer mode if the minimum transfer speed is higher than a transfer speed required for data to be recorded by communication with the recording medium, and to use the second transfer mode if the minimum transfer speed is not higher than the required transfer speed; and determining to use the first transfer mode if the connected recording medium does not support the second transfer mode.
21. 1. A method for controlling an electronic device capable of communicating with a recording medium having a first transfer mode in which a minimum transfer rate is guaranteed and a second transfer mode in which a guaranteed minimum transfer rate is not provided and a transfer rate faster than the minimum transfer rate is possible, comprising: The determination means has a determination step of determining a transfer mode to be used in communication with the connected recording medium, The determining step includes: A method for controlling an electronic device, comprising the step of determining a transfer mode to be used for communication to read data from the recording medium to be the same transfer mode as the transfer mode used when the data was recorded on the recording medium.
22. 1. A method for controlling an imaging device capable of communicating with a recording medium having a first transfer mode in which a minimum transfer rate is guaranteed and a second transfer mode in which a guaranteed minimum transfer rate is not provided and a transfer rate faster than the minimum transfer rate is possible, comprising: The determination means has a determination step of determining a transfer mode to be used in communication with the connected recording medium, The determining step includes: When the imaging device is in a recording mode, a transfer mode to be used for the communication is determined according to a determination result of whether or not the connected recording medium supports the second transfer mode; determining to use the first transfer mode when the imaging device is in a playback mode; 23. A method for controlling an imaging apparatus comprising the steps of:
23. A program for causing a computer to execute each step of the method for controlling an electronic device according to claim 20 or 21, or the method for controlling an imaging device according to claim 22.
Citation Information
Patent Citations
Information processing device
JP2009181534A
Recording apparatus, recording method, program, and recording system
JP2009296549A
Recording medium control apparatus, recording medium control method and program
JP2011186709A
Control device, recording device, imaging device, and program
JP2013258469A
Communication mode determination method
JP2019057229A