CN104268211A - Online engineering document to PDF document conversion method - Google Patents

Online engineering document to PDF document conversion method Download PDF

Info

Publication number
CN104268211A
CN104268211A CN201410491911.9A CN201410491911A CN104268211A CN 104268211 A CN104268211 A CN 104268211A CN 201410491911 A CN201410491911 A CN 201410491911A CN 104268211 A CN104268211 A CN 104268211A
Authority
CN
China
Prior art keywords
document
engineering
pdf
web server
engineering document
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
Application number
CN201410491911.9A
Other languages
Chinese (zh)
Inventor
齐本胜
赵盼
张龙
翟潘飞
苗红霞
邓志祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changzhou Campus of Hohai University
Original Assignee
Changzhou Campus of Hohai University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Changzhou Campus of Hohai University filed Critical Changzhou Campus of Hohai University
Priority to CN201410491911.9A priority Critical patent/CN104268211A/en
Publication of CN104268211A publication Critical patent/CN104268211A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/178Techniques for file synchronisation in file systems
    • G06F16/1794Details of file format conversion

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an online engineering document to PDF document conversion method. The online engineering document to PDF document conversion method comprises the following steps: a client uploads an engineering document to be converted to a Web server through the internet and requests the Web server to convert the document; the Web server receives the engineering document and temporarily stores the document in a data base, and meanwhile, receives and analyzes the conversion request of the client, the conversion interface of the engineering document calls a PDF virtual printer to convert the engineering document into a PDF document, temporarily stores the PDF document into the database and then sends the PDF document back to the client through the Internet, a customer downloads the PDF document locally and reads the document, and finally, the Web server releases the storage space in the database after the client downloads the PDF document. The online engineering document to PDF document conversion method enables the WEB server to directly obtain the engineering document converted into the PDF format through the WEB server without installing extract professional engineering document reading software, and therefore, the time of reading the engineering document by the customer is saved and the working efficiency of the customer is remarkably improved.

Description

