TW201013515A - Movable device and method for fleetly displaying pictures - Google Patents

Movable device and method for fleetly displaying pictures Download PDF

Info

Publication number
TW201013515A
TW201013515A TW97136023A TW97136023A TW201013515A TW 201013515 A TW201013515 A TW 201013515A TW 97136023 A TW97136023 A TW 97136023A TW 97136023 A TW97136023 A TW 97136023A TW 201013515 A TW201013515 A TW 201013515A
Authority
TW
Taiwan
Prior art keywords
thumbnail
buffer
picture
index
screen
Prior art date
Application number
TW97136023A
Other languages
Chinese (zh)
Inventor
Tze-Wei Huang
Original Assignee
Chi Mei Comm Systems Inc
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 Chi Mei Comm Systems Inc filed Critical Chi Mei Comm Systems Inc
Priority to TW97136023A priority Critical patent/TW201013515A/en
Publication of TW201013515A publication Critical patent/TW201013515A/en

Links

Abstract

The present invention provides a movable device and method for fleetly displaying pictures. The movable device includes: an initializing module configured for configuring and initializing a length of a former screen buffer and a nonce screen buffer; a thumbnail buffering module configured for searching a thumbnail of a picture in the former screen buffer or a thumbnail storage, copying the thumbnail to the nonce screen buffer if the thumbnail being in the former screen buffer or the thumbnail storage, and converting the picture to a thumbnail if the thumbnail of the picture being not in the former screen buffer or the thumbnail storage; a convert processing module configured for copying the converted thumbnail to the nonce screen buffer; a thumbnail reading module configured for reading the thumbnail from the nonce screen buffer and setting the thumbnail on the screen to display.

Description

