200931244 九、發明說明: 【發明所屬之技術領域】 本發明涉及顯示控制領域,特別涉及—種顯示程式控 制方法及裝置。 【先前技術】 Ο 諸如陰極射線管顯示器(CRT)、等離子體顯示面板 (PDP)、液aa顯示益(LCD)和數位電視(DTV)的顯示設備在 家庭和工業中被廣泛地使用。顯示設備長時間保持同一晝 面時可會導致螢幕的元件的不規則性;即所謂的“螢幕燃 燒’’(Screen Burning)。“螢幕燃燒,,直接影響顯示設備的使用 壽命。因此,在具有顯示設備的DTV、可檇式電腦等電子 設備中,若-段時間沒有遙控器、鍵盤等輸入設備提供輸 =訊號給電子設備時,電子設備則會自動執行螢幕保護程 式,即顯示一動態影像以減少螢幕燃燒的可能性。 ❹ 在用戶利用電子設備觀看電影期間,用戶通200931244 IX. Description of the Invention: [Technical Field] The present invention relates to the field of display control, and in particular to a display program control method and apparatus. [Prior Art] Display devices such as a cathode ray tube display (CRT), a plasma display panel (PDP), a liquid aa display (LCD), and a digital television (DTV) are widely used in homes and industries. When the display device is kept on the same side for a long time, the irregularities of the components of the screen can be caused; that is, the so-called "Screen Burning". "The screen burns, which directly affects the service life of the display device. Therefore, in an electronic device such as a DTV or a portable computer having a display device, if there is no input device such as a remote controller or a keyboard to provide an input signal to the electronic device for a period of time, the electronic device automatically executes a screen saver program, that is, Display a motion picture to reduce the possibility of screen burning.用户 During the user watching the movie on the electronic device, the user passes
Si操2子設備。這樣電子設備在-段時間後還:會 自動執订螢幕純程式,干制戶觀看電影。 【發明内容】 營幕必要提供-種在用戶觀看電影期間,控制 愛幕保私式執行的螢幕保護程式控制方法。 必要提供一種在用戶觀看電影期間, °知式執仃的螢幕保護程式控制裝置。 勞幕保 —種螢幕保護程式控制方法, 理系統之電子設備令 =;㈣具有資料處 愛綦保漫私式的執行,螢幕保護程式 200931244 控制方法包括如下步驟: f斷資料處理系統中是否有動態影像播放, 有動態影像播:器執行時動態影像播放器的狀態及 3己錄電子设備未被操作的持續時間; 行。根據判斷結果及該持續時間控制螢幕保護程式的執 -種螢幕保護程歧㈣置,其安置 ❹ …電子設射’用來控制資料處理系統令的二二; 程式執行模組執行螢幕保護程式,營幕^ 包括··輸入檢測模組、控制模組及判斷模组“:、置 間;輸入檢測模組,用於記錄電子設備未被操作的持續時 判斷模組,用於判斷咨 播放器執行,及有動態影像播=統有動態影像 的狀態; 播放器執订%動態影像播放器 ❹ 間、產:於根據該輸入檢測模組記錄的持續時 保護私式執行模組執行螢幕保護程式。 的螢幕 動二誉制方法及裝置,用戶在觀看 戶觀看動態影像。 式不會執行,進而不會干擾用 【實施方式】 否有= = :電子設備中之資料處理系統中是 益的執行,及有動態影像播放器執行時 7 200931244 動態影像播放器的播放狀態、動態影像播放器視窗的活動 狀態,並同時記錄未操作的持續時間;最後根據判斷結果 及記錄的持續時間來控制電子設備的螢幕保護程式的執 • 行。 其中,動態影像播放器在資料處.理系統中的狀態包括 兩種:停止狀態及播放狀態,停止狀態包括動態影像播放 器沒有執行、動態影像播放器播放動態影像時的暫停及動 _態影像播放完畢後的等待的狀態;播放狀態為動態影像播 放器播放動態影像時的狀態。視窗的活動狀態包括激活狀 態和未激活狀態,未激活狀態是指視窗處於打開但未被激 活的狀態。持續時間是指電子設備未被操作的時間。 如圖1所示,其為第一較佳實施方式之螢幕保護程式 控制方法之流程圖。 操作S102,判斷電子設備未被操作之持續時間是否達 到預定時間。若電子設備未被操作之持續時間達到預定時 ❹間,則執行操作S104。若電子設備未被操作的持續時間沒 有達到預定時間,則繼續執行操作S102。 操作S104,判斷資料處理系統中是否有動態影像播放 器處於播放狀態。若判斷出有動態影像播放器處於播放狀 態,則執行操作S108。若判斷出沒有動態影像播放器處於 播放狀態,則執行操作S106。 操作S106,執行螢幕保護程式。 操作S108,判斷動態影像播放器為顯示動態影像而創 建的視窗是否處於激活狀態。若判斷出視窗處於激活狀 200931244 態,則結束流程。若判斷出視窗處於未激活狀態,則執行 操作S106。 在另一實施例中,操作S108可以省去,當在操作S104 • 時,若判斷出動態影像播放器處於播放狀態,則結束流程。 • 如圖2所示,其為第二較佳實施.方式之螢幕保護程式 控制方法之流程圖。 操作S202,判斷電子設備未被操作的持續時間是否達 &到預定時間。若電子設備未被操作的持續時間達到預定時 〇 間,則執行操作S204。若電子設備未被操作的持續時間沒 有達到預定時間,則繼續執行操作S202。 操作S204,判斷資料處理系統中是否有動態影像播放 器為顯示動態影像而創建的視窗處於激活狀態。若判斷出 有視窗處於激活狀態,則執行操作S208。若判斷出視窗處 於未激活狀態,則執行操作S206。 操作S206,執行螢幕保護程式。 ❹ 操作S208,判斷動態影像播放器是否處於播放狀態。 若判斷出動態影像播放器處於播放狀態,則結束流程。若 判斷出動態影像播放器沒有處於播放狀態,則執行操作 S206 ° 在另一實施例中,操作S208可以省去,當在操作S204 時,若判斷出有視窗處於激活狀態,則結束流程。 如圖3所示,其為第三較佳實施方式之螢幕保護程式 控制方法之流程圖。 操作S302,判斷資料處理系統中是否有動態影像播放 9 200931244 器處於播放狀態。若判斷出有動態影像播放器處於播放狀 態,則執行操作S304。若判斷出沒有動態影像播放器處於 播放狀態,則執行操作S306。 • 操作S304,判斷動態影像播放器為顯示動態影像而創 - 建的視窗是否處於激活狀態。若判斷出視窗處於激活狀 態,則結束流程。若判斷出視窗處於未激活狀態,則執行 操作S306。 ©操作S306,判斷電子設備未被操作的持續時間是否達 到預定時間。若電子設備未被操作的持續時間達到預定時 間,則執行操作S308。若電子設備未被操作的持續時間沒 有達到預定時間,則繼續執行操作S306。 操作S308,執行螢幕保護程式。 在另一實施例中,操作S302可以省去,從操作S304 開始執行。 如圖4所示,其為第四較佳實施方式之螢幕保護程式 (〇控制方法之流程圖。 操作S402,判斷資料處理系統中是否有動態影像播放 器為顯示動態影像而創建的視窗處於激活狀態。若判斷出 有視窗處於激活狀態,則執行操作S404。若判斷出視窗處 於未激活狀態,則執行操作S406。 操作S404,判斷動態影像播放器是否處於播放狀態。 若判斷出動態影像播放器處於播放狀態,則結束流程。若 判斷出動態影像播放器未處於播放狀態,則執行操作 S406 ° 200931244 刼作S406,判斷電子設備未被操作的持 贿定時間。若電子設備未被操作的持續時間 間、,則執行操作S4G8。若電子設備未被操作^ 4 有達到預定時間,則繼續執行操作S406。、、只日、間沒 操作S408,執行螢幕保護程式。 開始ST實施例一_可以省去,從操一 ❹ 如圖5所示’其為第一較佳實 控制裝置50之功能模組圖。 愛幕保遵各式 心榮:保護程式控制裝置5〇可安置於個人電 ,、數位電視等電子設備中。該等電子設備包 j 理系統60 ,其用於提供程式執行平台。 、〆 螢,保護程式控制襄置5〇包括:輸入檢測模組Μ、 控制椟組53及判斷模組57。 ❾φ輸入檢測模組54 ’用於記錄電子設備未被操作的持碎 〇 ^ ’並判斷電子設備未被操作的持續時間是否達到^ pm吝在判斷出電子設備未被操作的持續時間達到預定時 間時產生執行訊號。 .時 判斷模組57,詩判斷㈣處理系統6 =像播放器62處於播放狀態,並在判斷出資料處理2 訊號中沒有動態影像播放器62處於播放狀態時,產生啟動 …控制模組53 ’用於根據輸入檢測模組54提供的執 凡號控制判斷模組57的判斷操作、根據判斷模組π產生 11 200931244 的啟動訊號控制資料處理系'统5〇中的螢幕保護程式執行 模組64執行螢幕保護程式。 a其他實施例中’判斷模組57可判斷資料處理系統6〇 t疋否有動態影像播放器為顯示動態影像而創建的視 H’並在判斷出沒有動態影像播放器創建的視窗 處於激活狀態時,產生啟動訊號。 ❹ 如圖6所不,其為第二較佳實施方式之營幕保 控制裝置50之功能模組圖。 式 螢幕保護程式控制農置5〇包括:輸入檢測模址 控制!組5 3、判斷模組5 9。其中,判斷模組5 9包括第一 檢測單7L 591及第二檢測單元593。 士輯檢測模組54,用於記錄電子設備未被操作的持續 4間’並⑽f子設備未被操作的持續時間是否達到預定 時間’在騎丨電子設備未鶴作的持續時間達到預定 間時產生執行訊號。 /判斷^組59中的第一檢測單元591用於判斷資料處理 ^統60 t是否有動態影像播放器62處於播放狀態。判斷 =組59中的第二檢測單元593用於判斷資料處理系統 的動態影像播放器62為顯示動態影像而創建的視 否處於激活狀態。 ▲,第一檢測單元591在判斷出資料處理系統6〇中沒有動 態:像播放器62處於播放狀態時,產生啟動訊號;第—檢 j單元591判斷出有動態影像播放器處於播放狀態時,第 二檢測單元593開始判斷視窗是否處於激活狀態,第二檢 12 200931244 測單元593在判斷出視窗處於未激活狀態時,產生啟動訊 號。 。 控制模、、且53,用於根據輸入檢測模組提供的執行 號控制第一檢測單元591執行判斷操作,根據第一檢測 =二\ t二檢測單元593提供的啟動訊號控制勞幕保 邊程式執行杈組64執行螢幕保護程式。 50馨莫/所s述#由上述營幕保護程式控制方法及裝置 办5〇 ’螢幕保護程式控制I窨π; 〇 62的裝置50持續的判斷動態影像播放器 幕保遵程式的執行,進而保證了用 疋爱 受到螢幕保護程式的干擾。 看動W像〜不會 利申Π述以=合發明專利要件,麦依法提出專 熟悉本幸技藝之人士 ^僅為本發明之較佳實施例,舉凡 〇 飾或變化,皆應包含於以…:J作精神所作之纽修 【圖式簡單說明】 申π專利範圍内。 流程^為第一較佳實施方式之榮幕保護程式控制方法之 Ώ 2為弟一較佳實施方式夕怒莖 流程。 '之勞幕保護程式控制方法之 圖3為第三較佳實搞古+ 流程圖。 ""之鸯幕保護程式控制方法之 圖4為第四較隹皆 流程圖。 也式之螢幕保護程式控制方法之 200931244 圖5為第一較佳實施方式 功能模組圖。 之勞幕保護程式控制裝置之 功能二較佳實施方式之螢幕保護程式控制裝置之 •【主要元件符號說明】 螢幕保護程式控制裝置 50 輸入檢測模組 54 ❹第一檢測單元 591 資料處理系統 60 螢幕保護程式執行模組 64 控制模組 53 判斷模組 57 > 59 第二檢測單元 593 動態影像播放器 62Si operates 2 sub-devices. In this way, after the electronic device is in a period of time: the screen will be automatically programmed to watch the movie. [Summary of the Invention] It is necessary to provide a screen saver control method for controlling the privacy of the screen during the user watching the movie. It is necessary to provide a screen saver control device that is executed during the user's viewing of the movie. The screen protector - the screen protection program control method, the electronic system of the system command =; (4) has the data department loves to protect the private implementation, the screen saver 200931244 control method includes the following steps: f break the data processing system whether there are motion pictures Play, there is motion picture broadcast: the status of the motion picture player when the device is executed and the duration when the 3 recorded electronic devices are not operated; According to the judgment result and the duration control screen protection program, the screen protection program (4) is placed, the electronic device is set to control the data processing system command 22; the program execution module executes the screen protection program, The camp curtain ^ includes the input detection module, the control module and the judgment module ":, the room; the input detection module, which is used to record the duration judgment module of the electronic device that is not operated, and is used for judging the player. Execution, and dynamic video broadcast = state of dynamic image; player to fix % dynamic video player, production: to execute the screen saver according to the continuous protection private execution module recorded by the input detection module The screen-driven method and device of the screen, the user watches the motion picture in the watcher. The style will not be executed, and thus will not interfere with the [Implementation] No = = : The execution of the data processing system in the electronic device is beneficial And when the motion picture player is executed 7 200931244 The playback status of the motion picture player, the activity status of the motion picture player window, and the simultaneous recording The duration of the operation; finally, the control of the screen saver of the electronic device is controlled according to the judgment result and the duration of the record. Among them, the state of the motion picture player in the data processing system includes two types: the stop state and the play state. The stop state includes a state in which the motion picture player is not executed, a pause when the motion picture player plays the motion picture, and a wait state after the motion picture is finished playing; the play status is a state when the motion picture player plays the motion picture. The active state includes an activated state and an inactive state, and the inactive state refers to a state in which the window is open but not activated. The duration refers to a time when the electronic device is not operated. As shown in FIG. 1 , it is the first preferred implementation. Step S102, determining whether the duration of the electronic device not being operated reaches a predetermined time. If the duration of the electronic device not being operated reaches a predetermined time, operation S104 is performed. If the device has not been operated for a predetermined period of time, continue In operation S102, it is determined whether there is a motion picture player in the data processing system in the playing state. If it is determined that the motion picture player is in the playing state, operation S108 is performed. If it is determined that no motion picture player is in the playing state Then, operation S106 is performed. Operation S106 is executed to execute a screen saver program. In operation S108, it is determined whether the window created by the motion picture player for displaying the motion picture is in an active state. If it is determined that the window is in the active state 200931244 state, the process ends. If it is determined that the window is in the inactive state, operation S106 is performed. In another embodiment, operation S108 may be omitted, and when it is determined in operation S104, if the motion picture player is judged to be in the playing state, the process ends. 2 is a flow chart of a method for controlling a screen saver according to a second preferred embodiment. In operation S202, it is determined whether the duration of the electronic device not being operated reaches & to a predetermined time. If the duration in which the electronic device is not operated reaches the predetermined time, operation S204 is performed. If the duration in which the electronic device is not operated has not reached the predetermined time, the operation S202 is continued. In operation S204, it is determined whether there is a window created by the motion image player for displaying the motion image in the data processing system. If it is determined that the window is in the active state, operation S208 is performed. If it is determined that the window is in the inactive state, operation S206 is performed. In operation S206, a screen saver is executed. ❹ In operation S208, it is determined whether the motion picture player is in a playing state. If it is determined that the motion picture player is in the playing state, the process ends. If it is determined that the motion picture player is not in the playing state, then operation S206 is performed. In another embodiment, operation S208 may be omitted. When it is determined in operation S204, if it is determined that the window is in the active state, the flow is ended. As shown in FIG. 3, it is a flowchart of a screen protection program control method according to a third preferred embodiment. In operation S302, it is determined whether there is motion picture playback in the data processing system. 9 200931244 The device is in the playing state. If it is determined that the motion picture player is in the playing state, operation S304 is performed. If it is determined that no motion picture player is in the playing state, then operation S306 is performed. • Operation S304 determines whether the window created by the motion picture player to display the motion picture is active. If it is determined that the window is active, the process ends. If it is determined that the window is in an inactive state, operation S306 is performed. © operation S306, it is judged whether the duration in which the electronic device is not operated reaches a predetermined time. If the duration in which the electronic device is not operated reaches the predetermined time, operation S308 is performed. If the duration in which the electronic device has not been operated has not reached the predetermined time, operation S306 is continued. In operation S308, a screen saver is executed. In another embodiment, operation S302 may be omitted, starting from operation S304. As shown in FIG. 4, it is a screen protection program of the fourth preferred embodiment (a flowchart of the control method. Operation S402, determining whether there is a window created by the motion picture player for displaying a motion picture in the data processing system is activated. If it is determined that the window is in the active state, operation S404 is performed. If it is determined that the window is in the inactive state, operation S406 is performed. Operation S404, determining whether the motion picture player is in the playing state. If it is in the playing state, the process ends. If it is determined that the motion picture player is not in the playing state, then operation S406 ° 200931244 is performed as S406 to determine the bribe time for the electronic device not being operated. If the electronic device is not operated continuously When the time is up, the operation S4G8 is performed. If the electronic device has not been operated for a predetermined time, the operation S406 is continued. The screen protection program is executed only when the operation is not performed on S408. The ST embodiment 1 can be started. It is omitted, as shown in Fig. 5, which is a functional module diagram of the first preferred real control device 50. Ai Bianbao can follow various types of enthusiasm: the protection program control device 5 can be placed in electronic devices such as personal electric and digital televisions. The electronic device package system 60 is used to provide a program execution platform. The protection program control device 5 includes: an input detection module Μ, a control group 53 and a determination module 57. The ❾ φ input detection module 54 ′ is used to record the electronic device that is not operated, and to determine the electronic Whether the duration of the device not being operated reaches ^ pm, and an execution signal is generated when it is determined that the duration of the electronic device is not operated reaches a predetermined time. The judgment module 57, the poem judgment (4) processing system 6 = like the player 62 is Playing state, and when it is determined that no motion picture player 62 is in the playing state in the data processing 2 signal, the startup control module 53' is used to control the determination module 57 according to the execution number provided by the input detection module 54. Judging operation, according to the determining module π, the start-up signal control data processing system of the 200931244 generates a screen saver program. In the embodiment, the determination module 57 can determine whether the data processing system 6〇t has the view H′ created by the motion picture player for displaying the motion picture and when it is determined that the window created by the motion picture player is not active, A startup signal is generated. ❹ As shown in FIG. 6, it is a functional module diagram of the screen security control device 50 of the second preferred embodiment. The screen protection program controls the farm equipment 5: input detection module control group 5, the judging module 5 9. wherein the judging module 59 includes a first detecting unit 7L 591 and a second detecting unit 593. The discriminating detecting module 54 is configured to record that the electronic device is not operated for 4 consecutive ' And (10) whether the duration of the unoperated sub-device is up to the predetermined time 'the execution signal is generated when the duration of the riding of the electronic device does not reach the predetermined time. The first detecting unit 591 in the judging group 59 is for judging whether the data processing system 60 t has the motion picture player 62 in the playing state. Judgment = The second detecting unit 593 in the group 59 is for determining whether the dynamic image player 62 of the data processing system creates the active image for the display of the moving image. ▲, the first detecting unit 591 determines that there is no dynamic in the data processing system 6: when the player 62 is in the playing state, an activation signal is generated; and when the detecting unit j 591 determines that the motion video player is in the playing state, The second detecting unit 593 starts to determine whether the window is in an active state, and the second detecting 12 200931244 detecting unit 593 generates an activation signal when it is determined that the window is in an inactive state. . The control module, and 53 is configured to control the first detecting unit 591 to perform a determining operation according to the execution number provided by the input detecting module, and control the screen edge maintaining program according to the start signal provided by the first detecting=two second detecting unit 593. Execute group 64 to execute the screen saver. 50 馨莫/所述# The above-mentioned camp screen protection program control method and device do 5 'screen protection program control I 窨 π; 〇 62 device 50 continuously judges the motion picture player screen to follow the execution of the program, and further It is guaranteed to be interfered with by the screen saver. Looking at the W image ~ will not be used to describe the patent requirements, the person who is familiar with the technology of the law is only a preferred embodiment of the present invention, and the decoration or change should be included in ...:J is the spirit of the new repair [simplified description of the schema] Shen π patent range. The process ^ is the control method of the screen protector of the first preferred embodiment, which is the flow of the stalk of the preferred embodiment. 'Figure 3 is the third best implementation of the ancient + flow chart. "" The screen protection program control method Figure 4 is the fourth comparative flow chart. Also, a screen saver control method of the present invention is shown in Fig. 5 which is a functional block diagram of the first preferred embodiment. The function of the screen protection program control device is the screen protection program control device of the preferred embodiment. [Main component symbol description] Screen protection program control device 50 Input detection module 54 ❹ First detection unit 591 Data processing system 60 Screen Protection program execution module 64 control module 53 determination module 57 > 59 second detection unit 593 dynamic video player 62
1414