Abnormal document identification method, device, equipment and storage medium

Through feature matching and additional attribute information screening, it is identified whether documents uploaded on the network platform contain sensitive information, which solves the problem of low efficiency and accuracy in identifying abnormal documents in the existing technology, and achieves more efficient screening and identification of sensitive information. .

CN113239224BActive Publication Date: 2024-09-06BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202110529816.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-14
Publication Date
2024-09-06
Estimated Expiration
2041-05-14

AI Technical Summary

Technical Problem

Existing technology is difficult to effectively identify and screen whether documents uploaded on network platforms contain sensitive information, resulting in a high rate of missed identification of abnormal documents and inability to effectively prevent improper ways of obtaining industrial or economic benefits.

Method used

By obtaining the image to be retrieved in the document to be identified, feature matching is performed with the segmentation processing results of the target image carrying sensitive information in the preset retrieval library to determine whether the document to be identified is an abnormal document, and filter sensitive information using feature matching and additional attribute information. Cut the image to improve recognition efficiency and accuracy.

Benefits of technology

It reduces the missed identification rate of abnormal documents, improves the accuracy of identification results, avoids carrying sensitive information through splicing to bypass existing censorship methods, and enhances network security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113239224B
    Figure CN113239224B
Patent Text Reader

Abstract

The present disclosure provides a method, device, equipment and storage medium for identifying abnormal documents, which relates to the field of artificial intelligence technology, and in particular to intelligent search and computer vision technology. The specific implementation scheme is: obtaining a picture to be retrieved in a document to be identified; performing feature matching on the picture to be retrieved and at least one sensitive cutout in a preset retrieval library; wherein the sensitive cutout is a result of segmentation processing of a target picture carrying sensitive information; and determining whether the document to be identified is an abnormal document based on the matching result. The present disclosure provides a new audit idea for abnormal documents that bypass sensitive information audits by carrying sensitive information through spliced ​​images, thereby reducing the missed recognition rate of abnormal documents and thereby improving the accuracy of abnormal document recognition results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of artificial intelligence technology, and in particular to intelligent search and computer vision technology. Background Art

[0002] In order to avoid interference with network order and network security caused by industrial or economic benefits obtained through improper channels and means on the Internet, network platforms usually have an audit mechanism to conduct abnormal audits on document information uploaded by users. Summary of the invention

[0003] The present disclosure provides a method, apparatus, device and storage medium for identifying abnormal documents.

[0004] According to one aspect of the present disclosure, a method for identifying abnormal documents is provided, comprising:

[0005] Get the image to be retrieved in the document to be identified;

[0006] Perform feature matching on the image to be searched and at least one sensitive cutout image in a preset search library; wherein the sensitive cutout image is a segmentation processing result of the target image carrying sensitive information;

[0007] According to the matching result, it is determined whether the document to be identified is an abnormal document.

[0008] According to another aspect of the present disclosure, there is also provided an abnormal document identification device, comprising:

[0009] A module for obtaining images to be retrieved is used to obtain images to be retrieved in the document to be identified;

[0010] A feature matching module, used for performing feature matching between the image to be retrieved and at least one sensitive cutout image in a preset retrieval library; wherein the sensitive cutout image is a segmentation processing result of a target image carrying sensitive information;

[0011] The abnormal document determination module is used to determine whether the document to be identified is an abnormal document based on the matching result.

[0012] According to another aspect of the present disclosure, there is also provided an electronic device, including:

[0013] at least one processor; and

[0014] a memory communicatively connected to the at least one processor; wherein,

[0015] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute any one of the abnormal document identification methods provided in the embodiments of the present disclosure.

[0016] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is also provided, wherein the computer instructions are used to enable the computer to execute any one of the abnormal document identification methods provided by the embodiments of the present disclosure.

[0017] According to another aspect of the present disclosure, a computer program product is also provided, including a computer program, and when the computer program is executed by a processor, the computer program implements any abnormal document identification method provided by the embodiments of the present disclosure.

[0018] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0020] Figure 1 is a flow chart of an abnormal document identification method provided by an embodiment of the present disclosure;

[0021] Figure 2 is a flow chart of another abnormal document identification method provided by an embodiment of the present disclosure;

[0022] Figure 3 is a flow chart of another abnormal document identification method provided by an embodiment of the present disclosure;

[0023] Figure 4 is a flow chart of another abnormal document identification method provided by an embodiment of the present disclosure;

[0024] Figure 5 is a structural diagram of an abnormal document identification device provided by an embodiment of the present disclosure;

[0025] Figure 6 It is a block diagram of an electronic device used to implement the abnormal document identification method of the embodiment of the present disclosure. DETAILED DESCRIPTION