201013515 九、發明說明: .【發明所屬之技術領域】 . 本發明是關於一種行動裝置及其快速顯示圖片的方法。 【先前技術】 一般行動裝置的圖片流覽器(Image browser),視行動 裝置螢幕的大小,提供使用者同時流覽2*2=4或3*3=9張圖 片,通常應用在相簿或圖片檔案夾。使用者可透過移動選擇 ❹框促成圖片檔案列表的捲動’潮覽整個圖片槽案列表上的圖 片0 在圖片瀏覽器上顯示的圖片是原圖的縮圖 (Thumbnail)’尺寸較原圖小,以方便瀏覽與辨識。使用者 可透過移動選擇框來選擇感興趣的圖片,進一步將它放大顯 不,或者設定它為桌面,或執行檔案的操作等。因此,如何 提供使用者-個高效率、順暢的圖㈣覽體驗, 器軟體設計的重要考量。 寬 _ 但是’低價的行動裝置,受祕較低的計算能力與較小 的儲存”,容易造成圖㈣覽器無法提供高效率盘順 圖片瀏覽體驗。 ” m v 【發明内容】 種行動裝置及其圖片 快 鑒於以上内容,有必要提供一 速顯示方法。 .該㈣裝置的圖片快速顯示方法包括步驟··初始化步 驟:於订動裝置的儲存體初始化上個螢幕緩衝區及 幕緩衝區的長度’所述上個螢幕緩衝區用於儲存上個榮幕 201013515 緩衝的圖片的縮圖,目 .要緩衝的圖月的縮圖;列蛊:緩衝區用於儲存目前螢幕需 •圖片播案列表時,列座路士’驟·當用戶捲動或重新讀取 前螢幕缓衝區中;縮圖需缓衝縮圖的圓片的索引於目 圖檔儲存區中將列舉的索引=:從上個螢幕缓衝區或縮 前螢幕緩衝區中,及/或將上述二拷貝祐貼至= 衝區或縮®難存區中的♦、+於上個螢幕緩 並將轉換後的縮圖拷貝枯 ·轉、 罾顯千+趿.w n # 主目刖螢幕緩衝區中,·及縮圖 顯不步驟·從目㈣幕緩衝區讀取縮圖並將其設定 顯示及/或將即時轉換完成的縮圖設定於螢幕顯示。、 該能夠快速顯示圖片的行動裝置包括下列模組:初始 化模㉟用於對快速顯不圖片所使用到的縮圖的上個榮幕 緩衝區及目前螢幕緩衝區的長度進行配置及初始化,所述 上個螢幕緩衝區用於館存上個營幕緩衝的圖片的縮圖,目 前螢幕緩衝區用於儲存目前螢幕需要緩衝的圖片的縮圖; ❹縮圖緩衝模組,用於從上個螢幕緩衝區或縮圖檔儲存區中 將目前螢幕緩衝區中列舉的圖片的索引對應的圖片縮圖拷 貝粘貼至目前螢幕緩衝區中,及/或將目前螢幕緩衝區中列 舉的不存在於上個螢幕緩衝區或縮圖檔儲存區中的索引對 應的圖片進行即時轉換;即時轉換結果處理模組,用於將 即時轉換後的縮圖拷貝粘貼到目前螢幕緩衝區中;及縮圖 讀取模組,用於從目前螢幕缓衝區中讀取縮圖並將其設定 於螢幕顯示。 採用本發明的縮圖緩衝機制的低價行動裂置#圖片瀏 201013515 覽器’不管在目前螢幕移動選擇框或是捲動圖片檔案列 .表’新的螢幕上的所有縮圖皆能由·目前螢幕缓衝區讀取, .提咼了圖片的顯示效率。 【實施方式】 如圖1所示’是本發明能夠快速顯示圖片的行動裝置較 佳實施方式的架構圖。該行動裝置1包括顯示螢幕區2,儲 存體3。該儲存體3包括縮圖檔儲存區31和快速顯示圖片單 元32。 該縮圖播儲存區31用於儲存行動裝置1中的圖片的縮 圖,所儲存的縮圖來源包括:照相模組拍完照片後即時儲 存原圖片,並將該原圖片的縮圖存進該縮圖檔儲存區31, 或者是透過圖檔傳輸的途徑將原圖片及其縮圖傳輸進該行 動裝置1中,或者是原圖片在行動裝置被瀏覽時經過了即時 轉換之後儲存到縮圖檔儲存區中的。 該快速顯示圖片單元32被載入在圖片瀏覽器處理程式 ❹中運行。該快速顯示單元32包括初始化模組32〇,縮圖緩衝 模組321,縮圖即時轉換結果處理模組322,縮圖讀取模組 323及空間釋放模組324。本發明所述的模組均是軟體惫義 上的程式。軟體模組化的設計為將來程式的修改與移值帶 來了好處’程式的某些功能如果需要修改,只要修改與該 功能相關的模組,與該功能不相關的其他模組則不需要修 改;若模組化的軟體系統需要移值的時候,也只需要修改 與平台相關的模組即可。 該初始化模組320用於對快速顯示圖片所使用到的炎 201013515 數及所需要的緩衝區進行配置及初始化。在本較佳實施例 .中,所需要的缓衝區包括縮圖的螢幕緩衝區。所使用到的 .參數包括螢幕上縮圖的數量、螢幕緩衝區的長度及縮圖標 的尺寸。 該初始化模組320根據行動裳置1的儲存體容量配置所 述縮圖的螢幕緩衝區的大小。一般而言,所配置的縮圖的 螢幕緩衝區的長度為螢幕上縮圖的數量加螢幕上下二列縮 馨圖數量。在本較佳實施例中,螢幕上的縮圖數量是2χ2個, 一列縮圖的數量為2個,兩列縮圖數量為2χ2個,所以縮圖 螢幕緩衝區的長度為2χ2+2χ2=8個。 該縮圖螢幕緩衝區被分成兩個縮圖緩衝區。因為上一 _個螢幕需要緩衝的内容與目前螢幕需要緩衝的内容不相 同,但疋它們的内容可能有部分相同,所以該縮圖的螢幕 緩衝區被分成上個螢幕緩衝區和目前螢幕緩衝區。該上個 螢幕緩衝區保存上個螢幕的縮圖緩衝内容,該目前螢幕緩 ❹衝區保存目蝻螢幕縮圖緩衝内容,而且可以從上個螢幕緩 衝區拷貝需要的縮圖。所述縮圖螢幕緩衝區保存的縮圖内 容包括縮圖、每個縮圖對應的圖片的儲存路徑及每個圖片 的索引。每個圖片的索引與其對應的圖片的儲存路徑相關 聯’其令圖片的索引用來辨識上個螢幕緩衝區及目前勞幕 緩衝區中的某一個縮圖是否屬於某張圖片。 凊參閱圖3所示,圖3⑷是檔案列表,圖3 (Β)是 上個螢幕緩衝區,圖3 (C)是目前螢幕緩衝區。圖3 (Α) 中的權所不的兩行索引6、7、8及9對應的圖片縮圖是上個 201013515 螢幕顯不的内谷,401所不的兩行索引8、9、⑺及以對應的 J片縮圖是目前螢幕所要顯示的内容。圖3⑻是上個螯 .幕緩衝區所儲存的内容,圖3(c)是目前榮幕缓衝區所儲 存的内容。由該圖3 fA、、mi 圃ΙΑ)圖3(B)及圖3(C)所示,目 前螢幕緩衝區的内容中有三行索引8、9、iq、對 應的圖片縮圖都存在於上個營幕緩衝區中,因此可以直接 從上個螢幕緩衝區中拷貝過來即可,最下面一行的内容沒 髻有在上個螢幕緩衝區中’則需要即時轉換縮圖或者從縮圖 檔儲存區31中讀出。 該初始化模組320根據行動裝置i的儲存體3的容量配 置縮圖槽的尺寸。在本較佳實施例中,在縮圖播儲存區Μ 中儲存的是下列格式的圖片的縮圖:相機模組所照的相片 (尺寸超過640x480的JPG圖片),檔案傳輸模式下放入尺 寸超過1024x768的圖片。 所述縮圖的來源有三種:即時轉換,縮圖檔儲存區31 ©及縮圖的螢幕緩衝區。其中即時轉換的縮圖是指將原圖即 時轉換成縮圖,該種方式是三種方式中最慢的。來源於縮 圖檔儲存區中的縮圖是指該縮圖經過先前的即時轉換之後 儲存到縮圖檔儲存區中的,或是照相模組照完照片後或圖 檔傳輸進行動裝置1後儲存的’但並非所有的原圖片都有縮 =,因此,在行動裝置1令沒有需要的原圖片對應的縮圖的 f月況下,需要對該原圖片進行即時轉換以獲得縮圖。來源 於縮圖的螢幕緩衝區是指該縮圖儲存在上個螢幕緩衝區 中,該種方式是三種方式中最快的。 201013515 該縮圖缓衝模組321用於搜尋目前螢幕緩衝區中各個 .索引對應的圖片縮圖是不是存在於上個螢幕緩衝區中,當 .有索引對應的圖片縮圖存在於上個螢幕缓衝區中時,則將 該索引對應的圖片縮圖拷貝粘貼至目前螢幕缓衝區中;當 有索引對應的圖片縮圖不存在於上個螢幕緩衝區中時,嘗 試從縮圖檔儲存區31中讀取該索引對應的圖片縮圖,如果 讀取成功,則將該索引對應的圖片縮圖從縮圖檔儲存區31 I拷貝粘貼至目前螢幕緩衝區中;如果讀取縮圖檔儲存區失 馨 敗,則傳送即時轉換請求至圖片解碼器以對該索引對應的 圖片進行縮圖轉換。 該即時轉換結果處理模組322用於將轉換後的縮圖拷 貝粘貼至目前螢幕緩衝區中,及如果該轉換後的縮圖是要 在目前螢幕上顯示的縮圖時,該即時轉換結果處理模組322 需要將該轉換後的縮圖設定於顯示螢幕區2中顯示。 該縮圖讀取模組323用於從目前螢幕緩衝區中讀取需 ❹要顯示的縮圖並將其設定於顯示螢幕區2中顯示;如果該縮 圖不在目前螢幕緩衝區中,表示該縮圖尚需要即時轉換, 轉換後的縮圖稍後由即時轉換結果處理模組設定於顯示螢 幕區2顯示。 該空間釋放模組324用於在需要的時候釋放由初始化 模組320所配置及初始化的參數及緩衝區所佔用的儲存體 空間。比如,當需要重新配置縮圖的緩衝區的長度或縮圖 檔的尺寸等的時候,可由該空間釋放模組324釋放空間以重 新配置。 11 201013515 法圖2所不’疋在本發明行動裝置快速顯示圖片的方 •法流程圖。 ,執行快速顯示圖片之前,需要做準備步驟,由初始 =32_始化及配置於該行動裝置!快速顯示圖片所需 二及緩衝區。在本較佳實施例中,所需要的緩衝區包 =圖的榮幕緩衝區。所使用到的參數包括螢幕上縮圖的 數量、螢幕緩衝區的長度及縮圖檔的尺寸。 ❿ 纟驟S2GG在用戶在圖片檔案列表或相薄中進行劉覽 想從目前螢幕切換到下個螢幕時,使用者需要捲動 或者重新讀取圖片檔案列表,如圖3(A)所示。 步驟S202,當使用者停止捲動或者停止讀取圖片槽案 列表時’新的需要顯示的圖片的索引被列舉在榮幕上,針 對該新的需要顯示在目前螢幕上的圖片索引,將所 緩衝縮圖的圖片索引列舉在目前f幕緩衝區中。該列舉 目前營幕緩衝區中的圖片索引可為目前螢幕上的圖片的索 ❿引、目前螢幕上面與下面的一列圖片的索引。請參見圖3 (A)、(B)、(C)所示,在(c)所示的目前螢幕緩衝 中,403所示的圖片索引均位於上個螢幕緩衝區中,4 示的圖片索引未出現在上個螢幕緩衝區中。 步驟S204,縮圖緩衝模組321檢查列舉在目前螢幕緩 衝區中的圖片的縮圖來源。也即根據列舉在目前營幕徐 區中的圖片索引’搜尋上個螢幕緩衝區’當在上個鸯幕線 衝區中搜尋到該圖片的索引時,則表明該圖片的縮圖存在 於上個螢幕緩衝區中,進入步驟S205;當在上個螢幕緩衝 12 201013515 區中沒有搜尋到該圖片的索引時,則嘗試讀取縮圖檔儲存 .區31,如果在縮圖檔儲存區31中讀取到該圖片的索引,則 .表明該要顯不的圖片的縮圖存在於縮圖槽儲存區31 *進入 步驟S206 ;如果讀取縮圖檔儲存區31失敗,則傳送即時轉 換縮圖的需求,進入步驟S208。 步驟S205,縮圖缓衝模組321根據該圖片的索引從上 個螢幕缓衝區中拷貝該圖片的縮圖。 ©步驟S206,該縮圖緩衝模組321根據該圖片的索引從 縮圖檔儲存區31中拷貝該圖片的縮圖。 步驟S208,該縮圖緩衝模組321將即時進行縮圖轉換 的請求傳送至圖片解碼器進行縮圖轉換,由原圖轉換成縮 圖。該轉換的過程需耗費較多的時間,所以轉換縮圖的運 .作與該縮圖緩衝機制是非同步的。當為某圖片提出即時轉 換成縮圖的請求後,可馬上檢查下一個列舉出來的圖片索 引所對應的圖片。 φ 步驟S210,該縮圖緩衝模組321將上述拷貝的縮圖粘 貼至目前螢幕缓衝區中,或由縮圖即時轉換結果處理模組 322將轉換後的縮圖拷貝粘貼目前螢幕緩衝區中。 步驟S212,縮圖緩衝模組321判斷列舉在目前螢幕緩 衝區中的圖片索引是否均檢查過,當還有圖片索引未檢查 時返回到步驟S204,當所有列舉在目前螢幕緩衝區中的圖 片索引均檢查過時,進入步驟S214。 步驟S214,縮圖讀取模組324從目前螢幕緩衝區將縮 圖讀出,並將所讀出的縮圖設定至螢幕以顯示。如果所列 13 201013515 舉出的圖片索引所對應的圖片的縮圖未顯示在螢幕上,表 ,示該圖片的縮圖正在轉換中,待轉換完成後,由縮圖即時 ,轉換結果處理模組322再將其設定於螢幕中顯示。 在該行動裝置1的使用中,當需要重新配置縮圖的緩衝 區的長度或縮圖檔的尺寸的時候,可由空間釋放模組324 釋放由初始化模組3 20所配置及初始化的參數及緩衝區所 佔用的儲存體空間以重新進行縮圖緩衝區的長度及縮圖檔 的尺寸的合理配置。 以上所述僅為本發明之較佳實施例而已,且已達廣泛 之使用功效,凡其他未脫離本發明所揭示之精神下所完成 之均等變化或修飾,均應包含在下述之申請專利範圍内。 【圖式簡單說明】 圖1係本發明能夠快速顯示圖片的行動裝置較佳實施方 式的架構圖。 圖2係在本發明行動裝置快速顯示圖片的方法流程圖。 | 圖3係縮圖螢幕缓衝區的示意圖。 【主要元件符號說明】 行動裝置 1 顯示螢幕區 2 儲存體 3 縮圖槽儲存區 31 快速顯示圖片單元 32 初始化模組 320 縮圖緩衝模組 321 14 201013515 即時轉換結果處理模組 322 縮圖讀取模組 323 空間釋放模組 324201013515 IX. Description of the invention: . [Technical field to which the invention pertains] The present invention relates to a mobile device and a method thereof for quickly displaying a picture. [Prior Art] The image browser of the general mobile device, depending on the size of the mobile device screen, provides the user with a view of 2*2=4 or 3*3=9 pictures at the same time, usually applied to the album or Picture folder. The user can scroll through the list of picture files by moving the selection frame. 'The picture on the entire picture slot list is displayed. 0 The picture displayed on the picture browser is the thumbnail of the original picture. The size is smaller than the original picture. For easy browsing and identification. The user can select the image of interest by moving the selection box, further enlarge it, or set it as a desktop, or perform file operations. Therefore, how to provide users - an efficient, smooth picture (four) viewing experience, the important considerations of the software design. Width _ But 'low-cost mobile devices, with lower computing power and smaller storage capacity, are more likely to cause the picture (4) browser to provide a high-efficiency disk-sliding picture browsing experience." mv [Summary] Mobile devices and The picture is fast. In view of the above, it is necessary to provide a one-speed display method. The picture display method of the (4) device comprises the steps of: initializing: initializing the last screen buffer and the length of the screen buffer in the storage unit of the binding device. The last screen buffer is used to store the last honor screen. 201013515 The thumbnail of the buffered picture, the thumbnail of the picture month to be buffered; the column: the buffer is used to store the current screen needs • When the picture is broadcasted, the list of roads is 'sudden· when the user scrolls or re-creates The index in the front screen buffer is read; the index of the wafer to be buffered in the thumbnail is indexed in the destination file storage area = from the previous screen buffer or the pre-shrink buffer buffer, and / or paste the above two copies to the = rush area or shrinking ® hard-to-save area ♦, + on the last screen slow and convert the converted thumbnail image dry · turn, 罾显千+趿.wn # 主目In the screen buffer, the thumbnails are not displayed. The thumbnails are read from the target (four) buffer and their settings are displayed and/or the thumbnails completed by the instant conversion are set on the screen display. The mobile device capable of quickly displaying the picture comprises the following modules: the initialization module 35 is configured to configure and initialize the last glory buffer of the thumbnail used by the fast display picture and the length of the current screen buffer. The previous screen buffer is used to save a thumbnail of the picture of the last camp buffer. The current screen buffer is used to store the thumbnail of the picture that needs to be buffered on the current screen. The thumbnail buffer module is used to save the picture. Copy or paste the thumbnail of the image corresponding to the index of the picture listed in the current screen buffer into the current screen buffer in the screen buffer or thumbnail file storage area, and/or the non-existent listed in the current screen buffer The screen corresponding to the index in the screen buffer or the thumbnail file storage area is instantly converted; the instant conversion result processing module is used to paste the instant converted thumbnail image into the current screen buffer; and the thumbnail image is read. A module that reads thumbnails from the current screen buffer and sets them on the screen display. The low-cost action splitting using the thumbnail buffering mechanism of the present invention #图片浏201013515 The browser 'whether in the current screen moving selection box or scrolling the picture file column. Table 'all thumbnails on the new screen can be At present, the screen buffer is read, and the display efficiency of the picture is improved. [Embodiment] As shown in Fig. 1, ' is an architectural diagram of a preferred embodiment of a mobile device capable of quickly displaying pictures. The mobile device 1 includes a display screen area 2, a storage body 3. The storage body 3 includes a thumbnail storage area 31 and a quick display picture unit 32. The thumbnail storage area 31 is configured to store a thumbnail of the picture in the mobile device 1. The stored thumbnail source includes: the camera module stores the original picture immediately after taking the picture, and saves the thumbnail of the original picture into the original picture. The thumbnail file storage area 31, or the original picture and its thumbnail image are transmitted into the mobile device 1 through the way of image file transmission, or the original picture is stored in the thumbnail image after being instantaneously converted when the mobile device is browsed. In the file storage area. The quick display picture unit 32 is loaded and run in the picture browser processing program. The quick display unit 32 includes an initialization module 32, a thumbnail buffer module 321, a thumbnail instant conversion result processing module 322, a thumbnail reading module 323 and a space release module 324. The modules described in the present invention are all software-implemented programs. The modular design of the software brings benefits to the modification and shifting of the program in the future. If some functions of the program need to be modified, as long as the module related to the function is modified, other modules not related to the function are not required. Modification; if the modular software system needs to be moved, it only needs to modify the module related to the platform. The initialization module 320 is configured to configure and initialize the number of inflammation 201013515 used by the quick display picture and the required buffer. In the preferred embodiment, the required buffer includes a thumbnail buffer. The . parameters used include the number of thumbnails on the screen, the length of the screen buffer, and the size of the thumbnail icon. The initialization module 320 configures the size of the thumbnail buffer of the thumbnail according to the storage capacity of the action slot 1. In general, the length of the configured thumbnail buffer is the number of thumbnails on the screen plus the number of thumbnails on the top and bottom of the screen. In the preferred embodiment, the number of thumbnails on the screen is 2χ2, the number of thumbnails in one column is 2, and the number of thumbnails in two columns is 2χ2, so the length of the thumbnail buffer is 2χ2+2χ2=8 One. The thumbnail screen buffer is divided into two thumbnail buffers. Because the contents of the previous screen need to be buffered differently from the content that the current screen needs to buffer, but their contents may be partially the same, the thumbnail buffer of the thumbnail is divided into the previous screen buffer and the current screen buffer. . The last screen buffer saves the thumbnail buffer content of the previous screen. The current screen buffer saves the screen thumbnail buffer content and can copy the required thumbnails from the previous screen buffer. The thumbnail content saved by the thumbnail screen buffer includes a thumbnail image, a storage path of the image corresponding to each thumbnail image, and an index of each image. The index of each picture is associated with the storage path of its corresponding picture. The index of the picture is used to identify whether the thumbnail of the previous screen buffer and the current screen buffer belongs to a picture. Referring to Figure 3, Figure 3 (4) is the file list, Figure 3 (Β) is the last screen buffer, and Figure 3 (C) is the current screen buffer. The thumbnails of the two rows of indexes 6, 7, 8, and 9 in Figure 3 (Α) are the inner valleys of the last 201013515 screen, and the two rows of indexes 401, 8, and (7) The corresponding J-slice thumbnail is what the current screen will display. Figure 3(8) shows the contents of the last snippet buffer, and Figure 3(c) shows the contents of the current glory buffer. Figure 3 fA, mi 圃ΙΑ) Figure 3 (B) and Figure 3 (C), the current content of the screen buffer has three rows of indexes 8, 9, iq, the corresponding image thumbnails are present on In the camp buffer, so you can copy it directly from the previous screen buffer. The content of the bottom line is not in the previous screen buffer. Then you need to convert the thumbnail or save it from the thumbnail file. Read out in area 31. The initialization module 320 configures the size of the thumbnail groove in accordance with the capacity of the storage unit 3 of the mobile device i. In the preferred embodiment, a thumbnail of a picture in the following format is stored in the thumbnail storage area: a photo taken by the camera module (a JPG picture having a size exceeding 640×480), and a size is input in the file transfer mode. More than 1024x768 images. There are three sources of the thumbnail: instant conversion, thumbnail file storage area 31 © and thumbnail screen buffer. The thumbnail of the instant conversion refers to the instant conversion of the original image into a thumbnail, which is the slowest of the three methods. The thumbnail image from the thumbnail file storage area means that the thumbnail image is stored in the thumbnail file storage area after the previous instant conversion, or after the camera module takes the photo or the image file is transmitted to the moving device 1 The stored 'but not all of the original pictures have a thumbnail =, therefore, in the case of the mobile device 1 to make the thumbnail of the original picture corresponding to the original picture, the original picture needs to be converted in real time to obtain a thumbnail. The screen buffer from the thumbnail means that the thumbnail is stored in the previous screen buffer, which is the fastest of the three methods. 201013515 The thumbnail buffer module 321 is configured to search whether the thumbnail of the image corresponding to each index in the current screen buffer exists in the previous screen buffer, and the thumbnail of the image corresponding to the index exists on the previous screen. When the buffer is in the buffer, the thumbnail of the image corresponding to the index is pasted into the current screen buffer; when the thumbnail of the image corresponding to the index does not exist in the previous screen buffer, try to save from the thumbnail file. The thumbnail of the picture corresponding to the index is read in the area 31. If the reading is successful, the thumbnail of the picture corresponding to the index is copied and pasted from the thumbnail file storage area 31 I to the current screen buffer; if the thumbnail file is read If the storage area fails, the instant conversion request is transmitted to the picture decoder to perform thumbnail conversion on the picture corresponding to the index. The instant conversion result processing module 322 is configured to paste the converted thumbnail copy into the current screen buffer, and if the converted thumbnail image is a thumbnail image to be displayed on the current screen, the instant conversion result processing The module 322 needs to set the converted thumbnail to be displayed in the display screen area 2. The thumbnail reading module 323 is configured to read a thumbnail image to be displayed from the current screen buffer and set it to be displayed in the display screen area 2; if the thumbnail image is not in the current screen buffer, the The thumbnail image still needs to be converted in real time, and the converted thumbnail image is later set by the instant conversion result processing module to be displayed on the display screen area 2. The space release module 324 is configured to release the parameters configured by the initialization module 320 and initialized and the memory space occupied by the buffer when needed. For example, when it is necessary to reconfigure the length of the thumbnail buffer or the size of the thumbnail file, etc., the space release module 324 can free up space for reconfiguration. 11 201013515 Figure 2 is not a flowchart of the method for quickly displaying pictures in the mobile device of the present invention. Before performing a quick display of the picture, you need to prepare the steps, starting from the initial =32_ and configuring it on the mobile device! Quickly display the picture and the buffer. In the preferred embodiment, the required buffer packet = the honor buffer of the graph. The parameters used include the number of thumbnails on the screen, the length of the screen buffer, and the size of the thumbnail file.纟 Step S2GG in the user's picture file list or in the thin picture. When you want to switch from the current screen to the next screen, the user needs to scroll or re-read the picture file list, as shown in Figure 3(A). Step S202, when the user stops scrolling or stops reading the image slot list, the index of the new image to be displayed is listed on the screen, and the image index displayed on the current screen is displayed for the new image. The image index of the buffered thumbnail is listed in the current f-screen buffer. The list of images in the current camp buffer can be the index of the current picture on the screen, the index of the current list of pictures above and below. Referring to FIG. 3 (A), (B), (C), in the current screen buffer shown in (c), the picture index shown by 403 is located in the previous screen buffer, and the picture index of 4 is shown. Did not appear in the previous screen buffer. In step S204, the thumbnail buffer module 321 checks the thumbnail source of the picture listed in the current screen buffer. That is, according to the image index 'searching the last screen buffer' listed in the current camp Xu area, when the index of the picture is searched in the last screen line, it indicates that the thumbnail of the picture exists on the picture. In the screen buffer, the process proceeds to step S205; when the index of the picture is not found in the last screen buffer 12 201013515 area, the thumbnail file storage area 31 is attempted to be read, if in the thumbnail file storage area 31 Reading the index of the picture, indicating that the thumbnail of the picture to be displayed exists in the thumbnail slot storage area 31 * proceeds to step S206; if the thumbnail file storage area 31 fails to be processed, the instant conversion thumbnail is transmitted The demand proceeds to step S208. In step S205, the thumbnail buffer module 321 copies the thumbnail of the picture from the previous screen buffer according to the index of the picture. © step S206, the thumbnail buffer module 321 copies a thumbnail of the picture from the thumbnail file storage area 31 according to the index of the picture. In step S208, the thumbnail buffer module 321 transmits the request for immediate thumbnail conversion to the picture decoder for thumbnail conversion, and converts the original image into a thumbnail image. The conversion process takes a lot of time, so the conversion thumbnail is not synchronized with the thumbnail buffer mechanism. When a request for immediate conversion to a thumbnail is made for an image, the image corresponding to the next listed image index can be checked immediately. φ Step S210, the thumbnail buffer module 321 pastes the thumbnail of the copy into the current screen buffer, or pastes the converted thumbnail image into the current screen buffer by the thumbnail instant conversion result processing module 322. . Step S212, the thumbnail buffer module 321 determines whether the picture indexes listed in the current screen buffer are all checked, and when there are still picture indexes not checked, returns to step S204, when all the pictures index listed in the current screen buffer are returned. If the check is out of date, the process proceeds to step S214. In step S214, the thumbnail reading module 324 reads the thumbnail from the current screen buffer and sets the read thumbnail to the screen for display. If the thumbnail of the image corresponding to the image index listed in 13 201013515 is not displayed on the screen, the table shows that the thumbnail of the image is being converted. After the conversion is completed, the thumbnail is converted, and the result processing module is converted. 322 then set it to display on the screen. In the use of the mobile device 1, when the length of the thumbnail buffer or the size of the thumbnail file needs to be reconfigured, the space release module 324 can release the parameters and buffers configured and initialized by the initialization module 320. The storage space occupied by the area is reconfigured to reconfigure the length of the thumbnail buffer and the size of the thumbnail file. The above is only the preferred embodiment of the present invention, and has been used in a wide range of applications. Any other equivalent changes or modifications which are not departing from the spirit of the present invention should be included in the following claims. Inside. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram showing a preferred embodiment of a mobile device capable of quickly displaying pictures. 2 is a flow chart of a method for quickly displaying a picture in the mobile device of the present invention. Figure 3 is a schematic diagram of a thumbnail buffer. [Main component symbol description] Mobile device 1 Display screen area 2 Storage body 3 Thumbnail slot storage area 31 Quick display picture unit 32 Initialization module 320 Thumbnail buffer module 321 14 201013515 Instant conversion result processing module 322 Thumbnail reading Module 323 space release module 324

