1. Technical Field
The present disclosure relates to an apparatus and a method for reminding a user with access to a webpage that his/her access is overlong.
2. Description of the Related Art
In some servers, only a login user is permitted to do some operations, such as editing data on a webpage. Typically, after the user's operation on the webpage is first received, the server enables a timer to begin to time the user's access of the webpage. If no operation on the webpage is received within a predetermined time period, the server automatically cancels the login status of the user, and does not receive any more inputted data from the user. When this happens, the already edited data on the webpage is lost, and the user needs to login the server again to access the webpage and input the lost data again. This wastes time and is inconvenient.
The emphasis is placed upon clearly illustrating the principles of the disclosure.
The timing module 12 has a preset reminder time stored therein. In the embodiment, the timing module 12 can change the reminder time according to a preference of the user input by the user to the apparatus 10. The control module 11 controls the communicating module 15 to transmit to the network server 20 a request by the user of the apparatus 10 to be logged in the network server 20, and accesses (for example) a webpage of the network server 20 via the communicating module 15 when the network server 20 logs in the user. The timing module 12 times (i.e., tracks) an elapsed time of the webpage not being operated by the user, and determines whether the elapsed time has reached the reminder time. When the elapsed time is determined to have reached the reminder time, the timing module 12 generates a signal and transmits the signal to the control module 11. In response to the signal provided by the timing module 12, the control module 11 sends a reminder to the user, reminding the user to operate the webpage.
The control module 11 then determines whether the webpage is subsequently operated again by the user within a predetermined period. If the webpage is not operated again within the predetermined period, the control module 11 stores in the storage module 13 information which has been edited on the webpage and webpage content which is displayed on the display module 14, and generates a signal and transmits the signal to the network server 20. The network server 20 logs out the user in response to the signal provided by the control module 11, and thereby the apparatus 10 can no longer access the webpage of the network server 20 via the communicating module 15. If the webpage is operated again within the predetermined period, the timing module 12 recommences timing an elapsed time of the webpage not being operated by the user.
In the embodiment, the control module 11 further displays the elapsed time detected by the timing module 12 on the display module 14, to enable the user to monitor his/her own inaction in relation to the network server 20. In a further embodiment, the timing module 12 also generates a sound signal to remind the user when the elapsed time is determined to have reached the reminder time. The sound signal can be preset by the user on the apparatus 10.
Once the user is logged out, the control module 11 determines the intention of the user as to accessing the webpage again or not. In the embodiment, this determination is made according to an attempted operation by the user on the webpage or the absence of any such attempt. If the user shows his/her intention to access the webpage again by attempting to operate the webpage, the control module 11 automatically transmits via the communicating module 15 a request to the network server 20 for the user to be logged into the network server 20, and obtains from the storage module 13 the information which was edited on the webpage and the webpage content which was displayed on the display module 14. Then, the control module 11 controls the display module 14 to display the obtained webpage content and the obtained information which was edited on the webpage for the user to continue to access the webpage. In the embodiment, after the user is logged out, and when the control module 11 detects any attempted operation on the webpage, the control module 11 displays a user interface, prompting the user to select whether to access the webpage again or not. If the user selects “yes,” the control module 11 submits the request for the user to be logged into the network server 20 to the network server 20 via the communicating module 15.
In step S20, the control module 11 controls the communicating module 15 to transmit to the network server 20 via the communicating module 15 a request by a user of the apparatus 10 to be logged into the network server 20, and accesses (for example) a webpage of the network server 20 via the communicating module 15 when the network server 20 logs in the user.
In step S21, the timing module 12 times an elapsed time of the webpage not being operated by the user, and determines whether the elapsed time has reached the reminder time. If the determination is yes, the procedure goes to step S22; otherwise, the procedure returns to step S21.
The timing module 12 has a preset reminder time stored therein. In the embodiment, the timing module 12 can change the reminder time according to a preference of the user input by the user to the apparatus 10.
In step S22, the timing module 12 generates a signal and transmits the signal to the control module 11. The control module 11 sends a reminder to the user in response to the signal provided by the timing module 12, reminding the user to operate the webpage.
In the embodiment, the control module 11 displays the elapsed time detected by the timing module 12 on the display module 14, to enable the user to monitor his/her own inaction in relation to the network server 20. In a further embodiment, the timing module 12 also generates a sound signal to remind the user when the elapsed time is determined to have reached the reminder time. The sound signal can be preset by the user on the apparatus 10.
In step S23, the control module 11 determines whether the webpage is subsequently operated again by the user with a predetermined period. If the determination is no, the procedure goes to step S24; otherwise, the procedure returns to step S21.
In step S24, the control module 11 stores in the storage module 13 information which has been edited on the webpage and webpage content which is displayed on the display module 14, and generates a signal and transmits the signal to the network server 20. The network server 20 logs out the user in response to the signal provided by the control module 11.
In step S25, the control module 11 determines the intention of the user as to accessing the webpage again or not. If the determination is yes, the procedure goes to step S26; otherwise, the procedure ends.
In the embodiment, the determination is made according to an attempted operation by the user on the webpage or the absence of any such attempt. In particular, when the control module 11 detects any attempted operation on the webpage, the control module 11 displays a user interface, prompting the user to select whether to access the webpage again or not. If the user selects “yes,” the procedure goes to step S26; otherwise, the procedure ends.
In step S26, the control module 11 automatically transmits via the communicating module 15 a request to the network server 20 for the user to be logged into the network server 20, and obtains from the storage module 13 the information which was edited on the webpage and the webpage content which was displayed on the display module 14. Thereupon, the procedure goes to step S27.
In step S27, the control module 11 controls the display module 14 to display the obtained webpage content and the obtained information which was edited on the webpage for user to continue to access the webpage. Thereupon, the procedure returns to step S21.
It is understood that the present disclosure may be embodied in other forms without departing from the spirit thereof. Thus, the present examples and embodiments are to be considered in all respects as illustrative and not restrictive, and the disclosure is not to be limited to the details given herein.
Number | Date | Country | Kind |
---|---|---|---|
201110446527.3 | Dec 2011 | CN | national |