System and its implementation of World Wide Web medium in the managing world wide web webpage
Technical field
The present invention relates to system and its implementation of the Web medium in computing machine and network communications technology field, particularly managing world wide web (Web) webpage.
Background technology
The appearance of Web form SGML makes internet (Internet) obtain unprecedented development.Present Web form SGML mainly contains HTML (HTML), dynamic HTML (DHTML) and XML etc.The issue that these Web form SGMLs are information with exchange the great effect of having played.By Web browser, the user can browse the content by the expressed webpage of these Web form SGMLs, and can download and preserve web content wherein.
But, Web browser just shows web content according to the expressed form of these Web form SGMLs, can not collect, classify, search for, sorts, show and bookkeepings such as selecting preservation arranged the Web medium that the Web webpage carries and represents.
Usually, the Web medium comprise text, picture, audio frequency, video, Flash animation, hyperlink and other any file in the Web webpage.
All pictures of searching user end computer this locality are arranged at present, locate these pictures automatically, and carry out tissue typing to generate the prior art of visual electron album according to the date.In addition, in this technology, the user can put electron album in order by pulling mode, and the picture in the electron album is added label so that grouping can also be carried out operations such as cryptoguard simultaneously to picture.
Above-mentioned prior art mainly is at the local bookkeepings such as collection, classification, search and demonstration of carrying out all pictures of the computing machine of user side.But, for the picture in the Web webpage and such as other Web medium such as text, audio frequency, video, Flash animation, hyperlink, this technology does not possess function and the characteristics to bookkeepings such as its collection, classification, search, ordering, demonstrations, therefore function is very limited, is unfavorable for that the user uses.
The search technique that also has a kind of literal and picture based on the Web webpage at present utilizes this technology can search in the same website literal and/or picture with the nominal key coupling.In this technology, for picture searching, Search Results is shown to the user in the mode of thumbnail, and when nominal key when being empty, all literal and pictures in the search station.
Should can collect, classify, search for and show the literal in the Web webpage, picture based on the search technique of Web webpage, but this technology but possess the function of preserving the Web medium selectively.Just, when the user wishes to select simultaneously dissimilar Web medium, when perhaps wishing to preserve the Web medium of choosing with different preserving types, utilize this technology but can't realize.For example: the user may wish to select simultaneously to preserve the Web media file that type is respectively audio frequency and picture, the user also may have in conjunction with context menu, shortcut, quick botton, pull the demand that medium multiple mode is preserved the Web media file, prior art can not realize this demand, thereby makes that user's use is very inconvenient.
In addition, should be merely able to the literal in the Web webpage, picture are collected, classify, searched for and show based on the search technique of Web webpage, and in the Web webpage such as other Web medium of audio frequency, video, Flash animation or other any files, this technology but do not possess to its collect, classification, search, ordering, the function that shows.
Summary of the invention
In view of this, fundamental purpose of the present invention is to solve the problem that can not preserve the Web medium selectively that exists in the prior art.Therefore, the present invention proposes a kind of system of Web medium of the Web of management webpage, thereby allows the user to utilize selectable preserving type to preserve the selectable Web media file of medium kind.
Another object of the present invention is the method that proposes a kind of Web medium of the Web of management webpage, thereby the problem that can not preserve the Web medium selectively that exists in the solution prior art utilizes selectable preserving type to preserve the selectable Web media file of medium kind to allow the user.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of system that manages the Web medium in the Web webpage, described system comprises:
Web web page analysis module, be used for obtaining described Web webpage the Web medium, the Web medium that obtain are outputed to the Web media list, and the Web medium in this Web media list are set up index;
Web media management module, be used for the Web medium of this Web media list are arranged according to described index, show Web medium through arranging, the Web medium that reception is selected in the Web medium that demonstrate by the user, the storing path that is used to preserve the Web media file of choosing that reception is selected by the user, and Web medium and the storing path selected by the user that receive send to Web medium preservation module;
The Web medium are preserved module, are used for preserving the Web medium that described user selects according to described storing path;
Wherein Web web page analysis module is connected with Web media management module, and Web media management module is preserved module with the Web medium and is connected.
Described Web media management module comprises Web media categories submodule, and described Web media categories submodule is used for according to described index the Web medium of described Web media list being classified.
Described Web media management module comprises Web media research submodule, and described Web media research submodule is used to receive search key, and searches in described Web media list according to described index and search key.
Described Web media management module comprises Web medium ordering submodule, and described Web medium ordering submodule is used to receive sort criteria, and according to described index and sort criteria the Web medium in the described Web media list is sorted.
Described Web medium are a kind of in the text, picture, audio frequency, video, Flash animation, hyperlink in the Web webpage or more than a kind of combination in any.
Described Web media management module receives the Web media file of being selected by the user: Web media management module receives the medium type of being selected by the user and is no less than a kind of Web medium.
Described Web media management module receives storing path: described Web media management module receives user by selecting context menu, shortcut, quick botton, a kind of in pulling or the storing path determined more than a kind of mode of combination in any.
A kind of method of managing the Web medium in the Web webpage may further comprise the steps:
A, obtain the Web medium in the Web webpage, the Web medium that obtain are outputed to the Web media list, and the Web medium in this Web media list are set up index;
B, the Web medium in this Web media list are arranged according to described index, show Web medium through arranging, the Web medium that reception is selected in the Web medium that demonstrate by the user receive the storing path of being selected by the user that is used to preserve the Web media file of choosing;
C, preserve the Web medium that described user selects according to described storing path.
Web medium in the described Web of the obtaining webpage of steps A comprise:
A1, the SDK (Software Development Kit) SDK that provides by Web browser or directly analyze Web form SGML, traversal Web webpage;
A2, according to the result of described traversal Web webpage, obtain the Web medium in the Web webpage.
The described arrangement of step B comprises a kind of in classification, search, the ordering or more than a kind of combination in any.
The described reception of step B by the Web medium that the user selects in the Web medium that demonstrate is: receive the media file type of selecting in the Web medium that demonstrated by the user and be no less than a kind of Web medium.
The storing path that the described reception of step B is used for preserving the Web media file of choosing is: the storing path that receives user by selecting context menu, shortcut, quick botton, pull a kind of or determine more than a kind of mode of combination in any.
From above technical scheme as can be seen, the system of the Web medium of management Web webpage proposed by the invention comprises Web web page analysis module, be used for obtaining the Web webpage the Web medium, the Web medium that obtain are outputed to the Web media list, and this Web media list is set up index; Web media management module, be used for the Web medium of Web media list are arranged according to index and shown, receive the user and in the Web medium that demonstrate, select the Web medium, reception is used to preserve the storing path of the Web media file of choosing, and Web medium and the storing path selected by the user that receive are sent to Web medium preservation module; The Web medium are preserved module, are used for preserving the Web medium that the user selects according to storing path.Therefore, system proposed by the invention allows the user that the Web medium are carried out multiple choices, and the user can preserve the Web medium of choosing by context menu, shortcut, quick botton, the mode that pulls.So, after using the present invention, solved the problem that can not preserve the Web medium selectively that exists in the prior art, the user can utilize selectable preserving type to preserve the selectable Web media file of medium kind, and enriched user's selection approach, satisfied individual use habit.
And, Web media management module can collect, classify, search for, sorts, show Web medium such as the text in the Web webpage, picture, audio frequency, video, Flash animations, overcome the shortcoming that only text in the Web webpage, picture is managed in the prior art, thereby made the user can manage the Web medium better.
Simultaneously, the invention allows for the method for the Web medium in a kind of Web of management webpage.By method proposed by the invention, the user at first obtains the Web media file of multiple medium type, then the Web medium are carried out the arrangement of various ways, make things convenient for the user to select the Web media file of multiple medium type, and allow to preserve the Web media file of choosing with the multiple choices mode.Therefore, use method proposed by the invention after, solved the problem that can not preserve the Web medium selectively that exists in the prior art, thereby allowed the user to utilize selectable preserving type to preserve the selectable Web media file of medium kind.
Description of drawings
Fig. 1 is the system construction drawing according to the Web medium of management Web webpage of the present invention;
Fig. 2 is the system construction drawing according to the Web medium of the management Web webpage of one embodiment of the invention;
Fig. 3 is the schematic flow sheet of the Web medium of management Web webpage of the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention express clearlyer, the present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
Fig. 1 is the system construction drawing according to the Web medium of management Web webpage of the present invention.As shown in Figure 1, this system comprises Web web page analysis module 101, is used for obtaining the Web medium of Web webpage, and the Web medium that obtain are outputed to the Web media list, and this Web media list is set up index; Web media management module 102, be used for the Web media list is arranged by index, show Web medium through arranging, receive the user and in the Web medium that demonstrate, select the Web medium, reception is used to preserve the storing path of the Web media file of choosing, and Web medium and the storing path selected by the user that receive are sent to Web medium preservation module; The Web medium are preserved module 103, are used for preserving the Web medium that the user selects according to storing path.Web web page analysis module 101 is connected with Web media management module 102, and Web media management module 102 is preserved module 103 with the Web medium and is connected.
Web web page analysis module 101 is at first obtained the Web medium in the Web webpage.Preferably, SDK (Software Development Kit) (SDK) that Web web page analysis module 101 can provide by Web browser or the mode of directly analyzing Web form SGML, all elements in the traversal Web webpage, thus all Web medium that carry and express in the Web webpage obtained.
The Web medium that Web web page analysis module 101 is obtained can comprise text, picture, audio frequency, video, Flash animation, hyperlink and other any file in the Web webpage.Particularly, if in the Web webpage text is arranged, then Web web page analysis module 101 is directly obtained content of text or is obtained text with the form of link; If in the Web webpage picture is arranged, then Web web page analysis module 101 is directly obtained picture or is obtained picture with the form of link; If in the Web webpage audio frequency is arranged, then Web web page analysis module 101 is directly obtained audio frequency or is obtained audio frequency with the form of link; If in the Web webpage video is arranged, then Web web page analysis module 101 is directly obtained video or is obtained video with the form of link; If the Flash file is arranged in the Web webpage, then Web web page analysis module 101 is directly obtained the Flash file or is obtained the Flash file with the form of link.After Web web page analysis module 101 has been obtained the Web medium, the Web medium that obtain are outputed to the Web media list, and can set up index to this Web media list according to any way of the prior art.
This Web media list with index has been arranged, and Web media management module 102 just can be arranged according to index the Web medium in this Web media list, and shows the Web medium through arranging.
Web media management module 102 can be carried out multiple arrangement operation to the Web medium.For example: Web media management module 102 can according to index to the Web medium classify, search, ordering etc. arrange operation, and the result that will classify, search for, sort shows.
Preferably, Web media management module 102 can be according to the Web medium of index to obtaining from the Web webpage, and Web medium in the Web media list are just classified according to type, name, size, time etc., and are shown to the user.
Preferably, Web media management module 102 can also sort by various sort criterias according to index to these Web medium.Web media management module 102 at first receives the sort criteria of user's input, according to index and sort criteria all the Web medium in the Web media list is sorted again.Wherein can be by the ordering of the type of Web medium, by the name ordering of Web medium, by the size ordering of Web medium, make up ordering by the time-sequencing of Web medium or by above-mentioned sortord.
Preferably, Web media management module 102 can also be searched for by various search keys according to index these Web medium.Web media management module 102 at first receives the search key of user's input, and searches in all the Web medium in the Web media list according to index and search key.Wherein search key can comprise the appointment magnitude range of Web medium type, Web medium name, Web medium or the fixed time scope of Web medium.Simultaneously, can also carry out combinatorial search by above-mentioned way of search.
Web medium after Web media management module 102 can be checked classification, search for and sort with multiple mode.The Web medium are shown the display mode and the thumbnail display mode that can include details at least.
The details display mode is shown to the user to the mode of the result of classification, ordering or search by Web media management tabulation, and it comprises details such as the type that shows the Web medium, name, size, time.The thumbnail display mode is that the result of classification, ordering or search is shown to the user by the thumbnail mode of setting type according to fixed size, and content displayed comprises the breviary content of picture, Flash animation, key frame of video.Can not can use icon representation with the Web medium that thumbnail is represented for text, audio frequency, hyperlink, alternative document etc.In addition, the position of demonstration can be the window of an independent displaying, also can replace the Web web page windows, is presented at original place of Web browser display web page.
Alternatively, can arrange the result who comes out to Web media management module 102 by a visual interface shows, operation wherein can be consistent with the custom of " explorer " in form (windows) operating system that Microsoft (Microsoft) proposed, at least support to check mode for three kinds by icon, tabulation, particulars, also support to press the various attribute orderings of Web medium simultaneously, support multiselect.
After demonstrating the Web medium after the arrangement, the user can therefrom select one or more Web medium of preserving wanted, and a kind of mode by context menu, shortcut, quick botton, in pulling is set the storing path of preserving the Web medium of choosing again.Particularly, select in the process of Web medium the user, the user can select the Web medium of multiple medium type.For example: the user can select type to be respectively the dissimilar Web medium of audio frequency and picture.In addition, the user selects the mode of Web medium also can have various.For example: can be multiselect of single choosing, full choosing, non-full choosing or the like.After choosing the Web media file, the user also can select storing path in several ways.For example: the user can by select context menu, shortcut, quick botton, a kind of in pulling or determine storing path more than a kind of mode of combination in any.
After selected Web medium and definite storing path, Web media management module 102 sends to Web medium preservation module 103 to Web medium and the storing path selected by the user that receive.
The Web medium are preserved module 103 and are used for preserving the Web medium that the user selects according to storing path.Particularly, when the Web of correspondence medium had downloaded to this locality in Web web displaying process, the Web medium were preserved the directly temporary file from local search to these Web medium of module 103, and it is deposited in addition by the storing path that the user selects; When the Web of correspondence medium did not download to this locality, 103 trials of Web medium preservation module were downloaded these Web medium by the link of these Web medium and are preserved by the storing path that the user selects.
Based on Fig. 1, Fig. 2 is the system construction drawing of Web medium of the management Web webpage of one embodiment of the invention.Wherein classification and ordination search submodule 201 and display sub-module 202 are corresponding to the Web media management module 102 among Fig. 1.Classification and ordination search submodule 201 is used to realize that the Web medium to Web web page analysis module 101 obtains classify, sort and search for; Display sub-module 202 is used for the result of Web media categories, ordering and search is shown.Demonstrate through behind the Web medium after classification, ordering and the search, the user can therefrom select one or more Web medium of preserving wanted, a kind of mode by context menu, shortcut, quick botton, in pulling is set the storing path of preserving the Web medium of choosing again.At this moment, the Web medium are preserved module 104 and can be carried out the preservation operation based on the selection of explicit user.
Based on the demand of reality, different bookkeepings can be arranged.In the present embodiment, Web media management module 102 comprises classification and ordination search submodule 201 and display sub-module 202.But as known in those skilled in the art: Web media management module 102 can also comprise that other has the submodule of management function, to realize other management function to the Web medium.
Fig. 3 is the schematic flow sheet of the Web medium of management Web webpage of the present invention.As shown in Figure 3, may further comprise the steps:
Step 301: obtain the Web medium in the Web webpage, the Web medium that obtain are outputed to the Web media list, and this Web media list is set up index;
Here, SDK that provides by Web browser or the mode of directly analyzing Web form SGML, all elements in the traversal Web webpage obtains carrying in the Web webpage and the interior perhaps link of all medium of expressing.Wherein, the Web medium have text, picture, audio frequency, video, Flash animation, hyperlink and alternative document.General, the Web medium of content of text are acquired with the form of content of text, and the Web medium of other types are acquired with the form of link.After having obtained the Web medium, the Web medium that obtain are outputed to the Web media list, and can set up index to this Web media list according to any way of the prior art.
Step 302: the Web medium in the Web media list are arranged according to index, shown Web medium, receive the user and in the Web medium that demonstrate, select the Web medium, receive the storing path that is used to preserve the Web media file of choosing through arranging;
Can carry out various arrangement operations here to the Web medium that from the Web webpage, get access to.Preferred arrangement operation has classification, search, ordering and demonstration etc.
Sort operation is that the Web medium are classified.Preferably, can classify to the Web medium according to type, name, size, time etc.
Sorting operation is that the Web medium are arranged according to a definite sequence.Preferably, can sort, press the ordering of Web medium name by the Web medium type, sort, according to time sequence and by above-mentioned sortord make up ordering by the Web size of media.
Search operation is to arrive and the corresponding Web medium of key word according to the input keyword search.Preferably, can be by the keyword search of Web medium type, by the keyword search of Web medium name, specify the magnitude range search, carry out combinatorial search by the Web medium by Web medium fixed time range searching and by above-mentioned way of search.
Display operation is for to show the Web medium.Preferably, demonstration includes details display mode and thumbnail display mode at least.The details display mode is that the mode of the result of classification, ordering or search by tabulation is shown to the user, wherein shows the details such as type, name, size, time of Web medium.The thumbnail display mode is that the result of classification, ordering or search is shown to the user, wherein the thumbnail mode of setting type according to fixed size Show Picture, the breviary content of Flash animation, key frame of video, and can not can use icon representation with the Web medium that thumbnail is represented for text, audio frequency, hyperlink, alternative document etc.The position that shows can be the window of an independent displaying, also can replace the Web web page windows, is presented at original place of Web browser display web page.
Check the Web media file simultaneously, the user can at random select one or more Web medium under various display modes.Select in the process of Web medium the user, can select the Web medium of multiple medium type.The mode of dragging by context menu, shortcut, quick botton or holder determines to preserve the preservation address of the Web media file of choosing then, thereby apace local hard drive is downloaded and be saved in to selected Web medium.Wherein at random selecting to be meant can Dan Xuan, the multiselect of full choosing, non-full choosing, and can select dissimilar Web medium.
Step 303: preserve the Web medium that the user selects according to storing path.
After having determined storing path again and having chosen the Web medium, just the Web medium can be saved in storing path preservation position pointed here.Preferably, when the Web of correspondence medium had downloaded to this locality in Web web displaying process, directly the temporary file from local search to these Web medium was deposited by the storing path that the user selects in addition to it; When the Web of correspondence medium did not download to this locality, trial was downloaded these Web medium by the link of these Web medium and is preserved by the storing path that the user selects.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.