TWI537882B - Method for establishing a film index, vehicle recording device and electronic device - Google Patents

Method for establishing a film index, vehicle recording device and electronic device Download PDF

Info

Publication number
TWI537882B
TWI537882B TW103142008A TW103142008A TWI537882B TW I537882 B TWI537882 B TW I537882B TW 103142008 A TW103142008 A TW 103142008A TW 103142008 A TW103142008 A TW 103142008A TW I537882 B TWI537882 B TW I537882B
Authority
TW
Taiwan
Prior art keywords
point
interest
recording
processing unit
database
Prior art date
Application number
TW103142008A
Other languages
Chinese (zh)
Other versions
TW201621816A (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 TW103142008A priority Critical patent/TWI537882B/en
Application granted granted Critical
Publication of TWI537882B publication Critical patent/TWI537882B/en
Publication of TW201621816A publication Critical patent/TW201621816A/en

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Traffic Control Systems (AREA)

Description

建立影片索引的方法、行車記錄裝置及電子裝 置 Method for establishing video index, driving recorder and electronic equipment Set

本發明是有關於一種建立影片索引的方法,特別是指一種建立行車記錄裝置拍攝之影片的影片索引的方法。 The present invention relates to a method of establishing a video index, and more particularly to a method of establishing a movie index of a movie taken by a driving recorder.

行車記錄器係被安裝於車輛上並用於拍攝車外路況且產生相應的影片。當使用者欲查看車輛經過特定路段(例如A路與B路的交叉路口)時所拍攝的影片,需播放一個或多個影片,並觀察影片內容是否為該特定路段。如此尋找特定影片段落的方式極為不便。 The driving recorder is mounted on the vehicle and used to capture the road outside the vehicle and produce a corresponding movie. When a user wants to view a movie taken when a vehicle passes a specific road segment (such as the intersection of Road A and Road B), one or more movies are played and the content of the movie is observed for the particular road segment. The way to find a particular film passage is extremely inconvenient.

因此,本案發明人遂思及,若能發展出一種影片索引機制,供使用者能快速尋找到特定路段的影片,將能有效改善前述現有技術的缺點。 Therefore, the inventor of the present invention can improve the shortcomings of the prior art described above if a film indexing mechanism can be developed for the user to quickly find a film of a specific road section.

因此,本發明之目的,即在提供一種建立影片索引的方法。 Accordingly, it is an object of the present invention to provide a method of establishing a movie index.

本發明之另一目的,在於提供一種具有影片索 引機制的行車記錄裝置。 Another object of the present invention is to provide a film cable The driving recorder of the guiding mechanism.

本發明之再一目的,在於提供一種具有影片索引機制的電子裝置。 It is still another object of the present invention to provide an electronic device having a movie indexing mechanism.

於是,本發明建立影片索引的方法,由一行車記錄裝置執行。該行車記錄裝置包含一影像擷取單元、一定位單元、一儲存單元,及一電連接於該影像擷取單元、該定位單元與該儲存單元的處理單元。該影像擷取單元能拍攝而產生複數個影片檔。該定位單元能根據一衛星訊號獲得該行車記錄裝置的當前位置並輸出給該處理單元。該儲存單元儲存有一興趣點資料庫,該興趣點資料庫包含複數個興趣點之座標及道路資訊。該方法包含:(A)該處理單元接收定位單元的輸出並讀取該興趣點資料庫;(B)該處理單元判斷該行車記錄裝置的周圍區域是否存在至少其中一興趣點,若是,則執行(C);及(C)該處理單元建立一影片索引並儲存於該儲存單元中,該影片索引包含該興趣點的道路資訊、當前時間、當前拍攝中的影片檔的檔名及當前該影片檔內的拍攝時間。 Thus, the method of the present invention for establishing a movie index is performed by a line of car recorders. The driving recording device comprises an image capturing unit, a positioning unit, a storage unit, and a processing unit electrically connected to the image capturing unit, the positioning unit and the storage unit. The image capturing unit can capture a plurality of video files. The positioning unit can obtain the current position of the driving recording device according to a satellite signal and output it to the processing unit. The storage unit stores a database of points of interest, the point of interest database containing coordinates of a plurality of points of interest and road information. The method includes: (A) the processing unit receives the output of the positioning unit and reads the point of interest database; (B) the processing unit determines whether there is at least one of the points of interest in the surrounding area of the driving record device, and if so, executes (C); and (C) the processing unit creates a video index and stores in the storage unit, the movie index includes road information of the point of interest, the current time, the file name of the currently filming file, and the current movie. The shooting time within the file.

在一些實施態樣中,於(B)中該行車記錄裝置的周圍區域係指該行車記錄裝置周圍一預設距離以內的區域。 In some embodiments, the surrounding area of the driving recorder in (B) refers to an area within a predetermined distance around the driving recorder.

在一些實施態樣中,在(C)中該影片索引相關於該行車記錄裝置的周圍區域中最接近該行車記錄裝置的興趣點。 In some embodiments, the film index in (C) is related to a point of interest in the surrounding area of the driving recorder that is closest to the driving recorder.

本發明行車記錄裝置包含一影像擷取單元、一 定位單元、一儲存單元及一處理單元。該影像擷取單元能拍攝而產生複數個影片檔。該定位單元能根據一衛星訊號獲得該行車記錄裝置的當前位置並輸出。該儲存單元儲存有一興趣點資料庫,該興趣點資料庫包含複數個興趣點之座標及道路資訊。該處理單元電連接於該影像擷取單元、該定位單元與該儲存單元。該處理單元接收定位單元的輸出並讀取興趣點資料庫,並判斷該行車記錄裝置的周圍區域是否存在至少其中一興趣點,若是,則該處理單元建立一影片索引並儲存於該儲存單元中,該影片索引包含該興趣點的道路資訊、當前時間、當前拍攝中的影片檔的檔名及當前該影片檔內的拍攝時間。 The driving recording device of the invention comprises an image capturing unit, a a positioning unit, a storage unit and a processing unit. The image capturing unit can capture a plurality of video files. The positioning unit can obtain the current position of the driving recording device according to a satellite signal and output. The storage unit stores a database of points of interest, the point of interest database containing coordinates of a plurality of points of interest and road information. The processing unit is electrically connected to the image capturing unit, the positioning unit, and the storage unit. The processing unit receives the output of the positioning unit and reads the point of interest database, and determines whether there is at least one of the points of interest in the surrounding area of the driving record device. If yes, the processing unit creates a movie index and stores it in the storage unit. The video index includes the road information of the point of interest, the current time, the file name of the currently filming file, and the current shooting time in the film file.

本發明建立影片索引的方法,由一電子裝置執行,該電子裝置包含一儲存單元及一電連接於該儲存單元的處理單元。該儲存單元儲存有一興趣點資料庫、一影片資料庫及一軌跡資料庫。該興趣點資料庫包含複數個興趣點之位置及道路資訊。該影片資料庫包含複數個影片檔,各該影片檔具有一檔名。該軌跡資料庫記錄至少一軌跡,該軌跡由複數個記錄點構成,該軌跡資料庫記錄各該記錄點的記錄時間、記錄座標、對應之影片檔的檔名及該影片檔內的拍攝時間。該方法包含:(A)該處理單元讀取該軌跡的其中一記錄點及該興趣點資料庫;(B)該處理單元判斷所讀取的記錄點的周圍區域是否存在至少其中一興趣點,若是,則執行(C);及(C)該處理單元建立一影片索引並儲存於該儲存單元中,該影片索引包含該興趣點的道路 資訊、該記錄點的記錄時間、該記錄點對應之影片檔的檔名及該影片檔內的拍攝時間。 The method for establishing a video index of the present invention is performed by an electronic device comprising a storage unit and a processing unit electrically connected to the storage unit. The storage unit stores a point of interest database, a video database and a track database. The point of interest database contains the location and road information of a plurality of points of interest. The video library contains a plurality of video files, each of which has a file name. The trajectory database records at least one trajectory, and the trajectory is composed of a plurality of recording points, and the trajectory database records the recording time of each of the recording points, the recording coordinates, the file name of the corresponding video file, and the shooting time in the video file. The method includes: (A) the processing unit reads one of the record points of the track and the point of interest database; (B) the processing unit determines whether there is at least one of the points of interest in the surrounding area of the read record point, If yes, execute (C); and (C) the processing unit creates a video index and stores in the storage unit, the video index includes the path of the point of interest The information, the recording time of the recording point, the file name of the video file corresponding to the recording point, and the shooting time in the video file.

在一些實施態樣中,(B)中該記錄點的周圍區域係指該記錄點周圍一預設距離以內的區域。 In some embodiments, the surrounding area of the recording point in (B) refers to an area within a predetermined distance around the recording point.

在一些實施態樣中,在(C)中該影片索引相關於該記錄點的周圍區域中最接近該行車記錄裝置的興趣點。 In some implementations, in (C) the film index is related to a point of interest in the surrounding area of the recorded point that is closest to the driving recorder.

在一些實施態樣中,若(B)中判斷未存在一興趣點時,或執行完(C)之後,則執行(D)該處理單元判斷是否所有記錄點都已讀取完畢,如未讀取完畢,則執行(E)該處理單元讀取下一個記錄點,接著,執行(B)。 In some implementations, if it is determined in (B) that there is no point of interest, or after (C) is executed, then (D) the processing unit is executed to determine whether all the recorded points have been read, such as unread. After the completion is completed, (E) the processing unit reads the next recording point, and then executes (B).

本發明電子裝置包含一儲存單元及一處理單元。該儲存單元儲存有一興趣點資料庫、一影片資料庫及一軌跡資料庫。該興趣點資料庫包含複數個興趣點之位置及道路資訊。該影片資料庫包含複數個影片檔,各該影片檔具有一檔名。該軌跡資料庫記錄至少一軌跡,該軌跡由複數個記錄點構成,該軌跡資料庫記錄各該記錄點的記錄時間、記錄座標、對應之影片檔的檔名及該影片檔內的拍攝時間。該處理單元電連接於該儲存單元。該處理單元讀取該軌跡的其中一記錄點及該興趣點資料庫,並判斷所讀取的記錄點的周圍區域是否存在至少其中一興趣點,若是,則建立一影片索引並儲存於該儲存單元中,該影片索引包含該興趣點的道路資訊、該記錄點的記錄時間、該記錄點對應之影片檔的檔名及該影片檔內的拍攝時間。 The electronic device of the present invention comprises a storage unit and a processing unit. The storage unit stores a point of interest database, a video database and a track database. The point of interest database contains the location and road information of a plurality of points of interest. The video library contains a plurality of video files, each of which has a file name. The trajectory database records at least one trajectory, and the trajectory is composed of a plurality of recording points, and the trajectory database records the recording time of each of the recording points, the recording coordinates, the file name of the corresponding video file, and the shooting time in the video file. The processing unit is electrically connected to the storage unit. The processing unit reads one of the record points of the track and the interest point database, and determines whether at least one of the points of interest exists in the surrounding area of the read record point, and if so, creates a movie index and stores the file in the storage In the unit, the video index includes road information of the point of interest, a recording time of the record point, a file name of the video file corresponding to the record point, and a shooting time in the video file.

本發明之功效在於藉由以興趣點建立影片索引,使得使用者能透過興趣點之道路資訊快速尋找到對應之影片檔的段落,從而增加使用的便利性。 The effect of the invention is that by establishing a video index with a point of interest, the user can quickly find the paragraph of the corresponding video file through the road information of the point of interest, thereby increasing the convenience of use.

1‧‧‧影像擷取單元 1‧‧‧Image capture unit

2‧‧‧定位單元 2‧‧‧ Positioning unit

3‧‧‧儲存單元 3‧‧‧ storage unit

31‧‧‧興趣點資料庫 31‧‧‧Points of Interest Database

32‧‧‧影片資料庫 32‧‧‧Video Database

33‧‧‧影片索引資料庫 33‧‧‧Video Index Database

34‧‧‧軌跡資料庫 34‧‧‧Track database

4‧‧‧處理單元 4‧‧‧Processing unit

S01~S05‧‧‧流程步驟 S01~S05‧‧‧ Process steps

S11~S17‧‧‧流程步驟 S11~S17‧‧‧ Process steps

51~57‧‧‧介面 51~57‧‧‧ interface

本發明之其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中:圖1是本發明建立影片索引的方法之第一實施例的一硬體連接關係示意圖;圖2是該第一實施例的一流程圖;圖3~圖9是該第一實施例的複數個介面的一示意圖;圖10是本發明建立影片索引的方法之第二實施例的一硬體連接關係示意圖;及圖11是該第二實施例的一流程圖。 Other features and effects of the present invention will be apparent from the following description of the drawings. FIG. 1 is a schematic diagram of a hardware connection relationship of the first embodiment of the method for establishing a movie index of the present invention; A flowchart of the first embodiment; FIG. 3 to FIG. 9 are schematic diagrams of a plurality of interfaces of the first embodiment; FIG. 10 is a hardware connection relationship of the second embodiment of the method for establishing a movie index according to the present invention; FIG. 11 is a flow chart of the second embodiment.

在本發明被詳細描述之前,應當注意在以下的說明內容中,類似的元件是以相同的編號來表示。 Before the present invention is described in detail, it should be noted that in the following description, similar elements are denoted by the same reference numerals.

參閱圖1與圖2,本發明建立影片索引的方法之第一實施例由一行車記錄裝置執行。行車記錄裝置包含一影像擷取單元1、一定位單元2、一儲存單元3,及一電連接於影像擷取單元1、定位單元2與儲存單元3的處理單元4。影像擷取單元1能拍攝而產生複數個影片檔,且該等影片檔的檔名彼此不同。定位單元2能根據一衛星訊號獲得該行車記錄裝置的當前位置並輸出給處理單元4。儲 存單元3儲存有一興趣點資料庫31,興趣點資料庫31包含複數個興趣點之座標及道路資訊。在本實施例中,定位單元2之輸出及興趣點的座標是以GPS座標表示,道路資訊為交叉路口資訊(例如南港路一段、惠民街路口)或道路里程資訊(例如國道一號南下35k),當然,道路資訊還可以包含其他行政區域資訊。 Referring to Figures 1 and 2, a first embodiment of the method of establishing a movie index of the present invention is performed by a line of vehicle recording devices. The driving record device comprises an image capturing unit 1, a positioning unit 2, a storage unit 3, and a processing unit 4 electrically connected to the image capturing unit 1, the positioning unit 2 and the storage unit 3. The image capturing unit 1 can capture a plurality of film files, and the file names of the film files are different from each other. The positioning unit 2 can obtain the current position of the driving recording device based on a satellite signal and output it to the processing unit 4. Storage The storage unit 3 stores a point of interest database 31, and the point of interest database 31 includes coordinates of a plurality of points of interest and road information. In this embodiment, the coordinates of the output of the positioning unit 2 and the coordinates of the points of interest are represented by GPS coordinates, and the road information is intersection information (for example, a section of Nangang Road and the intersection of Huimin Street) or road mileage information (for example, National Highway No. 1 south 35k) ), of course, road information can also contain other administrative area information.