[0026] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0027] The various abnormal document identification methods and abnormal document identification devices involved in the present disclosure are applicable to the situation where abnormal identification is performed on a document to be identified in a network platform whose content includes at least one picture. The so-called abnormal identification can be understood as sensitive information identification, that is, whether the picture of the document to be identified includes sensitive information. The various abnormal document identification methods in the present disclosure can be performed by an abnormal document identification device, which can be implemented in software and / or hardware and specifically configured in an electronic device. The electronic device can be a server of the network platform, and can also be connected to the network platform server for communication and is dedicated to other devices for abnormal document identification.

[0028] For ease of understanding, the present disclosure first describes the abnormal document identification method in detail.

[0029] See also Figure 1 An abnormal document identification method shown includes:

[0030] S101, obtaining a picture to be retrieved in a document to be identified.

[0031] Among them, the documents to be identified can be understood as documents that have been uploaded to the network platform but have not yet been disseminated on the network platform. If the life cycle of a document on the network platform includes the generation stage corresponding to the user writing and uploading, the review stage of reviewing the document, and the dissemination stage after the review is completed, then the documents to be identified are the generated documents in the review stage.

[0032] The document to be identified includes at least a content image, and optionally, the document to be identified may also include content text. The present disclosure only performs anomaly detection on whether the image content in the document includes sensitive information. The image content may be the content of a complete image obtained by splicing at least two images. In other words, if the image to be retrieved contains part of the sensitive information.

[0033] For example, if the sensitive information is an illegal URL, the image to be retrieved only contains a part of the illegal URL. By splicing it with other images in a set order, such as a "three-square grid" or a "nine-square grid", the complete illegal URL can be presented.

[0034] In an optional embodiment, in response to a document upload request from a user at a user terminal, the platform server obtains a content image in the document uploaded by the user; the platform server sends at least one content image to an electronic device that executes the abnormal document identification method. Correspondingly, the electronic device determines the image to be retrieved based on the received content image.

[0035] Optionally, the received content images may be directly used as the images to be retrieved. Alternatively, in order to reduce the amount of data calculation in the abnormal document recognition process, the content images may be preliminarily screened and the screened content images may be used as the images to be retrieved.

[0036] In a specific implementation, the type of the content image may be identified; and the content image containing text may be used as the image to be retrieved.

[0037] S102: feature matching is performed between the image to be searched and at least one sensitive cutout image in a preset search library; wherein the sensitive cutout image is a segmentation processing result of the target image carrying sensitive information.

[0038] Among them, a plurality of sensitive cutout images are stored in the preset retrieval library, and at least two sensitive cutout images can present complete sensitive information after being spliced ​​in a certain way.

[0039] Among them, sensitive information may include at least one of pornographic texts, political texts, violent texts, illegal URLs and illegal URLs.

[0040] In an optional embodiment, the images in the preset search library can be obtained by: cutting the target image carrying complete sensitive information into at least two sensitive cutouts in a set manner, wherein each sensitive cutout includes part of the sensitive information.

[0041] Optionally, the target image can be evenly divided into a set number of sensitive cutouts according to a set template. The set template can be determined or adjusted by a technician according to needs or experience, such as at least one of the templates of "1×3", "3×1", "1×4", "2×2", "2×3", "3×2" and "3×3".

[0042] In order to ensure the consistency of the image sizes of the sensitive cutout images in the preset search library, optionally, the sensitive cutout images obtained by segmenting each target image can be uniformly scaled to ensure the consistency of the sensitive cutout images. The image size of the scaled sensitive cutout image can be set or adjusted by the technician according to needs or experience, and can also be determined through repeated experiments.

[0043] Since the sensitive cutout graph constructed in the above manner may have a certain deviation from the sensitive cutout graph actually circulated in each network platform. In order to improve the similarity between the sensitive cutout graph in the preset search library and the sensitive cutout graph actually circulated, and thus lay a foundation for the accuracy of the abnormal document recognition results, in another optional embodiment, the identified sensitive cutout graph circulated on the network can also be added to the preset search library. Among them, the present disclosure does not impose any limitation on the identification method of the sensitive cutout graph.

[0044] Among them, the preset retrieval library can be stored locally in the electronic device that executes the abnormal document identification method, in other storage devices associated with the electronic device, or in the cloud, and when abnormal document identification is required, the preset retrieval library is searched and used from the corresponding storage location.

[0045] Since the sensitive cutouts corresponding to different target images may have some of the same sensitive cutouts, in order to avoid the waste of storage caused by the storage of the same sensitive cutouts and the increase of data calculation amount in the feature matching process caused by the same sensitive cutouts, in an optional embodiment, the sensitive cutouts in the preset retrieval library can be deduplicated.