1515

Claims (1)

201013515 十、申請專利範圍: * 1 ·—種行動裝置的圖片快速顯示方法,該方法包括: ‘ 7始化步驟··於行動裝置的儲存體初始化上個螢幕緩衝 區及目則螢幕緩衝區的長度,所述上個絲緩衝區用於 儲存上個螢幕緩衝的圖片的縮圖,目前螢幕緩衝區用於 儲存目前螢幕需要緩衝的圖片的縮圖; 列舉步驟:當用戶捲動或重新讀取圖片檔案列表時,列 ❿舉所有需緩衝縮圖的圖片的索引於目前螢幕緩衝區中; 縮圖緩衝步驟:從上個螢幕緩衝區或縮圖檔儲存區中將 J舉的索引對應的圖片縮圖拷貝枯貼至目前螢幕緩衝 區中’及/或將上述列舉的不存在於上個螢幕緩衝區或 縮圖檔儲存區中的索引對應的圖片進行即時轉換,並將 轉換後的縮圖拷貝粘貼至目前螢幕緩衝區中;及 縮圖顯示步驟··從目前螢幕緩衝區讀取縮圖並將其設定 於螢幕顯示及/或將即時轉換完成的縮圖設定於螢幕顯 參 示。 2如申請專利範圍第1項所述之圖片快速顯示方法,該 方法還包括步驟: :需要重新配置儲存體空間時,釋放所配置的上個螢幕 緩衝區、目前螢幕緩衝區所佔用的儲存體空間。 如申請專利範圍第1項所述之圖片快速顯示方法,其 中’所述縮圖緩衝步驟具體包括: S1 *從·上*個螢幕緩衝區中搜尋列舉的索引對應的圖片 '缩® ’若搜尋到列舉的索引對應的圖片縮圖,則進入步 16 201013515 驟S4,或者,若沒有搜尋到列舉的索引對應的圖片縮 , 圖’則進入步驟S2 ; ^ S2 :在縮圖檔儲存區中搜尋列舉的索引對應的圖片縮 圖’若搜尋到列舉的索引對應的圖片縮圖,則進入步驟 S4,或者’若沒有搜尋到列舉的索引對應的圖片縮圖, 則進入步驟S3 ; 53 :提出即時轉換請求給圖片解碼器對步驟S2中沒有 _ 搜尋到的列舉的索引對應的圖片進行縮圖轉換以獲得 對應的圖片縮圖; 54 :將搜尋到的圖片縮圖及/或轉換後的圖片縮圖拷貝 粘貼到目前螢幕緩衝區。 4.一種能夠快速顯示圖片的行動裝置,該行動裝置包括: 初始化模組,用於對快速顯示圖片所使用到的縮圖的上 個螢幕緩衝區及目前螢幕緩衝區的長度進行配置及初 始化,所述上個螢幕緩衝區用於儲存上個螢幕緩衝的圖 睿 片的縮圖,目前螢幕緩衝區用於儲存目前螢幕需要緩衝 的圖片的縮圖; 縮圖緩衝模組’用純上個螢幕緩職或顧槽儲存區 中將目前螢幕緩衝區中列舉的圖片的索引對應的圖片 縮圖拷貝枯貼至目前螢幕緩衝區中,及/或將目前榮幕 緩衝區中列舉的不存在於上㈣幕緩㈣或__ 存£中的索引對應的圖片進行即時轉換· 圖拷貝 即時轉換結果處理模組,用於將即時轉換後的縮 點貼到目前螢幕緩衝區中;及 — 17 201013515 縮圖讀取模組,用於從目前螢幕緩衝區中讀取縮圖並將 , 其設定於螢幕顯示。 .5*如申請專利範圍第4項所述之行動裝置,其中,所述 的縮圖緩衝模組具體是透過以下步驟進行縮圖緩衝的: S1 :從上個螢幕緩衝區中搜尋目前螢幕緩衝區中列舉 的圖片索引對應的圖片縮圖,若搜尋到列舉的索引對應 的圖片縮圖’則進入步驟S4,或者,若沒有搜尋到列 φ 舉的索引對應的圖片縮圖,則進入步驟S2 ; s2 :在縮圖檔儲存區中搜尋列舉的索引對應的圖片縮 圖’若搜尋到列舉的索引對應的圖片縮圖,則進入步驟 S4,或者,若沒有搜尋到列舉的索引對應的圖片縮圖, 則進入步驟S3 ; S3 ··提出即時轉換請求給圖片解碼器對步驟s2中沒有 搜尋到的列舉的索引對應的圖片進行縮圖轉換以獲得 對應的圖片縮圖; ❿ S4 ·將搜尋到的圖片縮圖拷貝粘貼到目前螢幕緩衝區。 6 ·如申請專利範圍第4項所述之行動裝置,其中,所述 的即時轉換結果處理模組還用於當即時轉換後的縮圖 疋目前螢幕上的需要顯示的縮圖時,將該縮圖設定於螢 幕顯示。 7 ·如申請專利範圍第4項所述之行動裝置,該行動裝置 還包括空間釋放模組,用於在需要的時候釋放由初始化 模組所配置及初始化的上個螢幕緩衝區、目前螢幕緩衝 區所佔用的儲存體空間以重新進行合理配置。 18201013515 X. Patent application scope: * 1 · A quick display method for the picture of the mobile device, the method includes: ' 7 initialization step · Initializing the last screen buffer and the target buffer buffer in the storage device of the mobile device Length, the last silk buffer is used to store a thumbnail of the last screen buffered picture, and the current screen buffer is used to store a thumbnail of the picture that the current screen needs to buffer; enumeration steps: when the user scrolls or re-reads In the picture file list, the index of all the pictures that need to buffer the thumbnail is in the current screen buffer; thumbnail buffering step: the picture corresponding to the index of the J from the previous screen buffer or thumbnail file storage area The thumbnail copy is pasted into the current screen buffer' and/or the image corresponding to the index listed above that does not exist in the last screen buffer or thumbnail file storage area is instantly converted, and the converted thumbnail image is converted. Copy and paste into the current screen buffer; and thumbnail display steps · Read the thumbnail from the current screen buffer and set it on the screen display and / or will be converted instantly The thumbnails are set to display on the screen. 2 The image fast display method according to claim 1, wherein the method further comprises the steps of: releasing the configured last screen buffer and the storage space occupied by the current screen buffer when the storage space needs to be reconfigured space. The image fast display method according to claim 1, wherein the thumbnail thumbnail buffering step specifically includes: S1 * searching for the corresponding index of the image from the top* screen buffers. To the thumbnail of the picture corresponding to the enumerated index, proceed to step 16 201013515 to step S4, or, if the picture corresponding to the listed index is not searched, the picture proceeds to step S2; ^ S2: search in the thumbnail file storage area If the thumbnail of the picture corresponding to the enumerated index is searched, the process proceeds to step S4, or if the thumbnail of the picture corresponding to the listed index is not found, the process proceeds to step S3; Converting the request to the picture decoder to perform thumbnail conversion on the picture corresponding to the index of the enumerated search in step S2 to obtain a corresponding picture thumbnail; 54: shrinking the searched picture thumbnail and/or the converted picture Copy and paste the image into the current screen buffer. 4. A mobile device capable of quickly displaying a picture, the mobile device comprising: an initialization module configured to configure and initialize a last screen buffer of a thumbnail used in quickly displaying a picture and a length of a current screen buffer, The last screen buffer is used to store a thumbnail of the image buffer of the previous screen buffer, and the current screen buffer is used to store a thumbnail of the image that needs to be buffered on the current screen; the thumbnail buffer module is used with a pure screen. The thumbnail image corresponding to the index of the picture listed in the current screen buffer is pasted into the current screen buffer, and/or the current list of the honor buffer is not present in the buffer or storage area. (4) The screen corresponding to the index in the screen (4) or __ saves the instant conversion. The image copy instant conversion result processing module is used to paste the instant converted thumbnail point into the current screen buffer; and — 17 201013515 The picture reading module is used to read the thumbnail from the current screen buffer and set it on the screen display. The mobile device of claim 4, wherein the thumbnail buffer module is specifically buffered by the following steps: S1: searching for the current screen buffer from the previous screen buffer If the thumbnail of the image corresponding to the index of the enumerated image is searched, the process proceeds to step S4, or if the thumbnail of the image corresponding to the index of the column φ is not found, the process proceeds to step S2. ; s2 : search for the thumbnail of the picture corresponding to the listed index in the thumbnail file storage area. If the thumbnail of the picture corresponding to the listed index is searched, the process proceeds to step S4, or if the picture corresponding to the listed index is not found, If yes, the process proceeds to step S3; S3 · submits an instant conversion request to the picture decoder to perform thumbnail conversion on the picture corresponding to the index that is not searched in step s2 to obtain a corresponding picture thumbnail; ❿ S4 · will search Copy the picture thumbnail to the current screen buffer. 6. The mobile device according to claim 4, wherein the instant conversion result processing module is further configured to: when the thumbnail image of the instant conversion is displayed on the current screen, the thumbnail image is The thumbnail is set on the screen. 7. The mobile device of claim 4, wherein the mobile device further comprises a space release module for releasing the last screen buffer configured and initialized by the initialization module when needed, the current screen buffer The storage space occupied by the area is reconfigured reasonably. 18
TW97136023A 2008-09-19 2008-09-19 Movable device and method for fleetly displaying pictures TW201013515A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97136023A TW201013515A (en) 2008-09-19 2008-09-19 Movable device and method for fleetly displaying pictures

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97136023A TW201013515A (en) 2008-09-19 2008-09-19 Movable device and method for fleetly displaying pictures