本發明建立影片索引的方法之第一實施例的流程步驟說明如下。首先,如步驟S01所示,處理單元4接收定位單元2的輸出並讀取興趣點資料庫31,也就是處理單元4取得該行車記錄裝置的當前位置及興趣點的位置。 The flow steps of the first embodiment of the method for establishing a movie index of the present invention are explained below. First, as shown in step S01, the processing unit 4 receives the output of the positioning unit 2 and reads the point of interest database 31, that is, the processing unit 4 obtains the current position of the driving record device and the position of the point of interest.

接著,如步驟S02所示,處理單元4判斷該行車記錄裝置的周圍區域是否存在至少其中一興趣點,若否,則執行步驟S01,若是,則執行步驟S03。在本實施例中,該行車記錄裝置的周圍區域係指該行車記錄裝置周圍一預設距離(例如20公尺)以內的區域。 Next, as shown in step S02, the processing unit 4 determines whether there is at least one of the points of interest in the surrounding area of the driving record device. If not, step S01 is performed, and if yes, step S03 is performed. In the present embodiment, the surrounding area of the driving recording device refers to an area within a predetermined distance (for example, 20 meters) around the driving recording device.

步驟S03係處理單元4判斷是否建立過任何影片索引,若是,則執行步驟S04,若否,則執行步驟S05。S04係處理單元4判斷前一次建立之影片索引所相關於之興趣點與行車記錄裝置的周圍區域內最接近行車記錄裝置的興趣點是否相同,若否,則執行步驟S05,若是,則執行步驟S01。 Step S03 is that the processing unit 4 determines whether any movie index has been established, and if so, proceeds to step S04, and if not, proceeds to step S05. The S04 processing unit 4 determines whether the point of interest associated with the previously established movie index is the same as the point of interest of the nearest driving record device in the surrounding area of the driving record device. If not, step S05 is performed, and if yes, the steps are executed. S01.

