TWI416414B - A mtehod based on g-sensor for sensing electronic book reading environment - Google Patents

A mtehod based on g-sensor for sensing electronic book reading environment Download PDF

Info

Publication number
TWI416414B
TWI416414B TW98136037A TW98136037A TWI416414B TW I416414 B TWI416414 B TW I416414B TW 98136037 A TW98136037 A TW 98136037A TW 98136037 A TW98136037 A TW 98136037A TW I416414 B TWI416414 B TW I416414B
Authority
TW
Taiwan
Prior art keywords
vibration
sensor
sensing
book reading
reading environment
Prior art date
Application number
TW98136037A
Other languages
Chinese (zh)
Other versions
TW201115473A (en
Inventor
Qiang Zhao
Liang Huang
Shihkuang Tsai
Original Assignee
Inventec Appliances Corp
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 Inventec Appliances Corp filed Critical Inventec Appliances Corp
Priority to TW98136037A priority Critical patent/TWI416414B/en
Publication of TW201115473A publication Critical patent/TW201115473A/en
Application granted granted Critical
Publication of TWI416414B publication Critical patent/TWI416414B/en

Links

Abstract

This present invention provides a method based on G-SENSOR for sensing electronic book reading environment. Interrupt service thread is activated after G-SENSOR generates Interrupting signal, meanwhile, timer thread is established. Vibration count increments every time interrupting signal is generated. When effective vibration is qualified, infrastructure driver informs the operation system, terminates timer thread and refreshes count and vibration count, then performs sleep and terminates. If effective vibration is not qualified, sleep is performed and repeat said steps except establishing timer thread.

Description

一種基於G-SENSOR感應電子書閱讀環境的方法Method for reading environment based on G-SENSOR sensing e-book

本發明是有關於一種感應電子書閱讀環境的方法,且特別是有關於一種基於G-SENSOR感應電子書閱讀環境的方法。The present invention relates to a method of sensing an e-book reading environment, and more particularly to a method based on a G-SENSOR sensing e-book reading environment.

近年來,伴隨著隨著社會的發展和進步,電子書以其環保和方便閱讀的特點越來越受到人們的歡迎。電子書代表人們所閱讀的數位化出版物,從而區別於以紙張為載體的傳統出版物,利用電腦技術將一定的文字、圖片、聲音、影像等資訊,通過數碼方式記錄在以光、電、磁為介質的設備中,借助於特定的設備來讀取、複製、傳輸。基於這些特性,電子書具有諸多優點,例如方便性,可搜尋內容,改變字體大小及字型;容量大,隨時可網路下載,不受地域限制,省去舟車勞頓之苦;降低圖書成本,價格便宜;設計精美,靈活多樣,有多媒體功能;節省保存書本所需之空間;實現了產品零庫存,全球同步發行,購買方便快捷等。因此,伴隨著電子書的普及,具有閱讀電子書功能的設備也層出不窮,例如好易通、快易通、商務通、經理人、名人、掌上電腦以及專門針對閱讀電子書的設備如Amazon的Kindle等,甚至許多手機產品也加入了閱讀電子書的功能。In recent years, along with the development and progress of society, e-books have become more and more popular with people for their environmental protection and convenient reading. E-books represent digital publications that people read, thus distinguishing them from traditional publications that use paper as a carrier. Computer technology is used to record certain texts, pictures, sounds, images and other information digitally in light, electricity, and In a device that is magnetically medium, it is read, copied, and transmitted by means of a specific device. Based on these characteristics, e-books have many advantages, such as convenience, search for content, change font size and font size; large capacity, ready to download online, regardless of geographical restrictions, eliminating the pain of boating; reducing book costs, The price is cheap; the design is exquisite, flexible and diverse, with multimedia functions; saves the space needed to save the book; realizes zero inventory of products, simultaneous global distribution, convenient and quick purchase. Therefore, along with the popularity of e-books, there are endless devices for reading e-books, such as HYT, HYT, commerce, managers, celebrities, PDAs, and devices specifically for reading e-books such as Amazon's Kindle. Etc. Even many mobile phone products have joined the function of reading e-books.

但是電子書為讀者帶來方便的同時也有弊端。閱讀者若長期使用這些閱讀設備進行閱讀則很有可能使視力受損,影響健康及生活。目前的電子書閱讀設備並不具備判斷當前環境是否適合閱讀的功能,通常是由讀者依據自我意識進行判斷,不夠科學準確。However, e-books bring convenience to readers as well as drawbacks. Readers who use these reading devices for a long time are likely to have impaired vision and affect their health and life. The current e-book reading device does not have the function of judging whether the current environment is suitable for reading, and is usually judged by the reader based on self-awareness, which is not scientific and accurate.

因此,本發明之一態樣是在提供一種基於G-SENSOR感應電子書閱讀環境的方法。中斷服務線程在G-SENSOR發生中斷信號後被觸發,並建立計時器線程,計時器線程每隔T1時間將中斷服務線程中之參數歸零,震動計數器每發生一次中斷信號其數值加1,當震動產生的條件成立,底層驅動程式就通知作業系統,並終止計時器,將震動計數器重新賦值,進入延時步驟後結束,當震動產生的條件不成立,則直接進入延時步驟,然後重複除建立計時器線程外的步驟。震動產生的條件以及T1時間可由使用者自行設置,T1時間為5~10秒。Accordingly, one aspect of the present invention is to provide a method based on a G-SENSOR sensing e-book reading environment. The interrupt service thread is triggered after the G-SENSOR interrupt signal is generated, and a timer thread is established. The timer thread zeros the parameter in the interrupt service thread every T1 time, and the value of the shock counter is incremented by one every time the interrupt signal occurs. The condition of the vibration is established, the underlying driver notifies the operating system, terminates the timer, re-assigns the vibration counter, and ends after the delay step. When the condition of the vibration is not established, the delay step is directly entered, and then the timer is repeated. Steps outside the thread. The conditions generated by the vibration and the T1 time can be set by the user, and the T1 time is 5 to 10 seconds.

G-SENSOR將作用在電子書設備上的力轉化為電信號,與G-SENSOR匹配的底層驅動程式根據使用者預先的設置對G-SENSOR轉化的電信號進行檢測來判斷是否發生震動,當發生震動後底層驅動程式通知電子書設備的作業系統,由作業系統通知具有提示震動功能的應用程式對使用者進行提示。G-SENSOR converts the force acting on the e-book device into an electrical signal. The underlying driver matched with G-SENSOR detects the G-SENSOR converted electrical signal according to the user's preset settings to determine whether vibration occurs. After the vibration, the underlying driver notifies the operating system of the e-book device, and the operating system notifies the user with the prompting vibration function to prompt the user.

依據本發明一實施例,電子書設備可以是好易通、快易通、商務通、經理人、名人、掌上電腦、手機以及專門針對閱讀電子書的設備。具有提示震動功能的應用程式接受到產生震動的資訊後以彈出警告對話方塊、關閉顯示設備、用音頻設備發出響聲或閃爍指示燈等方式對使用者進行提示。According to an embodiment of the present invention, the e-book device may be HYT, HYT, BusinessCom, Manager, Celebrity, Pocket PC, Mobile Phone, and a device specifically for reading an e-book. The application with the prompting vibration function receives the information that generates the vibration, and then prompts the user by popping up the warning dialog box, turning off the display device, and sounding or flashing the indicator light with the audio device.

若顯示設備被關閉,使用者可根據設備種類使用按電源鍵、觸碰顯示幕或搖動設備等方式將顯示設備喚醒。If the display device is turned off, the user can wake up the display device by pressing the power button, touching the display screen, or shaking the device according to the type of device.

依據本發明另一實施例,底層驅動程式可以設置G-SENSOR感應震動的幅度值、向作業系統申請中斷信號、建立震動檢測的中斷服務線程以及將申請到的中斷信號與中斷服務線程綁定。According to another embodiment of the present invention, the underlying driver can set the amplitude value of the G-SENSOR induced vibration, apply for an interrupt signal to the operating system, establish an interrupt service thread for detecting the vibration, and bind the applied interrupt signal to the interrupt service thread.

這樣就能科學準確地判斷周圍環境是否適合進行閱讀。This makes it possible to scientifically and accurately determine whether the surrounding environment is suitable for reading.

請參照第1圖,其繪示依照本發明一實施方式的一種基於G-SENSOR 102感應電子書閱讀環境的設備之結構圖。G-SENSOR 102將作用在電子書設備100上的力轉化為電信號,與G-SENSOR 102匹配的底層驅動程式104根據使用者預先的設置對G-SENSOR 102轉化的電信號進行檢測來判斷是否發生震動或震動是否消失,當判斷為發生震動時,底層驅動程式104通知電子書設備的作業系統108,由作業系統108通知具有提示震動功能的應用程式106,使用彈出警告對話方塊、關閉顯示設備或其他警告方式提示使用者當前環境不適合閱讀。與此同時,G-SENSOR 102仍然將作用在電子書設備100上的力轉化為電信號,與G-SENSOR 102匹配的底層驅動程式104根據使用者預先的設置對G-SENSOR 102轉化的電信號進行檢測來判斷震動是否消失,當判斷為震動消失時,底層驅動程式104通知作業系統108,由作業系統108通知具有提示震動功能的應用程式106,使用彈出提示對話方塊、開啟顯示設備或其他方式提示使用者震動已消失。本實施例中所使用的電子書設備包括但不限於好易通、快易通、商務通、經理人、名人、掌上電腦、手機以及專門針對閱讀電子書的設備等。Please refer to FIG. 1 , which is a structural diagram of an apparatus based on a G-SENSOR 102 sensing e-book reading environment according to an embodiment of the invention. The G-SENSOR 102 converts the force acting on the electronic book device 100 into an electrical signal, and the underlying driver 104 matched with the G-SENSOR 102 detects the electrical signal converted by the G-SENSOR 102 according to the user's prior setting to determine whether or not When the vibration or the vibration occurs, when it is determined that the vibration occurs, the underlying driver 104 notifies the operating system 108 of the electronic book device, and the operating system 108 notifies the application 106 having the prompting vibration function, and uses the pop-up warning dialog box to close the display device. Or other warnings suggest that the user's current environment is not suitable for reading. At the same time, the G-SENSOR 102 still converts the force acting on the e-book device 100 into an electrical signal, and the underlying driver 104 matched with the G-SENSOR 102 converts the electrical signal converted to the G-SENSOR 102 according to the user's prior settings. A detection is performed to determine whether the vibration has disappeared. When it is determined that the vibration has disappeared, the underlying driver 104 notifies the operating system 108 that the operating system 108 notifies the application 106 having the prompting vibration function, uses the pop-up prompt dialog box, turns on the display device, or the like. Prompt the user that the vibration has disappeared. The e-book devices used in this embodiment include, but are not limited to, HYT, Autoto, Commerce, Managers, Celebrities, Pocket PCs, mobile phones, and devices specifically for reading e-books.

請參照第2圖,其繪示依照本發明一實施方式的一種與G-SENSOR 102匹配的底層驅動程式104之初始化設置流程圖,其運作順序按照箭頭所示。步驟200表示對G-SENSOR 102進行初始化,使其能進入工作狀態,並同時設置其感應震動的幅度值,如果震動達到設置的幅度值,G-SENSOR 102便發出中斷信號。步驟202表示底層驅動程式104向作業系統108申請中斷信號。步驟204表示建立震動檢測的中斷服務線程VibrationIST(),並向作業系統108註冊。步驟206表示將申請到的中斷信號與中斷服務線程VibrationIST()綁定,如果中斷信號發生,那麼中斷服務線程VibrationIST()將會被調用。G-SENSOR 102感應震動的幅度值可由使用者自行設置。Referring to FIG. 2, a flowchart of initial setting of the underlying driver 104 matched with the G-SENSOR 102 according to an embodiment of the present invention is shown, and the operation sequence is as indicated by the arrow. Step 200 indicates that the G-SENSOR 102 is initialized so that it can enter the working state and simultaneously set the magnitude of the induced vibration. If the vibration reaches the set amplitude value, the G-SENSOR 102 issues an interrupt signal. Step 202 indicates that the underlying driver 104 requests an interrupt signal from the operating system 108. Step 204 represents establishing an interrupt service thread VibrationIST() for vibration detection and registering with the operating system 108. Step 206 represents binding the applied interrupt signal to the interrupt service thread VibrationIST(). If the interrupt signal occurs, the interrupt service thread VibrationIST() will be called. The magnitude of the G-SENSOR 102 induced vibration can be set by the user.

請參照第3圖,其繪示依照本發明一實施方式的一種中斷服務線程之運作流程圖,其運作順序按照箭頭所示。步驟302表示G-SENSOR 102感應到大於預設的震動的幅度值的震動並發生中斷信號,中斷服務線程VibrationIST()被觸發。步驟304表示建立計時器線程Timer(),作用是建立一計時器Count,每隔T1時間將該中斷服務線程中之參數歸零,T1時間可由使用者自行設置,T1時間為5~10秒,在本實施例中設置為5秒計時器線程FiveSecondsTimer(),在T1時間內發生中斷信號的次數將作為判斷震動的條件。步驟304只在計時器Count未被建立時執行。步驟306表示震動計數器VibrationCount數值加1,這是一個靜態變數,每發生一次中斷信號則數值加1,以此表示發生過幾次中斷信號,其初值為0。判斷步驟308表示根據計時器Count()和震動計數器VibrationCount的值判斷震動條件是否成立,其中成立條件由使用者自行設定,本實施例中將震動計數器VibrationCount的值大於等於4並且計時器Count的值為0作為震動成立條件,即在中斷服務線程VibrationIST()被觸發的5秒內產生4次或以上中斷信號則判斷震動成立。若步驟308判斷震動成立,則運行至步驟310。步驟310表示判斷結果為震動產生,即在計時器線程Timer()設置的時間長度內震動計數器VibrationCount的數值達到使用者設置的數值,在本實施例中為5秒計時器線程FiveSecondsTimer()被觸發的5秒內中斷信號產生次數大於等於4,那麼底層驅動程式104就通知作業系統108,由作業系統108通知具有提示震動功能的應用程式106,使用彈出提示對話方塊、開啟顯示設備或其他方式提示使用者震動產生。步驟312表示將計時器Count終止和震動計數器VibrationCount重新賦值,在本實施例中將5秒計時器FiveSecondsCount()終止,並將震動計數器VibrationCount賦值為0。步驟314表示延時,作用是使兩次中斷信號發生時間不小於延時時長,以此來排除短時間內的高頻振動,其中延時時長可由使用者設定,延時時長為300~900微秒,在本實施例中延時時長為800微秒。延時結束後所有步驟結束。Please refer to FIG. 3, which illustrates a flowchart of operation of an interrupt service thread according to an embodiment of the present invention, the operation sequence of which is shown by an arrow. Step 302 indicates that the G-SENSOR 102 senses a shock greater than the amplitude value of the preset shock and an interrupt signal occurs, and the interrupt service thread VibrationIST() is triggered. Step 304 represents establishing a timer thread Timer(). The function is to establish a timer Count, and the parameter in the interrupt service thread is zeroed every T1 time. The T1 time can be set by the user, and the T1 time is 5 to 10 seconds. In the present embodiment, the 5-second timer thread FiveSecondsTimer() is set, and the number of times the interrupt signal is generated in the T1 time will be used as a condition for judging the vibration. Step 304 is only executed when the timer Count is not established. Step 306 indicates that the value of the vibration counter VibrationCount is incremented by one. This is a static variable. The value is incremented by one every time an interrupt signal occurs, indicating that several interrupt signals have occurred, and the initial value is zero. The determining step 308 indicates whether the vibration condition is established according to the value of the timer Count() and the vibration counter VibrationCount, wherein the setting condition is set by the user. In this embodiment, the value of the vibration counter VibrationCount is greater than or equal to 4 and the value of the timer Count is set. A condition of 0 is set as the vibration, that is, when the interrupt signal is generated 4 times or more within 5 seconds after the interrupt service thread VibrationIST() is triggered, it is judged that the vibration is established. If the step 308 determines that the vibration is established, then the process proceeds to step 310. Step 310 indicates that the result of the determination is that the vibration is generated, that is, the value of the vibration counter VibrationCount reaches the value set by the user within the time length set by the timer thread Timer(). In this embodiment, the 5-second timer thread FiveSecondsTimer() is triggered. If the number of interrupt signal generations is greater than or equal to 4 within 5 seconds, the underlying driver 104 notifies the operating system 108 that the application system 108 notifies the application 106 having the prompting vibration function, and uses the pop-up prompt dialog box, the display device to be turned on, or other means to prompt. User vibration is generated. Step 312 represents re-assigning the timer Count termination and the vibrating counter VibrationCount, in this embodiment terminating the 5-second timer FiveSecondsCount() and assigning the vibrating counter VibrationCount to zero. Step 314 represents a delay, and the effect is that the time of occurrence of the two interrupt signals is not less than the delay time, thereby eliminating the high frequency vibration in a short time, wherein the delay time can be set by the user, and the delay time is 300 to 900 microseconds. In this embodiment, the delay time is 800 microseconds. All steps end after the delay.

若步驟308根據計時器線程Timer()和震動計數器VibrationCount的值判斷震動條件不成立,在本實施例中即是中斷服務線程VibrationIST()被觸發的5秒內產生中斷信號小於4,則直接運行至步驟314進行延時。If the step 308 determines that the vibration condition is not established according to the value of the timer thread Timer() and the vibration counter VibrationCount, in this embodiment, the interrupt service signal is less than 4 within 5 seconds after the interrupt service thread VibrationIST() is triggered, and then directly runs to Step 314 performs a delay.

步驟314進行延時完畢後,中斷服務線程VibrationIST()運行結束,直到下一次G-SENSOR 102感應到大於預設的震動的幅度值的震動並發生中斷信號時再一次將中斷服務線程VibrationIST()觸發。After the delay is completed in step 314, the interrupt service thread (VibrationIST()) ends, until the next time the G-SENSOR 102 senses a vibration greater than the amplitude of the preset vibration and an interrupt signal occurs, the service thread VibrationIST() is triggered again. .

請參照第4圖,其繪示第3圖中依照本發明一實施方式的一種中斷服務線程之運作流程圖中計時器線程之運作流程圖。步驟402表示計時器線程Timer()被觸發,本實施例中計時器線程被設置為5秒計時器線程FiveSecondsTimer()。步驟404表示5秒時間到後計時器Count被賦值為0,本實施例中為5秒計時器FiveSecondsCount。Referring to FIG. 4, a flow chart of the operation of the timer thread in the operation flowchart of the interrupt service thread according to an embodiment of the present invention is shown in FIG. Step 402 indicates that the timer thread Timer() is triggered. In this embodiment, the timer thread is set to the 5-second timer thread FiveSecondsTimer(). Step 404 indicates that the timer Count is assigned a value of 0 after 5 seconds, in this embodiment, a 5-second timer FiveSecondsCount.

請參照第5圖,其繪示依照本發明一實施方式的一種具有提示震動功能的應用程式之提示介面。在接到作業系統震動產生的通知後,應用程式彈出警告視窗502向使用者提示,若使用者接受警告則可選擇確認按鈕504關閉顯示幕,若忽略警告則可選擇取消按鈕506繼續閱讀。Please refer to FIG. 5, which illustrates a prompt interface of an application with a prompting vibration function according to an embodiment of the invention. After receiving the notification of the vibration of the operating system, the application pops up the warning window 502 to prompt the user. If the user accepts the warning, the confirmation button 504 can be selected to close the display screen, and if the warning is ignored, the cancel button 506 can be selected to continue reading.

在本發明實施例中應用程式可以根據設備的類型對使用者進行各種類型的提示,例如彈出警告對話方塊、關閉顯示設備、用音頻設備發出響聲或閃爍指示燈等方式提示使用者當前環境是否適合閱讀。若顯示設備被關閉,使用者可根據設備種類使用按電源鍵、觸碰顯示幕或搖動設備等方式將顯示設備喚醒。In the embodiment of the present invention, the application may perform various types of prompts on the user according to the type of the device, such as popping up a warning dialog box, turning off the display device, using an audio device to emit a sound or blinking indicator to prompt the user whether the current environment is suitable. read. If the display device is turned off, the user can wake up the display device by pressing the power button, touching the display screen, or shaking the device according to the type of device.

雖然本發明已以實施方式揭露如上,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明之精神和範圍內,當可作各種之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and the present invention can be modified and modified without departing from the spirit and scope of the present invention. The scope is subject to the definition of the scope of the patent application attached.

100...電子書設備100. . . E-book device

102...G-SENSOR102. . . G-SENSOR

104...與G-SENSOR匹配的底層驅動程式104. . . The underlying driver that matches G-SENSOR

106...具有提示震動功能的應用程式106. . . Application with prompt vibration

108...作業系統108. . . working system

200...步驟200. . . step

202...步驟202. . . step

204...步驟204. . . step

206...步驟206. . . step

302...步驟302. . . step

304...步驟304. . . step

306...步驟306. . . step

308...判斷步驟308. . . Judgment step

310...步驟310. . . step

312...步驟312. . . step

314...步驟314. . . step

402...步驟402. . . step

404...步驟404. . . step

502...警告視窗502. . . Warning window

504...確認按鈕504. . . Confirm button

506...取消按鈕506. . . Cancel button

第1圖是繪示依照本發明一實施方式的一種基於G-SENSOR感應電子書閱讀環境的設備之結構圖。FIG. 1 is a structural diagram of an apparatus based on a G-SENSOR sensing e-book reading environment according to an embodiment of the present invention.

第2圖是繪示依照本發明一實施方式的一種與G-SENSOR匹配的底層驅動程式之初始化設置流程圖。FIG. 2 is a flow chart showing an initial setting of an underlying driver matched with G-SENSOR according to an embodiment of the invention.

第3圖是其繪示依照本發明一實施方式的一種中斷服務線程之運作流程圖。FIG. 3 is a flow chart showing the operation of an interrupt service thread according to an embodiment of the invention.

第4圖是繪示第3圖中依照本發明一實施方式的一種中斷服務線程之運作流程圖中的計時器線程之運作流程圖。FIG. 4 is a flow chart showing the operation of the timer thread in the operation flowchart of the interrupt service thread according to the third embodiment of the present invention.

第5圖是其繪示依照本發明一實施方式的一種具有提示震動功能的應用程式之提示介面。FIG. 5 is a schematic interface diagram of an application with a prompting vibration function according to an embodiment of the invention.

302...步驟302. . . step

304...步驟304. . . step

306...步驟306. . . step

308...判斷步驟308. . . Judgment step

310...步驟310. . . step

312...步驟312. . . step

314...步驟314. . . step

Claims (13)

一種感應電子書閱讀環境的方法,該感應電子書閱讀環境的方法其步驟包含:a. G-SENSOR發生中斷信號;b. 觸發中斷服務線程;c. 建立計時器線程,該計時器線程每隔T1時間將該中斷服務線程中之參數歸零;d. 在T1時間內每發生一次該中斷信號則該中斷服務線程中之震動計數器數值加1;以及e. 進入判斷步驟,當T1時間內震動計數器數值大於等於設定值時,底層驅動程式通知作業系統,並終止該計時器,將該震動計數器重新賦值,進入延時步驟後結束;當T1時間內震動計數器數值小於設定值時,進入延時步驟,然後重複步驟a,b,d,e。 A method for sensing an e-book reading environment, the method of the method for sensing an e-book reading environment comprising: a. an interrupt signal generated by G-SENSOR; b. triggering an interrupt service thread; c. establishing a timer thread, the timer thread T1 time zeros the parameter in the interrupt service thread; d. The value of the vibration counter in the interrupt service thread is incremented by 1 every time the interrupt signal occurs in T1; and e. enters the judgment step, and vibrates during T1 time When the counter value is greater than or equal to the set value, the underlying driver notifies the operating system, terminates the timer, re-assigns the vibration counter, and ends after the delay step; when the vibration counter value is less than the set value in the T1 time, the delay step is entered. Then repeat steps a, b, d, e. 如請求項1所述之感應電子書閱讀環境的方法,其中該G-SENSOR感應電子書設備所受之力而送出中斷信號。 The method of claim 1 for sensing an e-book reading environment, wherein the G-SENSOR senses the force of the e-book device to send an interrupt signal. 如請求項1所述之感應電子書閱讀環境的方法,其中該計時器線程被觸發後將計時器賦值為0。 The method of claim 1 for sensing an e-book reading environment, wherein the timer thread is triggered to assign a value of zero to the timer. 如請求項1所述之感應電子書閱讀環境的方法,其中該T1時間時長由使用者自行設置。The method of claim 1 for sensing an e-book reading environment, wherein the T1 time duration is set by a user. 如請求項1所述之感應電子書閱讀環境的方法,其中該作業系統接獲該底層驅動程式通知後,通知具有提示震動功能的應用程式提示使用者。The method for sensing an e-book reading environment according to claim 1, wherein the operating system notifies the user with the prompting vibration function to notify the user after receiving the notification from the underlying driver. 如請求項5所述之感應電子書閱讀環境的方法,其中該具有提示震動功能的應用程式接受到產生震動的資訊後以彈出警告對話方塊、關閉顯示設備、用音頻設備發出響聲或閃爍指示燈等方式對使用者進行提示。The method for sensing an e-book reading environment according to claim 5, wherein the application having the prompting vibration function receives the vibration generating information to pop up the warning dialog box, close the display device, sounds or flashes the indicator with the audio device. The way to prompt the user. 如請求項1所述之感應電子書閱讀環境的方法,其中該作業系統接獲該底層驅動程式通知後,關閉該電子書設備的電源。The method of claim 1 for sensing an e-book reading environment, wherein the operating system receives power from the e-book device after receiving the notification from the underlying driver. 如請求項1所述之感應電子書閱讀環境的方法,其中該T1時間為5~10秒。The method of claim 1, wherein the T1 time is 5 to 10 seconds. 如請求項1所述之感應電子書閱讀環境的方法,其中該延時步驟期間為300~900微秒。The method of claim 1 for sensing an e-book reading environment, wherein the delay step is 300 to 900 microseconds. 如請求項1所述之感應電子書閱讀環境的方法,其中該設定值大於4。A method of sensing an e-book reading environment as recited in claim 1, wherein the set value is greater than four. 一種初始化與G-SENSOR匹配的底層驅動程式的方法,其步驟包含:設置該G-SENSOR感應震動的幅度值;向該作業系統申請中斷信號;建立震動檢測的中斷服務線程;以及將申請到的該中斷信號與該中斷服務線程綁定。A method for initializing an underlying driver matching a G-SENSOR, the method comprising: setting an amplitude value of the G-SENSOR induced vibration; applying an interrupt signal to the operating system; establishing an interrupt service thread for detecting the vibration; and applying the The interrupt signal is tied to the interrupt service thread. 如請求項11所述之初始化與G-SENSOR匹配的底層驅動程式的方法,其中該G-SENSOR感應震動的幅度值由使用者自行設置。A method for initializing an underlying driver that matches G-SENSOR as described in claim 11, wherein the magnitude of the G-SENSOR induced vibration is set by the user. 如請求項11所述之初始化與G-SENSOR匹配的底層驅動程式的方法,其中該方法可應用於具有作業系統的電子書設備的G-SENSOR的底層驅動程式。A method of initializing a G-SENSOR matching underlying driver as described in claim 11, wherein the method is applicable to an underlying driver of a G-SENSOR of an e-book device having an operating system.
TW98136037A 2009-10-23 2009-10-23 A mtehod based on g-sensor for sensing electronic book reading environment TWI416414B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98136037A TWI416414B (en) 2009-10-23 2009-10-23 A mtehod based on g-sensor for sensing electronic book reading environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98136037A TWI416414B (en) 2009-10-23 2009-10-23 A mtehod based on g-sensor for sensing electronic book reading environment

Publications (2)

Publication Number Publication Date
TW201115473A TW201115473A (en) 2011-05-01
TWI416414B true TWI416414B (en) 2013-11-21

Family

ID=44934477

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98136037A TWI416414B (en) 2009-10-23 2009-10-23 A mtehod based on g-sensor for sensing electronic book reading environment

Country Status (1)

Country Link
TW (1) TWI416414B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103325398B (en) * 2012-03-23 2016-03-23 腾讯科技(深圳)有限公司 A kind of animation playing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200802295A (en) * 2006-06-30 2008-01-01 Hon Hai Prec Ind Co Ltd Apparatus and method for preventing users of a display device from tiredness
TW200915150A (en) * 2007-09-26 2009-04-01 Holylite Microelectronics Corp Automatic page detector
US20090216623A1 (en) * 1992-12-09 2009-08-27 Discovery Communications, Inc. Electronic book having electronic commerce features

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090216623A1 (en) * 1992-12-09 2009-08-27 Discovery Communications, Inc. Electronic book having electronic commerce features
TW200802295A (en) * 2006-06-30 2008-01-01 Hon Hai Prec Ind Co Ltd Apparatus and method for preventing users of a display device from tiredness
TW200915150A (en) * 2007-09-26 2009-04-01 Holylite Microelectronics Corp Automatic page detector

Also Published As

Publication number Publication date
TW201115473A (en) 2011-05-01

Similar Documents

Publication Publication Date Title
US20170131776A1 (en) Systems and Methods for Multi-Pressure Interaction on Touch-Sensitive Surfaces
CN108574775A (en) Detect the method for the expansion of battery and the electronic equipment using this method
US20070146336A1 (en) Soft key interaction indicator
CN108646971B (en) Screen sounding control method and device and electronic device
US8861198B1 (en) Device frame having mechanically bonded metal and plastic
US20030122777A1 (en) Method and apparatus for configuring a computer system based on user distance
CN109189362B (en) Sound production control method and device, electronic equipment and storage medium
JP2008529093A5 (en)
KR101958255B1 (en) Method and apparatus for controlling vibration intensity according to situation awareness in electronic device
CN103534669A (en) Finger-on display detection
CN109086023B (en) Sound production control method and device, electronic equipment and storage medium
US9766852B2 (en) Non-audio notification of audible events
US9329686B2 (en) Haptic feedback method, haptic feedback apparatus, electronic device and stylus
CN108900728B (en) Reminding method, reminding device, electronic device and computer readable medium
CN109144460B (en) Sound production control method, sound production control device, electronic device, and storage medium
CN108235754A (en) A kind of method and apparatus that user is prompted to update application version
JP2016518864A (en) Two-electrode portable detector
CN109240413B (en) Screen sounding method and device, electronic device and storage medium
JP2007115157A (en) Key operation feeling imparting method and portable information device
US20160162048A1 (en) User interface for an electronic stylus
US8922983B1 (en) Internal metal support structure for mobile device
CN109085985B (en) Sound production control method, sound production control device, electronic device, and storage medium
WO2014146612A1 (en) Startup item consumed time acquisition method and device
WO2018028072A1 (en) Bend measurement method, device and terminal
US11328469B2 (en) Electronic device and method for providing drawing environment

Legal Events

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