Thanks for the good advice, ksstudio
Another method is to schedule your own working time. For example, set a commitment of 9am to 6pm everyday, and make sure you won't do anything but work at this period.
Anybody else would like to share their opinions?