步驟S05係處理單元4建立一影片索引並儲存於儲存單元3中。該影片索引包含該行車記錄裝置的周圍區域中最接近該行車記錄裝置的興趣點的道路資訊、當前 時間、當前拍攝中的影片檔的檔名及當前該影片檔內的拍攝時間(例如第2分15秒)。當前時間是指當前的日期及時刻(例如2014/6/2 18:32:02)。 In step S05, the processing unit 4 creates a movie index and stores it in the storage unit 3. The film index includes road information closest to the driving record device in the surrounding area of the driving recording device, current The time, the file name of the current movie file, and the current shooting time in the movie file (for example, 2 minutes and 15 seconds). The current time is the current date and time (eg 2014/6/2 18:32:02).

藉由前述的方法,行車記錄裝置每次經過一個興趣點,處理單元4就會於儲存單元3建立一筆影片索引。於儲存單元3所建立的複數個影片索引能形成一影片索引資料庫33。補充說明的是,步驟S03及步驟S04是用於避免行車記錄裝置在經過一個興趣點的期間多次建立相關於該興趣點的影片索引。 By the foregoing method, the processing unit 4 establishes a movie index in the storage unit 3 each time the driving record device passes a point of interest. The plurality of movie indexes created by the storage unit 3 can form a movie index database 33. It is to be noted that step S03 and step S04 are for preventing the driving record device from establishing a movie index related to the point of interest multiple times while passing through a point of interest.

