CN105975601A - Webpage document online preview method - Google Patents
Webpage document online preview method Download PDFInfo
- Publication number
- CN105975601A CN105975601A CN201610308802.8A CN201610308802A CN105975601A CN 105975601 A CN105975601 A CN 105975601A CN 201610308802 A CN201610308802 A CN 201610308802A CN 105975601 A CN105975601 A CN 105975601A
- Authority
- CN
- China
- Prior art keywords
- document
- preview
- module
- webpage
- web
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/951—Indexing; Web crawling techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9577—Optimising the visualization of content, e.g. distillation of HTML documents
Abstract
The invention discloses a webpage document online preview method comprising the following steps: using a browser to visit a target webpage with a document search module and a document preview module, wherein the document search module is automatically started by the visiting; using the document search module to traverse webpage nodes of the target webpage so as to find a document link with a document attachment, and forming a preview button after the document link; clicking the preview button after the document link so as to start the document preview module, wherein the document preview module can transfer the document link or a document attachment download link in the document link to a document conversion server; using the document conversion server to form a preview webpage allowing the browser to directly display according to the document attachment content in the document link, and returning the preview webpage link to the document preview module; using the document preview module to open the preview webpage through the browser, thus further displaying the document attachment content.
Description
[technical field]
The present invention relates to document processing field, the method particularly relating to the online preview of a kind of web document.
[background technology]
All can be with relevant Office (office) literary composition during the information such as many website orientation notice, bulletin, notices
Shelves adnexa, such as, suffix is the word or file of .docx, and suffix is the form document of .xlsx, and suffix is .pptx
Presentation file.Generally, can only first download this type of document attachment, be beaten by local Office software
Open and consult.But, so in-convenience in use, and if local (such as intelligent movable mobile phone, panel computer
Or PC) be fitted without corresponding office software if, will be unable to check.
Therefore, it is necessary to propose a solution to solve the problems referred to above.
[summary of the invention]
The technical problem to be solved in the present invention is the method providing the online preview of a kind of web document, and it is not required to
Will locally-installed office software just can document attachment in preview webpage, convenient for users.
In order to solve the problems referred to above, according to an aspect of the present invention, the invention provides a kind of web document
The method of online preview, comprising: have document searching module and document preview module by browser access
Target web, described document searching module is automatically started due to described access;Described document searching mould
Block travels through the web page joint of described target web upon actuation to find the document links with document attachment, and
Preview button is generated after described document links;Institute is started after preview button after described document links is clicked
State document preview module, by described document links or described document links after the startup of described document preview module
Document attachment download link be sent to document conversion server;Described document conversion server is based on described literary composition
Document attachment in shelves link is formed can be by the preview webpage of browser direct display, and by this preview webpage
Link feed back to described document preview module, the display content of wherein said preview webpage is that described document is attached
The content of part;Described document preview module opens described preview webpage, and then display institute by described browser
State the content of document attachment.
Further, described document searching module is positioned at bottom the webpage of described target web, in order to described literary composition
Shelves search module can travel through each web page joint of the described target web having already turned on after being activated.
Further, described document attachment includes word processing file, presentation file, PDF document, form
Process one or more in document.
Further, described document searching module is true by the network address suffix of the web page joint of described target web
Whether this web page joint fixed is with document attachment.
Further, described document conversion server is able to access that described document links is to obtain described document chain
Document attachment in connecing.
Further, described target web be with the addition of document searching module and document preview module in advance.
Further, described target web have subscribed the preview service of described document conversion server in advance.
Further, the display content of described preview webpage is display after described document attachment is normally opened
Content.
Compared with prior art, the present invention with the addition of document searching module and document preview mould in target web
Block, so when accessing target web, attached to the document in document links by described document conversion server
The conversion of part can realize the online preview of webpage of the document adnexa.
About other objects of the present invention, feature and advantage, below in conjunction with accompanying drawing in detailed description of the invention
Middle detailed description.
[accompanying drawing explanation]
In conjunction with reference to accompanying drawing and ensuing detailed description, the present invention will be better understood, the most same is attached
The corresponding same structure member of figure labelling, wherein:
Fig. 1 is the method schematic flow sheet in one embodiment of the online preview of the web document in the present invention;
Fig. 2 is the display example of a generic web page;
Fig. 3 is the display example after the webpage in Fig. 2 adds document searching module and document preview module;
Fig. 4 is the example of the online preview of first document attachment in the webpage in Fig. 3.
[detailed description of the invention]
Understandable for enabling the above-mentioned purpose of the present invention, feature and advantage to become apparent from, below in conjunction with the accompanying drawings and
The present invention is further detailed explanation for detailed description of the invention.
" embodiment " or " embodiment " referred to herein refers to the special characteristic relevant to described embodiment, knot
Structure or characteristic at least may be included at least one implementation of the present invention.Different in this manual places go out
Existing " in one embodiment " the most all refers to same embodiment, is the most necessarily mutual with other embodiments
Independent or the selection embodiment repelled mutually." multiple ", " some " in the present invention represent two or more.
"and/or" in the present invention represent " with " or "or".
The present invention proposes the method for the online preview of a kind of web document, its can local (such as smart mobile phone,
Panel computer, PC) office software is not installed in the case of, by browser online preview webpage
Document attachment, convenient for users.It addition, also without loading plug-in unit on a web browser, use energy
The browser enough opening generic web page can realize the document attachment in online preview webpage, and described document
Adnexa can be various types of document.
Fig. 1 is that method 100 flow process in one embodiment of the online preview of the web document in the present invention is shown
It is intended to.As shown in Figure 1, the method 100 of the online preview of described web document comprises the steps.
Step 110, has document searching module and the target web of document preview module by browser access,
Described document searching module is automatically started due to described access.
Described browser can be the browser that can open generic web page, it is not necessary to online in order to realize webpage
Preview and extra plug-in unit is installed.Described browser can be the IE browser of Microsoft, it is also possible to be Google
Chrome browser.
Described document searching module and described document preview module need to be added in advance in described target web,
And be positioned at bottom the webpage of described target web.In one embodiment, described document searching module and described
Document preview module is JS code, and this part JS code can be added into described target by maintenance of netpage personnel
Bottom the webpage of webpage.
Step 120, described document searching module travels through the web page joint of described target web upon actuation to find
With the document links of document attachment, and after described document links, generate preview button.
Owing to described document searching module and described document preview module are positioned at the bottom of the webpage of described target web
Portion, after described document searching module is activated, can travel through the institute of the described target web being loaded
There is web page joint, so can avoid omitting network node.
In one embodiment, the described document searching module network address by the web page joint of described target web
Suffix determines that whether this web page joint is with document attachment.For example, if the network address of a web page joint
Suffix includes docx, then it is believed that this web page joint is with word processing file adnexa, if a webpage
The network address suffix of node includes pptx, then it is believed that this web page joint is with presentation file adnexa, if one
The network address suffix of individual web page joint includes xlsx, then it is assumed that this web page joint is with Form Handle document attachment, false
Network address suffix such as a web page joint includes PDF, then it is assumed that this web page joint is with PDF document adnexa.
Described document attachment includes word processing file, presentation file, PDF document, Form Handle document,
Or the document of other various forms.
Fig. 2 is the display example of a generic web page.Fig. 3 is that the webpage in Fig. 2 adds described document searching
Display example after module and described document preview module.In webpage in fig. 2, there are three document links.
In Fig. 3, owing to webpage in fig. 2 adds described document searching module and described document preview module, because of
This described document searching module can be automatically found these three document links, and dynamic after described document links
State generates preview button (icon of a magnifier).
In actual application, it is only necessary to maintenance of netpage personnel add one section of predetermined JS code bottom original webpage
, simple to operate.
Step 130, the preview button described document preview module of clicked rear startup after described document links,
Document attachment in described document links or described document links is downloaded chain after starting by described document preview module
Connect and be sent to document conversion server.
When described document links is sent to document conversion server DCS by described document preview module, described
Document conversion server DCS is able to access that described document links is attached to obtain the document in described document links
Part.Described document conversion server can carry out the service of document conversion, and the web preview service of document,
It can be formed at gauze page based on document, thus realizes the network preview of document.
In order to realize the online preview of web document, described target web needs to subscribe to described document conversion clothes in advance
The web preview service of business device.
Step 140, described document conversion server is formed based on the document attachment in described document links can be by
The preview webpage of browser direct display, and the link of this preview webpage is fed back to described document preview module.
The content that display content is described document attachment of wherein said preview webpage.It is to be understood that it is described pre-
After the display format of display content of webpage look at normally can be opened by corresponding software with described document attachment
Display format is different, it is also possible to identical.The content of described document attachment can in described preview webpage all
Display, it is also possible to simply show a part.
Step 150, described document preview module opens described preview webpage, and then display by described browser
The content of described document attachment.
Fig. 4 be the preview button of first document attachment in the webpage in Fig. 3 clicked after online preview
Example.Such that be not install software, local electronic equipment, such as smart mobile phone, Ge Ren electricity
Brain etc., it is also possible to realize the online of document attachment in target web by described document conversion server DCS
Preview, eliminates the unsafe hidden danger of document, configuration application simply, user-friendly, simple to operate,
The significance of the handy service for the people is also had in government website application.
Described above the most fully discloses the detailed description of the invention of the present invention.It is pointed out that and be familiar with being somebody's turn to do
Any change that the detailed description of the invention of the present invention is done by the technical staff in field is all without departing from the power of the present invention
The scope of profit claim.Correspondingly, the scope of the claim of the present invention is also not limited only to aforementioned tool
Body embodiment.
Claims (8)
1. the method for the online preview of web document, it is characterised in that comprising:
By browser access, there is document searching module and the target web of document preview module, described document
Search module is automatically started due to described access;
Described document searching module travels through the web page joint of described target web upon actuation to find with document
The document links of adnexa, and after described document links, generate preview button;
The preview button described document preview module of clicked rear startup after described document links, described document is pre-
Document attachment download link in described document links or described document links is sent to literary composition after starting by module of looking at
Shelves change server;
Described document conversion server is formed based on the document attachment in described document links can be straight by browser
Connect the preview webpage of display, and the link of this preview webpage is fed back to described document preview module, Qi Zhongsuo
State the content that display content is described document attachment of preview webpage;
Described document preview module opens described preview webpage by described browser, and then shows described document
The content of adnexa.
The method of the online preview of web document the most according to claim 1, it is characterised in that described literary composition
Shelves search module be positioned at bottom the webpage of described target web, in order to described document searching module be activated after energy
Enough travel through each web page joint of the described target web having already turned on.
The method of the online preview of web document the most according to claim 1, it is characterised in that described literary composition
Shelves adnexa includes the one or many in word processing file, presentation file, PDF document, Form Handle document
Kind.
The method of the online preview of web document the most according to claim 1, it is characterised in that described literary composition
Shelves search module by the network address suffix of the web page joint of described target web determine this web page joint whether with
Document attachment.
The method of the online preview of web document the most according to claim 1, it is characterised in that described literary composition
Shelves change server is able to access that described document links is to obtain the document attachment in described document links.
The method of the online preview of web document the most according to claim 1, it is characterised in that described mesh
Mark webpage be with the addition of document searching module and document preview module in advance.
The method of the online preview of web document the most according to claim 1, it is characterised in that described mesh
Mark webpage have subscribed the preview service of described document conversion server in advance.
The method of the online preview of web document the most according to claim 1, it is characterised in that described pre-
The display content of webpage of looking at is described document attachment by the content of display after normally opening.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610308802.8A CN105975601A (en) | 2016-05-11 | 2016-05-11 | Webpage document online preview method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610308802.8A CN105975601A (en) | 2016-05-11 | 2016-05-11 | Webpage document online preview method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105975601A true CN105975601A (en) | 2016-09-28 |
Family
ID=56992375
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610308802.8A Pending CN105975601A (en) | 2016-05-11 | 2016-05-11 | Webpage document online preview method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105975601A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108090078A (en) * | 2016-11-22 | 2018-05-29 | 北京京东尚科信息技术有限公司 | The online method for previewing of document and device |
CN109582833A (en) * | 2018-11-06 | 2019-04-05 | 阿里巴巴集团控股有限公司 | Abnormal Method for text detection and device |
CN113128185A (en) * | 2021-04-16 | 2021-07-16 | 北京字跳网络技术有限公司 | Interaction method and device and electronic equipment |
CN113204525A (en) * | 2021-07-06 | 2021-08-03 | 深圳市知酷信息技术有限公司 | Document preview management system based on distributed storage system |
CN113420530A (en) * | 2021-06-30 | 2021-09-21 | 北京优奥创思科技发展有限公司 | File online preview method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7263561B1 (en) * | 2001-08-24 | 2007-08-28 | Mcafee, Inc. | Systems and methods for making electronic files that have been converted to a safe format available for viewing by an intended recipient |
CN102651744A (en) * | 2012-05-04 | 2012-08-29 | 华为技术有限公司 | E-mail security management method and E-mail server |
CN103020156A (en) * | 2012-11-23 | 2013-04-03 | 北京小米科技有限责任公司 | Processing method, device and equipment for webpage |
CN103516592A (en) * | 2013-09-03 | 2014-01-15 | 盈世信息科技(北京)有限公司 | Mail attachment automatic previewing method and system based on IMAP protocol |
CN105550339A (en) * | 2015-12-23 | 2016-05-04 | 智慧方舟科技有限公司 | Document online previewing method, apparatus and system |
-
2016
- 2016-05-11 CN CN201610308802.8A patent/CN105975601A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7263561B1 (en) * | 2001-08-24 | 2007-08-28 | Mcafee, Inc. | Systems and methods for making electronic files that have been converted to a safe format available for viewing by an intended recipient |
CN102651744A (en) * | 2012-05-04 | 2012-08-29 | 华为技术有限公司 | E-mail security management method and E-mail server |
CN103020156A (en) * | 2012-11-23 | 2013-04-03 | 北京小米科技有限责任公司 | Processing method, device and equipment for webpage |
CN103516592A (en) * | 2013-09-03 | 2014-01-15 | 盈世信息科技(北京)有限公司 | Mail attachment automatic previewing method and system based on IMAP protocol |
CN105550339A (en) * | 2015-12-23 | 2016-05-04 | 智慧方舟科技有限公司 | Document online previewing method, apparatus and system |
Non-Patent Citations (1)
Title |
---|
张静: "一种企业移动信息服务平台中间件的研究设计", 《中国优秀硕士学位论文全文数据库》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108090078A (en) * | 2016-11-22 | 2018-05-29 | 北京京东尚科信息技术有限公司 | The online method for previewing of document and device |
CN108090078B (en) * | 2016-11-22 | 2021-11-30 | 北京京东尚科信息技术有限公司 | Document online preview method and device, storage medium and electronic equipment |
US11256773B2 (en) | 2016-11-22 | 2022-02-22 | Beijing Jingdong Shangke Information Technology Co., Ltd. | Document online preview method and device |
CN109582833A (en) * | 2018-11-06 | 2019-04-05 | 阿里巴巴集团控股有限公司 | Abnormal Method for text detection and device |
CN109582833B (en) * | 2018-11-06 | 2023-09-22 | 创新先进技术有限公司 | Abnormal text detection method and device |
CN113128185A (en) * | 2021-04-16 | 2021-07-16 | 北京字跳网络技术有限公司 | Interaction method and device and electronic equipment |
WO2022218034A1 (en) * | 2021-04-16 | 2022-10-20 | 北京字跳网络技术有限公司 | Interaction method and apparatus, and electronic device |
CN113420530A (en) * | 2021-06-30 | 2021-09-21 | 北京优奥创思科技发展有限公司 | File online preview method and system |
CN113204525A (en) * | 2021-07-06 | 2021-08-03 | 深圳市知酷信息技术有限公司 | Document preview management system based on distributed storage system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107809492B (en) | Method and system for generating shared information | |
CN105975601A (en) | Webpage document online preview method | |
CN103034517B (en) | Browser controls tool loads method and apparatus | |
CA2687530C (en) | Method and system for transcoding web pages by limiting selection through direction | |
JP2004178268A (en) | Real-time web sharing system | |
CN105787091B (en) | Support the content delivering system and method for multiple terminals | |
Ghiani et al. | Push and pull of web user interfaces in multi-device environments | |
CN101283572A (en) | Application program update deployment to a mobile device | |
EP1997033A2 (en) | Apparatus and method for changing web design | |
CN105867714A (en) | Application downloading method, apparatus and system | |
CN102455892B (en) | Method and device for realizing miniblog message pages | |
CN105205072B (en) | The methods of exhibiting and system of webpage information | |
CN101601036A (en) | Navigation spots on the Web page | |
US20160103568A1 (en) | E-menu service method using web editor and system therefor | |
US20110145717A1 (en) | Web-browsing system | |
CN105589631B (en) | Information displaying method and device | |
CN103294351B (en) | A kind of display packing and electronic equipment | |
CN102253986A (en) | Method and device for improving webpage displaying effect in multiple terminals | |
CN100470546C (en) | Data center server, data service system and data query method | |
CN102663070B (en) | Method and system for supporting browser application | |
CN103019556A (en) | Quick help information display system and quick help information display method | |
CN104572981B (en) | A kind of Webpage method for caching and processing and mobile terminal device | |
JP2006201865A (en) | Equipment management device, equipment management program and recording medium | |
WO2016158303A1 (en) | Information processing system, information processing method, and information processing program | |
CN113609428A (en) | Method, device, equipment and medium for online checking prototype design file based on Git |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination |