CN106020740A - Method for printing back-up in Windows environment - Google Patents

Method for printing back-up in Windows environment Download PDF

Info

Publication number
CN106020740A
CN106020740A CN201510910308.4A CN201510910308A CN106020740A CN 106020740 A CN106020740 A CN 106020740A CN 201510910308 A CN201510910308 A CN 201510910308A CN 106020740 A CN106020740 A CN 106020740A
Authority
CN
China
Prior art keywords
printer
printing
printer name
name
file
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.)
Granted
Application number
CN201510910308.4A
Other languages
Chinese (zh)
Other versions
CN106020740B (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)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

Provided is a method for printing back-ups in Windows environment. The invention discloses a method for printing back-ups in Windows environment. The method comprises capturing printing operation, analyzing the printing operation, and cheating printing operation. The method can back up printing files under condition of not changing user use habits, and effectively solve a problem of information leakage through a printing approach.

Description

A kind of method printing backup under Windows environment
Technical field
The invention belongs to computer system security management technique field, standby particularly to printing under a kind of Windows environment The method of part.
Background technology
At present, printing device is widely used in working environment, also improves secrecy for people while bringing convenience The degree of risk of information leakage.Reveal security information by printing, generally involve user's higher level even core stage Secret, destructive power is big, and case-solving rate is low, greatly compromises the interests of individual, collective.Print redundancy technique to meet the tendency in this context And give birth to, for constituent parts by printing the information leakage problem that approach exists, it is proposed that effective solution.At present, it is achieved Print backup and mainly have two kinds of methods: one is installation agent program on terminal computer, utilize printing pool to monitor api interface Obtaining print data, the file analyzing concrete printing from the print data obtained backs up;Another kind is to dispose to print Server.When mimeograph documents, can only be by printing on files passe to be printed to printing server, at printing server Upper backup mimeograph documents.
The shortcoming of first method is to back up all mimeograph documents.Because printing pool monitoring api interface can only obtain printing The file name of file, obtains file full path footpath by file name and relies on concrete application program realization, it is impossible to ensure to obtain To correct file full path footpath, thus all mimeograph documents cannot be backed up.
Second method can back up all of mimeograph documents, but shortcoming is also apparent from.Mainly there is a following problem, first: this The method of kind needs to change the use habit of user, and user must will print on files passe to printing server, it is impossible to This locality completes printing.Second: all users print to queue up on printing server and carry out, and reduce work efficiency, Too increase the management cost to printing server simultaneously.
In sum, in the prior art, in the case of not changing user's use habit, it is impossible to realize backup all printings literary composition Part.
Summary of the invention
Present invention mainly solves technical problem is that: provide a kind of method printing backup under Windows environment, the method In the case of not changing user's use habit, back up all mimeograph documents.
For solving above-mentioned technical problem, the present invention adopts the following technical scheme that
A kind of method printing backup under Windows environment, comprises the steps of
A., virtual printer is installed: XPS virtual printer is installed on the terminal device, is used for printing content is stored disk In file;
B., API HOOK is installed: API HOOK is installed on the terminal device, is used for capturing the printing that application program is initiated;
C. Printer Information is obtained: obtain the Printer Information that terminal unit connects, including: printer name;
Only obtain the actual printer being directly connected to the machine and the actual printer being connected by network;
D. Printer Information is stored: be stored in internal memory by the printer name obtained in step c;
E. printing is captured: capture application program is initiated the api function of printing and called, and obtains printer name;
F. printing is analyzed: entered by the printer name of storage in the printer name obtained in step e and described step d Row compares.If the match is successful, perform step g;If mating unsuccessful, end operation;
G. printing deception: the printer name obtained in described step e is replaced with the virtual printer installed in step a Printer name.Preserve the printer name obtained in described step e in internal memory;
H. backup file is generated: wait that virtual printer has printed, the file that standby virtual printer generates;
I. mimeograph documents are generated: use the printer name preserved in described step g, print the backup file in described step h, Complete to print.
The beneficial effects of the present invention is: the method printing backup under a kind of windows environment of the present invention, can be for different Network size, in the case of not changing user's use habit, it is achieved backs up all mimeograph documents, is effectively prevented confidential information Leaked by printing type and spread.
Accompanying drawing explanation
Fig. 1 is the flow chart of the method printing backup of the present invention;
Fig. 2 is the structural representation printing standby system of embodiments of the invention.
Detailed description of the invention:
Below in conjunction with accompanying drawing and example, the present invention is described in further detail.
The invention provides a kind of method printing backup under Windows environment, its application scenarios is LAN environment, such as Fig. 2 Shown in, this LAN includes control station computer 201, client computer 202, public printing device and printing server 204, This public printing device is the printer 203 that a Daepori is logical, and the operating system of client computer is Windows operating system, In the case of not changing user's use habit, it is achieved back up all mimeograph documents.
Such as, the computer name of client computer referred to as APC, IP address is 192.168.0.85, and printer name is referred to as HP P2055D, IP address is 192.168.0.88, and user passes through client computer, uses Word application program to open a file Path be C: user Administrator desktop, file name be " logical soft company introduction ", file type be .doc, size For the file that 200k, number of pages are page 3.It it is the file execution whole document of printing of " logical soft company introduction .doc " to file name Operation, arranging printing number is 1 part.
As it is shown in figure 1, the specific works step of the method printing backup of the present invention is as follows:
A., virtual printer 101 is installed: virtual printer is installed on client computers, entitled: XPS Document Writer.Purpose be used for by file name be " logical soft company introduction ", file type be .doc, size be 200k, number of pages be page 3 File store in client computer disk file;
B. installing API HOOK102: install API HOOK on client computers, purpose is used for capturing WORD application program and sends out The printing risen
C. Printer Information 103 is obtained: obtaining the Printer Information that client computer is connected, Printer Information comprises printing Machine title HP P2055D;
D. storage Printer Information 104: printer name HP P2055D is stored to client computer internal memory;
E. the api function of capture printing 105:API HOOK capture WORD application program initiation printing calls, function Entitled StartDoc, obtains the parameter in function call, and parameter comprises printer name HP P2055D;
F. printing 106 is analyzed: the printer name HP P2055D of acquisition and the printer name of storage are mated;
Perform step 107 to be mated by the printer name obtaining printer name HP P2055D and storage, as consistent the most then It is made into merit, then continues executing with step 108, as inconsistent, then end operation;
G. printing deception 109: the printer name HP P2055D of acquisition is replaced with virtual printer name XPS Document Writer.And the printer name HP P2055D of acquisition is saved in client computer internal memory;
H. backup file 110 is generated: waiting that virtual XPS Document Writer printer prints and terminate, virtual printer is raw Becoming file, title: APC_2015-02-20-13-15-40-leads to soft company introduction .xps;Back up this file;
I. mimeograph documents 111 are generated: use printer name HP P2055D to print APC_2015-02-20-13-15-40-and lead to soft Company introduction .xps, printing completes.
The method of the present invention also can back up the mimeograph documents of extended formatting, the text such as such as EXCEL, PPT, PDF, TXT, JNT literary composition Part and JPG, TIF, PNG picture format file, and CAD, CAXA graphical format file.