圖3至圖9繪示該行車記錄裝置顯示的複數個介面51~57,該等介面51~57可供使用者便於檢視影片索引資料庫33。該等介面51~57提供三種方式供使用者查找。第一種方式請參閱圖3及圖4,圖3及圖4所示的介面51、52顯示複數個選項,選項上的提示文字指示對應之影片索引的道路資訊。介面52的選項與介面51的「國道一號」選項有階層關係。若使用者選擇介面51中的「國道一號」選項會進入介面52,介面52顯示對應國道一號不同里程的選項。使用者若點選介面51中的交叉路口選項或介面52中的里程選項即可觀看該選項對應之影片索引記載之影片檔,且由該影片索引記載之拍攝時間開始播放。在圖3及圖4所顯示介面51、52中,各選項對應的影片索引是按各影片索引被建立時的「當前時間」排序,供使用者依時間順序查找。 3 to 9 illustrate a plurality of interfaces 51-57 displayed by the driving recorder, and the interfaces 51-57 are convenient for the user to view the video index database 33. The interfaces 51-57 provide three ways for the user to find. Referring to FIG. 3 and FIG. 4 in the first manner, the interfaces 51 and 52 shown in FIG. 3 and FIG. 4 display a plurality of options, and the prompt text on the option indicates the road information of the corresponding movie index. The option of interface 52 has a hierarchical relationship with the "National Highway No. 1" option of interface 51. If the user selects the "National Highway No. 1" option in the interface 51 to enter the interface 52, the interface 52 displays an option corresponding to the different mileage of the National Highway No. 1. If the user selects the intersection option in the interface 51 or the mileage option in the interface 52, the video file recorded in the video index corresponding to the option can be viewed, and the recording time recorded by the video index starts to be played. In the interfaces 51 and 52 shown in FIG. 3 and FIG. 4, the movie index corresponding to each option is sorted by the “current time” when each movie index is created, and is used for the user to search in time order.

第二種方式請參閱圖5~圖7,圖5繪示之介面 53可供使用者選擇日期(例如使用者可選擇2014年五月29日),圖6繪示之介面54可供使用者選擇該日中的時間區段(例如使用者可選擇18:30:00~19:00:00),圖7繪示之介面55顯示複數個類似介面51、52中的選項。該等選項對應之影片索引所記載的被建立時的「當前時間」落在介面54所選擇的時間區段內。介面54之選項被使用者選擇後,使用者即可觀看該選項對應之影片索引記載之影片檔,且由該影片索引記載之拍攝時間開始播放。 The second way is shown in Figure 5 ~ Figure 7, the interface shown in Figure 5. 53 is available for the user to select the date (for example, the user can select May 29, 2014), and the interface 54 shown in FIG. 6 is for the user to select the time segment of the day (for example, the user can select 18:30: 00~19:00:00), interface 55 shown in FIG. 7 shows options in a plurality of similar interfaces 51, 52. The "current time" at the time of creation of the movie index corresponding to the options falls within the time zone selected by the interface 54. After the option of the interface 54 is selected by the user, the user can view the video file recorded in the video index corresponding to the option, and the playback time recorded by the video index begins to play.