[0046] Exemplarily, feature matching of the image to be retrieved with at least one sensitive cutout in the preset search library may be: determining first feature data of the image to be retrieved and second feature data of feature data of the sensitive cutout in the preset search library; determining the similarity between the first feature data and the second feature data; if the similarity is greater than a set similarity threshold, the match is successful; otherwise, the match fails. The set similarity threshold may be determined by a technician according to needs or experience, or may be determined repeatedly through a large number of experiments.

[0047] In order to avoid repeated calculation of feature data, the feature data of each sensitive cutout image can also be stored in a preset retrieval library, so that when performing feature matching, only the feature extraction of the image to be retrieved is performed to obtain the first feature data, and the second feature data of the sensitive cutout image is obtained from the preset retrieval library.

[0048] Exemplarily, feature matching of the image to be retrieved with at least one sensitive cutout in a preset retrieval library may be performed by: identifying text areas in the image to be retrieved; cropping and / or scaling the image to be retrieved based on the text areas to update the image to be retrieved; and feature matching of the updated image to be retrieved with at least one sensitive cutout in the preset retrieval library.

[0049] In an optional implementation, OCR (Optical Character Recognition) technology is used to identify text areas in the image to be retrieved; a cropping area including the text area is determined; and the image to be retrieved is cropped according to the cropping area to update the image to be retrieved.

[0050] In another optional implementation, the image to be retrieved is scaled so that the image to be retrieved is consistent with the image size of the sensitive cutout image in the preset search library. The image to be retrieved may be the original image to be retrieved or the image to be retrieved after being cropped and updated.

[0051] It is understandable that by preprocessing the image to be retrieved, interference caused by irrelevant information during feature matching can be avoided, thereby improving the accuracy of the feature matching results.

[0052] S103: Determine whether the document to be identified is an abnormal document based on the matching result.

[0053] Exemplarily, if there is a sensitive cutout image that successfully matches the image to be retrieved in the preset search library, the image to be retrieved is determined to be an abnormal image carrying sensitive information; and the document to be identified to which the abnormal image belongs is regarded as an abnormal document.

[0054] The disclosed embodiment introduces a sensitive cutout obtained by segmenting a target image carrying sensitive information, and performs feature matching with the image to be retrieved, thereby being able to identify abnormal documents that carry sensitive information through a spliced ​​image of at least two images, providing a new approach to abnormal document recognition. By using a preset search library containing sensitive cutouts, the situation of bypassing the existing sensitive information review method by carrying sensitive information through a spliced ​​image is avoided, the missed recognition rate of abnormal documents is reduced, and the accuracy of abnormal document recognition results is improved.

[0055] On the basis of the above-mentioned technical solutions, the present disclosure also provides an optional embodiment. In this embodiment, the feature matching operation is refined into "selecting at least one sensitive cutout as a candidate cutout from a preset search library according to the additional attribute information of the image to be retrieved; performing feature matching between the image to be retrieved and the candidate cutout", so as to reduce the amount of data calculation for feature matching and thus improve matching efficiency. It should be noted that for the parts not described in detail in the present disclosure, please refer to the relevant descriptions of the above-mentioned technical solutions.

[0056] See also Figure 2 An abnormal document identification method shown includes:

[0057] S201, obtaining a picture to be retrieved in a document to be identified.

[0058] S202. Select at least one sensitive cutout image from a preset search library as a candidate cutout image according to the additional attribute information of the image to be searched; wherein the sensitive cutout image is a segmentation processing result of the target image carrying sensitive information.

[0059] The additional attribute information is used as at least one dimension information of the image to be retrieved to classify the image to be retrieved. The dimension information may include at least one of the dimensions of image type, image content, and release time.

[0060] Exemplarily, the sensitive cutouts in the preset search library are classified according to the attribute value of the additional attribute information of the image to be searched; at least one sensitive cutout whose category is associated with the additional attribute information of the image to be searched is used as a candidate cutout. It can be understood that this achieves a preliminary screening of sensitive cutouts, reducing the amount of sensitive cutout data in subsequent feature matching.

[0061] Exemplarily, the additional attribute information associated with the image to be retrieved may be the same as or complementary to the attribute value of the additional attribute information of the image to be retrieved.

[0062] In an optional embodiment, the additional attribute information may include publishing time information, which is used to characterize the publishing time of the document to be identified.

[0063] In another optional embodiment, the additional attribute information may include segmentation type information, which is used to characterize the layout structure of the content pictures in the document to be identified. That is, if the content pictures in the document to be identified are combined according to the layout structure after uploading to obtain a reference picture, then through what type of segmentation template can the reference picture be segmented into the content pictures in the document to be identified.

[0064] It is understandable that by refining the additional attribute information to include release time information and / or segmentation type information, candidate cutouts can be screened from different dimensions, thereby enriching the screening method of candidate cutouts and laying the foundation for the diversity of abnormal document identification methods.

