六、發明說明: 【發明所屬之技術領域】 本發明係_—種則之顯示方法及電子裝置特別是關於 一種使用者可以藉由觸控螢幕與圖片進行互動之圖片互動之圖片 之顯示方法及電子裝置ο θ 【先前技術】 /有觸控螢幕之電子裝置(如數位相機或個人數位助理)雖 已是相當普及之電子產品,但目前的電子裝置僅可在螢幕上播放 預《X好之動旦程式或螢幕保護程式’缺少與使用者在觸控榮幕上 ,行互動之舰。如圖i所示,習知之螢幕保護程式僅在預設之 :面落下動態物件82a (譬如雪花),動態物件82a係直接落在底 部上,相當缺乏互動性及娛樂性。 b有必要k供一種更具趣味性及提高附加 顯示方法及電找置,赠#上述祕。 腿之圖片之 【發明内容】 本發明之主要目的係在提供一種圖片之顯示方法及電子裝 置’以增加趣味性及電子裝置之附加價值。 為達成上述之目的,本發明提供一種圖片之顯示方法,包括 下列^驟:_圖片於電子裝置之至少-觸控螢幕上;出現移動 之,^一動態物件;偵測觸控螢幕上是否於至少一按壓位置產生 至^按壓訊號,且若是,則動態物件停留在按壓位置並形成堆 積區域。 ,本發明之一實施例中’圖片之顯示方法更包括下列步驟: 偵測是否出現清除訊號;以及若是,則清除堆積區域。 1380214 件、Γ 種電抒置,包括儲存元 二^幕 處理單元。射儲存元件係用以儲存 夕-圖片及至少-動態物件’·觸控螢幕係用以顯示圖片 模組係用以侧觸控螢幕之至少—按壓位置是否被而產生至 2按壓訊號;處理單雜電性連接上述元件並控制上述元件之 作動,且處理單域用以播放動態物件並可控制動態物件之移動。 藉此,當按壓觸控螢幕之按屋位置而羞生按壓訊號,則動態 物件將停留在按壓位置。 〜 【實施方式】 為讓本發明之上述和其他目的、概和優職更鴨易懂, 下文特舉出較佳實施例,並配合所關式,作詳細說明如下。 一立以下請先參考圖2瞻本㈣之電子裝置之—實施例之架構 示意圖。 如圖2所示,本發明之電子裝置!包括儲存元件3〇、觸控營 幕4〇、偵測模組60及處理單元50。其中儲存元件%係用以儲存 至少-圖片及至少-動態物件;觸控螢幕4G係用以顯示圖片;偵 測模組60係用以偵測觸控螢幕4〇之至少一按壓位置是否被按壓 而產生至少-按壓訊號。處理單元5〇係與影像娜元件、儲存 轉30、觸控螢幕40、及俄測模組6〇電性連接;且處理單元5〇 係用以控制以上各元件或各模組之作動,且處理單元%係用以播 放動態物件並可控制動態物件之移動。 在本發明之-實施例卜電子裝置!可為數位相框、液晶營 幕、數位電視、數位相機、數位攝影機、照相手機、個人數位助 理、電子遊樂器或GPS導航機,但本發明不以此為限,任何具有 觸控螢幕之電子裝置皆可為本發明之電子裝置1。 夕半睛參相3關於本發明之在圖片之顯示方法之-實施例 ::驟=圖’並請一併參考圖2及圖4至圖6。惟須注意 疋下之實施例之電子裝置1係以數位相機為例進行說 明,但本發明並不以此為限。 j進仃說 上首先進仃步驟S?1 :顯示圖片於電子裝置之至少—觸控榮幕 在本發明之一實施例中,使用者將圖片81顯示在觸控榮幕仙 t。在本發明之一實施例中,圖片81係預先儲存在儲存元件3〇, 亦可為,子裝置1所擷取之影像,但本發明不以此為限。 接著進行步驟S72 .出現移動之至少一動態物件。 如圖4所示,在本發明之一實施例中,動態物件82係葉子, ^本發明不以此為限,任何移動或落下之物件皆可為本發明之動 $物,!2。舉例來說,動態物件82可為雪片、雨滴、流星或飛沙 接著進仃步驟S73:侧觸控螢幕上是否於至少__按壓位 生至少一按壓訊號。 在本發明之—實關巾’按壓峨之產生絲自於使用者將 2 90按壓在觸控螢幕4〇上之按壓位£ 41 (如圖5所示)。觸控 、40產生按麼訊號之方式係習知技術故在此不再資述。惟須 注,的是,按壓位置並不限於單次出現在單—位置,個者亦可 同時,壓複數按壓位置並產生複數按壓訊號。 f沒有細到按壓訊號,則進行步驟⑺:將動態物件移動至 圓月底部。 若伯測到健赠,則進行步驟奶:將動祕件㈣在按壓 位置並形成堆積區域。 5 1380214 如圖5所示,在本發明之一實施例令,當使用者以手指按壓 觸控螢幕40上之一按壓位置4丨,按壓位置41係產±按壓訊號, 則處理單元50係根據按壓訊號而將經過按壓位置41之動態物件 82停留在按壓位置41並逐漸形成堆積區域们。藉此,使用者可 與電I裝置1進行互動,增加電子裝置丨之互動性及娛樂性。惟 須注意的是’若偵測模組6〇偵測到複數按壓位置,則動態物件可 停留在複數按壓位置並逐漸形成複數堆積區域(圖未示)。如圖6 所不,在本發明之另一實施例中,動態物件82係飛沙。 接著進行步驟S76 :偵測是否出現清除訊號。 在本發明之一實施例中,清除訊號為使用者之手指在觸控螢 幕40上之按壓軌跡所產生之訊號。舉例來說,按墨執跡可為手指 在觸控螢幕4〇上做打勾之祕,但本發财以此為限。舉例來說, 電子裝置1可另外設置按鈕,其係用以產生清除訊號。 若偵測到清除訊號,則進行步驟S77 :清除堆積區域。 在本發明之一實施例中,若偵測到清除訊號,則將畫面中之 堆積區域83清除。 若否,則重複步驟S73。 知上所陳,本發明無論就目的、手段及功效,在在均顯示其 财於習知技術之特徵,懇請責審查委員明察,早曰賜准專利、, 俾嘉惠社會’實感德便。惟應注意的是,上述諸多實施例僅係為 了便於說明而舉例而6,本發明所主張之權利範圍自應以申請專 利範圍所述為準,而非僅限於上述實施例。 【圖式簡單說明】 】於本發明之先前技術之一實施例之示意圖。 明之電子裝置之1_之架構示意圖。 圖4錢於本發明之在圖片之顯示方法之—實施例之步驟流程圖。 Ξ 6 於本發明之電抒置之—實施例之制示意圖。 發明之在圖片之顯示方法之-實施例之示意圖。 【主要元件符號說明】 電子裝置1 觸控螢幕40 處理單元50 圖片81 堆積區域83 儲存元件30 按壓位置41 偵測模組60 動態物件82、82a6. Description of the Invention: The present invention relates to a display method and an electronic device, and more particularly to a method for displaying a picture in which a user can interact with a picture through a touch screen and a picture. Electronic device ο θ [Prior Art] / Electronic devices with touch screens (such as digital cameras or personal digital assistants) are already quite popular electronic products, but current electronic devices can only play pre-X on the screen. The dynamic program or screen saver 'lacks the ship that interacts with the user on the touch screen. As shown in Figure i, the conventional screen saver is only preset: the dynamic object 82a (such as snowflake) is dropped, and the dynamic object 82a is directly on the bottom, which is quite incompetent and entertaining. b necessary k for a more interesting and improved additional display method and electricity to find, give # the above secret. SUMMARY OF THE INVENTION The main object of the present invention is to provide a method of displaying a picture and an electronic device to increase the added value of the fun and electronic device. In order to achieve the above object, the present invention provides a method for displaying a picture, comprising the following steps: _ picture on at least a touch screen of an electronic device; presence of a moving object; detecting a dynamic object on the touch screen; At least one of the pressing positions generates a press signal, and if so, the dynamic object stays at the pressed position and forms a stacked area. In one embodiment of the present invention, the method for displaying a picture further includes the following steps: detecting whether a clear signal appears; and if so, clearing the stacked area. 1380214 pieces, such as the power unit, including the storage unit. The storage storage component is configured to store the eve-picture and at least the dynamic object ′. the touch screen is used to display at least the at least one of the side touch screens of the picture module is generated. The components are electrically connected to the above components and control the actuation of the components, and the single domain is processed to play dynamic objects and control the movement of the dynamic objects. Thereby, when the pressing position of the touch screen is pressed and the signal is shy, the dynamic object will stay at the pressing position. ~ [Embodiment] In order to make the above and other objects, advantages and advantages of the present invention easier to understand, the following is a detailed description of the preferred embodiment and the following description will be given in detail. Please refer to Figure 2 for an overview of the architecture of the electronic device. As shown in Figure 2, the electronic device of the present invention! The storage component 3, the touch screen 4, the detection module 60, and the processing unit 50 are included. The storage component % is used to store at least a picture and at least a dynamic object; the touch screen 4G is used to display a picture; and the detection module 60 is configured to detect whether at least one pressing position of the touch screen 4 is pressed. And at least - press the signal. The processing unit 5 is electrically connected to the image element, the storage switch 30, the touch screen 40, and the Russian test module 6; and the processing unit 5 is used to control the operation of the above components or modules, and The processing unit % is used to play dynamic objects and control the movement of dynamic objects. In the present invention - an electronic device! It can be a digital photo frame, a liquid crystal screen, a digital television, a digital camera, a digital camera, a camera phone, a personal digital assistant, an electronic game instrument or a GPS navigation machine, but the invention is not limited thereto, and any electronic device with a touch screen Both can be the electronic device 1 of the present invention. The present invention is directed to a method of displaying a picture of the present invention - an embodiment of the present invention, and a reference to FIG. 2 and FIG. 4 to FIG. It should be noted that the electronic device 1 of the embodiment is described by taking a digital camera as an example, but the invention is not limited thereto. In the first step of the present invention, the user displays the picture 81 on the touch screen. In an embodiment of the present invention, the picture 81 is stored in advance in the storage element 3, and may be an image captured by the sub-device 1, but the invention is not limited thereto. Then proceed to step S72. At least one dynamic object that appears to move. As shown in FIG. 4, in one embodiment of the present invention, the dynamic object 82 is a leaf, and the invention is not limited thereto, and any moving or falling object can be the object of the present invention, !2. For example, the dynamic object 82 may be a snow flake, a raindrop, a meteor or a flying sand. Step S73: Whether at least one pressing signal is generated at least on the side touch screen. In the present invention, the actual closing of the crepe is caused by the user pressing the button 90 on the touch screen 4 (see Figure 5). The way in which touch and 40 generate signals is based on conventional techniques, so it is not mentioned here. However, it should be noted that the pressing position is not limited to a single occurrence in the single-position, and the individual can simultaneously press the plurality of pressing positions and generate a plurality of pressing signals. f If the pressure signal is not fine, proceed to step (7): Move the dynamic object to the bottom of the moon. If Bob detects the gift, perform the step milk: move the secret part (4) to the pressed position and form a stacking area. 5 1380214 As shown in FIG. 5, in one embodiment of the present invention, when the user presses one of the pressing positions 4 on the touch screen 40 with a finger, and the pressing position 41 produces a ± pressing signal, the processing unit 50 is based on The dynamic object 82 passing through the pressing position 41 is pressed at the pressing position 41 by pressing the signal and gradually forms the stacked regions. Thereby, the user can interact with the electric device 1 to increase the interactivity and entertainment of the electronic device. It should be noted that if the detection module 6 detects multiple compression positions, the dynamic object can stay at the multiple compression positions and gradually form a plurality of accumulation areas (not shown). As shown in Fig. 6, in another embodiment of the invention, the dynamic object 82 is a flying sand. Then proceed to step S76: detecting whether a clear signal appears. In an embodiment of the invention, the clear signal is a signal generated by a pressing trajectory of a user's finger on the touch screen 40. For example, pressing the ink can be used to tick the finger on the touch screen, but this is limited to the money. For example, the electronic device 1 may additionally provide a button for generating a clear signal. If the clear signal is detected, proceed to step S77: clear the stacking area. In one embodiment of the invention, if a clear signal is detected, the accumulation area 83 in the picture is cleared. If not, step S73 is repeated. In view of the above, the present invention shows its characteristics in terms of its purpose, means and efficacy, and it is indispensable for the reviewing committee to inspect the patent, and to give the company a real sense of virtue. It is to be noted that the various embodiments described above are merely illustrative and are intended to be illustrative only, and the scope of the invention is intended to be limited by the scope of the claims. BRIEF DESCRIPTION OF THE DRAWINGS A schematic diagram of an embodiment of the prior art of the present invention. Schematic diagram of the structure of the electronic device of Ming. Figure 4 is a flow chart showing the steps of the embodiment of the present invention. Ξ 6 is a schematic diagram of the embodiment of the present invention. A schematic diagram of an embodiment of the invention for displaying a picture. [Description of main component symbols] Electronic device 1 Touch screen 40 Processing unit 50 Picture 81 Stacking area 83 Storage element 30 Pressing position 41 Detection module 60 Dynamic objects 82, 82a