第三種方式請參閱圖8及圖9,使用者可進行影片索引之道路資訊的搜索,於使用者輸入關鍵字(例如輸入「南港路」)後,則介面56、57會顯示道路資訊與關鍵字相關之影片索引對應之選項。介面57顯示之選項與介面56之「南港路一段、惠民街路口」選項有階層關係。若使用者選擇介面56中的「南港路一段、惠民街路口」選項會進入介面57,介面57顯示道路資訊為「南港路一段、惠民街路口」之影片索引對應之選項,且選項上的文字指示對應之影片索引所記載之被建立時的「當前時間」。介面57之選項被使用者選擇後,使用者即可觀看該選項對應之影片索引記載之影片檔,且由該影片索引記載之拍攝時間開始播放。 The third way, please refer to Figure 8 and Figure 9. The user can search for the road information of the video index. After the user inputs the keyword (for example, enter "Nangang Road"), the interface 56, 57 will display the road information and The option for the keyword index associated with the keyword. The option displayed by interface 57 has a hierarchical relationship with the option of "section of Nangang Road and intersection of Huimin Street" of interface 56. If the user selects the "Nangang Road Section, Huimin Street Intersection" option in the interface 56, the interface 57 will be displayed. The interface 57 displays the road information corresponding to the video index of "Nangang Road Section, Huimin Street intersection", and the option is The text indicates the "current time" when the corresponding movie index is created. After the option of the interface 57 is selected by the user, the user can view the video file recorded in the video index corresponding to the option, and the playback time recorded by the video index begins to play.

參閱圖10及圖11,本發明建立影片索引的方法之第二實施例,由一電子裝置執行。該電子裝置包含一儲存單元3及一電連接於儲存單元3的處理單元4。電子裝置可以是行車記錄裝置、電腦,或任何具有計算及儲存功 能的電子裝置。儲存單元3儲存有一興趣點資料庫31、一影片資料庫32及一軌跡資料庫34。興趣點資料庫31包含複數個興趣點之位置及道路資訊。影片資料庫32包含複數個影片檔,各該影片檔具有一檔名。軌跡資料庫34記錄至少一軌跡,該軌跡由複數個記錄點構成,軌跡資料庫34記錄各該記錄點的記錄時間、記錄座標、對應之影片檔的檔名及該影片檔內的拍攝時間。更明確的說,影片資料庫32及軌跡資料庫34是由具有定位功能的行車記錄裝置產生,也就是說,該行車記錄裝置同時執行影片拍攝及軌跡記錄,而產生影片資料庫32及軌跡資料庫34。 Referring to Figures 10 and 11, a second embodiment of the method of creating a video index of the present invention is performed by an electronic device. The electronic device comprises a storage unit 3 and a processing unit 4 electrically connected to the storage unit 3. The electronic device can be a driving recorder, a computer, or any computing and storage function Able electronic device. The storage unit 3 stores a point of interest database 31, a video database 32, and a track database 34. The point of interest database 31 contains the location and road information of a plurality of points of interest. The movie library 32 contains a plurality of video files, each of which has a file name. The trajectory database 34 records at least one trajectory composed of a plurality of recording points. The trajectory database 34 records the recording time of each of the recording points, the recording coordinates, the file name of the corresponding video file, and the shooting time in the video file. More specifically, the video database 32 and the trajectory database 34 are generated by a driving recording device having a positioning function, that is, the driving recording device simultaneously performs film shooting and trajectory recording, and generates a movie database 32 and trajectory data. Library 34.

本發明建立影片索引的方法之第二實施例的流程步驟說明如下。首先,如步驟S11所示,處理單元4讀取該軌跡的第一個記錄點及興趣點資料庫31。接著,如步驟S12所示,處理單元4判斷所讀取的記錄點的周圍區域是否存在至少其中一興趣點,若否,則執行步驟S16,若是,則執行步驟S13。在本實施例中,該記錄點的周圍區域係指該記錄點周圍一預設距離(例如20公尺)以內的區域。 The flow steps of the second embodiment of the method for establishing a movie index of the present invention are explained below. First, as shown in step S11, the processing unit 4 reads the first recording point of the trajectory and the point of interest database 31. Next, as shown in step S12, the processing unit 4 determines whether there is at least one of the points of interest in the surrounding area of the read record point. If not, step S16 is performed, and if yes, step S13 is performed. In the present embodiment, the surrounding area of the recording point refers to an area within a predetermined distance (for example, 20 meters) around the recording point.

步驟S16係處理單元4判斷是否所有記錄點都已讀取完畢,若是,則流程結束,若否,則執行步驟S17。步驟S17係處理單元4讀取下一個記錄點。執行完步驟S17後則接著執行步驟S12。 In step S16, the processing unit 4 determines whether all the recording points have been read, and if so, the flow ends, and if not, the process proceeds to step S17. Step S17 is that the processing unit 4 reads the next recording point. After step S17 is performed, step S12 is performed next.

