TWI559772B - File searching method and image processing device thereof - Google Patents

File searching method and image processing device thereof Download PDF

Info

Publication number
TWI559772B
TWI559772B TW103134311A TW103134311A TWI559772B TW I559772 B TWI559772 B TW I559772B TW 103134311 A TW103134311 A TW 103134311A TW 103134311 A TW103134311 A TW 103134311A TW I559772 B TWI559772 B TW I559772B
Authority
TW
Taiwan
Prior art keywords
search
image
segment
file
segments
Prior art date
Application number
TW103134311A
Other languages
Chinese (zh)
Other versions
TW201603582A (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 US14/555,720 priority Critical patent/US10152491B2/en
Publication of TW201603582A publication Critical patent/TW201603582A/en
Application granted granted Critical
Publication of TWI559772B publication Critical patent/TWI559772B/en

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Processing Or Creating Images (AREA)

Description

檔案搜尋方法及其影像處理裝置 File search method and image processing device thereof

本發明係指一種檔案搜尋方法及其影像處理裝置,尤指一種可根據所欲搜尋條件對原始影像分段之鍵值進行搜尋,以快速得到所欲符合搜尋條件之搜尋影像分段的檔案搜尋方法及其影像處理裝置。 The present invention relates to a file search method and an image processing device thereof, and more particularly to a file search method for quickly searching for a search image segment that matches the search condition according to the search condition. Its image processing device.

一般傳統具循環錄影能力之監視裝置(如:行車紀錄器)為了長時間錄影,且為了防止突然斷電、當機造成影像檔案損毀,通常會採用每隔一段時間(如:2~5分鐘)就儲存成一個影像檔案在監視裝置內的儲存單元(如:記憶卡),若真的遇到不可抗拒的因素導致正在錄製的影像檔案損毀時,也只會損失一小段時間的影像資料。另外,當儲存單元無可用空間時,監視裝置會自動搜尋錄製時間最早的影像檔案,將其刪除後,騰出空間以儲存新的影像檔案,換句話說,每一個影像檔案都僅有一段保留時間。 In general, surveillance devices with cyclic recording capabilities (such as driving recorders) are usually used at regular intervals (eg, 2 to 5 minutes) in order to prevent long-term video recording and to prevent image loss caused by sudden power failure or crash. A storage unit (such as a memory card) stored in an image file in the monitoring device will lose only a short period of time if the image file being recorded is damaged due to irresistible factors. In addition, when there is no space available in the storage unit, the monitoring device will automatically search for the image file with the earliest recording time, delete it, and make room to store the new image file. In other words, each image file has only one reservation. time.

現今的監視裝置,除了錄影外,還可利用其他的感測單元獲取額外的資訊,例如:GPS資訊、路段名稱、車速、方向、時間等,在錄製的同時,這些額外獲取到的資訊也可以合併於畫面中一併儲存於影像檔案中。 Today's surveillance devices, in addition to video, can use other sensing units to obtain additional information, such as: GPS information, link name, speed, direction, time, etc., while recording, these additional information can also be obtained. The images are merged in the image and stored in the image file.

一般來說,使用者可由監視裝置內的儲存單元中讀出多個影像檔案。當使用者欲從多個影像檔案中找尋特定時間或特定路段的畫面時,由於影像檔案係以一段時間為單位,使用者必須在多個影像檔案中先以檢視的方 式找到於接近特定時間錄製的影像檔案,再檢視該影像檔案以尋找到特定畫面,或者是必須在多個影像檔案中先以檢視的方式找到於特定路段錄製的影像檔案,當同時有好幾個影像檔案都是在同一路段上錄製時,使用者就必須逐一檢視這像案,以尋找到特定畫面。無論是找尋特定時間或是找尋特定路段的畫面,在搜尋時均必須靠人工檢視的方式,當儲存單元中的影像檔案數量龐大時,需耗費較大的時間成本。 Generally, a user can read a plurality of image files from a storage unit in the monitoring device. When the user wants to find a specific time or a specific road segment from multiple image files, since the image file is in units of time, the user must first view the image in multiple image files. Find the image file that was recorded near the specific time, and then view the image file to find a specific image, or you must first find the image file recorded on a specific road section in multiple image files, when there are several When the image files are recorded on the same road segment, the user must view the image one by one to find a specific picture. Whether you are looking for a specific time or looking for a specific road segment, you must rely on manual inspection when searching. When the number of image files in the storage unit is large, it takes a lot of time.

現今社會常有警方或是一般民眾欲釐清交通事故或社會案件,藉由網路發佈訊息,向社會大眾徵求特定時間路段的影像檔案,但往往成效不彰,原因可能包含:1、透過網路發佈的訊息沒有特定的傳達途徑,導致許多訊息未能即時傳達,且訊息係被動地由擁有監視裝置的民眾接收;2、由於從眾多影像檔案中搜尋特定畫面必須倚靠人力,所以會特地從監視裝置的儲存單元中搜尋影像檔案的民眾並不多;3、由於監視裝置係循環錄影,包含特定畫面的影像檔案有可能在循環錄影時遭覆蓋。 In today's society, there are often police or ordinary people who want to clarify traffic accidents or social cases. By posting messages on the Internet, they are asking the public for image files of specific time segments, but they often do not work well. The reasons may include: The published message has no specific communication means, resulting in many messages not being delivered immediately, and the message is passively received by the people who own the monitoring device; 2. Since searching for a specific picture from a plurality of image files must rely on manpower, it is specifically monitored There are not many people searching for image files in the storage unit of the device; 3. Since the monitoring device is cyclically recording, the image files containing the specific images may be overwritten during the loop recording.

於現行之監視裝置中,搜尋特定畫面的影像檔案需倚靠人力且費時,再者,特定畫面的影像檔案僅有一段保留時間,若使用者沒有把握時效針對特定畫面進行搜尋,包含特定畫面的影像檔案有可能在監視裝置循環錄影時遭覆蓋。因此,如何能更有效地搜尋監視裝置所錄製的影像檔案中的特定畫面,甚至鎖定特定畫面,實屬當前重要研發課題之一,亦成為當前相關領域極需改進的目標。 In the current monitoring device, searching for image files of a specific screen relies on manpower and time consuming. Moreover, the image file of a specific screen has only a certain retention time. If the user does not grasp the time limit for searching for a specific screen, the image containing the specific screen is included. The file may be overwritten when the monitoring device is looping through the video. Therefore, how to search for a specific image in the image file recorded by the monitoring device more effectively, or even to lock a specific picture, is one of the current important research and development topics, and has become an urgent need for improvement in related fields.

因此,本發明之主要目的即在於提供一種可根據所欲搜尋條件對原始影像分段之鍵值進行搜尋,而可快速得到所欲符合搜尋條件之搜尋影像分段的檔案搜尋方法及其影像處理裝置 Therefore, the main object of the present invention is to provide a file search method capable of quickly searching for a search image segment that matches the search condition according to the search condition, and an image processing device thereof.

本發明揭露一種檔案搜尋方法,用於一影像處理裝置中搜尋一原 始影像檔案,其中該原始影像檔案中包含複數個原始影像分段,並且每一原始影像分段中包含複數個鍵值,該檔案搜尋方法包含有接收至少一搜尋條件,根據該至少一搜尋條件,獲得相應的該複數個鍵值中之至少一鍵值;以及自該複數個原始影像分段中搜尋出符合該至少一搜尋條件之至少一搜尋影像分段。 The invention discloses a file searching method for searching for an original in an image processing device a first image file, wherein the original image file includes a plurality of original image segments, and each of the original image segments includes a plurality of key values, and the file search method includes receiving at least one search condition, according to the at least one search condition Obtaining at least one of the plurality of key values; and searching for at least one search image segment that matches the at least one search condition from the plurality of original image segments.

本發明另揭露一種影像處理裝置,包含有一影像儲存單元,用來 儲存一原始影像檔案,其中該原始影像檔案中包含複數個原始影像分段,並且每一原始影像分段中包含複數個鍵值;以及一處理單元,用來接收至少一搜尋條件,再根據該至少一搜尋條件,獲得相應的該複數個鍵值中之至少一鍵值,並自該複數個原始影像分段中搜尋出符合該至少一搜尋條件之至少一搜尋影像分段。 The present invention further discloses an image processing apparatus including an image storage unit for Storing an original image file, wherein the original image file includes a plurality of original image segments, and each of the original image segments includes a plurality of key values; and a processing unit configured to receive at least one search condition, and then according to the And at least one search condition obtains at least one of the plurality of key values, and searches for the at least one search image segment that matches the at least one search condition from the plurality of original image segments.

1‧‧‧監視裝置 1‧‧‧Monitor

8‧‧‧行動裝置 8‧‧‧Mobile devices

9‧‧‧伺服器 9‧‧‧Server

11‧‧‧攝像單元 11‧‧‧ camera unit

12‧‧‧影像儲存單元 12‧‧‧Image storage unit

13‧‧‧處理單元 13‧‧‧Processing unit

14‧‧‧暫存單元 14‧‧‧Scratch unit

15‧‧‧感測單元 15‧‧‧Sensor unit

16‧‧‧輸入單元 16‧‧‧Input unit

17‧‧‧傳輸單元 17‧‧‧Transmission unit

2‧‧‧原始影像檔案 2‧‧‧ original image file

21‧‧‧檔案類型 21‧‧‧File type

22‧‧‧影像元資料 22‧‧‧Image Metadata

23‧‧‧原始影像分段組合 23‧‧‧ original image segmentation combination

24‧‧‧影像分段隨機存取 24‧‧‧Image Segment Random Access

231~239‧‧‧原始影像分段 231~239‧‧‧ original image segmentation

231a~239a‧‧‧影像分段 231a~239a‧‧‧Image segmentation

231b~239b‧‧‧影像分段標頭 231b~239b‧‧‧Image Segmentation Header

231c~239c‧‧‧軌道分段 231c~239c‧‧‧Track segmentation

231d~239d‧‧‧媒體資料 231d~239d‧‧‧Media Information

31~39‧‧‧序列檔案分段 31~39‧‧‧Sequence file segmentation

311~391、411~491‧‧‧軌道分段 311~391, 411~491‧‧‧ Track segment

311a~391a、311b~391b、311b~391b‧‧‧鍵值 311a~391a, 311b~391b, 311b~391b‧‧‧ key value

411a~491a、411b~491b、411b~491b‧‧‧鍵值 411a~491a, 411b~491b, 411b~491b‧‧‧ key value

311z~391z、411z~491z‧‧‧序列數 311z~391z, 411z~491z‧‧‧ sequence number

4‧‧‧搜尋影像檔案 4‧‧‧Search image files

401~405‧‧‧搜尋影像分段組合 401~405‧‧‧Search image segmentation combination

41~49‧‧‧搜尋影像分段 41~49‧‧‧Search image segmentation

500‧‧‧檔案搜尋方法 500‧‧‧File Search Method

510~570‧‧‧步驟 510~570‧‧‧Steps

第1圖是依照本發明一實施例之一種監視裝置的方塊圖。 1 is a block diagram of a monitoring apparatus in accordance with an embodiment of the present invention.

第2圖是依照本發明一實施例之一種原始影像檔案的示意圖。 2 is a schematic diagram of an original image file in accordance with an embodiment of the present invention.

第3圖是依照本發明第2圖所繪示之一種原始影像分段的示意圖。 Figure 3 is a schematic illustration of an original image segmentation in accordance with Figure 2 of the present invention.

第4A圖是依照本發明第3圖所繪示之一種搜尋檔案分段的示意圖。 Figure 4A is a schematic diagram of a search archive segment in accordance with Figure 3 of the present invention.

第4B圖是依照本發明第4A圖所繪示之一種搜尋檔案分段分類後排序的示意圖。 FIG. 4B is a schematic diagram of sorting and sorting the search file segments according to FIG. 4A of the present invention.

第4C圖是依照本發明第4B圖所繪示之一種搜尋影像檔案的示意圖。 Figure 4C is a schematic diagram of a search image file in accordance with Figure 4B of the present invention.

第5圖是依照本發明一實施例之一種監視裝置之檔案搜尋方法的流程圖。 FIG. 5 is a flow chart of a file search method of a monitoring device according to an embodiment of the invention.

為了使本發明內容之敘述更加詳盡與完備,可參照所附之圖式及 以下所述各種實施例,圖式中相同之號碼代表相同或相似之元件。但所提供之實施例並非用以限制本發明所涵蓋的範圍,而結構運作之描述非用以限制其執行之順序,任何由元件重新組合之結構,所產生具有均等功效的裝置,皆為本發明所涵蓋的範圍。另一方面,眾所週知的元件與步驟並未描述於實施例中,以避免對本發明造成不必要的限制。 In order to make the description of the present invention more detailed and complete, reference may be made to the attached drawings and In the various embodiments described below, the same reference numerals in the drawings represent the same or similar elements. However, the embodiments provided are not intended to limit the scope of the invention, and the description of the operation of the structure is not intended to limit the order of its execution, and any device that is recombined by the components produces equal devices. The scope covered by the invention. On the other hand, well-known elements and steps are not described in the embodiments to avoid unnecessarily limiting the invention.

本發明主要在於提供一種監視裝置。值得注意的是,此實施例亦可變化而成為其他影像處理裝置(如接收該原始影像檔案進行搜尋及處理之一電腦裝置),並不限於監視裝置。 The present invention is primarily directed to providing a monitoring device. It should be noted that this embodiment can also be changed to become another image processing device (such as a computer device that receives the original image file for searching and processing), and is not limited to the monitoring device.

請參考第1圖,第1圖是依照本發明一實施例之一種監視裝置1的方塊圖。如第1圖所示,監視裝置1包含攝像單元11、影像儲存單元12、處理單元13、暫存單元14及感測單元15。於結構上,攝像單元11、影像儲存單元12、暫存單元14及感測單元15均電性連接處理單元13。於作用時,攝像單元11用以擷取影像,例如:攝像單元11可為行車記錄器之攝影鏡頭,於可視範圍內擷取影像。處理單元13每隔一段時間(如:2~5分鐘)將該段時間內所擷取的影像組合成原始影像檔案。影像儲存單元12(如:SD卡)儲存原始影像檔案,其中原始影像檔案中包含依照時間排序之多個原始影像分段(須注意,原始影像分段在操作上亦可不依照時間排序,而以其它條件排序或不排序),並且每一原始影像分段中包含多個鍵值,其中鍵值係一種記錄值,記錄所在之原始影像分段中相關之資訊(如:影像擷取之時間、地點)。處理單元13根據多個原始影像分段之時間順序於每一原始影像分段中附加序列數以形成多個序列影像分段(須注意,處理單元13於每一原始影像分段中附加序列數亦可不根據時間排序進行附加,而根據它條件附加)。 Please refer to FIG. 1. FIG. 1 is a block diagram of a monitoring apparatus 1 according to an embodiment of the present invention. As shown in FIG. 1, the monitoring device 1 includes an imaging unit 11, an image storage unit 12, a processing unit 13, a temporary storage unit 14, and a sensing unit 15. The imaging unit 11 , the image storage unit 12 , the temporary storage unit 14 , and the sensing unit 15 are electrically connected to the processing unit 13 . When the camera unit 11 is used for capturing images, for example, the camera unit 11 can be a photographic lens of the driving recorder to capture images in a visible range. The processing unit 13 combines the images captured during the period into the original image file at intervals (eg, 2 to 5 minutes). The image storage unit 12 (eg, an SD card) stores the original image file, wherein the original image file includes a plurality of original image segments sorted according to time (note that the original image segments may also be sorted in time according to time, and Other conditions are sorted or not sorted, and each original image segment contains a plurality of key values, wherein the key value is a record value, and the relevant information in the original image segment where the record is located (eg, the time of image capture, location). The processing unit 13 adds a sequence number to each original image segment according to the time sequence of the plurality of original image segments to form a plurality of sequence image segments (note that the processing unit 13 appends the sequence number to each original image segment. It is also possible to add without sorting according to time, and attach it according to its condition).

如上所述之處理單元13,其具體實施方式可為軟體、硬體與/或軔 體。舉例來說,若以執行速度及精確性為首要考量,則處理單元13基本上可選用硬體與/或軔體為主;若以設計彈性為首要考量,則處理單元13基本上可選用軟體為主;或者,處理單元13可同時採用軟體、硬體及軔體協同作業。應瞭解到,以上所舉的這些例子並沒有所謂孰優孰劣之分,亦並非用以限制本發明,熟習此項技藝者當視當時需要,彈性選擇處理單元13的具體實施方式。 The processing unit 13 as described above may be a soft body, a hardware body and/or a file. body. For example, if the execution speed and accuracy are the primary considerations, the processing unit 13 may basically be a hardware and/or a carcass; if the design flexibility is the primary consideration, the processing unit 13 may basically select a software. Or the processing unit 13 can simultaneously work with software, hardware and carcass. It should be understood that the above examples are not intended to limit the present invention, and are not intended to limit the present invention. Those skilled in the art will be able to select the specific embodiment of the processing unit 13 as needed.

在一實施例中,原始影像檔案可為段式結構的影像檔案(Fragment,如MPEG4)。請參考第2圖,第2圖是依照本發明一實施例之一種原始影像檔案2的示意圖。如第2圖所示,原始影像檔案2中包含檔案類型(File Type,ftyp)21、影像元資料(Movie Metadata,moov)22、原始影像分段組合23及影像分段隨機存取(Movie Fragment Random Access,mfra)24。原始影像分段組合23包含依照時間排序的複數原始影像分段(Fragment)231~239(須注意,原始影像分段231~239在操作上亦可不依照時間排序,而以其它條件排序或不排序),每個原始影像分段231~239中包含了影像分段(Movie Fragment,moof)231a~239a及媒體資料(Media Data,mdat)231d~239d。每個影像分段231a~239a中又包含了影像分段標頭(Movie Fragment Header,mfhd)231b~239b及軌道分段(Track Fragment,traf)231c~239c,其中影像分段標頭231b~239b係為每個原始影像分段231~239的分段索引(Fragment Index)。 In an embodiment, the original image file may be a segmented image file (Fragment, such as MPEG4). Please refer to FIG. 2, which is a schematic diagram of an original image file 2 according to an embodiment of the invention. As shown in FIG. 2, the original image file 2 includes a file type (File Type, ftyp) 21, a video metadata (Movie Metadata, moov) 22, an original image segmentation combination 23, and a video segmentation random access (Movie Fragment). Random Access, mfra) 24. The original image segmentation combination 23 includes a plurality of original image segments 231 to 239 sorted according to time (note that the original image segments 231 to 239 may also be sorted in time according to time, but may be sorted or not sorted by other conditions. ), each of the original image segments 231 to 239 includes a video segment (Moof Fragment, moof) 231a to 239a and a media data (media Data, mdat) 231d to 239d. Each image segment 231a~239a further includes a video segment header (mfhd) 231b~239b and a track segment (traf), 231c~239c, wherein the image segment headers 231b~239b The Fragment Index is segmented 231~239 for each original image.

實作上,原始影像分段231~239中的媒體資料231d~239d所記錄的影像時間長度通常為1秒,倘若處理單元每隔5分鐘組合一次原始影像檔案2,則一個原始影像檔案2會具有300個原始影像分段。 In practice, the length of the image recorded by the media data 231d~239d in the original image segments 231~239 is usually 1 second. If the processing unit combines the original image file 2 every 5 minutes, an original image file 2 will be used. Has 300 original image segments.

進一步而言,如第1、2圖所示,感測單元13可以一取樣率(如: 1秒取樣1次、5秒取樣1次)獲取與畫面相關的額外資訊,例如:GPS資訊、車速、方向、時間等,在攝像單元11攝取畫面的同時,處理單元13也會將這些額外獲取到的資訊合併於畫面中,並一併儲存於原始影像檔案2中。這些額外獲取到的資訊會以鍵值的形式記錄於原始影像檔案2中的每一個原始影像分段231~239內的軌道分段231c~239c中,換言之,每一個原始影像分段231~239內與媒體資料231d~239d相關的額外資訊,可由軌道分段231c~239c取得。舉例而言,若監視裝置1係用於行車紀錄器中進行錄影,則GPS資訊、路段名稱、車速、方向、時間等均為鍵值,每一個原始影像分段231~239內的軌道分段231c~239c中均包含這些鍵值,甚至可視使用者需求,依各鍵值的重要性排序這些鍵值。 Further, as shown in the first and second figures, the sensing unit 13 can have a sampling rate (eg: 1 second sampling, 5 seconds sampling 1) to obtain additional information related to the screen, such as: GPS information, vehicle speed, direction, time, etc., while the camera unit 11 takes the picture, the processing unit 13 also takes these additional acquisitions. The information obtained is merged into the picture and stored in the original image file 2. The additional acquired information is recorded in the form of a key value in the track segments 231c to 239c in each of the original image segments 231 to 239 in the original image file 2, in other words, each of the original image segments 231 to 239. Additional information related to media data 231d~239d may be obtained by track segments 231c~239c. For example, if the monitoring device 1 is used for recording in the driving recorder, the GPS information, the link name, the vehicle speed, the direction, the time, and the like are all key values, and the track segments in each of the original image segments 231 to 239 are segmented. These key values are included in 231c~239c, and even according to user requirements, these key values are sorted according to the importance of each key value.

當攝像單元11開始攝取畫面時,處理單元13除了將鍵值記錄於 原始影像分段231~239的軌道分段231c~239c中,處理單元13也會根據產生原始影像分段231~239的時間順序於軌道分段231c~239c中附加序列數(須注意,處理單元13於每一原始影像分段中附加序列數亦可不根據時間排序進行附加,而根據它條件附加),使得軌道分段231c~239c內同時包含鍵值與序列數,其中序列數會依次累加。在處理單元13附加序列數於軌道分段231c~239c後,儲存於影像儲存單元12中的原始影像分段231~239會形成序列影像分段。換言之,相應於原始影像分段231~239的序列影像分段會儲存於影像儲存單元12中,且序列影像分段中的軌道分段內會包含鍵值與序列數。 When the camera unit 11 starts capturing a picture, the processing unit 13 records the key value in addition to In the track segments 231c to 239c of the original image segments 231 to 239, the processing unit 13 also adds the sequence number to the track segments 231c to 239c according to the time sequence in which the original image segments 231 to 239 are generated (note that the processing unit 13 The number of additional sequences in each original image segment may also be added without timing, and according to its condition, the track segments 231c~239c contain both the key value and the sequence number, wherein the sequence numbers are sequentially accumulated. After the processing unit 13 adds the sequence number to the track segments 231c to 239c, the original image segments 231 to 239 stored in the image storage unit 12 form a sequence image segment. In other words, the sequence image segments corresponding to the original image segments 231 239 239 are stored in the image storage unit 12, and the track segments in the sequence image segments include key values and sequence numbers.

序列數係儲存於暫存單元14中,於實作上,暫存單元14可為非 揮發性記憶裝置(如:ROM、EERPOM、Flash)。當監視裝置1重新開機時,處理單元13可從暫存單元14中取出最後一個於軌道分段231c~239c附加的序列數,並由該序列數之後一序列數開始附加於新的軌道分段中。如此一來, 於影像儲存單元12中,所有序列影像分段內之軌道分段231c~239c所附加的序列數均不相同,且可藉由軌道分段231c~239c內的序列數得知所有序列影像分段的時間順序。 The sequence number is stored in the temporary storage unit 14, and in practice, the temporary storage unit 14 can be non- Volatile memory devices (eg ROM, EERPOM, Flash). When the monitoring device 1 is powered on, the processing unit 13 can take out the last number of sequences added to the track segments 231c to 239c from the temporary storage unit 14, and add a new number of segments to the new track segment after the sequence number. in. As a result, In the image storage unit 12, the number of sequences added to the track segments 231c to 239c in all the sequence segments is different, and all sequence images can be obtained by the number of sequences in the track segments 231c to 239c. The chronological order.

處理單元13可接收至少一搜尋條件,處理單元13根據該至少一 搜尋條件,獲得相應的該複數個鍵值中之至少一鍵值,然後自影像儲存單元12中的多個序列影像分段搜尋出符合搜尋條件之搜尋影像分段(亦可自原始影像分段231~239搜尋出符合搜尋條件之搜尋影像分段)。 The processing unit 13 can receive at least one search condition, and the processing unit 13 according to the at least one Searching for a condition, obtaining at least one of the plurality of key values, and searching for a plurality of sequence image segments in the image storage unit 12 to search for the search image segment that meets the search condition (also from the original image segmentation) 231~239 search for search image segments that match the search criteria).

至少一搜尋條件可以對應單一鍵值(如:路段名稱)或多重鍵值 (如:路段名稱、方向)。處理單元13據以自影像儲存單元12中搜尋出符合搜尋條件之搜尋影像分段,並將其儲存於影像儲存單元12以形成搜尋影像分段。或者,搜尋條件也可根據多個鍵值之重要性,處理單元13據以自影像儲存單元12中搜尋出符合搜尋條件之搜尋影像分段,並將其儲存於影像儲存單元12以形成搜尋影像分段。 At least one search condition may correspond to a single key value (eg, road segment name) or multiple key values (eg: road segment name, direction). The processing unit 13 searches for the search image segment that matches the search condition from the image storage unit 12 and stores it in the image storage unit 12 to form a search image segment. Alternatively, the search condition may be based on the importance of the plurality of key values. The processing unit 13 searches for the search image segment that matches the search condition from the image storage unit 12, and stores it in the image storage unit 12 to form a search image. Segmentation.

當處理單元13依照搜尋條件自影像儲存單元12中搜尋出符合搜 尋條件之搜尋影像分段時,處理單元13根據搜尋影像分段中之序列數排序搜尋影像分段,換言之,搜尋影像分段可依照時間先後順序排列。 When the processing unit 13 searches for the matching search from the image storage unit 12 according to the search condition When searching for the image segmentation condition, the processing unit 13 sorts the search image segments according to the sequence number in the search image segment. In other words, the search image segments may be arranged in chronological order.

須注意,在上述實施例中,原始影像檔案2為段式結構的影像檔 案,以特定長度分段儲存影像分段,而有利於儲存及搜尋,但在其它實施例中,原始影像檔案亦可為其它結構的影像檔案。 It should be noted that in the above embodiment, the original image file 2 is a segmented image file. In the case of storing image segments in a certain length, it is advantageous for storage and searching, but in other embodiments, the original image files may also be image files of other structures.

請參考第3圖,第3圖是依照本發明第2圖所繪示之一種原始影 像分段23的示意圖。如第1、3圖所示,原始影像分段23中包含序列影像分 段31~39,序列影像分段31~39中的每一者均具有影像分段(moof)及媒體資料(mdat),並且影像分段(moof)均具有個別之影像分段標頭(mfhd)及軌道分段(traf)311~391。此處為方便說明,在序列影像分段31~39的結構不變的前提下,於第3圖及後續之第4A、4B、4C圖中僅繪示出與搜尋條件相關之序列影像分段及軌道分段。 Please refer to FIG. 3, which is a original image according to FIG. 2 of the present invention. A schematic diagram like segment 23. As shown in Figures 1 and 3, the original image segment 23 contains sequence image points. In segments 31-39, each of the sequence image segments 31-39 has a video segment (moof) and a media material (mdat), and the image segments (moof) each have an individual image segment header (mfhd). ) and track segmentation (traf) 311~391. For convenience of description, only the sequence image segmentation related to the search condition is shown in FIG. 3 and subsequent 4A, 4B, and 4C on the premise that the structure of the sequence image segments 31-39 is unchanged. And track segmentation.

