CN109284075A - A kind of measures and procedures for the examination and approval of print request, storage medium and server - Google Patents
A kind of measures and procedures for the examination and approval of print request, storage medium and server Download PDFInfo
- Publication number
- CN109284075A CN109284075A CN201810952676.9A CN201810952676A CN109284075A CN 109284075 A CN109284075 A CN 109284075A CN 201810952676 A CN201810952676 A CN 201810952676A CN 109284075 A CN109284075 A CN 109284075A
- Authority
- CN
- China
- Prior art keywords
- approval
- examination
- user identity
- print request
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1203—Improving or facilitating administration, e.g. print management
- G06F3/1204—Improving or facilitating administration, e.g. print management resulting in reduced user or operator actions, e.g. presetting, automatic actions, using hardware token storing data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/1238—Secure printing, e.g. user identification, user rights for device usage, unallowed content, blanking portions or fields of a page, releasing held jobs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/126—Job scheduling, e.g. queuing, determine appropriate device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1278—Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
- G06F3/1285—Remote printer device, e.g. being remote from client or server
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The present invention relates to field of computer technology, propose the measures and procedures for the examination and approval, storage medium and the server of a kind of print request.The measures and procedures for the examination and approval include: to intercept the print request that client issues in the application using the mode that API is kidnapped;Extract the print attribute information of the print request;The print request is examined according to the print attribute information;If the result of the examination & approval is that examination & approval pass through, the print request is sent to printer, executes printing;If the result of the examination & approval is that examination & approval do not pass through, ignore the print request.User can directly initiate print request in the application program of client, and the mode that system will use API abduction intercepts the print request, then jumps to the entrance of approval process, examine to the print request, to complete primary printing process.As it can be seen that without logging in printing approval system in client when user prints, it is not necessary to the printing habit for changing oneself, to effectively improve user experience.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of measures and procedures for the examination and approval of print request, storage medium kimonos
Business device.
Background technique
The monitoring and examination & approval that behavior is printed for user generally use following methods at present: deployment printing server owns
The network printer access the server;User logs in the printing approval system of the server in client using account, initiates
Print request;After examination & approval pass through, which sends control instruction and is printed to the corresponding network printer, and
The printing behavior of each user is recorded by generating operation diary.However, there are the following problems for this method: user needs to log in
Printing approval system just can be carried out printing, change original printing habit, and user experience is bad.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of measures and procedures for the examination and approval of print request, storage medium and server, purport
Login printing approval system is needed just to can be carried out printing, the bad problem of user experience solving user.
The embodiment of the present invention in a first aspect, providing a kind of measures and procedures for the examination and approval of print request, comprising:
The print request that client issues in the application is intercepted using the mode that API is kidnapped;
Extract the print attribute information of the print request;
The print request is examined according to the print attribute information;
If the result of the examination & approval is that examination & approval pass through, the print request is sent to printer, executes printing;
If the result of the examination & approval is that examination & approval do not pass through, ignore the print request.
The second aspect of the embodiment of the present invention, provides a kind of computer readable storage medium, described computer-readable to deposit
Storage media is stored with computer-readable instruction, and such as the embodiment of the present invention is realized when the computer-readable instruction is executed by processor
First aspect propose print request the measures and procedures for the examination and approval the step of.
The third aspect of the embodiment of the present invention, provides a kind of server, including memory, processor and is stored in institute
The computer-readable instruction that can be run in memory and on the processor is stated, the processor executes described computer-readable
Following steps are realized when instruction:
The print request that client issues in the application is intercepted using the mode that API is kidnapped;
Extract the print attribute information of the print request;
The print request is examined according to the print attribute information;
If the result of the examination & approval is that examination & approval pass through, the print request is sent to printer, executes printing;
If the result of the examination & approval is that examination & approval do not pass through, ignore the print request.
The measures and procedures for the examination and approval for the print request that the embodiment of the present invention proposes include: to intercept client using the mode that API is kidnapped
The print request issued in the application;Extract the print attribute information of the print request;Believed according to the print attribution
Breath examines the print request;If the result of the examination & approval is that examination & approval pass through, the print request is sent to and is beaten
Print machine executes printing;If the result of the examination & approval is that examination & approval do not pass through, ignore the print request.Using this printing
The measures and procedures for the examination and approval of request, user can directly initiate print request in the application program (such as word, excel) of client,
System will use API abduction mode intercept the print request, then jump to the entrance of approval process, to the print request into
Row examination & approval, to complete primary printing process.As it can be seen that without logging in printing approval system in client when user prints, it is not necessary to
The printing habit for changing oneself, to effectively improve user experience.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is a kind of flow chart of one embodiment of the measures and procedures for the examination and approval of print request provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of second embodiment of the measures and procedures for the examination and approval of print request provided in an embodiment of the present invention;
Fig. 3 is a kind of structure chart of one embodiment of the examination & approval device of print request provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the invention provides a kind of measures and procedures for the examination and approval of print request, storage medium and servers, it is intended to solve to use
The approval system that family needs to log in print request just can be carried out printing, the bad problem of user experience.
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention
Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that disclosed below
Embodiment be only a part of the embodiment of the present invention, and not all embodiment.Based on the embodiments of the present invention, this field
Those of ordinary skill's all other embodiment obtained without making creative work, belongs to protection of the present invention
Range.
Referring to Fig. 1, a kind of one embodiment of the measures and procedures for the examination and approval of print request includes: in the embodiment of the present invention
101, the print request that client issues in the application is intercepted using the mode that API is kidnapped;
When user is when client is using application program (such as word, excel) and issues print request, system be will use
The mode that API is kidnapped intercepts the print request.Mode, that is, API HOOK technology that API is kidnapped can play the normal call of API
One interception or the effect of middle layer can obtain control before calling normal API in this way, jump the generation for executing oneself
Code.When user attempts to print a file, using the API of API HOOK interception mimeograph documents, thus directly will not walk to beat
The process of printed text part, but other process is jumped to, such as printing approval process.
102, the print attribute information of the print request is extracted;
After intercepting a print request, the print attribute information of the print request is extracted, subsequently into printing
Approval process.Specifically, print attribute information may include: user identity, printer name, computer name, printing document
Title, the print time, prints the information such as content information, the page sum for printing document at printing Doctype.Any client is answered
With program, such as word, the programs such as pdf can all call this component of gdi32.dll when printing, and gdi32.dll is
The standardized component of windows operating system can belong to printing when printing by program known to the API description of its exploitation
Context of the property Information encapsulation in hdc object.The hdc object can be obtained using the method for hook endpage, save and convert
To print bitmap, for example the endpage under gdi32.dll can be linked up with by easyhook component, then by customized
It jumps function and extracts the print attribute information, the print attribute information extracted can be saved in the specified directory of client
Under.
103, the print request is examined according to the print attribute information;
Server can obtain the print attribute information from the specified directory of client, then according to the print attribution
Information examines the print request.Specifically, a print management system can be arranged in server, beaten getting
After printing attribute information, which is sent to print management system and is examined.The mode of examination & approval may include
Artificial examination & approval and automatic examination & approval.Artificial examination & approval carry out people to the every print request received by the user with the power of examination and approval
Work audit;Automatic examination & approval are that system can be automatically performed examination & approval according to the print attribute information of print request, obtain approval results.
104, whether the result for judging the examination & approval is that examination & approval pass through;
After obtaining approval results, judge whether the approval results are that examination & approval pass through.If the result of the examination & approval is examination & approval
Pass through, thens follow the steps 105;If the result of the examination & approval is that examination & approval do not pass through, 106 are thened follow the steps.
105, the print request is sent to printer, executes printing;
The print request examination & approval pass through, and the print request is sent to printer at this time, executes printing.
106, ignore the print request.
The print request examination & approval do not pass through, ignore the print request at this time.Furthermore it is also possible to return to corresponding prompt
Information is to client, for example examines the prompting and the unsanctioned reason of examination & approval of failure.
The measures and procedures for the examination and approval for the print request that the embodiment of the present invention proposes include: to intercept client using the mode that API is kidnapped
The print request issued in the application;Extract the print attribute information of the print request;Believed according to the print attribution
Breath examines the print request;If the result of the examination & approval is that examination & approval pass through, the print request is sent to and is beaten
Print machine executes printing;If the result of the examination & approval is that examination & approval do not pass through, ignore the print request.Using this printing
The measures and procedures for the examination and approval of request, user can directly initiate print request in the application program (such as word, excel) of client,
System will use API abduction mode intercept the print request, then jump to the entrance of approval process, to the print request into
Row examination & approval, to complete primary printing process.As it can be seen that without logging in printing approval system in client when user prints, it is not necessary to
The printing habit for changing oneself, to effectively improve user experience.
Referring to Fig. 2, a kind of second embodiment of the measures and procedures for the examination and approval of print request includes: in the embodiment of the present invention
201, the print request that client issues in the application is intercepted using the mode that API is kidnapped;
Step 201 is identical as step 101, specifically can refer to the related description of step 101.
202, the print attribute information of the print request is extracted, the print attribute information includes user identity;
After intercepting a print request, the print attribute information of the print request, the print attribution are extracted
Information includes user identity.Specifically, the user identity is the account that user uses when client logs in.
203, print right table corresponding with the user identity is obtained;
After obtaining user identity, print right table corresponding with the user identity is obtained.Server can be preparatory
Corresponding print right table is constructed for each user identity, and is saved in the database.The print right table is for limiting user
The print right having, than such as whether having printing right, printable number, printable document number of pages, printable time etc..
204, the result of examination & approval is determined according to the print right table and the print attribute information;
After obtaining print right table corresponding with the user identity, according to the print right table and the printing
Attribute information determines the result of examination & approval.Specifically, whether can judge the print request according to the parameter in print attribute information
The condition for meeting the restriction of print right table is examined if meeting and is passed through, do not pass through if being unsatisfactory for examining.
Optionally, the print right table includes the printable Doctype of the user identity, the print attribution letter
Breath further includes Doctype to be printed, and step 204 may include:
(1) if the Doctype to be printed belongs to the printable Doctype of the user identity, it is determined that described
The result of examination & approval is that examination & approval pass through;
(2) if the Doctype to be printed is not belonging to the printable Doctype of the user identity, it is determined that institute
The result of examination & approval is stated not pass through for examination & approval.
Print right table can limit the Doctype that each user identity can print, then from print attribute information
Doctype to be printed is obtained, if Doctype to be printed belongs to printable one of the Doctype of user identity, is examined
It criticizes and passes through.If Doctype to be printed is not belonging to the printable Doctype of user identity, examines and do not pass through.
Optionally, the print right table includes the user identity printable period, and step 204 may include:
(1) if current time belongs to the user identity printable period, it is determined that the result of the examination & approval is careful
It criticizes and passes through;
(2) if current time is not belonging to the user identity printable period, it is determined that the result of the examination & approval is
Examination & approval do not pass through.
Print right table can also limit the period that each user can print, to be staggered the print time, avoid the occurrence of
Concentrate the congestion problems of printing.Then server judges whether the system time belongs to institute by obtaining current system time
The user identity printable period is stated otherwise to examine and do not pass through if then examination & approval pass through.
Optionally, the print right table includes printable number and the user identity of described user identity this month
The document total page number that this month can print, the print attribute information further includes the total page number of document to be printed, and step 204 can wrap
It includes:
(1) print record of the user identity is inquired;
(2) determine that number that described user identity this month has printed and the user identity are worked as according to the print record
The document total page number that the moon has printed;
(3) if the number that has printed of described user identity this month is less than the number that described user identity this month can print, and
The sum of total page number of document total page number and the document to be printed that described user identity this month has printed is less than user's body
The of that month printable document total page number of part, it is determined that the result of the examination & approval is that examination & approval pass through;
(4) if the number that has printed of described user identity this month is greater than or equal to time that described user identity this month can print
The sum of the total page number of document total page number and the document to be printed that several or described user identity this month has printed is greater than or waits
In the document total page number that described user identity this month can print, it is determined that the result of the examination & approval is that examination & approval do not pass through.
For step (1), server can store the print record of each user, for example have printed what text at what time
Shelves, the print records such as total page number of the document.After determining user identity, it can be inquired from database and obtain user's body
The print record of part.
For step (2), due to the relevant information that print record record user prints every time, therefore can be according to described
Print record determines the number that described user identity this month has printed and the total page of document that described user identity this month has printed
Number.
For step (3), if the number that described user identity this month has printed is printable less than described user identity this month
Number, and the sum of total page number of the document total page number that has printed of described user identity this month and the document to be printed is less than institute
State user identity this month printable document total page number, it is determined that the result of the examination & approval is that examination & approval pass through.For example, certain user A
Print right table in limit its this month printable 30 times, this month printable document total page number is 300.If A this month has printed
20 times, the document total page number that A this month has printed is 200, and the total page number of document to be printed is 30, then approval results are that examination & approval are logical
It crosses.
For step (4), if the number that described user identity this month has printed is greater than or equal to described user identity this month
The total page number of document total page number that printable number or described user identity this month have printed and the document to be printed it
With the document total page number that can print more than or equal to described user identity this month, it is determined that the result of the examination & approval is that examination & approval are not led to
It crosses.For example, in the example of above-mentioned steps (3), if the total page of document that A this month has printed 30 times or more or A this month has printed
Number is 290, and the total page number of document to be printed is 20 (290+20=310 > 300), then approval results are not pass through.
Further, the document total page number that described user identity this month can print can be determined according to following steps:
(1) the printing funds in described user identity affiliated function this month are inquired;
(2) user identity affiliated function this month printable total page of document is calculated according to the printing funds
Number;
(3) job information of the user identity and department's number of the user identity affiliated function are obtained;
(4) according to document total page number, the job information and the institute that user identity affiliated function this month can print
The department number of stating determines printable document total page number of described user identity this month.
Printing approval process is usually applied to the print management of enterprises, under the application scenarios, each user identity
All belong to some department.Server can preset the printing funds of each department monthly, or can be by related personnel
The printing funds of specified time typing in every month each department's next month.After determining user identity, the user is inquired
Then the printing funds in identity affiliated function this month are calculated the user identity affiliated function according to the printing funds and work as
The document total page number that the moon can print.It, can be first according to the price meter of paper, ink, the electricity charge and printer maintenance when calculating
Calculation obtains the printing cost of every page of document, and user identity affiliated function this month then is calculated in conjunction with printing funds can
The document total page number of printing.Then, the job information of the user identity and the department of the user identity affiliated function are obtained
Number, document total page number, the job information and the department that can print according to user identity affiliated function this month
Number determines printable document total page number of described user identity this month.Specifically, can be using according to department's number average mark
It is or different according to each user setting that the difference of position is respectively department with the document total page number that department's this month can print
(it is of that month that the sum of document total page number that the department all user's this month can print is equal to the department to the document total page number that this month can print
Printable document total page number).
205, whether the result for judging the examination & approval is that examination & approval pass through;
If the result of the examination & approval is that examination & approval pass through, 206 are thened follow the steps;If the result of the examination & approval is that examination & approval are not led to
It crosses, thens follow the steps 207.
206, the print request is sent to printer, executes printing;
Further, the print right table further includes printer ID workable for the user identity, it is described will be described
Print request is sent to printer
(1) if the quantity of the printer ID is one, it is corresponding that the print request is sent to the printer ID
Printer;
(2) if the quantity of the printer ID is two or more, obtain that each printer ID is corresponding to beat respectively
Then the print request is sent in the corresponding printer of each printer ID and prints by the print out task queue of print machine
The least printer of the print out task of task queue.
Specifically, print request can be sent to any one printer that the user can be used, then by this dozen
The relevant information (such as printer name, ID, present position etc.) of print machine returns to the client of user.In addition, if user can be with
Using plurality of printers, then the least printer of print out task of wherein print out task queue can be chosen.
207, ignore the print request.
Illustrating for step 205-207 can refer to step 104-106.
The measures and procedures for the examination and approval for the print request that the embodiment of the present invention proposes include: to intercept client using the mode that API is kidnapped
The print request issued in the application;Extract the print attribute information of the print request, the print attribute information packet
Include user identity;Obtain print right table corresponding with the user identity;Belonged to according to the print right table and the printing
Property information determine examination & approval result;If the result of the examination & approval is that examination & approval pass through, the print request is sent to printer,
Execute printing;If the result of the examination & approval is that examination & approval do not pass through, ignore the print request.The present embodiment being capable of basis
The print request that print right table and print attribute information automatically issue user is examined, with first implementation of the invention
Example is compared, and the examination & approval efficiency of printing is improved.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
Essentially describe a kind of measures and procedures for the examination and approval of print request above, below by the examination & approval device to a kind of print request into
Row detailed description.
Referring to Fig. 3, a kind of one embodiment of the examination & approval device of print request includes: in the embodiment of the present invention
Print request blocking module 301, the mode for being kidnapped using API intercept what client issued in the application
Print request;
Print attribute information extraction module 302, for extracting the print attribute information of the print request;
Print request approval module 303, for being examined according to the print attribute information to the print request;
Print request sending module 304 sends out the print request if the result for the examination & approval is that examination & approval pass through
It send to printer, executes printing;
Print request ignores module 305, if the result for the examination & approval is that examination & approval do not pass through, ignores the printing and asks
It asks.
Further, the print attribute information includes user identity, and the print request approval module may include:
Print right acquiring unit, for obtaining print right table corresponding with the user identity, the print right
Table is constructed and is stored in advance in the database of server;
Approval results determination unit, for determining the examination & approval according to the print right table and the print attribute information
Result.
Further, the print right table includes the printable Doctype of the user identity, the print attribution
Information further includes Doctype to be printed, and the approval results determination unit may include:
First examination & approval subelement, if belonging to the printable document of the user identity for the Doctype to be printed
Type, it is determined that the result of the examination & approval is that examination & approval pass through;
Second examination & approval subelement, if being not belonging to the printable text of the user identity for the Doctype to be printed
Shelves type, it is determined that the result of the examination & approval is that examination & approval do not pass through.
Further, the print right table includes the user identity printable period, and the approval results are true
Order member may include:
Third examines subelement, if belonging to the user identity printable period for current time, it is determined that institute
The result of examination & approval is stated to pass through for examination & approval;
4th examination & approval subelement, if being not belonging to the user identity printable period for current time, it is determined that
The result of the examination & approval is that examination & approval do not pass through.
Further, the print right table includes printable number and user's body of described user identity this month
The of that month printable document total page number of part, the print attribute information further includes the total page number of document to be printed, the examination & approval knot
Fruit determination unit may include:
Subelement is inquired in print record, for inquiring the print record of the user identity;
It has printed document and has determined subelement, for determining what described user identity this month had printed according to the print record
The document total page number that number and described user identity this month have printed;
5th examination & approval subelement, if it is of that month to be less than the user identity for the number that described user identity this month has printed
Printable number, and the sum of the total page number of the document total page number that has printed of described user identity this month and the document to be printed
The document total page number that can print less than described user identity this month, it is determined that the result of the examination & approval is that examination & approval pass through;
6th examination & approval subelement, if the number for described user identity this month to have printed is greater than or equal to user's body
The document total page number that the of that month printable number of part or described user identity this month have printed is total with the document to be printed
The sum of number of pages is greater than or equal to the document total page number that can print in described user identity this month, it is determined that the result of the examination & approval is careful
It criticizes and does not pass through.
Further, the approval results determination unit can also include:
Printing funds inquire subelement, for inquiring the printing funds in described user identity affiliated function this month;
Department can print document number of pages computation subunit, for the user identity to be calculated according to the printing funds
The document total page number that affiliated function's this month can print;
Acquisition of information subelement, for obtain the user identity job information and the user identity affiliated function
Department's number;
User can print document number of pages and determine subelement, for what be can print according to user identity affiliated function this month
Document total page number, the job information and department's number determine the printable total page of document of described user identity this month
Number.
Further, the print right table further includes printer ID workable for the user identity, and the printing is asked
The sending module is asked to may include:
First print request transmission unit, if the quantity for the printer ID is one, by the print request
It is sent to the corresponding printer of the printer ID;
Second print request transmission unit obtains each respectively if the quantity for the printer ID is two or more
The print out task queue of the corresponding printer of a printer ID, is then sent to each printing for the print request
The least printer of the print out task of print out task queue in the corresponding printer of machine ID.
The embodiment of the present invention also provides a kind of computer readable storage medium, and the computer-readable recording medium storage has
Computer-readable instruction realizes that any one indicated such as Fig. 1 or Fig. 2 is beaten when the computer-readable instruction is executed by processor
The step of printing the measures and procedures for the examination and approval of request.
The embodiment of the present invention also provides a kind of server, including memory, processor and storage are in the memory
And the computer-readable instruction that can be run on the processor, the processor are realized when executing the computer-readable instruction
As Fig. 1 or Fig. 2 any one print request indicated the measures and procedures for the examination and approval the step of.
Fig. 4 is the schematic diagram for the server that one embodiment of the invention provides.As shown in figure 4, the server 4 of the embodiment wraps
It includes: processor 40, memory 41 and being stored in the computer that can be run in the memory 41 and on the processor 40
Readable instruction 42.The processor 40 realizes the examination & approval side of above-mentioned each print request when executing the computer-readable instruction 42
Step in method embodiment, such as step 101 shown in FIG. 1 is to 106.Alternatively, the processor 40 execute the computer can
The function of each module/unit in above-mentioned each Installation practice, such as the function of module 301 to 305 shown in Fig. 3 are realized when reading instruction 42
Energy.
Illustratively, the computer-readable instruction 42 can be divided into one or more module/units, one
Or multiple module/units are stored in the memory 41, and are executed by the processor 40, to complete the present invention.Institute
Stating one or more module/units can be the series of computation machine readable instruction section that can complete specific function, the instruction segment
For describing implementation procedure of the computer-readable instruction 42 in the server 4.
The server 4 can be desktop PC, notebook, palm PC and cloud server etc. and calculate equipment.
The server 4 may include, but be not limited only to, processor 40, memory 41.It will be understood by those skilled in the art that Fig. 4 is only
It is the example of server 4, does not constitute the restriction to server 4, may include than illustrating more or fewer components or group
Close certain components or different components, for example, the server 4 can also include input-output equipment, network access equipment,
Bus etc..
The processor 40 can be central processing unit (CentraL Processing Unit, CPU), can also be
Other general processors, digital signal processor (DigitaL SignaL Processor, DSP), 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 is also possible to any conventional processor
Deng.
The memory 41 can be the internal storage unit of the server 4, such as the hard disk or memory of server 4.
The memory 41 is also possible to the External memory equipment of the server 4, such as the plug-in type being equipped on the server 4 is hard
Disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure DigitaL, SD) card, flash card
(FLash Card) etc..Further, the memory 41 can also both include the internal storage unit of the server 4 or wrap
Include External memory equipment.The memory 41 is for storing needed for the computer-readable instruction and the server other
Program and data.The memory 41 can be also used for temporarily storing the data that has exported or will export.
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.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention 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 present invention
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 or disk etc. are various can store journey
The medium of sequence code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before
Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.
Claims (10)
1. a kind of measures and procedures for the examination and approval of print request characterized by comprising
The print request that client issues in the application is intercepted using the mode that API is kidnapped;
Extract the print attribute information of the print request;
The print request is examined according to the print attribute information;
If the result of the examination & approval is that examination & approval pass through, the print request is sent to printer, executes printing;
If the result of the examination & approval is that examination & approval do not pass through, ignore the print request.
2. the measures and procedures for the examination and approval of print request according to claim 1, which is characterized in that the print attribute information includes using
Family identity, it is described according to the print attribute information to the print request carry out examination & approval include:
Print right table corresponding with the user identity is obtained, the print right table constructs in advance and is stored in server
In database;
The result of the examination & approval is determined according to the print right table and the print attribute information.
3. the measures and procedures for the examination and approval of print request according to claim 2, which is characterized in that the print right table includes described
The printable Doctype of user identity, the print attribute information further includes Doctype to be printed, described according to
Print right table and the print attribute information determine that the result of the examination & approval includes:
If the Doctype to be printed belongs to the printable Doctype of the user identity, it is determined that the knot of the examination & approval
Fruit is that examination & approval pass through;
If the Doctype to be printed is not belonging to the printable Doctype of the user identity, it is determined that the examination & approval
As a result do not pass through for examination & approval.
4. the measures and procedures for the examination and approval of print request according to claim 2, which is characterized in that the print right table includes described
It is the user identity printable period, described that the examination & approval are determined according to the print right table and the print attribute information
Result includes:
If current time belongs to the user identity printable period, it is determined that the result of the examination & approval is that examination & approval pass through;
If current time is not belonging to the user identity printable period, it is determined that the result of the examination & approval is that examination & approval are not led to
It crosses.
5. the measures and procedures for the examination and approval of print request according to claim 2, which is characterized in that the print right table includes described
The document total page number that user identity this month printable number and described user identity this month can print, the print attribution letter
Breath further includes the total page number of document to be printed, described to determine described examine according to the print right table and the print attribute information
Batch result include:
Inquire the print record of the user identity;
Determine that number that described user identity this month has printed and described user identity this month have been beaten according to the print record
The document total page number of print;
If the number that described user identity this month has printed is less than the number that can print in described user identity this month, and the user
The sum of total page number of document total page number and the document to be printed that identity this month has printed is less than described user identity this month can
The document total page number of printing, it is determined that the result of the examination & approval is that examination & approval pass through;
If the number that described user identity this month has printed is greater than or equal to the number that can print in described user identity this month, or
The sum of total page number of document total page number and the document to be printed that described user identity this month has printed is greater than or equal to described
The document total page number that user identity this month can print, it is determined that the result of the examination & approval is that examination & approval do not pass through.
6. the measures and procedures for the examination and approval of print request according to claim 5, which is characterized in that described user identity this month is printable
Document total page number according to following steps determine:
Inquire the printing funds in described user identity affiliated function this month;
User identity affiliated function this month printable document total page number is calculated according to the printing funds;
Obtain the job information of the user identity and department's number of the user identity affiliated function;
Document total page number, the job information and the people from department that can print according to user identity affiliated function this month
Number determines printable document total page number of described user identity this month.
7. the measures and procedures for the examination and approval of the print request according to any one of claim 2 to 6, which is characterized in that the printing right
Limit table further includes printer ID workable for the user identity, described the print request is sent to printer to include:
If the quantity of the printer ID is one, the print request is sent to the corresponding printing of the printer ID
Machine;
If the quantity of the printer ID is two or more, beating for each corresponding printer of the printer ID is obtained respectively
Task queue is printed, the print request is then sent to print out task queue in the corresponding printer of each printer ID
The least printer of print out task.
8. a kind of computer readable storage medium, the computer-readable recording medium storage has computer-readable instruction, special
Sign is, realizes that the printing as described in any one of claims 1 to 7 is asked when the computer-readable instruction is executed by processor
The step of measures and procedures for the examination and approval asked.
9. a kind of server, including memory, processor and storage can transport in the memory and on the processor
Capable computer-readable instruction, which is characterized in that the processor realizes following steps when executing the computer-readable instruction:
The print request that client issues in the application is intercepted using the mode that API is kidnapped;
Extract the print attribute information of the print request;
The print request is examined according to the print attribute information;
If the result of the examination & approval is that examination & approval pass through, the print request is sent to printer, executes printing;
If the result of the examination & approval is that examination & approval do not pass through, ignore the print request.
10. server according to claim 9, which is characterized in that the print attribute information includes user identity, described
Carrying out examination & approval to the print request according to the print attribute information includes:
Print right table corresponding with the user identity is obtained, the print right table constructs in advance and is stored in server
In database;
The result of the examination & approval is determined according to the print right table and the print attribute information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810952676.9A CN109284075A (en) | 2018-08-21 | 2018-08-21 | A kind of measures and procedures for the examination and approval of print request, storage medium and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810952676.9A CN109284075A (en) | 2018-08-21 | 2018-08-21 | A kind of measures and procedures for the examination and approval of print request, storage medium and server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109284075A true CN109284075A (en) | 2019-01-29 |
Family
ID=65182869
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810952676.9A Pending CN109284075A (en) | 2018-08-21 | 2018-08-21 | A kind of measures and procedures for the examination and approval of print request, storage medium and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109284075A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110221791A (en) * | 2019-06-14 | 2019-09-10 | 宜春宜联科技有限公司 | Print control program, printer and server |
CN110333829A (en) * | 2019-05-08 | 2019-10-15 | 深圳市联软科技股份有限公司 | A kind of file printout, the method, apparatus of examination & approval, medium and equipment |
CN110362281A (en) * | 2019-05-29 | 2019-10-22 | 益萃网络科技(中国)有限公司 | Print control program, device, computer equipment and storage medium |
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 |
CN114510201A (en) * | 2021-12-31 | 2022-05-17 | 富联智能工坊(郑州)有限公司 | Printing control method, printing control system and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101377731A (en) * | 2008-09-18 | 2009-03-04 | 北大方正集团有限公司 | Method and terminal for controlling document print |
CN102509045A (en) * | 2011-10-26 | 2012-06-20 | 苏州工业园区鑫海胜电子有限公司 | Printing permission control method based on local area network |
CN102541482A (en) * | 2010-12-27 | 2012-07-04 | 北大方正集团有限公司 | Method and system for document printing control and document tracing |
CN104111808A (en) * | 2014-07-24 | 2014-10-22 | 江苏敏捷科技股份有限公司 | Printing anti-leakage method |
-
2018
- 2018-08-21 CN CN201810952676.9A patent/CN109284075A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101377731A (en) * | 2008-09-18 | 2009-03-04 | 北大方正集团有限公司 | Method and terminal for controlling document print |
CN102541482A (en) * | 2010-12-27 | 2012-07-04 | 北大方正集团有限公司 | Method and system for document printing control and document tracing |
CN102509045A (en) * | 2011-10-26 | 2012-06-20 | 苏州工业园区鑫海胜电子有限公司 | Printing permission control method based on local area network |
CN104111808A (en) * | 2014-07-24 | 2014-10-22 | 江苏敏捷科技股份有限公司 | Printing anti-leakage method |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110333829A (en) * | 2019-05-08 | 2019-10-15 | 深圳市联软科技股份有限公司 | A kind of file printout, the method, apparatus of examination & approval, medium and equipment |
CN110362281A (en) * | 2019-05-29 | 2019-10-22 | 益萃网络科技(中国)有限公司 | Print control program, device, computer equipment and storage medium |
CN110362281B (en) * | 2019-05-29 | 2023-11-24 | 浙江坤盈科技有限公司 | Printing control method, device, computer equipment and storage medium |
CN110221791A (en) * | 2019-06-14 | 2019-09-10 | 宜春宜联科技有限公司 | Print control program, printer and server |
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 |
CN114510201A (en) * | 2021-12-31 | 2022-05-17 | 富联智能工坊(郑州)有限公司 | Printing control method, printing control system and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109284075A (en) | A kind of measures and procedures for the examination and approval of print request, storage medium and server | |
AU2002240198B8 (en) | Computer network and related methods for generating printer usage information | |
CN108805697A (en) | Loan transaction processing method and device, computer equipment and readable storage medium | |
US20140176992A1 (en) | Method and system for implementing printing service | |
CN112003920B (en) | Information sharing system | |
CN108959349B (en) | Financial audit inquiry system | |
CN107862441B (en) | Seal management method and device, computer equipment and storage medium | |
CN108255442A (en) | A kind of electronic invoice examination print system and method | |
CN108509158A (en) | Declaration form Method of printing, device, storage medium and computer equipment | |
CN101377731A (en) | Method and terminal for controlling document print | |
CN107977174A (en) | Cloud print system and method based on wechat barcode scanning certification | |
CN108242000A (en) | Invoice management method, system, computer installation and computer readable storage medium | |
CN109862562A (en) | A kind of dynamic verification code choosing method and system | |
CN110232633A (en) | A kind of electronic signature method, apparatus, storage medium and server | |
CN106815733A (en) | Data processing method, device and system and printer | |
CN102200894A (en) | Information processing device, printer, information processing method | |
CN103744630B (en) | A kind of distributed print control program and system | |
CN114626351A (en) | Form filling method and device combining RPA and AI, electronic equipment and storage medium | |
CN111488603A (en) | Method and device for identifying sensitive content of printed file | |
CN102855095A (en) | Printer printing content monitoring and auditing method based on windows printing pool | |
CN107239325A (en) | Document data processing method and device | |
CN102201042B (en) | Print job data management device, method and printing device | |
CN102193754B (en) | Print job information managing device and print job information managing method | |
CN109165147A (en) | Log print control program, device, system, back-end server and headend equipment | |
CN106020740B (en) | The method of backup is printed under a kind of Windows environment |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190129 |