在步驟S13中,處理單元4判斷是否建立過任何影片索引,若否,則執行步驟S15,若是,則執行步驟 S14。在步驟S14中,處理單元4判斷前一次建立之影片索引所相關於之興趣點與記錄點的周圍區域內最接近記錄點的興趣點是否相同,若是,則執行步驟S16,若否,則執行步驟S15。 In step S13, the processing unit 4 determines whether any movie index has been established, and if not, proceeds to step S15, and if so, performs steps S14. In step S14, the processing unit 4 determines whether the point of interest associated with the previously established movie index is the same as the point of interest closest to the recorded point in the surrounding area of the recorded point, and if so, proceeds to step S16, and if not, executes Step S15.

步驟S15係處理單元4建立一影片索引並儲存於儲存單元3中。該影片索引包含該記錄點的周圍區域中最接近該記錄點的興趣點的道路資訊、該記錄點的記錄時間、該記錄點對應之影片檔的檔名及該影片檔內的拍攝時間。 In step S15, the processing unit 4 creates a movie index and stores it in the storage unit 3. The movie index includes road information of a point of interest closest to the recording point in the surrounding area of the recording point, a recording time of the recording point, a file name of the video file corresponding to the recording point, and a shooting time in the video file.

藉由前述的方法,該軌跡每次經過一個興趣點,處理單元4就會於儲存單元3建立一筆影片索引。於儲存單元3所建立的複數個影片索引能形成一影片索引資料庫33。補充說明的是,步驟S13及步驟S14是用於避免軌跡在經過一個興趣點時多次建立相關於該興趣點的影片索引。 By the foregoing method, each time the track passes through a point of interest, the processing unit 4 creates a movie index in the storage unit 3. The plurality of movie indexes created by the storage unit 3 can form a movie index database 33. It is added that step S13 and step S14 are used to prevent the track from establishing a movie index related to the point of interest multiple times when passing through a point of interest.

該第二實施例提供使用者查找影片索引的介面與第一實施例相似(如圖3~圖9所示)。使用者能透過興趣點的道路資訊及記錄點的記錄時間查找影片索引,電子裝置根據被選擇的選項對應之影片索引播放對應的影片檔,並由影片索引記載的拍攝時間開始播放。 The second embodiment provides a user interface for finding a video index similar to the first embodiment (as shown in FIGS. 3-9). The user can search for the video index through the road information of the point of interest and the recording time of the recording point, and the electronic device plays the corresponding video file according to the movie index corresponding to the selected option, and starts playing by the shooting time recorded in the movie index.

補充說明的是,第一實施例之方法是在影片拍攝時「即時」建立影片索引,第二實施例之方法是在影片拍攝時記錄下建立影片索引所需之相關資訊,藉此,執行影片索引的建立可在影片拍攝完成之後。但無論是第一實 施例或第二實施例,所建立的影片索引資料庫33皆能夠讓使用者快速查找影片。 It is added that the method of the first embodiment is to establish a video index "on the fly" when the film is taken. The second embodiment is to record the relevant information needed to establish a video index during the film shooting, thereby executing the video. The index is created after the filming is completed. But whether it is the first one In the embodiment or the second embodiment, the created movie index database 33 enables the user to quickly find the movie.

綜上所述,本發明建立影片索引的方法藉由以興趣點建立影片索引,使得使用者能透過興趣點之道路資訊快速尋找到對應之影片檔的段落,從而增加使用的便利性,故確實能達成本發明之目的。 In summary, the method for establishing a video index of the present invention establishes a video index by using a point of interest, so that the user can quickly find the paragraph of the corresponding video file through the road information of the point of interest, thereby increasing the convenience of use, so The object of the invention can be achieved.

惟以上所述者,僅為本發明之實施例而已,當不能以此限定本發明實施之範圍,即大凡依本發明申請專利範圍及專利說明書內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。 However, the above is only the embodiment of the present invention, and the scope of the present invention is not limited thereto, that is, the simple equivalent changes and modifications made by the patent application scope and the patent specification of the present invention are still It is within the scope of the patent of the present invention.

S01~S05‧‧‧流程步驟 S01~S05‧‧‧ Process steps

Claims (10)

