DATA STRUCTURE AND METHOD FOR PRODUCING AND PLAYING A WEB GUIDING FILE
FIELD OF THE INVENTION The present invention is related to a web guiding file, and more particularly to a data structure and method for producing and playing a web guiding file. BACKGROUND OF THE INVENTION
Nowadays, the Internet is employed extensively along with the development of the multimedia technology. The Internet has been applied to combine with the daily life of modern people for providing a fast and convenient approach to obtain the necessary information. It is worthy to note that world wide web (WWW) incorporating multimedia effect has become a novel trend in the evolution of Internet technology since such an incorporation can appeal to the user and provide a vivid web page browsing environment. Giving an example of remote teaching, which is the most advanced teaching style, supersedes the traditional face-to-face teaching because the user can take courses at home through Internet. Therefore, students do not need to go to school nor hire a tutor. The traditional remote teaching mostly arranges the text in the form of web page so that the user can take the initiative in learning by connecting to the Internet. Nevertheless, such a teaching style just translates the traditional text into web page, and there are no teaching interactions involved during browsing the remote teaching web pages. It has been found that in order to overcome the shortcomings encountered in the prior remote teaching, a part of web sites adopts the real-time data stream file format such as Real Video to record the
teaching program and broadcast the teaching program on the Internet. Although it has been reported to be a good solution for overcoming the shortcomings of the traditional remote teaching, the quality of video signal is poor and the display screen is small due to the limitation of the network bandwidth. That will seriously affect the quality of teaching since most of the teaching activities can not display preciously and completely to the students through such a small and bad-quality display screen.
It is therefore tried by the applicant to develop an interactive web guiding system for producing and playing a web guiding file so as to deal with the above situation encountered by the prior art. SUMMARY OF THE INVENTION
The primary object of the present invention is to provide a data structure for producing and playing a web guiding file. The secondary object of the present invention is to provide a method for producing a web guiding file.
According to the present invention, a medium recording thereon data structure for producing and playing a web guiding file includes a header and a datagram. The header includes a five-byte head-check section for identifying the web guiding file, a four-byte data-count section for counting the data, a four-byte play-mode section for recordmg a play mode upon playing the web guiding file, and a 255-byte spare section reserved for other usage. The datagram, which has a data quantity to be counted by above-mentioned data-count section, includes an eight-byte time section for recording a playing time, a 4-byte position section for recording a scroll displacement upon producing the web guiding file, a two-byte class section for recording an operation occurred when
producing the web guiding file, an 8-byte area section recording an operation range upon producing the web guiding file, a six-byte attribute section for recording an attribute of the a line within the web guiding file, a history section for recording a character string of a uniform resource locator (URL) upon producing the web guiding file, and a text section for recording a text string and an attribute of the text upon producing the web guiding file.
In accordance with the present invention, the data stored in the data structure is updated periodically by a time interval, and more preferably, the time interval is 0.1 second.
Another aspect of the present invention is a method suitable for a web guiding system for producing a web guiding file upon browsing a web page on a host machine and playing the web guiding file. The method includes the following steps: (a) downloading the web page from a web site to the host machine, (b) coating a painting layer upon the web page, (c) providing a controlling medium to be movable on the painting layer, (d) providing an editing tool assembly for painting the painting layer, and (e) synchronously recording the web page, the painting layer, and an external signal altogether so as to produce the web guiding file. In accordance with the aspect of the present invention, at step (a) of the method for producing a web guiding file, the web page is downloaded to the host machine and stored in the cache storage section of the host machine.
Certainly, the host machine is a personal computer. Preferably, the controlling medium is a cursor induced by a peripheral device, and certainly, the peripheral device is a computer mouse.
In accordance with another aspect of the present invention, after step
(d) of the method for producing a web guiding file, the method further includes the steps of: providing a receiving device for receiving the external signal; and painting the painting layer by means of the editing tool assembly and the controlling medium.
Certainly, the receiving device is a camera for receiving external video images or a microphone for receiving external audio signals.
In accordance with another aspect of the present invention, the external signal and the painting layer can be recorded separately and then combined together to produce the web guiding file.
In accordance with another aspect of the present invention, the synchronously recording step can be respectively executed in many batches.
Alternatively, the size of the display screen of the web guiding system can be 640x480, 800x600, or 1024x768. Most of all, the web guiding file can be viewed in full-screen size.
In accordance with another aspect of the present invention, the editing tool assembly includes: a rectangular-frame drawing tool for drawing a rectangular frame on the web page, a elliptic drawing tool for drawing a ellipse on the web page, a straight-line drawing tool for drawing a straight line on the web page, an arrow-head drawing tool for drawing an arrow head on the web page, a continuous-line drawing tool for drawing lines continuously on the web page, a color-palette tool for setting the color of the lines on the web page, a picture-insertion tool for inserting pictures onto the web page; a text tool for inputting text on said web page, a mouse-recording controlling tool for controlling whether the movement of the computer mouse is to be recorded upon
recording the web page or not; a clear tool for clearing the selected object on the web page, an eraser tool for wiping out an edited object on the web page, an electronic board tool for creating an electronic board onto the web page so that a desired drawing and texts can be created on the electronic board, a clear-all tool for clearing all edited objects on the web page, a moving tool for moving the position of an object on the web page, a new-page tool for inserting a new web page onto the web page, and a frame-selecting tool for selecting the largest frame of the web page and displaying the content of the selected frame. Now the foregoing and other features and advantages of the present invention will be more clearly understood through the following descriptions with reference to the accompanying drawings, in which: BRIEF DESCRIPTION OF THE DRAWINGS
Fig. 1 is a schematic view showing a host machine connected with a peripheral device according to the present invention;
Fig. 2 shows the web guiding system upon recording the web page according to the present invention;
Fig. 3 is the control flow chart illustrating the control flow of the recording process according to the present invention; Fig. 4 the control flow chart illustrating the control flow of the playing process according to the present invention; and
Fig. 5 shows the web guiding system upon playing the web guiding file according to the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention is based, on the acknowledgement that when the user is browsing a web page, the user can utilize the built-in editing tool assembly to edit the web page, and meanwhile record the web page
together with an external video/audio signal synchronously so as to produce a web guiding file having a specific data structure. Therefore, the teacher can record the editing process accompanied with his instruction in the form of video image/ audio signal to give the students an interactive instruction.
Please refer to Fig. 1 showing a host machine connected with a peripheral device according to the present invention. The host machine
11 in this embodiment is a personal computer, and the peripheral device
12 in this embodiment is a computer mouse. While the user has already connected to the internet, the user can access the web pages by using the computer mouse 12 to click the hyperlink on the web page to link to the web page destined to browse.
Please refer to Fig. 2 which shows the web guiding system upon recording the web page according to the present invention. It can be seen that the web guiding system resembles a web browser, and second icon row represents the operations that can be performed during the recording process. Moreover, a small display screen located at the left- upper corner of the web guiding system is used to display the external video image inputted from a camera or other image capturing device. An editing tool assembly is provided for the user to edit the current page while recording. Unlike conventional web guiding systems, the web guiding system of the present invention is designed on the basis of a web browser so that it can operate independently without employing other web browsers such as the Microsoft Internet Explorer 5.0. The size of the display screen is not limited to be 800x600. On the other hand, the display screen of the web guiding system of the present invention can be alternatively 640x480, 800x600, or 1024x768. Most of all, the web
guiding file can be viewed in full-screen size with the editing tool assembly is hidden.
The major characteristic of the present invention is the data structure to be used for producing a web guiding file and playing the web guiding file. The data structure includes a header and a datagram, and the structure of the header and the datagram are illustrated in Table 1 and Table 2 respectively:
Table 1
Header
Table 2
Data ram
The data recorded in the data structure will be updated every 0.1 second.
When the user is browsing the web page, a recording process can be activated by pressing the "Record" icon to start to produce a web guiding file. The user can use the editing tool assembly to edit the current web page, and the camera or microphone can receive the external video image/audio sound and transmit the video/audio signals to the personal computer. The web guiding system will record the editing process accompanied the video/signal synchronously so as to produce the web guiding file. The web page will first be downloaded to the personal computer and stored in the cache storage section of the personal computer. Therefore, no matter whether the web guiding system is recording a web guiding file or playing a web guiding file, the web
guiding system accesses the web guiding file from the local personal computer but not from the remote web site. The update of the web page will not be influenced by the network transmission speed so that the video/audio playing and the web page updating will be synchronous. It is remarkable that the recording process can be segmental (the user can record five minutes first and then append the last five minutes to the former recorded file), and separable (the user can record the edited web page first then append the external video/audio signal later).
The editing tool assembly is shown in the tool panel of the web guiding system, and their functions are described as follows:
|jy) . rectangular-frame drawing tool for drawing a rectangular
frame on the web page.
5*j : elliptic drawing tool for drawing a ellipse on the web page.
|Sf * straight-line drawing tool for drawing a straight line on the
web page. Moreover, the little triangle located at the right-lower corner of the straight-line drawing tool is used for setting the width of the line.
[J5] * arrow-head drawing tool for drawing an arrow head on the
web page.
/j • continuous-line drawing tool for drawing lines continuously
on the web page.
|jgj : color-palette tool for setting the color of the lines on the
web page.
Jj g) ■ picture-insertion tool for inserting pictures onto the web
page.
-f*j * text tool for inputting text on the web page.
£| ■ mouse-recording controlling tool for controlling whether the
motion of said computer mouse is to be recorded upon recording the web page or not.
] * j . clear tool for clearing the selected object on the web page.
5g | . eraser tool for wiping out the object on the web page
JH . electronic-board tool for creating an electronic board onto
the web page so that a desired drawing and texts can be created on the electronic board.
ifjj . clear-all tool for clearing all edited objects on the web page.
i# | * moving tool for moving the position of an object on the web
page.
j • new-page tool for inserting a new web page onto the web
page.
2J : frame-selecting tool for selecting the largest frame of the
web page and displaying the content of the selected frame.
Please refer to Fig. 2 again. When the user is recording, the user can use the editing tool assembly described above to edit the current, the motion of the computer mouse and the editing process will be fully recorded. Meanwhile, the video/audio signal received externally will also be recorded synchronously to produce a web guiding file.
Please refer to Fig. 3 which is the control flow chart illustrating the control flow of the recording process according to the present invention. The control flow of the recording process can be divided into two parts: one is the control flow of the video/audio record process, and the other is the tool record process. When the recording process is started, the web guiding system will check if a charge-coupled device (CCD) is existed or not for receiving external video images. If a charge-coupled device (CCD) is existed, the system will initiate the video record mode and record the video image. Otherwise, the system will record the audio signal. When recording the editing process, the system will setup a time interval (about 0.1 second) for recording. The system will check if any tool is selected or not. If no tool is selected for editing the web page, the system will record the mouse motion. Otherwise, the tool action should be recorded.
After the recording process is finished and a web guiding file is produced thereby, the user can play a web guiding file by opening the desired web guiding file. Please refer to Fig. 4 which is the control flow chart illustrating the control flow of the playing process according to the present invention. The timer of the system will be reset first, and the system will check if a new uniform resource locator (URL) is existed. If a new URL is checked, that indicates the current web page should be replaced to another web page. Thereafter, the system will check if an electronic board (E-board) is existed. If an electronic board is existed, the electronic board will be opened. The system will set the mouse attribute to be within the current windows or to be within the electronic board. Finally, the tool drawing process will be shown and the playing screen for the next time interval will be activated.
Please refer to Fig. 5 which shows the web guiding system upon playing the web guiding file according to the present invention. When playing a web guiding file, the editing process and the video images/audio sound will be displayed synchronously.
In conclusion, the data structure and the method for producing and playing a web guiding file can segmentally/separably/synchronously recording the editing process of the web page and external video/audio signal, and the web guiding file produced thereby is quite advantageous to be applied to the field involved with remote teaching or tour guiding.
While the invention has been described in terms of what are presently considered to be the most practical and preferred embodiments, it is to be understood that the invention need not be limited to the disclosed embodiment. On the contrary, it is intended to cover various modifications and similar arrangements included within the spirit and
scope of the appended claims which are to be accorded with the broadest interpretation so as to encompass all such modifications and similar structures. Therefore, the above description and illustration should not be taken as limiting the scope of the present invention which is defined by the appended claims.