[0065] S203: Perform feature matching between the image to be retrieved and the candidate cutout image.

[0066] Exemplarily, feature matching of the image to be retrieved and the candidate cutout image may be performed by: determining the first feature data of the image to be retrieved and the second feature data of the candidate cutout image; determining the similarity between the first feature data and the second feature data; if the similarity is greater than a set similarity threshold, the match is successful; otherwise, the match fails. The set similarity threshold may be determined by a technician according to needs or experience, or may be determined repeatedly through a large number of experiments.

[0067] In order to avoid repeated calculation of feature data, the feature data of each sensitive cutout image can also be stored in a preset retrieval library, so that when performing feature matching, only the feature extraction of the image to be retrieved is performed to obtain the first feature data, and the second feature data of the candidate cutout image is obtained from the preset retrieval library.

[0068] S204: Determine whether the document to be identified is an abnormal document based on the matching result.

[0069] The present disclosure refines the feature matching operation into selecting at least one sensitive cutout image as a candidate cutout image from a preset search library according to the additional attribute information of the image to be retrieved; and performing feature matching between the image to be retrieved and the candidate cutout image, thereby improving the feature matching mechanism. In addition, by introducing the additional attribute information of the image to be retrieved, the sensitive cutout images are preliminarily screened, thereby reducing the amount of data of the sensitive cutout images involved in the feature matching, thereby reducing the amount of calculation during the feature matching, improving the feature matching efficiency, and thereby improving the recognition efficiency of abnormal text.

[0070] On the basis of the above technical solutions, the present disclosure also provides an optional embodiment. In this embodiment, the selection operation of the candidate cutout is refined into "selecting at least one sensitive cutout with the same additional attribute information as the image to be retrieved from the preset search library as a candidate cutout"; correspondingly, the abnormal document determination operation is refined into "if there is a successfully matched candidate cutout, then determine that the document to be identified is an abnormal document", thereby realizing the specific abnormal document identification process.

[0071] See also Figure 3 An abnormal document identification method shown includes:

[0072] S301, obtaining a picture to be retrieved in a document to be identified.

[0073] S302. Select at least one sensitive cutout image with the same attribute value as the additional attribute information of the image to be retrieved from a preset search library as a candidate cutout image; wherein the sensitive cutout image is a segmentation processing result of the target image carrying sensitive information.

[0074] In order to save costs and realize industrial or economic benefits obtained through improper channels and improper means on the Internet, documents including mosaics carrying sensitive information are usually released in batches. Therefore, the additional attribute information of the documents released in a single batch used to realize industrial or economic benefits obtained through improper channels and improper means on the Internet is the same.

[0075] In this embodiment, sensitive cutouts with the same attribute value as the additional attribute information of the image to be searched in the preset search library are used as candidate cutouts, thereby greatly reducing the number of candidate cutouts. When there are sensitive cutouts of the same target images released in the same batch in the preset search library, subsequent feature matching can be achieved only through the candidate cutouts, which is more efficient and requires less calculation.

[0076] In an optional implementation, the additional attribute information includes release time information; accordingly, at least one sensitive cutout image with the same release time as the image to be retrieved is selected from a preset search library as a candidate cutout image.

[0077] In another optional embodiment, the additional attribute information includes segmentation type information; accordingly, at least one sensitive cutout image of the same segmentation type as the image to be retrieved is selected from a preset search library as a candidate cutout image.

[0078] S303: Perform feature matching between the image to be retrieved and the candidate cutout images.

[0079] S304: If there is a successfully matched candidate cutout, determine that the document to be identified is an abnormal document.

[0080] Exemplarily, if there is a candidate cutout that successfully matches the image to be retrieved, the image to be retrieved is determined to be an abnormal image; and the document to be identified corresponding to the abnormal image is regarded as an abnormal document.

[0081] Optionally, if there is no candidate cutout that successfully matches the image to be retrieved, the image to be retrieved is determined to be a normal image; accordingly, the document to be identified corresponding to the normal image is regarded as a normal document.

[0082] Because the preset search library does not store sensitive clippings that are the same or similar to the image to be searched under the same category as the additional attribute information of the image to be searched. For example, in order to obtain industrial or economic benefits through improper channels and improper means on the Internet, the same abnormal documents are published in batches at different times, and the abnormal documents include spliced ​​images carrying sensitive information. At this time, only through Figure 3 The abnormal document recognition method shown may miss the recognition of abnormal documents. In order to further improve the accuracy of the recognition result of abnormal documents, it is also necessary to perform a secondary recognition on the image to be retrieved when it is determined that there is no candidate cutout that successfully matches the image to be retrieved.

