1. Field of the Invention
The present invention is related to a method executed by a computer system, and more particular to a system and method for generating a web page used to share records by a computer system.
2. Description of Related Art
Nowadays, digital cameras are extremely popular. One can take photos to record daily life by a digital camera. The photos are recorded as digital image files. The digital image files could be further shared to friends by e-mails or by a web album. Web album functions provided by image databases may store the digital image files and display the photos for browsing. Image databases for storing and sharing photos are known.
In most image databases, digital image files are organized by date or special topic. These kinds of organization are simple but unexciting. U.S. patent 2007/0233368 discloses a shared image database with geographical navigation. Users could upload digital image files with geographic information to a shared image database. The shared image database will store and display the digital image files by geographical parameters.
However, if there are a plurality of photos located on the same location, users have to assort these photos by other criterion, such as date. Besides, the use of web album function is only permitted when users have passed complicated process for joining a website. It is not convenient for browsing by a web album. Furthermore, the personal photos showing on a website could be copied easily and the disclosed data will endanger individual security. Therefore, it is necessary to provide another mechanism for assisting records sharing.
Accordingly, the objective of the present invention is to provide a method and system for generating a web page to share records that can be read by a personal computer system directly and the record files are downloaded according to the selection of the linking tags so as to decrease transmission data volume, enable users to share the records conveniently and rapidly, and protect data security by generating a first web page used to browse records in advance, uploading the record files to a far-end database, and creating a second web page used to share records by copying the first web page and replacing the linking address of each linking tag with the individual far-end storage address of each record file.
In order to achieve the foregoing objective, the present invention provides a method for generating a web page used to share records by a computer system. The method includes the following steps. Firstly, a first web page is generated and a map image is embedded therein. Next, the first web page is controlled to display a traveling route overlaid on the map image in accordance with a GPS data file that includes a plurality of geographical locations varying with a plurality of time parameters during moving along the traveling route. Next, a creation time of at least one record file is compared with the time parameters of the GPS data file so as to obtain a creation geographical location of the record file and at least one linking tag having a linking address linking to the record file is configured overlaid on the map image in accordance with the creation geographical location of the record file. Next, the record file is updated to be stored in a far-end database and is assigned to a far-end storage address. Next, a second web page is created by copying the first web page. Lastly, the second web page is updated by replacing the linking address of the linking tag with the far-end storage address of the record file.
In order to achieve the foregoing objective, the present invention provides a system for generating a web page used to share records by a computer system. The system includes a first analyzing module, a second analyzing module, a comparing module, an interface developing module and a second web page developing module. The first analyzing module analyzes a GPS data file that includes a plurality of geographical locations varying with a plurality of time parameters during moving along a traveling route so as to obtain a time parameter of each of the geographical locations. The second analyzing module analyzes at least one record file so as to obtain a creation time of the record file. The comparing module is coupled to the first analyzing module and the second analyzing module for obtaining a creation geographical location of the record file by comparing a creation time of the record file with the time parameters of the GPS data file. The interface developing module is coupled to the first analyzing module and the comparing module. The interface developing module generates a first web page for displaying the traveling route and configures at least one linking tag having a linking address linking to one of the record file in accordance with the creation geographical location of the record file. The second web page developing module is coupled to the interface developing module. The second web page developing module generates a second web page by copying the first web page and replaces the linking address of the linking tag with a far-end storage address of the record file.
The format of the at least one record file belongs to a digital image file format or a digital audio file format.
The objective of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment, which is illustrated in the various figures and drawings.
The present invention can be fully understood from the following detailed description and preferred embodiment with reference to the accompanying drawings, in which:
The objective of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment, which is illustrated in the various figures and drawings.
The present invention provides a method and system for generating a web page used to share records by a computer system. By executing an application program, a first web page used to browsing records is generated. The first web page displays one or more linking tags having linking addresses respectively corresponding to one or more record files stored in local database. One can upload the record files to a far-end database for sharing. After uploading the record files, a second web page used to share records will be generated. In the second web page, the linking addresses of the linking tags link to the far-end database. The second web page could be sent to friends for sharing records via the network.
GPS (Global Positioning System) technology could obtain latitude and longitude coordinates, bearing, velocity, and etc, by receiving signals transmitted from artificial satellites to perform mathematical calculations. A GPS data recorder (GPS data logger) is able to create a GPS data file with a specific format to record the geographical locations consisting of latitude and longitude coordinates, bearing, velocity, and etc, varying with time continuously by applying GPS technology. Moving along a traveling route with a GPS data recorder, the GPS data recorder would create a GPS data file recording a plurality of geographical locations at different time parameters. The GPS data file created by the GPS data recorder could be read out by a specific software. The GPS data recorder is a popular device nowadays, so the technology will not be illustrated in detail.
There are two parts in a digital image file. One is used for storing image data, and the other one is used for storing appendixes of this file. When an digital image file is created, a digital camera would write appendixes, such as AE value, shutter period, ISO value, and etc., corresponding to the conditions of photographing into the header of the file with a specific format. For example, the format of JPEG file header is EXIF type.
A user who brings a GPS data recorder and a digital camera in a journey can take photos and record geographical locations at the same time. Then, by analyzing and comparing the creation times of the digital image files with the time parameters of the GPS data file, a corresponding geographical locations of all the files could be obtained. These obtained corresponding geographical locations are the creation geographical locations of these files.
Likely, a digital audio file has an individual start time and an end time of n audio period. Either the start time or the end time could be regard as the creation time of the digital audio file. The creation geographical location of the digital audio file could be obtained by comparing the creation time of the file with the time parameters of the GPS data file.
Please refer to
It is noted that the presented method and system for generating a web page used to share records can be implemented by a computer system. The user has to store the GPS data file and the digital image files in the database of a computer system 70. As shown in
It is noted that
Likely, the digital audio files created by a recording device during the journey could be stored in the database of the computer system 70.
Please refer to
The records browsing/sharing system 10 is used to generate a first web page used to browse the record files and a second web page used to share records. The format of the record files belongs to the digital image file format or the digital audio file format. The records browsing/sharing system 10 achieve the expected function by an application program installed in the computer system 70. The application program coding will not be illustrated in detail, because one skilled in the art himself could use any proper program language to develop a proper application program in accordance with the function of each module illustrated hereinafter.
The editor 100 collects necessary information from the data inputted by inputting devices, such as keyboard, mouse, or etc. The GPS data file and the digital image files are stored in a first storage address and a second storage address inside the database of the computer system 70. The first storage address and the second storage address can be inputted by the editor 100. The first accessing module 102 and the second accessing module 104 are coupled to the editor 100 and a database (not shown in
The first analyzing module 112 is coupled to the first accessing module 102. The first analyzing module 112 analyzes the GPS data file for obtaining all the geographical locations consisting of latitude and longitude coordinates, varying with time. The second analyzing module 114 is coupled to the second accessing module 104. The second analyzing module 114 analyzes the record files for obtaining the creation times of the record files. The comparing module 116 is coupled to the first analyzing module 112 and the second analyzing module 114 for obtaining a creation geographical location of each record file by comparing the creation times of the record files with the time parameters of the GPS data file. That is, the creation time of each record file is regarded as an index for looking for a corresponding geographical location with an individual time parameter equivalent to the creation time in the GPS data file. The obtained corresponding geographical location is the creation geographical location of the record file.
The interface developing module 118 is coupled to the first analyzing module 112, the comparing module 116 and the display engine of the computer system 70 for generating a user interface of the application program and a browsing interface of the record files embedded in the user interface on the display 74.
In one embodiment, after executing the application program, the interface developing module 118 would create a first web page and control the first page to link to a map service website, such as Google Map, Google Earth, or etc., to download a map image. The interface developing module 118 would embed the map image in the first web page, display a traveling route overlaid on the map image in accordance with the analysis of the GPS data file, and further configure a plurality of linking tags respectively having a linking address linking to a specific record file distributed on the creation geographical location overlaid on the map image. It is noted that the first web page could communicate with the map service website, such as Google Map, Google Earth or etc, by some specific commands or functions provided by the application program interface in order to execute the specific procedures, such as overlaying the traveling route and the linking tags on the map image and opening a specific record file according to selection.
Furthermore, the records browsing/sharing system 10 would open a specific file in responsive to the selection by operating inputting devices, such as the keyboard 76, mouse, and etc, of the computer system 70.
Following, please refer to
The editing interface 32 includes two editing blocks 321, 322. The editing block 321 relates to the access of the GPS data file. The editing block 321 is used to access the GPS data file and an icon 3210 is arranged inside the editing block 321 for opening file management module of the computer system 70. One can input a storage address by selection. Thus, the first accessing module 102 would access the GPS data file from the first storage address. Then, the first analyzing module 112 would analyze the GPS data file to obtain the geographical locations distributed at different time parameters. Following, the interface developing module 11 would control the first web page to display the traveling route 340.
The editing block 322 relates to the access of the record files. An icon 3220 is arranged in the editing block 322 for opening file management module. One can input a storage address by selection. Thus, the second accessing module 104 would access the record files from the second storage address. Then, the second analyzing module 114 would analyze the record files for obtaining the creation times of the record files. Afterwards, the comparing module 116 receives the analyses provided by the first analyzing module 112 and the second analyzing module 114 and compares the creation times of the record files for obtaining the creation geographical location of each record file. Following, the interface developing module 118 would display the linking tags 342 distributed on the creation geographical locations along the traveling route 340. Each linking tag 342 has a linking address linking to a specific record file. Thus, as shown in
In the embodiment, a list 3222 is embedded in the user interface 30 for listing the file names, the creation time, the geographical location, including the latitude and the longitude coordinates, of all the record files. The user interface 90 further includes a menu 36 including a plurality of icons 360 that corresponds to a specific function to control the browsing interface 34. The icon 323 links to activate the Google Earth. By clicking the icon 323, the Google Earth would be activated and the traveling route and the linking tags of the record files would be overlaid on the satellite map on Google Earth.
In an embodiment, the user interface 30 further provides a slide function for opening the record files automatically one by one along the traveling route 340. The mentioned slide function could enrich the records browse and make the records browse more interesting.
The present invention organizes the record files by the traveling route. thus, the records brows could be much more interesting and meaningful. Besides, the records browsing/sharing system 10 is implemented by a personal computer that could protect personal data security.
Following, a method for generating the first web page used to browsing records is provided. Please refer to
Firstly, S100 is performed. A first storage address and a second storage address are obtained.
Next, S102 is performed. A GPS data file is downloaded from the first storage address and a plurality of record files are downloaded from the second storage address. The GPS data file records the geographical locations varying with time during moving along a traveling route. The record files including individual creation times are created while the GPS data file records the geographical locations.
Next, S104 is performed. The creation times of record files are compared with the GPS data file so as to obtain the corresponding geographical location of each record file.
Lastly, S106 is performed. A plurality of linking tags linking to the record files respectively are displayed on a browsing interface distributed along the traveling route. Thus, a specific record file could be opened by clicking a specific linking tag.
The record files can be shared to friends after adding some notes. It is not a practical way to share the record files by e-mail because of the limited communication bandwidth. Therefore, we could upload the record files to a far-end database for storage, the record files could be downloaded to a local computer for sharing individually.
The main feature of the present invention consists is to generate a second web page used to share records by the records browsing/sharing system 10. The second web page generated by the records browsing/sharing system 10 records the far-end storage addresses of the uploaded record files rather than attaching the record files so that the data volume could be decreased. Please refer to
Please refer to
The second web page has several control commands for performing steps of linking the map service website, downloading the map image, displaying the traveling route, and displaying the linking tags of the record files. Once the second web page is opened, a browsing interface as shown in
Please refer to
The records sharing function will be illustrated in detailed with a communication system hereinafter. As shown in
The personal computer terminal 20 could transmit the second web page to other personal computers 501˜50N via the network 90. Inside the personal computers 501˜50N, the second web page could be opened directly to display an interface for browsing the shared record files stored in the far-end database 40. The linking tags link to the far-end addresses of the shared record files stored in the database 404. When a specific linking tag is selected, a corresponding record file will be downloaded from the far-end database 40 to a personal computer. The present invention makes records sharing more conveniently and rapidly than sharing records by a web album.
Following, a method for generating the second web page used to share records is provided. Please refer to
Firstly, S200 is performed. The interface developing module 118 generates a first web page used to browse the record files, links to a specific website to download a map image and embeds the map image in the first web page.
Next, S202 is performed. The first analyzing module 112 downloads the GPS data file and analyzes the GPS data file so as to obtain the geographical locations varying with the time parameters.
Next, S204 is performed. The interface developing module 118 controls the first web page to display the traveling route on the map image according to the analysis of the GPS data file.
Next, S206 is performed. The editor 100 obtains the storage address of the record files. Each record file has an individual creation time.
Next, S208 is performed. The second analyzing module 114 analyzes the creation times of the record files and the comparing module 116 compares the creation times with the GPS data file so as to obtain a corresponding geographical location of each record file. This obtained corresponding geographical location is the creation geographical location of the record file.
Next, S210 is performed. The interface developing module 118 controls the first web page to configure linking tags linking to the record files distributed on the creation geographical locations on the map image.
Next, S212 is performed. The record files are uploaded to a far-end database and an individual far-end address is assigned to each record file.
Next, S214 is performed. A second web page developing module 120 generates a second web page by copying the first web page.
Last, S216 is performed. The second web page is updated by replacing the linking address of each record file with the individual far-end address.
In S216, the file content of second web page is analyzed for obtain the linking address of each linking tag. Then, the linking tag of each record file is replaced with the individual far-end storage address of each record file.
Therefore, through the embodiment illustrated above, one should realize that the method and system for generating the web page used to share records according to the present invention creates a web page used to share records displaying linking tags linking to the shared record file stored in a far-end database, so that the data volume is much lower than transmitting the shared record files to friends directly. The low data volume will speed up the communication. Even by wireless communication, the data transmission rate would still be high. Besides, the web page used to share records can be opened by a personal computer system directly so that the shared records browsing is much more convenient. Furthermore, browsing shared records by a personal computer rather than by a web function protects personal data security well.
While the invention has been described in terms of what is presently considered to be the most practical and preferred embodiments, it is to be understood that the invention needs 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.
Number | Date | Country | Kind |
---|---|---|---|
096147944 | Dec 2007 | TW | national |