軌道分段311~391中的每一者均具有相同數量(如:3個)但分 屬於不同種類(如:路段名稱、方向、車速)的鍵值311a~391a、311b~391b、311b~391b以及一個序列數311z~391z。其中,鍵值的數量可視需求增減,不以此為限。軌道分段311中具有鍵值311a、311b、311c及序列數311z、軌道分段321中具有鍵值321a、321b、321c及序列數321z,其餘軌道分段331~391所包含之多個鍵值及其序列數均以此類推,此處不再贅述。 Each of the track segments 311 to 391 has the same number (eg, 3) but minutes The key values 311a to 391a, 311b to 391b, 311b to 391b, and one sequence number 311z to 391z belonging to different types (e.g., link name, direction, and vehicle speed). Among them, the number of key values can be increased or decreased depending on the demand, not limited to this. The track segment 311 has key values 311a, 311b, and 311c and a sequence number 311z, and the track segment 321 has key values 321a, 321b, and 321c and a sequence number 321z, and the remaining track segments 331 to 391 include a plurality of key values. The number of its sequences is deduced by analogy and will not be described here.

舉例而言,鍵值311a~391a係對應感測單元15所獲取到的路段 名稱的記錄值,鍵值311b~391b係記錄感測單元15所獲取到的方向,鍵值311c~391c係記錄感測單元15所獲取到的車速,序列數311z~391z係為不重複之正整數。 For example, the key values 311a to 391a correspond to the road segments acquired by the sensing unit 15 The record value of the name, the key values 311b to 391b are the directions acquired by the sensing unit 15, the key values 311c to 391c are the vehicle speeds acquired by the sensing unit 15, and the sequence numbers 311z to 391z are non-repeating. Integer.