Engineering document is to the on-line conversion method of PDF document
Technical field
The present invention relates to a kind of text handling method, particularly a kind of engineering document is to the on-line conversion method of PDF document.
Background technology
In the epoch of this network information, the circulation way of traditional Word message is more diversified, the electronic graph-text modern computing machine is waited until from paper book, newspaper, the design drawing having derived the design of the professional software such as AutoCAD and Protel substitutes Freehandhand-drawing design drawing in the past, and has become the major way that current design drawing makes.And the exchange being carried out AutoCAD with Protel data on computers by Internet with share the development advancing its industry greatly.
But when reading these documents, needing specific AutoCAD and Protel professional software or reader, for professional, computing machine being all provided with professional software, being easy to carry out engineering document reading; But for other laymans, need to install professional software can make troubles to user to read engineering document, and this is unpractical, so concerning layman, read engineering document can be very difficult.The appearance of PDF technology then solves this difficult problem, present PDF reader software one of Kinds of Essential Software becoming computer desktop, thus convert engineering document to PDF document, such client just can carry out engineering document reading with local PDF reader easily.
Summary of the invention
The object of the present invention is to provide a kind of engineering document to the on-line conversion method of PDF document, solve in prior art because client is install corresponding software to cause client cannot read the technical matters of engineering document.
For solving the problems of the technologies described above, the technical solution adopted in the present invention is: engineering document, to the on-line conversion method of PDF document, is characterized in that, comprises the following steps:
(1) client by Internet by engineering document to be converted from uploading to Web server locally through webpage and asking Web server convert documents;
(2) it to be kept in database by network reception engineering document by Web server in order, simultaneously Web server receives and resolves the convert requests of client, Web server start to read engineering document in order from database and call the translation interface of engineering document;
(3) translation interface of engineering document calls PDF virtual printer and engineering document is converted to PDF document;
(4) PDF document converted is kept in database by Web server, client is sent it back afterwards by Internet, client downloads to this locality and carries out PDF document reading, and Web server discharges the storage space in database after client downloads PDF document.
Described database initialize has document data table, the temporary information having document store path and document subject feature vector state in document data table, WEB server reads the PDF document after engineering document or conversion according to document store path, and client understands engineering document conversion progress by document subject feature vector state.
Web server is by parameter configuration and DataBase combining, after parameter configuration completes, WEB server reads engineering document information to be converted automatically from engineering document tables of data, create the timing process to carrying out timing switching time: if timing time arrives simultaneously, engineering document converts not yet, then stop conversion, and again read engineering document by WEB server.
First described Web server judges read engineering document from database after whether the size of engineering document exceeds default convert documents threshold value, if engineering document size is not more than convert documents threshold value, then creates timing process, starts to carry out engineering document conversion; Otherwise, automatically jump to next engineering document.
Described engineering document to be converted comprises the document generated by AutoCAD and Protel software creation.
Compared with prior art, the beneficial effect that the present invention reaches is: provide the on-line conversion method of a kind of engineering document to PDF document, client directly obtains the engineering document being converted to PDF by WEB server, without the need to other installation work document Reading for academic studies software, save the time that client reads engineering document, significantly improve the work efficiency of client; Create database, and create tables of data in a database, automatically can read engineering document to be converted from tables of data, engineering document Batch conversion can be realized, avoid, in engineering document transfer process, loss of data occurs; Be provided with timing process, when document subject feature vector occurs that mistake causes time-out, automatically terminate conversion, and again read engineering document, avoid waiting as long for, improve engineering document conversion efficiency.
Accompanying drawing explanation
Fig. 1 is principle of work block diagram of the present invention.
Fig. 2 is the process flow diagram that engineering document arrives the on-line conversion method of PDF document.
Fig. 3 is process flow diagram Protel document being carried out to PDF conversion based on Fig. 1.
Embodiment
Below in conjunction with accompanying drawing, the invention will be further described.Following examples only for technical scheme of the present invention is clearly described, and can not limit the scope of the invention with this.
As shown in Figure 1, it is principle of work block diagram of the present invention, comprise client, WEB server and be installed on the PDF virtual printer of client, client carries out bidirectional data transfers by Internet and WEB server, WEB server is by parameter configuration, and carry out the storage of the reading of engineering document and the PDF document after changing between database, arrange translation interface between WEB server and PDF virtual printer, client calls PDF virtual printer by translation interface through WEB server.
As shown in Figure 2, be the process flow diagram that engineering document arrives the on-line conversion method of PDF document, comprise the following steps:
(1) client by Internet by engineering document to be converted from uploading to Web server locally through webpage and asking Web server convert documents.
(2) it is kept in database by network reception engineering document by Web server in order, and Web server receives and resolves the convert requests of client simultaneously.What database was selected is ORACLE database, therefore database development environment selects is the ORACLE Database Systems that Oracle of the U.S. provides.This system is a perfect information management environment, and C/S structure or B/S architecture can be supported to carry out distributed treatment for it and Web calculates.One of its server option WebServer, can provide the power realizing the application of web data storehouse.Data cube computation both Web server and ORACLE database are realized by parameter configuration, parameter configuration mainly uses middleware CGI/API to realize, middleware is in charge of the communication between WebServer and DBServer and is provided application program service, and it directly calling external program or scripted code can visit database.After parameter configuration completes, Web server reads engineering document information to be converted automatically from engineering document tables of data, judge whether the size of engineering document exceeds default convert documents threshold value, if engineering document size is not more than convert documents threshold value, then create timing process, start to carry out engineering document conversion; Otherwise, automatically jump to next engineering document.Timing process is used for carrying out timing switching time: if timing time arrives, engineering document converts not yet, then stop conversion, and again read engineering document by WEB server; If in timing time, complete the conversion of current engineering document, then read next engineering document in order.Web server then starts the translation interface calling engineering document after reading engineering document.
(3) translation interface of engineering document calls PDF virtual printer and engineering document is converted to PDF document.
(4) PDF document converted is kept in database by Web server, client is sent it back afterwards by Internet, client downloads to this locality and carries out PDF document reading, and Web server discharges the storage space in database after client downloads PDF document.
Database initialize has document data table, as shown in table 1, the temporary information having document store path and document subject feature vector state in document data table.
Table 1: document data table
File name File store path File type Transition status
Circuit diagram 1 G: ORACLE WDZH circuit diagram 1.dwg dwg Do not change
Circuit diagram 2 G: ORACLE WDZH circuit diagram 2.pdf pdf Change
Circuit diagram 3 G: ORACLE WDZH circuit diagram 3.sch sch Do not change
Circuit diagram 4 G: ORACLE WDZH circuit diagram 4.pdf pdf Change
WEB server reads the PDF document after engineering document or conversion according to document store path, and client understands engineering document conversion progress by document subject feature vector state.
Engineering document to be converted comprises the document generated by AutoCAD and Protel software creation.
As shown in Figure 3, be process flow diagram Protel document being carried out to PDF conversion based on Fig. 1.WEB server receives and after resolving the convert requests of client, Protel document is read from database, first judge whether Protel document exceedes default convert documents threshold value, if exceed convert documents threshold value, illustrate that Protel document is excessive, then stop this Protel document of conversion and continue to read next Protel document to be converted; Otherwise, create a timing process, start timing, start to call engineering document translation interface, translation interface calls virtual printer and Protel document subject feature vector is become PDF document, simultaneously thereupon, judge in transfer process that whether switching time is overtime, if switching time is overtime, then again change; If the time is not overtime, then the document changed is kept in database by Web server.So far, the EOC of whole engineering document, enters the conversion of next engineering document to transfer process.Until after whole engineering documents all converts, converting system terminates conversion.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the prerequisite not departing from the technology of the present invention principle; can also make some improvement and distortion, these improve and distortion also should be considered as protection scope of the present invention.