Claims (1)

1. the method printing backup under Windows environment, comprises the steps of
A., virtual printer is installed: XPS virtual printer is installed on the terminal device, is used for printing content stores disk literary composition In part;
B., API HOOK is installed: API HOOK is installed on the terminal device, is used for capturing the printing that application program is initiated;
C. Printer Information is obtained: obtain the Printer Information that terminal unit connects, including: printer name;
Only obtain the actual printer being directly connected to the machine and the actual printer being connected by network;
D. Printer Information is stored: be stored in internal memory by the printer name obtained in step C;
E. printing is captured: capture application program is initiated the api function of printing and called, and obtains printer name;
F. printing is analyzed: carried out by the printer name of storage in the printer name obtained in step e and described step d Relatively, if the match is successful, perform step g;If mating unsuccessful, end operation;
G. printing deception: the printer name obtained in described step e is replaced with the virtual printer installed in step a Printer name, preserve the printer name obtained in described step e in internal memory;
H. backup file is generated: wait that virtual printer has printed, the file that standby virtual printer generates;
I. mimeograph documents are generated: use the printer name preserved in described step g, print the backup file in described step h, Complete to print.
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 true CN106020740A (en) 2016-10-12
CN106020740B 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)

Cited By (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 (4)

* 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
US20140115706A1 (en) * 2012-10-19 2014-04-24 ZanttZ,Inc. Network infrastructure obfuscation

Patent Citations (4)

* 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
US20140115706A1 (en) * 2012-10-19 2014-04-24 ZanttZ,Inc. Network infrastructure obfuscation
CN103336923A (en) * 2013-03-06 2013-10-02 西安电子科技大学 Print monitoring system and method for universal printer

Cited By (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

Also Published As

Publication number Publication date
CN106020740B (en) 2019-03-12

Similar Documents

Publication Publication Date Title
CN102662611B (en) Method for print-auditing in Windows environment
US8244914B1 (en) Systems and methods for restoring email databases
US8219766B1 (en) Systems and methods for identifying the presence of sensitive data in backups
CN109471699B (en) Virtual machine incremental backup system based on difference bitmap characteristics of Qcow2 image file
CN103279720B (en) The monitoring of a kind of USB printer secure print and auditing system
US9672366B1 (en) Techniques for clipboard monitoring
US20190073271A1 (en) Device backup and wipe
US20100005317A1 (en) Securing temporary data stored in non-volatile memory using volatile memory
CN106020740A (en) Method for printing back-up in Windows environment
CN102855095B (en) Printer printing content monitoring and auditing method based on windows printing pool
CN103973486B (en) A kind of Log Administration System based on B/S structures
CN102932574A (en) Information processing apparatus, information processing method and system
CN102541487A (en) Method and system for printing screenshots
JP4895785B2 (en) PRINT LOG DATA MANAGEMENT SYSTEM, PRINT LOG DATA MANAGEMENT DEVICE, PRINT LOG DATA COLLECTION DEVICE, ITS DATA MANAGEMENT METHOD, AND PROGRAM
Gómez-Miralles et al. Analysis of the forensic traces left by airprint in apple iOS devices
JP2005070846A (en) Stored program, computer readable medium storing it, storage method, and storage device
CN108255440A (en) A kind of method of Print auditing
JP6949338B2 (en) Electronic data management equipment, electronic data management system, programs and recording media for that purpose
CN102609498A (en) Method and device for reusing data of safety desktop
US11392704B2 (en) Apparatus for LAN booting environment-based file security and centralization, method therefor, and computer-readable recording medium on which program for performing same method is recorded
JP2018034300A (en) Information processor and program
EP3430524B1 (en) Print interface technology agnostic data loss prevention through print operations
CN101458614A (en) Output monitoring system, method and computer readable medium
JP2009217352A (en) Information leak suppression printing system
CN107783737A (en) A kind of cross-platform Method of printing and system

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.