1. Technical Field
The present disclosure relates to an electronic device and a power saving method thereof.
2. Description of Related Art
For some electronic readers, the processor of a such electronic device controls the function components to store to-be-displayed contents in a Synchronous Dynamic Random Access Memory (SDRAM) when users are reading files on the electronic device. The processor retrieves the contents to display on the display in response to a signal for paging up/down triggered by the user. Thus, the processor is working all the time when the user are reading the file on the electronic device, which is a waste of electricity.
Therefore, what is needed is an electronic device and a power saving method thereof to alleviate the limitations described above.
The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of an electronic device and a power saving method thereof. Moreover, in the drawings, like reference numerals designate corresponding sections throughout the several views.
Referring to
Both the processor 10 and the page flipping control unit 20 are electrically connected to the switching unit 30. The switching unit 30 connects the display 40, the memory 50, and the buffer 70. The switching unit 30 establishes a connection between the display 40, the buffer 70 and the processor 10 or establishes a connection between the display 40, the buffer 70, and the page flipping control unit 20.
Initially, the processor 10 establishes a connection between the display 40, the buffer 70, and the page flipping control unit 20 via the switching unit 30. The processor 10 responds to a user's manipulation to open a document and controls the display 40 to display the document. The processor 10 further pops up a dialog box configured for the user to select a predetermined range of pages for reading. For example, when the predetermined range of pages is from page N to page M, the processor 10 retrieves the contents from page N to page M of the document from the memory 50, and stores the contents from page N to page M of the document in the buffer 70. Then, the processor 10 transmits a first trigger signal to the page flipping control unit 20, and enters the sleep mode. In this embodiment, both numbers N and M are positive integers. In an alternative embodiment, both numbers N and M are predetermined and the user does not need to select them. In another embodiment, the processor 10 retrieves the whole document from the memory 50, and stores the whole document in the buffer 70.
The processor 10 further controls the switching unit 30 to enable the connection between the page flipping control unit 20 and both the display 40 and the buffer 70, and the processor 10 then enters a sleep mode.
The page flipping control unit 20 is configured for receiving the flipping commands from the input unit 60, accessing the buffer 70 and flipping pages on the display 40. The page flipping control unit 20 is further configured for transmitting a second trigger signal to the processor 10 to wake the processor 10, when users reach the last page or the last few pages of the contents stored in the buffer 70. For example, when the users reach page M−2, the page flipping control unit 20 transmits the second trigger signal to the processor 10 to wake the processor 10. The processor 10 controls the switching unit 30 to enable the connection with both of the display 40 and the buffer 70. The processor 10 retrieves a predetermined number of pages following the previously retrieved pages from the memory 50, and stores the retrieved pages in the buffer 70. The predetermined number is M−N. For example, the processor 10 retrieves page M+1 to page (M+1)+(M−N) of the document from the memory 50, and stores the retrieved pages in the buffer 70. After that the processor 10 transmits the first trigger signal to the page flipping control unit 20, and enters the sleep mode again.
With such configuration, the page flipping control unit 20 takes the place of the processor 10 in the page up/down process, so that the processor 10 can enter the sleep mode. Without need to always keep the processor 10 working and further due to the page flipping control unit 20 uses much less power than the processor 10, therefore power consumption of the electronic device 100 is effectively reduced.
Referring to
In step S201, displaying contents of a designated page of a document on the display 40. The designated page of the document is selected by the user via the input unit 60.
In step S202, prompting the user to select a predetermined page range of pages for reading. In this embodiment, a dialog box is popped up to prompt the user to select a start value and an end value of the page range. For example, M is selected as the start value of the page range, and N is selected as the end value of the page range. Both numbers N and M are positive integers. In an alternative embodiment, the page ranges from N to M is predetermined and default for the user by the process of the electronic device 100.
In step S203, determining whether the predetermined page range of pages for reading has been selected, if yes, the process goes to step S204, otherwise, the process goes back to step S202.
In step S204, storing the contents of the selected predetermined page range of pages of the document in the buffer 70. In this embodiment, initially, the processor 10 retrieves page N to page M of the document from the memory 50, and stores page N to page M of the document in the buffer 70. When the processor 10 has been waked up, the processor 10 retrieves a predetermined number of pages following the previously retrieved pages from the memory 50, and stores the retrieved pages in the buffer 70. For example, the processor 10 retrieves page M+1 to page (M+1)+(M−N) of the document from the memory 50, and stores the retrieved pages in the buffer 70.
In step S205, the processor 10 transmits a first trigger signal to the page flipping control unit 20, and enters a sleep mode.
In step S206, the page flipping control unit 20 executes flipping the page up/down commands in response to user inputs.
Referring to
In step S2061, displaying the contents of a flipped page on the display 40 according to a flipping command. In this embodiment, the input unit 60 in response to the user's operation generates the flipping command.
In step S2062, determining whether the user goes through to the last page or the last few pages in the buffer 70, if yes, repeating step S2062, otherwise, the process goes back to step S2061.
In step S2063, transmitting a second signal to the processor 10 to wake the processor 10, and then the process goes back to step S204.
Although the present disclosure has been specifically described on the basis of the embodiments thereof, the disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the embodiments without departing from the scope and spirit of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201010555173.1 | Nov 2010 | CN | national |