Claims (5)

1. engineering document is to the on-line conversion method of PDF document, it is characterized in that, comprises the following steps:
(1) client by Internet by engineering document to be converted from uploading to Web server locally through webpage and asking Web server convert documents;
(2) it to be kept in database by network reception engineering document by Web server in order, simultaneously Web server receives and resolves the convert requests of client, Web server start to read engineering document in order from database and call the translation interface of engineering document;
(3) translation interface of engineering document calls PDF virtual printer and engineering document is converted to PDF document;
(4) PDF document converted is kept in database by Web server, client is sent it back afterwards by Internet, client downloads to this locality and carries out PDF document reading, and Web server discharges the storage space in database after client downloads PDF document.
2. engineering document according to claim 1 is to the on-line conversion method of PDF document, it is characterized in that, described database initialize has document data table, the temporary information having document store path and document subject feature vector state in document data table, WEB server reads the PDF document after engineering document or conversion according to document store path, and client understands engineering document conversion progress by document subject feature vector state.
3. engineering document according to claim 1 is to the on-line conversion method of PDF document, it is characterized in that, Web server is by parameter configuration and DataBase combining, after parameter configuration completes, WEB server reads engineering document information to be converted automatically from engineering document tables of data, creates the timing process to carrying out timing switching time: if timing time arrives, engineering document converts not yet simultaneously, then stop conversion, and again read engineering document by WEB server.
4. engineering document according to claim 3 is to the on-line conversion method of PDF document, it is characterized in that, first described Web server judges read engineering document from database after whether the size of engineering document exceeds default convert documents threshold value, if engineering document size is not more than convert documents threshold value, then create timing process, start to carry out engineering document conversion; Otherwise, automatically jump to next engineering document.
5. engineering document according to claim 3 is to the on-line conversion method of PDF document, it is characterized in that, described engineering document to be converted comprises the document generated by AutoCAD and Protel software creation.
CN201410491911.9A 2014-09-23 2014-09-23 Online engineering document to PDF document conversion method Pending CN104268211A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410491911.9A CN104268211A (en) 2014-09-23 2014-09-23 Online engineering document to PDF document conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410491911.9A CN104268211A (en) 2014-09-23 2014-09-23 Online engineering document to PDF document conversion method

Publications (1)

Publication Number Publication Date
CN104268211A true CN104268211A (en) 2015-01-07

Family

ID=52159733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410491911.9A Pending CN104268211A (en) 2014-09-23 2014-09-23 Online engineering document to PDF document conversion method

Country Status (1)