[0083] See also Figure 4 An abnormal document identification method shown includes:

[0084] S401, obtaining the image to be retrieved in the document to be identified.

[0085] S402. Select at least one sensitive cutout image having the same additional attribute information as the image to be searched from a preset search library as a candidate cutout image; wherein the sensitive cutout image is a segmentation processing result of the target image carrying sensitive information.

[0086] S403: Perform feature matching between the image to be retrieved and the candidate cutout images.

[0087] S404: Determine whether there is a candidate cutout image that successfully matches the image to be retrieved. If so, execute S405A; otherwise, execute S405B.

[0088] S405A: Determine whether the document to be identified is an abnormal document.

[0089] S405B: Determine the extension attribute value corresponding to the attribute value of the additional attribute information of the image to be retrieved according to a preset extension rule.

[0090] The preset extension rules may be determined by technicians according to needs or experience, or may be determined through a large number of experimental adjustments.

[0091] In an optional implementation, at least one of the attribute values ​​in the preset search library that is different from the additional attribute information of the image to be searched is used as the extension attribute value.

[0092] Optionally, the additional attribute information includes release time information, and the extended attribute value includes the extended release time; accordingly, the extended attribute value corresponding to the attribute value of the additional attribute information of the image to be retrieved is determined according to the preset extension rule, which can be: taking the release time adjacent to the release time of the image to be retrieved as the extended release time of the image to be retrieved; or taking the release time of each sensitive cut-out image in the preset retrieval library as the candidate release time, and taking at least one candidate release time that is inconsistent with the release time of the image to be retrieved as the extended release time.

[0093] Exemplarily, an extended time interval may be preset; the time value of the release time information of the image to be retrieved is used as the current time; at least one of the time values ​​whose time interval with the current time is less than the extended time interval is used as the extended release time. For example, if the release time of the image to be retrieved is T1 and the extended time interval is ΔT, at least one time value (such as all time values) in the time periods corresponding to (T1-ΔT, T1) and (T1, T1+ΔT) is used as the extended release time.

[0094] Exemplarily, the extension direction may be further set. Exemplarily, the extension direction of the extension time interval may be characterized by positive and negative signs. For example, a negative sign indicates extension in the historical direction, and a positive sign indicates extension in the future direction. For example, if the release time of the image to be retrieved is T1, the extension time interval is ΔT, and the direction is "-", then at least one time value (such as all time values) in the time period corresponding to (T1-ΔT, T1) is used as the extended release time. For another example, if the release time of the image to be retrieved is T1, the extension time interval is ΔT, and the direction is "+", then at least one time value (such as all time values) in the time period corresponding to (T1, T1+ΔT) is used as the extended release time.

[0095] Optionally, the additional attribute information includes segmentation type information, and the extension attribute value includes the extension type; accordingly, according to the preset extension rule, the extension attribute value corresponding to the attribute value of the additional attribute information of the image to be retrieved is determined, which can be: taking the segmentation type of each sensitive cutout in the preset retrieval library as a candidate segmentation type; taking at least one candidate segmentation type that is inconsistent with the segmentation type of the image to be retrieved as the extension type.

[0096] It can be understood that by refining the additional attribute information to include release time information and / or segmentation type information; correspondingly, the extension attribute value is refined to include extension release time and / or extension type, the method of determining the extension attribute value is enriched, and the diversity of the new candidate cutout determination method is ensured, thereby improving the diversity of abnormal document recognition results.

[0097] S406: Select at least one sensitive cutout image with the same extensional attribute value as the image to be searched from the preset search library as a new candidate cutout image.

[0098] S407: Perform secondary feature matching between the image to be retrieved and the new candidate cutout image.

[0099] The secondary matching operation of the image to be retrieved and the new candidate cutout image is the same as the matching operation of the image to be retrieved and the candidate cutout image, which will not be repeated here.

[0100] S408: Determine whether the document to be identified is an abnormal document based on the secondary matching result.

[0101] Exemplarily, if there is a new candidate cutting image that matches the picture to be retrieved, the picture to be retrieved is determined to be an abnormal picture, and the corresponding document to be identified is an abnormal document; if there is no new candidate cutting image that matches the picture to be retrieved, the picture to be retrieved is determined to be a normal picture, and the corresponding document to be identified is a normal document.

[0102] In an optional embodiment, if the document to be identified is determined to be an abnormal document based on the secondary matching result, it means that the sensitive cutout images contained in the preset retrieval library are incomplete. Therefore, the preset retrieval library can be updated by using the content images contained in the newly identified abnormal document, thereby improving the comprehensiveness of the sensitive cutout images in the preset retrieval library and facilitating the subsequent abnormal identification of the document to be identified.

