CN108572805A - Document printing method and system - Google Patents

Document printing method and system Download PDF

Info

Publication number
CN108572805A
CN108572805A CN201810229249.8A CN201810229249A CN108572805A CN 108572805 A CN108572805 A CN 108572805A CN 201810229249 A CN201810229249 A CN 201810229249A CN 108572805 A CN108572805 A CN 108572805A
Authority
CN
China
Prior art keywords
printing
picture file
keyword
document
module
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
CN201810229249.8A
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.)
Beijing Wondersoft Technology Co Ltd
Original Assignee
Beijing Wondersoft Technology Co Ltd
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 Beijing Wondersoft Technology Co Ltd filed Critical Beijing Wondersoft Technology Co Ltd
Priority to CN201810229249.8A priority Critical patent/CN108572805A/en
Publication of CN108572805A publication Critical patent/CN108572805A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1206Improving or facilitating administration, e.g. print management resulting in increased flexibility in input data format or job format or job type

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Multimedia (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

The present invention provides a kind of document printing method and system, this method includes:When detecting document print request, the corresponding current text page content of document print request is obtained;By current text page Content Transformation at picture file;Character recognition is carried out to picture file using optical character recognition technology, determines multiple candidate characters in picture file;Multiple candidate characters are scanned according to the keyword for presetting multiple ranks, determine the other keyword of at least one of multiple candidate characters target level;Determine the corresponding at least one printing policy data of the other keyword of at least one target level;The corresponding at least one target watermark of at least one printing policy data is added to picture file;In response to document print request, picture file of the printing added at least one target watermark.The present invention can improve the printing flexibility of watermark document and print the safety of sensitive data, and reduce business processing burden.

Description

Document printing method and system
Technical field
The present invention relates to computer security technique fields, more particularly to a kind of document printing method and system.
Background technology
Currently, in order to ensure the information security of document, when printing document, watermark can be added to document, to avoid Data are usurped.The monitoring printing scheme of mainstream is to provide a kind of monitoring printing software at present, which utilizes hook Technology can monitor printing during file printout, and according to the different printing configurations of different type document, to control Different classes of document executes different printings, such as executes band watermark printing to word document, executed to Excel document Non-print is not added with watermark printing etc. to the execution of PPT documents.
Specifically, as shown in Figure 1, after starting monitoring printing software, hook technologies can be used to intercept and capture about printing The relevant treatment function of operation, then some software start to print some document, which can intercept printing Action, then according to controlling whether to allow to print the document to the printing configuration information of different type document in advance, If it is not, then non-print;If it is, continuing to judge whether to need to add water to the document according to above-mentioned printing configuration information Print printing, if it is, adding watermark to the document and executing printing, if it is not, then directly being printed to the document. Then judge whether to exit current system (whether i.e. all documents, which print, finishes) again, if it is, terminating flow;If not, Hook technologies are then continuing with to intercept and capture and the relevant processing function of software.
But inventor has found in the implementation of the present invention, not the content in the document of some type is all It is sensitive data or entirely nonsensitive data, then unified directly carries out different printings for different types of document Operation so that the document print underaction with watermark can not only increase business processing burden, cause business inconvenient, but also It can not ensure the safety of print data.
It can be seen that document print scheme in the prior art in the prevalence of the printing underaction with watermark document, Business processing bears the low problem of big and printing sensitive data safety.
Invention content
The present invention provides a kind of document printing method and systems, are deposited with solving document print scheme in the prior art The printing underaction with watermark document, the problem that business processing burden is big and the sensitive data safety of printing is low.
In a first aspect, an embodiment of the present invention provides a kind of document printing method, the method includes:
When detecting document print request, the corresponding current text page content of the document print request is obtained;
By the current text page Content Transformation at picture file;
Character recognition is carried out to the picture file using optical character recognition technology, is determined more in the picture file A candidate characters;
The multiple candidate characters are scanned according to the keyword for presetting multiple ranks, determine the multiple candidate word At least one of the symbol other keyword of target level;
Determine the corresponding at least one printing policy data of the other keyword of at least one target level;
At least one target watermark corresponding to the picture file addition at least one printing policy data;
In response to the document print request, the picture file of the printing added at least one target watermark.
Second aspect, the embodiment of the present invention additionally provide a kind of document print system, and the document print system includes:
First acquisition module, for when detecting document print request, obtaining, the document print request is corresponding to work as Preceding page of text content;
Conversion module is used for the current text page Content Transformation into picture file;
First determining module is determined for carrying out character recognition to the picture file using optical character recognition technology Multiple candidate characters in the picture file;
Second determining module, for being scanned to the multiple candidate characters according to the keyword for presetting multiple ranks, Determine the other keyword of at least one of the multiple candidate characters target level;
Third determining module, for determining the corresponding at least one printing plan of the other keyword of at least one target level Slightly data;
Add module, for the corresponding at least one of the picture file addition at least one printing policy data Target watermark;
Respond module, in response to the document print request, printing to be added at least one target watermark The picture file.
The third aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, including:It memory, processor and is stored in On the memory and the computer program that can run on the processor, the computer program are executed by the processor The step of document printing method described in Shi Shixian.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, described computer-readable to deposit It is stored with computer program on storage media, the document printing method is realized when the computer program is executed by processor Step.
Compared with prior art, the present invention includes following advantages:
The embodiment of the present invention utilizes OCR technique to picture by the way that content of text to be printed is converted to picture file File carries out character recognition, and keyword scan, root are carried out to the content of text recognized according to the keyword for presetting multiple ranks Printing strategy corresponding to keyword-level according to hit controls the addition water mark operation to content of text, so that printing The document of output with different watermarks or can carry out different printings according to the keyword-level that it is included, It improves the printing flexibility of watermark document and improves the safety of the sensitive data of printing;And just for corresponding stage The text of other keyword adds watermark printing, to reduce business processing burden.
Description of the drawings
Fig. 1 is a kind of flow chart of document printing method in the prior art;
Fig. 2 is a kind of step flow chart of text printing embodiment of the method for the present invention;
Fig. 3 is a kind of structure diagram of text printing system embodiment of the present invention;
Fig. 4 is a kind of work flow diagram of printing redirection layer embodiment of the present invention;
Fig. 5 is a kind of work flow diagram of printing content analysis layer embodiment of the present invention;
Fig. 6 is a kind of work flow diagram of print processing layer embodiment of the present invention;
Fig. 7 is a kind of step flow chart of the document printing method embodiment of V3 systems of the present invention;
Fig. 8 is the structure diagram of another text printing system embodiment of the present invention.
Specific implementation mode
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, below in conjunction with the accompanying drawings and specific real Applying mode, the present invention is described in further detail.
With reference to Fig. 2, a kind of step flow chart of text printing embodiment of the method for the present invention is shown;With reference to Fig. 3, show A kind of structure diagram of the text printing system embodiment of the present invention.
The method and system of the embodiment of the present invention is briefly described with reference to Fig. 2 and Fig. 3.
Text printing system shown in Fig. 3 can be divided into three layers, respectively print redirection layer, printing content analysis layer With print processing layer.
Wherein, redirection layer is printed, monitoring user's print request is responsible for, the printer of record user's selection calls virtual Printer exports printing content;Content analysis layer is printed, the printing content of monitoring virtual printer output is responsible for, and is called OCR identification modules (optical character identification module) and keyword scan module handle printing content, and by handling result Notify print processing layer;Print processing layer is responsible for carrying out watermark processing to printing content according to analysis result, and user is called to select The printer selected carries out printing and print result is returned to printing content analysis layer, and printing content analysis layer again will printing As a result printing redirection layer is returned to.
It briefly introduces to the workflow of above system with reference to Fig. 2, text printing according to the ... of the embodiment of the present invention Method can specifically include following steps:
Step 101, it when detecting document print request, obtains in the corresponding current text page of the document print request Hold;
Wherein, printing redirection layer can detect the document print request of user, and a document to be printed includes Therefore multiple type faces can obtain the corresponding current text page content of the document print request, such as in some document here Ask the first page content of printing.
Step 102, by the current text page Content Transformation at picture file;
Wherein, printing redirection layer can be by the current text page Content Transformation at picture file.
Step 103, character recognition is carried out to the picture file using optical character recognition technology, determines the picture text Multiple candidate characters in part;
Wherein, printing content analysis layer can carry out character recognition using OCR technique to picture file, so that it is determined that figure Multiple characters in piece file, i.e., candidate characters here.
Step 104, the multiple candidate characters are scanned according to the keyword for presetting multiple ranks, are determined described more The other keyword of at least one of a candidate characters target level;
Wherein, the embodiment of the present invention pre-sets the keyword of different stage, and the quantity of the keyword of each rank can To be one or more, wherein the corresponding printing strategy of keyword of different stage is different.
Here, printing content analysis layer can carry out keyword scan to multiple candidate characters, to check the picture file Include the keyword of which rank, is denoted as target rank here.Wherein, may include one or more in some picture file The keyword of rank.
Step 105, the corresponding at least one printing policy data of the other keyword of at least one target level is determined;
Wherein, the present invention is provided with different printing strategies to the keyword of different stage in advance.Print content analysis layer It can determine the corresponding at least one printing policy data of the other keyword of at least one target level.
Step 106, the corresponding at least one target of at least one printing policy data described to picture file addition Watermark;
Wherein, printing strategy can include but is not limited to watermarking 1 printing, watermarking 2 printing, watermarking 3 printing and Record log, no-watermark printing etc..Therefore, when the printing policy data is that no-watermark prints, then the target watermark can be with It is sky watermark.
Such as picture file includes the keyword of rank 1 and rank 2, and the corresponding printing strategy of 1 keyword of rank is to add Watermark 1 prints, and the corresponding printing strategy of 2 keyword of rank is the printing of watermarking 2, then when executing step 106, at watermark Watermark 1 and watermark 2 can be added to picture file by managing layer.
Step 107, in response to the document print request, the figure of the printing added at least one target watermark Piece file.
Wherein, the picture file added at least one target watermark can be output to printer and beaten by watermark processing layer Print, and in response to the document print request, print result is returned into printing content analysis layer.
The embodiment of the present invention utilizes OCR technique to picture by the way that content of text to be printed is converted to picture file File carries out character recognition, and keyword scan, root are carried out to the content of text recognized according to the keyword for presetting multiple ranks Printing strategy corresponding to keyword-level according to hit controls the addition water mark operation to content of text, so that printing The document of output with different watermarks or can carry out different printings according to the keyword-level that it is included, It improves the printing flexibility of watermark document and improves the safety of the sensitive data of printing;And just for corresponding stage The text of other keyword adds watermark printing, to reduce business processing burden.
With continued reference to text printing system shown in Fig. 3.
Print redirection layer, be located at general frame top layer, by monitoring printing module, Printer Information sending module, Export configuration module and virtual printer module composition.
Wherein, monitoring printing module, the print request for monitoring user obtain beating for user's selection from print request Machine information is printed, and Printer Information is passed into Printer Information sending module, and obtaining that print request is corresponding ought be above This page of content calls virtual printer module to carry out photo print output;It is additionally operable to response print request, carries out corresponding printing knot The output of fruit.
Printer Information sending module, the Printer Information for selecting user are sent to the printer of print processing layer Information receiving module;
Configuration module is exported, the picture for reading virtual printer module exports configuration information, picture output configuration Information be virtual printer by current text page dump at picture file after, the path of the picture file storage of output.
Virtual printer module, for call output configuration module, read picture export configuration information, to it is described ought be above This page of content carries out photo print, obtains picture file, and picture file is exported to the picture and exports configuration information pair The destination path answered;It is additionally operable to for the destination path of picture file to be sent to the virtual printing file process of printing content analysis layer Module.
For the modules of above-mentioned printing redirection layer the printing weight of one embodiment of the invention is shown with reference to Fig. 4 The work flow diagram of oriented layer.
After step 41, application program (i.e. the corresponding software of document print system of the embodiment of the present invention) start, completion is beaten Monitoring module initialization is printed, goes to and executes step 42.
Step 42 reads virtual printer output configuration information, completes relevant configuration, goes to and execute step 43.
The Printer Information that step 43, record user select, and it is sent to printer processes layer, it goes to and executes step 44.
Step 44 calls virtual printer to execute printing, is gone to after the completion of printing and executes step 45.
Virtual printing result notice is extremely printed content analysis layer by step 45, goes to execute step 46 after the completion.
Step 46 checks document whether complete by Print All, and going to step 48 place if Print All is completed executes;Such as Fruit does not have Print All completion, then goes to and execute step 47.
Step 47, etc. completion to be printed return, go to the execution of step 46 place.
Step 48 checks whether and exits application, if exited, terminates flow;Otherwise the execution of step 43 place is gone to.
Content analysis layer is printed, is located at the middle layer of general frame, by OCR identification modules, virtual printing file process mould Block and keyword scan module composition.
Virtual printing document processing module, the file for monitoring virtual printer module export, (i.e. according to output result Destination path) picture file is obtained, it calls OCR identification modules to carry out character recognition to picture file, calls and close after the completion of identification Key word scan module carries out keyword scan to character identification result, scanning result is passed to print processing layer;It is additionally operable to connect The print result that the print service module of print processing layer returns is received, and print result is returned to the printing of printing redirection layer Monitoring module.
OCR identification modules, for notifying corresponding picture using the identification virtual printer module output of OCR identification technologies File carries out character recognition, determines multiple candidate characters in the picture file;
Keyword scan module, the corresponding printing policy data of keyword institute for loading default multiple ranks, To the recognition result of OCR identification modules, i.e., multiple candidate characters execute the keyword scan of different stage, so that it is determined that described more The other keyword of at least one of a candidate characters target level, and in a variety of printing policy datas of load, described in determination The corresponding at least one printing policy data of at least one other keyword of target level.
For the modules of above-mentioned printing content analysis layer the printing of one embodiment of the invention is shown with reference to Fig. 5 The work flow diagram of content analysis layer.
After step 51, application program launching, start related service, reads keyword configuration strategy, go to next step step 52 execute.
Step 52, the initialization of OCR identification modules, complete relevant configuration, go to the execution of next step step 53.
Step 53, etc. redirection layer to be printed virtual machine print result notice, to be further processed, go in next step Step 54 executes.
Step 54 checks whether there is notice arrival, if not notifying to reach, goes to the execution of step 53 place;Otherwise, turn It is executed to step 55 place.
Step 55 calls OCR identification modules, identification printing content then to go to the execution of next step step 56.
Step 56 calls keyword scan module, and the keyword scan of different stage is carried out to recognition result, and scanning is completed Afterwards, scanning result (i.e. at least one printing policy data) notice is sent to print processing layer, then goes to next step step 57 execute.
Step 57 checks whether scanning result notice returns from print processing layer, if do not returned, goes to step 58 Place executes;Otherwise, the execution of step 59 place is gone to.
Step 58, etc. it is to be returned, then go to step 57 place execution.
Step 59 is checked whether and is logged off, if do not logged off, is gone to the execution of step 53 place, otherwise, is terminated stream Journey.
Print processing layer is located at the lowest level of overall architecture, by Printer Information receiving module, print service module, water Print processing module composition.
Printer Information receiving module, what the Printer Information sending module for receiving printing redirection layer was sent beats Machine information is printed, and print service module is supplied to use;
Print service module, the scanning result for receiving printing content analysis layer notify (including at least one mesh Mark the corresponding at least one printing policy data of keyword, the corresponding destination path of picture file of rank), according to scanning result Destination path in notice obtains picture file, and watermark processing module is called to carry out watermark processing to picture file;It is additionally operable to The target printer of user's selection is determined according to the Printer Information in Printer Information receiving module, and drives target print Machine prints out the picture file after watermark processing, and print result is returned to the virtual printing of printing content analysis layer Document processing module;
Watermark processing module, according at least one of the scanning result notice of printing content analysis layer printing strategy number According to use the corresponding at least one target watermark of at least one printing policy data to carry out corresponding water to picture file Print processing.
For the modules of above-mentioned print processing layer the print processing of one embodiment of the invention is shown with reference to Fig. 6 The work flow diagram of layer.
After step 61, application program launching, start related service, receives the Printer Information of user's selection, go to next It rapid 62 executes step by step.
Step 62, etc. content analysis layer to be printed scanning result notice, to be further processed, go to next step step 63 execute.
Step 63 checks whether there is scanning result notice arrival, if not notifying to reach, goes to step 62 place and holds Row;Otherwise, the execution of step 64 place is gone to.
Step 64 carries out watermark processing according to the scanning result of keyword, and going to next step step 65 after the completion of processing holds Row.
Step 65, the printer for calling user's selection, complete print service, and going to next step step 66 after the completion of printing holds Row.
Printing relevant information is returned to upper layer (printing content analysis layer) by step 66, then goes to the execution of step 67 place.
Step 67 is checked whether and is logged off, if do not logged off, is gone to the execution of step 61 place, otherwise, is terminated stream Journey.
In a specific example, in conjunction with Fig. 7, to the stream of the document printing method of the embodiment of the present invention by taking V3 companies as an example Journey is made briefly to illustrate:
1, after computer system logs in, V3 account systems are logged in, the processing of the 2nd step is gone to after being verified.
2, V3 system synchronizations print control strategy goes to the processing of the 3rd step after the completion.
3, the service of printing content analysis server print processing starts, and goes to the processing of the 4th step after the completion.
4, application program launching prints, and goes to the processing of the 5th step.
5, printing content analysis service is handled, and content recognition and keyword scan are completed, and goes to the processing of the 6th step.
6, print processing service is handled according to analysis result, is exported document by tactful configuration requirement, is gone at the 7th step Reason.
7, it after application program printing, goes to the 8th step and continues with.
8, it checks whether and logs off, if it is not, then going to the processing of the 4th step;Otherwise terminate flow.
In recent years, as the various leakages of a state or party secret happen suddenly, great threat is all constituted to national security and long term growth.Therefore Country has specially set up the safe group of national information, attaches great importance to network security.For the financial industry for being related to national economy Etc. proposing higher security protection requirement, avoid that the leakage of a state or party secret occurs.
The method and system of the characteristics of for financial industry, the embodiment of the present invention constantly update perfect, print control function All kinds of printing documents can be controlled according to user demand, and according to the keyword-level of configuration, it can be achieved that non-print, Corresponding watermark printing is added by rank, configuration is flexible, reduces manual intervention, improves working efficiency, prevents generation of divulging a secret.
The method and system of the embodiment of the present invention can intercept the printing of software from the angle of actual demand and application Action, while identifying the content of printing, and keyword scan is carried out to printing content according to the keyword of the different stage of configuration, For hit keyword-level, printing operation can be controlled according to configuration, (it includes but not limited to forbid to print strategy to printing operation Printing exports different watermarks etc. without watermark printing according to setting), realize the flexible control to printing watermark.
In simple terms, the method and system of the embodiment of the present invention has the following advantages that:Framework is advanced, consistent, compatible Property it is high;Keyword recognition, intelligent classification reduce manual intervention, improve working efficiency;, printing watermark can according to configuration categories spirit Work shows;Client secure is high.
It should be noted that for embodiment of the method, for simple description, therefore it is all expressed as a series of action group It closes, but those skilled in the art should understand that, the embodiment of the present invention is not limited by the described action sequence, because according to According to the embodiment of the present invention, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art also should Know, embodiment described in this description belongs to preferred embodiment, and the involved action not necessarily present invention is implemented Necessary to example.
It is corresponding with the method that the embodiments of the present invention are provided, with reference to Fig. 8, show a kind of document print of the present invention The structure diagram of system embodiment, can specifically include following module:
First acquisition module 81, it is corresponding for when detecting document print request, obtaining the document print request Current text page content;
Conversion module 82 is used for the current text page Content Transformation into picture file;
First determining module 83, for carrying out character recognition to the picture file using optical character recognition technology, really Multiple candidate characters in the fixed picture file;
Second determining module 84, for being swept to the multiple candidate characters according to the keyword for presetting multiple ranks It retouches, determines the other keyword of at least one of the multiple candidate characters target level;
Third determining module 85, for determining the corresponding at least one printing of the other keyword of at least one target level Policy data;
Add module 86, for picture file addition at least one printing policy data corresponding at least one Kind target watermark;
Respond module 87, in response to the document print request, printing to be added at least one target watermark The picture file.
Optionally, the conversion module 82 includes:
Acquisition submodule, the picture for obtaining default virtual printer export configuration information;
Submodule is printed, current text page content progress picture is beaten for controlling the default virtual printer Print, obtains picture file;
Output sub-module, for the picture file to be exported target road corresponding to picture output configuration information Diameter;
Optionally, the system also includes:
Second acquisition module obtains the picture for exporting configuration information according to the picture from the destination path File.
Optionally, the system also includes:
Load-on module, the corresponding printing policy data of keyword institute for loading default multiple ranks;
The third determining module 85 includes:
First determination sub-module, in a variety of printing policy datas of load, determining at least one target level The corresponding at least one printing policy data of other keyword.
Optionally, the system also includes:
Third acquisition module, for when detecting document print request, obtaining the printing in the document print request Machine information;
The respond module 87 includes:
Second determination sub-module, for according to the Printer Information, determining target printer;
Submodule is responded, in response to the document print request, having controlled the target printer printing addition State the picture file of at least one target watermark.
For system embodiments, since it is basically similar to the method embodiment, so fairly simple, the correlation of description Place illustrates referring to the part of embodiment of the method.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor, and memory is stored in memory Computer program that is upper and can running on the processor, the computer program realize that above-mentioned document is beaten when being executed by processor Each process of impression method embodiment, and identical technique effect can be reached, to avoid repeating, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned document printing method embodiment, and energy when being executed by processor Reach identical technique effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with The difference of other embodiment, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can be provided as method, system or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be with reference to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in flow and/or box combination.These can be provided Computer program instructions are set to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine so that is held by the processor of computer or other programmable data processing terminal equipments Capable instruction generates for realizing in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes The system of specified function.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing terminal equipments In computer-readable memory operate in a specific manner so that instruction stored in the computer readable memory generates packet The manufacture of instruction system is included, which realizes in one flow of flow chart or multiple flows and/or one side of block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing terminal equipments so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one flow of flow chart or multiple flows And/or in one box of block diagram or multiple boxes specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also include other elements that are not explicitly listed, or further include for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device including the element.
Above to a kind of document printing method provided by the present invention and a kind of document print system, detailed Jie has been carried out It continues, principle and implementation of the present invention are described for specific case used herein, and the explanation of above example is only It is the method and its core concept for being used to help understand the present invention;Meanwhile for those of ordinary skill in the art, according to this hair Bright thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not manage Solution is limitation of the present invention.

Claims (10)

1. a kind of document printing method, which is characterized in that including:
When detecting document print request, the corresponding current text page content of the document print request is obtained;
By the current text page Content Transformation at picture file;
Character recognition is carried out to the picture file using optical character recognition technology, determines multiple times in the picture file Word selection accords with;
The multiple candidate characters are scanned according to the keyword for presetting multiple ranks, are determined in the multiple candidate characters The other keyword of at least one target level;
Determine the corresponding at least one printing policy data of the other keyword of at least one target level;
At least one target watermark corresponding to the picture file addition at least one printing policy data;
In response to the document print request, the picture file of the printing added at least one target watermark.
2. according to the method described in claim 1, it is characterized in that,
It is described by the current text page Content Transformation at picture file, including:
Obtain the picture output configuration information for presetting virtual printer;
It controls the default virtual printer and photo print is carried out to the current text page content, obtain picture file;
The picture file is exported into destination path corresponding to picture output configuration information;
It is described that character recognition is carried out to the picture file using OCR identification technologies, determine multiple times in the picture file Before word selection symbol, the method further includes:
Configuration information is exported according to the picture, the picture file is obtained from the destination path.
3. according to the method described in claim 1, it is characterized in that,
Before the corresponding at least one printing policy data of the determination at least one other keyword of target level, the side Method further includes:
The corresponding printing policy data of keyword institute of multiple ranks is preset in load;
The corresponding at least one printing policy data of the determination at least one other keyword of target level, including:
In a variety of printing policy datas of load, the corresponding at least one of the other keyword of at least one target level is determined Print policy data.
4. according to the method described in claim 1, it is characterized in that, the method further includes:
When detecting document print request, the Printer Information in the document print request is obtained;
It is described that in response to the document print request, printing is added with the picture file of at least one target watermark, Including:
According to the Printer Information, target printer is determined;
In response to the document print request, controls the target printer printing and be added at least one target watermark The picture file.
5. a kind of document print system, which is characterized in that including:
First acquisition module, ought be above for when detecting document print request, obtaining that the document print request is corresponding This page of content;
Conversion module is used for the current text page Content Transformation into picture file;
First determining module, described in, to picture file progress character recognition, being determined using optical character recognition technology Multiple candidate characters in picture file;
Second determining module is determined for being scanned to the multiple candidate characters according to the keyword for presetting multiple ranks The other keyword of at least one of the multiple candidate characters target level;
Third determining module, for determining the corresponding at least one printing strategy number of the other keyword of at least one target level According to;
Add module, for the corresponding at least one target of the picture file addition at least one printing policy data Watermark;
Respond module, in response to the document print request, printing to be described added at least one target watermark Picture file.
6. system according to claim 5, which is characterized in that
The conversion module includes:
Acquisition submodule, the picture for obtaining default virtual printer export configuration information;
Submodule is printed, photo print is carried out to the current text page content for controlling the default virtual printer, is obtained To picture file;
Output sub-module, for the picture file to be exported destination path corresponding to picture output configuration information;
The system also includes:
Second acquisition module obtains the picture file for exporting configuration information according to the picture from the destination path.
7. system according to claim 5, which is characterized in that
The system also includes:
Load-on module, the corresponding printing policy data of keyword institute for loading default multiple ranks;
The third determining module includes:
First determination sub-module, in a variety of printing policy datas of load, determining that at least one target level is other The corresponding at least one printing policy data of keyword.
8. system according to claim 5, which is characterized in that the system also includes:
Third acquisition module, for when detecting document print request, obtaining the letter of the printer in the document print request Breath;
The respond module includes:
Second determination sub-module, for according to the Printer Information, determining target printer;
Submodule is responded, in response to the document print request, controlling the target printer and printing added with described in extremely A kind of few picture file of target watermark.
9. a kind of mobile terminal, which is characterized in that including:It memory, processor and is stored on the memory and can be in institute The computer program run on processor is stated, such as Claims 1-4 is realized when the computer program is executed by the processor Any one of described in document printing method the step of.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program, the computer program realize document printing method according to any one of claims 1 to 4 when being executed by processor In step.
CN201810229249.8A 2018-03-20 2018-03-20 Document printing method and system Pending CN108572805A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810229249.8A CN108572805A (en) 2018-03-20 2018-03-20 Document printing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810229249.8A CN108572805A (en) 2018-03-20 2018-03-20 Document printing method and system

Publications (1)

Publication Number Publication Date
CN108572805A true CN108572805A (en) 2018-09-25

Family

ID=63574475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810229249.8A Pending CN108572805A (en) 2018-03-20 2018-03-20 Document printing method and system

Country Status (1)

Country Link
CN (1) CN108572805A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110399105A (en) * 2019-07-18 2019-11-01 福建威盾科技集团有限公司 A kind of Method of printing and system of the map page
CN110471632A (en) * 2019-08-16 2019-11-19 北京明朝万达科技股份有限公司 File printout, inspection method, device, electronic equipment and readable storage medium storing program for executing
CN110874195A (en) * 2018-11-22 2020-03-10 哈尔滨安天科技集团股份有限公司 Printing language identification method and device, electronic equipment and storage medium
CN112537136A (en) * 2020-10-29 2021-03-23 福建新大陆通信科技股份有限公司 CTID intelligent door lock bar code printing method and system
CN112579386A (en) * 2019-09-30 2021-03-30 北京国双科技有限公司 Monitoring method and device of printing equipment
CN112698797A (en) * 2020-12-30 2021-04-23 北京明朝万达科技股份有限公司 File printing control method and system, electronic equipment and storage medium
CN113687800A (en) * 2021-08-04 2021-11-23 上海浦东发展银行股份有限公司 File printing processing method and device, computer equipment and storage medium
CN114637479A (en) * 2022-03-23 2022-06-17 平安普惠企业管理有限公司 Document printing method, device, equipment and storage medium based on cloud technology
CN114895860A (en) * 2022-07-12 2022-08-12 北京高德品创科技有限公司 File printing method and device, printer, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101652744A (en) * 2007-12-07 2010-02-17 日立软件工程株式会社 Printing management system, printing management method, and program
CN103164830A (en) * 2011-12-09 2013-06-19 中国电信股份有限公司 Method and device of embedding watermark information into printing content
CN103336923A (en) * 2013-03-06 2013-10-02 西安电子科技大学 Print monitoring system and method for universal printer
CN104820962A (en) * 2015-04-27 2015-08-05 北京北信源软件股份有限公司 Method for generating and printing watermarks capable of replacing manual signatures
WO2016118904A1 (en) * 2015-01-23 2016-07-28 Sony Corporation Model anti-collusion watermark

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101652744A (en) * 2007-12-07 2010-02-17 日立软件工程株式会社 Printing management system, printing management method, and program
CN103164830A (en) * 2011-12-09 2013-06-19 中国电信股份有限公司 Method and device of embedding watermark information into printing content
CN103336923A (en) * 2013-03-06 2013-10-02 西安电子科技大学 Print monitoring system and method for universal printer
WO2016118904A1 (en) * 2015-01-23 2016-07-28 Sony Corporation Model anti-collusion watermark
CN104820962A (en) * 2015-04-27 2015-08-05 北京北信源软件股份有限公司 Method for generating and printing watermarks capable of replacing manual signatures

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110874195A (en) * 2018-11-22 2020-03-10 哈尔滨安天科技集团股份有限公司 Printing language identification method and device, electronic equipment and storage medium
CN110399105A (en) * 2019-07-18 2019-11-01 福建威盾科技集团有限公司 A kind of Method of printing and system of the map page
CN110399105B (en) * 2019-07-18 2022-11-22 福建威盾科技集团有限公司 Method and system for printing map page
CN110471632A (en) * 2019-08-16 2019-11-19 北京明朝万达科技股份有限公司 File printout, inspection method, device, electronic equipment and readable storage medium storing program for executing
CN110471632B (en) * 2019-08-16 2021-03-02 北京明朝万达科技股份有限公司 File printing and viewing method and device, electronic equipment and readable storage medium
CN112579386A (en) * 2019-09-30 2021-03-30 北京国双科技有限公司 Monitoring method and device of printing equipment
CN112537136A (en) * 2020-10-29 2021-03-23 福建新大陆通信科技股份有限公司 CTID intelligent door lock bar code printing method and system
CN112698797A (en) * 2020-12-30 2021-04-23 北京明朝万达科技股份有限公司 File printing control method and system, electronic equipment and storage medium
CN113687800A (en) * 2021-08-04 2021-11-23 上海浦东发展银行股份有限公司 File printing processing method and device, computer equipment and storage medium
CN114637479A (en) * 2022-03-23 2022-06-17 平安普惠企业管理有限公司 Document printing method, device, equipment and storage medium based on cloud technology
CN114895860A (en) * 2022-07-12 2022-08-12 北京高德品创科技有限公司 File printing method and device, printer, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108572805A (en) Document printing method and system
CN106897341A (en) 2 D code information querying method, server, client and system
CN101685486B (en) Virus killing method and virus killing system with multiple antivirus engines
US20080219495A1 (en) Image Comparison
CN108200146A (en) A kind of micro services framework implementation method of lightweight
FI127117B (en) Image processors and computer programs
CN109614226A (en) A kind of stateful application memory management method based on Kubernetes
CN106407002B (en) Data processing task executes method and apparatus
CN108584598A (en) A kind of elevator faults automatically analyze and method for early warning, storage medium and intelligent terminal
CN110111118A (en) A kind of information processing method and device that logistics package is intelligently replaced
CN109754327A (en) Recognition methods, system and the computer readable storage medium of false letter of guarantee
CN107239325A (en) Document data processing method and device
US6223226B1 (en) Data distribution system and method for distributing data to a destination using a distribution device having a lowest distribution cost associated therewith
CN105224541B (en) Uniqueness control method, information storage means and the device of data
CN106445936A (en) Data processing method and equipment
CN107292633A (en) Article dynamic anti-fake retroactive method and system based on internet platform
CN109951551A (en) A kind of container mirror image management system and method
CN109977126A (en) Replacing options, device, electronic equipment and the storage medium of identity
CN110336824A (en) A kind of weak passwurd detection method, detection control equipment and weak passwurd detection system
CN108156187A (en) A kind of cloud service system
CN101369328A (en) Method and system for matching resources and co-resources
CN106874360A (en) Basic data treating method and apparatus
CN105718314A (en) Event execution method, device and system
CN109840693A (en) It attends a banquet behavior safety monitoring method, device, computer equipment and storage medium
CN112016340A (en) Invoice head-up information automatic identification system and method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180925

RJ01 Rejection of invention patent application after publication