1. Technical Field
Embodiments of the present disclosure relate to motherboard design technology, and particularly to a motherboard and method for managing the use of a computer.
2. Description of Related Art
Currently, computer games are popular with many people, especially children. To restrict time usage of the computer, an auxiliary power supply including a timer can be used. However, this kind of auxiliary power supply can be expensive and has certain faults, including the children having the ability to easily cut off the power of the auxiliary power supply, subsequently bypassing the security controls intended by the power supply.
What is needed, therefore, is an improved system and method for managing the use of a computer.
All of the processes described below may be embodied in, and fully automated through, functional code modules executed by one or more general purpose computers or processors. The code modules may be stored in any type of readable medium or other storage device. Some or all of the methods may alternatively be embodied in specialized hardware. Depending on the embodiment, the readable medium may be a hard disk drive, a compact disc, a digital video disc, or a tape drive.
In one embodiment, the motherboard 2 includes a buzzer 21 and a processor 22. The BIOS 20 stores user-defined data, such as available time segments and unavailable time segments. If a current system time of the computer is in one of the available time segments, the computer is available. If the current system time of the computer is in one of the unavailable time segments, the computer is unavailable. For example, an available time segment may be from 6:00 am to 7:00 pm, and an unavailable time segment may be from 7:00 pm to 6:00 am.
In one embodiment, the BIOS 20 further includes a setting module 201, a reading module 202, a determining module 203, a controlling module 204, and an alarm module 205. In one embodiment, the modules 201-205 comprise one or more computerized instructions that are stored in the BIOS 20. The processor 22 of the motherboard 2 executes the computerized instructions to implement one or more operations of the computer.
The setting module 201 sets the available time segments, the unavailable time segments, and a time interval to use the computer manually, and store the available time segments, the unavailable time segments, and the time interval in the BIOS 20. For example, the available time segments are [12:00-13:00] and [17:30-18:30], the unavailable time segments are [18:30-24:00], [00:00-12:00], and [13:00-17:30], and the time interval is five minutes. In other embodiments, the available time segments, the unavailable time segments, and the time interval may be changed manually when the computer is available. Detailed descriptions will be provided in
The reading module 202 reads a first system time of the computer from a clock generator of the computer when the computer is powered on.
The determining module 203 determines if the first system time is in one of the available time segments.
The controlling module 204 shuts down the power of the computer if the first system time is not in one of the available time segments.
The controlling module 204 runs a boot program of the computer, and logs into an operating system of the computer if the first system time is in one of the available time segments.
The reading module 202 further reads a second system time of the computer if the time interval elapses after logging into the operating system by the boot program of the computer.
The determining module 203 further determines if the second system time is in one of the unavailable time segments.
The alarm module 205 outputs an alarm signal through the buzzer 21 of the motherboard 2 if the second system time is in one of the unavailable time segments. Then, the controlling module 204 shuts down the power of the computer.
The controlling module 204 keeps running current applications of the computer if the second system time is not in one of the unavailable time segments.
In block S1, the setting module 201 sets available time segments, unavailable time segments, and a time interval to use the computer manually, and store the available time segments, the unavailable time segments, and the time interval in the BIOS 20. Detailed descriptions will be provided in
In block S2, the reading module 202 reads a first system time of the computer from a clock generator of the computer when the computer is powered on.
In block S3, the determining module 203 determines if the first system time is in one of the available time segments. If the first system time is not in one of the available time segments, the procedure goes to block S4. If the first system time is in one of the available time segments, the procedure goes to block S5.
In block S4, the controlling module 204 shuts down the power of the computer, then the procedure ends.
In block S5, the controlling module 204 runs a boot program of the computer, and logs into an operating system of the computer, then the procedure goes to block S6.
In block S6, the reading module 202 reads a second system time of the computer if the time interval elapses after logging into the operating system by the boot program of the computer.
In block S7, the determining module 203 determines if the second system time is in one of the unavailable time segments. If the second system time is in one of the unavailable time segments, the procedure goes to block S8. If the second system time is not in one of the unavailable time segments, the procedure goes to block S9.
In block S8, the alarm module 205 outputs an alarm signal through the buzzer 21 of the motherboard 2, then the procedure goes to block S4.
In block S9, the controlling module 204 keeps running current applications of the computer, then the procedure goes to block S6.
In block S11, the computer is powered on, and the BIOS 20 performs a self test of the motherboard 2.
In block S12, the setting module 201 determines if a hot key of the keyboard 3 is pressed to enter a setting interface of the BIOS 20. If no hot key is pressed to enter the setting interface of the BIOS 20, the procedure goes to block S13. If there is a hot key is pressed to enter the setting interface of the BIOS 20, the procedure goes to block S14. In one embodiment, the hot key may be “F1” of the keyboard 3.
In block S13, the BIOS 20 runs a boot program, and logs into the operating system of the computer.
In block S14, the setting module 201 receives an entered password from the keyboard 3, then the procedure goes to block S15.
In block S15, the setting module 201 determines if the entered password is valid. If the entered password is the same as a preset password, the setting module 202 determines that the entered password is valid, the procedure goes to block S16. If the entered password is not the same as the preset password, the setting module 202 determines that the entered password is not valid, the procedure goes to block S17.
In block S16, the setting module 201 sets the available time segments, the unavailable time segments, and the time interval to use the computer, and stores the available time segments, the unavailable time segments, and the time interval in the BIOS 20.
In block S17, the setting module 201 exits the BIOS 20, and restarts the computer.
It should be emphasized that the above-described embodiments of the present disclosure, particularly, any embodiments, are merely possible examples of implementations, merely set forth for a clear understanding of the principles of the disclosure. Many variations and modifications may be made to the above-described embodiment(s) of the disclosure without departing substantially from the spirit and principles of the disclosure. All such modifications and variations are intended to be included herein within the scope of this disclosure and the present disclosure and protected by the following claims.
Number | Date | Country | Kind |
---|---|---|---|
200910311476.6 | Dec 2009 | CN | national |