1. Field of the Invention
The invention relates to a timing system and method and, in particular, to a web page browsing timing system and method thereof.
2. Description of the Related Art
As the network becomes popular, more users start to enjoy the abundant contents brought by the high-speed network. Users can make good use of the bandwidth for long-time data transmissions. However, problems and disputes also surface. One of the serious problems is the computation of connection time and fare.
There are two ways to charge by time for browsing a website: downloading a user engine of timing and forcing login and logout of a web page. The drawback of downloading a user engine of timing is that the user has to download a user engine. This takes a longer time and renders a change for virus infection. The method of forcing login and logout of a web page may result in user's loss when the user forgets to log out or the machine is out of order so that the system cannot recognize and continues to charge.
For most users, the ratio of the network speed and charge is always a primary index that they evaluate and select network service carriers. The fee is usually charged by time. Therefore, how to make the computation of network time in a more reasonable way to increase user satisfaction is a key issue for commercial websites.
In view of the foregoing, the invention provides a web page browsing timing system and method thereof. An objective of the invention is to provide a mechanism to accurately compute the network using time of a current user, making the web page browsing charge more reasonable.
To achieve the above objective, the invention provides a web page browsing timing system, which uses a first timing system on the server to time while a user browses a web page. It is characterized in including an inline floating frame (Iframe) in the web page. The inline floating frame is connected to the first timing system on the web page server. The inline floating frame includes a second timing system that is called the server to update the first timing system according to a predetermined time.
Moreover, the invention provides a timing method for web page browsing. The web page contains an inline floating frame, which updates the first timing system on the server regularly according to a predetermined time. First, start the first timing system on the server once user login information is received. Update regularly the first timing system on the server via the inline floating frame, of which the step comprises starting a second timing system by the inline floating frame, comparing its time with the current time to acquire a comparison result, and calling the server via the inline floating frame to update the first timing system according to the comparison result.
According to the disclosed timing system and the corresponding timing method, the first timing system on the server is called for timing and is updated regularly. When a user quits the web page in an anomalous way, the first timing system on the server stops timing. The timing information on the server stops changing once the user quits the web page. When the user logs in again, the first timing system continues timing, so that the web page browsing time is calculated more accurate and reasonable.
The invention will become more fully understood from the detailed description given hereinbelow illustration only, and thus are not limitative of the present invention, and wherein:
The invention relates to a web page browsing timing system and method thereof. Referring to
The server contains a first timing system 30 for timing a web page browser. And an inline floating frame (Iframe) 20 is added to a web page 10, and the Iframe 20 can be embedded at any place of the web page. At the level of script language and objects, the window containing the Iframe 20 is usually called a parent list and the Iframe 20 is called a daughter list. Visiting from the parent list to the daughter list requires a clear definition of object levels so that one may visit and control the lists using a program. Although, Iframe 20 is embedded in another HTML document, it maintains its relative independence. The disclosed Iframe 20 contains a second timing system 40, which runs a timing program with a predetermined time. When the predetermined time is reached, the web page 10 calls the server to update the first timing system 30 and determines the user's privilege. At this moment, the parent page is not updated, without affecting the user in browsing the web page contents. When the user anomalously quits or logs out the browsing web page, the inline floating frame 20 does not call the server regularly to update the first timing system 30. Thus, the first timing system 30 on the server stops timing and keeps the timing data. When the user logs in again, the system determines the user's privilege and starts the first timing system 30 on timing again.
Referring to
When the user anomalously quits or logs out the web page browsing, the system according to the invention automatically stops timing on the server according to the logout information.
When the user logs in again, the system verifies the user's identity. The timing systems are started again once the user passes the verification, timing the web page browsing time.
In the following, we use a charged English learning website as an example to explain the disclosed method in detail. As shown in
The operation procedure of this embodiment is as follows:
While the present invention has been particularly shown and described with reference to preferred embodiments thereof, it will be understood by those of ordinary skills in the art, that the various changes in form and details may be made therein without departing from the spirit and scope of the present invention as defined by the appended claims.