於一實施例中,序列影像分段31~39可以鍵值的重要性作為搜尋條件。舉例而言,路段名稱為最重要的鍵值,方向為次之,車速為最不重要。處理單元13會先根據鍵值311a~391a對序列影像分段31~39進行搜尋並分類,鍵值311a~391a的內容共包含A路段、B路段、C路段,所以處理單元13分別根據A路段、B路段、C路段搜尋並分類序列影像分段31~39。 In an embodiment, the sequence image segments 31-39 may use the importance of the key value as a search condition. For example, the link name is the most important key value, the direction is second, and the speed is the least important. The processing unit 13 first searches and classifies the sequence image segments 31-39 according to the key values 311a-391a. The contents of the key values 311a-391a include A road segment, B road segment, and C road segment, so the processing unit 13 respectively according to the A road segment. , B segment, C segment search and classification sequence image segmentation 31~39.

第4A圖是依照本發明第3圖所繪示之一種搜尋檔案分段41~49的示意圖。如第1、3、4A圖所示,於處理單元13根據鍵值311a~391a對序 列影像分段31~39進行搜尋後,處理單元13分類出相關於A路段的搜尋影像分段41~43、48~49,相關於B路段的搜尋影像分段44~45、47,以及相關於C路段的搜尋影像分段46。搜尋檔案分段41~49中的每一者均包含軌道分段411~491,而軌道分段411~491中的每一者均包含鍵值411a~491a、鍵值411b~491b、鍵值411c~491c及序列數411z~491z。處理單元13會自搜尋影像分段41~49中再根據方向進行搜尋並分類。更詳細地說,處理單元13會自相關於A路段的搜尋影像分段41~43、48~49中再根據方向進行搜尋並分類,同樣地,處理單元13會自相關於B路段的搜尋影像分段44~45、47中再根據方向進行搜尋並分類,另外,由於僅有搜尋影像分段46係相關於C路段,故處理單元13便不需自相關於C路段的搜尋影像分段46中再根據方向進行搜尋並分類。 Fig. 4A is a diagram showing a search archive segment 41 to 49 according to Fig. 3 of the present invention. As shown in the first, third, and fourth embodiments, the processing unit 13 is aligned according to the key values 311a to 391a. After searching for the column image segments 31-39, the processing unit 13 classifies the search image segments 41~43, 48~49 related to the A segment, and the search image segments 44~45, 47 related to the B segment, and related The search image segment 46 of the C segment. Each of the search file segments 41 to 49 includes track segments 411 to 491, and each of the track segments 411 to 491 includes key values 411a to 491a, key values 411b to 491b, and key values 411c. ~491c and the number of sequences 411z~491z. The processing unit 13 searches and classifies the image segments 41 to 49 according to the direction. In more detail, the processing unit 13 searches and classifies the search image segments 41~43, 48~49 associated with the A segment according to the direction. Similarly, the processing unit 13 automatically searches for the search image associated with the B segment. The segments 44-45, 47 are further searched and classified according to the direction. In addition, since only the search image segment 46 is related to the C segment, the processing unit 13 does not need to self-correlate the search image segment 46 of the C segment. Search and classify according to the direction.

