KR20130033785A - Apparatus and method for marking persnol information in text using api hook, and program storing medium for executing the method - Google Patents
Apparatus and method for marking persnol information in text using api hook, and program storing medium for executing the method Download PDFInfo
- Publication number
- KR20130033785A KR20130033785A KR1020110097685A KR20110097685A KR20130033785A KR 20130033785 A KR20130033785 A KR 20130033785A KR 1020110097685 A KR1020110097685 A KR 1020110097685A KR 20110097685 A KR20110097685 A KR 20110097685A KR 20130033785 A KR20130033785 A KR 20130033785A
- Authority
- KR
- South Korea
- Prior art keywords
- output
- personal information
- api
- hook
- page
- Prior art date
Links
Images
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
-
- 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
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
Description
The present invention relates to a technology for marking personal information included in output printed by an application by hooking a printer output API.
Recently, important information such as personal information is easily leaked due to the development of internet technology, which is emerging as a social problem. In addition, a large number of documents are created, printed, and used through various document processing applications, and used documents are often discarded randomly. However, these documents may contain important personal information that the public can easily overlook. In general, when users discard the printed document after discarding it, they often throw it into the trash without thinking. Sometimes, when the printout contains their personal information, they blacken it with a black ballpoint pen to erase and discard or tear it. However, it would be inconvenient to do this each time the user discards the document. Korean Patent Registration No. 10-0396311 discloses a technique for preventing forgery modulation of digital resources through API hooks.
A technique for preventing the leakage of personal information through the output is provided by hooking an API related to text output executed by an application to remove personal information in the output.
According to an aspect, the personal information marking device in the output using the hook hooked to an API hook and an API hook that handles a hook to an API function when an application uses a printer output application programming interface (API) After this processing, the output is started in the application includes a personal information removing unit for removing personal information in the output.
According to an additional aspect, the API hooking unit detects whether an application uses a printer output application programming interface (API) and an API usage detecting unit and removes personal information in the output for the API function when the application is detected to use the printer output API. It may include an API hook processing unit for processing a hook (Hook) for.
At this time, the API hook processing unit, the code of the printer output API to remove the personal information contained in the page by the personal information removing unit before the output is started after the output for any one page so that the personal information is removed in units of pages of the output You can handle hooks to the API by changing the.
According to a further aspect, the personal information removing unit, the output storage unit for storing the contents of the output in the memory when the output of the output, the personal information through the pattern matching according to the type of personal information of the contents of the output stored in the memory The personal information retrieval unit may include a personal information location tracking unit for tracking the location of the personal information in the output and the personal information marking unit for marking the personal information of the tracked location with a predetermined mark if the search result personal information exists.
At this time, the output storage unit may store the contents of the page in the memory when the output of any one page in the page unit of the output.
According to another aspect, the method of marking personal information in the output using the hook hooked by the AP, detecting whether the application uses the printer output application programming interface (API), the application is detected using the printer output application programming interface (API) If the hook is processed for the API (Hook), and if the output is started in the application after the hook for the API is processed, the step of removing personal information in the output.
According to a further aspect, the step of removing personal information includes storing the contents of the output in a memory when the output of the output is started, and retrieving the personal information through pattern matching according to the type of personal information of the contents of the output stored in the memory. And if the search result personal information exists, tracking the location of the personal information in the output, and marking the personal information of the tracked location with a predetermined mark.
In this case, in the storing in the memory, a hook for the print output API is processed, and when the output of any one page is started in units of pages of the output, the page may be stored in the memory.
According to a further aspect, the step of processing a hook to the API may include removing the personal information by the personal information removing unit before the output of one page is started and then terminated so that the personal information is removed in units of pages of the output. By changing the code of the printer output API, a hook can be processed for the API.
According to another aspect, the program recording medium is recorded with a program for executing the method of marking personal information in the output using the hook hook.
It is possible to prevent the leakage of personal information through the output by hooking the text output related API executed by the application to remove the personal information in the output. It can eliminate the inconvenience that users have to remove personal information in the printed document every time.
1 is a block diagram of an apparatus for marking personal information in an output using an AP hook according to an exemplary embodiment.
FIG. 2 is a detailed block diagram of the personal information marking apparatus of FIG. 1.
3 is a flowchart of a method for marking personal information in an output using an API hook, according to an exemplary embodiment.
4 is a detailed flowchart of a personal information removing step according to the embodiment of FIG. 3.
Specific details of other embodiments are included in the detailed description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS The advantages and features of the present invention, and the manner of achieving them, will be apparent from and elucidated with reference to the embodiments described hereinafter in conjunction with the accompanying drawings. The present invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. To fully disclose the scope of the invention to those skilled in the art, and the invention is only defined by the scope of the claims. Like reference numerals refer to like elements throughout the specification.
Hereinafter, an apparatus for recording personal information in the output using the hook hook according to embodiments of the present invention, a method, and a recording medium containing a program for executing the method will be described in detail with reference to the drawings.
1 is a block diagram of an apparatus for marking personal information in an output using an AP hook according to an exemplary embodiment. As shown in FIG. 1, the personal
The handling of API hooks is not supported by the operating system, but rather a mechanism that changes the calling position to an arbitrary function that is created by the user by monitoring the part where an API is called. Can be. The
According to an additional aspect, the
The personal
The aforementioned
FIG. 2 is a detailed block diagram of the personal
The API
The API
The personal
The personal
The personal information
The personal
3 is a flowchart of a method for marking personal information in an output using an API hook, according to an exemplary embodiment. Referring to FIG. 3, the method for marking personal information is first detected by detecting whether the target application is executed and hooking the printer output API of the target application when the monitored application is executed (step 100). That is, in order to monitor whether the
Next, the output is output from the
The API
Finally, when the output of the output is started by the
4 is a detailed flowchart of a personal information removing step according to the embodiment of FIG. 3. Referring to Figure 4 will be described in more detail the
Then, when the output starts and the contents of the page begin to be output, the contents of the page are stored in the memory (step 420). That is, when output is started for each page in order to search and mark personal information in units of pages of the output, the contents of the page may be stored in a memory.
The personal information is then retrieved from the page stored in memory (step 430). The personal information may be searched for through the pattern matching according to the type of personal information of the contents of the output stored in the memory. The personal information may be a social security number, a telephone number, a credit card number, and the like. Various types of personal information have a specific pattern. The social security number represents a pattern in which 6 digits and 7 digits are connected by '-', such as 123456-1234567. Therefore, it is possible to know whether personal information exists in the output by matching a pattern for each type of such personal information. A pattern information DB (not shown) in which pattern information is stored for each type of personal information may be used to search whether personal information exists in a page of an output stored in a memory. The presence or absence of personal information may be searched by searching whether a pattern matching the pattern stored in the pattern information DB (not shown) exists in the page of the output.
It is determined whether the search result personal information exists (step 440). If no personal information exists, it is checked whether the current page is the last page (step 480). If personal information exists, the location of the retrieved personal information in the page is tracked (step 450). When the output of the page is started, parameter information such as text content, text location, and line may be stored in the memory.
The personal information of the tracked position on the page stored in the memory is then marked with a predetermined mark (step 460). Marking with a predetermined mark may mean deleting personal information or replacing it with another character (eg, *) in the content of the output on the memory. In this case, the personal information may be marked only in whole or in part according to the setting.
Then, when the removal of personal information on the current page stored in the memory is completed, the output is completed on the page in the current memory (for example, calling the EndPage function) so that the contents are recorded in the temporary file (step 470).
Finally, it is checked whether the page currently stored in memory is the last page of the output (step 480). If it is not the last page, repeat the above procedure until all pages are finished.
According to an embodiment, the method for marking personal information in the output using the hook of AP according to the embodiments of FIGS. 3 and 4 may be implemented in a program and recorded in a computer-readable recording medium. Examples of computer-readable recording media include ROM, RAM, CD-ROMs, magnetic tapes, floppy disks, optical data storage devices, portable storage devices such as USB and SD cards, and carrier waves (e.g., transmission over the Internet). And the like, but are not limited thereto. In addition, the computer may include all information processing devices such as a PC and a mobile terminal.
The program recorded on the recording medium according to the present embodiment may execute a method of marking personal information in the output using the hook hooked by API. That is, the
In addition, the program according to the present embodiment may remove personal information from the output when the output of the output is started by the
In addition, when the output starts to be output, the content of the page may be stored in the memory, and the personal information may be retrieved from the page stored in the memory. Personal information can be retrieved through matching the contents of the printout stored in the memory according to the type of personal information (for example, the social security number is a pattern in which 6-digit and 7-digit numbers are connected with '-', such as 123456-1234567). have.
In addition, the program of the present embodiment determines whether the personal information exists in the search result, and if the personal information does not exist, checks whether the page currently stored in the memory is the last page, and if the personal information exists, the personal information searched in the page is stored. It can perform the function of tracking the existing location. In addition, a function of tracking a location where personal information exists in the contents of the output stored in the memory and marking a predetermined mark such as erasing the personal information of the corresponding location or replacing it with another character (eg, *) may be performed.
In addition, it is possible to check whether the page currently stored in the memory is the last page of the output, and if not the last page, the above procedure may be repeatedly performed until the marking operation for all pages is completed.
It will be understood by those skilled in the art that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. It is therefore to be understood that the above-described embodiments are illustrative in all aspects and not restrictive. The scope of the present invention is defined by the appended claims rather than the foregoing detailed description, and all changes or modifications derived from the meaning and scope of the claims and the equivalents thereof are included in the scope of the present invention Should be interpreted.
200: personal information marking device 210: API hooking unit
211: API use detection unit 212: API hook processing unit
220: personal information removing unit 221: output storage unit
222: personal information search unit 223: personal information location tracking unit
224: personal information marking unit
Claims (10)
Personal information marking device in the output using the hook hook; including a; personal information removing unit for removing the personal information in the output when the output is started in the application after the hook for the API function is processed.
An API usage detector for detecting whether an application uses a printer output application programming interface (API); And
API hook processing unit for processing a hook (Hook) for removing the personal information in the output for the API function if the application is detected using the printer output API; Personal information marking device in the output using the hook API .
By changing the code of the printer output API to remove the personal information included in the page by the personal information removing unit before the output of any one page and before the output is terminated so that the personal information is removed on a page-by-page basis. Personal information marking device in the output using the hook hook AI characterized by processing the hook.
An output storage unit for storing the contents of the output in a memory when output of the output is started;
A personal information retrieval unit for retrieving personal information through pattern matching according to the type of personal information of the contents of the output stored in the memory;
A personal information location tracking unit for tracking the location of the personal information in the output if the personal information exists as a result of the search; And
Personal information marking device in the output using the hook hook including; a personal information marking unit for marking the personal information of the tracked position with a predetermined mark.
Personal information marking apparatus in the output using the hook hook, characterized in that for storing the contents of the page when the output of any one page in the page unit of the output.
Processing a hook for the API when the application is detected to use a printer output application programming interface (API); And
Removing personal information in the output when the output is started in the application after the hook for the API is processed; comprising a personal information marking method in the output using api hook.
Storing the contents of the output in a memory when the output of the output is started;
Retrieving personal information through pattern matching according to the type of personal information of the contents of the output stored in the memory;
Tracking the location of the personal information in the output if the personal information exists as a result of the search; And
Marking the personal information of the tracked position with a predetermined mark; Personal information marking method in the output using the hook hook.
By processing a hook for the print output API, when the output of any one page is started on a page basis of the print, marking the personal information in the output using the hook hook, characterized in that for storing the page in the memory Way.
Processing a hook on the API by changing the code of the printer output API to remove the personal information by the personal information removing unit before the output of any one page and before the output is terminated so that personal information is removed on a page-by-page basis. Personal information marking method in the output using the hook hook characterized in that.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020110097685A KR20130033785A (en) | 2011-09-27 | 2011-09-27 | Apparatus and method for marking persnol information in text using api hook, and program storing medium for executing the method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020110097685A KR20130033785A (en) | 2011-09-27 | 2011-09-27 | Apparatus and method for marking persnol information in text using api hook, and program storing medium for executing the method |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20130033785A true KR20130033785A (en) | 2013-04-04 |
Family
ID=48436097
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020110097685A KR20130033785A (en) | 2011-09-27 | 2011-09-27 | Apparatus and method for marking persnol information in text using api hook, and program storing medium for executing the method |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20130033785A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108646988A (en) * | 2018-03-20 | 2018-10-12 | 北京明朝万达科技股份有限公司 | Document printing method and system |
CN109683922A (en) * | 2014-12-05 | 2019-04-26 | 北京奇虎科技有限公司 | Unloading cracks the method and device of edition application program |
-
2011
- 2011-09-27 KR KR1020110097685A patent/KR20130033785A/en not_active Application Discontinuation
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109683922A (en) * | 2014-12-05 | 2019-04-26 | 北京奇虎科技有限公司 | Unloading cracks the method and device of edition application program |
CN108646988A (en) * | 2018-03-20 | 2018-10-12 | 北京明朝万达科技股份有限公司 | Document printing method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8925822B2 (en) | Encoding, updating, and decoding barcodes in a document | |
US7843590B2 (en) | Information management method and information management system | |
JP4802672B2 (en) | Electronic document management apparatus, electronic document management program, electronic document management system | |
CN112132710B (en) | Legal element processing method and device, electronic equipment and storage medium | |
EP2890100A2 (en) | Image processing apparatus | |
WO2015196981A1 (en) | Method and device for recognizing picture junk files | |
US7321692B2 (en) | Method, device and computer program product for processing information in a memory | |
CN111382126A (en) | System and method for deleting files and hindering file recovery | |
JP2009232265A (en) | Image log management device and image log management program | |
JP2005275652A (en) | Apparatus and method for processing input trajectory | |
CN102004653B (en) | Image forming apparatus and installation method | |
JP2007188440A (en) | Method and device for generating database and database generated thereby | |
KR20130033785A (en) | Apparatus and method for marking persnol information in text using api hook, and program storing medium for executing the method | |
US20090106319A1 (en) | Data management apparatus and data management method | |
CN105260423A (en) | Duplicate removal method and apparatus for electronic cards | |
CN103365535A (en) | Information processing apparatus and information processing method | |
JP4807289B2 (en) | Information processing apparatus, file processing method, and program | |
CN103425718A (en) | Information processing system and information processing method | |
JP4136282B2 (en) | Image processing apparatus, image processing method, and storage medium | |
KR20110023580A (en) | The method and system for recovering data | |
US20070055677A1 (en) | Information device | |
JP5100191B2 (en) | Information processing apparatus and information processing method | |
CN105808516B (en) | Information processing method and electronic equipment | |
KR101518483B1 (en) | Method for permanently deleting the data on hard disk | |
CN108595123A (en) | The date storage method and device of mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E601 | Decision to refuse application |