CN102314470A - Method for converting document into image - Google Patents
Method for converting document into image Download PDFInfo
- Publication number
- CN102314470A CN102314470A CN2011100599781A CN201110059978A CN102314470A CN 102314470 A CN102314470 A CN 102314470A CN 2011100599781 A CN2011100599781 A CN 2011100599781A CN 201110059978 A CN201110059978 A CN 201110059978A CN 102314470 A CN102314470 A CN 102314470A
- Authority
- CN
- China
- Prior art keywords
- document
- program
- picture
- party
- server
- 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
Images
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/957—Browsing optimisation, e.g. caching or content distillation
Abstract
The invention provides a method for converting a document into an image, belonging to the technical field of networks. In a technical scheme adopted in the invention, the method for converting a document into an image online comprises the steps of: opening a webpage; uploading an office document to a server; after the document is uploaded, calling a third-party program on the server by a server side to convert the document into an image file and storing the image file in a catalog possible to access by the server; and accessing the image via the URL (Uniform Resource Locator) address of the image file through the webpage and displaying the image on the webpage. According to the method, a user can directly read an office document on the webpage without installation of any office document reading software, so that a user is greatly facilitated on reading the office document.
Description
Technical field
The invention belongs to networking technology area, specifically belong to the method that a kind of document converts picture into.
Background technology
In the process of using computer, we almost come into contacts with different documents every day, such as checking Word, PPT, Excel, PDF, CHM, documents such as TXT.For computer user, the essential condition of checking different document is that the corresponding client software of the document must be installed on terminal computer at present.Therefore, this just requires the user on the computer of oneself, to install large quantities of and the sizable relative program of capacity, has just reached 791MB like Office2010, has occupied a large amount of capacity of local computing.And, when calling the software reading documents of local computing desktop, to face network security problem inevitably, like local computing virus is arranged, so, can not ensure the safety of these documents.
Now, network hard disc and E-mail address are very in vogue.But the network user need be downloaded to local computing to the file in network hard disc or the E-mail address at every turn, could read after the use client software is opened, and is very not convenient and dangerous.For the user, a lot of processes is preview these documents once in fact.Yet these preview processes are very loaded down with trivial details.In addition, owing to reason such as going on business, the network user need reinstall software again in case of changing the situation of computer, very inconvenience.If can the online reading document, with the user experience that greatly promotes network hard disc and E-mail address with strengthen internet security.
In addition, the existing network teleconference, every of attending a meeting computer all must be installed corresponding client document ocr software, otherwise the document demo function of Web conference just can not realize that the deficiency of this respect has seriously hindered the popularization on a large scale of the network teleconference.
So people have just had and need not to download and install any software,, at present, also there is not concrete implementation once opening the tight demand that webpage can realize that document is read.
Summary of the invention
The invention provides the method that a kind of document converts picture into, realized need not to download any software, can realize the document reading.
Core concept of the present invention is:
With the document format on the webpage be directly changed into can preview on webpage picture format, supply the user to browse.
In order to solve the problems of the technologies described above, the present invention adopts following technical scheme:
A kind of realization onlinely converts document the method for picture into, may further comprise the steps:
1) browser client accessed web page is uploaded the office document to server;
2) after document was uploaded completion, server end called third party's program, and the path of document is passed to third party's program with the form of parameter;
3) third party's program is moved on server, and the document path in getting parms converts the office document into picture, and picture is named according to the page number in the document in proper order, the total number of picture that the output of third party's program generates;
4) server end is caught the output string of third party's program, and according to the numerical value of character string, circulation is exported all pictures to browser.
Step 2 wherein) comprise following process:
After 2a) document was uploaded completion, server end was saved in a variable with the document path;
2b) server end is formed a character string with the path and the document path of third party's program;
2c) server end call function exec () also moves third party's program with this character string as the mode of parameter operation.
Wherein, step 2) the third party's program described in is meant the order line program, is the program that in order line, can carry out through loading routine name and parameter.
Wherein, step 3) comprises following process:
3a) parameter in the order line is obtained in third party's program run;
3b) from parameter, obtain the document path;
3c) open corresponding document, and convert document into picture according to the document path;
The picture that 3d) generates is named according to the page number in the document in proper order;
3e) total number of output picture.
Wherein, step 4) comprises following process:
4a) server end is caught total number of third party's program output;
4b) number of times of the total number of circulation outputs to browser with picture one by one.
The present invention compared with prior art has the following advantages:
(1) online office document is read, and has satisfied the user demand that huge office software just can be checked document all the elements needn't be installed.
(2) the online combination that document is converted into technical method and the webpage version video conference (especially white boarding) of picture is very easy to, and has greatly strengthened the user experience of the network teleconference, has promoted the commercial value of webpage version video conference.
(3) online office document is read the network security that has guaranteed document to greatest extent.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the detail flowchart of the embodiment of the invention 1;
Fig. 2 is the detail flowchart of the embodiment of the invention 2.
Embodiment
Below will and combine embodiment to specify the present invention with reference to accompanying drawing.Need to prove that under the situation of not conflicting, embodiment and the characteristic among the embodiment among the application can make up each other.
A kind of realization onlinely converts document the method for picture into, may further comprise the steps:
1) browser client accessed web page is uploaded the office document to server;
2) after document was uploaded completion, server end called third party's program, and the path of document is passed to third party's program with the form of parameter;
3) third party's program is moved on server, and the document path in getting parms converts the office document into picture, and picture is named according to the page number in the document in proper order, the total number of picture that the output of third party's program generates;
4) server end is caught the output string of third party's program, and according to the numerical value of character string, circulation is exported all pictures to browser.
Following further explain method of the present invention:
Referring to Figure of description Fig. 1, Fig. 2; Browser client is opened webpage; Browser client is uploaded the office document to server, and the server background program is called corresponding application and converted document into picture file according to the suffix name of office document; And the path of returning the picture file after the conversion gives browser, and browser Shows Picture according to the path of picture file.
Fig. 1 is the detail flowchart of the embodiment of the invention 1, and detailed step is following:
Step 101: beginning;
Step 102: the user opens webpage;
Step 103: the user uploads the office document to server;
Step 104: the server background program is called corresponding application and is converted document into picture file according to the suffix name of office document, and returns the path of the picture file after the conversion;
Step 105: browser Shows Picture according to the path of picture file;
Step 106: finish.
Fig. 2 is the detail flowchart of the embodiment of the invention 2, and detailed step is following:
Step 201: beginning;
Step 202: the user opens webpage;
Step 203: the user uploads the office document to server;
Step 204: the server background program is called corresponding application and is converted document into picture file according to the suffix name of office document;
Step 205: application program is returned the path of the picture after the conversion, and background program is caught the rreturn value after application program is carried out;
Step 206: background program outputs to browser display with the picture in the picture tabulation;
Step 207: finish.
Obviously, it is apparent to those skilled in the art that above-mentioned each step of the present invention can realize with the general calculation device; They can concentrate on the single calculation element, perhaps are distributed on the network that a plurality of calculation element forms, alternatively; They can realize with the executable program code of calculation element, thereby, can they be stored in the memory storage and carry out by calculation element; And in some cases; Can carry out step shown or that describe with the order that is different from here, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. a document converts the method for picture into, may further comprise the steps:
1) browser client accessed web page is uploaded the office document to server;
2) after document was uploaded completion, server end called third party's program, and the path of document is passed to third party's program with the form of parameter;
3) third party's program is moved on server, and the document path in getting parms converts the office document into picture, and picture is named according to the page number in the document in proper order, the total number of picture that the output of third party's program generates;
4) server end is caught the output string of third party's program, and according to the numerical value of character string, circulation is exported all pictures to browser.
2. the method for claim 1 is characterized in that: step 2 wherein) comprise following process: after 2a) document was uploaded completion, server end was saved in a variable with the document path; 2b) server end is formed a character string with the path and the document path of third party's program; 2c) server end call function exec () also moves third party's program with this character string as the mode of parameter operation.
3. the method for claim 1 is characterized in that: step 2 wherein) described in third party's program be meant: the order line program.
4. the method for claim 1, it is characterized in that: wherein step 3) comprises following process: 3a) parameter in the order line is obtained in third party's program run; 3b) from parameter, obtain the document path; 3c) open corresponding document, and convert document into picture according to the document path; The picture that 3d) generates is named according to the page number in the document in proper order; 3e) total number of output picture.
5. the method for claim 1, it is characterized in that: wherein step 4) comprises following process: 4a) server end is caught total number of third party's program output; 4b) number of times of the total number of circulation outputs to browser with picture one by one.
6. the method for claim 1, it is characterized in that: the user uploads the office document to server, and server program converts document into picture, returns the picture path and gives browser, and browser demonstrates picture through the picture path.
7. a document converts the method for picture into, and it is characterized in that: the user uploads onto the server document through webpage; Said server end calls third party's program, and the path of said document is passed to said third party's program with the form of parameter; The said third party's program of said server calls converts said document into picture and circulation output.
8. method according to claim 7 is characterized in that: the user uploads onto the server the office document through webpage.
9. method according to claim 8; It is characterized in that: the said third party's program of said server calls; Said document is converted into the process of picture and circulation output: said third party's program is moved on said server, and the said document path in getting parms converts said office document into picture; Said picture is named according to the page number in the said document in proper order, the total number of picture that said third party's program output generates.
10. method according to claim 9 is characterized in that: said server end obtains the output string of said third party's program, and according to the numerical value of character string, circulation is exported all pictures to browser.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100599781A CN102314470A (en) | 2010-07-02 | 2011-03-14 | Method for converting document into image |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010223675A CN101872364A (en) | 2010-07-02 | 2010-07-02 | Method for converting document into picture on line |
CN201010223675.4 | 2010-07-02 | ||
CN2011100599781A CN102314470A (en) | 2010-07-02 | 2011-03-14 | Method for converting document into image |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102314470A true CN102314470A (en) | 2012-01-11 |
Family
ID=42997227
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010223675A Pending CN101872364A (en) | 2010-07-02 | 2010-07-02 | Method for converting document into picture on line |
CN2011100599781A Pending CN102314470A (en) | 2010-07-02 | 2011-03-14 | Method for converting document into image |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010223675A Pending CN101872364A (en) | 2010-07-02 | 2010-07-02 | Method for converting document into picture on line |
Country Status (2)
Country | Link |
---|---|
CN (2) | CN101872364A (en) |
WO (1) | WO2012000215A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102880689A (en) * | 2012-09-18 | 2013-01-16 | 北京金和软件股份有限公司 | Method for exhibiting contents of office files in web application quickly and conveniently |
CN104809167A (en) * | 2015-04-03 | 2015-07-29 | 深圳市金立通信设备有限公司 | Terminal |
CN111225039A (en) * | 2019-12-24 | 2020-06-02 | 中移(杭州)信息技术有限公司 | Display method, electronic device, and computer-readable storage medium |
CN112995279A (en) * | 2018-01-31 | 2021-06-18 | 西安万像电子科技有限公司 | File system and file display method |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102164147A (en) * | 2011-04-27 | 2011-08-24 | 苏州阔地网络科技有限公司 | Method and system for converting document into picture in on-line manner |
CN102364457A (en) * | 2011-11-02 | 2012-02-29 | 苏州阔地网络科技有限公司 | Document transformation method and system |
CN102662985A (en) * | 2012-03-14 | 2012-09-12 | 南京新与力文化传播有限公司 | A method for previewing OFFICE files on a remote server |
CN102662983A (en) * | 2012-03-14 | 2012-09-12 | 南京新与力文化传播有限公司 | A method for previewing PDF files on a remote server |
CN103729338A (en) * | 2013-12-29 | 2014-04-16 | 国云科技股份有限公司 | File on-line previewing method |
CN103714291A (en) * | 2013-12-30 | 2014-04-09 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104933018B (en) * | 2014-03-19 | 2018-01-16 | 北京畅游天下网络技术有限公司 | A kind of document handling method and device |
CN104268226A (en) * | 2014-09-27 | 2015-01-07 | 昆明钢铁集团有限责任公司 | Control and method for copying and uploading Word picture based on browser |
CN110968709B (en) * | 2018-09-30 | 2023-04-07 | 北京国双科技有限公司 | Data transmission method and related system |
CN112698799A (en) * | 2020-12-15 | 2021-04-23 | 江苏捷成睿创科技发展有限公司 | Document on-screen operation method and system |
CN112818635A (en) * | 2021-02-03 | 2021-05-18 | 广州市保伦电子有限公司 | Multi-person synchronous document sharing and browsing method and processing terminal |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020156833A1 (en) * | 2001-04-20 | 2002-10-24 | Palm, Inc. | Content access from a communications network using a handheld computer system and method |
CN101388003A (en) * | 2008-10-07 | 2009-03-18 | 广东威创视讯科技股份有限公司 | High speed file-conversing method |
CN101699426A (en) * | 2009-11-06 | 2010-04-28 | 上海传知信息科技发展有限公司 | Document format conversion system and method |
-
2010
- 2010-07-02 CN CN201010223675A patent/CN101872364A/en active Pending
- 2010-08-20 WO PCT/CN2010/076163 patent/WO2012000215A1/en active Application Filing
-
2011
- 2011-03-14 CN CN2011100599781A patent/CN102314470A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020156833A1 (en) * | 2001-04-20 | 2002-10-24 | Palm, Inc. | Content access from a communications network using a handheld computer system and method |
CN101388003A (en) * | 2008-10-07 | 2009-03-18 | 广东威创视讯科技股份有限公司 | High speed file-conversing method |
CN101699426A (en) * | 2009-11-06 | 2010-04-28 | 上海传知信息科技发展有限公司 | Document format conversion system and method |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
CN104809167A (en) * | 2015-04-03 | 2015-07-29 | 深圳市金立通信设备有限公司 | Terminal |
CN104809167B (en) * | 2015-04-03 | 2019-05-17 | 深圳市金立通信设备有限公司 | A kind of terminal |
CN112995279A (en) * | 2018-01-31 | 2021-06-18 | 西安万像电子科技有限公司 | File system and file display method |
CN111225039A (en) * | 2019-12-24 | 2020-06-02 | 中移(杭州)信息技术有限公司 | Display method, electronic device, and computer-readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2012000215A1 (en) | 2012-01-05 |
CN101872364A (en) | 2010-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102314470A (en) | Method for converting document into image | |
Bakker et al. | Bluetooth end to end | |
CN102457528A (en) | Method for adaptively issuing web content facing to mobile phone terminal and system thereof | |
US10693971B2 (en) | Identifying the best suitable application to open a file shared via a link | |
US20150365497A1 (en) | Providing access to information across multiple computing devices | |
CN102207967B (en) | Method and system for automatically providing new browser plugin | |
CN103198417A (en) | Mobile internet banner and background issuing method and interaction method thereof | |
Tramp et al. | Weaving a distributed, semantic social network for mobile users | |
US20180249280A1 (en) | Method and apparatus for publishing cloud resource | |
CN1913658A (en) | Method for reading message of network station in advertisement using mobile phone | |
US20170331959A1 (en) | Techniques to transform network resource requests to zero rated network requests | |
CN105302802A (en) | Picture uploading method and system and browser | |
US20150242526A1 (en) | System and Method of Embedded Application Tags | |
US11023565B2 (en) | System and protocol for integrating multiple service providers across various domains using a platform | |
CN112214250A (en) | Application program assembly loading method and device | |
CN112650804B (en) | Big data access method, device, system and storage medium | |
CN104396341B (en) | The system and method that contact is supported to remind | |
CN116304403A (en) | Webpage access method and device, computer equipment and storage medium | |
CN115203672A (en) | Information access control method and device, computer equipment and medium | |
CN1614981A (en) | Electronic book and newspapers reading system and method based on mobile terminal | |
CN110020320A (en) | The method and apparatus for caching page pictures | |
CN102164147A (en) | Method and system for converting document into picture in on-line manner | |
CN111291290A (en) | Data processing method and device | |
TWI415434B (en) | Distributed mobile information system and method thereof | |
EP3023891B1 (en) | Techniques to transform network resource requests to zero rated network requests |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120111 |