Information processing device, information processing method, and program
The information processing device uses multiple detection methods and scoring to accurately identify personal information in documents, addressing the issue of missed detections due to character recognition errors in printed, copied, or scanned documents.
Patent Information
- Application Number
- JP2023027980
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-27
- Publication Date
- 2024-09-06
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing methods for detecting personal information in documents fail when character recognition processing in printed, copied, or scanned documents produces incorrect results, leading to missed detections.
An information processing device that combines multiple detection methods, including key-value extraction, keyword matching, and pattern matching, to identify personal information in documents, even when character recognition fails, and assigns attribute candidates to detected strings, calculating a personal information score to determine the presence of sensitive information.
Effectively reduces the likelihood of missing personal information detection by using combined detection methods and attribute scoring, ensuring accurate identification and prevention of information leakage.
Smart Images

Figure 2024121084000001
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a technology for detecting personal information written in a document. [Background technology]
[0002] With the growing social interest in information security, there is a demand for technology that automatically judges whether personal information such as names and addresses is included in a document to be printed. Patent Document 1 discloses a system that detects personal information character strings such as personal names, addresses, and My Numbers from document data to be moved by copying, etc., calculates an evaluation value called a personal information score based on the detection result, and judges whether to prevent the document from being moved based on the value.
[0003] In the system described in Patent Document 1, personal information contained in a document is detected by keyword matching and / or pattern matching. Keyword matching is a method for detecting whether a personal name or a place name is registered in a dictionary stored in advance. Pattern matching is a method for detecting whether a character string pattern contained in a document matches a specific character pattern. In addition, a personal information score of the document is calculated by assigning a predetermined personal information score to the detected personal information. In addition, for information in a table format, if a specific wording is written in the item name, the personal information score is also added. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2017-162138 A Summary of the Invention [Problem to be solved by the invention]
[0005] When the target for detecting the personal information character string is document data to be printed, it is necessary to convert the print instruction data of the document data into image data and then perform character recognition processing using OCR (Optical Character Recognition). In this case, the method of Patent Document 1 has a problem that if the character recognition processing fails, the keyword matching and pattern matching techniques do not work well, and the character string representing the personal information that should be detected cannot be detected. This problem is not limited to situations where a document is printed, but also occurs when, for example, copying or scanning is performed.
[0006] In order to solve the above-mentioned problems, the present disclosure aims to provide an information processing device, etc. that can reduce the missed detection of character strings representing personal information even when character recognition processing in an image fails and an incorrect character string is obtained as the recognition result. [Means for solving the problem]
[0007] The information processing device according to the present disclosure is characterized by comprising an image analysis means for performing character recognition processing on a character area within a document image, and a detection means for detecting a character string likely to be personal information from the result of the character recognition processing by the image analysis means by using a combination of multiple different processing methods including at least key-value extraction. Effect of the Invention
[0008] According to the present disclosure, even if character recognition processing on a character region in an image fails and an erroneous character string is obtained as the recognition result, it is possible to reduce oversights of detection of character strings that represent personal information. [Brief description of the drawings]
[0009] [Figure 1] 1 is a diagram showing an overall configuration of a personal information detection system. [Diagram 2] 2 is a block diagram showing an example of a hardware configuration and a data configuration of a print log monitoring server. [Diagram 3] FIG. 2 illustrates an example of a functional configuration of a print log monitoring server. [Figure 4] 13 is a flowchart showing the entire process executed by the print log monitoring server. [Diagram 5] 5 is a flowchart showing details of the determination process (1) in S404 of FIG. [Figure 6] FIG. 2 is a diagram showing an example of print image data to be processed in the first embodiment. [Figure 7] 7 is a diagram showing an example of personal information detection data for the print image data in FIG. 6. [Figure 8] FIG. 13 illustrates an example of a print log confirmation screen. [Figure 9] FIG. 11 is a diagram showing an example of print image data to be processed in the second embodiment. [Figure 10] 13 is a flowchart showing details of a determination process (2) in the second embodiment. [Figure 11] 10 is a diagram showing an example of personal information detection data regarding the print image data of FIG. 9. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, the embodiments of the present invention will be described with reference to the drawings. Note that the invention according to the claims is not limited to the following embodiments, and not all of the combinations of features described in the embodiments are necessarily essential to the solution of the invention.
[0011] [First embodiment] <Personal Information Detection System 1> 1 is a diagram illustrating an example of the configuration of a personal information detection system 1 including a print log monitoring server 102, which is an example of an information processing device according to the present disclosure. The personal information detection system 1 includes a printer 101, a print log monitoring server 102, a user terminal 103, and an administrator terminal 104. These devices 101, 103, 104 and the print log monitoring server 102 are communicatively connected to each other via a network 105. The network 105 includes, for example, a communication line such as a LAN (Local Area Network), a WAN (Wide Area Network), or the Internet, a base station, and the like, and may be wired or wireless.
[0012] The user terminal 103 is one of the client terminals of the personal information detection system 1, and is a terminal device to which a user inputs a print instruction for document data. The user terminal 103 has an application, a printer driver, and the like. The user terminal 103 can be, for example, a general-purpose computer such as a personal computer, or a portable terminal device such as a smartphone or a tablet terminal. When a print instruction for document data edited by an application is input in the user terminal 103, the document data is converted by the printer driver into PDL data that can be interpreted by the printer 101. Then, print data (generally called a "print job") including the converted PDL (Page Description Language) data is transmitted to the printer 101 and the print log monitoring server 102. The print data includes header information such as a print job name, a destination printer name, identification information (host name or IP address, etc.) of the print request source, a user name, a time stamp, print setting information (2 in 1, double-sided, enlarged, reduced, etc.), and print attribute information such as the number of copies to be printed.
[0013] The printer 101 is a device that prints print data transmitted from a user terminal 103 onto a medium such as paper. The printer 101 has a communication interface for communicating with the user terminal 103 and the print log monitoring server 102 via a network 105. The printer 101 may have not only a function for printing print data, but also a copy function and a scan function. The printer 101 transmits and receives data such as a print log, copy data, and scan data to and from the print log monitoring server 102.
[0014] The print log monitoring server 102 is a computer that monitors the print log of the printer 101. In the present disclosure, the print log monitoring server 102 generates image data for printing from PDL data included in the print data received from the user terminal 103, and performs character recognition processing on the character area in the image of the document to be printed. The print log monitoring server 102 also detects character strings that are likely to be personal information from the results of the character recognition processing. Details of the processing performed by the print log monitoring server 102 will be described later.
[0015] The administrator terminal 104 is one of the client terminals of the personal information detection system 1, and is a terminal operated by an administrator (for example, a security administrator). The administrator terminal 104 may be a terminal that can at least receive notification information transmitted from the print log monitoring server 102. For example, a general-purpose computer such as a personal computer, or a portable terminal device such as a smartphone or a tablet terminal can be used as the administrator terminal 104.
[0016] 1 shows an example in which the printer 101, the print log monitoring server 102, the user terminal 103, and the administrator terminal 104 are each connected to the network 105 one by one, but each device may be connected in multiples. Also, the print log monitoring server 102 may be, for example, a server group configured with separate computers for each function. Also, the print log monitoring server 102 may be a cloud server accessible via the network 105.
[0017] <Hardware Configuration of Print Log Monitoring Server 102> Fig. 2 is a block diagram showing an example of the hardware configuration of a computer used as the print log monitoring server 102. As shown in Fig. 2, the print log monitoring server 102 includes a control unit 220, a communication unit 225, a display unit 226, an operation unit 227, and a storage unit 228, and each unit is connected via a bus.
[0018] The control unit 220 includes a CPU 221, a ROM 222, a RAM 223, and an input / output interface (I / O) 224. The CPU 221 loads programs stored in the storage unit 228 and the ROM 222 into a work area of the RAM 223 and executes them. The ROM 222 is a non-volatile memory, and permanently stores programs such as a boot program and a BIOS, data, etc. The RAM 223 is a volatile memory, and temporarily stores programs loaded from the storage unit 228, the ROM 222, etc., and includes a work area used by the control unit 220 to perform various processes described later.
[0019] A communication unit 225, a display unit 226, an operation unit 227, and a storage unit 228 are connected to the I / O 224. The communication unit 225, the display unit 226, the operation unit 227, and the storage unit 228 can communicate with the CPU 221 via the I / O 224.
[0020] The communication unit 225 includes a communication control device, a communication port, and the like, and is a communication interface that mediates communication via the network 105 .
[0021] The display unit 226 is, for example, a liquid crystal display or an organic EL display, and displays display data input from the control unit 220 on the display under the control of the control unit 220. The display unit 226 displays, for example, information such as a print log held by the print log monitoring server 102 so that the administrator can check it.
[0022] The operation unit 227 is implemented by input devices such as a keyboard and a mouse. The operation unit 227 receives various instructions from an administrator to the print log monitoring server 102, and transmits the input instructions to the control unit 220. The operation unit 227 may be a touch panel display integrated with the display unit 226.
[0023] In the personal information detection system 1, the administrator operates the print log monitoring server 102 via the operation unit of the administrator terminal 104, and causes the data transmitted from the print log monitoring server 102 to be displayed on the display unit of the administrator terminal 104. Alternatively, the administrator may directly operate the operation unit 227 of the print log monitoring server 102 to check the data displayed on the display unit 226.
[0024] As an example, a HDD, an SSD, a flash memory, etc. are used as the storage unit 228. The storage unit 228 stores a print log 234 of the printer 101. The storage unit 228 also stores an information processing program 229 which is a program related to the information processing method according to the present disclosure.
[0025] The storage unit 228 also stores a dictionary 230 used in a keyword matching process described later, and character pattern information 231 used in pattern matching. The dictionary 230 stores character strings corresponding to personal names, place names, etc. in association with personal information attribute candidates (attribute candidates). Personal information attributes are information indicating the type of personal information, such as "name", "address", "telephone number", "email address", "My Number", etc. The character pattern information 231 stores character patterns corresponding to telephone numbers, email addresses, My Numbers, account numbers, etc. in association with the respective personal information attribute candidates.
[0026] Furthermore, the storage unit 228 stores key string information 232 used in the key value extraction process described later. The key string information 232 is information in which a character string (key string) that is a key indicating the type of various personal information, such as "name", "first name", "address", "place", etc., is associated with a candidate attribute of the personal information. The storage unit 228 also stores a weight table 233 in which attributes and weight values of personal information are associated with each other. The weight is used when calculating a personal information score described later. The weight is set to a value that increases the personal information score as the degree of confidentiality of the personal information increases. In this embodiment, an example will be described in which the weight is a default value that is set in advance for each attribute, but the present invention is not limited to this, and the administrator may set the weight of each attribute.
[0027] <Functional configuration of the print log monitoring server 102> 3 is a diagram showing an example of the functional configuration of the print log monitoring server 102. The control unit 220 of the print log monitoring server 102 includes a print image generating unit 301, an image analyzing unit 302, a personal information detecting unit 303, an attribute assigning unit 304, a score calculating unit 305, a determining unit 306, a result notifying unit 307, a print log managing unit 308, and a display processing unit 310.
[0028] The print image generating unit 301 performs rendering based on the PDL data included in the print data transmitted from the user terminal 103, and generates print image data. The print image data is image data in units of pages that represent an image to be printed. Note that, in this embodiment, an example in which the print image data is generated by the print log monitoring server 102 will be described, but the present invention is not limited to this. For example, the print image data may be obtained by acquiring print image data generated by a printer driver of the user terminal 103 or print image data generated by the printer 101. The print image data may also include data read by a scan function or copy function of the printer 101.
[0029] The image analysis unit 302 performs OCR processing (character recognition processing) on a text area in an image represented by the print image data.
[0030] The personal information detection unit 303 detects a character string that is expected to be personal information from the result of the character recognition process by the image analysis unit 302. Hereinafter, a character string that is expected to be personal information is referred to as a personal information character string. In this disclosure, the personal information detection unit 303 detects a personal information character string by using a plurality of different processing methods including at least key-value extraction in combination.
[0031] Specific examples of the combined use of a plurality of treatment methods include the following (1) to (3). (1) Combination of key-value extraction processing and keyword matching. (2) Combination of key-value extraction processing and pattern matching. (3) A combination of key-value extraction processing, keyword matching, and pattern matching. It should be noted that the present disclosure is not limited to these processing methods, and other personal information detection processing methods may be combined with the key-value extraction processing.
[0032] The attribute assigning unit 304 assigns candidate attributes (hereinafter referred to as "attribute candidates") such as "name", "address", "telephone number", "email address", "My Number" to the personal information character string detected by the personal information detection unit 303. Attribute candidates are assigned in advance to each keyword, each character pattern, and each key character string. When detecting personal information character strings using a combination of multiple processing methods, different attribute candidates may be assigned to the same personal information character string for each processing method.
[0033] The score calculation unit 305 calculates a personal information score for the image represented by the print image data based on the detection result by the personal information detection unit 303. The personal information score is a value that evaluates the degree of confidentiality and importance of the personal information. Details regarding the calculation of the personal information score will be described later.
[0034] The determination unit 306 determines whether or not the image represented by the print image data contains personal information based on the personal information score calculated by the score calculation unit 305. Specifically, the determination unit 306 determines whether or not the personal information score of the entire image represented by the print image data exceeds a predetermined threshold value. If the personal information score exceeds the threshold value, it is determined that the print image data may contain personal information. Note that one of the reasons for determining the presence or absence of personal information based on the personal information score is to prevent excessive detection of information with a low level of confidentiality as personal information, such as the address of a facility that is not necessarily linked to an individual. In addition, by using the personal information score, it becomes possible to determine the level of confidentiality of the entire image.
[0035] The result notification unit 307 notifies a preregistered notification destination of the determination result by the determination unit 306. For example, when the determination unit 306 determines that the image represented by the print image data may contain personal information, the result notification unit 307 transmits notification information to a terminal device (the administrator terminal 104 in this embodiment) preregistered in the storage unit 220 as a notification destination. Methods of notification include, for example, sending an e-mail, displaying on a UI (User Interface) screen described later, or notifying a management application installed on the administrator terminal 104.
[0036] The print log management unit 308 stores the print log 234 of the printer 101 in the storage unit 228. If the determination unit 306 determines that the image represented by the print image data may contain personal information, the print log management unit 308 stores the detected personal information character string, information related to the assigned attribute candidates, and the like in the storage unit 228 in association with the print log 234.
[0037] When the determination unit 306 determines that there is a possibility that personal information is included in the image represented by the print image data, the display processing unit 310 displays the personal information character string detected by the personal information detection unit 303 on a UI (user interface) screen (print log confirmation screen 800 in FIG. 8). The UI screen is a display screen for the administrator to check the print log 234 and the like, and is displayed on the display unit 226 of the print log monitoring server 102. Alternatively, the display processing unit 310 may transmit display data of the UI screen to the administrator terminal 104 and cause it to be displayed on the display unit of the administrator terminal 104. The administrator checks notification information on the presence or absence of personal information included in the print image data by referring to the UI screen, and performs the task of checking the document containing the personal information. Details of the UI screen will be described later.
[0038] <Overall process flow> Next, the overall flow of processing executed by the print log monitoring server 102 will be described with reference to Fig. 4. The processing shown in this flowchart is performed when an information processing program 229 stored in a storage unit 228 is called by a control unit 220 of the print log monitoring server 102, loaded into a RAM 223, and executed by a CPU 221. The print log monitoring server 102 starts this processing when it receives print data from a user terminal 103. In the following description, the symbol "S" means a step.
[0039] In S401, the print image generating unit 301 performs rendering on the PDL data included in the print data transmitted from the user terminal 103, and generates print image data.
[0040] In S402, the image analysis unit 302 analyzes the pattern of pixel values in the image represented by the generated print image data, and extracts an area where characters are written (text area).
[0041] In S403, the image analysis unit 302 performs OCR processing on the character area detected in S402. That is, the image analysis unit 302 recognizes characters written in the image represented by the print image data, and acquires text data.
[0042] In S404, the personal information detection unit 303 analyzes the characters indicated by the text data obtained in S403 for each character string consisting of one or more characters, and detects a character string (personal information character string) that is likely to be personal information. Then, the determination unit 306 determines whether or not there is a possibility that personal information is included in the image represented by the print image data. Details of the process of S404 will be described later.
[0043] In S405, as a result of the process in S404, it is determined whether or not there is a possibility that personal information is included in the print image data. If it is determined that there is a possibility that personal information is included (S405; Yes), the process proceeds to S406. If it is determined that there is no possibility that personal information is included (S405; No), the process proceeds to S407.
[0044] In S406, the result notification unit 307 notifies the administrator terminal 104 of information that personal information may be included in the image represented by the print image data. The notification is, for example, by email. In this case, the result notification unit 307 sends the notification to an email address registered in advance as the notification destination, together with link information for the administrator to check the detection results of the print image and personal information. The link information is, for example, information on the save destination or viewing destination of a UI screen (print log confirmation screen 800 in FIG. 8).
[0045] In S407, the print log management unit 308 records the print log 234 in the storage unit 228. The print log 234 includes detailed information related to printing, such as the print job name, transmission date and time, the source user terminal ID, and the destination printer ID. Furthermore, if it is determined in the process of S404 that the print image data may contain personal information, the print log 234 includes personal information detection data 900 (FIG. 7) which is information related to a personal information character string detected from the print image data. In this embodiment, the various information stored in the storage unit 228 can be viewed and edited by the administrator.
[0046] In S408, the display processing unit 310 displays the information included in the print log 234 stored in S407 on the UI screen (the print log confirmation screen 800 in FIG. 8) in response to a request from the administrator, and ends this flow.
[0047] <Judgment process (1)> Next, the determination process (1) which is the process executed in S404 of Fig. 4 will be described with reference to Fig. 5. In the process shown in the flowchart of Fig. 5, the information processing program 229 stored in the storage unit 228 is called by the control unit 220 of the print log monitoring server 102, loaded into the RAM 223, and executed by the CPU 221.
[0048] In S501, the personal information detection unit 303 detects the personal information character string by performing keyword matching and / or pattern matching on the character string present in the image represented by the print image data. The keyword matching is a process of finding a character string that matches a keyword from among the character strings present in the image represented by the print image data, using a character string previously registered in the dictionary 230 stored in the storage unit 228 as a keyword. Examples of the keyword include "Yamada", "Ken", and "Kawasaki". The pattern matching is a process of finding a character string having an arrangement that matches a pattern indicated by character pattern information 231 previously registered in the storage unit 228 from among the character strings present in the image represented by the print image data. The character pattern information 231 is pattern information indicating the arrangement of characters. An example of a character pattern is "XXX-XXXX-XXXX".
[0049] Note that "X" is a character that represents any numeric value. A character string found by keyword matching and / or pattern matching is detected as a personal information character string, and is stored in the RAM 223 or the storage unit 228. Also, an attribute candidate, which is information that indicates a type of personal information, is assigned in advance to each keyword and character pattern. For example, the keyword "Yamada" is assigned the attribute candidate "name," and the character pattern "XXX-XXXX-XXXX" is assigned the attribute candidate "phone number." The attribute assignment unit 304 assigns the attribute candidate corresponding to the keyword and character pattern to the detected personal information character string.
[0050] Here, an example will be described in which print image data such as image 600 shown in Fig. 6 is input to personal information detection unit 303. A character string 604 "Yamada Ken" is detected as a personal information character string by keyword matching, and "name" is assigned as an attribute candidate. A character string 605 "090-1111-2222" is detected as a personal information character string by pattern matching, and "phone number" is assigned as an attribute candidate. Although character string 602 contains "Kimura Hiroki," it is recognized as an incorrect character string "Kimura Hiroki" as a result of the OCR process in S403. In this case, the character string "Kimura Hiroki" is not registered in dictionary 230, and therefore is not detected by keyword matching.
[0051] The personal information detection unit 303 stores the personal information character string detected in S501 in the RAM 223 or the storage unit 228 in association with the attribute candidates and information indicating the detection method "keyword matching" or "pattern matching."
[0052] Table A below shows the correspondence between the attributes of personal information character strings and whether they can be detected by keyword matching or pattern matching, as well as examples of keywords and patterns.
[0053] [Table 1]
[0054] In S502, the personal information detection unit 303 detects the personal information character string by performing key-value extraction on the character string present in the image 600 represented by the print image data. The key-value extraction is a technique for finding a character string corresponding to the key of the information to be extracted (hereinafter referred to as a key character string) from among the character strings present in the image 600, and detecting a character string adjacent to the key character string as a value. In the case of a character string written horizontally, the personal information detection unit 303 first checks whether a character string exists to the right of the key character string, and if so, extracts the character string as a value. If no character string exists from the right of the key character string to the right end, the personal information detection unit 303 checks whether a character string exists below the key character string, and if so, extracts the character string as a value. The key character string is registered in advance in the storage unit 228.
[0055] Each key string is assigned an attribute candidate in advance. For example, the key string "name" is assigned an attribute candidate "name". The attribute assigning unit 304 assigns the attribute candidate corresponding to each key string to the personal information string extracted as a value. In the example of the image 600 in FIG. 6, a string 601 "name" and a string 603 "address" are detected as key strings. Then, a string 602 "wood, wood, size, bow, mu tree" adjacent to the right of the key string 601 "name" is detected as a value and assigned as a "name" attribute candidate. In addition, a string 604 "Yamada Ken" adjacent to the bottom of the key string 603 "address" is detected as the value of the key string 603 "address" and assigned as an "address" attribute candidate.
[0056] The personal information detection unit 303 associates the personal information character string detected in S502 with the assigned attribute candidates and information indicating the detection method "key-value extraction" and stores them in the RAM 223 or the storage unit 228. Examples of frequently used key character strings for each attribute of the personal information character string are shown in Table B below.
[0057] [Table 2]
[0058] In this way, the print log monitoring server 102 of the present disclosure uses a personal information character string detection process by key-value extraction in addition to a personal information character string detection process by keyword matching and / or pattern matching in S501. This makes it possible to prevent personal information from being overlooked even if an incorrect character string is obtained as a result of the OCR process.
[0059] FIG. 7 is a diagram showing an example of personal information detection data 700 stored in the RAM 223 or the storage unit 228 as a result of the processing of S501 and S502. As shown in FIG. 7, in the personal information detection data 700, personal information character strings 701 detected in the processing of S501 and S502 are stored in association with attribute candidates 702 and detection methods 703, respectively. In addition, adoption flags 704 are recorded in association with each personal information character string 701. The adoption flags 704 are information indicating whether the attribute candidates were adopted or not adopted when calculating the personal information score. The adoption flags 704 will be described later, but as an example, a value "1" indicating "adopted" is recorded for all personal information character strings 701 detected at the stage of S501 and S502.
[0060] Next, the score calculation unit 305 executes the processes of S503 to S508, and calculates the personal information score of the image 600 represented by the print image data. For the processes of S503 to S506, the score calculation unit 305 executes the processes for each personal information character string detected in S501 and S502.
[0061] In S503, the score calculation unit 305 refers to the personal information detection data 700 and determines whether the target personal information character string is a personal information character string detected by multiple detection methods. If the character string is detected by multiple detection methods (S503; Yes), the process proceeds to S504. If the character string is detected by only one detection method (S503; No), the process proceeds to S507. In the example of FIG. 6, the personal information character string 604 "Yamada Ken" was detected by multiple detection methods, so the process proceeds to S504. The personal information character string 602 "KiKiSumYumiMuJi" and the personal information character string 605 "090-1111-2222" were detected by only one detection method, so the process proceeds to S507.
[0062] In S504, the score calculation unit 305 refers to the personal information detection data 700 and determines whether the attribute candidates assigned by each detection method are different. If the attribute candidates assigned by each detection method are different (S504; Yes), the process proceeds to S505. If the same attribute candidates are assigned by each detection method (S504; No), the process proceeds to S507. In the example of FIG. 6, for the personal information string 604 "Yamada Ken," "Name" is assigned as an attribute candidate by keyword matching, and "Address" is assigned as an attribute candidate by key-value extraction, so the process proceeds to S505.
[0063] In S505, the score calculation unit 305 calculates the value of the personal information score to be added when each of the different attribute candidates assigned by each detection method is adopted. In the example of FIG. 6, for the personal information string 604 "Yamada Ken", the personal information score to be added is calculated for each of the cases where "name" is adopted and where "address" is adopted. The personal information score of the entire image 600 is calculated, for example, by adding a value obtained by multiplying the number of personal information strings for each assigned attribute candidate by a weight for each attribute candidate. As an example, it is assumed that there are two personal information strings in which the attribute candidate is "name" and one personal information string in which the attribute candidate is "address" in the image 600, and the weight corresponding to "name" is "5" and the weight corresponding to "address" is "2". In this case, the overall personal information score is calculated as 2×5+1×2=12. In the case of the personal information string 604 "Yamada Ken" in FIG. 6, if the attribute candidate "name" is adopted, the personal information score is added by "5", and if the attribute candidate "address" is adopted, the personal information score is added by "2".
[0064] In S506, the score calculation unit 305 adopts the attribute candidate with the higher added value. In the example of the personal information character string 604 "Yamada Ken" in FIG. 6, as described above, adopting the attribute candidate "name" will result in a higher added value of the personal information score than adopting the attribute candidate "address". Therefore, the attribute candidate "name" is adopted as the attribute of the personal information character string 604 "Yamada Ken". In this way, when multiple attribute candidates are assigned to one personal information character string, the attribute candidate with the higher personal information score is adopted as the attribute of the personal information character string. As a result, even if the attribute candidate assigned by any of the detection methods is incorrect, the personal information score of the entire image 600 is calculated to be higher, which is on the safe side. Therefore, in the threshold determination in S509 described later, it is possible to prevent erroneous determination due to an incorrect attribute candidate.
[0065] When the score calculation unit 305 determines the attribute candidate to be adopted, it updates and records the adoption flag 704 of the personal information detection data 700. In this example, the adoption flag 704 is initially set to "1", meaning "adopted", for all personal information character strings detected in S501 and S502. When the attribute candidate to be adopted is determined in the process of S506, the score calculation unit 305 updates the adoption flag 704 of the personal information character string 701 to which the attribute candidate not adopted is assigned, to "0".
[0066] In S507, the score calculation unit 305 determines whether or not the processes in S503 to S506 have been completed for all personal information character strings detected in S501 and S502. If completed (S507; Yes), the process proceeds to S508, and if not completed (S507; No), the process returns to S503.
[0067] In S508, the score calculation unit 305 calculates the personal information score of the entire print image data 600. As described above, the personal information score is calculated, for example, by adding a value obtained by multiplying the number of personal information character strings for each assigned attribute candidate by the weight of the attribute candidate. As shown in FIG. 7, the personal information character string 604 "Yamada Ken", the personal information character string 605 "090-1111-2222", and the personal information character string 602 "KiKiSumYumiMuKi" are detected from the image 600 of FIG. 6. For the personal information character string 604 "Yamada Ken", the attribute candidate "Name" that is calculated to have a higher personal information score is adopted. When the weight corresponding to the attribute candidate "Name" is set to "5" and the weight corresponding to the attribute candidate "Phone Number" is set to "1", the personal information score of the entire image 600 of FIG. 6 is calculated to be 2×5+1×1=11.
[0068] The method of calculating the personal information score is not limited to the above method. For example, if a document including information with restrictions on handling, such as My Number, is configured to be determined to contain personal information, the weight value of the attribute candidate "My Number" may be set to a large value such as "999" so that the personal information score always exceeds the threshold value.
[0069] In S509, the judgment unit 306 judges whether or not the personal information score calculated in S508 is equal to or greater than a preset threshold value. If it is equal to or greater than the threshold value (S509; Yes), the process proceeds to S510, and if it is less than the threshold value (S509; No), the process proceeds to S511.
[0070] In S510, the determination unit 306 determines that there is a possibility that personal information is included in the image 600 represented by the print image data.
[0071] In S511, the determination unit 306 determines that there is no possibility that personal information is included in the image 600 represented by the print image data.
[0072] <ui> Next, a user interface (UI) in the personal information detection system 1 will be described with reference to Fig. 8. Fig. 8 is a diagram showing a print log confirmation screen 800, which is an example of a UI screen displayed by the display processing unit 310 in S408 of Fig. 4.
[0073] The print log confirmation screen 800 includes, for example, a filter specification area 810, a print log list area 820, a preview area 830, and a personal information display area 840. The administrator uses the print log confirmation screen 800 to extract and display a desired print log 234, checks the detected personal information in the preview, and performs the task of checking the possibility that a document including personal information has been printed.
[0074] The filter specification area 810 is an area for specifying filtering conditions for the print log 234 to be displayed as a list. In the example of Fig. 8, the items to be filtered are "user name", "destination", and "detection or not", but are not limited to these. The filtering conditions may be other items such as items included in the print attribute information added to the print data, date and time, or the like, or filtering may not be performed.
[0075] The print log list area 820 is an area that displays a list of print logs 234 based on the filtering results according to the filtering conditions specified in the filter specification area 810. If no filtering conditions are specified, all print logs 234 are displayed in a list. In the example of FIG. 8, the contents to be displayed in a list are the print job name and the transmission date and time, and are displayed in order of most recent, but this is not limiting. Also, a details button 821 may be displayed for each print log 234 in the list (for example, on the right side of the same row). When the details button 821 is selected by the administrator, the display processing unit 310 displays details of the corresponding print log 234 in the preview area 830 and the personal information display area 840.
[0076] The preview area 830 is an area that displays a preview image of the print image for the print log 234 for which the details button 821 has been operated in the print log list area 820. In the example of Fig. 8, the detected personal information character string is surrounded by rectangular objects 831, 832, and 833, and is displayed in a different form from other character strings (character strings not detected as personal information). In this way, it is desirable for the display processing unit 310 to display the personal information character string detected by the personal information detection unit 303 on an image (for example, a preview image) represented by the print image data.
[0077] In addition, the display processing unit 310 may use different types of objects to display personal information character strings that are detected by a plurality of detection methods and to which different attribute candidates are assigned depending on the detection method, in order to distinguish between the personal information character strings other than the above. For example, the personal information character string "Yamada Ken" is detected by keyword matching and key-value extraction, and different attribute candidates are assigned to each of them. In this case, the object 832 surrounding the personal information character string "Yamada Ken" is displayed with a dotted line, and the objects 831 and 833 surrounding the other personal information character strings "KiKiSumYumiMuJi" and "090-1111-2222" are displayed with solid lines, resulting in different display forms.
[0078] 8, and may be expressed by underlining, color, pattern, etc. The display processing unit 310 can refer to the personal information detection data 700 to acquire information on the detection method for each personal information character string and the attribute candidates assigned by each detection method.
[0079] The personal information display area 840 is an area for displaying the detected personal information character string. In the example of FIG. 8, the detected personal information character string is displayed together with the attribute. In this manner, the display processing unit 310 displays the detected personal information character string and its attribute. At this time, as shown in FIG. 8, it is desirable to display the detected personal information character string for each attribute. Furthermore, if there are attribute candidates that were not used in calculating the personal information score, the display processing unit 310 may display a message indicating that there are attribute candidates that were not used in calculating the personal information score.
[0080] For example, the display processing unit 310 displays attribute candidates that were not adopted in the calculation of the personal information score together with adopted attribute candidates. In the example of Fig. 8, "*Possible address" is displayed next to "Name: Yamada Ken", and the unadopted attribute candidates are displayed together with the adopted attribute candidates. The display processing unit 310 can acquire information on the adopted attribute candidates and the unadopted attribute candidates by referring to the adoption flag 704 of the personal information detection data 700.
[0081] As described above, according to the process of the first embodiment, the print log management server 102 detects a personal information character string by using a plurality of detection methods in combination, even if the OCR process fails and an incorrect character string is obtained as a result. This makes it possible to prevent personal information from being overlooked. In addition, for a personal information character string that is detected by a plurality of detection methods and to which different attribute candidates are assigned for each detection method, the attribute candidate with the higher personal information score is adopted. Therefore, even if an incorrect attribute candidate is assigned, the personal information score of the entire document is calculated to be high, making it possible to prevent personal information from being overlooked.
[0082] Furthermore, on the print log confirmation screen 800, the detected personal information character string can be displayed together with attributes such as name and address. The personal information character string can also be clearly displayed in the preview image in the print preview area 830. Furthermore, a personal information character string to which multiple attribute candidates have been assigned can be displayed in a different display form from a personal information character string to which only one attribute candidate has been assigned, to alert the administrator. This makes it easier for the administrator to check the personal information in the print image.
[0083] [Second embodiment] In the first embodiment, it was assumed that only one attribute candidate is assigned when detecting a personal information character string by keyword matching. However, for example, the character string "Kawasaki" may be stored in the dictionary 230 for keyword matching as a character string corresponding to two attribute candidates, "name" and "address". Therefore, in the second embodiment, a process in which multiple attribute candidates are assigned when detecting a personal information character string even if the detection processing method is the same will be described. In the following description, an example will be described in which the print image data of the image 900 shown in FIG. 9 is input to the personal information detection unit 303.
[0084] <Determination process (2)> Fig. 10 is a flowchart showing details of a determination process (2), which is another example of the process executed in S404 of the process shown in Fig. 4. In the process shown in the flowchart in Fig. 10, the information processing program 229 stored in the storage unit 228 is called by the control unit 220 of the print log monitoring server 102, expanded in the RAM 223, and executed by the CPU 221. Moreover, the print image data to be processed is the print image data of the image 900 shown in Fig. 9.
[0085] The processing of S1001 and S1002 is the same as S501 and S502 in Fig. 5. That is, in S1001, the personal information detection unit 303 detects a personal information character string by performing keyword matching and / or pattern matching on a character string present in the image 900 represented by the print image data, similar to S501. Also, in S1002, the personal information detection unit 303 detects a personal information character string by performing key-value extraction on a character string present in the image 900, similar to S502. Through the processing of S1001 and S1002, personal information detection data 1100 for the image 900 is stored in the storage unit 228 or the RAM 223.
[0086] Fig. 11 is a diagram showing an example of personal information detection data 1100. As shown in Fig. 11, in the personal information detection data 1100, personal information character strings 1101 detected from the image 900 by the processes of S1001 and S1002 are stored in association with attribute candidates 1102 and detection methods 1103. In addition, in the personal information detection data 1100, an adoption flag 1104 is recorded in association with the personal information character string 1101. As in the first embodiment, the adoption flag 1104 records a value of "1" indicating "adopted" for all personal information character strings 1101 at the stages of S1001 and S1002.
[0087] In S1003, the score calculation unit 305 refers to the personal information detection data 1100 and judges whether or not there is more than one type of attribute candidate assigned to the target personal information character string. If there is more than one type (S1003; Yes), proceed to S1004, and if there is one type (S1003; No), proceed to S1006. In the example of FIG. 9, the personal information character string 901 "Kawasaki" is assigned the attribute candidates "name" and "address" by keyword matching, and "name" is assigned as the attribute candidate in key-value extraction. In this case, the attribute candidates assigned to the personal information character string 901 "Kawasaki" are two types, "name" and "address," so proceed to S1004. In addition, the personal information character string 902 "090-1111-2222" is assigned the attribute candidate "phone number" by pattern matching, and "phone number" is also assigned as the attribute candidate in key-value extraction. In this case, the only attribute candidate assigned to the personal information character string 902 "090-1111-2222" is "phone number," so the process proceeds to S1006.
[0088] In S1004, the score calculation unit 305 calculates, for each of the multiple assigned attribute candidates, a personal information score value to be added when that attribute candidate is adopted. In the example of Fig. 9, the personal information score to be added is calculated when "name" is adopted as the attribute candidate for the personal information character string 901 "Kawasaki" and when "address" is adopted. If the method of calculating the personal information score is the same as that of the first embodiment, when the attribute candidate of the personal information character string 901 is "name", the personal information score is increased by "5", and when the attribute candidate is "address", the score is increased by "2".
[0089] In S1005, the score calculation unit 305 adopts the attribute candidate that will result in the highest personal information score to be added. For the personal information string 901 in Fig. 9, if the attribute candidate "name" is adopted, the personal information score is increased by "5", and if the attribute candidate "address" is adopted, the score is increased by "2". Therefore, the attribute candidate "name" that has the higher personal information score is adopted. When the score calculation unit 305 determines the attribute candidate to be adopted, it updates and records the adoption flag 704 of the personal information detection data 1100, as in the first embodiment.
[0090] In S1006, the score calculation unit 305 determines whether or not the processes of S1003 to S1005 have been completed for all personal information character strings detected in S1001 and S1002. If completed (S1006; Yes), proceed to S1007, and if not completed (S1006; No), return to S1003.
[0091] In S1007, the score calculation unit 305 calculates the personal information score of the entire print image data 900, similarly to S507.
[0092] In S1008, the judgment unit 306 judges whether or not the personal information score calculated in S1007 is equal to or greater than a preset threshold value, similar to S509. If it is equal to or greater than the threshold value (S1008; Yes), the process proceeds to S1009, and if it is less than the threshold value (S1008; No), the process proceeds to S1010.
[0093] In S1009, the determination unit 306 determines that there is a possibility that personal information is included in the image 900, similarly to S510. In S1010, the determination unit 306 determines that there is no possibility that the image 900 contains personal information, similarly to S511.
[0094] In the second embodiment, notification to the administrator and display of the UI screen (print log confirmation screen 800) are the same as those in the first embodiment. In the above description, an example in which multiple attributes are assigned to one personal information character string in keyword matching is shown, but the same can be applied to pattern matching, key-value extraction, and other detection methods.
[0095] As described above, according to the determination process (2) described in the second embodiment, even when multiple attribute candidates are assigned to one personal information character string by any one of the detection methods, the attribute candidate with the higher personal information score is adopted. Therefore, even if the assigned attribute candidate is incorrect, the personal information score of the entire image will be higher, so that it is possible to prevent erroneous determination of the presence or absence of personal information and to prevent missed detection of personal information that should be detected.
[0096] In the above-described embodiments, the print log monitoring server 102 performs character recognition processing on print data acquired from the user terminal 103 to detect and determine personal information, but the present invention is not limited to this example. For example, the print log monitoring server 102 may perform character recognition processing on an image acquired by the copy function or scan function of the printer 101 to detect and determine personal information. If it is determined that personal information is included, the print log monitoring server 102 may send an instruction to the printer 101 to impose a copy restriction on the image.
[0097] In addition, in each of the above-described embodiments, the print log monitoring server 102 performs character recognition processing to detect and determine whether or not personal information is present, but these processes may also be executed by a control unit of the printer 101, the administrator terminal 104, or the user terminal 103.
[0098] Furthermore, the print log monitoring server 102 may perform a combination of the determination process (1) of the first embodiment and the determination process (2) of the second embodiment.
[0099] (Other Examples) The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.
[0100] The disclosure of the above-described embodiment includes the following configurations. (Configuration 1) an image analysis means for performing character recognition processing on a character area in an image of a document; a detection means for detecting a character string expected to be personal information by using a combination of a plurality of different processing methods including at least key-value extraction from the result of the character recognition processing by the image analysis means; An information processing device comprising:
[0101] (Configuration 2) a calculation means for calculating a score for the image based on a detection result by the detection means, the score being a value for evaluating a degree of personal information; a determination means for determining whether or not the image includes the personal information based on the score calculated by the calculation means; 2. The information processing device according to configuration 1, further comprising:
[0102] (Configuration 3) The method further includes: providing an attribute candidate that is a candidate for an attribute representing a type of personal information to the character string detected by the detection means; 3. The information processing apparatus according to claim 2, wherein the calculation means calculates the score of the image by using a weighting factor determined in advance for each of the attribute candidates.
[0103] (Configuration 4) The information processing device according to claim 3, characterized in that, when a plurality of attribute candidates are assigned to one of the character strings, the calculation means adopts an attribute candidate among the plurality of attribute candidates that has a higher score as an attribute for the character string and calculates the score.
[0104] (Configuration 5) 5. The information processing apparatus according to configuration 3 or 4, further comprising display means for displaying, as a result of the determination by said determining means, said character string detected by said detecting means together with said attribute.
[0105] (Configuration 6) 6. The information processing device according to configuration 5, wherein the display means further displays the character string detected by the detection means within the image.
[0106] (Configuration 7) The information processing device according to configuration 5 or 6, wherein when the display means displays the character string detected by the detection means together with the attributes, if there are any attribute candidates that were not used in calculating the score, the display means displays a message indicating that there are any attribute candidates that were not used in calculating the score.
[0107] (Configuration 8) 8. The information processing device according to any one of configurations 2 to 7, further comprising a notification unit that notifies a previously registered notification destination of a result of the determination made by the determination unit.
[0108] (Configuration 9) 9. The information processing device according to any one of configurations 1 to 8, wherein the image is print image data for expressing an image of a document.
[0109] (Configuration 10) The information processing device according to any one of configurations 1 to 9, wherein the information processing device is a print log monitoring server in a system in which a client terminal, a printer, and a print log monitoring server are communicatively connected via a network.
[0110] (Configuration 11) 11. The information processing device according to any one of configurations 1 to 10, wherein the detection means performs the detection by using key-value extraction and keyword matching in combination.
[0111] (Configuration 12) 11. The information processing device according to any one of configurations 1 to 10, wherein the detection means performs the detection by using key-value extraction and pattern matching in combination.
[0112] (Configuration 13) 11. The information processing device according to any one of configurations 1 to 10, wherein the detection means performs the detection by using key-value extraction, keyword matching, and pattern matching in combination.
[0113] (Configuration 14) The information processing device according to any one of configurations 1 to 13, characterized in that the key-value extraction is a process of finding a key string, which is a string that is a pre-registered key of information to be extracted, from strings present in an image, and detecting a string adjacent to the key string as a value.
[0114] (Configuration 15) The information processing device according to configuration 11 or 13, wherein the keyword matching is a process of finding a character string that matches a pre-registered character string as a keyword from among character strings present in the image.
[0115] (Configuration 16) The information processing device according to configuration 12 or 13, characterized in that the pattern matching is a process of finding a character string having an arrangement that matches a pattern indicated by pattern information indicating a previously registered character arrangement from among character strings present in the image.
[0116] (Configuration 17) An information processing method executed by an information processing device, an image analysis step for performing character recognition processing on a text region in an image of a document; a detection step of detecting a character string expected to be personal information by using a combination of a plurality of different processing methods including at least key-value extraction from the result of the character recognition processing in the image analysis step; 13. An information processing method comprising:
[0117] (Configuration 18) Computer, An image analysis means for performing character recognition processing on a character area in an image of a document; a detection means for detecting a character string likely to be personal information by using a combination of a plurality of different processing methods including at least key-value extraction from the result of the character recognition processing by the image analysis means; A program to function as a [Explanation of symbols]
[0118] 102 Printing log monitoring server 302 Image analysis section 303: Personal information detection unit 306...Judgment section< / ui>
Claims
1. an image analysis means for performing character recognition processing on a character area in an image of a document; a detection means for detecting a character string expected to be personal information by using a combination of a plurality of different processing methods including at least key-value extraction from the result of the character recognition processing by the image analysis means; An information processing device comprising:
2. a calculation means for calculating a score for the image based on a detection result by the detection means, the score being a value for evaluating a degree of personal information; a determination means for determining whether or not the image includes the personal information based on the score calculated by the calculation means; The information processing apparatus according to claim 1 , further comprising:
3. The method further includes an attribute assigning unit that assigns an attribute candidate that is a candidate of an attribute representing a type of personal information to the character string detected by the detection unit, The information processing apparatus according to claim 2 , wherein the calculation means calculates the score of the image by using a weighting factor that is determined in advance for each of the attribute candidates.
4. 4. The information processing device according to claim 3, wherein, when a plurality of attribute candidates are assigned to one of the character strings, the calculation means adopts an attribute candidate among the plurality of attribute candidates that has a higher score as an attribute for the character string and calculates the score.
5. 5. The information processing apparatus according to claim 3, further comprising a display unit that displays the character string detected by the detection unit together with the attribute as a result of the determination by the determination unit.
6. 6. The information processing apparatus according to claim 5, wherein said display means further displays said character string detected by said detection means within said image.
7. The information processing device according to claim 5, characterized in that when the display means displays the character string detected by the detection means together with the attributes, if there are attribute candidates that were not used in calculating the score, the display means displays a message indicating that there are attribute candidates that were not used in calculating the score.
8. 3. The information processing apparatus according to claim 2, further comprising a notification unit that notifies a previously registered notification destination of the result of the determination made by said determination unit.
9. 2. The information processing apparatus according to claim 1, wherein the image is print image data representing an image of a document.
10. 2. The information processing apparatus according to claim 1, wherein the information processing apparatus is a print log monitoring server in a system in which a client terminal, a printer, and a print log monitoring server are communicatively connected via a network.
11. 2. The information processing apparatus according to claim 1, wherein the plurality of different processing methods include the key-value extraction and keyword matching.
12. 2. The information processing apparatus according to claim 1, wherein the plurality of different processing methods include the key-value extraction and pattern matching.
13. 2. The information processing apparatus according to claim 1, wherein the plurality of different processing methods include the key-value extraction, keyword matching, and pattern matching.
14. The information processing device according to claim 1, characterized in that the key-value extraction is a process of finding a key string, which is a string that is a pre-registered key of information to be extracted, from among strings present in the image, and detecting a string adjacent to the key string as a value.
15. 14. The information processing apparatus according to claim 11, wherein the keyword matching is a process of finding a character string that matches a keyword from among character strings present in the image, the character string being registered in advance as a keyword.
16. The information processing device according to claim 12 or 13, characterized in that the pattern matching is a process of finding, from among character strings present in the image, a character string having an arrangement that matches a pattern indicated by pattern information indicating an arrangement of characters that has been registered in advance.
17. An information processing method executed by an information processing device, an image analysis step for performing character recognition processing on a text region in an image of a document; a detection step of detecting a character string expected to be personal information by using a combination of a plurality of different processing methods including at least key-value extraction from the result of the character recognition processing in the image analysis step; 13. An information processing method comprising:
18. Computer, An image analysis means for performing character recognition processing on a character area in an image of a document; a detection means for detecting a character string likely to be personal information by using a combination of a plurality of different processing methods including at least key-value extraction from the result of the character recognition processing by the image analysis means; A program to function as a
Citation Information
Patent Citations
Information processing device and information processing program
JP2017162138A