如前所述,序列數411z~491z可反映出搜尋影像分段41~49的 先後順序。第4B圖是依照本發明第4A圖所繪示之一種搜尋檔案分段41~49分類後排序的示意圖。如第1、4B圖所示,處理單元13根據序列數411z~491z由小至大排序搜尋影像分段41~49。舉例而言,於路段名稱為A路段且方向為北的搜尋影像分段41~43中,處理單元13根據序列數411z、421z、431z由小至大排序搜尋影像分段41~43,以形成最後的排序結果,即依序為:搜尋影像分段43、搜尋影像分段42、搜尋影像分段41,進而組合而成搜尋影像分段組合401。其他搜尋影像分段組合402~405中之排序,依此類推,不再贅述。 As mentioned above, the sequence number 411z~491z can reflect the search image segments 41~49. In order. FIG. 4B is a schematic diagram of sorting the search archive segments 41~49 according to the fourth embodiment of the present invention. As shown in FIGS. 1 and 4B, the processing unit 13 searches for the image segments 41 to 49 in a small to large order according to the sequence numbers 411z to 491z. For example, in the search image segments 41 to 43 in which the link name is the A road segment and the direction is north, the processing unit 13 searches for the image segments 41 to 43 according to the sequence numbers 411z, 421z, and 431z to form the image segments 41 to 43. The final sorting result, that is, the search image segment 43, the search image segment 42, the search image segment 41, and then combined into the search image segment combination 401. The ranking of other search image segment combinations 402-405, and so on, will not be described again.

於另一實施例中,如第1、3、4B圖所示,處理單元13可先根據 序列數311z~391z排序序列影像分段31~39,再根據鍵值的重要性依序搜尋序列影像分段31~39,以形成搜尋影像分段41~49,進而組合而成搜尋影像分段組合401~405。 In another embodiment, as shown in the figures 1, 3, and 4B, the processing unit 13 may be based on The sequence number 311z~391z sorts the sequence image segments 31~39, and then searches the sequence image segments 31~39 according to the importance of the key values to form the search image segments 41~49, and then combines the search image segments. Combination 401~405.