Publications (1)

Publication Number Publication Date
TW201013515A true TW201013515A (en) 2010-04-01

Family

ID=44829374

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97136023A TW201013515A (en) 2008-09-19 2008-09-19 Movable device and method for fleetly displaying pictures

Country Status (1)

Country Link
TW (1) TW201013515A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI453656B (en) * 2010-07-29 2014-09-21 Mitac Int Corp Hand-held mobile apparatus of instantly displaying pictures and method thereof
TWI479346B (en) * 2012-03-01 2015-04-01 Altek Corp Thumbnail image preview apparatus and method thereof
TWI493498B (en) * 2013-12-19 2015-07-21 英業達股份有限公司 System for displaying images in webpage based on viewable area and method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI453656B (en) * 2010-07-29 2014-09-21 Mitac Int Corp Hand-held mobile apparatus of instantly displaying pictures and method thereof
TWI479346B (en) * 2012-03-01 2015-04-01 Altek Corp Thumbnail image preview apparatus and method thereof
TWI493498B (en) * 2013-12-19 2015-07-21 英業達股份有限公司 System for displaying images in webpage based on viewable area and method thereof

Similar Documents

Publication Publication Date Title
US10444947B1 (en) Document layer extraction for mobile devices
CN101667185B (en) Mobile device and fast display method of image thereof
US20080013864A1 (en) Thumbnail image browsing method in an embedded system
US20100251085A1 (en) Content and subfolder navigation control
WO2015007125A1 (en) Method and apparatus for scanning file in memory
TW200818858A (en) Display device, transmission device, display system, display method, transmission method and computer-readable medium embodying program
WO2015070581A1 (en) Method and apparatus for saving file, and mobile terminal
JP5214051B1 (en) Image processing apparatus and image processing program
WO2014075500A1 (en) Method and device for previewing file and storage medium
CN103677517B (en) A kind of picture searching method and apparatus
US8910083B2 (en) Multi-source picture viewer for portable electronic device
CN103177101B (en) A kind of method of circulation display thumbnail on folder icon and device
CN101685371A (en) Electronic device and method for reducing operation response time thereof
TW201013515A (en) Movable device and method for fleetly displaying pictures
CN101546546B (en) Network data converter and method for controlling data conversion
WO2015000433A1 (en) Multimedia search method, terminal, server and system
WO2016111882A1 (en) Control of access and management of browser annotations
WO2018201993A1 (en) Image drawing method, terminal and storage medium
JP6292862B2 (en) Image processing apparatus, image processing method, and program
KR100620008B1 (en) Hierarchical image searching method for mobile communication terminal
WO2017071217A1 (en) Method and device for displaying and saving mail body embedded picture
KR20060007852A (en) Effective image searching method for mobile communication terminal
CN105205069B (en) Cache opening method and device based on paging file
JP2004048564A (en) Digital camera apparatus
TWI469081B (en) Electronic device with less response time and method for reducing response time of an electronic device