[0103] Exemplarily, if the document to be identified is determined to be an abnormal document based on the secondary matching result, at least one content image in the document to be identified is obtained; wherein, at least one content image includes the image to be retrieved; and at least one content image is added to a preset retrieval library to update the preset retrieval library.

[0104] The present invention introduces preset extension rules to determine new candidate cutouts, thereby expanding the matching range of the image to be retrieved in the preset search library, avoiding the occurrence of missed image matches due to a small matching range, thereby avoiding the occurrence of missed recognition of abnormal documents due to incomplete sensitive cutouts of the same additional attribute information in the preset search library, and thus improving the accuracy of abnormal document recognition results.

[0105] As an implementation of the above-mentioned abnormal document identification methods, the present disclosure also provides an optional embodiment of a virtual device for implementing the above-mentioned abnormal document identification methods.

[0106] See also Figure 5 The abnormal document identification device 500 shown in the figure comprises: a to-be-retrieved image acquisition module 501, a feature matching module 502 and an abnormal document determination module 503.

[0107] The to-be-searched image acquisition module 501 is used to acquire the to-be-searched image in the to-be-recognized document;

[0108] A feature matching module 502 is used to perform feature matching between the image to be searched and at least one sensitive cutout image in a preset search library; wherein the sensitive cutout image is a segmentation processing result of a target image carrying sensitive information;

[0109] The abnormal document determination module 503 is used to determine whether the document to be identified is an abnormal document according to the matching result.

[0110] The disclosed embodiment introduces a sensitive cutout obtained by segmenting a target image carrying sensitive information and performs feature matching with the image to be retrieved, thereby being able to identify abnormal documents that carry sensitive information through a spliced ​​image of at least two images, providing a new approach to abnormal document recognition. By using a preset search library containing sensitive cutouts, the situation of bypassing the existing sensitive information review method by carrying sensitive information through a spliced ​​image is avoided, the missed recognition rate of abnormal documents is reduced, and the accuracy of abnormal document recognition results is thereby improved.

[0111] In an optional embodiment, the feature matching module 502 includes:

[0112] A candidate cutout selection unit, configured to select at least one sensitive cutout from the preset search library as a candidate cutout according to the additional attribute information of the image to be searched;

[0113] A feature matching unit is used to perform feature matching between the image to be retrieved and the candidate cutout image.

[0114] In an optional embodiment, the candidate cutout image selection unit includes:

[0115] A candidate cutout selection subunit is used to select at least one sensitive cutout having the same attribute value as the additional attribute information of the image to be retrieved from the preset search library as a candidate cutout;

[0116] The abnormal document determination module comprises:

[0117] The abnormal document determination unit is used to determine that the document to be identified is an abnormal document if there is a candidate cutout image that matches successfully.

[0118] In an optional embodiment, the feature matching module 502 further includes:

[0119] an extension attribute value determination unit, configured to determine, if there is no candidate cutout image that successfully matches the image to be retrieved, an extension attribute value corresponding to the attribute value of the additional attribute information of the image to be retrieved according to a preset extension rule;

[0120] The candidate cutout selection unit is further configured to select at least one sensitive cutout having the same extension attribute value as the image to be searched from the preset search library as a new candidate cutout;

[0121] The feature matching unit is further used to perform secondary feature matching between the image to be retrieved and the new candidate cut image;

[0122] The feature matching unit is further used to determine whether the document to be identified is an abnormal document based on the secondary matching result.

[0123] In an optional embodiment, the device further comprises:

[0124] A content image acquisition module, configured to acquire at least one content image in the document to be identified if it is determined that the document to be identified is an abnormal document according to the secondary matching result; wherein the at least one content image includes the image to be retrieved;

[0125] The preset search library updating module is used to add the at least one content image to the preset search library to update the preset search library.

[0126] In an optional embodiment, the additional attribute information includes release time information and / or segmentation type information.

[0127] In an optional embodiment, the additional attribute information includes release time information, and the extended attribute value includes the extended release time;

[0128] The extensional attribute value determining unit includes:

[0129] The first extended release time determination subunit is used to use the release time adjacent to the release time of the to-be-retrieved picture as the extended release time of the to-be-retrieved picture; or

[0130] The second extended release time determination subunit is used to use the release time of each sensitive cut-out image in the preset retrieval library as a candidate release time, and use at least one candidate release time that is inconsistent with the release time of the image to be retrieved as the extended release time.

[0131] In an optional embodiment, the additional attribute information includes segmentation type information, and the extension attribute value includes extension type;

[0132] The extensional attribute value determining unit includes:

[0133] A candidate segmentation type determination subunit is used to take the segmentation type of each sensitive cutout image in the preset search library as a candidate segmentation type;