第4C圖是依照本發明第4B圖所繪示之一種搜尋影像檔案4的示 意圖。如第4C圖所示,就搜尋影像分段組合401為例,當處理單元13組合出搜尋影像分段組合401後,處理單元13利用段式結構的剪輯方式,將搜尋影像分段組合401與檔案類型(ftyp)、影像元資料(moov)及影像分段隨機存取(mfra)做結合,形成搜尋影像檔案4。其中,搜尋影像檔案4亦儲存於影像儲存單元12中,而搜尋影像檔案4即關於所有於A路段並且方向為北所擷取到之影像資料,並且搜尋影像檔案4中的影像資料係依照時間先後順序。 FIG. 4C is a diagram showing a search image file 4 according to FIG. 4B of the present invention. intention. As shown in FIG. 4C, the search image segment combination 401 is taken as an example. After the processing unit 13 combines the search image segment combination 401, the processing unit 13 uses the segment structure to edit the image segmentation combination 401 and The file type (ftyp), image metadata (moov), and image segmentation random access (mfra) are combined to form a search image file. The search image file 4 is also stored in the image storage unit 12, and the search image file 4 is about all the image data captured in the A road segment and the direction is north, and the image data in the search image file 4 is in accordance with the time. In order.

如第1、3、4A~4C圖所示,於另一實施例中,序列影像分段31 ~39可以根據使用者感興趣的鍵值作為搜尋條件。舉例而言,使用者認為路段名稱為最重要的鍵值,方向為次之,車速最不重要。處理單元13根據鍵值的重要性依序對序列影像分段31~39進行搜尋,以形成搜尋影像分段41~49,再根據序列數411z~491z由小至大排序搜尋影像分段41~49,進而組合而成搜尋影像分段組合401~405。或者,處理單元13可先根據序列數311z~391z排序序列影像分段31~39,再根據使用者感興趣的鍵值依序搜尋序列影像分段31~39,以形成搜尋影像分段41~49,進而組合而成搜尋影像分段組合401~405。最後,處理單元13利用段式結構的剪輯法,分別將搜尋影像分段組合401~405與檔案類型(ftyp)、影像元資料(moov)及影像分段隨機存取(mfra)做結合,形成搜尋影像檔案4。其中,搜尋影像檔案4亦儲存於影像儲存單元12中。 As shown in the figures 1, 3, 4A-4C, in another embodiment, the sequence image segment 31 ~39 can be based on the key value of interest to the user as a search condition. For example, the user thinks that the link name is the most important key value, the direction is second, and the speed is the least important. The processing unit 13 sequentially searches the sequence image segments 31~39 according to the importance of the key values to form the search image segments 41~49, and then searches for the image segments 41~ according to the sequence number 411z~491z. 49, and then combined to form a search image segmentation combination 401~405. Alternatively, the processing unit 13 may first sort the sequence image segments 31~39 according to the sequence number 311z~391z, and then sequentially search the sequence image segments 31~39 according to the key value of the user's interest to form the search image segment 41~ 49, and then combined to form a search image segmentation combination 401~405. Finally, the processing unit 13 combines the search image segmentation combinations 401-405 with the file type (ftyp), the image metadata (moov), and the image segmentation random access (mfra) by using a segment structure clipping method. Search for image files 4. The search image file 4 is also stored in the image storage unit 12.

另一方面,如第1圖所示,於一實施例中,監視裝置1更包含輸 入單元16(如:按鍵、觸控式螢幕)。輸入單元16電性連接處理單元13,使用者可透過輸入單元16輸入相應搜尋條件的搜尋指令。當處理單元13接收 到搜尋指令後先獲得相應的該複數個鍵值中之至少一鍵值,然後處理單元13據以自多個序列影像分段中搜尋出符合搜尋條件之搜尋影像分段(亦可自原始影像分段231~239搜尋出符合搜尋條件之搜尋影像分段),並且處理單元13可更進一步依照搜尋影像分段的時間先後順序排序,以形成搜尋影像檔案。使用者可從搜尋影像檔案檢視符合搜尋條件並且以按照時間優先順序排列的影像資料。 On the other hand, as shown in FIG. 1, in an embodiment, the monitoring device 1 further includes Into the unit 16 (such as: button, touch screen). The input unit 16 is electrically connected to the processing unit 13, and the user can input a search instruction of the corresponding search condition through the input unit 16. When the processing unit 13 receives After the search command, the corresponding one of the plurality of key values is obtained, and then the processing unit 13 searches for the search image segment that matches the search condition from the plurality of sequence image segments (also from the original image) The segments 231-239 search for the search image segments that match the search criteria, and the processing unit 13 can further sort according to the chronological order of the search image segments to form a search image file. From the search image file, the user can view the image data that meets the search criteria and is arranged in a time-first order.

值得注意的是,上述操作中皆以監視裝置1對其所擷取之原始影 像檔案進行操作,但在其它實施例中,亦可由一電腦裝置自監視裝置1接收該原始影像檔案,再由電腦裝置進行上述搜尋及處理之操作。再者,上述實施例中監視裝置1係以用於行車紀錄器中進行錄影,因此鍵值可為GPS資訊、路段名稱、車速、方向、時間等,但在其它實施例中,監視裝置1可為一般住家或公共場所之監視攝影機,而鍵值可為畫面中特定顏色或特定位置影像是否變化(如監視裝置1專門用來攝影置物櫃時,鍵值可指示各別置物櫃開啟,而所輸入之搜尋條件可搜尋特定置物櫃開啟之影像;或者,在確定嫌疑犯穿著特定顏色之衣服時,可所輸入之搜尋條件可搜尋具有特定顏色之影像)。 It is worth noting that in the above operations, the original image captured by the monitoring device 1 is taken. The file is operated, but in other embodiments, the original image file may be received from the monitoring device 1 by a computer device, and the search and processing operations are performed by the computer device. Furthermore, in the above embodiment, the monitoring device 1 is used for recording in the driving recorder, so the key value may be GPS information, link name, vehicle speed, direction, time, etc., but in other embodiments, the monitoring device 1 may It is a surveillance camera in a general home or public place, and the key value can be whether the image of a specific color or a specific position in the picture changes (for example, when the monitoring device 1 is specifically used for photographing the locker, the key value can indicate that each locker is opened, and the The search criteria can be searched for images that are opened by a particular locker; or, when the suspect is determined to be wearing a particular color of clothing, the search criteria can be entered to search for images of a particular color).

此外,現今社會常有警方或民眾透過網路尋求監視裝置於特定時 間路段所取得的畫面,但往往只能被動地等待回應。再者,監視裝置係採用循環錄影的方式,特定時間路段所取得的畫面可能在錄影的過程中遭到覆蓋。將本發明所示之監視裝置1與監控中心之一伺服器9進行連線,除監控中心可透過與監視裝置1連線以主動搜尋特定時間路段所取得的畫面外,並可在搜尋到該畫面後將該畫面進行鎖定(即不被循環錄影刪除或者永久保存),協助警方或民眾更快尋求到欲徵求的畫面。其中,監視裝置1之使用者可先向監控中心之伺服器9註冊並申請會員資格,除了可透過監控中心之伺 服器9向其他會員徵求影片外,亦可分享監視裝置1所儲存之畫面給其他會員。 In addition, in today's society, police or people often seek surveillance devices through the Internet at certain times. The picture taken between the sections, but often only passively waiting for a response. Moreover, the monitoring device adopts a cyclic recording mode, and the image acquired by the specific time segment may be covered during the recording process. The monitoring device 1 shown in the present invention is connected to the server 9 of the monitoring center, and the monitoring center can be connected to the monitoring device 1 to actively search for the image obtained by the specific time segment, and can search for the image. After the screen is locked, the screen is locked (ie, it is not deleted by the loop recording or saved forever), helping the police or the public to find the picture to be sought more quickly. The user of the monitoring device 1 can first register with the server 9 of the monitoring center and apply for membership, except that the monitoring center can be used. The server 9 requests the other members for the video, and can also share the screen stored by the monitoring device 1 to other members.