Country Link
CN (1) CN104268211A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106815180A (en) * 2016-12-06 2017-06-09 武汉开目信息技术股份有限公司 A kind of method for being automatically obtained Altium software conversion of drawings
CN109657211A (en) * 2018-12-11 2019-04-19 万兴科技股份有限公司 The method, apparatus and intelligent terminal of line format conversion
CN111651196A (en) * 2020-06-24 2020-09-11 腾讯科技(深圳)有限公司 Document publishing method, device and server
CN114912420A (en) * 2022-05-24 2022-08-16 北京字跳网络技术有限公司 Document processing method and device, electronic equipment and storage medium
CN116089362A (en) * 2023-03-06 2023-05-09 北京微吼时代科技有限公司 Document conversion method and system, live broadcast system, storage medium and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060136353A1 (en) * 2004-12-16 2006-06-22 Microsoft Corporation Systems and methods for converting a formatted document to a web page
CN101145150A (en) * 2006-09-15 2008-03-19 中国银联股份有限公司 Batch file processing method and system
US20100070852A1 (en) * 2005-11-15 2010-03-18 Lipeng Li Method for Transforming the Source Documents to Corresponding Web Pages
CN102254005A (en) * 2011-07-15 2011-11-23 苏州阔地网络科技有限公司 Method for transforming and displaying document on webpage
CN102542018A (en) * 2011-12-16 2012-07-04 深圳中兴网信科技有限公司 Web online file viewing system and file conversion device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060136353A1 (en) * 2004-12-16 2006-06-22 Microsoft Corporation Systems and methods for converting a formatted document to a web page
US20100070852A1 (en) * 2005-11-15 2010-03-18 Lipeng Li Method for Transforming the Source Documents to Corresponding Web Pages
CN101145150A (en) * 2006-09-15 2008-03-19 中国银联股份有限公司 Batch file processing method and system
CN102254005A (en) * 2011-07-15 2011-11-23 苏州阔地网络科技有限公司 Method for transforming and displaying document on webpage
CN102542018A (en) * 2011-12-16 2012-07-04 深圳中兴网信科技有限公司 Web online file viewing system and file conversion device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
南湖秋水: ""将任意格式文档"打印"成为PDF格式"", 《网友世界》 *
张瑜: ""PDF转换成Word转换器免费版全面升级"", 《计算机网络》 *
杨志祥: ""freepdfconvert在线转换PDF文件"", 《网友世界》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106815180A (en) * 2016-12-06 2017-06-09 武汉开目信息技术股份有限公司 A kind of method for being automatically obtained Altium software conversion of drawings
CN109657211A (en) * 2018-12-11 2019-04-19 万兴科技股份有限公司 The method, apparatus and intelligent terminal of line format conversion
CN111651196A (en) * 2020-06-24 2020-09-11 腾讯科技(深圳)有限公司 Document publishing method, device and server
CN114912420A (en) * 2022-05-24 2022-08-16 北京字跳网络技术有限公司 Document processing method and device, electronic equipment and storage medium
CN116089362A (en) * 2023-03-06 2023-05-09 北京微吼时代科技有限公司 Document conversion method and system, live broadcast system, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN101741986B (en) Page cache method for mobile communication equipment terminal
CN102857570A (en) Cloud synchronized method of files and cloud storage server
CN104268211A (en) Online engineering document to PDF document conversion method
CN104967658A (en) Data synchronization method on multiple devices
CN105577735A (en) Browser-based user behavior tracking method and device
CN112422702A (en) CDN back-to-source method, system and computer equipment
CN102006568A (en) Method, equipment and system for providing portrait service
CN103116586A (en) Document reading achieving method, terminal, document conversion server and processing system
CN103685269A (en) Method and system for both-way communication between web browser and server
CN102811260A (en) File cloud synchronizing system and method
CN103530160A (en) Page loading method and device
CN109151512A (en) The method and device of content is obtained in CDN network
CN102982116A (en) Multi-media transfer method and system based on cloud
CN102480360B (en) Power control method of multiple servers
CN103200199A (en) Out of band (OOB) data collection system
CN102681993A (en) File synchronizing method, file synchronizing device and first electronic device
CN102142032A (en) Method and system for reading and writing data of distributed file system
US20160224554A1 (en) Search methods, servers, and systems
CN105335309A (en) Data transmission method and computer
CN104144202A (en) Hadoop distributed file system access method, system and device
CN105630923A (en) Method for realizing archives administration informatization
CN105187562A (en) System and method for operating remote file
CN103414584A (en) Method for rapidly expanding computer cluster based on P2P network technology
US20160224553A1 (en) Search methods and terminals
CN104714923A (en) Method and device for achieving equipment sharing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150107

RJ01 Rejection of invention patent application after publication