[0134] The extension type determination subunit is used to use at least one candidate segmentation type that is inconsistent with the segmentation type of the image to be retrieved as the extension type.

[0135] In an optional embodiment, the feature matching module 502 includes:

[0136] A text region recognition unit, used to recognize the text region in the image to be retrieved;

[0137] A to-be-retrieved picture updating unit, used for cutting and / or scaling the to-be-retrieved picture according to the text area to update the to-be-retrieved picture;

[0138] The feature matching unit is used to perform feature matching between the updated image to be retrieved and at least one sensitive cutout image in a preset retrieval library.

[0139] The above-mentioned abnormal document identification device can execute the abnormal document identification method provided by any embodiment of the present disclosure, and has corresponding functional modules and beneficial effects for executing the abnormal document identification method.

[0140] It should be noted that in the technical solution disclosed in the present invention, the acquisition, storage and application of the images to be retrieved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0141] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0142] Figure 6 A schematic block diagram of an example electronic device 600 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0143] like Figure 6 As shown, the device 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 602 or a computer program loaded from a storage unit 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0144] A number of components in the device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a disk, an optical disk, etc.; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0145] The computing unit 601 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 601 performs the various methods and processes described above, such as the abnormal document recognition method. For example, in some embodiments, the abnormal document recognition method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 600 via ROM 602 and / or communication unit 609. When the computer program is loaded into RAM 603 and executed by the computing unit 601, one or more steps of the abnormal document recognition method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the abnormal document recognition method in any other appropriate manner (e.g., by means of firmware).

[0146] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0147] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0148] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0149] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0150] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0151] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services. The server may also be a server of a distributed system, or a server combined with a blockchain.

[0152] Artificial intelligence is a discipline that studies how to use computers to simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.). It includes both hardware-level and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, machine learning / deep learning technology, big data processing technology, knowledge graph technology, and other major directions.

[0153] Cloud computing refers to a technology system that uses network access to elastically scalable shared physical or virtual resource pools. Resources can include servers, operating systems, networks, software, applications, and storage devices, and can be deployed and managed on demand and in a self-service manner. Cloud computing technology can provide efficient and powerful data processing capabilities for technical applications such as artificial intelligence and blockchain, as well as model training.

[0154] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution provided by this disclosure can be achieved, and this document is not limited here.

[0155] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for identifying abnormal documents, include: Get the image to be retrieved in the document to be identified; Perform feature matching on the image to be searched and at least one sensitive cutout image in a preset search library; wherein the sensitive cutout image is a segmentation processing result of the target image carrying sensitive information; According to the matching result, determining whether the document to be identified is an abnormal document; The step of performing feature matching between the image to be retrieved and at least one sensitive cutout image in a preset retrieval library includes: Selecting at least one sensitive cutout image having the same attribute value as the additional attribute information of the image to be retrieved from the preset search library as a candidate cutout image; the additional attribute information is used as at least one dimension information of the image to be retrieved to classify the image to be retrieved; Perform feature matching between the image to be retrieved and the candidate cutout image; Wherein, determining whether the document to be identified is an abnormal document according to the matching result includes: If there is a successfully matched candidate cutout, the document to be identified is determined to be an abnormal document; If there is no candidate cutout that successfully matches the image to be retrieved, determining the extension attribute value corresponding to the attribute value of the additional attribute information of the image to be retrieved according to a preset extension rule; using at least one of the attribute values ​​in the preset search library that is different from the additional attribute information of the image to be retrieved as the extension attribute value; Selecting at least one sensitive cutout image having the same extension attribute value as the image to be searched from the preset search library as a new candidate cutout image; Perform secondary feature matching on the image to be retrieved and the new candidate cut image; According to the secondary matching result, it is determined whether the document to be identified is an abnormal document.

2. The method according to claim 1, further comprising: include: If it is determined according to the secondary matching result that the document to be identified is an abnormal document, obtaining at least one content image in the document to be identified; wherein the at least one content image includes the image to be retrieved; The at least one content picture is added to the preset search library to update the preset search library.

3. The method according to claim 1 or 2, in, The additional attribute information includes release time information and / or segmentation type information.

4. The method according to claim 1, in, The additional attribute information includes release time information, and the extended attribute value includes extended release time; The step of determining the extension attribute value corresponding to the attribute value of the additional attribute information of the image to be retrieved according to the preset extension rule includes: Using the publishing time adjacent to the publishing time of the image to be retrieved as the extended publishing time of the image to be retrieved; or The release time of each sensitive cut-out image in the preset search library is used as a candidate release time, and at least one candidate release time that is inconsistent with the release time of the image to be retrieved is used as the extended release time.