舉例來說,於一實施例中,如第1圖所示,監視裝置1更包含傳輸單元17,例如:3G通訊模組、4G通訊模組等無線通訊之遠距離通訊模組。傳輸單元17電性連接處理單元13,並用以進行處理單元13與監控中心之伺服器9間的遠端網路資料傳輸。當處理單元13經由傳輸單元17接收到自伺服器9傳送之相應搜尋條件(如:路段名稱、時間)的搜尋指令時,處理單元13據以搜尋出符合搜尋條件之搜尋影像分段,並鎖定搜尋影像分段,即強制使得監視裝置1不會因為循環錄影而覆蓋了被鎖定之搜尋影像分段或者永久保存被鎖定之搜尋影像分段,同時,監控中心也會透過監視裝置1顯示訊息給監視裝置1的使用者,詢問使用者是否同意分享被鎖定之搜尋影像分段。一旦使用者同意分享被鎖定之搜尋影像分段,則處理單元13將被鎖定之搜尋影像分段經由傳輸單元17傳輸至伺服器9。若使用者不同意分享被鎖定之搜尋影像分段,則處理單元13將被鎖定之搜尋影像分段進行解鎖。 For example, in an embodiment, as shown in FIG. 1, the monitoring device 1 further includes a transmission unit 17, such as a 3G communication module, a 4G communication module, and the like, and a remote communication module for wireless communication. The transmission unit 17 is electrically connected to the processing unit 13 and is configured to perform remote network data transmission between the processing unit 13 and the server 9 of the monitoring center. When the processing unit 13 receives the search instruction from the corresponding search condition (such as the link name and time) transmitted from the server 9 via the transmission unit 17, the processing unit 13 searches for the search image segment that matches the search condition, and locks Searching for image segmentation, forcing the monitoring device 1 not to overwrite the locked search image segment or permanently save the locked search image segment due to loop recording, and the monitoring center also displays the message through the monitoring device 1 The user of the monitoring device 1 asks the user if he or she agrees to share the locked search image segment. Once the user agrees to share the locked search image segment, the processing unit 13 transmits the locked search image segment to the server 9 via the transmission unit 17. If the user does not agree to share the locked search image segment, the processing unit 13 unlocks the locked search image segment.

於另一實施例中,傳輸單元17用以進行處理單元13與行動裝置8間的資料傳輸,即傳輸單元17僅具Wi-Fi、藍牙等無線通訊之近距離通訊模組,必須搭配行動裝置8中之應用程式才可與監控中心之伺服器9進行連線。當處理單元13經由傳輸單元17接收到自伺服器9傳送到行動裝置8之相應搜尋條件(如:路段名稱、時間)的搜尋指令時,處理單元13據以搜尋出符合搜尋條件之搜尋影像分段,並鎖定搜尋影像分段,同時,監控中心也會透過行動裝置8顯示訊息給監視裝置1的使用者,詢問使用者是否同意分享被鎖定之搜尋影像分段。一旦使用者同意分享被鎖定之搜尋影像分段,則處理單元13將被鎖定之搜尋影像分段依序經由傳輸單元17透過行動裝置8傳輸至伺服器9。若使用者不同意分享被鎖定之搜尋影像分段,則處理單元 13將被鎖定之搜尋影像分段進行解鎖。 In another embodiment, the transmission unit 17 is configured to perform data transmission between the processing unit 13 and the mobile device 8, that is, the transmission unit 17 has a short-range communication module with only wireless communication such as Wi-Fi and Bluetooth, and must be matched with the mobile device. The application in 8 can be connected to the server 9 of the monitoring center. When the processing unit 13 receives the search instruction transmitted from the server 9 to the corresponding search condition (such as the link name, time) of the mobile device 8 via the transmission unit 17, the processing unit 13 searches for the search image score that matches the search condition. The segment and the search image segment are locked. At the same time, the monitoring center also displays a message to the user of the monitoring device 1 through the mobile device 8 to ask the user whether to agree to share the locked search image segment. Once the user agrees to share the locked search image segment, the processing unit 13 transmits the locked search image segment to the server 9 via the mobile device 8 via the transmission unit 17 in sequence. If the user does not agree to share the locked search image segment, the processing unit 13 Unlock the locked search image segment.

上述監視裝置1之檔案搜尋操作,可歸納為一檔案搜尋流程。請參考第5圖,第5圖是依照本發明一實施例之一種監視裝置之檔案搜尋方法500的流程圖。如第5圖所示,監視裝置1之檔案搜尋方法500包含步驟510~570(應瞭解到,在本實施例中所提及的步驟,除特別敘明其順序者外,均可依實際需要調整其前後順序,甚至可同時或部分同時執行)。為清楚及方便說明起見,下述檔案搜尋方法500係配合前述實施例作說明,但不以其為限。至於實施該些步驟的硬體裝置,由於以上實施例已具體揭露,因此不再重複贅述之。 The file search operation of the above monitoring device 1 can be summarized into a file search process. Please refer to FIG. 5. FIG. 5 is a flow chart of a file searching method 500 for a monitoring device according to an embodiment of the invention. As shown in FIG. 5, the file search method 500 of the monitoring device 1 includes steps 510-570 (it should be understood that the steps mentioned in this embodiment can be implemented according to actual needs unless otherwise specified. Adjust the order before and after, even at the same time or partially.) For the sake of clarity and convenience of explanation, the following file search method 500 is described with reference to the foregoing embodiments, but is not limited thereto. As for the hardware device for carrying out these steps, since the above embodiments have been specifically disclosed, the description thereof will not be repeated.

於步驟510,儲存原始影像檔案(如:段式結構的影像檔案,Fragment,如MPEG4)(如第2圖所示之原始影像檔案2),其中原始影像檔案中包含依照時間排序之多個原始影像分段(Fragment)(如第2圖所示之原始影像分段231~239),並且每一原始影像分段中包含多個鍵值(如第3圖所示之鍵值311a~391a、311b~391b、311c~391c)。實務上來說,原始影像分段的單位通常為1秒,而鍵值係為每一原始影像分段中相關之額外的資訊,例如:GPS資訊、車速、方向、時間等。 In step 510, the original image file (eg, a segmented image file, Fragment, such as MPEG4) (such as the original image file 2 shown in FIG. 2) is stored, wherein the original image file includes multiple originals sorted by time. Image segmentation (such as the original image segments 231~239 shown in FIG. 2), and each original image segment contains a plurality of key values (such as the key values 311a-391a shown in FIG. 3, 311b~391b, 311c~391c). In practice, the original image segmentation unit is usually 1 second, and the key value is the additional information related to each original image segment, such as: GPS information, vehicle speed, direction, time, and the like.

於步驟520,根據多個原始影像分段之時間順序於每一原始影像分段中附加序列數(如第3圖所示之序列數311z~391z),其中序列數會依次累加。於步驟530,附加序列數的原始影像分段形成多個序列影像分段(如第3圖所示之序列影像分段31~39)。步驟510與520為選擇性步驟,可於不同裝置內實施或不實施。 In step 520, the sequence number is added to each original image segment according to the time sequence of the plurality of original image segments (such as the sequence number 311z~391z shown in FIG. 3), wherein the sequence numbers are sequentially accumulated. In step 530, the original sequence of the additional sequence number segments form a plurality of sequence image segments (such as the sequence image segments 31-39 shown in FIG. 3). Steps 510 and 520 are optional steps that may or may not be implemented in different devices.

於步驟540,接收到相應搜尋條件的搜尋指令。其中搜尋條件可 以單一鍵值(如:路段名稱)或多重鍵值(如:路段名稱、方向)作為條件,或者是以多個鍵值之重要性作為條件。相應搜尋條件的搜尋指令可由使用者直接輸入相應搜尋條件的搜尋指令,也可當監視裝置(如第1圖所示之監視裝置1)與監控中心的伺服器(如第1圖所示之伺服器9)連線時,監視裝置直接接收自伺服器傳送之相應搜尋條件的搜尋指令,或者透過行動裝置(如第1圖所示之行動裝置8)接收自伺服器傳送之相應搜尋條件的搜尋指令。 In step 540, a search instruction of the corresponding search condition is received. Where the search criteria are Take a single key value (such as: link name) or multiple key values (such as: link name, direction) as a condition, or the importance of multiple key values as a condition. The search command of the corresponding search condition may be directly input by the user into the search command of the corresponding search condition, or may be a monitoring device (such as the monitoring device 1 shown in FIG. 1) and the server of the monitoring center (such as the servo shown in FIG. 1). When the device 9) is connected, the monitoring device directly receives the search command corresponding to the search condition transmitted from the server, or receives the search for the corresponding search condition transmitted from the server through the mobile device (such as the mobile device 8 shown in FIG. 1). instruction.

於一實施例中,當監視裝置直接與監控中心的伺服器網路連線時,監視裝置接收自伺服器傳送之相應搜尋條件的搜尋指令,據以搜尋出符合搜尋條件之搜尋影像分段,並鎖定搜尋影像分段,以避免符合搜尋條件之搜尋影像分段被刪除。被鎖定之搜尋影像分段可傳輸至伺服器。 In an embodiment, when the monitoring device is directly connected to the server network of the monitoring center, the monitoring device receives the search command corresponding to the search condition transmitted by the server, and searches for the search image segment that meets the search condition. And the search image segment is locked to avoid the search image segment that matches the search condition is deleted. The locked search image segment can be transmitted to the server.

