TWI531930B - Electronic device, control method, and computer-readable recording medium - Google Patents

Electronic device, control method, and computer-readable recording medium Download PDF

Info

Publication number
TWI531930B
TWI531930B TW104100522A TW104100522A TWI531930B TW I531930 B TWI531930 B TW I531930B TW 104100522 A TW104100522 A TW 104100522A TW 104100522 A TW104100522 A TW 104100522A TW I531930 B TWI531930 B TW I531930B
Authority
TW
Taiwan
Prior art keywords
electronic device
function
display
user interface
application
Prior art date
Application number
TW104100522A
Other languages
Chinese (zh)
Other versions
TW201626169A (en
Inventor
梁譽馨
Original Assignee
宏達國際電子股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 宏達國際電子股份有限公司 filed Critical 宏達國際電子股份有限公司
Priority to TW104100522A priority Critical patent/TWI531930B/en
Application granted granted Critical
Publication of TWI531930B publication Critical patent/TWI531930B/en
Publication of TW201626169A publication Critical patent/TW201626169A/en

Links

Description

電子裝置、控制方法、以及電腦可讀取的記錄媒體 Electronic device, control method, and computer readable recording medium

本發明是有關於一種電子裝置的控制機制,且特別是有關於一種電子裝置、控制方法、以及電腦可讀取的記錄媒體。 The present invention relates to a control mechanism of an electronic device, and more particularly to an electronic device, a control method, and a computer readable recording medium.

現在的智慧型手機和平板電腦之類的電子裝置為了省電,會在一段時間沒有操作之後自動進入休眠模式。在休眠模式時,有些按鍵沒有作用,例如調整音量大小的按鍵就不會有作用。這些電子裝置使用上的便利性對於使用者非常重要。沒作用的按鍵可說減少了電子裝置的功能,相當於降低了電子裝置的便利性。 In order to save power, electronic devices such as smart phones and tablets automatically enter sleep mode after a period of inactivity. In sleep mode, some buttons have no effect, such as adjusting the volume of the button will not work. The ease of use of these electronic devices is very important to the user. The ineffective button can be said to reduce the function of the electronic device, which is equivalent to reducing the convenience of the electronic device.

本發明提供一種電子裝置、控制方法、以及電腦可讀取的記錄媒體,可讓原本在休眠模式時沒有作用的按鍵發揮功能。 The present invention provides an electronic device, a control method, and a computer readable recording medium that can function as a button that does not function in the sleep mode.

本發明的電子裝置包括按鍵、顯示器、感應器、以及處理器。感應器偵測顯示器是否被覆蓋。處理器耦接按鍵、顯示器、以及感應器。當電子裝置處於正常模式而且該按鍵接收到一操作 時,處理器執行第一功能。當電子裝置處於休眠模式而且顯示器未被覆蓋而且按鍵接收到同一操作時,處理器執行第二功能。當電子裝置處於休眠模式而且顯示器被覆蓋而且按鍵接收到同一操作時,處理器執行第三功能。上述的第一功能、第二功能和第三功能各不相同。 The electronic device of the present invention includes a button, a display, an inductor, and a processor. The sensor detects if the display is covered. The processor is coupled to a button, a display, and a sensor. When the electronic device is in the normal mode and the button receives an operation When the processor performs the first function. The processor performs the second function when the electronic device is in the sleep mode and the display is not overwritten and the button receives the same operation. The processor performs a third function when the electronic device is in sleep mode and the display is overwritten and the button receives the same operation. The first function, the second function, and the third function described above are different.

本發明的控制方法由電子裝置執行,此電子裝置包括按鍵與顯示器。上述控制方法包括以下步驟:當電子裝置處於正常模式而且按鍵接收到一操作時,執行第一功能;當電子裝置處於休眠模式而且顯示器未被覆蓋而且按鍵接收到同一操作時,執行第二功能;當電子裝置處於休眠模式而且顯示器被覆蓋而且按鍵接收到同一操作時,執行第三功能。上述的第一功能、第二功能和第三功能各不相同。 The control method of the present invention is performed by an electronic device including a button and a display. The above control method includes the following steps: when the electronic device is in the normal mode and the button receives an operation, performing the first function; when the electronic device is in the sleep mode and the display is not covered and the button receives the same operation, performing the second function; The third function is performed when the electronic device is in the sleep mode and the display is overwritten and the button receives the same operation. The first function, the second function, and the third function described above are different.

本發明的電腦可讀取的記錄媒體儲存電腦程式。當電子裝置載入並執行此電腦程式後,可完成如上所述的控制方法。 The computer readable recording medium of the present invention stores a computer program. When the electronic device loads and executes the computer program, the control method as described above can be completed.

基於上述,本發明可讓音量控制鍵之類的在休眠模式沒有作用的按鍵具有各種預設功能,例如啟動各種不同的應用程式,以增進電子裝置的便利性。 Based on the above, the present invention allows buttons such as volume control keys that do not function in the sleep mode to have various preset functions, such as launching various different applications to enhance the convenience of the electronic device.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 The above described features and advantages of the invention will be apparent from the following description.

100‧‧‧電子裝置 100‧‧‧Electronic devices

101、102‧‧‧按鍵 101, 102‧‧‧ button

110‧‧‧控制器 110‧‧‧ Controller

120‧‧‧感應器 120‧‧‧ sensor

130‧‧‧處理器 130‧‧‧Processor

140‧‧‧顯示器 140‧‧‧ display

150‧‧‧攝影機 150‧‧‧ camera

160‧‧‧揚聲器 160‧‧‧Speakers

205~255‧‧‧方法步驟 205~255‧‧‧ method steps

300‧‧‧前蓋 300‧‧‧ front cover

305‧‧‧孔洞 305‧‧‧ hole

310‧‧‧時間 310‧‧‧Time

320‧‧‧圖案 320‧‧‧ patterns

410~430‧‧‧方框 410~430‧‧‧Box

510‧‧‧圖案 510‧‧‧ pattern

600‧‧‧前蓋 600‧‧‧ front cover

610‧‧‧空窗 610‧‧‧ empty window

620‧‧‧縮圖 620‧‧‧ thumbnail

圖1是依照本發明的一實施例的一種電子裝置的示意圖。 1 is a schematic diagram of an electronic device in accordance with an embodiment of the present invention.

圖2是依照本發明的一實施例的一種控制方法的流程圖。 2 is a flow chart of a control method in accordance with an embodiment of the present invention.

圖3至圖6是依照本發明的不同實施例的一種電子裝置的示意圖。 3 through 6 are schematic views of an electronic device in accordance with various embodiments of the present invention.

圖1是依照本發明的一實施例的一種電子裝置100的示意圖。電子裝置100可以是智慧型手機、個人數位助理(PDA:personal digital assistant)、平板電腦、或筆記型電腦。電子裝置100包括按鍵101和102、控制器110、感應器120、處理器130、顯示器140、攝影機150、以及揚聲器160。控制器110和處理器130互相耦接。按鍵101耦接控制器110和處理器130。按鍵102也耦接控制器110和處理器130。感應器120耦接控制器110。顯示器140、攝影機150、以及揚聲器160皆耦接處理器130。 1 is a schematic diagram of an electronic device 100 in accordance with an embodiment of the present invention. The electronic device 100 may be a smart phone, a personal digital assistant (PDA), a tablet computer, or a notebook computer. The electronic device 100 includes buttons 101 and 102, a controller 110, a sensor 120, a processor 130, a display 140, a camera 150, and a speaker 160. The controller 110 and the processor 130 are coupled to each other. The button 101 is coupled to the controller 110 and the processor 130. The button 102 is also coupled to the controller 110 and the processor 130. The sensor 120 is coupled to the controller 110. The display 140, the camera 150, and the speaker 160 are all coupled to the processor 130.

按鍵101和102都是配置在電子裝置100的外殼的實體按鍵。當電子裝置100處於正常模式時,是由處理器130偵測按鍵101和102是否接收到使用者的操作,例如是否被使用者按壓。當電子裝置100處於休眠模式時,則是由控制器110偵測按鍵101和102是否接收到使用者的操作。處理器130執行電子裝置100的作業系統與應用程式等各種高階功能。控制器110則執行比較低階的功能,例如接收感應器120的輸出訊號。處理器130會在休眠模式停止操作以節省電力,控制器110則不會停止操作。若 有必要,控制器110會在休眠模式中喚醒處理器130。例如在需要處理器130執行應用程式時,控制器110就會在休眠模式中喚醒處理器130。 The keys 101 and 102 are physical keys that are disposed on the outer casing of the electronic device 100. When the electronic device 100 is in the normal mode, it is detected by the processor 130 whether the buttons 101 and 102 receive the user's operation, such as whether it is pressed by the user. When the electronic device 100 is in the sleep mode, it is detected by the controller 110 whether the buttons 101 and 102 receive the user's operation. The processor 130 executes various high-level functions such as an operating system and an application of the electronic device 100. The controller 110 performs a relatively low-level function, such as receiving the output signal of the sensor 120. The processor 130 will stop operating in the sleep mode to save power, and the controller 110 will not stop operating. If If necessary, the controller 110 will wake up the processor 130 in sleep mode. For example, when processor 130 is required to execute an application, controller 110 wakes up processor 130 in sleep mode.

感應器120可偵測顯示器140是否被覆蓋。為達到此目的,感應器120可以是光感應器(light sensor)、近距感應器(proximity sensor)、或霍爾效應感應器(Hall sensor或Hall effect sensor)。如果感應器120是光感應器,因為顯示器140被覆蓋時,周圍亮度會降低,所以感應器120可偵測亮度變化,以供控制器110判斷顯示器140是否被覆蓋。如果感應器120是近距感應器,可偵測顯示器140和覆蓋物之間的距離,以供控制器110判斷顯示器140是否被覆蓋。如果感應器120是霍爾效應感應器,則覆蓋物通常是電子裝置100的前蓋,而且此前蓋包含磁鐵,感應器120可偵測磁鐵靠近時的磁場變化,以供控制器110判斷顯示器140是否被覆蓋。 The sensor 120 can detect whether the display 140 is covered. To achieve this, the sensor 120 can be a light sensor, a proximity sensor, or a Hall effect sensor. If the sensor 120 is a light sensor, since the ambient brightness is lowered when the display 140 is covered, the sensor 120 can detect a change in brightness for the controller 110 to determine whether the display 140 is covered. If the sensor 120 is a proximity sensor, the distance between the display 140 and the cover can be detected for the controller 110 to determine whether the display 140 is covered. If the sensor 120 is a Hall effect sensor, the cover is usually the front cover of the electronic device 100, and the front cover includes a magnet, and the sensor 120 can detect the change of the magnetic field when the magnet is close to the controller 110 to determine the display 140. Whether it is covered.

顯示器140可以是單純的顯示器,也可以是觸控顯示器。攝影機150可用來拍攝數位影像。揚聲器160可用來播放音效、語音或音樂等聲音訊號。 The display 140 can be a simple display or a touch display. The camera 150 can be used to take digital images. The speaker 160 can be used to play sound signals such as sound effects, voice or music.

圖2是依照本發明的一實施例的一種控制方法的流程圖,此控制方法可由電子裝置100執行。首先,在步驟205,檢查目前的電子裝置100是在正常模式還是在休眠模式。若是在正常模式,則在步驟210檢查是哪一個按鍵接收到使用者的操作。若是按鍵101接收到使用者的操作,則在步驟215執行第一功能。 若是按鍵102接收到使用者的操作,則在步驟220執行第二功能。 2 is a flow chart of a control method that can be performed by the electronic device 100 in accordance with an embodiment of the present invention. First, at step 205, it is checked whether the current electronic device 100 is in the normal mode or the sleep mode. If it is in the normal mode, it is checked in step 210 which button received the user's operation. If the button 101 receives the user's operation, then the first function is performed at step 215. If the button 102 receives the user's operation, then the second function is performed at step 220.

如果電子裝置100是在休眠模式,則在步驟225檢查顯示器140是否被覆蓋。如果顯示器140未被覆蓋,則在步驟230檢查是哪一個按鍵接收到使用者的操作。若是按鍵101接收到使用者的操作,則在步驟235執行第三功能。若是按鍵102接收到使用者的操作,則在步驟240執行第四功能。另一方面,如果顯示器140被覆蓋,則在步驟245檢查是哪一個按鍵接收到使用者的操作。若是按鍵101接收到使用者的操作,則在步驟250執行第五功能。若是按鍵102接收到使用者的操作,則在步驟255執行第六功能。 If the electronic device 100 is in the sleep mode, then at step 225 it is checked if the display 140 is overwritten. If the display 140 is not overwritten, then at step 230 it is checked which button received the user's operation. If the button 101 receives the user's operation, the third function is performed at step 235. If the button 102 receives the user's operation, then the fourth function is performed at step 240. On the other hand, if the display 140 is overwritten, then at step 245 it is checked which button received the user's operation. If the button 101 receives the user's operation, the fifth function is performed at step 250. If the button 102 receives the user's operation, then the sixth function is performed at step 255.

以上的第一功能至第六功能都是預設功能,全是由處理器130執行,而且第一功能至第六功能各不相同。也就是說,當一個按鍵接收到同樣的操作,會在正常模式時、在休眠模式而且顯示器140未被覆蓋時、以及在休眠模式而且顯示器140被覆蓋時這三個不同情況下觸發三個不同功能。例如步驟215的第一功能可以是提高揚聲器160播放音樂的音量,步驟220的第二功能可以是降低揚聲器160播放音樂的音量,步驟235的第三功能可以是執行收發簡訊或電子郵件的應用程式,步驟240的第四功能可以是執行拍攝照片的應用程式,步驟250的第五功能可以是執行錄音或遙控的應用程式,步驟255的第六功能可以是執行快速拍照的應用程式。 The above first to sixth functions are all preset functions, all of which are executed by the processor 130, and the first to sixth functions are different. That is, when a button receives the same operation, three different conditions are triggered in the three different cases in the normal mode, in the sleep mode and when the display 140 is not covered, and in the sleep mode and the display 140 is covered. Features. For example, the first function of step 215 may be to increase the volume of the music played by the speaker 160. The second function of the step 220 may be to reduce the volume of the music played by the speaker 160. The third function of step 235 may be an application for transmitting and receiving a text message or an email. The fourth function of step 240 may be an application for taking a photo. The fifth function of step 250 may be an application for performing recording or remote control, and the sixth function of step 255 may be an application for performing quick photo taking.

上述的第一功能至第六功能只是範例,在其他實施例 中,可以設定為其他功能。按鍵101和102這種調整音量的按鍵通常在休眠模式沒有作用,本實施例中,按鍵101和102在休眠模式也能發揮功能,這可以增加電子裝置100的便利性。 The first to sixth functions described above are merely examples, in other embodiments. It can be set to other functions. The keys for adjusting the volume of the buttons 101 and 102 generally have no effect in the sleep mode. In the present embodiment, the buttons 101 and 102 can also function in the sleep mode, which can increase the convenience of the electronic device 100.

在上述的實施例中,電子裝置100包括兩個按鍵。在其他實施例中,電子裝置100則可包括一個按鍵、三個按鍵、或更多按鍵。 In the above embodiment, the electronic device 100 includes two buttons. In other embodiments, the electronic device 100 may include one button, three buttons, or more buttons.

圖3是依照本發明的一實施例的電子裝置100的示意圖。在此實施例中,顯示器140是觸控顯示器,感應器120可偵測顯示器140是否被電子裝置100的前蓋300所覆蓋。前蓋300包括多個孔洞,例如孔洞305。在此實施例中,步驟255的第六功能是執行錄音的應用程式,而且此應用程式顯示低解析度的使用者介面。例如圖3所示,這個低解析度使用者介面包括錄音的時間長度310和代表錄音功能的圖案320。這種低解析度的文字與圖案適用於透過前蓋300的多個孔洞觀看。 FIG. 3 is a schematic diagram of an electronic device 100 in accordance with an embodiment of the present invention. In this embodiment, the display 140 is a touch display, and the sensor 120 can detect whether the display 140 is covered by the front cover 300 of the electronic device 100. The front cover 300 includes a plurality of holes, such as holes 305. In this embodiment, the sixth function of step 255 is an application that performs recording, and the application displays a low-resolution user interface. For example, as shown in FIG. 3, the low resolution user interface includes a length of time 310 for recording and a pattern 320 representing the recording function. Such low resolution text and graphics are suitable for viewing through a plurality of holes in the front cover 300.

只要前蓋300不會太厚,觸控顯示器140就能感應到使用者在前蓋300上的點擊、滑動與拖曳之類的操作。在此實施例中,使用者可以觸碰前蓋300以控制應用程式開始錄音或停止錄音。也就是說,即使被前蓋300覆蓋,觸控顯示器140依然能顯示使用者介面並接受使用者操作。透過按鍵101和102,使用者不需要掀開前蓋300就能在休眠模式迅速啟動應用程式。 As long as the front cover 300 is not too thick, the touch display 140 can sense the user's operations such as clicking, sliding, and dragging on the front cover 300. In this embodiment, the user can touch the front cover 300 to control the application to start recording or stop recording. That is to say, even if covered by the front cover 300, the touch display 140 can display the user interface and accept user operations. Through the buttons 101 and 102, the user can quickly launch the application in the sleep mode without opening the front cover 300.

在此實施例中,步驟240的第四功能同樣是執行錄音的應用程式,但是因為顯示器140未被覆蓋,此應用程式顯示一般 的高解析度使用者介面。高解析度使用者介面的畫面解析度高於上述的低解析度使用者介面,可包括更多細節與功能。 In this embodiment, the fourth function of step 240 is also an application that performs recording, but since the display 140 is not overwritten, the application displays the general High-resolution user interface. The resolution of the high-resolution user interface is higher than the low-resolution user interface described above, and may include more details and functions.

再舉一個例子,步驟240的第四功能和步驟255的第六功能可以是執行一個電視遙控器的應用程式。當前蓋300未覆蓋顯示器140時,此應用程式可顯示一般的高解析度使用者介面,這個高解析度使用者介面可包括幾個虛擬按鍵,其功能包括電源的開啟與關閉、頻道的上下切換、以及直接輸入數字以選擇頻道。使用者可利用按鍵101和102來上下調整電視的音量。當前蓋300覆蓋顯示器140時,此應用程式可顯示簡化的低解析度使用者介面,這個低解析度使用者介面同樣可包括上述的幾個虛擬按鍵,只是將按鍵的圖案簡化。或者,低解析度使用者介面可以省略輸入數字以選擇頻道的功能,因為在低解析度畫面安排多個數字按鍵比較困難。此時可改用語音輸入來選擇頻道,電子裝置100可包括麥克風以接收語音輸入。 As another example, the fourth function of step 240 and the sixth function of step 255 may be an application that executes a television remote control. When the current cover 300 does not cover the display 140, the application can display a general high-resolution user interface. The high-resolution user interface can include several virtual buttons, and its functions include power on and off, and channel up and down switching. And enter the number directly to select the channel. The user can use buttons 101 and 102 to adjust the volume of the TV up and down. When the front cover 300 covers the display 140, the application can display a simplified low-resolution user interface. The low-resolution user interface can also include several virtual buttons as described above, but simply simplifies the pattern of the keys. Alternatively, the low-resolution user interface can omit the ability to enter numbers to select a channel because it is more difficult to arrange multiple numeric buttons on a low-resolution screen. At this point, voice input can be used instead to select a channel, and the electronic device 100 can include a microphone to receive voice input.

在前面的某一實施例中,按鍵102在步驟240觸發的第四功能可以是執行拍攝照片的應用程式,而同一個按鍵102在步驟255觸發的第六功能可以是執行快速拍照的應用程式。第四功能和第六功能可以是執行同一個應用程式,不過這個應用程式可依據顯示器140是否被電子裝置100的前蓋覆蓋而在顯示器140顯示不同的使用者介面。 In a previous embodiment, the fourth function triggered by the button 102 in step 240 may be an application for taking a photo, and the sixth function triggered by the same button 102 at step 255 may be an application that performs a quick photo taking. The fourth function and the sixth function may be to execute the same application, but the application may display different user interfaces on the display 140 depending on whether the display 140 is covered by the front cover of the electronic device 100.

舉例來說,圖4是依照本發明的另一實施例的電子裝置100的示意圖。如上所述,按鍵102在步驟255觸發的第六功能可 以是執行拍攝照片的應用程式,因為顯示器140被前蓋300覆蓋,此應用程式顯示快速拍照用的低解析度使用者介面,其中有方框410、420和430,分別標示三個可對焦的物件(例如人臉)以供使用者選擇。使用者可點選其中一個方框以指定焦點位置,然後按下按鍵101或102以完成拍攝。如此,使用者不需要掀開前蓋300就能快速拍照。 For example, FIG. 4 is a schematic diagram of an electronic device 100 in accordance with another embodiment of the present invention. As described above, the sixth function triggered by the button 102 at step 255 can be So that the application for taking a photo is executed, because the display 140 is covered by the front cover 300, the application displays a low-resolution user interface for quick taking, in which there are boxes 410, 420 and 430, respectively indicating three focusable Objects (such as faces) are available for the user to select. The user can click on one of the boxes to specify the focus position, and then press the button 101 or 102 to complete the shooting. In this way, the user can take a quick photo without opening the front cover 300.

如果使用者在休眠模式時掀開前蓋300,則按鍵102在步驟240觸發的第四功能可以是執行同一個拍攝照片的應用程式,不過此時此應用程式顯示的是一般拍攝用的高解析度使用者介面。 If the user opens the front cover 300 while in the sleep mode, the fourth function triggered by the button 102 in step 240 may be an application that executes the same photo, but the application displays a high resolution for general shooting. User interface.

圖5是依照本發明的另一實施例的電子裝置100的示意圖。在此實施例中,上述的拍攝照片的應用程式可在顯示器140被前蓋300覆蓋時顯示另一種快速拍照用的低解析度使用者介面。此應用程式會對畫面中央的物體(例如人臉)自動對焦,對焦完成時,此應用程式會顯示準星圖案510,此時使用者按下按鍵101或102就能完成拍攝,拍攝的操作簡單而迅速。 FIG. 5 is a schematic diagram of an electronic device 100 in accordance with another embodiment of the present invention. In this embodiment, the above-described photo taking application can display another low-resolution user interface for quick shooting when the display 140 is covered by the front cover 300. This application will automatically focus on the object in the center of the screen (such as a human face). When the focus is completed, the application will display the sight pattern 510. At this time, the user can press the button 101 or 102 to complete the shooting, and the shooting operation is simple. rapid.

前面的實施例中,同一個按鍵觸發的同一個應用程式可視顯示器140是否被覆蓋而在顯示器140顯示不同的使用者介面,而且上述使用者介面的不同在於解析度的不同。在另一個實施例中,上述使用者介面的不同可以是在顯示器140的顯示區域的大小不同。 In the previous embodiment, the same application triggered by the same button visually displays whether the display 140 is overlaid and displays a different user interface on the display 140, and the user interface differs in resolution. In another embodiment, the difference in the user interface may be different in the display area of the display 140.

舉例而言,電子裝置100的前蓋可以包括一個空窗,透 過此空窗可以看到顯示器140的一部分螢幕。在休眠模式而且前蓋未覆蓋顯示器140時,某一按鍵觸發的應用程式的使用者介面的顯示區域可以占用顯示器140的整個螢幕。在休眠模式而且前蓋覆蓋顯示器140時,同一按鍵觸發的同一應用程式的使用者介面的顯示區域可以僅占用顯示器140的一部分螢幕,而且這個顯示區域可以和前蓋的空窗有相同的大小和位置。在一個實施例中,顯示器140被覆蓋時的使用者介面可以是顯示器140未被覆蓋時的使用者介面的縮圖。 For example, the front cover of the electronic device 100 may include an empty window. A portion of the screen of display 140 can be seen through this empty window. In the sleep mode and the front cover does not cover the display 140, the display area of the user interface of the application triggered by a button can occupy the entire screen of the display 140. In the sleep mode and the front cover covers the display 140, the display area of the user interface of the same application triggered by the same button can occupy only a part of the screen of the display 140, and the display area can be the same size as the empty window of the front cover. position. In one embodiment, the user interface when the display 140 is overlaid may be a thumbnail of the user interface when the display 140 is not covered.

以拍攝影像的應用程式為例,當顯示器140未被覆蓋時,顯示器140的整個螢幕都會顯示預覽影像,以供使用者構圖。當顯示器140被覆蓋時,只有前蓋的空窗所對應的部分螢幕會顯示預覽影像。顯示器140被覆蓋時的預覽影像就是顯示器140未被覆蓋時的預覽影像的縮圖。例如圖6是依照本發明的一實施例的電子裝置100的示意圖。在此實施例中,電子裝置100的前蓋600包括一個空窗610,使用者可透過空窗610看到預覽影像的縮圖620,藉此構圖。完成構圖後,使用者可按下按鍵101或102以完成拍攝。 Taking the image capturing application as an example, when the display 140 is not covered, the entire screen of the display 140 displays a preview image for the user to compose. When the display 140 is covered, only a portion of the screen corresponding to the empty window of the front cover displays a preview image. The preview image when the display 140 is overwritten is a thumbnail of the preview image when the display 140 is not covered. For example, FIG. 6 is a schematic diagram of an electronic device 100 in accordance with an embodiment of the present invention. In this embodiment, the front cover 600 of the electronic device 100 includes an empty window 610 through which the user can see a thumbnail 620 of the preview image through the empty window 610. After the composition is completed, the user can press the button 101 or 102 to complete the shooting.

除了上述的電子裝置和控制方法以外,本發明也提供一種電腦可讀取的記錄媒體。此記錄媒體可儲存電腦程式。當電子裝置載入並執行此電腦程式後,可完成如圖2的實施例所述的控制方法。 In addition to the electronic device and control method described above, the present invention also provides a computer readable recording medium. This recording medium can store computer programs. After the electronic device loads and executes the computer program, the control method as described in the embodiment of FIG. 2 can be completed.

基於上述,本發明可賦予在休眠模式沒有作用的按鍵各 種預設功能,例如執行各種不同的應用程式。藉由特殊的前蓋設計,這些應用程式無論是否掀開前蓋都可以使用。如此可大幅提高電子裝置使用上的便利性。 Based on the above, the present invention can assign buttons that have no effect in the sleep mode. Pre-set functions, such as executing a variety of different applications. With a special front cover design, these applications can be used regardless of whether the front cover is opened or not. This greatly improves the convenience of use of the electronic device.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art can make some changes and refinements without departing from the spirit and scope of the present invention. The scope of the invention is defined by the scope of the appended claims.

101、102‧‧‧按鍵 101, 102‧‧‧ button

205~255‧‧‧方法步驟 205~255‧‧‧ method steps

Claims (15)

一種電子裝置,包括:一按鍵;一顯示器;一感應器,偵測該顯示器是否被覆蓋;一處理器,耦接該按鍵、該顯示器、以及該感應器;當該電子裝置處於一正常模式而且該按鍵接收到一操作時,該處理器執行一第一功能;當該電子裝置處於一休眠模式而且該顯示器未被覆蓋而且該按鍵接收到該操作時,該處理器執行一第二功能;當該電子裝置處於該休眠模式而且該顯示器被覆蓋而且該按鍵接收到該操作時,該處理器執行一第三功能;其中該第一功能、該第二功能和該第三功能各不相同。 An electronic device comprising: a button; a display; a sensor for detecting whether the display is covered; a processor coupled to the button, the display, and the sensor; when the electronic device is in a normal mode When the button receives an operation, the processor performs a first function; when the electronic device is in a sleep mode and the display is not covered and the button receives the operation, the processor performs a second function; When the electronic device is in the sleep mode and the display is overwritten and the button receives the operation, the processor performs a third function; wherein the first function, the second function, and the third function are different. 如申請專利範圍第1項所述的電子裝置,其中該第二功能為執行一第一應用程式,該第三功能為執行一第二應用程式,該第一應用程式不同於該第二應用程式。 The electronic device of claim 1, wherein the second function is to execute a first application, the third function is to execute a second application, the first application is different from the second application . 如申請專利範圍第1項所述的電子裝置,其中該第二功能為執行一應用程式而且該應用程式在該顯示器顯示一第一使用者介面,該第三功能為執行該應用程式而且該應用程式在該顯示器顯示一第二使用者介面,該第一使用者介面不同於該第二使用者介面。 The electronic device of claim 1, wherein the second function is to execute an application and the application displays a first user interface on the display, the third function is to execute the application and the application The program displays a second user interface on the display, the first user interface being different from the second user interface. 如申請專利範圍第3項所述的電子裝置,其中該第二使用者介面的畫面解析度低於該第一使用者介面。 The electronic device of claim 3, wherein the second user interface has a lower resolution than the first user interface. 如申請專利範圍第4項所述的電子裝置,其中該感應器偵測該顯示器是否被一前蓋所覆蓋,該前蓋包括多個孔洞,該第二使用者介面適用於透過上述多個孔洞觀看。 The electronic device of claim 4, wherein the sensor detects whether the display is covered by a front cover, the front cover includes a plurality of holes, and the second user interface is adapted to pass through the plurality of holes Watch. 如申請專利範圍第3項所述的電子裝置,其中該第二使用者介面在該顯示器的顯示區域小於該第一使用者介面。 The electronic device of claim 3, wherein the second user interface is smaller than the first user interface in a display area of the display. 如申請專利範圍第6項所述的電子裝置,其中該第二使用者介面為該第一使用者介面的縮圖。 The electronic device of claim 6, wherein the second user interface is a thumbnail of the first user interface. 如申請專利範圍第6項所述的電子裝置,其中該感應器偵測該顯示器是否被一前蓋所覆蓋,該前蓋包括一空窗,該第二使用者介面的該顯示區域和該空窗有相同的大小和位置。 The electronic device of claim 6, wherein the sensor detects whether the display is covered by a front cover, the front cover includes an empty window, the display area of the second user interface, and the empty window Have the same size and position. 一種控制方法,由一電子裝置執行,該電子裝置包括一按鍵與一顯示器,該控制方法包括:當該電子裝置處於一正常模式而且該按鍵接收到一操作時,執行一第一功能;當該電子裝置處於一休眠模式而且該顯示器未被覆蓋而且該按鍵接收到該操作時,執行一第二功能;以及當該電子裝置處於該休眠模式而且該顯示器被覆蓋而且該按鍵接收到該操作時,執行一第三功能,其中該第一功能、該第二功能和該第三功能各不相同。 A control method is performed by an electronic device, the electronic device comprising a button and a display, the control method comprising: when the electronic device is in a normal mode and the button receives an operation, performing a first function; When the electronic device is in a sleep mode and the display is uncovered and the button receives the operation, performing a second function; and when the electronic device is in the sleep mode and the display is overwritten and the button receives the operation, A third function is performed, wherein the first function, the second function, and the third function are different. 如申請專利範圍第9項所述的控制方法,其中該第二功能為執行一第一應用程式,該第三功能為執行一第二應用程式,該第一應用程式不同於該第二應用程式。 The control method of claim 9, wherein the second function is to execute a first application, the third function is to execute a second application, the first application is different from the second application . 如申請專利範圍第9項所述的控制方法,其中該第二功能為執行一應用程式而且該應用程式顯示一第一使用者介面,該第三功能為執行該應用程式而且該應用程式顯示一第二使用者介面,該第一使用者介面不同於該第二使用者介面。 The control method of claim 9, wherein the second function is to execute an application and the application displays a first user interface, the third function is to execute the application and the application displays a The second user interface is different from the second user interface. 如申請專利範圍第11項所述的控制方法,其中該第二使用者介面的畫面解析度低於該第一使用者介面。 The control method of claim 11, wherein the second user interface has a lower screen resolution than the first user interface. 如申請專利範圍第11項所述的控制方法,其中該第二使用者介面在該顯示器的顯示區域小於該第一使用者介面。 The control method of claim 11, wherein the second user interface is smaller than the first user interface in a display area of the display. 如申請專利範圍第13項所述的控制方法,其中該第二使用者介面為該第一使用者介面的縮圖。 The control method of claim 13, wherein the second user interface is a thumbnail of the first user interface. 一種電腦可讀取的記錄媒體,儲存一電腦程式,當一電子裝置載入並執行該電腦程式後,可完成如申請專利範圍第9項所述的控制方法。 A computer readable recording medium storing a computer program, and when an electronic device loads and executes the computer program, the control method as described in claim 9 can be completed.
TW104100522A 2015-01-08 2015-01-08 Electronic device, control method, and computer-readable recording medium TWI531930B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104100522A TWI531930B (en) 2015-01-08 2015-01-08 Electronic device, control method, and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104100522A TWI531930B (en) 2015-01-08 2015-01-08 Electronic device, control method, and computer-readable recording medium

Publications (2)

Publication Number Publication Date
TWI531930B true TWI531930B (en) 2016-05-01
TW201626169A TW201626169A (en) 2016-07-16

Family

ID=56509196

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104100522A TWI531930B (en) 2015-01-08 2015-01-08 Electronic device, control method, and computer-readable recording medium

Country Status (1)

Country Link
TW (1) TWI531930B (en)

Also Published As

Publication number Publication date
TW201626169A (en) 2016-07-16

Similar Documents

Publication Publication Date Title
TWI537813B (en) Electronic device and camera switching method thereof
US20150301595A1 (en) Electronic apparatus and eye-gaze input method
WO2017084183A1 (en) Information displaying method and device
WO2016112727A1 (en) Touchscreen and fingerprint recognition apparatus and terminal device
WO2016192324A1 (en) Key operation processing method and apparatus under single hand mode and electronic device
JP6220076B2 (en) Delayed imaging method, apparatus, program, and recording medium
WO2016176954A1 (en) Shooting parameter setting method and device
CN106371688A (en) Full-screen single-hand operation method and apparatus
KR20140104748A (en) Image capturing using multiple screen sections
JP2011070525A (en) Portable terminal device
US10423272B2 (en) Electronic apparatus, control method thereof, and computer-readable storage medium
CN108492767A (en) Prevent the method, apparatus and storage medium of display burn-in
KR102082661B1 (en) Photograph image generating method of electronic device, and apparatus thereof
US20150065207A1 (en) Electronic device and method of expanding function in electronic device
US9325902B2 (en) Image capturing apparatus and control method therefor
CN107426493A (en) A kind of image pickup method and terminal for blurring background
US20190370584A1 (en) Collecting fingerprints
EP2887648A1 (en) Method of performing previewing and electronic device for implementing the same
JP2016527577A (en) User command execution method, execution device, program, and storage medium
WO2016065831A1 (en) Image deletion method and device
US9621809B2 (en) Display control apparatus and method for controlling the same
WO2017126216A1 (en) Imaging control device, imaging control method, and computer program
TWI531930B (en) Electronic device, control method, and computer-readable recording medium
JP2011253567A (en) Portable terminal device
US11252330B2 (en) Display control apparatus and control method therefor