TW201012168A - System and method for converting pictures of mobile phone - Google Patents

System and method for converting pictures of mobile phone Download PDF

Info

Publication number
TW201012168A
TW201012168A TW97135082A TW97135082A TW201012168A TW 201012168 A TW201012168 A TW 201012168A TW 97135082 A TW97135082 A TW 97135082A TW 97135082 A TW97135082 A TW 97135082A TW 201012168 A TW201012168 A TW 201012168A
Authority
TW
Taiwan
Prior art keywords
conversion request
picture
double
request
image conversion
Prior art date
Application number
TW97135082A
Other languages
Chinese (zh)
Other versions
TWI486048B (en
Inventor
Peng-Yang Hung
Sheng-Chien 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 TW097135082A priority Critical patent/TWI486048B/en
Publication of TW201012168A publication Critical patent/TW201012168A/en
Application granted granted Critical
Publication of TWI486048B publication Critical patent/TWI486048B/en

Links

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A system for converting pictures of mobile phone is provided. The system includes: an increasing module, a converting module, a interrupting module, and a deleting module. The increasing module is configured for enqueue a received request of converting pictures into the trail. The converting module is configured for executing a request from a deque which has the highest priority. The interrupting module is configured for interrupting the converting request and enqueue the request to a corresponding deque according to the priority of the request, if the priority of the increasing request is higher than the priority of the converting request. The deleting module is configured for recording a request if a application program wants to delete the request, and deleting the request when the request arrives at the trail of the deque. A related system for converting pictures of mobile phone is also disclosed.

Description

201012168 九、發明說明: , 【發明所屬之技術領域】 , 本發明涉及一種手機圖片轉換系統方法。 【先前技術】 隨著通訊技術的發展,各類用於通訊的電子產品成本 越來越低,市場價格也隨之下降,從而得以更普遍地應用, 例如,手機的普及率越來越高,如今手機已成為目前普及 使用的通訊模組,其可以用來交流資訊及聯繫感情等,成 ® 為廣大用戶日常生活中不可缺少的通訊工具。 目前市場上出現了很多智慧手機,這些智慧手機的功 能也日益強大,隨著手機功能的強大,手機中各個應用程 式的運行速度成了手機性能好壞的主要因素之一。例如手 機中的圖片顯示功能:手機來電顯示圖片、手機相薄中的 圖片顯示、手機螢幕背景圖片顯示等。當使用者觀看手機 中的圖片時,這時又有手機來電,由於功能表顯示程式和 圖檔轉換程式運行於同一個程序,而同一個程序中,程式 參 需要逐條執行程式碼,功能表顯示程式運行時,中間可能 產生時間空隙,造成了程式運行速度缓慢,使得手機圖片 轉換速度減慢:。 【發明内容】 鑒於以上内容,有必要提供一種手機圖片轉換系統及 方法,可以提高圖片轉換速度。 一種手機圖片轉換系統,該系統獨立運行於手機的一 個圖片轉換程序上,該圖片轉換程序設置有至少一個檢查 7 201012168201012168 IX. Inventive description: [Technical field of invention] The present invention relates to a mobile phone picture conversion system method. [Prior Art] With the development of communication technology, the cost of various electronic products used for communication is getting lower and lower, and the market price is also decreasing, so that it can be more widely used. For example, the popularity of mobile phones is getting higher and higher. Nowadays, mobile phones have become a popular communication module, which can be used to exchange information and connect with feelings, etc., into an indispensable communication tool for users in their daily lives. There are a lot of smart phones on the market, and the functions of these smart phones are becoming more and more powerful. With the powerful functions of mobile phones, the running speed of various applications in mobile phones has become one of the main factors of the performance of mobile phones. For example, the picture display function in the mobile phone: the caller ID picture of the mobile phone, the picture display in the thin cell phone, the background image display of the mobile phone screen, and the like. When the user watches the picture in the mobile phone, there is a mobile phone call at this time, because the function table display program and the image file conversion program run in the same program, and in the same program, the program parameter needs to execute the code one by one, the function table displays When the program is running, there may be a time gap in the middle, which causes the program to run slowly, which slows the conversion speed of the mobile phone picture: SUMMARY OF THE INVENTION In view of the above, it is necessary to provide a mobile phone picture conversion system and method, which can improve picture conversion speed. A mobile phone picture conversion system, the system independently runs on a picture conversion program of the mobile phone, and the picture conversion program is provided with at least one check 7 201012168

點,該系統包括多個優先權不同的雙端佇列,以存儲不同 優先權對應的圖片轉換請求’該系統還包括:圖片轉換請 求新增模組,用於接收應用程式所發送的圖片轉換請求, 根據其優先權腳雙端㈣,並將該圖片轉換請求插入該 雙端仔列隊尾;®片轉換模組,用於㈣雙簡列優先權 的高低順序從當前最高㈣權的雙端約】的隊尾取出圖片 轉換請求來執行;中斷模組,騎當新増的圖片轉換請求 的優先權高於當前執行的圖片轉換請求的優切時,於檢 查點設置中斷職並記錄中斷原因,中斷當前執行的圖片 轉換請求,並將該中斷的圖片轉換請求根據其優先權重新 ^入至對應的雙端㈣的隊尾,或者當該新増的圖片轉換 睛j的優先權低於當前執行的圖片轉換請求時,繼續執行 田則的圖片轉換請求;及圖片轉換請求刪除模組,用於在 執行該圖片轉換請求時,當有刪除雙料列中的圖片轉換 請求時,記錄該圖片轉換請求,等到該圖片轉換請求到達 雙端佇列的隊尾時,刪除該圖片轉換請求。 種手機圖片轉換方法,該方法包括如下步驟:(A) 於手機的圖片轉換程序設置檢查點;(B)提供多個優先權 不同的雙端佇列以存放對應優先權的圖片轉換請求;(c) 按照雙端㈣優先權的高低順序’依次從當^高優先權 =端仔列隊尾取出—個圖片轉換請求並執行該圖片轉換 圖:轉C該圖片轉換請求時’當雙端佇列中新增 執增的圖片轉換請求的優先權高於當前 、轉換睛求時,情#前_片轉換請求,於檢 8 201012168 查點處設置中斷標諸、並記錄中斷原因,將該令斷的圖片轉 ^ 換請求按照其優先權重新插入到對應的雙端佇列的隊尾, • 並執行該新增的圖片轉換請求’或者當該新增的圖片轉換 請求的優先權低於當前執行的圖片轉換請求時,繼續執行 當前的圖片轉換請求;(E)在執行該圓片轉換請求時,當 有刪除雙端佇列中的圖片轉換請求時’記錄該圖片轉換請 求,等到該圖片轉換請求到達雙端仵列的隊尾時,刪除該 圖片轉換請求;及(F)重複步驟s〜、 ’ ❿雙端仔列中的圖片轉換請求都執行完畢。;直到母调 相較於習知技術,所述手 = 手機圖片轉換程式單獨創建 #換系統及方法,將 時間,達到提高圖片轉換迷度。程序,合理安排程式運行 【實施方式】 如圖1所示 的運行環境圖。該手機圖片棘2圖片轉換系統較佳實施例 1的-個圖片轉換程序1()1巾、系統1G°獨立運行於手機 • Μ轉換系統⑽。該手機i巾,該程序中只運行該手機圖 顯練序搬。該手機,=限於:功能表 述應用程式包括:通話、簡有多個應用程式103,所 戶斤述多個應用程式103用=、车媒體庫、背景圖片顯示等。 圓片轉換請求,該手機圖片^機圖片轉換系統觸發送 符列來存儲所述圖片轉換,t、系統1GG提供了多個雙端 同。本較佳實施例中,該2圖每個雙端伶列的優先權不 個雙端仔列。因為各個應用=片轉換系統謂提供了4 式103的優先權不同,則應 9 201012168 用程式103所對應的圖片轉換請求的優先權也不同。按照 . 圖片轉換請求的優先權不同,將同等優先權的圖片轉換請 . 求排列到一個雙端佇列中。例如:通話來電顯示的圖片轉 換請求的優先權高於當前編輯的相簿中的圖片轉換請求的 優先權,則將所述兩個圖片轉換請求分別排列在兩個雙端 佇列中。所述圖片轉換程序101中設置有多個中斷檢查 點,所述檢查點用於設置中斷標誌。 如圖2所示,是圖1中手機圖片轉換系統100的較佳 ® 實施例的功能模組圖。所述模組是具有特定功能的軟體程 式段,該軟體存儲於電腦可讀存儲介質或其他存儲設備, 可被電腦或其他包含處理器的計算裝置執行,從而完成手 機圖片轉換的系列流程。所述手機圖片轉換系統100包 括:圖片轉換請求新增模組10、圖片轉換請求刪除模組 12、中斷模組14及圖片轉換模組16。 圖片轉換請求新增模組10用於接收多個應用程式103 φ 所發送的圖片轉換請求。根據所述圖片轉換請求所對應的 應用程式103的優先權,選擇該圖片轉換請求需要插入的 雙端佇列。 該圖片轉換請求新增模組10判斷所選擇的雙端佇列 是否已滿。當所選擇的雙端佇列已滿,刪除該雙端佇列隊 頭的圖片轉換請求,並通知該被刪除的圖片轉換請求所對 應的應用程式103。當所選擇的雙端佇列已滿,將所接收 的圖片轉換請求插入隊尾,並對該新增的圖片轉換請求生 成一個唯一序號ID,並將該ID回傳給新增圖片轉換請求 201012168 所對應的應用程式1〇3。 δ亥圖片轉換請求新增模組 # 圖片轉換請求正在被所迚圖:還;、’J斷當前是否有 圖片轉換請求正在換模組16執行。若當前有 優先權是否高於=丁執則判斷新增的圖片轉換請求的 中斷握έ 仃的圖片轉換請求。 高於=:=:増_轉換請求的優先權 ❿ ❹ 點虛钟番^作在被中斷的圖片轉換工作中的檢查 作的Ϊ因。、’並在該圖片轉換請求中記錄該中斷動 優务描舌~中斷模組14將該中斷的®片轉換請求根據直 ==新摘入到對應的雙餐列+。同時,該= ^圖片轉換模組16執行新增的圖片轉換請求。 广列:述圖片轉換模組16用於依次從最高優先權的雙端 片丁 隊尾取出圖片轉換請求,對該圖片轉換請求進行圖 f換操作。在執行所述圖片轉換操作過程中,判斷檢查 ·' 有中斷標諸'。若檢查點有中斷標諸’清除中斷標諸, 片轉換請求 。若檢查點沒有中斷標誌,繼續 執=該圖片轉換請求。當執行完該圖片轉換請求後,將該 行、、σ果回傳給該圖片轉換請求所對應的應用程式103。 μ圖片轉換模組16判斷所有雙端佇列中是否還存在未執Point, the system includes a plurality of double-ended queues with different priorities to store image conversion requests corresponding to different priorities. The system further includes: a new image conversion request module for receiving image conversions sent by the application. Request, according to its priority pin double end (four), and insert the picture conversion request into the end of the double-ended squad; the slice conversion module is used for (4) double-short order priority from the current highest (four) weight double-end At the end of the team, the picture conversion request is taken out to execute; the interrupt module, when the priority of the picture conversion request is higher than the currently executed picture conversion request, the interrupt is set at the checkpoint and the reason for the interruption is recorded. Interrupting the currently executed picture conversion request, and re-entering the interrupted picture conversion request to the corresponding double-ended (four) tail according to its priority, or when the new picture conversion eye j has lower priority than the current When the image conversion request is executed, the image conversion request of the field is continued; and the image conversion request deletion module is used to delete the image conversion request when the image conversion request is executed. When the double column conversion image request, to record the image conversion request, until the request reaches the picture converting the tail end of the queue bis deletes the picture switching request. A method for converting a mobile phone picture, the method comprising the following steps: (A) setting a checkpoint on a picture conversion program of the mobile phone; (B) providing a plurality of double-ended queues having different priorities to store a picture conversion request corresponding to the priority; c) according to the high-low order of the double-ended (four) priority 'in order from the ^ high priority = end of the end of the queue - take a picture conversion request and execute the picture conversion map: when the C conversion request is requested when the double-ended queue The priority of the newly added image conversion request is higher than the current, the conversion request, the #前_片转换 the request, the check 8 is set at the checkpoint, and the reason for the interruption is recorded. The image transfer request is reinserted to the end of the corresponding double-ended queue according to its priority, and the new image conversion request is executed or when the priority of the newly added image conversion request is lower than the current execution When the picture conversion request is continued, the current picture conversion request is continued; (E) when the wafer conversion request is executed, when the picture conversion request in the double-ended column is deleted, the picture conversion request is recorded. Wait until the image conversion request reaches the end of the double-ended queue, and delete the image conversion request; and (F) repeat the steps s~, ' ❿ the image conversion request in the double-ended column is completed. Until the mother's voice is compared to the prior art, the hand = mobile phone image conversion program separately creates a #change system and method, and the time is increased to achieve image conversion. Program, reasonable program operation [Embodiment] The operating environment diagram shown in Figure 1. The mobile phone picture spine 2 picture conversion system preferred embodiment 1 - a picture conversion program 1 () 1 towel, system 1G ° independently runs on the mobile phone • Μ conversion system (10). The mobile phone i towel, the program only runs the mobile phone picture and moves. The mobile phone is limited to: the function expression application includes: a call, a plurality of applications 103, a plurality of applications 103, a vehicle media library, a background image display, and the like. The wafer conversion request, the mobile phone picture machine conversion system touches the transmission column to store the picture conversion, t, the system 1GG provides a plurality of double-ends. In the preferred embodiment, the priority of each double-ended queue in the 2 graph is not a double-ended queue. Since each application=slice conversion system provides a difference in the priority of the 4-type 103, the priority of the picture conversion request corresponding to the program 103 of the 201012168 application should be different. According to the priority of the picture conversion request, the pictures with the same priority are converted. Please arrange them into a double-ended column. For example, if the priority of the picture conversion request of the caller ID is higher than the priority of the picture conversion request in the currently edited album, the two picture conversion requests are respectively arranged in two double-ended columns. A plurality of interrupt checkpoints are provided in the picture conversion program 101, and the checkpoints are used to set an interrupt flag. As shown in FIG. 2, it is a functional module diagram of a preferred embodiment of the mobile phone picture conversion system 100 of FIG. The module is a software program segment having a specific function, and the software is stored in a computer readable storage medium or other storage device, and can be executed by a computer or other computing device including a processor, thereby completing a series of processes for converting the camera picture. The mobile phone picture conversion system 100 includes a picture conversion request adding module 10, a picture conversion request deleting module 12, an interrupt module 14 and a picture conversion module 16. The picture conversion request adding module 10 is configured to receive a picture conversion request sent by the plurality of applications 103 φ. According to the priority of the application 103 corresponding to the picture conversion request, the double-ended queue that the picture conversion request needs to be inserted is selected. The picture conversion request adding module 10 determines whether the selected double-ended queue is full. When the selected double-ended queue is full, the picture conversion request of the double-ended queue header is deleted, and the application 103 corresponding to the deleted picture conversion request is notified. When the selected double-ended queue is full, the received image conversion request is inserted into the tail of the queue, and a unique serial number ID is generated for the newly added image conversion request, and the ID is transmitted back to the new image conversion request 201012168 The corresponding application is 1〇3. δ 图片 图片 图片 图片 # # # 图片 图片 图片 图片 图片 图片 图片 图片 图片 图片 图片 图片 图片 图片 图片 图片 图片 图片 图片 图片 图片 图片 图片 图片 图片 图片 图片 图片If there is currently a priority higher than =, the new picture conversion request is judged to be interrupted. Above =:=: 増_Priority of the conversion request ❿ ❹ The point of the clock is the cause of the check in the interrupted picture conversion work. And recording the interrupt in the picture conversion request. The interrupt module 14 interrupts the interrupted slice conversion request according to the straight == new entry to the corresponding double meal column +. At the same time, the =^ picture conversion module 16 performs a new picture conversion request. The image conversion module 16 is configured to sequentially take out a picture conversion request from the tail of the highest-priority double-ended chip, and perform a f-switching operation on the picture conversion request. During the execution of the picture conversion operation, it is judged that the check is 'interrupted'. If the checkpoint has an interrupt flagged as 'clear interrupt flag, slice conversion request. If the checkpoint does not have an interrupt flag, continue to execute the image conversion request. After the image conversion request is executed, the line and σ are returned to the application 103 corresponding to the picture conversion request. The μ picture conversion module 16 determines whether any double-ended queues still exist.

Jr 1 、片轉換請求。若至少一個雙端佇列中還存在未執行 圖片轉換請求,繼續從該雙端佇列的隊尾取出圖片轉換 請求來執行。 圖片轉換請求刪除模組12用於接收應用程式103發送 11 201012168 的要刪除關片轉換請求的心所述圖片轉換 組12判斷正在執行_片轉換請求的ID0 的圖片轉換請求的!"目同。若不相同,該圖片 刪除模組12在所有雙端佇列中搜索,查看是否疒在^述 片轉換睛求,記錄該圖片轉換請求,等到該圖 雙猶觸隊尾時,職關片轉換請求。若相同, 中斷模組14中斷當前執行的圖片轉換請求,並將 及原因回傳給該圖片轉換請求所對應的應用程式卬、’" 的作是本發明手義轉換方法較隹實施例 步驟S3G,®片轉換模組16按照雙端㈣ =從當前最高優先權的雙端仵列的隊尾中取:: 步驟S32’在執行所述取出的圖片轉換 換請求新增二組10判斷是否有新的圖片轉:二求 ^入雙W宁列。若存在新的㈣轉換請求進人雙勢列 進入步驟S34;若沒有新的㈣轉換請求進 二 進入步驟S40。 又端彳τ列, 步驟S34,所述㈣轉_求新增触iq 片轉換請求的優先權是否高於當前正在執行的圖 : ί清求的優先權。若新增的圖片轉換請求的優先權:二轉 則正在執行的圖片轉換請求,進人步驟撕;:以 圖片轉換請求的優先權低於或等於當前正在執行斤増的 _片轉 201012168 換請求,進入步驟S44。 步驟S36 ’所述中斷模組14力 記錄甲斷原因,中斷當前執行的圖片轉中斷標1 斷的圖片轉換請求按照其優先權重新插;應二: 列的隊尾。 』對應的雙細杆 步_,圖綱模組16執 請求。進入步驟S50。 曰的圖片轉換 ❿ 步:S40’圖片轉換请求删除模組 應用程式103發送__片轉換請求=存在有 步驟S44 ;若存在,進入步驟S42。 存在,進入 步驟S42’所述圖片轉換請求刪除模組 式103所要刪除的圖片轉換請求。 于應用枉 步驟S44,繼續執行當前執行的圖片轉換請求。 步驟S46,圖片轉換模組16判斷當前執行的圖片轉換 請求工作中檢查點是否有中斷標諸。若檢查點存在十斷梯 =入步驟S48 ·’若檢查點不存在中斷標誌,則將該圖 片轉換請求執行完成後,進入步驟S5〇。 步驟S48,圖片轉換模組16清除檢查點的中斷禪古士, 繼續完成該圖片轉換請求。 〜 =50,該圖片轉換模組16判斷所有雙端佇列中是 未執行的圖片轉換請求。若至少一個雙端佇列中 還t執行的圖片轉換請求,轉至步驟S30。若所有雙 端仔列中都不存在有未執行的®片轉換請求,結束流程。 如圖4所示’是新増圖片轉換請求的較佳實施例的作 13 201012168 業流程圖。 步驟S320’根據所接收的新增圖片轉換請求的優先權 選擇相應的雙端佇列。 步驟S321,判斷所選擇的雙端佇列是否已滿。若所述 雙端仔列已滿,進入步驟S322 ;若所述雙端仔列沒滿’進 入步驟S323。Jr 1 , slice conversion request. If there is still no image conversion request in the at least one double-ended queue, the image conversion request is continued to be executed from the tail of the double-ended queue. The picture conversion request deletion module 12 is configured to receive the heart of the image conversion group 12 to be deleted by the application 103 to transmit 11 201012168. The picture conversion group 12 determines that the picture conversion request of the ID0 of the slice conversion request is being executed! . If not the same, the picture deletion module 12 searches in all the double-ended queues to see if it is in the process of converting the picture, and records the picture conversion request, and waits until the picture is at the end of the picture. request. If the same, the interrupt module 14 interrupts the currently executed image conversion request, and returns the reason to the application corresponding to the image conversion request, and the '" is the method of the present invention. The S3G,® slice conversion module 16 is in accordance with the double-end (four) = from the tail of the current highest-priority double-ended queue: Step S32' adds two sets of 10 to perform the extracted picture conversion request to determine whether There are new pictures to turn: two to ^ into the double W Ning column. If there is a new (four) conversion request entering the double potential column, the process proceeds to step S34; if there is no new (four) conversion request, the process proceeds to step S40. Further, the 彳 τ column, step S34, the (4) _ seek new priority of the iq slice conversion request is higher than the currently executing map: ί clear priority. If the priority of the newly added picture conversion request is: the second picture is the image conversion request being executed, and the step of entering the user is torn; the priority of the picture conversion request is lower than or equal to the currently executing _ slice to 201012168 Go to step S44. In step S36, the interrupt module 14 records the cause of the break, and interrupts the currently executed picture to interrupt the picture conversion request to be re-inserted according to its priority; two: the end of the column. 』The corresponding double thin step _, the graphic module 16 requests. Go to step S50.图片 Picture conversion ❿ Step: S40' picture conversion request deletion module The application 103 sends a __chip conversion request = there is a step S44; if it exists, it proceeds to step S42. If yes, the image conversion request of the step S42' is deleted to delete the picture conversion request to be deleted by the module 103. In the application 枉 step S44, the currently executed picture conversion request is continued. In step S46, the picture conversion module 16 determines whether the checkpoint in the currently executed picture conversion request operation has an interrupt flag. If there is a ten-step ladder at the checkpoint = step S48 is performed. If there is no interrupt flag at the checkpoint, the execution of the image conversion request is completed, and the process proceeds to step S5. In step S48, the picture conversion module 16 clears the interruption of the checkpoint, and continues to complete the picture conversion request. 〜=50, the picture conversion module 16 determines that all the double-ended queues are unexecuted picture conversion requests. If at least one of the double-ended queues is still performing the picture conversion request, the process goes to step S30. If there are no unexecuted ® slice conversion requests in all the double-ended columns, the process ends. As shown in FIG. 4, it is a flow chart of a preferred embodiment of a new picture conversion request. Step S320' selects a corresponding double-ended queue according to the priority of the received new picture conversion request. In step S321, it is judged whether the selected double-ended queue is full. If the double-end train is full, the process goes to step S322; if the double-end train is not full, the process goes to step S323.

步驟S322,從該雙端佇列的隊顏刪除一個圖片轉換請 求,進入步驟S323。 步驟S323,將所述新增的圖片轉換請求插入該選擇的 雙端佇列。 步驟S324 ’生成一個唯一序號ID給該入隊的圖片轉 換清求,並將該ID回傳給該圖片轉換請求對應的應用程 式 103 〇 一步驟S325,判斷所新增的圖片轉換請求的優先權是否 高於當前正在執行的圖片轉換請求的優先權。若所接收的 圖片轉換請求的優先權高於#前正在執彳亍的圖片轉換請求 的優先權’則進入步驟S326。若所接收的圖片轉換請求的 ^先權低於或等於當前正在執行的圖片轉換請求的優先 權,結Φ洎敍。 轉換新增的圖片轉 步驟S326,通知圖片轉換模組16 換請求,結束流程。 如圖5所示, 業流程圖。 是删除圖片轉換請求的較佳實施例的作 ,驟 應用程式103發送要刪除的圖片轉換請求 201012168 的ID。 ' 步驟S502,所述圖片轉換請求刪除模組12判斷正在 •執行的圖片轉換請求的ID是否與所要冊]除的圖片轉換嘈 求的ID相同。若相同,進入步驟S504;若不相同,進= 步驟S506。 步驟S504,中斷歡14中斷當前正在執行的圖片轉 換請求,並將該中斷結果及中斷原因回傳給該圖片轉換請 求所對應的應用程式103 ’通知圖片轉換請求模組16從= 雙端佇列的隊尾中取出其他圖片轉換請求來執行,結束^ 程。 、0伙 步驟S506,圖片轉換請求刪除模組12在所有雙端佇 列中搜索,找到該ID所對應的圖片轉換請求,記錄該^ 片轉換請求,等到該圖片轉換請求到達雙端佇列的隊尾 時,刪除該圖片轉換請求。 綜上所述,本發明符合發明專利要件,爰依法提出專 參利申請。惟,以上所述者僅為本發明之較佳實施例,本發 明之範圍並不以上述實施例為限,舉凡熟悉本案技藝之人 士援依本發明之精神所作之等效修飾或變化,皆應涵蓋於 以下申請專利範圍内。 【圖式簡單說明】 ®1係本發明手機圖片轉換系統較佳實施例之運行環 境圖。 圖2係圖1中手機圖片轉換系統100的較佳實施例之 功能模組圖。 15 201012168 圖3係本發明手機圖片轉換方法較佳實施例之作業流 , 程圖。 . 圖4係新增圖片轉換請求的較佳實施例之作業流程 圖。 圖5係刪除圖片轉換請求的較佳實施例之作業流程圖。 【主要元件符號說明】 手機 1 手機圖片轉換系統 100 圖片轉換程序 101 功能表顯示程序 102 應用程式 103 圖片轉換請求新增模組 10 圖片轉換請求刪除模組 12 中斷模組 14 圖片轉換模組 16 16In step S322, a picture conversion request is deleted from the team face of the double-ended queue, and the process proceeds to step S323. Step S323, inserting the newly added picture conversion request into the selected double-ended queue. Step S324' generates a unique serial number ID for the image conversion request of the enqueue, and returns the ID to the application 103 corresponding to the image conversion request. In step S325, it is determined whether the priority of the newly added picture conversion request is Higher than the priority of the currently executing picture conversion request. If the priority of the received picture conversion request is higher than the priority of the picture conversion request being executed before #, the process proceeds to step S326. If the received power of the picture conversion request is lower than or equal to the priority of the currently executing picture conversion request, the result is 洎. The new picture is converted to step S326, and the picture conversion module 16 is notified to change the request, and the process ends. As shown in Figure 5, the flow chart. In the preferred embodiment of deleting the picture conversion request, the application 103 sends the ID of the picture conversion request 201012168 to be deleted. In step S502, the picture conversion request deletion module 12 determines whether the ID of the picture conversion request being executed is the same as the ID of the picture conversion request divided by the desired book. If they are the same, the process goes to step S504; if not, the process goes to step S506. Step S504, interrupting the interrupt 14 interrupts the currently executing picture conversion request, and returns the interrupt result and the interrupt reason to the application 103 corresponding to the picture conversion request to notify the picture conversion request module 16 from = double-ended queue At the end of the team, take out other image conversion requests to execute, and end the process. In step S506, the picture conversion request deletion module 12 searches all the double-ended queues, finds the picture conversion request corresponding to the ID, records the slice conversion request, and waits until the picture conversion request reaches the double-ended queue. At the end of the queue, delete the image conversion request. In summary, the present invention complies with the requirements of the invention patent, and proposes a special participation application according to law. The above is only the preferred embodiment of the present invention, and the scope of the present invention is not limited to the above-described embodiments, and equivalent modifications or variations made by those skilled in the art in light of the spirit of the present invention are It should be covered by the following patent application. BRIEF DESCRIPTION OF THE DRAWINGS ® 1 is a running environment diagram of a preferred embodiment of the mobile phone picture conversion system of the present invention. 2 is a functional block diagram of a preferred embodiment of the mobile phone picture conversion system 100 of FIG. 15 201012168 FIG. 3 is a flow chart of a preferred embodiment of the mobile phone picture conversion method of the present invention. Figure 4 is a workflow diagram of a preferred embodiment of a new picture conversion request. Figure 5 is a flow diagram of the operation of the preferred embodiment of deleting a picture conversion request. [Main component symbol description] Mobile phone 1 Mobile phone picture conversion system 100 Picture conversion program 101 Menu display program 102 Application program 101 Picture conversion request new module 10 Picture conversion request deletion module 12 Interrupt module 14 Picture conversion module 16 16

Claims (1)

201012168 、申請專利範圍: 1 ❹ ❹ 一種手機圖片轉換系統,該手機上運行有多個應用程 式’該线獨立運躲手機的—補丨轉換 圖片轉換程序設置有至少-個檢查點,該系統包括多: 優先權不同的雙端仔列,以存儲不同優先權對應= 轉換請求,該系統還包括: %的圖片 圖片轉換請求新增模組,用於接收應式 4月个卿八咏芰磲佇列尾端; ’· 圖片轉換模組,科按照雙㈣列優先權的高低順序你 =優先權的雙端作列的尾端取出圖片轉4; 片轉換請求’根據其優先權選擇雙端件列,並將= 轉換請求插入該雙端佇列尾端; 圖片 中斷模組,祕當新料心轉換請求的優先 前執行的^轉換請求的私權時,於檢查點設置= 標諸並記錄中斷原因,中斷當前執行的圖片轉換 並將該中斷_片轉換請求㈣其優先權重新^求至 對應的雙端仵列的尾端,或者當該新增的圖片轉換 的優先權低於*前執行的以轉換請求時,^ 前的圖片轉換請求;及 凡订虽 圖片轉換請求刪除模組,用於在執行該圖片轉換 時,當有刪除雙端仵列中的圖片轉換請求時,記錄= 片轉換睛求’等到該圖片轉換請求到達雙端件: 時’刪除該圖片轉換請求。尾& 2 ·如申請專利範圍第1項所述之手機圖片轉換系統,所述 201012168 圖片轉換模組還用於判斷當前執行圖片轉換請求的圖 片轉換程序的檢查點處是否設有中斷標誌,若所述檢查 點處設置有中斷標誌,清除該中斷標誌,完成該圖片轉 換請求工作。 3 ·如申請專利範圍第1項所述之手機圖片轉換系統,所述 圖片轉換請求新增模組還用於判斷所選擇的雙端佇列 是否已滿,若該雙端佇列已滿,刪除該雙端佇列頭部的 圖片轉換請求,將該新增的圖片轉換請求插入到該雙端 佇列的尾端,生成一個ID給新增的圖片轉換請求,並將 該ID傳送給該圖片轉換請求所對應的應用程式。 4 ·如申請專利範圍第1項所述之手機圖片轉換系統,所述 中斷模組還用於若所述應用程式需要刪除的圖片轉換 請求為正在執行的圖片轉換請求時,中斷當前執行的圖 片轉換請求,並將該中斷結果及中斷原因回傳給該應用 程式。 5 ·如申請專利範圍第1項所述之手機圖片轉換系統,所述 圖片轉換模組還用於判斷所有雙端佇列中是否還存在 未執行的圖片轉換請求,若存在,則從雙端佇列的尾端 取出該圖片轉換請求,並執行該圖片轉換請求。 6 · —種手機圖片轉換方法,該方法包括如下步驟: (A) 於手機的圖片轉換程序設置檢查點; (B) 提供多個優先權不同的雙端佇列以存放對應優先 權的圖片轉換請求; (C) 按照雙端佇列優先權的高低順序,依次從當前最 18 201012168 高優先權的雙端佇列尾端取出一個圖片轉換請求並執 行該圖片轉換請求; (D) 在執行該圖片轉換請求時,當雙端佇列中新增圖 片轉換請求且該新增的圖片轉換請求的優先權高於當 前執行的圖片轉換請求時,中斷當前的圖片轉換請求, 於檢查點處設置中斷標誌並記錄中斷原因,將該中斷的 圖片轉換請求按照其優先權重新插入到對應的雙端佇 列的尾端,並執行該新增的圖片轉換請求,當該新增的 圖片轉換請求的優先權低於當前執行的圖片轉換請求 時,繼續執行當前的圖片轉換請求; (E) 在執行該圖片轉換請求時,當有刪除雙端佇列中 的圖片轉換請求時,記錄該圖片轉換請求,等到該圖片 轉換請求到達雙端佇列的尾端時,删除該圖片轉換請 求,及 (F) 重複步驟(C)至(E),直到每個雙端佇列中的圖 片轉換請求都執行完畢。 7·如申請專利範圍第6項所述之手機圖片轉換方法,在步 驟(C)之後還包括: 判斷當前執行圖片轉換請求的圖片轉換程序的檢查點 處是否設有中斷標誌;及 若所述檢查點處設置有中斷標誌,清除該中斷標誌,完 成該圖片轉換請求。 8·如申請專利範圍第6項所述之手機圖片轉換方法,該方 法還包括:在執行圖片轉換請求時,若應用程式發送新 19 201012168 的圖片轉換請求,根據該新增的圖片轉換請求的優先權 - 選擇對應的雙端佇列; , 判斷所選擇的雙端佇列是否已滿; 若該雙端佇列已滿,刪除該雙端佇列頭部的圖片轉換請 求,並將該新增的圖片轉換請求插入到該雙端佇列的尾 端; 若該雙端佇列沒有滿,則直接將該新增的圖片轉換請求 插入到該雙端佇列的尾端;及 ® 生成一個ID給新增的圖片轉換請求,並將該ID傳送 給該圖片轉換請求所對應的應用程式。 9·如申請專利範圍第6項所述之手機圖片轉換方法,所述 步驟(E)還包括:若所述應用程式需要刪除的圖片轉 換請求為正在執行的圖片轉換請求時,中斷當前執行的 圖片轉換請求,並將該中斷結果及中斷原因回傳給該應 用程式。 ❹ 20201012168, the scope of application for patents: 1 ❹ ❹ A mobile phone picture conversion system, the mobile phone runs a number of applications 'the line is independent of the mobile phone's mobile phone - the conversion picture conversion program is set with at least one checkpoint, the system includes Multiple: Double-ended queues with different priorities to store different priority correspondence = conversion request, the system also includes: % new picture picture conversion request new module, used to receive the application of April Qing dynasty The end of the queue; '· Image conversion module, according to the order of the priority of the double (four) column priority = the priority of the double-ended column at the end of the column to take the picture to 4; the slice conversion request 'select double-end according to its priority The column, and the = conversion request is inserted into the end of the double-ended queue; the picture interruption module, when the new material core conversion request is prioritized, the private right of the conversion request is executed, and the checkpoint is set = Record the cause of the interruption, interrupt the currently executed picture conversion and re-request the interrupt_chip conversion request (4) to the end of the corresponding double-ended queue, or when the new picture is converted If the priority is lower than * before the conversion request, the image conversion request before ^; and the image conversion request deletion module is used to delete the image in the double-ended queue when performing the image conversion When converting the request, the record = slice conversion is eager to 'wait until the picture conversion request reaches the double-end: when' the picture conversion request is deleted. The mobile phone picture conversion system according to claim 1, wherein the 201012168 picture conversion module is further configured to determine whether an interruption flag is provided at a checkpoint of a picture conversion program that currently performs a picture conversion request. If an interrupt flag is set at the checkpoint, the interrupt flag is cleared, and the picture conversion request operation is completed. 3. The mobile phone picture conversion system according to claim 1, wherein the picture conversion request adding module is further configured to determine whether the selected double-ended queue is full, and if the double-ended queue is full, Deleting the image conversion request of the double-ended queue header, inserting the newly added image conversion request into the end of the double-ended queue, generating an ID for the newly added image conversion request, and transmitting the ID to the The application corresponding to the image conversion request. 4. The mobile phone picture conversion system according to claim 1, wherein the interruption module is further configured to interrupt the currently executed picture if the image conversion request that the application needs to delete is a picture conversion request being executed. The request is converted and the interrupt result and the cause of the interrupt are passed back to the application. 5. The mobile phone picture conversion system according to claim 1, wherein the picture conversion module is further configured to determine whether there is still an unexecuted picture conversion request in all the double-ended queues, and if present, from the double-end The image conversion request is taken out at the end of the queue, and the image conversion request is executed. 6 · A mobile phone picture conversion method, the method comprises the following steps: (A) setting a checkpoint on the mobile phone's picture conversion program; (B) providing a plurality of double-ended queues with different priorities to store the corresponding priority picture conversion Requesting; (C) taking an image conversion request and executing the image conversion request from the current highest 18 201012168 high priority double-ended queue in the order of the priority of the double-ended queue; (D) executing the image When the image conversion request is added, when the image conversion request is added in the double-ended queue and the priority of the newly added image conversion request is higher than the currently executed image conversion request, the current image conversion request is interrupted, and the interruption is set at the checkpoint. Marking and recording the cause of the interruption, re-inserting the interrupted image conversion request to the end of the corresponding double-ended queue according to its priority, and executing the newly added image conversion request, when the newly added image conversion request is prioritized When the right is lower than the currently executed image conversion request, the current image conversion request is continued; (E) when the image conversion request is executed, when there is a deletion In addition to the image conversion request in the double-ended queue, the image conversion request is recorded, and when the image conversion request reaches the end of the double-ended queue, the image conversion request is deleted, and (F) repeats the step (C) to ( E), until the image conversion request in each double-ended queue is completed. The method for converting a mobile phone picture according to claim 6 of the patent application, after the step (C), further comprising: determining whether an interruption flag is provided at a checkpoint of the picture conversion program currently executing the picture conversion request; An interrupt flag is set at the checkpoint, the interrupt flag is cleared, and the image conversion request is completed. 8. The mobile phone image conversion method according to claim 6, wherein the method further comprises: when the image conversion request is executed, if the application sends a new image conversion request of 19 201012168, according to the newly added image conversion request Priority - select the corresponding double-ended queue; , to determine whether the selected double-ended queue is full; if the double-ended queue is full, delete the image conversion request of the double-ended queue header, and the new An additional picture conversion request is inserted at the end of the double-ended column; if the double-ended column is not full, the newly added picture conversion request is directly inserted into the end of the double-ended column; and ® generates one The ID gives a new image conversion request and transmits the ID to the application corresponding to the image conversion request. 9. The mobile phone picture conversion method according to claim 6, wherein the step (E) further comprises: if the image conversion request that the application needs to delete is a picture conversion request being executed, interrupting the current execution. The image conversion request returns the interrupt result and the reason for the interruption to the application. ❹ 20
TW097135082A 2008-09-12 2008-09-12 System and method for converting pictures of mobile phone TWI486048B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW097135082A TWI486048B (en) 2008-09-12 2008-09-12 System and method for converting pictures of mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW097135082A TWI486048B (en) 2008-09-12 2008-09-12 System and method for converting pictures of mobile phone

Publications (2)

Publication Number Publication Date
TW201012168A true TW201012168A (en) 2010-03-16
TWI486048B TWI486048B (en) 2015-05-21

Family

ID=44828885

Family Applications (1)

Application Number Title Priority Date Filing Date
TW097135082A TWI486048B (en) 2008-09-12 2008-09-12 System and method for converting pictures of mobile phone

Country Status (1)

Country Link
TW (1) TWI486048B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE69031233T2 (en) * 1989-02-24 1997-12-04 At & T Corp Adaptive work sequence planning for multiple processing systems
US5905877A (en) * 1997-05-09 1999-05-18 International Business Machines Corporation PCI host bridge multi-priority fairness arbiter
US6065088A (en) * 1998-08-31 2000-05-16 International Business Machines Corporation System and method for interrupt command queuing and ordering
FI991334A (en) * 1999-06-10 2000-12-11 Nokia Networks Oy A method for implementing a bidirectional queue in memory and a memory arrangement
KR100351400B1 (en) * 1999-09-22 2002-09-10 엘지전자 주식회사 Relevance feedback system of multimedia data
GB0407384D0 (en) * 2004-03-31 2004-05-05 Ignios Ltd Resource management in a multicore processor
AU2007261611A1 (en) * 2006-06-19 2007-12-27 Condusiv Technologies Corporation Computer micro-jobs

Also Published As

Publication number Publication date
TWI486048B (en) 2015-05-21

Similar Documents

Publication Publication Date Title
US10699244B2 (en) Shared collaboration canvas
JP6700254B2 (en) Real-time sharing during a call
CN102033697B (en) Terminal apparatus, server apparatus, display control method, and program
JP6326411B2 (en) Video communication method, video communication apparatus, program, and recording medium
JP6185843B2 (en) Adjust animation across multiple applications or processes
TW202006542A (en) Control method and device for playing multimedia, terminal and computer storage medium
US20130103747A1 (en) Posted information sharing system, information-processing device, storage medium, server, information-processing method, and information-processing system
TW201205416A (en) Method, apparatus and computer program product for joining the displays of multiple devices
CN105786473A (en) Task management method and device of multi-task interface as well as terminal equipment
EP4196870A1 (en) Animated visual cues indicating the availability of associated content
CN106415476A (en) Input device and user interface interactions
JP2013507882A (en) Method and apparatus for routing user data entry to application
CN107077661A (en) Task across the equipment using shared working space is completed
WO2006075859A1 (en) Method and system for interworking plurality of applications
US9882977B2 (en) Information-processing system, information-processing device, storage medium, and information-processing method
DE112009000002T5 (en) Processing touch events for web pages
JP2015103131A (en) Terminal device, program, screen sharing method and screen sharing system
WO2014166248A1 (en) Method, apparatus, and mobile terminal for processing preview image
US10795633B2 (en) Desktop sharing method and mobile terminal
JP2004234594A (en) Photo communication system and method, and information recording medium
JP6014853B2 (en) Comment display device, terminal device, operating method thereof, and program for operating them
CN111681157A (en) Image rendering method and system
TW201012168A (en) System and method for converting pictures of mobile phone
JP2019133606A (en) Information display program, information display method, information display device, and distribution device
JP2011128722A (en) Conference system and information processing method

Legal Events

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