或者,於另一實施例中,當監視裝置係透過行動裝置與監控中心的伺服器網路連線時,監視裝置接收自伺服器傳送之相應搜尋條件的搜尋指令,據以搜尋出符合搜尋條件之搜尋影像分段(如第4A圖所示之搜尋影像分段41~49),並鎖定搜尋影像分段,以避免符合搜尋條件之搜尋影像分段被刪除。被鎖定之搜尋影像分段透過行動裝置傳輸至伺服器。 Or, in another embodiment, when the monitoring device is connected to the server network of the monitoring center through the mobile device, the monitoring device receives the search command corresponding to the search condition transmitted by the server, so as to search for the matching search condition. The search image segments (such as the search image segments 41 to 49 shown in FIG. 4A) are locked and the search image segments are locked to prevent the search image segments that match the search criteria from being deleted. The locked search image segment is transmitted to the server through the mobile device.

於步驟550,根據至少一搜尋條件相應的該些鍵值中之至少一鍵值,自多個序列影像分段中搜尋出符合搜尋條件之搜尋影像分段(如前述實施例中根據路段名稱、時間等至少一搜尋條件,對各序列影像分段之各軌道分段之多個鍵值進行搜尋,然後將符合至少一搜尋條件之鍵值所對應之序列影像分段做為符合搜尋條件之搜尋影像分段)。於步驟560,根據搜尋影像分段中之序列數排序搜尋影像分段。於步驟570,利用段式結構的剪輯方式,將搜尋影像分段組合而成搜尋影像檔案(如第4C圖所示之搜尋影像分段4)。 In step 550, searching for a search image segment that matches the search condition from the plurality of sequence image segments according to at least one of the key values corresponding to the at least one search condition (as in the foregoing embodiment, according to the link name, At least one search condition, such as time, searching for a plurality of key values of each track segment of each sequence of image segments, and then performing sequence image segmentation corresponding to the key value of at least one search condition as a search condition that meets the search condition Image segmentation). In step 560, the image segments are searched according to the number of sequences in the search image segment. In step 570, the search image segments are combined into a search image file by using a segmental structure editing method (such as the search image segment 4 shown in FIG. 4C).

在習知技術中,使用者欲從多個影像檔案中找尋特定時間或特定路段的畫面時,必須在多個影像檔案中先以檢視的方式找到於接近特定時間錄製的影像檔案,再檢視該影像檔案以尋找到特定畫面,或者是必須在多個影像檔案中先以檢視的方式找到於特定路段錄製的影像檔案,而需耗費較大的時間成本;此外,監視裝置係循環錄影,包含特定畫面的影像檔案有可能在循環錄影時遭覆蓋,而無法即時保留特定畫面。 In the prior art, when a user wants to search for a specific time or a specific road segment from a plurality of image files, the image file recorded near the specific time must be firstly searched in the plurality of image files, and then the image is viewed. The image file is used to find a specific picture, or the image file recorded on a specific road section must be firstly viewed in multiple image files, which requires a large time cost; in addition, the monitoring device is cyclically recorded, including specific The image file of the screen may be overwritten during loop recording, and it is not possible to instantly retain a specific screen.

相較之下,本案依照搜尋條件自影像儲存單元12中搜尋出符合搜尋條件之搜尋影像分段,而可快速得到所欲符合搜尋條件之搜尋影像分段。此外,本案可由伺服器9接收搜尋條件以搜尋符合搜尋條件之搜尋影像分段並進行鎖定,因此可即時保留特定畫面不在循環錄影時遭覆蓋。 In contrast, in the present case, the search image segment matching the search condition is searched from the image storage unit 12 according to the search condition, and the search image segment to be matched with the search condition can be quickly obtained. In addition, the present invention can receive the search condition by the server 9 to search for the search image segment that meets the search condition and lock it, so that the specific picture can be instantly saved without being overwritten during the loop recording.

以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 The above are only the preferred embodiments of the present invention, and all changes and modifications made to the scope of the present invention should be within the scope of the present invention.

1‧‧‧監視裝置 1‧‧‧Monitor

11‧‧‧攝像單元 11‧‧‧ camera unit

12‧‧‧影像儲存單元 12‧‧‧Image storage unit

13‧‧‧處理單元 13‧‧‧Processing unit

14‧‧‧暫存單元 14‧‧‧Scratch unit

15‧‧‧感測單元 15‧‧‧Sensor unit

16‧‧‧輸入單元 16‧‧‧Input unit

17‧‧‧傳輸單元 17‧‧‧Transmission unit

8‧‧‧行動裝置 8‧‧‧Mobile devices

9‧‧‧伺服器 9‧‧‧Server

Claims (18)

