Background technology
In recent years, along with the fast development of world-wide web, the storing mode of numerical data is also more and more diversified, and for example, network disk promptly is a kind of data storage system that builds on server-side.When the user desires the access network disk, need login particular webpage earlier, or enable specific program, with data upload to network disk, or by the network disk data download.Therefore, network disk the more important thing is that except the storage area that can save user side the user can be whenever and wherever possible by the data in the network access network disk.Because network disk has many advantages, therefore, known technology has developed the related application that many network disks, and wherein an example is the network photo album.
By the network photo album, when the user desires to share digital photo, digital photo can be uploaded to the network photo album, make other people can pass through the network browsing related web page, appreciate digital photo.Generally speaking, uploading digital photo to the process of network photo album is normally clicked in the webpage particular options or is carried out mounted application program by the user, then choose the digital photo of desiring to upload in the local storage device (as hard disk or storage card), and then digital photo is uploaded in the network photo album.Yet such action once only can be uploaded a file, and is not only consuming time and do not have efficient.
On the other hand, the classification problem after digital photo is uploaded also is another problem that merits attention.Known technology usually by additional one or more " label " (Tag) in a digital photo file, reach the purpose of classification.Yet, along with the quantity of digital photo increases, by the manual additional label of user with the mode of classifying consuming time, the consumption power that will become.
Therefore, how effectively to improve uploading and mode classification of network photo album, with lifting ease of use, the target of making great efforts in fact for industry.
Embodiment
Please refer to Fig. 1, Fig. 1 is the schematic diagram of anetwork disk system 10 of the embodiment of the invention.Network disk system 10 includes awebserver 100, a ustomerpremises access equipment 102 and a control assembly 104.Thewebserver 100 can read the data of adatabase 106 and is sent to ustomerpremises access equipment 102, or the data that ustomerpremises access equipment 102 is uploaded are stored in the database 106.Ustomerpremises access equipment 102 can be electronic installations such as computer system, intelligent mobile phone, personal digital assistant, in order to pass through world-wide web 108 and thewebserver 100 swap datas.In addition, one storage device 110 (as hard disk) of ustomerpremises access equipment 102 stores treats transmitting file File_1~File_n, it can be multimedia file (as files such as digital photograph, video, audio frequency) or generic-document, preparation reaching thewebserver 100, andcontrol assembly 104 then is used for controlling ustomerpremises access equipment 102 and uploads and treat the operational scenario of transmitting file File_1~File_n to the webserver 100.About the function mode ofcontrol assembly 104, please continue with reference to figure 2.
Fig. 2 is the schematic diagram that is used for aflow process 20 of control assembly 104.Flow process 20 can promote the convenience of uploading when treating transmitting file File_1~File_n, and it comprises following steps:
Step 200: beginning.
Step 202: start at ustomerpremises access equipment 102 and to upload when treating transmitting file File_1~File_n, will treat that by ustomerpremises access equipment 102 store information of transmitting file File_1~File_n is sent to thewebserver 100 to thewebserver 100.
Step 204: upload by ustomerpremises access equipment 102 and to treat that transmitting file File_1~File_n is to thewebserver 100.
Step 206:, store transmitting file File_1~File_n indatabase 106 by thewebserver 100 according to the store information for the treatment of transmitting file File_1~File_n.
Step 208: finish.
According toflow process 20, when starting, uploads when treating transmitting file File_1~File_n by ustomerpremises access equipment 102 to thewebserver 100, ustomerpremises access equipment 102 can will treat that earlier the store information of transmitting file File_1~File_n is sent to thewebserver 100, upload again and treat transmitting file File_1~File_n, make thewebserver 100 to store according to this and treat that transmitting file File_1~File_n is in database 106.Wherein, the store information for the treatment of transmitting file File_1~File_n is preferably for to treat that transmitting file File_1~File_n is stored in the folder information ofstorage device 110, and promptly its catalogue concerns.In this case, thewebserver 100 can will treat that the structure of transmitting file File_1~File_n according to its source folder is stored in thedatabase 106 according to the store information for the treatment of transmitting file File_1~File_n; Perhaps, thewebserver 100 can be set the label for the treatment of transmitting file File_1~File_n according to this, in order to indicate the structure of its source folder.In simple terms, uploading when treating transmitting file File_1~File_n, ustomerpremises access equipment 102 can will treat that the directory information of transmitting file File_1~File_n is sent to thewebserver 100, makes thewebserver 100 to store according to this and treats transmitting file File_1~File_n, or set its label.Thus, the user only needs to treat that transmitting file File_1~File_n deposits in suitable file, as treating transmitting file File_1~File_n The classification basis, after then uploading, thewebserver 100 can be treated the information of the source folder of transmitting file File_1~File_n according to storage, classifies.Therefore, the user does not need to classify once more at the file after uploading.
Byflow process 20, ustomerpremises access equipment 102 can start all actions of uploading for the treatment of transmitting file File_1~File_n simultaneously, and the user only needs to treat that transmitting file File_1~File_n is positioned over suitable file, can reach the action of classification, and do not need after uploading the classification of the file by thewebserver 100 setting data storehouses 106.Treat that in order to ensure each transmitting file all can correctly be uploaded to thewebserver 100, the present invention preferably can set up one by ustomerpremises access equipment 102 and upload tabulation, and is sent to thewebserver 100, treats transmitting file File_1~File_n to indicate all.Simultaneously, thewebserver 100 can write down it and upload state (as success, failure), and upgrade according to this and upload tabulation according to the situation of uploading for the treatment of transmitting file File_1~File_n with ustomer premises access equipment 102.In this case, if when treating to treat among transmitting file File_1~File_n that transmitting file File_x can't successfully be sent to thewebserver 100, thewebserver 100 can treat that the state of uploading of transmitting file File_x is failure by record with ustomerpremises access equipment 102, and upgrades and upload tabulation.Thus, according to uploading the indicated information of tabulation (state of uploading of promptly treating transmitting file File_x is failure), thewebserver 100 can be indicated ustomerpremises access equipment 102 to retransmit and be treated transmitting file File_x, perhaps, treats transmitting file File_x by ustomerpremises access equipment 102 active re-transmissions.Therefore, if in uploading the process for the treatment of transmitting file File_1~File_n, the transmission interruption takes place and make when some file is not successfully uploaded as yet that thewebserver 100 or ustomerpremises access equipment 102 can carry out breakpoint transmission according to uploading tabulation, further promote the convenience when using.
About implementation of the present invention, those of ordinary skills should do different modifications according to above stated specification.For instance, please refer to Fig. 3, Fig. 3 is the schematic diagram that a user uploads the page 30.It is in ustomerpremises access equipment 102 upload files during to thewebserver 100 that the user uploads thepage 30, is shown in the picture on the screen of ustomer premises access equipment 102.Upload thepage 30 by the user, the user can click one and browseoption 302, to select desiring uploaded content, as particular category or file etc.; At this moment, if ustomerpremises access equipment 102 was not installedcontrol assembly 104, then can jump out information, to carry out the installation procedure of control assembly 104.After selecting to desire uploaded content, the user needs to click a kind of mode classification inclassification options 304; For example, first, set up photo album, and the file behind the second layer can put into the second layer with local directory, and with former catalogue as label; Perhaps, second, be label with the local directory, put into a newly-built photo album or a specific photo album, as Collects1, Sets11, Sets12, Collects2, Sets21.At last, click and uploadoption 306, upload.
By the present invention, the user only needs to treat that transmitting file File_1~File_n deposits in suitable file, can finish the classification action automatically after uploading.For instance, if treat that the quantity of transmitting file File_1~File_n is 20, i.e. n=20, and be all the digital photo file.Simultaneously, treat that transmitting file File_1~File_5 is the photo of a tourist spot A (as the U.S.), treat that transmitting file File_6~File_10 is the photo of a sight spot S (as Grand Canyon) among the A of tourist spot, treat that transmitting file File_11~File_15 is the photo of a tourist spot B (as France), and treat that transmitting file File_16~File_20 is the photo of a sight spot T (as Paris iron tower) among the B of tourist spot.In this case, the user only needs to set up a file earlier in hard disk, as PIC, sets up two sub-folders at file PIC, as A, B, and sets up a sub-folder at file A, as S, and sets up a sub-folder respectively at file B, as T.Then, will treat that transmitting file File_1~File_5 is stored in file A, will treat that transmitting file File_6~File_10 is stored in file S, will treat that transmitting file File_10~File_15 is stored in file B, and will treat that transmitting file File_16~File_20 is stored in file T.Then, uploading thepage 30 by the user uploads and treats transmitting file File_1~File_20, and selection desire uploaded content is file PIC, thus, thewebserver 100 can be set up the label that transmitting file File_1~File_20 is treated in photo album or setting according to the catalogue for the treatment of transmitting file File_1~File_20.In other words, the user does not need to set once more the classification for the treatment of transmitting file File_1~File_20, and can finish the classification action after uploading by treating that transmitting file File_1~File_20 deposits in suitable file.
Therefore, the present invention not only can start the action of uploading that all treat transmitting file simultaneously, and the user only needs to treat that transmitting file is positioned over suitable file, can reach the action of classification.In other words, the present invention can effectively improve uploading and mode classification of network photo album, and promotes ease of use.
In sum, in the present invention, the source directory structure of the file that the webserver is uploaded according to ustomer premises access equipment stores or sets the action of label, makes that the user does not need to classify once more after uploading, and then promotes ease of use.
The above only is preferred embodiment of the present invention, and all equivalent variations and modifications of being done according to claims scope of the present invention all should belong to covering scope of the present invention.