CN1315081C - Method of prereading network resources - Google Patents
Method of prereading network resources Download PDFInfo
- Publication number
- CN1315081C CN1315081C CNB031212948A CN03121294A CN1315081C CN 1315081 C CN1315081 C CN 1315081C CN B031212948 A CNB031212948 A CN B031212948A CN 03121294 A CN03121294 A CN 03121294A CN 1315081 C CN1315081 C CN 1315081C
- Authority
- CN
- China
- Prior art keywords
- file
- preview
- server
- local
- treatment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention provides a method of previewing network resources, which is characterized in that the method comprises the following steps: a. network connection is established respectively for local users with a network file server and a web page transmitting server, and the path of files to be previewed is obtained from a resource management interface in the web page transmitting servers; b. local users preview the files to be previewed through a previewing control member. The application of the present invention can make users obtain the path of files to be previewed from the resource management interface and preview or play local files and files on an FTP server through the previewing control member, and simultaneously, the present invention can edit the previewed files and has file complete file types supported by the system.
Description
Technical field
The present invention relates to field of computer technology, be meant a kind of method of preview Internet resources especially.
Background technology
The explorer of windows system or web browser itself only supported the preview and the broadcast of local resource, and can preview kind of document limited, and in preview file, can not edit the file of institute's preview, make the user produce inconvenience in the use.And when utilizing the explorer of windows system or the file on the web browser preview NetWare file server (ftp server), the user can only see an icon, can't carry out preview to the particular content of file, make the user be inconvenient to understand the particular content of file.
Summary of the invention
In view of this, the invention provides the method for a kind of preview Internet resources system.Make the user both can browse or play local file, can browse or play the file on the ftp server again, and the file type that this system supports is complete, simultaneously, can also edit the file of institute's preview.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of method of preview Internet resources is characterized in that, this method may further comprise the steps:
A, local user and NetWare file server, webpage transmission server and the database server that stores the file attribute information on the NetWare file server are set up network respectively and are connected;
B, obtain file attribute on the NetWare file server from described database server, the resource management interface from the webpage transmission server obtains the path for the treatment of preview file in the NetWare file server;
C, local user select the preview file for the treatment of on the described NetWare file server according to the described attribute information for the treatment of preview file, by the preview control the selected preview file for the treatment of are carried out preview.
Preferably, the local user links to each other with a database server by network, the file attribute information on this database server stores NetWare file server.
Preferably, the local user determines whether the preview file for the treatment of on the preview NetWare file server according to the file attribute information on the database server.
Preferably, described preview control is to select uncoded the preview file route method to be set according to user's requirement, or the preview file route method that is provided with of having encoded determines that the preview control searches the mode for the treatment of preview file.
Preferably, described uncoded be provided with preview file route method or being provided with in the preview file route method of having encoded comprise at least and treat that preview file path and resource file deposit two parameters of type.
Preferably, described step c further comprises:
C1, judge and to treat that preview file is network file or local file, if network file execution in step c2 then, otherwise execution in step c3;
C2, download this and treat preview file;
C3, judge the type that this treats preview file, if the robotization document class, then during preview first page of display document, double-click the icon that this treats preview file, use shell (Shell) order to embed archive server, preview in full or directly the document is edited;
If film class file, then show the first frame sectional drawing of film during preview, double-click the icon that this treats preview file, the embedding media player begins to play this document, and in this preview control behind the embedding media player, still with regard to the time-out of support media player, play basic function;
If the music class file, then directly begin to play during preview, and support to suspend, play basic function;
If the picture category file, then Show Picture during preview, and adjust the size of picture according to the size of the preview window, make it to adapt to fully window;
If directly activate class file, then during preview in the direct Embedded Operating System associated software check;
If other type file, then only show its icon during preview, double-click the icon that this treats preview file, use the software for editing that is associated with the type file in shell (Shell) the order Embedded Operating System to edit.
Preferably, the described preview control of step c1 is judged according to the resource file type parameter and is treated that preview file is network file or local file.
Preferably, described resource management interface is the activity service page, and this page is inherited local user's attribute information.
Preferably, described preview control obtains by the resource management interface in the webpage transmission server.
Use the present invention, the user can obtain the path for the treatment of preview file from the resource management interface, both can preview or play local file by preview control user, again can preview or play file on the ftp server, simultaneously, can also edit the file of institute's preview, and the file type that this system supports is complete.The user is easy to operate.
Description of drawings
Fig. 1 is for using the data flow synoptic diagram of local user's preview Internet resources of the present invention;
Fig. 2 is for using the treatment scheme of preview control of the present invention.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is described in further details.
Whole thinking of the present invention is: local user's computing machine is set up network by network respectively with webpage transmission server (http server), ftp server and database server and is connected.The local user obtains ASP (Active Server Page) interface by http server, by this interface, the user can directly be directly downloaded to local computer with the file of being stored on the ftp server, and the particular content of preview selected file, or the user browses the attribute information of selected file on database server, to determine whether the particular content of preview selected file, the file with the storage on the ftp server downloads to local computer and preview again.
Figure 1 shows that the data flow synoptic diagram of using local user's preview Internet resources of the present invention.Local user's computing machine is set up network by WinInet (Windows Internet) and correlation technique respectively with http server, ftp server and database server and is connected, and by http server acquisition resource management interface, be the ASP interface, contain the routing information of stored file on the ftp server in this interface.The preview control (ActiveX control) that the user is provided by the ASP interface, can directly download and the preview ftp server on the particular content of stored file, perhaps the user can browse the attribute information of selected file earlier on database server, as file size or file type etc., to determine whether the particular content of preview selected file, the file with the storage on the ftp server downloads to local computer and carries out preview again.Wherein, during file that local user's computing machine is stored, can use preview control preview downloaded files from the ftp server simultaneously on downloading ftp server, promptly local computer can be downloaded the asynchronous operation with preview.
The environment attribute of local user's computing machine can be inherited in the ASP interface, as font, background colour etc., has guaranteed the consistance at the interface that the interface of institute's preview and local user are set.
During file that the preview control is searched on the ftp server to be stored, can adopt the uncoded method in preview file path (SetPreviewFilePath) or the method that preview file path (SetPreviewFilePathEx) is set of having encoded of being provided with according to user's requirement.Wherein, contain in the SetPreviewFilePath method and remain preview file path and resource file and deposit two parameters of type, contain encoded treat preview file path and resource file in the SetPreviewFilePathEx method and deposit two parameters of type.When treating preview file in this locality, it treats that the preview file path is physical pathway or encoded physical pathway, and when treating that preview file is on the webserver, it treats that the preview file path is URL (Unique Resource Location) or encoded URL.What resource file was deposited type specification is the location mode of file,
For example, when the user chooses a certain file and require to adopt the SetPreviewFilePathEx method to carry out the file preview, then encoded treat preview file path and resource file are deposited type and will be sent the preview control to as two parameters, the preview control is deposited type parameter according to the resource file among the SetPreviewFilePathEx and is judged this user-selected preview file for the treatment of and deposit in the local computer still in the NetWare file server, deposit in the network service wherein if treat preview file, then the preview control obtains treating the network path of preview file according to the URL among the SetPreviewFilePathEx, and this is treated can carry out preview after preview file downloads to local computer.Use the SetPreviewFilePath method, similar with the SetPreviewFilePathEx method.
Figure 2 shows that the treatment scheme of using preview control of the present invention.
Step 201, the file attribute information on the browsing database server judges whether the preview selected file, if then execution in step 202, otherwise finishes;
Step 202 judges that whether the file treat preview is the resource on the ftp server, if then execution in step 203, otherwise execution in step 204;
Step 203 is downloaded the file for the treatment of preview on the ftp server;
Step 204 is judged the type for the treatment of preview file, if the robotization document class, as doc, ppt, xls, rtf etc., then execution in step 205a, if the movie file class, as avi, dat, mpg, mpeg, mpe, asf, wmv etc., execution in step 205b then is if the music file class, as mp3, wav, midi, mp4 etc., execution in step 205c then is if picture category, as jpg, gif, jpeg etc., execution in step 205d then is if directly activate class file, as swf etc., execution in step 205e then is if other type file, then execution in step 205f;
Step 205a, during preview first of display document page, preview is execution in step 206 then in full;
Step 205b, the first frame sectional drawing of demonstration film during preview, preview full text is execution in step 207 then;
Step 205c directly begins during preview to play, and supports basic functions such as time-out, broadcast.
Step 205d Shows Picture during preview, and adjusts the size of picture according to the size of the preview window, makes it to adapt to fully window;
Step 205e, during preview in the direct Embedded Operating System associated software check;
Step 205f only shows its icon during preview, preview full text is execution in step 209 then;
Step 206 is double-clicked the icon that this treats preview file, uses shell (Shell) order to embed archive server, as MS-Word, and Excel, PowerPoint etc., preview is in full or directly the document is edited;
Step 207 is double-clicked the icon that this treats preview file, and the embedding media player begins play to play this document, and in this preview control behind the embedding media player, still with regard to basic functions such as the time-out of support media player, broadcasts;
Step 208 is double-clicked the icon that this treats preview file, uses the software for editing that is associated with this picture/mb-type in shell (Shell) the order Embedded Operating System to edit;
Step 209 is double-clicked the icon that this treats preview file, uses the software for editing that is associated with the type file in shell (Shell) the order Embedded Operating System to edit.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being made, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (7)
1, a kind of method of preview Internet resources is characterized in that, this method may further comprise the steps:
A, local user and NetWare file server, webpage transmission server and the database server that stores the file attribute information on the NetWare file server are set up network respectively and are connected;
B, obtain file attribute on the NetWare file server from described database server, the resource management interface from the webpage transmission server obtains the path for the treatment of preview file in the NetWare file server;
C, local user select the preview file for the treatment of on the described NetWare file server according to the described attribute information for the treatment of preview file, by the preview control the selected preview file for the treatment of are carried out preview.
2, method according to claim 1, it is characterized in that, this method further comprises: described preview control is selected uncoded the preview file route method to be set according to user's requirement, or the preview file route method that is provided with of having encoded determines that the preview control searches the mode for the treatment of preview file.
3, method according to claim 2 is characterized in that, described uncoded be provided with preview file route method or being provided with in the preview file route method of having encoded comprise at least and treat that preview file path and resource file deposit two parameters of type.
4, method according to claim 1 is characterized in that, described step c further comprises:
C1, judge and to treat that preview file is network file or local file, if network file execution in step c2 then, otherwise execution in step c3;
C2, download this and treat preview file;
C3, judge the type that this treats preview file,
If the robotization document class, then during preview first page of display document, double-click the icon that this treats preview file, use shell command to embed archive server, preview is in full or directly the document is edited;
If the film class file, then show the first frame sectional drawing of film during preview, double-click the icon that this treats preview file, the embedding media player begins to play this document, and the time-out of this preview control support media player, plays basic function;
If the music class file, then play-over during preview, and support to suspend, play basic function;
If the picture category file, then Show Picture during preview, and adjust the size of picture according to the size of the preview window, make it to adapt to fully window;
If directly activate class file, then during preview in the direct Embedded Operating System associated software check;
If other type file, then only show its icon during preview, double-click the icon that this treats preview file, use the software for editing that is associated with the type file in the shell command Embedded Operating System to edit.
5, method according to claim 4 is characterized in that, the described preview control of step c1 is judged according to the resource file type parameter and treated that preview file is network file or local file.
6, method according to claim 1 is characterized in that, described resource management interface is the activity service page, and this page is inherited local user's attribute information.
7, method according to claim 1 is characterized in that, described preview control obtains by the resource management interface in the webpage transmission server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB031212948A CN1315081C (en) | 2003-03-31 | 2003-03-31 | Method of prereading network resources |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB031212948A CN1315081C (en) | 2003-03-31 | 2003-03-31 | Method of prereading network resources |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1534508A CN1534508A (en) | 2004-10-06 |
CN1315081C true CN1315081C (en) | 2007-05-09 |
Family
ID=34285651
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB031212948A Expired - Fee Related CN1315081C (en) | 2003-03-31 | 2003-03-31 | Method of prereading network resources |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1315081C (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101783851B (en) * | 2009-01-16 | 2012-09-05 | 夏普株式会社 | Image forming apparatus |
CN102880689A (en) * | 2012-09-18 | 2013-01-16 | 北京金和软件股份有限公司 | Method for exhibiting contents of office files in web application quickly and conveniently |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101360233B (en) * | 2008-09-18 | 2011-09-21 | 中兴通讯股份有限公司 | Method for network digital video preview label generation, playing method and system |
CN102196043B (en) * | 2011-04-29 | 2016-01-27 | 宇龙计算机通信科技(深圳)有限公司 | The method and apparatus of previewing file and server |
CN102739987A (en) * | 2011-05-06 | 2012-10-17 | 新奥特(北京)视频技术有限公司 | Method and system for realizing independent subtitle previewing module |
US20120317486A1 (en) * | 2011-06-07 | 2012-12-13 | Microsoft Corporation | Embedded web viewer for presentation applications |
CN102254023A (en) * | 2011-07-27 | 2011-11-23 | 深圳市五巨科技有限公司 | Method and device for editing webpage |
CN103064861A (en) * | 2011-10-21 | 2013-04-24 | 联想(北京)有限公司 | Method and device for previewing media files and electronic devices |
CN102368785B (en) * | 2011-10-28 | 2013-10-09 | 华为技术有限公司 | Network file uploading method, device and system |
CN103136172B (en) * | 2011-12-05 | 2016-08-24 | 北大方正集团有限公司 | The method and apparatus of output examination question |
CN102819396B (en) * | 2012-07-31 | 2015-02-04 | 北京奇虎科技有限公司 | Method and system for playing multimedia file |
CN103020195A (en) * | 2012-12-03 | 2013-04-03 | 北京奇虎科技有限公司 | File browsing method and device |
CN104092713B (en) * | 2013-05-31 | 2018-06-15 | 腾讯科技(深圳)有限公司 | The download information methods of exhibiting and device of a kind of Internet resources |
CN104954437B (en) * | 2015-05-07 | 2018-06-19 | 李一舟 | A kind of method for pushing and system of situation card |
CN106407341A (en) * | 2016-09-05 | 2017-02-15 | 努比亚技术有限公司 | Page processing method, apparatus and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1256045A (en) * | 1997-01-29 | 2000-06-07 | 伊恩西格马科技有限公司 | Method of transferring media files over communications network |
CN1265208A (en) * | 1997-07-22 | 2000-08-30 | 奥林吉个人通讯服务公司 | Data communications |
CN1272296A (en) * | 1997-07-11 | 2000-11-01 | 艾利森电话股份有限公司 | VP/VC lookup technique |
CN1274120A (en) * | 1999-05-17 | 2000-11-22 | 英业达股份有限公司 | Method for quickly reading out data from network database |
WO2001063919A1 (en) * | 2000-02-23 | 2001-08-30 | Penta Trading Ltd. | Systems and methods for generating and providing previews of electronic files such as web files |
-
2003
- 2003-03-31 CN CNB031212948A patent/CN1315081C/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1256045A (en) * | 1997-01-29 | 2000-06-07 | 伊恩西格马科技有限公司 | Method of transferring media files over communications network |
CN1272296A (en) * | 1997-07-11 | 2000-11-01 | 艾利森电话股份有限公司 | VP/VC lookup technique |
CN1265208A (en) * | 1997-07-22 | 2000-08-30 | 奥林吉个人通讯服务公司 | Data communications |
CN1274120A (en) * | 1999-05-17 | 2000-11-22 | 英业达股份有限公司 | Method for quickly reading out data from network database |
WO2001063919A1 (en) * | 2000-02-23 | 2001-08-30 | Penta Trading Ltd. | Systems and methods for generating and providing previews of electronic files such as web files |
US20030014415A1 (en) * | 2000-02-23 | 2003-01-16 | Yuval Weiss | Systems and methods for generating and providing previews of electronic files such as web files |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101783851B (en) * | 2009-01-16 | 2012-09-05 | 夏普株式会社 | Image forming apparatus |
CN102880689A (en) * | 2012-09-18 | 2013-01-16 | 北京金和软件股份有限公司 | Method for exhibiting contents of office files in web application quickly and conveniently |
CN102880689B (en) * | 2012-09-18 | 2015-02-25 | 北京金和软件股份有限公司 | Method for exhibiting contents of office files in web application quickly and conveniently |
Also Published As
Publication number | Publication date |
---|---|
CN1534508A (en) | 2004-10-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1315081C (en) | Method of prereading network resources | |
Ma et al. | Framework for adaptive content delivery in heterogeneous network environments | |
CN1308876C (en) | Bookmark management system and bookmark management method | |
US7506019B2 (en) | Media player system | |
US8145631B2 (en) | Client management of download sequence of orchestrated content | |
US9716769B2 (en) | System, method and storage medium for managing items within file directory structure | |
US10157170B2 (en) | System and methods for the segmentation of media | |
US8332478B2 (en) | Context sensitive connected content | |
US7330863B2 (en) | Method and systems for hyperlinking files | |
US20090164564A1 (en) | System and methods for mobilizing web content | |
RU2491635C2 (en) | Inserting multimedia file through web-based desktop working application | |
WO2009055692A2 (en) | Multimedia enhanced browser interface | |
CN1434948A (en) | Method and apparatus for processing web documents | |
Raman | Toward 2 W, beyond web 2.0 | |
WO2004097600A2 (en) | Content management for rich media publishing system | |
CN103593434A (en) | Application recommendation method and device and server equipment | |
CN1627298A (en) | Method and structure of describing a user profile to describe user preferences | |
JP5537428B2 (en) | Targeted distribution of search index fragments over wireless communication networks | |
Hua et al. | Design and performance studies of an adaptive scheme for serving dynamic web content in a mobile computing environment | |
JP2004005655A (en) | Downloading method over the internet | |
US20030220914A1 (en) | Method for managing data in a network | |
US20080016184A1 (en) | System and method for information transfer over a network | |
Chi et al. | Automatic proxy-based watermarking for WWW | |
CN1382279A (en) | Network advertisement method and system | |
Wynblatt et al. | Multimedia applications on the internet |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20070509 Termination date: 20210331 |