一種檔案搜尋方法,用於一影像處理裝置中搜尋一原始影像檔案,其中該原始影像檔案中包含複數個原始影像分段,並且每一原始影像分段中包含複數個鍵值,其中該複數個原始影像分段當中每一原始影像分段被附加一序列數以形成複數個序列影像分段,該檔案搜尋方法包含有:接收至少一搜尋條件;根據該至少一搜尋條件,獲得相應的該複數個鍵值中之至少一鍵值;自該複數個原始影像分段中搜尋出符合該至少一搜尋條件之至少一搜尋影像分段;以及根據該至少一搜尋影像分段中各搜尋影像分段之該序列數排序該至少一搜尋影像分段;其中該複數個序列數係連續之正整數。 An image search method for searching an original image file in an image processing device, wherein the original image file includes a plurality of original image segments, and each original image segment includes a plurality of key values, wherein the plurality of key segments Each of the original image segments is appended with a sequence number to form a plurality of sequence image segments. The file search method includes: receiving at least one search condition; and obtaining the corresponding plurality of search conditions according to the at least one search condition At least one of the plurality of key values; searching for at least one search image segment that matches the at least one search condition from the plurality of original image segments; and segmenting each search image according to the at least one search image segment The sequence number sorts the at least one search image segment; wherein the plurality of sequence numbers are consecutive positive integers. 如請求項1所述之檔案搜尋方法,其另包含:於根據該至少一搜尋影像分段中之該序列數排序該至少一搜尋影像分段時,將該至少一搜尋影像分段組合成一搜尋影像檔案。 The file search method of claim 1, further comprising: combining the at least one search image segment into a search when sorting the at least one search image segment according to the sequence number in the at least one search image segment Image file. 如請求項1所述之檔案搜尋方法,其中該影像處理裝置為產生該原始影像檔案之一監視裝置,或接收該原始影像檔案之一電腦裝置。 The file search method of claim 1, wherein the image processing device is a monitoring device that generates one of the original image files, or a computer device that receives the original image file. 如請求項1所述之檔案搜尋方法,其中該至少一搜尋條件係自一伺服器所接收,該檔案搜尋方法另包含有:鎖定該至少一搜尋影像分段;以及將被鎖定之該至少一搜尋影像分段傳輸至該伺服器。 The file search method of claim 1, wherein the at least one search condition is received from a server, the file search method further comprising: locking the at least one search image segment; and the at least one to be locked The search image is segmented and transmitted to the server. 如請求項4所述之檔案搜尋方法,其中將被鎖定之該至少一搜尋影像分 段傳輸至該伺服器之步驟包含有:於該影像處理裝置之一使用者同意後,將被鎖定之該至少一搜尋影像分段傳輸至該伺服器。 The file search method of claim 4, wherein the at least one search image to be locked is divided into The step of transmitting the segment to the server includes: transmitting, to the server, the locked at least one search image segment after the user of the image processing device agrees. 如請求項1所述之檔案搜尋方法,其中該至少一搜尋條件係透過一行動裝置自一伺服器所接收,該檔案搜尋方法另包含:鎖定該至少一搜尋影像分段;以及將被鎖定之該至少一搜尋影像分段透過該行動裝置傳輸至該伺服器。 The file search method of claim 1, wherein the at least one search condition is received from a server by a mobile device, the file search method further comprising: locking the at least one search image segment; and being locked The at least one search image segment is transmitted to the server through the mobile device. 如請求項6所述之檔案搜尋方法,其中將被鎖定之該至少一搜尋影像分段透過該行動裝置傳輸至該伺服器之步驟包含有:於該影像處理裝置之一使用者同意後,將被鎖定之該至少一搜尋影像分段傳輸至該伺服器。 The file search method of claim 6, wherein the step of transmitting the locked at least one search image segment to the server through the mobile device comprises: after the user of the image processing device agrees, The at least one search image segment that is locked is transmitted to the server. 如請求項1所述之檔案搜尋方法,其中該至少一搜尋條件係自該影像處理裝置之一使用者所接收。 The file search method of claim 1, wherein the at least one search condition is received from a user of the image processing device. 如請求項1所述之檔案搜尋方法,其中該原始影像檔案係一段式結構。 The file search method of claim 1, wherein the original image file is a one-segment structure. 一種影像處理裝置,包含有:一影像儲存單元,用來儲存一原始影像檔案,其中該原始影像檔案中包含複數個原始影像分段,並且每一原始影像分段中包含複數個鍵值;以及一處理單元,用來接收至少一搜尋條件,再根據該至少一搜尋條件,獲得相應的該複數個鍵值中之至少一鍵值,並自該複數個原始影像分段中搜尋出符合該至少一搜尋條件之至少一搜尋影像分段; 其中該處理單元於該複數個原始影像分段當中每一原始影像分段附加一序列數以形成複數個序列影像分段,該處理單元根據該至少一搜尋影像分段中各搜尋影像分段之該序列數排序該至少一搜尋影像分段;其中該複數個序列數係連續之正整數。 An image processing device includes: an image storage unit for storing an original image file, wherein the original image file includes a plurality of original image segments, and each of the original image segments includes a plurality of key values; a processing unit, configured to receive at least one search condition, and obtain at least one of the plurality of key values according to the at least one search condition, and search for the at least one of the plurality of original image segments to match the at least one At least one search image segmentation of a search condition; The processing unit adds a sequence number to each of the plurality of original image segments to form a plurality of sequence image segments, and the processing unit segments the search image segments according to the at least one search image segment. The sequence number sorts the at least one search image segment; wherein the plurality of sequence numbers are consecutive positive integers. 如請求項10所述之影像處理裝置,其中該處理單元於根據該至少一搜尋影像分段中之該序列數排序該至少一搜尋影像分段時,將該至少一搜尋影像分段組合成一搜尋影像檔案。 The image processing device of claim 10, wherein the processing unit segments the at least one search image segment into a search when the at least one search image segment is sorted according to the sequence number in the at least one search image segment. Image file. 如請求項10所述之影像處理裝置,其中該影像處理裝置為產生該原始影像檔案之一監視裝置,或接收該原始影像檔案之一電腦裝置。 The image processing device of claim 10, wherein the image processing device is a monitoring device that generates the original image file or receives one of the original image files. 如請求項10所述之影像處理裝置,其另包含一傳輸單元,用來自一伺服器所接收該至少一搜尋條件,其中該處理單元鎖定該至少一搜尋影像分段,而該傳輸單元將被鎖定之該至少一搜尋影像分段傳輸至該伺服器。 The image processing device of claim 10, further comprising a transmission unit for receiving the at least one search condition from a server, wherein the processing unit locks the at least one search image segment, and the transmission unit is to be The at least one search image segment that is locked is transmitted to the server. 如請求項13所述之影像處理裝置,其中於該影像處理裝置之一使用者同意後,該傳輸單元將被鎖定之該至少一搜尋影像分段傳輸至該伺服器。 The image processing device of claim 13, wherein the transmission unit transmits the locked at least one search image segment to the server after the user of the image processing device agrees. 如請求項10所述之影像處理裝置,其另包含一傳輸單元,用來透過一行動裝置自一伺服器接收該至少一搜尋條件,其中該處理單元鎖定該至少一搜尋影像分段,而該傳輸單元將被鎖定之該至少一搜尋影像分段透過該行動裝置傳輸至該伺服器。 The image processing device of claim 10, further comprising a transmission unit for receiving the at least one search condition from a server by using a mobile device, wherein the processing unit locks the at least one search image segment, and the The transmission unit transmits the at least one search image segment that is locked to the server through the mobile device. 如請求項15所述之影像處理裝置,其中於該影像處理裝置之一使用者同意後,該傳輸單元將被鎖定之該至少一搜尋影像分段傳輸至該伺服器。 The image processing device of claim 15, wherein the transmission unit transmits the locked at least one search image segment to the server after the user of the image processing device agrees. 如請求項10所述之影像處理裝置,其另包含一輸入單元,用來自該影像處理裝置之一使用者接收該至少一搜尋條件。 The image processing device of claim 10, further comprising an input unit for receiving the at least one search condition by a user from the image processing device. 如請求項10所述之影像處理裝置,其中該原始影像檔案係一段式結構。 The image processing device of claim 10, wherein the original image file is a one-segment structure.
TW103134311A 2014-07-11 2014-10-01 File searching method and image processing device thereof TWI559772B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/555,720 US10152491B2 (en) 2014-07-11 2014-11-28 File searching method and image processing device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US201462023182P 2014-07-11 2014-07-11

Publications (2)

Publication Number Publication Date
TW201603582A TW201603582A (en) 2016-01-16
TWI559772B true TWI559772B (en) 2016-11-21

Family

ID=55150717

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103134311A TWI559772B (en) 2014-07-11 2014-10-01 File searching method and image processing device thereof

Country Status (2)

Country Link
CN (1) CN105282495A (en)
TW (1) TWI559772B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11409804B2 (en) 2018-09-07 2022-08-09 Delta Electronics, Inc. Data analysis method and data analysis system thereof for searching learning sections

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113742519A (en) * 2021-08-31 2021-12-03 杭州登虹科技有限公司 Multi-object storage cloud video Timeline storage method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI237506B (en) * 2001-05-18 2005-08-01 Huper Lab Co Ltd System for video image search and image recording
TW201112017A (en) * 2009-09-21 2011-04-01 Nusoft Corp Multithreading video image compilation and search method and system
TW201224799A (en) * 2010-12-01 2012-06-16 Ind Tech Res Inst Video search method, system, and method for establishing a database therefor

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1360267A (en) * 2002-01-30 2002-07-24 北京大学 Sorting and searching method for files
CN100446558C (en) * 2002-07-02 2008-12-24 松下电器产业株式会社 Video generation device, video generation method, and video storage device
CN1591428B (en) * 2002-07-23 2012-12-05 三星电子株式会社 Method for providing index of metadata
JP5009577B2 (en) * 2005-09-30 2012-08-22 富士フイルム株式会社 Image search apparatus and method, and program
US8645359B2 (en) * 2010-09-30 2014-02-04 Microsoft Corporation Providing associations between objects and individuals associated with relevant media items

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI237506B (en) * 2001-05-18 2005-08-01 Huper Lab Co Ltd System for video image search and image recording
TW201112017A (en) * 2009-09-21 2011-04-01 Nusoft Corp Multithreading video image compilation and search method and system
TW201224799A (en) * 2010-12-01 2012-06-16 Ind Tech Res Inst Video search method, system, and method for establishing a database therefor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11409804B2 (en) 2018-09-07 2022-08-09 Delta Electronics, Inc. Data analysis method and data analysis system thereof for searching learning sections

Also Published As

Publication number Publication date
TW201603582A (en) 2016-01-16
CN105282495A (en) 2016-01-27

Similar Documents

Publication Publication Date Title
US8270684B2 (en) Automatic media sharing via shutter click
US9081798B1 (en) Cloud-based photo management
KR101417548B1 (en) Method and system for generating and labeling events in photo collections
US8743223B2 (en) Linking captured images using short range communications
US8356034B2 (en) Image management apparatus, control method thereof and storage medium storing program
US20070206834A1 (en) Search system, image-capturing apparatus, data storage apparatus, information processing apparatus, captured-image processing method, information processing method, and program
US20120301039A1 (en) Image clustering method
US20100287161A1 (en) System and related techniques for detecting and classifying features within data
US9852343B2 (en) Imaging apparatus, display method, and storage medium
KR100956159B1 (en) Apparatus and auto tagging method for life-log
JP7302566B2 (en) Method, Apparatus and Program
JP6396897B2 (en) Search for events by attendees
CN106652477A (en) Violation recognition method and device
WO2012109330A1 (en) Content storage management in cameras
CN104657409A (en) Apparatus and method for managing image files by displaying backup information
TWI559772B (en) File searching method and image processing device thereof
KR101479260B1 (en) Method for searching closeness between people based on photos
JP6214762B2 (en) Image search system, search screen display method
JP2004229070A (en) File classification device, file classification program, digital camera, and file classification system
CN115114236A (en) Management system and management method for photos and/or videos
CN115309938B (en) Method and system for monitoring and managing law enforcement big data analysis mining
US8571357B2 (en) Image data management apparatus, method and program
KR100934499B1 (en) Guidance information provision method and device
KR102058723B1 (en) System for building a database by extracting and encrypting video objects and its oontrol method
KR20220126105A (en) Smart glasses system including smart glasses and management server, and operation method thereof