TWI618405B - Multimedia recording method and device thereof - Google Patents

Multimedia recording method and device thereof Download PDF

Info

Publication number
TWI618405B
TWI618405B TW106109657A TW106109657A TWI618405B TW I618405 B TWI618405 B TW I618405B TW 106109657 A TW106109657 A TW 106109657A TW 106109657 A TW106109657 A TW 106109657A TW I618405 B TWI618405 B TW I618405B
Authority
TW
Taiwan
Prior art keywords
external storage
storage device
file
processor
multimedia recording
Prior art date
Application number
TW106109657A
Other languages
Chinese (zh)
Other versions
TW201836359A (en
Inventor
王鎮宇
陳維德
Original Assignee
和碩聯合科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 和碩聯合科技股份有限公司 filed Critical 和碩聯合科技股份有限公司
Priority to TW106109657A priority Critical patent/TWI618405B/en
Application granted granted Critical
Publication of TWI618405B publication Critical patent/TWI618405B/en
Publication of TW201836359A publication Critical patent/TW201836359A/en

Links

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

本發明提出一種多媒體錄製方法,適用於具有內部記憶體的多媒體錄製裝置。其方法包括:錄製影像串流資料,並持續地將影像串流資料儲存於第一外部儲存裝置為第一檔案;判斷第一外部儲存裝置的可用儲存空間小於臨界值,多媒體錄製裝置持續錄製影像串流資料,並將接續錄製的影像串流資料儲存於內部記憶體為第二檔案;偵測到第二外部儲存裝置耦接多媒體錄製裝置,多媒體錄製裝置仍持續錄製影像串流資料,並將連接第二外部儲存裝置後錄製的影像串流資料儲存於第二外部儲存裝置為第三檔案;以及將內部記憶體的第二檔案傳送至第二外部儲存裝置。The invention provides a multimedia recording method suitable for a multimedia recording device with internal memory. The method comprises: recording video stream data, and continuously storing the image stream data in the first external storage device as a first file; determining that the available storage space of the first external storage device is less than a threshold value, and the multimedia recording device continuously recording the image Streaming the data, and storing the continuously recorded video stream data in the internal memory as a second file; detecting that the second external storage device is coupled to the multimedia recording device, the multimedia recording device continues to record the video stream data, and The image stream data recorded after connecting the second external storage device is stored in the second external storage device as a third file; and the second file of the internal memory is transferred to the second external storage device.

Description

多媒體錄製方法及其裝置Multimedia recording method and device thereof

本發明是有關於一種多媒體錄製方法及其裝置,且特別是有關於一種能夠不間斷地錄製影像串流資料的多媒體錄製方法及其裝置。The present invention relates to a multimedia recording method and apparatus thereof, and more particularly to a multimedia recording method and apparatus capable of continuously recording video stream data without interruption.

目前一般市面上多媒體裝置在錄影/音過程中,如遇記憶卡空間不足時,多媒體裝置會自動停止錄影/音。使用者如需繼續錄影/音,就不得不抽換另一張有剩餘空間記憶卡做使用。但在抽換過程中,多媒體裝置的錄影/音過程必須中斷。這可能造成重要資訊的遺漏。然而,而目前市面上多媒體裝置,並無針對此問題設計有效的解決方案。At present, in the video/tone process of the multimedia device on the market, if the memory card space is insufficient, the multimedia device will automatically stop recording/tone. If the user needs to continue recording/tone, he or she will have to replace another memory card with a remaining space for use. However, during the swapping process, the recording/sounding process of the multimedia device must be interrupted. This may result in the omission of important information. However, there is currently no effective solution for this problem in multimedia devices on the market.

本發明提供一種多媒體錄製方法及其裝置,其可在更換記憶卡時持續地錄製影像串流資料,以避免造成重要資訊的遺漏。The invention provides a multimedia recording method and a device thereof, which can continuously record video stream data when a memory card is replaced, so as to avoid the omission of important information.

本發明提出一種多媒體錄製方法,適用於具有內部記憶體的多媒體錄製裝置。多媒體錄製方法包括:錄製影像串流資料,並持續地將影像串流資料儲存於第一外部儲存裝置為第一檔案;判斷第一外部儲存裝置的可用儲存空間小於臨界值,多媒體錄製裝置持續錄製影像串流資料,並將接續錄製的影像串流資料儲存於內部記憶體為第二檔案;偵測到第二外部儲存裝置耦接多媒體錄製裝置,多媒體錄製裝置仍持續錄製影像串流資料,並將連接第二外部儲存裝置後錄製的影像串流資料儲存於第二外部儲存裝置為第三檔案;以及將儲存於內部記憶體的第二檔案傳送至第二外部儲存裝置。The invention provides a multimedia recording method suitable for a multimedia recording device with internal memory. The multimedia recording method includes: recording the video stream data, and continuously storing the image stream data in the first external storage device as the first file; determining that the available storage space of the first external storage device is less than a threshold, and the multimedia recording device continuously recording The image stream data is stored in the internal memory as a second file; and the second external storage device is coupled to the multimedia recording device, and the multimedia recording device continues to record the video stream data, and The image stream data recorded after connecting the second external storage device is stored in the second external storage device as a third file; and the second file stored in the internal memory is transferred to the second external storage device.

在本發明的一實施例中,上述多媒體錄製方法更包括:將儲存於第二外部儲存裝置的第二檔案及第三檔案合併成一個檔案。In an embodiment of the present invention, the multimedia recording method further includes: combining the second file and the third file stored in the second external storage device into one file.

在本發明的一實施例中,上述多媒體錄製方法更包括:當判斷第一外部儲存裝置的可用儲存空間小於臨界值時,發出警示訊號。In an embodiment of the present invention, the multimedia recording method further includes: when determining that the available storage space of the first external storage device is less than a threshold, issuing an alert signal.

在本發明的一實施例中,上述多媒體錄製方法更包括:偵測到第二外部儲存裝置耦接多媒體錄製裝置之後,判斷第二外部儲存裝置的可用儲存空間是否大於第二檔案的所需儲存空間,若第二外部儲存裝置的可用儲存空間小於第二檔案的所需儲存空間,則發出警示訊號。In an embodiment of the present invention, the multimedia recording method further includes: after detecting that the second external storage device is coupled to the multimedia recording device, determining whether the available storage space of the second external storage device is greater than a required storage of the second file. Space, if the available storage space of the second external storage device is smaller than the required storage space of the second file, a warning signal is issued.

在本發明的一實施例中,上述第一外部儲存裝置及第二外部儲存裝置可插拔式地透過至少一連接埠耦接多媒體錄製裝置。In an embodiment of the invention, the first external storage device and the second external storage device are pluggably coupled to the multimedia recording device via at least one connection port.

在本發明的一實施例中,第二檔案傳送至第二外部儲存裝置以後,刪除內部記憶體的第二檔案。In an embodiment of the invention, after the second file is transferred to the second external storage device, the second file of the internal memory is deleted.

本發明提出一種多媒體錄製裝置包括影像錄製器、處理器、內部記憶體、至少一連接埠及至少二外部儲存裝置。影像錄製器用以錄製影像串流資料。影像錄製器、內部記憶體及至少一連接埠耦接處理器。上述處理器用以接收影像串流資料。至少二外部儲存裝置可插拔地耦接至少一連接埠,至少二外部儲存裝置包含第一外部儲存裝置及第二外部儲存裝置。處理器持續地將影像串流資料儲存於第一外部儲存裝置為第一檔案。處理器判斷第一外部儲存裝置的可用儲存空間小於臨界值,影像錄製器持續錄製影像串流資料,上述處理器將接續錄製的影像串流資料儲存於內部記憶體為第二檔案。處理器偵測到第二外部儲存裝置耦接連接埠時,影像錄製器仍持續錄製影像串流資料,上述處理器將連接第二外部儲存裝置後錄製的影像串流資料儲存於第二外部儲存裝置為第三檔案。上述處理器將儲存於內部記憶體的第二檔案傳送至第二外部儲存裝置。The present invention provides a multimedia recording device including a video recorder, a processor, an internal memory, at least one port, and at least two external storage devices. The image recorder is used to record video stream data. The image recorder, the internal memory, and the at least one port are coupled to the processor. The processor is configured to receive video stream data. The at least two external storage devices are detachably coupled to the at least one connection port, and the at least two external storage devices include the first external storage device and the second external storage device. The processor continuously stores the image stream data in the first external storage device as the first file. The processor determines that the available storage space of the first external storage device is less than a threshold, and the image recorder continuously records the video stream data, and the processor stores the continuously recorded video stream data in the internal memory as the second file. When the processor detects that the second external storage device is coupled to the port, the image recorder continues to record the video stream data, and the processor stores the video stream data recorded after the second external storage device is connected to the second external storage device. The device is the third file. The processor transmits the second file stored in the internal memory to the second external storage device.

在本發明的一實施例中,上述處理器將儲存於第二外部儲存裝置的第二檔案及第三檔案合併成一個檔案。In an embodiment of the invention, the processor combines the second file and the third file stored in the second external storage device into one file.

在本發明的一實施例中,上述多媒體錄製裝置更包含警示單元,警示單元耦接處理器。處理器判斷第一外部儲存裝置的可用儲存空間小於臨界值,處理器輸出警示訊號至警示單元。In an embodiment of the invention, the multimedia recording device further includes an alert unit, and the alert unit is coupled to the processor. The processor determines that the available storage space of the first external storage device is less than a threshold, and the processor outputs the warning signal to the alert unit.

在本發明的一實施例中,上述多媒體錄製裝置更包含警示單元,警示單元耦接處理器。在第二外部儲存裝置耦接至少一連接埠之後,上述處理器判斷第二外部儲存裝置的可用儲存空間是否大於第二檔案的所需儲存空間。若第二外部儲存裝置的可用儲存空間小於第二檔案的所需儲存空間,則處理器發出警示訊號至警示單元。In an embodiment of the invention, the multimedia recording device further includes an alert unit, and the alert unit is coupled to the processor. After the second external storage device is coupled to the at least one port, the processor determines whether the available storage space of the second external storage device is greater than a required storage space of the second file. If the available storage space of the second external storage device is less than the required storage space of the second file, the processor sends an alert signal to the alert unit.

在本發明的一實施例中,當第二檔案傳送至第二外部儲存裝置以後,處理器刪除內部記憶體的第二檔案。In an embodiment of the invention, after the second file is transferred to the second external storage device, the processor deletes the second file of the internal memory.

基於上述,本發明的多媒體錄製方法及其裝置會在多媒體錄製裝置持續錄製影像串流資料的情況下,在第一外部儲存裝置的可用儲存空間小於臨界值時發出警示訊號用以提示將第二外部儲存裝置耦接多媒體錄製裝置。在處理器判斷第一外部儲存裝置的可用儲存空間小於臨界值之後且第二外部儲存裝置耦接多媒體錄製裝置之前,會將接續錄製的影像串流資料儲存於內部記憶體。並在第二外部儲存裝置耦接多媒體錄製裝置之後,將內部記憶體的第二檔案傳送至第二外部儲存裝置,且第二外部儲存裝置能夠儲存在耦接第二外部儲存裝置後錄製的影像串流資料。如此一來,即使在第一外部儲存裝置及第二外部儲存裝置的替換過程中也能完整的錄製影像串流資料。Based on the above, the multimedia recording method and device thereof of the present invention, when the multimedia recording device continuously records the video stream data, sends an alert signal to prompt the second when the available storage space of the first external storage device is less than the threshold value. The external storage device is coupled to the multimedia recording device. After the processor determines that the available storage space of the first external storage device is less than the threshold value and the second external storage device is coupled to the multimedia recording device, the continuously recorded video stream data is stored in the internal memory. And after the second external storage device is coupled to the multimedia recording device, the second file of the internal memory is transferred to the second external storage device, and the second external storage device is capable of storing the image recorded after the second external storage device is coupled Streaming data. In this way, the video stream data can be completely recorded even during the replacement of the first external storage device and the second external storage device.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the invention will be apparent from the following description.

現將詳細參考本發明之示範性實施例,在附圖中說明所述示範性實施例之實例。另外,凡可能之處,在圖式及實施方式中使用相同標號的元件/構件代表相同或類似部分。DETAILED DESCRIPTION OF THE INVENTION Reference will now be made in detail to the exemplary embodiments embodiments In addition, wherever possible, the same reference numerals in the drawings

圖1是根據本發明的一實施例的多媒體錄製裝置的方塊圖。請參照圖1,本發明的多媒體錄製裝置100包括處理器101、內部記憶體102、至少一連接埠103、影像錄製器104、至少二外部儲存裝置、聲音輸入器105及警示單元106。內部記憶體102、連接埠103、影像錄製器104、聲音輸入器105及警式單元106耦接處理器101。處理器101可藉由至少一連接埠103耦接至少二外部儲存裝置,至少二外部儲存裝置包含第一外部儲存裝置110或第二外部儲存裝置120。值得注意的是,至少一連接埠103的數量可以是不只一個。例如,若連接埠103的數量為兩個或兩個以上,則第一外部儲存裝置110及第二外部儲存裝置120以可插拔式地同時耦接於連接埠103。然而,若連接埠103的數量只有一個,則只能選擇將第一外部儲存裝置110或第二外部儲存裝置120以可插拔式地耦接於連接埠103。1 is a block diagram of a multimedia recording device in accordance with an embodiment of the present invention. 1 , the multimedia recording apparatus 100 of the present invention includes a processor 101, an internal memory 102, at least one port 103, an image recorder 104, at least two external storage devices, a voice input device 105, and a warning unit 106. The internal memory 102, the port 103, the image recorder 104, the voice input device 105, and the police unit 106 are coupled to the processor 101. The processor 101 can be coupled to at least two external storage devices by at least one port 103, and the at least two external storage devices include the first external storage device 110 or the second external storage device 120. It should be noted that the number of at least one connection port 103 may be more than one. For example, if the number of the ports 103 is two or more, the first external storage device 110 and the second external storage device 120 are simultaneously pluggably coupled to the port 103. However, if there is only one connection port 103, only the first external storage device 110 or the second external storage device 120 can be selectively pluggably coupled to the port 103.

影像錄製器104用以錄製一影像串流資料,影像錄製器104可以包括例如是電荷耦合元件(charge coupled device,CCD)、互補性氧化金屬半導體(complementary metal-oxide semiconductor,CMOS)元件或其他元件,本發明不在此設限。聲音輸入器105可以是任何具有收音功能的麥克風。The image recorder 104 is configured to record an image stream data, and the image recorder 104 may include, for example, a charge coupled device (CCD), a complementary metal-oxide semiconductor (CMOS) device, or other components. The present invention is not limited thereto. The sound input device 105 can be any microphone having a radio function.

處理器101可以是中央處理單元(Central Processing Unit,CPU),或是其他可程式化之一般用途或特殊用途的微處理器(Microprocessor)、數位信號處理器(Digital Signal Processor,DSP)、可程式化控制器、特殊應用積體電路(Application Specific Integrated Circuit,ASIC)或其他類似元件或上述元件的組合。處理器101用以接收影像串流資料。The processor 101 can be a central processing unit (CPU), or other programmable general purpose or special purpose microprocessor (Microprocessor), digital signal processor (DSP), programmable A controller, an Application Specific Integrated Circuit (ASIC) or other similar component or a combination of the above components. The processor 101 is configured to receive video stream data.

內部記憶體102可以是任何型態的固定或可移動隨機存取記憶體(random access memory,RAM)、唯讀記憶體(read-only memory,ROM)、快閃記憶體(flash memory)或類似元件或上述元件的組合。內部記憶體102以不可插拔的方式設置在多媒體錄製裝置100的主板上並可儲存或暫存影像錄製器104所錄製的影像串流資料。The internal memory 102 can be any type of fixed or removable random access memory (RAM), read-only memory (ROM), flash memory (flash memory) or the like. Element or combination of the above elements. The internal memory 102 is disposed on the main board of the multimedia recording apparatus 100 in a non-pluggable manner and can store or temporarily store the video stream data recorded by the image recorder 104.

連接埠103可以是相容於安全數位(Secure Digital, SD) 介面標準的連接端子。然而,必須瞭解的是,本發明不限於此,連接埠103亦可以是符合並列先進附件(Parallel Advanced Technology Attachment, PATA)標準、電氣和電子工程師協會(Institute of Electrical and Electronic Engineers, IEEE) 1394標準、高速周邊零件連接介面(Peripheral Component Interconnect Express, PCI Express) 標準、通用序列匯流排(Universal Serial Bus, USB) 標準、序列先進附件(Serial Advanced Technology Attachment, SATA)標準、記憶棒(Memory Stick, MS)介面標準、多媒體儲存卡(Multi Media Card, MMC)介面標準、小型快閃(Compact Flash, CF)介面標準、整合式驅動電子介面(Integrated Device Electronics, IDE) 標準或其他適合的標準的連接端子。The port 103 can be a connection terminal compatible with the Secure Digital (SD) interface standard. However, it must be understood that the present invention is not limited thereto, and the connection port 103 may also conform to the Parallel Advanced Technology Attachment (PATA) standard and the Institute of Electrical and Electronic Engineers (IEEE) 1394 standard. , Peripheral Component Interconnect Express (PCI Express) standard, Universal Serial Bus (USB) standard, Serial Advanced Technology Attachment (SATA) standard, Memory Stick (MS) Interface standard, Multi Media Card (MMC) interface standard, Compact Flash (CF) interface standard, Integrated Device Electronics (IDE) standard or other suitable standard connection terminals .

警示單元106可以是警示燈或可輸出警式音效的揚聲器。警式單元106耦接處理器101並用以接收處理器101的警示訊號以輸出警示燈號或警式音效以提示使用者需要插入新的外部儲存裝置。The alert unit 106 can be a warning light or a speaker that can output an alarm sound effect. The police unit 106 is coupled to the processor 101 and configured to receive the warning signal of the processor 101 to output a warning light or an alarm sound to prompt the user to insert a new external storage device.

第一外部儲存裝置110及第二外部儲存裝置120可以是安全數位介面卡、多媒體儲存卡、記憶棒、快閃記憶卡或嵌入式多媒體卡或其他類似元件。The first external storage device 110 and the second external storage device 120 may be a secure digital interface card, a multimedia storage card, a memory stick, a flash memory card or an embedded multimedia card or the like.

具體來說,本發明的多媒體錄製裝置100可以透過影像錄製器104及聲音輸入器105錄製影音影像串流資料或聲音影像串流資料等影像串流資料。Specifically, the multimedia recording device 100 of the present invention can record video stream data such as video and video stream data or audio image stream data through the image recorder 104 and the sound input device 105.

圖2是根據本發明的一實施例的多媒體錄製方法的流程圖。請參照圖2,在步驟S201中,影像錄製器104錄製影像串流資料,處理器101持續地將影像串流資料儲存於第一外部儲存裝置110為一第一檔案。第一外部儲存裝置110例如是目前耦接於多媒體錄製裝置100的連接埠103上的記憶卡。2 is a flow chart of a multimedia recording method in accordance with an embodiment of the present invention. Referring to FIG. 2, in step S201, the image recorder 104 records the video stream data, and the processor 101 continuously stores the video stream data in the first external storage device 110 as a first file. The first external storage device 110 is, for example, a memory card currently coupled to the port 103 of the multimedia recording device 100.

在步驟S203中,處理器101判斷第一外部儲存裝置110的可用儲存空間是否小於一臨界值。In step S203, the processor 101 determines whether the available storage space of the first external storage device 110 is less than a threshold.

當處理器101判斷第一外部儲存裝置110的可用儲存空間大於臨界值,則回到步驟S201繼續將影像串流資料儲存於第一外部儲存裝置110。當處理器101判斷第一外部儲存裝置110的可用儲存空間小於臨界值,則在步驟S205中,影像錄製器104持續錄製影像串流資料,處理器101將接續錄製的影像串流資料儲存在內部記憶體102為一第二檔案。When the processor 101 determines that the available storage space of the first external storage device 110 is greater than the threshold, the process returns to step S201 to continue to store the video stream data in the first external storage device 110. When the processor 101 determines that the available storage space of the first external storage device 110 is less than the threshold, in step S205, the image recorder 104 continuously records the video stream data, and the processor 101 stores the continuously recorded video stream data internally. The memory 102 is a second file.

舉例來說,當第一外部儲存裝置110的可用儲存空間小於一分鐘的影像串流資料所需的儲存空間(即,臨界值)時,處理器101會將接續錄製的影像串流資料不間斷地儲存在多媒體錄製裝置100的內部記憶體102。如此可以保證當耦接於多媒體錄製裝置100的連接埠103上的第一外部儲存裝置110的可用儲存空間小於臨界值時,多媒體錄製裝置100還能利用內部記憶體102接續且不間斷地錄製影像串流資料,以避免於插入或抽換外部儲存裝置的過程中發生無法持續錄製影像串流資料的情形。For example, when the available storage space of the first external storage device 110 is less than the storage space (ie, the critical value) required for the video stream data of one minute, the processor 101 will continue to continuously record the video stream data. It is stored in the internal memory 102 of the multimedia recording apparatus 100. Therefore, when the available storage space of the first external storage device 110 coupled to the port 103 of the multimedia recording device 100 is less than the threshold, the multimedia recording device 100 can continuously and continuously record the image by using the internal memory 102. Streaming data to avoid situations where image stream data cannot be continuously recorded during insertion or exchange of external storage devices.

值得注意的是,當處理器101判斷第一外部儲存裝置110的可用儲存空間小於臨界值時,處理器101可發出一個警示訊號到警示單元106以提示使用者將第二外部儲存裝置120耦接多媒體錄製裝置100。舉例來說,處理器101可發出警示訊號到警示燈來提示使用者插入或抽換外部儲存裝置,或是發出警示訊號到揚聲器以直接重覆播放一個語音片段或特殊音效來提示使用者插入或更換外部儲存裝置。It should be noted that when the processor 101 determines that the available storage space of the first external storage device 110 is less than the threshold, the processor 101 may send an alert signal to the alert unit 106 to prompt the user to couple the second external storage device 120. Multimedia recording device 100. For example, the processor 101 can send a warning signal to the warning light to prompt the user to insert or replace the external storage device, or send a warning signal to the speaker to directly repeat a voice segment or special sound effect to prompt the user to insert or Replace the external storage device.

在步驟S207中,處理器101偵測是否有第二外部儲存裝置120耦接多媒體錄製裝置100。In step S207, the processor 101 detects whether the second external storage device 120 is coupled to the multimedia recording device 100.

若處理器101沒偵測到第二外部儲存裝置120耦接多媒體錄製裝置100的連接埠103,則回到步驟S205繼續將影像串流資料儲存在內部記憶體102。若處理器101偵測到第二外部儲存裝置120耦接多媒體錄製裝置100的連接埠103,則在步驟S209中,影像錄製器104仍持續錄製影像串流資料,處理器101將耦接第二外部儲存裝置120之後錄製的影像串流資料儲存於第二外部儲存裝置120為一第三檔案,處理器101並將儲存於內部記憶體102的第二檔案傳送至第二外部儲存裝置120。If the processor 101 does not detect that the second external storage device 120 is coupled to the port 103 of the multimedia recording device 100, then the process returns to step S205 to continue storing the video stream data in the internal memory 102. If the processor 101 detects that the second external storage device 120 is coupled to the port 103 of the multimedia recording device 100, the image recorder 104 continues to record the video stream data in step S209, and the processor 101 is coupled to the second device. The image stream data recorded after the external storage device 120 is stored in the second external storage device 120 as a third file, and the processor 101 transmits the second file stored in the internal memory 102 to the second external storage device 120.

在本實施例中,處理器101可將儲存於內部記憶體102的第二檔案以剪下貼上的方式傳送至第二外部儲存裝置120。In this embodiment, the processor 101 can transfer the second file stored in the internal memory 102 to the second external storage device 120 in a cut-and-stick manner.

舉例來說,處理器101可在偵測到第二外部儲存裝置120(例如,新的記憶卡)耦接多媒體錄製裝置100的連接埠103之後的任何時間點,將第二檔案從內部記憶體102以剪下貼上的方式傳送至第二外部儲存裝置120。值得注意的是,在將第二檔案從內部記憶體102傳送至第二外部儲存裝置120之後,處理器101還可將儲存於第二外部儲存裝置120的第二檔案及第三檔案合併成一個檔案。For example, the processor 101 can remove the second file from the internal memory at any point after detecting that the second external storage device 120 (eg, a new memory card) is coupled to the port 103 of the multimedia recording device 100. 102 is transferred to the second external storage device 120 in a cut-and-stick manner. It is to be noted that, after the second file is transferred from the internal memory 102 to the second external storage device 120, the processor 101 may also merge the second file and the third file stored in the second external storage device 120 into one. file.

值得注意的是,若結束影像錄製工作時,處理器101都還沒偵測到第二外部儲存裝置120耦接多媒體錄製裝置100的連接埠103,則處理器101可保留儲存在內部儲存裝置102的第二檔案,並在之後任何時間點於偵測到第二外部儲存裝置耦接多媒體錄製裝置100的連接埠103時,再將第二檔案傳送至第二外部儲存裝置。It should be noted that, if the processor 101 has not detected that the second external storage device 120 is coupled to the port 103 of the multimedia recording device 100, the processor 101 may remain stored in the internal storage device 102. And the second file is transferred to the second external storage device at any time after detecting that the second external storage device is coupled to the port 103 of the multimedia recording device 100.

在一實施例中,當處理器101偵測到第二外部儲存裝置120耦接多媒體錄製裝置100的連接埠103時,處理器101還可判斷第二外部儲存裝置120的可用儲存空間是否大於第二檔案的所需儲存空間。若第二外部儲存裝置120的可用儲存空間小於第二檔案的所需儲存空間,則處理器101會發出一警示訊號至警示單元106,用以提示使用者須更換第二外部儲存裝置120。同理而言,在外部儲存裝置耦接多媒體錄製裝置100的連接埠103之後,處理器101也可判斷外部儲存裝置的可用儲存空間是否大於第二檔案的所需儲存空間。In an embodiment, when the processor 101 detects that the second external storage device 120 is coupled to the port 103 of the multimedia recording device 100, the processor 101 may further determine whether the available storage space of the second external storage device 120 is greater than The required storage space for the second file. If the available storage space of the second external storage device 120 is smaller than the required storage space of the second file, the processor 101 sends a warning signal to the warning unit 106 to prompt the user to replace the second external storage device 120. Similarly, after the external storage device is coupled to the port 103 of the multimedia recording device 100, the processor 101 can also determine whether the available storage space of the external storage device is greater than the required storage space of the second file.

值得注意的是,於使用者插入或抽換外部儲存裝置時,當多媒體錄製裝置100只有一個連接埠103時,使用者必須先將第一外部儲存裝置110從連接埠103拔除之後才能將第二外部儲存裝置120安裝或插入到此連接埠103上。接著在步驟S207中,處理器101偵測到第二外部儲存裝置120耦接多媒體錄製裝置100的連接埠103,則在步驟S209中,影像錄製器104仍持續錄製影像串流資料,處理器101將耦接第二外部儲存裝置120之後錄製的影像串流資料儲存於第二外部儲存裝置120為第三檔案,處理器101並將儲存於內部記憶體102的第二檔案傳送至第二外部儲存裝置120。It should be noted that when the user inserts or swaps the external storage device, when the multimedia recording device 100 has only one port 103, the user must first remove the first external storage device 110 from the port 103 before the second device can be used. The external storage device 120 is mounted or inserted into this port 103. Then, in step S207, the processor 101 detects that the second external storage device 120 is coupled to the port 103 of the multimedia recording device 100. Then, in step S209, the image recorder 104 continues to record the video stream data, and the processor 101 The image stream data recorded after the second external storage device 120 is coupled to the second external storage device 120 is stored as a third file, and the processor 101 transmits the second file stored in the internal memory 102 to the second external storage. Device 120.

然而,當多媒體錄製裝置100有兩個或兩個以上的連接埠103時,使用者可以不用將第一外部儲存裝置110從連接埠103拔除,而直接將第二外部儲存裝置120安裝或插入到此連接埠103上,接著在步驟S207中,處理器101偵測到第二外部儲存裝置120耦接多媒體錄製裝置100的連接埠103,則在步驟S209中,影像錄製器104仍持續錄製影像串流資料,處理器101將耦接第二外部儲存裝置120之後錄製的影像串流資料儲存於第二外部儲存裝置120為第三檔案,處理器101並將儲存於內部記憶體102的第二檔案傳送至第二外部儲存裝置120。However, when the multimedia recording device 100 has two or more ports 103, the user can directly install or insert the second external storage device 120 without removing the first external storage device 110 from the port 103. On the port 103, then in step S207, the processor 101 detects that the second external storage device 120 is coupled to the port 103 of the multimedia recording device 100. Then, in step S209, the image recorder 104 continues to record the image string. Flowing the data, the processor 101 stores the video stream data recorded after the second external storage device 120 is stored in the second external storage device 120 as a third file, and the processor 101 stores the second file stored in the internal memory 102. Transfer to the second external storage device 120.

圖3是根據本發明的另一實施例的多媒體錄製方法的流程圖。3 is a flow chart of a multimedia recording method in accordance with another embodiment of the present invention.

由於步驟S301、S303、S305、S307分別相同於步驟S201、S203、S205、S207,因此不再贅述。Since steps S301, S303, S305, and S307 are the same as steps S201, S203, S205, and S207, respectively, the description thereof will not be repeated.

圖3與圖2的不同之處在於,在步驟S307中,當處理器101偵測到第二外部儲存裝置120耦接多媒體錄製裝置100的連接埠103時,則在步驟S309中,影像錄製器104仍持續錄製影像串流資料,處理器101將耦接第二外部儲存裝置120之後錄製的影像串流資料儲存於第二外部儲存裝置120為第三檔案,處理器101並將儲存於內部記憶體102的第二檔案以複製的方式傳送至第二外部儲存裝置120。The difference between FIG. 3 and FIG. 2 is that, in step S307, when the processor 101 detects that the second external storage device 120 is coupled to the port 103 of the multimedia recording device 100, then in step S309, the image recorder The processor 101 continues to record the video stream data, and the processor 101 stores the video stream data recorded after the second external storage device 120 is stored in the second external storage device 120 as a third file, and the processor 101 stores the data in the internal memory. The second file of the body 102 is transferred to the second external storage device 120 in a duplicated manner.

當第二檔案傳送至第二外部儲存裝置120以後,在步驟S311中,處理器101刪除內部記憶體102的第二檔案。在本實施例中,處理器101可以在第二檔案完成複製到至第二外部儲存裝置120以後立即刪除內部記憶體102的第二檔案。但本發明並不以此為限。在另一實施例中,處理器101也可在將儲存於第二外部儲存裝置120的第二檔案及第三檔案合併成一個檔案之後,才刪除儲存於內部記憶體102的第二檔案。After the second file is transferred to the second external storage device 120, the processor 101 deletes the second file of the internal memory 102 in step S311. In this embodiment, the processor 101 may delete the second file of the internal memory 102 immediately after the second file is copied to the second external storage device 120. However, the invention is not limited thereto. In another embodiment, the processor 101 may delete the second file stored in the internal memory 102 after the second file and the third file stored in the second external storage device 120 are merged into one file.

綜上所述,本發明的多媒體錄製方法及其裝置會在第一外部儲存裝置的可用儲存空間小於臨界值時發出警示訊號用以提示須將第二外部儲存裝置耦接多媒體錄製裝置。在處理器判斷第一外部儲存裝置的可用儲存空間小於臨界值之後且第二外部儲存裝置耦接多媒體錄製裝置之前,處理器會將接續錄製的影像串流資料儲存於內部記憶體,以避免在更換外部儲存裝置的過程中無法持續錄製影像串流資料。在第二外部儲存裝置耦接多媒體錄製裝置之後,內部記憶體的第二檔案會被傳送至第二外部儲存裝置。最後,還可將儲存於第二外部儲存裝置的第二檔案及第三檔案合併成一個檔案。如此一來,即使在第一外部儲存裝置及第二外部儲存裝置的替換過程中也能持續地錄製影像串流資料。In summary, the multimedia recording method and device of the present invention will issue an alert signal to indicate that the second external storage device must be coupled to the multimedia recording device when the available storage space of the first external storage device is less than the threshold. After the processor determines that the available storage space of the first external storage device is less than the threshold value and the second external storage device is coupled to the multimedia recording device, the processor stores the continuously recorded video stream data in the internal memory to avoid Video stream data cannot be continuously recorded during the process of replacing the external storage device. After the second external storage device is coupled to the multimedia recording device, the second file of the internal memory is transferred to the second external storage device. Finally, the second file and the third file stored in the second external storage device may be combined into one file. In this way, the video stream data can be continuously recorded even during the replacement of the first external storage device and the second external storage device.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art can make some changes and refinements without departing from the spirit and scope of the present invention. The scope of the invention is defined by the scope of the appended claims.

100‧‧‧多媒體錄製裝置100‧‧‧Multimedia recording device

101‧‧‧處理器101‧‧‧ processor

102‧‧‧內部記憶體102‧‧‧ internal memory

103‧‧‧連接埠103‧‧‧Connector

104‧‧‧影像錄製器104‧‧‧Image Recorder

105‧‧‧聲音輸入器105‧‧‧Sound input device

106‧‧‧警示單元106‧‧‧Warning unit

110‧‧‧第一外部儲存裝置110‧‧‧First external storage device

120‧‧‧第二外部儲存裝置120‧‧‧Second external storage device

S201、S203、S205、S207、S209‧‧‧多媒體錄製方法的步驟Steps of S201, S203, S205, S207, S209‧‧‧ multimedia recording method

S301、S303、S305、S307、S309、S311‧‧‧多媒體錄製方法的步驟Steps of S301, S303, S305, S307, S309, S311‧‧‧ multimedia recording method

圖1是根據本發明的一實施例的多媒體錄製裝置的方塊圖。 圖2是根據本發明的一實施例的多媒體錄製方法的流程圖。 圖3是根據本發明的另一實施例的多媒體錄製方法的流程圖。1 is a block diagram of a multimedia recording device in accordance with an embodiment of the present invention. 2 is a flow chart of a multimedia recording method in accordance with an embodiment of the present invention. 3 is a flow chart of a multimedia recording method in accordance with another embodiment of the present invention.

Claims (11)

一種多媒體錄製方法,適用於具有一內部記憶體的一多媒體錄製裝置,該多媒體錄製方法包括: 錄製一影像串流資料,並持續地將該影像串流資料儲存於一第一外部儲存裝置為一第一檔案; 判斷該第一外部儲存裝置的可用儲存空間小於一臨界值,該多媒體錄製裝置持續錄製該影像串流資料,並將接續錄製的該影像串流資料儲存於該內部記憶體為一第二檔案; 偵測到一第二外部儲存裝置耦接該多媒體錄製裝置,該多媒體錄製裝置仍持續錄製該影像串流資料,並將耦接該第二外部儲存裝置後錄製的該影像串流資料儲存於該第二外部儲存裝置為一第三檔案;以及 將儲存於該內部記憶體的該第二檔案傳送至該第二外部儲存裝置。A multimedia recording method is applicable to a multimedia recording device having an internal memory, the multimedia recording method comprising: recording an image stream data, and continuously storing the image stream data in a first external storage device Determining that the available storage space of the first external storage device is less than a threshold value, the multimedia recording device continuously records the video stream data, and stores the continuously recorded video stream data in the internal memory The second file is coupled to the second external storage device and coupled to the multimedia recording device, the multimedia recording device continues to record the image stream data, and the image stream recorded after the second external storage device is coupled The data is stored in the second external storage device as a third file; and the second file stored in the internal memory is transferred to the second external storage device. 如申請專利範圍第1項所述的多媒體錄製方法,更包括:將儲存於該第二外部儲存裝置的該第二檔案及該第三檔案合併成一個檔案。The multimedia recording method of claim 1, further comprising: combining the second file and the third file stored in the second external storage device into one file. 如申請專利範圍第1項所述的多媒體錄製方法,更包括:判斷該第一外部儲存裝置的可用儲存空間小於該臨界值,發出一警示訊號。The multimedia recording method of claim 1, further comprising: determining that the available storage space of the first external storage device is less than the threshold, and issuing a warning signal. 如申請專利範圍第1項所述的多媒體錄製方法,更包括:偵測到該第二外部儲存裝置耦接該多媒體錄製裝置之後,判斷該第二外部儲存裝置的可用儲存空間是否大於該第二檔案的所需儲存空間,若該第二外部儲存裝置的可用儲存空間小於該第二檔案的所需儲存空間,則發出一警示訊號。The multimedia recording method of claim 1, further comprising: after detecting that the second external storage device is coupled to the multimedia recording device, determining whether the available storage space of the second external storage device is greater than the second The required storage space of the file is sent a warning signal if the available storage space of the second external storage device is smaller than the required storage space of the second file. 如申請專利範圍第1項所述的多媒體錄製方法,其中該第一外部儲存裝置及該第二外部儲存裝置可插拔式地透過至少一連接埠耦接該多媒體錄製裝置。The multimedia recording method of claim 1, wherein the first external storage device and the second external storage device are pluggably coupled to the multimedia recording device via at least one port. 如申請專利範圍第1項所述的多媒體錄製方法,其中該第二檔案傳送至該第二外部儲存裝置以後,刪除該內部記憶體的該第二檔案。The multimedia recording method of claim 1, wherein the second file is deleted from the internal memory after the second file is transferred to the second external storage device. 一種多媒體錄製裝置,包括: 一影像錄製器,用以錄製一影像串流資料; 一處理器,耦接該影像錄製器,該處理器用以接收該影像串流資料;以及 一內部記憶體,耦接該處理器; 至少一連接埠,耦接該處理器;以及 至少二外部儲存裝置,可插拔地耦接該至少一連接埠,該至少二外部儲存裝置包含一第一外部儲存裝置及一第二外部儲存裝置,其中 該處理器持續地將該影像串流資料儲存於該第一外部儲存裝置為一第一檔案; 該處理器判斷該第一外部儲存裝置的可用儲存空間小於一臨界值,該影像錄製器持續錄製該影像串流資料,該處理器將接續錄製的該影像串流資料儲存於該內部記憶體為一第二檔案; 該處理器偵測到該第二外部儲存裝置耦接該至少一連接埠,該影像錄製器仍持續錄製該影像串流資料,該處理器將耦接該第二外部儲存裝置後錄製的該影像串流資料儲存於該第二外部儲存裝置為一第三檔案;以及 該處理器將儲存於該內部記憶體的該第二檔案傳送至該第二外部儲存裝置。A multimedia recording device includes: an image recorder for recording an image stream data; a processor coupled to the image recorder, the processor for receiving the image stream data; and an internal memory coupled Connected to the processor; at least one port coupled to the processor; and at least two external storage devices that are detachably coupled to the at least one port, the at least two external storage devices including a first external storage device and a a second external storage device, wherein the processor continuously stores the image stream data in the first external storage device as a first file; the processor determines that the available storage space of the first external storage device is less than a threshold value The image recorder continuously records the image stream data, and the processor stores the continuously recorded image stream data in the internal memory as a second file; the processor detects the second external storage device coupling After the at least one port is connected, the image recorder continues to record the image stream data, and the processor is coupled to the second external storage device to record The video stream data stored in the second external storage device as a third file; and the processor will be stored in the internal memory of the second file is transmitted to the second external storage device. 如申請專利範圍第7項所述的多媒體錄製裝置,其中該處理器將儲存於該第二外部儲存裝置的該第二檔案與該第三檔案合併成一個檔案。The multimedia recording device of claim 7, wherein the processor merges the second file stored in the second external storage device with the third file into a file. 如申請專利範圍第7項所述的多媒體錄製裝置,更包含一警示單元,該警示單元耦接該處理器,其中該處理器判斷該第一外部儲存裝置的可用儲存空間小於該臨界值,該處理器輸出一警示訊號至該警示單元。The multimedia recording device of claim 7, further comprising a warning unit coupled to the processor, wherein the processor determines that the available storage space of the first external storage device is less than the threshold, The processor outputs a warning signal to the warning unit. 如申請專利範圍第7項所述的多媒體錄製裝置,更包含一警示單元,該警示單元耦接該處理器,其中當該處理器偵測到該第二外部儲存裝置耦接該至少一連接埠時,該處理器判斷該第二外部儲存裝置的可用儲存空間是否大於該第二檔案的所需儲存空間,若該第二外部儲存裝置的可用儲存空間小於該第二檔案的所需儲存空間,則該處理器發出一警示訊號至該警示單元。The multimedia recording device of claim 7, further comprising an alerting unit coupled to the processor, wherein the processor detects that the second external storage device is coupled to the at least one port The processor determines whether the available storage space of the second external storage device is greater than the required storage space of the second file, and if the available storage space of the second external storage device is less than the required storage space of the second file, Then the processor sends a warning signal to the warning unit. 如申請專利範圍第7項所述的多媒體錄製裝置,該第二檔案傳送至該第二外部儲存裝置以後,該處理器刪除該內部記憶體的該第二檔案。The multimedia recording device of claim 7, wherein after the second file is transferred to the second external storage device, the processor deletes the second file of the internal memory.
TW106109657A 2017-03-23 2017-03-23 Multimedia recording method and device thereof TWI618405B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106109657A TWI618405B (en) 2017-03-23 2017-03-23 Multimedia recording method and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106109657A TWI618405B (en) 2017-03-23 2017-03-23 Multimedia recording method and device thereof

Publications (2)

Publication Number Publication Date
TWI618405B true TWI618405B (en) 2018-03-11
TW201836359A TW201836359A (en) 2018-10-01

Family

ID=62189355

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106109657A TWI618405B (en) 2017-03-23 2017-03-23 Multimedia recording method and device thereof

Country Status (1)

Country Link
TW (1) TWI618405B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI247542B (en) * 2004-07-12 2006-01-11 Inventec Multimedia & Telecom Multimedia recording/playback device having retroactive and replay functions
TWI313992B (en) * 2005-07-27 2009-08-21 Mediatek Inc Digital multimedia transfer rate controlling
US20100054706A1 (en) * 2005-08-09 2010-03-04 Mccrossan Joseph Recording medium, playback apparatus, method and program
TWI337042B (en) * 2007-04-09 2011-02-01 Qisda Corp Method and recording system for recording media data
US20130014193A1 (en) * 1999-07-14 2013-01-10 Panasonic Corporation Information provisioning apparatus and information provisioning method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130014193A1 (en) * 1999-07-14 2013-01-10 Panasonic Corporation Information provisioning apparatus and information provisioning method
TWI247542B (en) * 2004-07-12 2006-01-11 Inventec Multimedia & Telecom Multimedia recording/playback device having retroactive and replay functions
TWI313992B (en) * 2005-07-27 2009-08-21 Mediatek Inc Digital multimedia transfer rate controlling
US20100054706A1 (en) * 2005-08-09 2010-03-04 Mccrossan Joseph Recording medium, playback apparatus, method and program
TWI337042B (en) * 2007-04-09 2011-02-01 Qisda Corp Method and recording system for recording media data

Also Published As

Publication number Publication date
TW201836359A (en) 2018-10-01

Similar Documents

Publication Publication Date Title
KR101141268B1 (en) Apparatus and method for enabling digital and analog data communication over a data bus
US10839782B2 (en) External extended device and audio playback method
JP5628429B2 (en) Method and apparatus for monitoring interrupts during a power down event in a processor
JP2009540681A5 (en)
EA200400921A1 (en) PORTABLE DEVICE FOR STORING DATA AND WRITING IMAGES WITH THE POSSIBILITY OF DIRECT CONNECTION WITH THE PORT OF A UNIVERSAL SERIAL COMPUTER TIRE
US11765469B2 (en) Image capturing apparatus, device, control method, and computer-readable storage medium
TWI540908B (en) Multimedia output device and audio output method thereof
TWI618405B (en) Multimedia recording method and device thereof
CN106412550B (en) Camera connecting-type recording device
CN207424958U (en) Automobile data recorder
JP6166053B2 (en) Semiconductor device, communication system, camera shake correction controller, imaging device, electronic equipment
US7873755B2 (en) Semiconductor device, reproduction device, and method for controlling the same
KR20080040574A (en) Apparatus for photographing and file managing method used in the same
CN106575270A (en) Recording medium, adapter, and information processing device
TWI628962B (en) Earphone and audio play system employing the same and method for controlling the audio play system
JP4253206B2 (en) Digital camera
JPH08147952A (en) Recording and reproducing device
CN201230347Y (en) Digital video camera with iris recognition system
JP7548613B1 (en) Processing system, processing method, and program
JP2003248796A (en) Pc card detection device
KR200421134Y1 (en) Portable Multimedia Player having outside camera
KR20080056789A (en) Portable multimedia player having outside camera
JP6782826B1 (en) Image judgment device, image judgment method and image judgment program
US10684978B2 (en) Proximity based removal warning for connectable devices
JP2018084947A (en) Input-output system, input device and input-output system control method