CN108804400A - A kind of electronic document processing method, device and relevant device - Google Patents
A kind of electronic document processing method, device and relevant device Download PDFInfo
- Publication number
- CN108804400A CN108804400A CN201810608045.5A CN201810608045A CN108804400A CN 108804400 A CN108804400 A CN 108804400A CN 201810608045 A CN201810608045 A CN 201810608045A CN 108804400 A CN108804400 A CN 108804400A
- Authority
- CN
- China
- Prior art keywords
- electronic document
- document
- photo
- pending
- pending electronic
- 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
- 238000003672 processing method Methods 0.000 title claims abstract description 19
- 238000000034 method Methods 0.000 claims abstract description 24
- 238000006243 chemical reaction Methods 0.000 claims abstract description 5
- 238000012545 processing Methods 0.000 claims description 24
- 238000009434 installation Methods 0.000 claims description 18
- 238000004590 computer program Methods 0.000 claims description 14
- 238000000605 extraction Methods 0.000 claims description 5
- 230000005611 electricity Effects 0.000 claims description 2
- 230000006870 function Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000004458 analytical method Methods 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000010485 coping Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/134—Hyperlinking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/151—Transformation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the present application provides a kind of electronic document processing method, device and relevant device, realizes that the online of variety classes electronic document compatible browses based on browser.The embodiment of the present application method includes:Obtain pending electronic document;It calls the ocr software to match with the pending electronic document type to read the pending electronic document, and drives virtual printer that the pending electronic document conversion is generated photo-document;Hypertext link html file is generated according to the every page picture in the photo-document, for browser access.
Description
Technical field
This application involves technical field of computer information processing more particularly to a kind of electronic document processing method, device and
Relevant device.
Background technology
With the development of internet, storage resource mode is more and more common in a manner of electronic document, electronic document type
It is more and more, such as PDF electronic documents, OFFICE systems, all kinds of design software electronic documents, sharing and look into electronic document
When readding, different clients need to install corresponding electronic document access software.
In currently available technology scheme, during electronic document is consulted, mostly uses greatly from server-side and download complete electronics text
Shelves arrive mode that is local, then installing corresponding application program progress brose and reading.When the type mistake for the electronic document for needing to read
It when more, needs user terminal that a variety of ocr softwares are installed, and needs electronic document is locally downloading, waste user terminal storage
Resource and Internet resources.
In view of this, it is necessary to propose a kind of new electronic document processing method.
Invention content
The embodiment of the present application provides a kind of electronic document processing method, device and relevant device, is realized based on browser
The online compatible browsing of variety classes electronic document.
The embodiment of the present application first aspect provides a kind of electronic document processing method, which is characterized in that including:
Obtain pending electronic document;
The ocr software to match with the pending electronic document type is called to read the pending electronic document, and
Drive virtual printer that the pending electronic document conversion is generated photo-document;
Hypertext link html file is generated according to the every page picture in the photo-document, for browser access.
Optionally, as a kind of possible embodiment, the electronic document processing method in the embodiment of the present application further includes:
When in the pending electronic document including directory information, obtains catalogue in the pending electronic document and believe
Breath;
Corresponding html directory file is generated according to the directory information, for browser access;
When not including directory information in the pending electronic document, according to the every page picture in the photo-document
Page number navigation link as directory information, and corresponding html directory file is generated, for browser access.
Optionally, as a kind of possible embodiment, the electronic document processing method in the embodiment of the present application further includes:
When in the pending electronic document including label information, obtains label in the pending electronic document and believe
Breath;
Corresponding html tag file is generated according to the label information, for browser access.
Optionally, as a kind of possible embodiment, the electronic document processing method in the embodiment of the present application further includes:
Cascading style sheets CCS files are configured for the photo-document, the CCS files are for adjusting the photo-document
Display size is to adapt to different types of display terminal.
Optionally, as a kind of possible embodiment, the electronic document processing method in the embodiment of the present application further includes:
By in the access html link associated storage to database of the abstract of the photo-document and the photo-document, with
For user search.
The embodiment of the present application second aspect provides a kind of electronic document processing apparatus, which is characterized in that including:
Acquisition module, for obtaining pending electronic document;
Calling module waits locating for calling described in the ocr software to match with the pending electronic document type reading
Electronic document is managed, and drives virtual printer that the pending electronic document conversion is generated photo-document;
First generation module, for generating hypertext link HTML texts according to the every page picture in the photo-document
Part, for browser access.
Optionally, as a kind of possible embodiment, the electronic document processing apparatus in the embodiment of the present application further includes:
First extraction module, it is described pending for obtaining when in the pending electronic document including directory information
Directory information in electronic document;
Second generation module, for generating corresponding html directory file according to the directory information, so that browser is visited
It asks;
Third generation module will be in the photo-document when not including directory information in the pending electronic document
Every page picture page number navigation link as directory information, and corresponding html directory file is generated, so that browser is visited
It asks.
Optionally, as a kind of possible embodiment, the electronic document processing apparatus in the embodiment of the present application further includes:
Second extraction module, it is described pending for obtaining when in the pending electronic document including label information
Label information in electronic document;
4th generation module generates corresponding html tag file, for browser access according to the label information.
Optionally, as a kind of possible embodiment, the electronic document processing apparatus in the embodiment of the present application further includes:
Configuration module, for configuring cascading style sheets CCS files for the photo-document, the CCS files are for adjusting
The display size of the photo-document is to adapt to different types of display terminal.
Optionally, as a kind of possible embodiment, the electronic document processing apparatus in the embodiment of the present application further includes:
Associated storage module, for the access html link of the abstract of the photo-document and the photo-document to be associated with
It stores in database, for user search.
The embodiment of the present application third aspect provides a kind of computer installation, which is characterized in that the computer installation packet
Processor is included, such as first aspect and first aspect are realized when the processor is for executing the computer program stored in memory
In step in any one possible embodiment.
The embodiment of the present application fourth aspect provides a kind of computer readable storage medium, is stored thereon with computer journey
Sequence, it is characterised in that:It is realized such as any one in first aspect and first aspect when the computer program is executed by processor
Step in possible embodiment.
As can be seen from the above technical solutions, the embodiment of the present application has the following advantages:
In the embodiment of the present application, server can obtain pending electronic document, and call and pending electronic document class
The ocr software that type matches reads pending electronic document, then drives virtual printer to convert pending electronic document and gives birth to
At photo-document, finally, hypertext link html file is generated according to the every page picture in photo-document, so that browser is visited
It asks.Various types of electronic documents format analysis processing is carried out in advance based on virtual printer to generate for browser access
Html file can only need a browser since the compatibility of html file is wide by a variety of browser access, user terminal
The compatibility online browse that various types of electronic documents can be realized, has saved user terminal storage resource and Internet resources.
Description of the drawings
Fig. 1 is a kind of one embodiment schematic diagram of electronic document processing method in the embodiment of the present application;
Fig. 2 is a kind of another embodiment schematic diagram of electronic document processing method in the embodiment of the present application;
Fig. 3 is a kind of one embodiment schematic diagram of electronic document processing apparatus in the embodiment of the present application;
Fig. 4 is a kind of another embodiment schematic diagram of electronic document processing apparatus in the embodiment of the present application;
Fig. 5 is a kind of another embodiment schematic diagram of electronic document processing apparatus in the embodiment of the present application;
Fig. 6 is a kind of one embodiment schematic diagram of computer installation in the embodiment of the present application.
Specific implementation mode
The embodiment of the present application provides a kind of electronic document processing method, device and relevant device, is realized based on browser
The online compatible browsing of variety classes electronic document.
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, technical solutions in the embodiments of the present application are clearly and completely described, it is clear that described embodiment is only
The embodiment of the application part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people
The every other embodiment that member is obtained without making creative work should all belong to the model of the application protection
It encloses.
Term " first ", " second ", " third " in the description and claims of this application and above-mentioned attached drawing, "
Four " etc. be for distinguishing similar object, without being used to describe specific sequence or precedence.It should be appreciated that using in this way
Data can be interchanged in the appropriate case, so that the embodiments described herein can be in addition to illustrating or describing herein
Sequence other than appearance is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that covering is non-exclusive
Include to be not necessarily limited to clearly arrange for example, containing the process of series of steps or unit, method, system, product or equipment
Those of go out step or unit, but may include not listing clearly or solid for these processes, method, product or equipment
The other steps or unit having.
In order to make it easy to understand, below will be to the specific stream in the electronic document processing method embodiment in the embodiment of the present application
Journey is briefly described.In the embodiment of the present application, various types of electronic documents are corresponding on the market for server side installation in advance
The data for electronic documents that user needs can be read out by ocr software, server side by corresponding ocr software, and will
The data of reading are printed as picture format using virtual printer, and server side is stored in the form of html file, for
It is read by browser access at family.
In order to make it easy to understand, the detailed process in the embodiment of the present application is described in detail below, referring to Fig. 1, this
A kind of one embodiment of electronic document processing method may include in application embodiment:
101, pending electronic document is obtained.
Server side can be passive the electronic document for obtaining the various formats that user uploads, can also be according to the behaviour of user
The electronic document for making the various formats that acquisition user needs from internet automatically, does not limit specifically herein.
102, it calls the ocr software to match with pending electronic document type to read pending electronic document, and drives
Pending electronic document is converted and generates photo-document by virtual printer.
The electronic document that server is got is with the data of certain format code storage, the reading of only corresponding type
Software could be parsed correctly and read pending electronic document.Installation is each on the market in advance for server side in the embodiment of the present application
The corresponding ocr software of electronic document of type, server side can be soft by corresponding reading by the electronic document got
Part is read out, and drives virtual printer to wait locating by what ocr software was read by the driver of the virtual printer of installation
Reason electronic document is printed as the document of picture format.
Optionally, server can according to the demand of user, to the default size (pixel, resolution ratio etc.) of virtual printing into
Row setting, for example, small size can be arranged in pure document sort of electronic document, the document setup for designing class is large scale, high-resolution
The picture of rate, does not limit specifically herein.
103, hypertext link html file is generated according to the every page picture in photo-document, for browser access.
For the ease of the access of user terminal, server needs the photo-document for generating pending electronic document to be converted to
May include working as virtual printer generation for the html file of browser access, in the corresponding html file of every page picture
Lower one page picture of the page number navigation link of preceding picture, the page number navigation link of the page up picture of current image, current image
Page number navigation link.Browser can access corresponding photo-document by the access path of the html file, without local
The ocr software of the electronic document of each type is installed.
In the embodiment of the present application, server can obtain pending electronic document, and call and pending electronic document class
The ocr software that type matches reads pending electronic document, then drives virtual printer to convert pending electronic document and gives birth to
At photo-document, finally, hypertext link html file is generated according to the every page picture in photo-document, so that browser is visited
It asks.Various types of electronic documents format analysis processing is carried out in advance based on virtual printer to generate for browser access
Html file can only need a browser since the compatibility of html file is wide by a variety of browser access, user terminal
The compatibility online browse that various types of electronic documents can be realized, has saved user terminal storage resource and Internet resources.
On the basis of above-mentioned embodiment shown in FIG. 1, in order to further promote the reading experience of user, need to figure
The set that the corresponding html file of piece document is formed optimizes, for example, increasing html directory file, html tag file etc..
Referring to Fig. 2, a kind of another embodiment of electronic document processing method may include in the embodiment of the present application:
201, pending electronic document is obtained.
202, it calls the ocr software to match with pending electronic document type to read pending electronic document, and drives
Pending electronic document is converted and generates photo-document by virtual printer.
203, hypertext link html file is generated according to the every page picture in photo-document, for browser access.
Step 201 in the present embodiment is to the content described in 203 and the step in above-mentioned embodiment shown in FIG. 1
Content described in 101 to 103 is similar, referring specifically to figure step 101 to 103, is not repeated herein.
204, the directory information of pending electronic document is obtained, and corresponding html directory text is generated according to directory information
Part, for browser access.
For the ease of user's browsing document, server can generate the catalogue file of corresponding electronic document, specifically, when waiting for
When handling in electronic document comprising directory information, directory information and root in pending electronic document can be read by ocr software
The corresponding html directory file with word and the page number is generated according to directory information, for browser access.When pending electronics text
When not including directory information in shelves, every page picture in the photo-document that server can generate pending electronic document
Page number navigation link generates the corresponding html directory file with word and the page number as directory information, so that browser is visited
It asks.
205, the label information of pending electronic document is obtained, and corresponding html directory text is generated according to label information
Part, for browser access.
Further, for the ease of user's browsing document, server can also generate the label file of corresponding electronic document,
Specifically, when in pending electronic document including label information, can be read by ocr software in pending electronic document
Label information simultaneously generates corresponding html directory file according to label information, for browser access.When pending electronic document
In when not including directory information, the page of the every page picture in the photo-document that server can generate pending electronic document
Code navigation link generates corresponding html directory file as directory information, for browser access.
206, it is that photo-document configures cascading style sheets CCS files, CCS files are used to adjust the display size of photo-document
To adapt to different types of display terminal.
Cascading style sheets (CSS) is a series of format setting rules, they control the appearance of Web page content.Use CSS
Be arranged page formatting when, content with take the form of it is separated.Content of pages (HTML code) is located at the HTML texts of itself
In part, and defines code table and show the CSS rules of form and be located at another portion of another file (external style sheet) or html document
Divide and (is usually<head>Part) in.The appearance that the page can very flexible and be preferably controlled using CSS, from accurate layout
Navigate to specific the font and style etc..
Can be that the photo-document that pending electronic document generates configures cascading style sheets CCS texts in the embodiment of the present application
Part, this document can be that text specifies different font sizes and unit (pixel, point size etc.), be set font as unit of pixel
Size, it is ensured that handle page layout and appearance in a more consistent way in multiple browsers, realize the aobvious of adjustment photo-document
Show size to adapt to different types of display terminal.The configuration principle of specific CCS files is not repeated herein for the prior art.
Optionally, can also be further that photo-document configures user's operation script file in the embodiment of the present application, with certainly
It is applicable in all types of terminal devices, user clicks browsing original picture, dragging scales page etc..
207, by the HTML of the abstract of photo-document and photo-document access link associated storage to database in, for
It retrieves at family.
Optionally, in the embodiment of the present application, document is inquired for the ease of user, server can be by the document of photo-document
The HTML of abstract and the photo-document is accessed in link associated storage to database, and user can carry out according to abstract related content
Document needed for retrieval selection, and link is accessed according to the associated HTML of the document abstract, realize the access to photo-document.
It is understood that in the various embodiments of the application, the size of the serial number of above steps is not meant to
The execution sequence of the priority of execution sequence, each step should be determined by its function and internal logic, without coping with the embodiment of the present application
Implementation process constitute any restriction.
In the embodiment of the present application, server can obtain pending electronic document, and call and pending electronic document class
The ocr software that type matches reads pending electronic document, then drives virtual printer to convert pending electronic document and gives birth to
At photo-document, finally, hypertext link html file is generated according to the every page picture in photo-document, so that browser is visited
It asks.Various types of electronic documents format analysis processing is carried out in advance based on virtual printer to generate for browser access
Html file can only need a browser since the compatibility of html file is wide by a variety of browser access, user terminal
The compatibility online browse that various types of electronic documents can be realized, has saved user terminal storage resource and Internet resources.
Secondly, corresponding catalogue file, label file are generated also directed to pending electronic document in the embodiment of the present application, carried
The high convenience of user's browsing, also by the abstract of photo-document and the HTML of photo-document in further the embodiment of the present application
It accesses in link associated storage to database, user search can be facilitated to search document.
The electronic document processing method in the embodiment of the present application is described in above-described embodiment, below will be to the application
Electronic document processing apparatus in embodiment is described, referring to Fig. 3, a kind of electronic document processing dress in the embodiment of the present application
The one embodiment set may include:
Acquisition module 301, for obtaining pending electronic document;
Calling module 302, for calling the ocr software to match with pending electronic document type to read pending electricity
Subdocument, and drive virtual printer to convert pending electronic document and generate photo-document;
First generation module 303, for generating hypertext link html file according to the every page picture in photo-document,
For browser access.
Optionally, as a kind of possible embodiment, referring to Fig. 4, the electronic document processing apparatus in the application also
It may further include:
First extraction module 304, when in pending electronic document including directory information, for obtaining pending electronics text
Directory information in shelves;
Second generation module 305, for generating corresponding html directory file according to directory information, so that browser is visited
It asks;
Third generation module 306 will be each in photo-document when not including directory information in pending electronic document
The page number navigation link of page picture generates corresponding html directory file as directory information, for browser access.
Optionally, as a kind of possible embodiment, the electronic document processing apparatus in the application can also be further
Including:
Second extraction module 307, when in pending electronic document including label information, for obtaining pending electronics text
Label information in shelves;
4th generation module 308 generates corresponding html tag file, for browser access according to label information.
Optionally, as a kind of possible embodiment, referring to Fig. 5, the electronic document processing apparatus in the application also
It may further include:
Configuration module 309, for configuring cascading style sheets CCS files for photo-document, CCS files are for adjusting picture text
The display size of shelves is to adapt to different types of display terminal.
Optionally, as a kind of possible embodiment, the electronic document processing apparatus in the application can also be further
Including:
Associated storage module 310 is used for the access html link associated storage of the abstract of photo-document and photo-document
Into database, for user search.
In the embodiment of the present application, server can obtain pending electronic document, and call and pending electronic document class
The ocr software that type matches reads pending electronic document, then drives virtual printer to convert pending electronic document and gives birth to
At photo-document, finally, hypertext link html file is generated according to the every page picture in photo-document, so that browser is visited
It asks.Various types of electronic documents format analysis processing is carried out in advance based on virtual printer to generate for browser access
Html file can only need a browser since the compatibility of html file is wide by a variety of browser access, user terminal
The compatibility online browse that various types of electronic documents can be realized, has saved user terminal storage resource and Internet resources.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
The electronic document processing apparatus in the embodiment of the present application is retouched from the angle of modular functionality entity above
It states, the computer installation in the embodiment of the present application is described from the angle of hardware handles below:
The embodiment of the present application also provides a kind of computer installations 6, as shown in fig. 6, for convenience of description, illustrate only with
The relevant part of the embodiment of the present application, particular technique details do not disclose, please refer to the embodiment of the present application method part.The calculating
Machine device 6 refers generally to the stronger computer equipment of the processing capacities such as server.
With reference to figure 6, computer installation 6 includes:Power supply 610, memory 620, processor 630, wired or wireless network connect
Mouthfuls 640 and storage in memory and the computer program that can run on a processor.When processor executes computer program
Realize the step in above-mentioned each qualification method embodiment based on block chain, such as step 101 shown in FIG. 1 is to 103.
Alternatively, processor realizes each module or the function of unit in above-mentioned each device embodiment when executing computer program.
In some embodiments of the present application, processor is specifically used for realizing following steps:
Obtain pending electronic document;
It calls the ocr software to match with pending electronic document type to read pending electronic document, and drives virtual
Pending electronic document is converted and generates photo-document by printer;
Hypertext link html file is generated according to the every page picture in photo-document, for browser access.
Optionally, in some embodiments of the present application, processor can be also used for realizing following steps:When pending electronics
When in document including directory information, directory information in pending electronic document is obtained;
Corresponding html directory file is generated according to directory information, for browser access;
When not including directory information in pending electronic document, led according to the page number of the every page picture in photo-document
Boat link is used as directory information, and generates corresponding html directory file, for browser access.
Optionally, in some embodiments of the present application, processor can be also used for realizing following steps:When pending electronics
When in document including label information, label information in pending electronic document is obtained;
Corresponding html tag file is generated according to label information, for browser access.
Optionally, in some embodiments of the present application, processor can be also used for realizing following steps:
Cascading style sheets CCS files are configured for photo-document, CCS files are for adjusting the display size of photo-document with suitable
Answer different types of display terminal.
Optionally, in some embodiments of the present application, processor can be also used for realizing following steps:By photo-document
In the access html link associated storage to database of abstract and photo-document, for user search.
Computer installation 6 can be the computing devices such as desktop PC, notebook, palm PC and cloud server.
Illustratively, computer program can be divided into one or more module/units, one or more module/unit is deposited
Storage in memory, and is executed by processor.One or more module/units can be can complete specific function a series of
Computer program instructions section, the instruction segment is for describing implementation procedure of the computer program in computer installation.
It will be understood by those skilled in the art that structure shown in Fig. 6 does not constitute the restriction to computer installation 6, meter
Calculation machine device 6 may include either combining certain components or different components arrangement than illustrating more or fewer components,
Such as computer installation can also include input-output equipment, bus etc..
Alleged processor can be central processing unit (Central Processing Unit, CPU), can also be it
His general processor, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng processor is the control centre of computer installation, utilizes each portion of various interfaces and the entire computer installation of connection
Point.
Memory can be used for storing computer program and/or module, processor are stored in memory by running or executing
Interior computer program and/or module, and the data being stored in memory are called, realize the various work(of computer installation
Energy.Memory can include mainly storing program area and storage data field, wherein storing program area can storage program area, at least
Application program (such as sound-playing function, image player function etc.) needed for one function etc.;Storage data field can store root
Created data (such as audio data, phone directory etc.) etc. are used according to mobile phone.In addition, memory may include that high speed is random
Memory is accessed, can also include nonvolatile memory, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart
Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least one disk
Memory device, flush memory device or other volatile solid-state parts.
Present invention also provides a kind of computer readable storage medium, calculating is stored on the computer readable storage medium
When computer program is executed by processor, following steps may be implemented in machine program:
Obtain pending electronic document;
It calls the ocr software to match with pending electronic document type to read pending electronic document, and drives virtual
Pending electronic document is converted and generates photo-document by printer;
Hypertext link html file is generated according to the every page picture in photo-document, for browser access.
Optionally, in some embodiments of the present application, processor can be also used for realizing following steps:When pending electronics
When in document including directory information, directory information in pending electronic document is obtained;
Corresponding html directory file is generated according to directory information, for browser access;
When not including directory information in pending electronic document, led according to the page number of the every page picture in photo-document
Boat link is used as directory information, and generates corresponding html directory file, for browser access.
Optionally, in some embodiments of the present application, processor can be also used for realizing following steps:When pending electronics
When in document including label information, label information in pending electronic document is obtained;
Corresponding html tag file is generated according to label information, for browser access.
Optionally, in some embodiments of the present application, processor can be also used for realizing following steps:
Cascading style sheets CCS files are configured for photo-document, CCS files are for adjusting the display size of photo-document with suitable
Answer different types of display terminal.
Optionally, in some embodiments of the present application, processor can be also used for realizing following steps:By photo-document
In the access html link associated storage to database of abstract and photo-document, for user search.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, device or unit
It closes or communicates to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can be stored in a computer read/write memory medium.Based on this understanding, the technical solution of the application is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application
Portion or part steps.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The above, above example are only to illustrate the technical solution of the application, rather than its limitations;Although with reference to before
Embodiment is stated the application is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to preceding
The technical solution recorded in each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
Modification or replacement, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.
Claims (10)
1. a kind of electronic document processing method, which is characterized in that including:
Obtain pending electronic document;
It calls the ocr software to match with the pending electronic document type to read the pending electronic document, and drives
The pending electronic document conversion is generated photo-document by virtual printer;
Hypertext link html file is generated according to the every page picture in the photo-document, for browser access.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
When in the pending electronic document including directory information, directory information in the pending electronic document is obtained;
Corresponding html directory file is generated according to the directory information, for browser access;
When not including directory information in the pending electronic document, according to the page of the every page picture in the photo-document
Code navigation link generates corresponding html directory file as directory information, for browser access.
3. according to the method described in claim 2, it is characterized in that, the method further includes:
When in the pending electronic document including label information, label information in the pending electronic document is obtained;
Corresponding html tag file is generated according to the label information, for browser access.
4. according to the method described in claim 3, it is characterized in that, further including:
Cascading style sheets CCS files are configured for the photo-document, the CCS files are used to adjust the display of the photo-document
Size is to adapt to different types of display terminal.
5. method according to claim 1 to 4, which is characterized in that further include:
By in the access html link associated storage to database of the abstract of the photo-document and the photo-document, for
It retrieves at family.
6. a kind of electronic document processing apparatus, which is characterized in that including:
Acquisition module, for obtaining pending electronic document;
Calling module, for calling the ocr software to match with the pending electronic document type to read the pending electricity
Subdocument, and drive virtual printer that the pending electronic document conversion is generated photo-document;
First generation module, for generating hypertext link html file according to the every page picture in the photo-document, with
For browser access.
7. device according to claim 6, which is characterized in that further include:
First extraction module, when in the pending electronic document including directory information, for obtaining the pending electronics
Directory information in document;
Second generation module, for generating corresponding html directory file according to the directory information, for browser access;
Third generation module will be every in the photo-document when not including directory information in the pending electronic document
The page number navigation link of one page picture generates corresponding html directory file as directory information, for browser access.
8. device according to claim 7, which is characterized in that further include:
Configuration module, for configuring cascading style sheets CCS files for the photo-document, the CCS files are described for adjusting
The display size of photo-document is to adapt to different types of display terminal.
9. a kind of computer installation, which is characterized in that the computer installation includes processor, and the processor is deposited for executing
It is realized when the computer program stored in reservoir such as the step of any one of claim 1 to 5 the method.
10. a kind of computer readable storage medium, is stored thereon with computer program, it is characterised in that:The computer program
It is realized when being executed by processor such as the step of any one of claim 1 to 5 the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810608045.5A CN108804400A (en) | 2018-06-13 | 2018-06-13 | A kind of electronic document processing method, device and relevant device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810608045.5A CN108804400A (en) | 2018-06-13 | 2018-06-13 | A kind of electronic document processing method, device and relevant device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108804400A true CN108804400A (en) | 2018-11-13 |
Family
ID=64085714
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810608045.5A Pending CN108804400A (en) | 2018-06-13 | 2018-06-13 | A kind of electronic document processing method, device and relevant device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108804400A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109558552A (en) * | 2018-11-20 | 2019-04-02 | 山东中创软件工程股份有限公司 | A kind of contents access method, device, equipment and the medium of Office file |
CN111401006A (en) * | 2018-12-29 | 2020-07-10 | 西安诺瓦星云科技股份有限公司 | Document playing method, device and system and computer readable storage medium |
CN111651196A (en) * | 2020-06-24 | 2020-09-11 | 腾讯科技(深圳)有限公司 | Document publishing method, device and server |
CN112035656A (en) * | 2020-09-27 | 2020-12-04 | 万兴科技(湖南)有限公司 | Method, device, computer equipment and medium for quickly previewing document |
KR20210077251A (en) * | 2019-12-17 | 2021-06-25 | 주식회사 한글과컴퓨터 | Database building device that can build a knowledge database from a table-inserted image and operating method thereof |
CN113127442A (en) * | 2020-01-10 | 2021-07-16 | 马上消费金融股份有限公司 | Visualization method and device of data model and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101539903A (en) * | 2008-03-18 | 2009-09-23 | 北京书生国际信息技术有限公司 | Method for realizing software compatible with documents in various formats |
CN101911007A (en) * | 2007-10-24 | 2010-12-08 | 造型逻辑有限公司 | Electronic document reading devices |
CN103309627A (en) * | 2012-03-07 | 2013-09-18 | 南京国图信息产业股份有限公司 | File double-layer conversion method on basis of printing driving |
CN105589836A (en) * | 2015-12-21 | 2016-05-18 | 华为技术有限公司 | Document previewing method, terminal and server |
-
2018
- 2018-06-13 CN CN201810608045.5A patent/CN108804400A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101911007A (en) * | 2007-10-24 | 2010-12-08 | 造型逻辑有限公司 | Electronic document reading devices |
CN101539903A (en) * | 2008-03-18 | 2009-09-23 | 北京书生国际信息技术有限公司 | Method for realizing software compatible with documents in various formats |
CN103309627A (en) * | 2012-03-07 | 2013-09-18 | 南京国图信息产业股份有限公司 | File double-layer conversion method on basis of printing driving |
CN105589836A (en) * | 2015-12-21 | 2016-05-18 | 华为技术有限公司 | Document previewing method, terminal and server |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109558552A (en) * | 2018-11-20 | 2019-04-02 | 山东中创软件工程股份有限公司 | A kind of contents access method, device, equipment and the medium of Office file |
CN111401006A (en) * | 2018-12-29 | 2020-07-10 | 西安诺瓦星云科技股份有限公司 | Document playing method, device and system and computer readable storage medium |
KR20210077251A (en) * | 2019-12-17 | 2021-06-25 | 주식회사 한글과컴퓨터 | Database building device that can build a knowledge database from a table-inserted image and operating method thereof |
KR102328034B1 (en) | 2019-12-17 | 2021-11-17 | 주식회사 한글과컴퓨터 | Database building device that can build a knowledge database from a table-inserted image and operating method thereof |
CN113127442A (en) * | 2020-01-10 | 2021-07-16 | 马上消费金融股份有限公司 | Visualization method and device of data model and storage medium |
CN113127442B (en) * | 2020-01-10 | 2023-12-22 | 马上消费金融股份有限公司 | Method, device and storage medium for visualizing data model |
CN111651196A (en) * | 2020-06-24 | 2020-09-11 | 腾讯科技(深圳)有限公司 | Document publishing method, device and server |
CN112035656A (en) * | 2020-09-27 | 2020-12-04 | 万兴科技(湖南)有限公司 | Method, device, computer equipment and medium for quickly previewing document |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108804400A (en) | A kind of electronic document processing method, device and relevant device | |
CN100363883C (en) | Printer with a web server embedded therein and printing method thereof | |
US10289649B2 (en) | Webpage advertisement interception method, device and browser | |
CN109408783A (en) | Electronic document online editing method and system | |
CN111143729B (en) | Optimization method, device, equipment and storage medium based on single page application | |
CN102929867A (en) | Technology used for automatically translating a document | |
CN106021394A (en) | Website construction method and apparatus | |
CN103123631B (en) | The generation of official documents and correspondence, the methods of exhibiting of webpage official documents and correspondence, device and Website server | |
CN102855244B (en) | Method and device for file catalogue processing | |
CN108776824A (en) | Bar-code label generation method, device and electronic equipment | |
CN101542426A (en) | Information processing apparatus, control method thereof, and program | |
US20020156813A1 (en) | Developing documents | |
CN102982439A (en) | Method for generating electronic document and electronic document generating system | |
CN109471773A (en) | A kind of method, apparatus, server and the storage medium of the output of front end log multichannel | |
US20040205584A1 (en) | System and method for template creation and execution | |
CN106095742A (en) | Text content generation method and server | |
WO2002037939A2 (en) | Method of constructing a composite image within an image space of a webpage | |
CN104375814A (en) | Generation method and device of an interface document | |
JP2019040260A (en) | Information processing apparatus and program | |
CN110489728A (en) | Legal documents automatic composing method and device | |
Loudon | Developing Large Web Applications: Producing Code That Can Grow and Thrive | |
CN111859886B (en) | Document generation method and device based on product prototype interface | |
CN109558123A (en) | The method of webpage conversion electrons book, electronic equipment, storage medium | |
CN103034990B (en) | The method and apparatus of publication verification | |
CN103885988B (en) | Export method and device, the content output system of content |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Bantian street, Longgang District of Shenzhen City, Guangdong province 518000 yuan and five Avenue sign technology plant No. 1 building 4 floor Applicant after: GOLO IOV DATA TECHNOLOGY Co.,Ltd. Address before: Bantian street, Longgang District of Shenzhen City, Guangdong province 518000 yuan and five Avenue sign technology plant No. 1 building 4 floor Applicant before: GOLO IOV DATA TECHNOLOGY Co.,Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181113 |
|
RJ01 | Rejection of invention patent application after publication |