一種建立影片索引的方法,由一行車記錄裝置執行,該行車記錄裝置包含一影像擷取單元、一定位單元、一儲存單元,及一電連接於該影像擷取單元、該定位單元與該儲存單元的處理單元,該影像擷取單元能拍攝而產生複數個影片檔,該定位單元能根據一衛星訊號獲得該行車記錄裝置的當前位置並輸出給該處理單元,該儲存單元儲存有一興趣點資料庫,該興趣點資料庫包含複數個興趣點之座標及道路資訊,該方法包含:(A)該處理單元接收定位單元的輸出並讀取該興趣點資料庫;(B)該處理單元判斷該行車記錄裝置的周圍區域是否存在至少其中一興趣點,若是,則執行(C);及(C)該處理單元建立一影片索引並儲存於該儲存單元中,該影片索引包含該興趣點的道路資訊、當前時間、當前拍攝中的影片檔的檔名及當前該影片檔內的拍攝時間。 A method for establishing a video index is performed by a line of vehicle recording devices. The driving device includes an image capturing unit, a positioning unit, a storage unit, and an electrical connection to the image capturing unit, the positioning unit, and the storage unit. a processing unit of the unit, the image capturing unit can capture a plurality of video files, and the positioning unit can obtain the current position of the driving recording device according to a satellite signal and output the data to the processing unit, where the storage unit stores a point of interest data. a library, the point of interest database includes a plurality of coordinates of the points of interest and road information, the method comprising: (A) the processing unit receives the output of the positioning unit and reads the point of interest database; (B) the processing unit determines the Whether there is at least one of the points of interest in the surrounding area of the driving record device, and if so, executing (C); and (C) the processing unit creates a movie index and stores in the storage unit, the film index includes the road of the point of interest Information, current time, file name of the current movie file and the current shooting time in the video file. 如請求項1所述的建立影片索引的方法,其中,於(B)中該行車記錄裝置的周圍區域係指該行車記錄裝置周圍一預設距離以內的區域。 The method for establishing a movie index as claimed in claim 1, wherein the surrounding area of the driving recording device in (B) refers to an area within a predetermined distance around the driving recording device. 如請求項1所述的建立影片索引的方法,其中,在(C)中該影片索引相關於該行車記錄裝置的周圍區域中最接近該行車記錄裝置的興趣點。 A method of establishing a movie index as claimed in claim 1, wherein in (C) the movie index is related to a point of interest in the surrounding area of the driving recording device that is closest to the driving recording device. 一種行車記錄裝置,包含:一影像擷取單元,能拍攝而產生複數個影片檔;一定位單元,能根據一衛星訊號獲得該行車記錄裝置的當前位置並輸出;一儲存單元,儲存有一興趣點資料庫,該興趣點資料庫包含複數個興趣點之座標及道路資訊;及一處理單元,電連接於該影像擷取單元、該定位單元與該儲存單元,該處理單元接收定位單元的輸出並讀取興趣點資料庫,並判斷該行車記錄裝置的周圍區域是否存在至少其中一興趣點,若是,則該處理單元建立一影片索引並儲存於該儲存單元中,該影片索引包含該興趣點的道路資訊、當前時間、當前拍攝中的影片檔的檔名及當前該影片檔內的拍攝時間。 A driving recording device comprises: an image capturing unit capable of shooting to generate a plurality of film files; a positioning unit capable of obtaining a current position of the driving recording device according to a satellite signal and outputting; a storage unit storing a point of interest a database, the point of interest database includes a plurality of coordinates of the points of interest and road information; and a processing unit electrically connected to the image capturing unit, the positioning unit and the storage unit, the processing unit receiving the output of the positioning unit Reading a point of interest database, and determining whether there is at least one of the points of interest in the surrounding area of the driving record device, and if so, the processing unit creates a movie index and stores in the storage unit, the movie index includes the point of interest Road information, current time, the file name of the current movie file and the current shooting time in the video file. 一種建立影片索引的方法,由一電子裝置執行,該電子裝置包含一儲存單元及一電連接於該儲存單元的處理單元,該儲存單元儲存有一興趣點資料庫、一影片資料庫及一軌跡資料庫,該興趣點資料庫包含複數個興趣點之位置及道路資訊,該影片資料庫包含複數個影片檔,各該影片檔具有一檔名,該軌跡資料庫記錄至少一軌跡,該軌跡由複數個記錄點構成,該軌跡資料庫記錄各該記錄點的記錄時間、記錄座標、對應之影片檔的檔名及該影片檔內的拍攝時間,該方法包含:(A)該處理單元讀取該軌跡的其中一記錄點及該 興趣點資料庫;(B)該處理單元判斷所讀取的記錄點的周圍區域是否存在至少其中一興趣點,若是,則執行(C);及(C)該處理單元建立一影片索引並儲存於該儲存單元中,該影片索引包含該興趣點的道路資訊、該記錄點的記錄時間、該記錄點對應之影片檔的檔名及該影片檔內的拍攝時間。 A method for establishing a video index is performed by an electronic device. The electronic device includes a storage unit and a processing unit electrically connected to the storage unit. The storage unit stores a database of points of interest, a video database, and a track data. a library, the point of interest database includes location and road information of a plurality of points of interest, the film database includes a plurality of video files, each of the film files has a file name, and the track database records at least one track, the track is composed of a plurality of tracks a recording point record, the trajectory database records the recording time of each recording point, the recording coordinates, the file name of the corresponding video file, and the shooting time in the film file, and the method includes: (A) the processing unit reads the One of the recorded points of the track and the a point of interest database; (B) the processing unit determines whether at least one of the points of interest exists in the surrounding area of the recorded record point, and if so, executes (C); and (C) the processing unit creates a movie index and stores In the storage unit, the video index includes road information of the point of interest, a recording time of the recording point, a file name of the video file corresponding to the recording point, and a shooting time in the video file. 如請求項5所述的建立影片索引的方法,其中,於(B)中該記錄點的周圍區域係指該記錄點周圍一預設距離以內的區域。 The method for establishing a movie index according to claim 5, wherein the surrounding area of the recording point in (B) refers to an area within a predetermined distance around the recording point. 如請求項5所述的建立影片索引的方法,其中,在(C)中該影片索引相關於該記錄點的周圍區域中最接近該行車記錄裝置的興趣點。 A method of creating a movie index as claimed in claim 5, wherein in (C) the movie index is related to a point of interest in the surrounding area of the recording point that is closest to the driving recording device. 如請求項5所述的建立影片索引的方法,其中,若(B)中判斷未存在一興趣點時,則執行(D)該處理單元判斷是否所有記錄點都已讀取完畢,如未讀取完畢,則執行(E)該處理單元讀取下一個記錄點,接著,執行(B)。 The method for establishing a movie index according to claim 5, wherein if it is determined in (B) that a point of interest does not exist, then (D) the processing unit is executed to determine whether all the recorded points have been read, such as unread. After the completion is completed, (E) the processing unit reads the next recording point, and then executes (B). 如請求項5所述的建立影片索引的方法,其中,執行完(C)之後,則執行(D)該處理單元判斷是否所有記錄點都已讀取完畢,如未讀取完畢,則執行(E)該處理單元讀取下一個記錄點,接著,執行(B)。 The method for establishing a movie index according to claim 5, wherein, after executing (C), executing (D) the processing unit determines whether all the recording points have been read, and if not, the execution is performed ( E) The processing unit reads the next recording point, and then executes (B). 一種電子裝置,包含:一儲存單元,儲存有一興趣點資料庫、一影片資 料庫及一軌跡資料庫,該興趣點資料庫包含複數個興趣點之位置及道路資訊,該影片資料庫包含複數個影片檔,各該影片檔具有一檔名,該軌跡資料庫記錄至少一軌跡,該軌跡由複數個記錄點構成,該軌跡資料庫記錄各該記錄點的記錄時間、記錄座標、對應之影片檔的檔名及該影片檔內的拍攝時間;及一處理單元,電連接於該儲存單元,該處理單元讀取該軌跡的其中一記錄點及該興趣點資料庫,並判斷所讀取的記錄點的周圍區域是否存在至少其中一興趣點,若是,則建立一影片索引並儲存於該儲存單元中,該影片索引包含該興趣點的道路資訊、該記錄點的記錄時間、該記錄點對應之影片檔的檔名及該影片檔內的拍攝時間。 An electronic device comprising: a storage unit, storing a database of points of interest, and a video asset a library and a track database, the point of interest database includes a plurality of locations of interest points and road information, the film database includes a plurality of video files, each of the film files has a file name, and the track database records at least one a track consisting of a plurality of recording points, wherein the track database records the recording time of each of the recorded points, the recorded coordinates, the file name of the corresponding film file, and the shooting time in the film file; and a processing unit, electrical connection In the storage unit, the processing unit reads one of the record points of the track and the interest point database, and determines whether at least one of the points of interest exists in the surrounding area of the read record point, and if so, creates a movie index And stored in the storage unit, the video index includes road information of the point of interest, a recording time of the recording point, a file name of the video file corresponding to the recording point, and a shooting time in the video file.
TW103142008A 2014-12-03 2014-12-03 Method for establishing a film index, vehicle recording device and electronic device TWI537882B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103142008A TWI537882B (en) 2014-12-03 2014-12-03 Method for establishing a film index, vehicle recording device and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103142008A TWI537882B (en) 2014-12-03 2014-12-03 Method for establishing a film index, vehicle recording device and electronic device

