CN106020740B - The method of backup is printed under a kind of Windows environment - Google Patents

The method of backup is printed under a kind of Windows environment Download PDF

Info

Publication number
CN106020740B
CN106020740B CN201510910308.4A CN201510910308A CN106020740B CN 106020740 B CN106020740 B CN 106020740B CN 201510910308 A CN201510910308 A CN 201510910308A CN 106020740 B CN106020740 B CN 106020740B
Authority
CN
China
Prior art keywords
printing
printer
file
printer name
backup
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.)
Active
Application number
CN201510910308.4A
Other languages
Chinese (zh)
Other versions
CN106020740A (en
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.)
360 Digital Security Technology Group Co Ltd
Original Assignee
SHENYANG GENERALSOFT 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 SHENYANG GENERALSOFT CO Ltd filed Critical SHENYANG GENERALSOFT CO Ltd
Priority to CN201510910308.4A priority Critical patent/CN106020740B/en
Publication of CN106020740A publication Critical patent/CN106020740A/en
Application granted granted Critical
Publication of CN106020740B publication Critical patent/CN106020740B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/1222Increasing security of the print job
    • 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/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1238Secure printing, e.g. user identification, user rights for device usage, unallowed content, blanking portions or fields of a page, releasing held jobs
    • 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/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1267Job repository, e.g. non-scheduled jobs, delay printing
    • 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/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server
    • G06F3/1286Remote printer device, e.g. being remote from client or server via local network

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)
  • Computer Security & Cryptography (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Backup method is printed under a kind of Windows environment, the invention discloses a kind of method for printing backup under Windows environment, this method includes capture printing, analyzes printing, printing deception.The present invention is not in the case where changing user's use habit, backup mimeograph documents, and effective solution passes through the information leakage problem of printing approach.

Description

The method of backup is printed under a kind of Windows environment
Technical field
The invention belongs to computer system security administrative skill field, in particular to printed under a kind of Windows environment standby The method of part.
Background technique
Currently, printing device is widely used in working environment, secrecy is also improved while bringing convenience for people The degree of risk of information leakage.Confidential information is revealed by printing, generally involves user's higher level even core stage Secret, destructive power is big, and case-solving rate is low, greatly compromises personal, collective interests.Printing redundancy technique is met the tendency of in this context And give birth to, for constituent parts by information leakage problem existing for printing approach, propose effective solution scheme.Currently, realizing There are mainly two types of methods for printing backup: one is the installation agent programs on terminal computer, utilize printing cell monitoring api interface Print data is obtained, the file specifically printed is analyzed from the print data of acquisition and is backed up;Another kind is deployment printing Server.In mimeograph documents, file to be printed can only be uploaded on printing server and be printed, in printing server Upper backup mimeograph documents.
The shortcomings that first method is cannot to back up all mimeograph documents.Because printing cell monitoring api interface can only obtain The file name of mimeograph documents obtains file full path diameter by file name and relies on specific application program realization, not can guarantee Correct file full path diameter is got, thus all mimeograph documents can not be backed up.
Second method can back up all mimeograph documents, but disadvantage is also apparent from.Mainly there is following problem, the One: this method needs to change the use habit of user, and file must be uploaded on printing server and be printed by user, nothing Method locally completes printing.Second: all user's printings must be lined up progress on printing server, reduce work effect Rate, while also increasing the management cost to printing server.
In conclusion in the prior art, in the case where not changing user's use habit, cannot achieve and back up all beat Printed text part.
Summary of the invention
The present invention solves the technical problem of: a kind of method that backup is printed under Windows environment, this method are provided In the case where not changing user's use habit, all mimeograph documents are backed up.
In order to solve the above technical problems, the present invention adopts the following technical scheme:
The method of backup is printed under a kind of Windows environment comprising the steps of:
A., virtual printer is installed: XPS virtual printer being installed on the terminal device, is arrived for content storage will be printed In disk file;
B., API HOOK is installed: API HOOK is installed on the terminal device, for capturing the printing behaviour of application program initiation Make;
C. it obtains Printer Information: obtaining the Printer Information of terminal device connection, comprising: printer name;
Only obtain the actual printer being directly connected to the machine and the actual printer by network connection;
D. it stores Printer Information: the printer name obtained in step c is stored in memory;
E. capture printing: the api function that capture application program initiates printing calls, and obtains printer name;
F. printing is analyzed: the printer name that will be stored in the printer name obtained in step e and the step d Title is compared.If successful match, step g is executed;If matching is unsuccessful, end operation;
G. printing cheat: the printer name obtained in the step e is replaced with installed in step a virtually beat The printer name of print machine.The printer name obtained in the step e is saved into memory;
H. it generates backup file: waiting virtual printer printing to complete, the file that standby virtual printer generates;
I. mimeograph documents are generated: using the printer name saved in the step g, printing the backup in the step h File completes printing.
The beneficial effects of the present invention are: the method that backup is printed under a kind of windows environment of the invention, it can be for not Same network size is realized in the case where not changing user's use habit and backs up all mimeograph documents, be effectively prevented secret Information is leaked and is spread by printing type.
Detailed description of the invention
Fig. 1 is the flow chart of the method for printing backup of the invention;
Fig. 2 is the structural schematic diagram of the printing standby system of the embodiment of the present invention.
Specific embodiment:
Below in conjunction with attached drawing and example, the invention will be described in further detail.
The present invention provides a kind of method for printing backup under Windows environment, application scenarios are LAN environment, such as Shown in Fig. 2, which includes console computer 201, client computer 202, public printing device and printing server 204, which is a common printer 203, and the operating system of client computer is Windows operation system System is realized in the case where not changing user's use habit and backs up all mimeograph documents.
For example, the computer name of client computer is known as APC, IP address 192.168.0.85, printer name is known as HP P2055D, IP address 192.168.0.88, user open one by client computer, using Word application program File path be C: user Administrator desktop, file name be " leading to soft company introduction ", file type .doc, The file that size is 200k, number of pages is page 3.The entire text of printing is executed to the file that file name is " leading to soft company introduction .doc " The operation of shelves, setting printing number is 1 part.
As shown in Figure 1, the specific work steps of the method for printing backup of the invention is as follows:
A., virtual printer 101 is installed: virtual printer, title being installed on client computers are as follows: XPS Document Writer.Purpose be used to by file name be " leading to soft company introduction ", file type .doc, size 200k, The file that number of pages is page 3 is stored into client computer disk file;
B., API HOOK102 is installed: API HOOK is installed on client computers, purpose is used to capture WORD application journey The printing that sequence is initiated
C. it obtains Printer Information 103: obtaining the Printer Information that client computer is connected, Printer Information includes Printer name HP P2055D;
D. it stores Printer Information 104: printer name HP P2055D is stored into client computer memory;
E. the api function that capture printing 105:API HOOK capture WORD application program initiates printing calls, Function name is StartDoc, obtains the parameter in function call, and parameter includes printer name HP P2055D;
F. printing 106: the printer name HP P2055D that will acquire and the progress of the printer name of storage is analyzed Match;
Execution step 107 will acquire printer name HP P2055D and the printer name of storage is matched, such as consistent Then successful match then continues to execute step 108, such as inconsistent, then end operation;
G. printing deception 109: the printer name HP P2055D that will acquire replaces with virtual printer name XPS Document Writer.And the printer name HP P2055D that will acquire is saved in client computer memory;
H. it generates backup file 110: waiting virtual XPS Document Writer printer printing to terminate, virtual printing Machine generates file, and title: APC_2015-02-20-13-15-40- leads to soft company introduction .xps;Back up this file;
I. mimeograph documents 111 are generated: printing APC_2015-02-20-13-15-40- using printer name HP P2055D Lead to soft company introduction .xps, printing is completed.
Method of the invention can also back up the texts such as the mimeograph documents of extended formatting, such as EXCEL, PPT, PDF, TXT, JNT This document and JPG, TIF, PNG picture format file and CAD, CAXA graphical format file.

Claims (1)

1. printing the method for backup under a kind of Windows environment comprising the steps of:
A., virtual printer is installed: XPS virtual printer is installed on the terminal device, is used to print content storage to disk In file;
B., API HOOK is installed: API HOOK is installed on the terminal device, for capturing the printing of application program initiation;
C. it obtains Printer Information: obtaining the Printer Information of terminal device connection, comprising: printer name;
Only obtain the actual printer being directly connected to terminal device and the actual printer by network connection;
D. it stores Printer Information: the printer name obtained in step C is stored in memory;
E. capture printing: the api function that capture application program initiates printing calls, and obtains printer name;
F. it analyzes printing: the printer name stored in the printer name obtained in step e and the step d is carried out Compare, if successful match, executes step g;If matching is unsuccessful, end operation;
G. printing is cheated: the printer name obtained in the step e is replaced with the virtual printing installed in step a The printer name of machine saves the printer name obtained in the step e into memory;
H. it generates backup file: waiting virtual printer printing to complete, the file that standby virtual printer generates;
I. mimeograph documents are generated: using the printer name saved in the step g, printing the backup file in the step h, Complete printing.
CN201510910308.4A 2015-12-10 2015-12-10 The method of backup is printed under a kind of Windows environment Active CN106020740B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510910308.4A CN106020740B (en) 2015-12-10 2015-12-10 The method of backup is printed under a kind of Windows environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510910308.4A CN106020740B (en) 2015-12-10 2015-12-10 The method of backup is printed under a kind of Windows environment

Publications (2)

Publication Number Publication Date
CN106020740A CN106020740A (en) 2016-10-12
CN106020740B true CN106020740B (en) 2019-03-12

Family

ID=57082510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510910308.4A Active CN106020740B (en) 2015-12-10 2015-12-10 The method of backup is printed under a kind of Windows environment

Country Status (1)

Country Link
CN (1) CN106020740B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106777940A (en) * 2016-12-07 2017-05-31 哈尔滨点网科技发展有限公司 A kind of medical report virtual printer and virtual printing method
CN110175006A (en) * 2019-05-30 2019-08-27 北京奇安信科技有限公司 Print the processing method and processing device of source file
CN112230867A (en) * 2020-10-16 2021-01-15 无锡鹦鹉螺软件有限公司 Method for monitoring printing content of physical printer

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662611A (en) * 2012-03-05 2012-09-12 沈阳通用软件有限公司 Method for print-auditing in Windows environment
CN103218181A (en) * 2012-01-19 2013-07-24 郑州鼎昌计算机科技有限公司 Data safety printing control method based on virtual printer technology
CN103336923A (en) * 2013-03-06 2013-10-02 西安电子科技大学 Print monitoring system and method for universal printer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014063110A1 (en) * 2012-10-19 2014-04-24 ZanttZ, Inc. Network infrastructure obfuscation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218181A (en) * 2012-01-19 2013-07-24 郑州鼎昌计算机科技有限公司 Data safety printing control method based on virtual printer technology
CN102662611A (en) * 2012-03-05 2012-09-12 沈阳通用软件有限公司 Method for print-auditing in Windows environment
CN103336923A (en) * 2013-03-06 2013-10-02 西安电子科技大学 Print monitoring system and method for universal printer

Also Published As

Publication number Publication date
CN106020740A (en) 2016-10-12

Similar Documents

Publication Publication Date Title
CN107423629B (en) Method and system for file information output anti-disclosure and tracing
CN102662611B (en) Method for print-auditing in Windows environment
CN105183403B (en) A kind of printing management-control method based on CUPS frameworks
US10216465B2 (en) Methods and systems to integrate document printing and scanning operations
JP2012133489A (en) Printing system, printing service device, service providing device, control method and program
CN106020740B (en) The method of backup is printed under a kind of Windows environment
CN101377731A (en) Method and terminal for controlling document print
CN103118031A (en) Method and electronic device for logging in application account
JP2014221521A (en) Image formation apparatus and its control method, and program
CN109739690B (en) Backup method and related products
CN102402655A (en) Dynamic password setting method for virtual machine
CN106210431B (en) The control method of information processing unit and information processing unit
CN109284075A (en) A kind of measures and procedures for the examination and approval of print request, storage medium and server
CN112637342B (en) File ferrying system, method and device and ferrying server
US9069513B2 (en) Print control device, email transmission device, print controlling method and non-transitory computer readable recording medium
CN106528007A (en) Printing control system and printing method thereof
JP5509973B2 (en) Print job information management device, printing device, print job information management program
US20160021264A1 (en) Information processing system, information processing device, portable terminal, and non-transitory computer readable medium
CN102541487B (en) A kind of method and system for printing sectional drawing
CN108255440A (en) A kind of method of Print auditing
CN109614200A (en) A method of extracting the hds mirror image data of Parallels Desktop virtual machine
JP2005070846A (en) Stored program, computer readable medium storing it, storage method, and storage device
CN106055416B (en) Method and device for data cross-application transfer
JP4881171B2 (en) Host output processing system, host output processing method, host output processing program, and recording medium
Gómez-Miralles et al. Analysis of the forensic traces left by airprint in apple iOS devices

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210714

Address after: 100020 1773, 15 / F, 17 / F, building 3, No.10, Jiuxianqiao Road, Chaoyang District, Beijing

Patentee after: Beijing Hongteng Intelligent Technology Co.,Ltd.

Address before: 110179 No.11, Lane 3, Wenhua Road, Heping District, Shenyang City, Liaoning Province

Patentee before: SHENYANG GENERALSOFT Co.,Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100020 1773, 15 / F, 17 / F, building 3, No.10, Jiuxianqiao Road, Chaoyang District, Beijing

Patentee after: Sanliu0 Digital Security Technology Group Co.,Ltd.

Address before: 100020 1773, 15 / F, 17 / F, building 3, No.10, Jiuxianqiao Road, Chaoyang District, Beijing

Patentee before: Beijing Hongteng Intelligent Technology Co.,Ltd.