5. The method according to claim 1, in, The additional attribute information includes segmentation type information, and the extension attribute value includes extension type; The step of determining the extension attribute value corresponding to the attribute value of the additional attribute information of the image to be retrieved according to the preset extension rule includes: Using the segmentation type of each sensitive cutout image in the preset search library as a candidate segmentation type; At least one candidate segmentation type that is inconsistent with the segmentation type of the image to be retrieved is used as the extension type.

6. The method according to any one of claims 1 to 5, in, The feature matching of the image to be retrieved with at least one sensitive cutout image in a preset retrieval library includes: Identify the text area in the image to be retrieved; Cutting and / or scaling the image to be retrieved according to the text area to update the image to be retrieved; The updated image to be retrieved is feature matched with at least one sensitive cutout image in a preset retrieval library.

7. An abnormal document identification device, include: A module for obtaining images to be retrieved is used to obtain images to be retrieved in the document to be identified; A feature matching module, used for performing feature matching between the image to be retrieved and at least one sensitive cutout image in a preset retrieval library; wherein the sensitive cutout image is a segmentation processing result of a target image carrying sensitive information; An abnormal document determination module is used to determine whether the document to be identified is an abnormal document according to the matching result; Wherein, the feature matching module includes: A candidate cutout image selection unit is used to select at least one sensitive cutout image having the same attribute value as the additional attribute information of the image to be retrieved from the preset search library as a candidate cutout image; the additional attribute information is used as at least one dimension information of the image to be retrieved to classify the image to be retrieved; A feature matching unit, used for performing feature matching between the image to be retrieved and the candidate cutout image; Wherein, the abnormal document determination module includes: an abnormal document determination unit, configured to determine that the document to be identified is an abnormal document if there is a candidate cutout image that matches successfully; an extension attribute value determination unit, configured to determine, if there is no candidate cutout that successfully matches the image to be retrieved, an extension attribute value corresponding to the attribute value of the additional attribute information of the image to be retrieved according to a preset extension rule; and to use at least one of the attribute values ​​in the preset search library that is different from the additional attribute information of the image to be retrieved as the extension attribute value; The candidate cutout selection unit is further configured to select at least one sensitive cutout having the same extension attribute value as the image to be searched from the preset search library as a new candidate cutout; The feature matching unit is further used to perform secondary feature matching between the image to be retrieved and the new candidate cut image; The feature matching unit is further used to determine whether the document to be identified is an abnormal document based on the secondary matching result.

8. The device according to claim 7, further comprising: include: A content image acquisition module, configured to acquire at least one content image in the document to be identified if it is determined that the document to be identified is an abnormal document according to the secondary matching result; wherein the at least one content image includes the image to be retrieved; The preset search library updating module is used to add the at least one content image to the preset search library to update the preset search library.

9. The device according to claim 7 or 8, in, The additional attribute information includes release time information and / or segmentation type information.

10. The device according to claim 7, in, The additional attribute information includes release time information, and the extended attribute value includes extended release time; The extensional attribute value determining unit includes: The first extended release time determination subunit is used to use the release time adjacent to the release time of the to-be-retrieved picture as the extended release time of the to-be-retrieved picture; or The second extended release time determination subunit is used to use the release time of each sensitive cut-out image in the preset retrieval library as a candidate release time, and use at least one candidate release time that is inconsistent with the release time of the image to be retrieved as the extended release time.

11. The device according to claim 7, in, The additional attribute information includes segmentation type information, and the extension attribute value includes extension type; The extensional attribute value determining unit includes: A candidate segmentation type determination subunit is used to take the segmentation type of each sensitive cutout image in the preset search library as a candidate segmentation type; The extension type determination subunit is used to use at least one candidate segmentation type that is inconsistent with the segmentation type of the image to be retrieved as the extension type.

12. The device according to any one of claims 7 to 11, in, The feature matching module comprises: A text region recognition unit, used to recognize the text region in the image to be retrieved; A to-be-retrieved picture updating unit, used for cutting and / or scaling the to-be-retrieved picture according to the text area to update the to-be-retrieved picture; The feature matching unit is used to perform feature matching between the updated image to be retrieved and at least one sensitive cutout image in a preset retrieval library.

13. An electronic device, include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute an abnormal document identification method described in any one of claims 1-6.

14. A non-transitory computer-readable storage medium storing computer instructions, in, The computer instructions are used to enable the computer to execute an abnormal document identification method according to any one of claims 1-6.

15. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements an abnormal document identification method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Image processing method, device, equipment and storage medium based on image recognition

    CN109166261A

  • Picture identification method, server and computer readable storage medium

    CN110119743A

  • Image search processing method, device, equipment and storage medium

    CN110532415A

  • Picture recognition method and device, computer readable storage medium and computer equipment

    CN110807139A

  • Image auditing method and device, and computer readable storage medium

    CN111522987A