Publications (2)

Publication Number Publication Date
TWI537882B true TWI537882B (en) 2016-06-11
TW201621816A TW201621816A (en) 2016-06-16

Family

ID=56755539

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103142008A TWI537882B (en) 2014-12-03 2014-12-03 Method for establishing a film index, vehicle recording device and electronic device

Country Status (1)

Country Link
TW (1) TWI537882B (en)

Also Published As

Publication number Publication date
TW201621816A (en) 2016-06-16

Similar Documents

Publication Publication Date Title
US8966372B2 (en) Systems and methods for performing geotagging during video playback
JP4774461B2 (en) Video annotation framework
US11080908B2 (en) Synchronized display of street view map and video stream
CN110324718B (en) Audio and video generation method and device, electronic equipment and readable medium
US9781555B2 (en) Digital landmarks
US20100209069A1 (en) System and Method for Pre-Engineering Video Clips
WO2020259130A1 (en) Selected clip processing method and device, electronic equipment and readable medium
US20100316349A1 (en) Content reproduction apparatus, content provision apparatus, and content distribution system
US11837250B2 (en) Audio playout report for ride-sharing session
WO2023088006A1 (en) Cloud game interaction method and apparatus, readable medium, and electronic device
US20120027380A1 (en) Automatically bookmarking digital content
US9373360B2 (en) Instantaneous preview of data associated with a video
Roche et al. Pro iOS 5 augmented reality
CN110381356B (en) Audio and video generation method and device, electronic equipment and readable medium
TWI537882B (en) Method for establishing a film index, vehicle recording device and electronic device
KR20090035989A (en) Contents acquisition system and method of operating the system
US20120284267A1 (en) Item Randomization with Item Relational Dependencies
Noronha et al. Sharing and navigating 360 videos and maps in sight surfers
KR102066750B1 (en) Terminal apparatus and method for controlling record file
KR20210114536A (en) Video data production method and apparatus, electronic device, computer readable medium
US20150032744A1 (en) Generation of personalized playlists for reproducing contents
TWI497959B (en) Scene extraction and playback system, method and its recording media
CN115309317B (en) Media content acquisition method, apparatus, device, readable storage medium and product
CN108459804B (en) Method and device for playing vehicle-mounted rearview mirror
KR20080041835A (en) Multimedia data recorder

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees