Internet resource information identification method and device, equipment, medium and product
Identifying Internet resource information through picture matching method solves the omission problem caused by inaccurate text matching, improves the accuracy of resource information identification, and ensures the security control of resource information.
Patent Information
- Application Number
- CN202411189793.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-12-24
AI Technical Summary
In the prior art, the identification of Internet resource information through text matching is inaccurate, and omissions are prone to occur, and Internet resource information outside the organization cannot be effectively included in the scope of management and control.
Using the image matching method, the image similarity in the pictures in the Internet resource information and the picture similarity in the preset picture library, as well as the home page screenshot and the preset home page screenshot, identify the target picture with high similarity to the preset picture library, and then determine the Target Internet resource information.
It improves the accuracy of Internet resource information identification, avoids omissions during text recognition, and ensures that resource information is accurately included in control.
Smart Images

Figure CN119181083A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of data processing technology, and in particular, relates to a method, device, equipment, medium and product for identifying Internet resource information. Background Art
[0002] Internet resource information is an important support for the development of security operations. With the rapid development of the Internet, the Internet resource information of different organizations (such as enterprises) is increasing and the types are increasing. It is very likely that there is Internet resource information that is not within the control of the organization, and these Internet resource information face great security threats. Therefore, it is crucial to accurately identify the Internet resource information of the organization and bring the Internet resource information within the control of the organization.
[0003] In the prior art, text matching is mainly used to identify Internet resource information within an organization or outside the organization. The identification of Internet resource information is inaccurate and prone to omissions. Summary of the invention
[0004] The embodiments of the present application provide a method, apparatus, device, medium and product for identifying Internet resource information. A target image with a high similarity to an image in a preset image library is identified through image matching, i.e., through the similarity between a first image in the Internet resource information and a second image in a preset image library, and the similarity between a first homepage screenshot of the homepage of the Internet resource information and a second homepage screenshot in the preset image library. The target Internet resource information corresponding to the target image is the identified Internet resource information, thereby avoiding the problem of incomplete identification and easy omissions during text recognition, and improving the accuracy of Internet resource information recognition.
[0005] In a first aspect, an embodiment of the present application provides a method for identifying Internet resource information, including:
[0006] Acquire an Internet resource information list, where the Internet resource information list includes at least one Internet resource information;
[0007] Identify a first picture in target Internet resource information, and capture a first homepage screenshot of a homepage of the target Internet resource information, where the target Internet resource information is any one of the at least one Internet resource information;
[0008] Determining the image similarity between the second image in the preset image library and the first image, and the homepage similarity between the second homepage screenshot in the preset image library and the first homepage screenshot;
[0009] When the image similarity is greater than a first preset value, or the homepage similarity is greater than a second preset value, a first recognition result is generated, the first recognition result including an identifier of the target Internet resource information, image similarity and homepage similarity, and a second image and a screenshot of the second homepage.
[0010] In a possible implementation, the first recognition result also includes first text information corresponding to the second image and second text information corresponding to the second homepage screenshot; before recognizing the first image in the target Internet resource information and capturing the first homepage screenshot of the homepage of the target Internet resource information, the method also includes:
[0011] Identify the third text information at the first preset position and the fourth text information at the second preset position in the target Internet resource information;
[0012] Determine a first text similarity between the first text information and the third text information corresponding to the second picture in the preset picture library, and a second text similarity between the second text information and the fourth text information corresponding to the second homepage screenshot in the preset picture library;
[0013] Identifying the first image in the target Internet resource information and capturing a first homepage screenshot of the homepage of the target Internet resource information, including:
[0014] When the first text similarity is less than the third preset value and the second text similarity is less than the fourth preset value, a first picture in the target Internet resource information is identified, and a first homepage screenshot of the homepage of the target Internet resource information is captured.
[0015] In a possible embodiment, it also includes:
[0016] When the first text similarity is not less than the third preset value, or the second text similarity is not less than the fourth preset value, a second recognition result is generated, and the second recognition result includes an identifier of the target Internet resource information, the first text similarity and the second text similarity, and the first text information and the second text information.
[0017] In a possible implementation, before obtaining the Internet resource information list, the method further includes:
[0018] Obtaining information about preset Internet resources of a preset organization;
[0019] Identify a third picture in the preset Internet resource information and a third homepage screenshot of the homepage of the preset Internet resource information, the third picture includes the second picture, and the third homepage screenshot includes the second homepage screenshot;
[0020] Build a preset picture library, which includes third-party pictures and third-homepage screenshots.
[0021] In one possible embodiment, the third picture includes at least one of a logo of a preset organization, a name of the preset organization, a logo of a sub-organization of the preset organization, and a name of a sub-organization of the preset organization.
[0022] In a possible implementation, when the image similarity is greater than a first preset value, or the homepage similarity is greater than a second preset value, after generating the first recognition result, the method further includes:
[0023] The first recognition result is displayed.
[0024] In a second aspect, an embodiment of the present application provides an apparatus for identifying Internet resource information, including:
[0025] An acquisition module, used to acquire an Internet resource information list, the Internet resource information list including at least one Internet resource information;
[0026] an identification module, used to identify a first image in target Internet resource information, and capture a first homepage screenshot of a homepage of the target Internet resource information, wherein the target Internet resource information is any one of the at least one Internet resource information;
[0027] A determination module, used to determine the image similarity between the second image in the preset image library and the first image, and the homepage similarity between the second homepage screenshot in the preset image library and the first homepage screenshot;
[0028] A generation module is used to generate a first recognition result when the image similarity is greater than a first preset value, or the homepage similarity is greater than a second preset value. The first recognition result includes an identifier of the target Internet resource information, image similarity and homepage similarity, as well as a second image and a screenshot of the second homepage.
[0029] In a possible implementation, the first recognition result further includes first text information corresponding to the second image and second text information corresponding to the second homepage screenshot; and the device further includes:
[0030] The identification module is further used to identify the third text information at the first preset position and the fourth text information at the second preset position in the target Internet resource information before identifying the first picture in the target Internet resource information and capturing the first homepage screenshot of the homepage of the target Internet resource information;
[0031] The determination module is further used to determine a first text similarity between the first text information corresponding to the second image in the preset image library and the third text information, and a second text similarity between the second text information corresponding to the second homepage screenshot in the preset image library and the fourth text information;
[0032] The recognition module is specifically used to identify the first image in the target Internet resource information and capture the first homepage screenshot of the homepage of the target Internet resource information when the first text similarity is less than the third preset value and the second text similarity is less than the fourth preset value.
[0033] In a possible embodiment, it also includes:
[0034] The generation module is also used to generate a second recognition result when the first text similarity is not less than a third preset value or the second text similarity is not less than a fourth preset value. The second recognition result includes an identifier of the target Internet resource information, the first text similarity and the second text similarity, and the first text information and the second text information.
[0035] In a possible embodiment, the device further includes:
[0036] The acquisition module is further used to acquire preset Internet resource information of a preset organization before acquiring the Internet resource information list;
[0037] The identification module is further used to identify a third picture in the preset Internet resource information and a third homepage screenshot of the homepage of the preset Internet resource information, where the third picture includes the second picture, and the third homepage screenshot includes the second homepage screenshot;
[0038] A construction module is used to construct a preset image library, which includes third-party images and third-homepage screenshots.
[0039] In one possible embodiment, the third picture includes at least one of a logo of a preset organization, a name of the preset organization, a logo of a sub-organization of the preset organization, and a name of a sub-organization of the preset organization.
[0040] In a possible embodiment, the device further includes:
[0041] The display module is used to display the first recognition result after generating the first recognition result when the picture similarity is greater than a first preset value or the homepage similarity is greater than a second preset value.
[0042] In a third aspect, an embodiment of the present application provides an electronic device, the device comprising:
[0043] a processor and a memory storing computer program instructions;
[0044] When the processor executes the computer program instructions, any one of the above-mentioned methods for identifying Internet resource information is implemented.
[0045] In a fourth aspect, an embodiment of the present application provides a computer storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, any of the above-mentioned methods for identifying Internet resource information is implemented.
[0046] In a fifth aspect, an embodiment of the present application provides a computer program product, characterized in that when the instructions in the computer program product are executed by a processor of an electronic device, the electronic device is enabled to execute any one of the above-mentioned methods for identifying Internet resource information.
[0047] The Internet resource information identification method, device, equipment, medium and product of the embodiments of the present application include: obtaining an Internet resource information list, the Internet resource information list includes at least one Internet resource information; identifying a first image in the target Internet resource information, and capturing a first homepage screenshot of the homepage of the target Internet resource information, the target Internet resource information being any one of the at least one Internet resource information; determining the image similarity between the second image in the preset image library and the first image, and the homepage similarity between the second homepage screenshot in the preset image library and the first homepage screenshot; when the image similarity is greater than a first preset value, or the homepage similarity is greater than a second preset value, generating a first identification result, the first identification result including an identifier of the target Internet resource information, image similarity and homepage similarity, as well as a second image and a second homepage screenshot. In this way, through image matching, that is, through the similarity between the first image in the Internet resource information and the second image in the preset image library, as well as the similarity between the first homepage screenshot of the homepage of the Internet resource information and the second homepage screenshot in the preset image library, a target image with a high similarity to the image in the preset image library is identified, and the target Internet resource information corresponding to the target image is the identified Internet resource information, thereby avoiding the problem of incomplete recognition and easy omission during text recognition, and improving the accuracy of Internet resource information recognition. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0049] Figure 1 It is a flowchart of a method for identifying Internet resource information provided by an embodiment of the present application;
[0050] Figure 2 is a flowchart of a method for identifying Internet resource information provided by another embodiment of the present application;
[0051] Figure 3is a flowchart of a method for identifying Internet resource information provided by another embodiment of the present application;
[0052] Figure 4 is a flowchart of a method for identifying Internet resource information provided by yet another embodiment of the present application;
[0053] Figure 5 is a structural diagram of an Internet resource information identification device provided by yet another embodiment of the present application;
[0054] Figure 6 It is a structural diagram of an electronic device provided in yet another embodiment of the present application. DETAILED DESCRIPTION
[0055] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0056] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0057] It should be noted that the acquisition, storage, use and processing of data in the embodiments of the present application are in compliance with the relevant provisions of national laws and regulations.
[0058] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0059] Internet resource information is an important support for the development of security operations. With the rapid development of the Internet, Internet resource information of different organizations is increasing in number and variety. It is very likely that there is Internet resource information that is not within the control of the organization, and these Internet resource information face great security threats. Therefore, it is crucial to accurately identify the Internet resource information of the organization and bring the Internet resource information within the control of the organization.
[0060] In the prior art, text matching is mainly used to identify Internet resource information within an organization or outside the organization. The identification of Internet resource information is inaccurate and prone to omissions.
[0061] In order to solve the problems of the prior art, the embodiments of the present application provide a method, device, equipment, medium and product for identifying Internet resource information. The method for identifying Internet resource information provided in the embodiments of the present application identifies a target image with a high similarity to an image in a preset image library through image matching, that is, through the similarity between a first image in the Internet resource information and a second image in a preset image library, and the similarity between a first homepage screenshot of the homepage of the Internet resource information and a second homepage screenshot in the preset image library, and the target Internet resource information corresponding to the target image is the identified Internet resource information, which avoids the problem of incomplete recognition and easy omission during text recognition, and improves the accuracy of Internet resource information recognition.
[0062] The following first introduces the method for identifying Internet resource information provided by the embodiment of the present application. Figure 1 As shown, the method for identifying Internet resource information provided in the embodiment of the present application includes the following steps.
[0063] S110: Obtain an Internet resource information list, where the Internet resource information list includes at least one Internet resource information.
[0064] Here, the Internet resource information list may include all Internet resource information with access rights. The Internet resource information may include but is not limited to resource information such as websites, applications, and applets.
[0065] In some embodiments, the Internet resource information list includes the website address of the Internet resource information. As an example, the Internet address segment resource information is traversed by the network space engine, and the browser simulates initiating access to access the target Internet resource information in at least one Internet resource information.
[0066] S120: Identify a first picture in the target Internet resource information, and capture a first homepage screenshot of the homepage of the target Internet resource information, where the target Internet resource information is any one of the at least one Internet resource information.
[0067] In some embodiments, the target Internet resource information is parsed to obtain a first image in the target Internet resource information, the first image including an icon and a static image. In addition, a first homepage screenshot of the homepage of the target Internet resource information is captured, that is, a screenshot of the entire homepage is captured. The first image and the first homepage screenshot are saved as objects to be matched.
[0068] It should be noted that some Internet resource information includes a header, content and footer in its layout, and the header and footer often contain logo images related to the organization.
[0069] In some embodiments, the first image of the homepage of the target Internet resource information is identified and the first image of the homepage is used as an object to be matched.
[0070] S130: Determine the image similarity between the second image in the preset image library and the first image, and the homepage similarity between the second homepage screenshot in the preset image library and the first homepage screenshot.
[0071] Here, the second picture in the preset picture library and the second home page screenshot are set in advance.
[0072] In some embodiments, the second image may be a logo of a different organization, an image of the organization name, or other customized logo image, and the second homepage screenshot may be a screenshot of the homepage of the Internet resource information of the different organization. Further, other Internet resource information of the different organization may be identified through the second image and the second homepage screenshot.
[0073] It is understandable that the other Internet resource information here may be abnormal Internet resource information, newly launched Internet resource information, lower version Internet resource information (low maintenance frequency), Internet resource information that cannot be effectively defined, and other Internet resource information that is not within the scope of the organization's control.
[0074] In some embodiments, based on computer vision, image matching is used (using opencv or a custom image matching algorithm) to detect the similarity between the second image and the first image, and between the second homepage screenshot and the first homepage screenshot. For example, the image matching method includes a mean hash algorithm and a difference perception algorithm, which are applicable to the scenario of obtaining images contained in a webpage through wget; it can also include an image content-related algorithm, which is equivalent to finding similar small images in a large image. This method is applicable to the scenario of taking a photo of the entire webpage. The image matching method is a prior art and is not limited here.
[0075] S140. When the image similarity is greater than a first preset value, or the homepage similarity is greater than a second preset value, generate a first recognition result, the first recognition result including an identifier of the target Internet resource information, the image similarity and the homepage similarity, and a second image and a screenshot of the second homepage.
[0076] Here, the first preset value and the second preset value may be set in advance. The first preset value and the second preset value may be the same or different.
[0077] In some embodiments, the identifier of the target Internet resource information may be the name and URL of the target Internet resource information.
[0078] In this way, through image matching, that is, through the similarity between the first image in the Internet resource information and the second image in the preset image library, as well as the similarity between the first homepage screenshot of the homepage of the Internet resource information and the second homepage screenshot in the preset image library, a target image with a high similarity to the image in the preset image library is identified, and the target Internet resource information corresponding to the target image is the identified Internet resource information, thereby avoiding the problem of incomplete recognition and easy omission during text recognition, and improving the accuracy of Internet resource information recognition.
[0079] Based on this, in some embodiments, the first recognition result also includes the first text information corresponding to the second picture and the second text information corresponding to the second homepage screenshot; Figure 2 As shown, before the above S120, the method may further include:
[0080] S111, identifying the third text information at the first preset position and the fourth text information at the second preset position in the target Internet resource information;
[0081] S112, determining a first text similarity between the first text information and the third text information corresponding to the second picture in the preset picture library, and a second text similarity between the second text information and the fourth text information corresponding to the second homepage screenshot in the preset picture library;
[0082] The above S120 may specifically include:
[0083] S121. When the first text similarity is less than a third preset value and the second text similarity is less than a fourth preset value, identify a first image in the target Internet resource information and capture a first homepage screenshot of the homepage of the target Internet resource information.
[0084] Here, the first preset position may be the header or footer position of the target Internet resource information, and the second preset position may be the entire position of the homepage of the target Internet resource information. The third preset value and the fourth preset value are set in advance. The third preset value and the fourth preset value may be the same or different.
[0085] In some embodiments, the first text information corresponding to the second image may be text information included on the second image, which represents characteristic information of the organization. The second text information corresponding to the second homepage screenshot may be text information on the second homepage screenshot, which includes most of the important information of the organization.
[0086] In some embodiments, when the first text similarity is less than the third preset value, and the second text similarity is less than the fourth preset value, it means that the text does not match, and the target Internet resource information cannot be included in the organization through text matching, and image matching is required to determine whether the target Internet resource information is the Internet resource information of a certain organization. Therefore, when the first text similarity is less than the third preset value, and the second text similarity is less than the fourth preset value, the first image in the target Internet resource information is identified, and the first homepage screenshot of the homepage of the target Internet resource information is captured to match the image.
[0087] In this way, before performing image matching, text matching is performed first. The third text information at the first preset position and the fourth text information at the second preset position in the target Internet resource information are identified, and the first text similarity between the first text information corresponding to the second image in the preset image library and the third text information, as well as the second text similarity between the second text information corresponding to the second homepage screenshot in the preset image library and the fourth text information are determined. When the first text similarity is less than the third preset value, and the second text similarity is less than the fourth preset value, it means that the text does not match, and image matching is performed again at this time. After two matching processes, the accuracy of Internet resource information identification is further guaranteed.
[0088] Based on this, in some embodiments, Figure 3 As shown, corresponding to the above S121, the method may further include:
[0089] S210. When the first text similarity is not less than a third preset value, or the second text similarity is not less than a fourth preset value, generate a second recognition result, the second recognition result including an identifier of the target Internet resource information, the first text similarity and the second text similarity, and the first text information and the second text information.
[0090] Here, the third preset value and the fourth preset value are set in advance.
[0091] In some embodiments, when the first text similarity is not less than the third preset value, or the second text similarity is not less than the fourth preset value, it means that the Internet resource information in the organization can be identified through the text. In this case, the second identification result is directly generated.
[0092] In this way, if the preset text information similar to the text information in the target Internet resource information can be matched through text matching, there is no need to match the image again. The text matching is performed first and then the image matching. By matching the text first, the call of computing resources is reduced and computing costs are saved.
[0093] Based on this, in some embodiments, Figure 4 As shown, before the above S110, the method may further include:
[0094] S101, obtaining preset Internet resource information of a preset organization;
[0095] S102, identifying a third picture in the preset Internet resource information and a third homepage screenshot of the homepage of the preset Internet resource information, where the third picture includes the second picture, and the third homepage screenshot includes the second homepage screenshot;
[0096] S103, constructing a preset picture library, the preset picture library including the third picture and the third homepage screenshot.
[0097] Here, the default organization is set in advance. The default Internet resource information is set in advance.
[0098] In some embodiments, the preset Internet resource information of the preset organization may include at least one.
[0099] In this way, a preset picture library is constructed in advance, and the third picture in the preset Internet resource information and the third homepage screenshot of the homepage of the preset Internet resource information are saved, so as to more comprehensively identify the Internet resource information within the preset organization, thereby improving the accuracy of Internet resource information identification.
[0100] Based on this, in some embodiments, the third picture includes at least one of a logo of a preset organization, a name of the preset organization, a logo of a sub-organization of the preset organization, and a name of a sub-organization of the preset organization.
[0101] As an example, the third image includes the LOGO of the organization's main website, the organization's ICON-LOGO, the organization's text LOGO and other variant LOGOs, such as a LOGO designed independently by a sub-organization.
[0102] Among them, ICON is an icon format used for system icons, software icons, etc. ICON usually refers to small icons in the interface of applications, websites, etc., which are used to provide information and guidance, such as buttons, warning symbols, etc.
[0103] In this way, the third picture not only includes pictures of Internet resource information within the preset organization, but also includes pictures of Internet resource information of sub-organizations of the preset organization, more comprehensively covering the pictures of Internet resource information that the organization should have, thereby improving the accuracy of the recognition results.
[0104] Based on this, in some embodiments, after the above S140, the method may further include:
[0105] The first recognition result is displayed.
[0106] In some embodiments, the first recognition result can be displayed to the user at the same time as it is obtained; the first recognition result can also be written into a file (report) to generate a recognition file (report), and the recognition file (report) is sent to the user or saved in a storage module, and the first recognition result is displayed when the user's open input is received.
[0107] In this way, users can further analyze the recognition results. Users can determine whether the target Internet resource information is Internet resource information within the organization through similarity, the second icon, the second homepage screenshot, etc., and further improve the accuracy of the recognition results by manual re-verification.
[0108] In some embodiments, when the target Internet resource information is confirmed to be Internet resource information within a preset organization through user verification, the first image and the first homepage screenshot of the target Internet resource information are saved to a preset image library for subsequent identification process.
[0109] In the embodiment provided by the present application, image matching is introduced on the basis of text matching, and secret Internet resource information is identified through a pre-built preset image library. It is suitable for detecting Internet resource information with the following characteristics: the Internet resource information (title, body, icp, etc.) does not include or only partially includes the name of the organization, but the homepage of the Internet resource information includes the organization's LOGO or variant LOGO. The preset image library allows the import of customized LOGOs, website icons, etc.
[0110] Based on the Internet resource information identification method provided in the above embodiment, the present application also provides a specific implementation of the Internet resource information identification device. Please refer to the following embodiment.
[0111] See also Figure 5 The Internet resource information identification device 300 provided in the embodiment of the present application includes:
[0112] An acquisition module 310 is used to acquire an Internet resource information list, where the Internet resource information list includes at least one Internet resource information;
[0113] The identification module 320 is used to identify a first picture in the target Internet resource information and capture a first homepage screenshot of the homepage of the target Internet resource information, where the target Internet resource information is any one of the at least one Internet resource information;
[0114] A determination module 330, configured to determine the image similarity between the second image in the preset image library and the first image, and the homepage similarity between the second homepage screenshot in the preset image library and the first homepage screenshot;
[0115] The generation module 340 is used to generate a first recognition result when the image similarity is greater than a first preset value, or the homepage similarity is greater than a second preset value. The first recognition result includes an identifier of the target Internet resource information, image similarity and homepage similarity, as well as a second image and a screenshot of the second homepage.
[0116] Based on this, in some embodiments, the first recognition result also includes the first text information corresponding to the second image and the second text information corresponding to the second homepage screenshot; the device 300 may also include:
[0117] The identification module 320 is further used to identify the third text information at the first preset position and the fourth text information at the second preset position in the target Internet resource information before identifying the first picture in the target Internet resource information and capturing the first homepage screenshot of the homepage of the target Internet resource information;
[0118] The determination module 330 is further used to determine a first text similarity between the first text information corresponding to the second image in the preset image library and the third text information, and a second text similarity between the second text information corresponding to the second homepage screenshot in the preset image library and the fourth text information;
[0119] The identification module 320 is specifically used to identify the first image in the target Internet resource information and capture the first homepage screenshot of the homepage of the target Internet resource information when the first text similarity is less than the third preset value and the second text similarity is less than the fourth preset value.
[0120] Based on this, in some embodiments, the apparatus 300 may further include:
[0121] The generation module 340 is also used to generate a second recognition result when the first text similarity is not less than a third preset value or the second text similarity is not less than a fourth preset value. The second recognition result includes an identifier of the target Internet resource information, the first text similarity and the second text similarity, and the first text information and the second text information.
[0122] Based on this, in some embodiments, the apparatus 300 may further include:
[0123] The acquisition module 310 is further used to acquire preset Internet resource information of a preset organization before acquiring the Internet resource information list;
[0124] The identification module 320 is further used to identify a third picture in the preset Internet resource information and a third homepage screenshot of the homepage of the preset Internet resource information, where the third picture includes the second picture, and the third homepage screenshot includes the second homepage screenshot;
[0125] A construction module is used to construct a preset image library, which includes third-party images and third-homepage screenshots.
[0126] Based on this, in some embodiments, the third picture includes at least one of a logo of a preset organization, a name of the preset organization, a logo of a sub-organization of the preset organization, and a name of a sub-organization of the preset organization.
[0127] Based on this, in some embodiments, the apparatus 300 may further include:
[0128] The display module is used to display the first recognition result after generating the first recognition result when the picture similarity is greater than a first preset value or the homepage similarity is greater than a second preset value.
[0129] The various modules of the Internet resource information identification device provided in the embodiment of the present application can realize the functions of the various steps of the Internet resource information identification method provided above and achieve the corresponding technical effects, which will not be repeated here for the sake of concise description.
[0130] Based on the same inventive concept, an embodiment of the present application also provides an electronic device.
[0131] Figure 6 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.
[0132] The electronic device may include a processor 401 and a memory 402 storing computer program instructions.
[0133] Specifically, the processor 401 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0134] Memory 402 may include a large capacity memory for data or instructions. By way of example and not limitation, memory 402 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, memory 402 may include a removable or non-removable (or fixed) medium. In appropriate cases, memory 402 may be inside or outside of an integrated gateway disaster recovery device. In a specific embodiment, memory 402 is a non-volatile solid-state memory.
[0135] The memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of the present disclosure.
[0136] The processor 401 reads and executes the computer program instructions stored in the memory 402 to implement any one of the Internet resource information identification methods in the above embodiments.
[0137] In one example, the electronic device may further include a communication interface 403 and a bus 410. Figure 6 As shown, the processor 401, the memory 402, and the communication interface 403 are connected via a bus 410 and communicate with each other.
[0138] The communication interface 403 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0139] The bus 410 includes hardware, software or both, coupling the components of the electronic device to each other. For example, but not limitation, the bus may include an accelerated graphics port (Accelerated Graphics Port, AGP) or other graphics bus, an enhanced industry standard architecture (Extended Industry Standard Architecture, EISA) bus, a front side bus (Front Side Bus, FSB), a hypertransport (Hyper Transport, HT) interconnection, an industry standard architecture (Industry Standard Architecture, ISA) bus, an infinite bandwidth interconnection, a low pin count (Linear Predictive Coding, LPC) bus, a memory bus, a micro channel architecture (MicroChannel Architecture, MCA) bus, a peripheral component interconnect (Peripheral Component Interconnect, PCI) bus, a PCI-Express (Peripheral Component Interconnect-X, PCI-X) bus, a serial advanced technology attachment (Serial Advanced Technology Attachment, SATA) bus, a video electronics standard association local (VESA Local Bus, VLB) bus or other suitable buses or a combination of two or more of these. Where appropriate, the bus 410 may include one or more buses. Although the embodiments of the present application describe and illustrate a specific bus, the present application considers any suitable bus or interconnection. The electronic device can execute the Internet resource information identification method in the embodiments of the present invention, thereby implementing the above Internet resource information identification method.
[0140] In addition, in combination with the Internet resource information identification method in the above embodiment, the present application embodiment can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any Internet resource information identification method in the above embodiment is implemented.
[0141] The present application also provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes each process of implementing any one of the above-mentioned Internet resource information identification method embodiments.
[0142] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0143] The functional blocks shown in the structural block diagram described above can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), appropriate firmware, plug-in, function card, etc. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or communication link by a data signal carried in a carrier. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, read-only memory (Read-Only Memory, ROM), flash memory, erasable read-only memory (Erasable ReadOnly Memory, EROM), floppy disks, compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical discs, hard disks, optical fiber media, radio frequency (Radio Frequency, RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0144] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0145] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0146] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A method for identifying Internet resource information, characterized in that: include: Acquire an Internet resource information list, wherein the Internet resource information list includes at least one Internet resource information; Identify a first picture in target Internet resource information, and capture a first homepage screenshot of the homepage of the target Internet resource information, wherein the target Internet resource information is any one of the at least one Internet resource information; Determining a picture similarity between a second picture in a preset picture library and the first picture, and a homepage similarity between a second homepage screenshot in the preset picture library and the first homepage screenshot; When the image similarity is greater than a first preset value, or the homepage similarity is greater than a second preset value, a first recognition result is generated, the first recognition result including an identifier of the target Internet resource information, the image similarity and the homepage similarity, and the second image and the second homepage screenshot.
2. The method for identifying Internet resource information according to claim 1, characterized in that: The first recognition result also includes first text information corresponding to the second image and second text information corresponding to the second homepage screenshot; before identifying the first image in the target Internet resource information and capturing the first homepage screenshot of the homepage of the target Internet resource information, the method also includes: Identify the third text information at the first preset position and the fourth text information at the second preset position in the target Internet resource information; Determine a first text similarity between the first text information corresponding to the second image in the preset image library and the third text information, and a second text similarity between the second text information corresponding to the second homepage screenshot in the preset image library and the fourth text information; The step of identifying a first picture in the target Internet resource information and capturing a first homepage screenshot of the homepage of the target Internet resource information includes: When the first text similarity is less than a third preset value and the second text similarity is less than a fourth preset value, a first picture in the target Internet resource information is identified, and a first homepage screenshot of the homepage of the target Internet resource information is captured.
3. The method for identifying Internet resource information according to claim 2, characterized in that: Also includes: When the first text similarity is not less than a third preset value, or the second text similarity is not less than a fourth preset value, a second recognition result is generated, the second recognition result including an identifier of the target Internet resource information, the first text similarity and the second text similarity, and the first text information and the second text information.
4. The method for identifying Internet resource information according to claim 1, characterized in that: Before obtaining the Internet resource information list, the method further includes: Obtaining information about preset Internet resources of a preset organization; Identify a third picture in the preset Internet resource information and a third homepage screenshot of the homepage of the preset Internet resource information, wherein the third picture includes the second picture, and the third homepage screenshot includes the second homepage screenshot; Construct the preset picture library, which includes the third picture and the third homepage screenshot.
5. The method for identifying Internet resource information according to claim 4, characterized in that: The third picture includes at least one of a logo of the preset organization, a name of the preset organization, a logo of a sub-organization of the preset organization, and a name of a sub-organization of the preset organization.
6. The method for identifying Internet resource information according to claim 1, characterized in that: When the image similarity is greater than a first preset value, or the homepage similarity is greater than a second preset value, after generating a first recognition result, the method further includes: The first recognition result is displayed.
7. A device for identifying Internet resource information, characterized in that: include: An acquisition module, used to acquire an Internet resource information list, wherein the Internet resource information list includes at least one Internet resource information; an identification module, configured to identify a first image in target Internet resource information and capture a first homepage screenshot of the homepage of the target Internet resource information, wherein the target Internet resource information is any one of the at least one Internet resource information; A determination module, used to determine the image similarity between a second image in a preset image library and the first image, and the homepage similarity between a second homepage screenshot in the preset image library and the first homepage screenshot; A generation module is used to generate a first recognition result when the image similarity is greater than a first preset value, or the homepage similarity is greater than a second preset value. The first recognition result includes an identifier of the target Internet resource information, the image similarity and the homepage similarity, and the second image and the second homepage screenshot.
8. The device for identifying Internet resource information according to claim 7, characterized in that: The first recognition result also includes first text information corresponding to the second image and second text information corresponding to the second homepage screenshot; the device also includes: The identification module is further used to identify the third text information at the first preset position and the fourth text information at the second preset position in the target Internet resource information before identifying the first picture in the target Internet resource information and capturing the first homepage screenshot of the homepage of the target Internet resource information; The determination module is further used to determine a first text similarity between the first text information corresponding to the second image in the preset image library and the third text information, and a second text similarity between the second text information corresponding to the second homepage screenshot in the preset image library and the fourth text information; The identification module is specifically used to identify the first image in the target Internet resource information and capture the first homepage screenshot of the homepage of the target Internet resource information when the first text similarity is less than a third preset value and the second text similarity is less than a fourth preset value.
9. The device for identifying Internet resource information according to claim 8, characterized in that: Also includes: The generation module is further used to generate a second recognition result when the first text similarity is not less than a third preset value or the second text similarity is not less than a fourth preset value, wherein the second recognition result includes an identifier of the target Internet resource information, the first text similarity and the second text similarity, and the first text information and the second text information.
10. The device for identifying Internet resource information according to claim 7, characterized in that: The device also includes: The acquisition module is further used to acquire preset Internet resource information of a preset organization before acquiring the Internet resource information list; The identification module is further used to identify a third picture in the preset Internet resource information and a third homepage screenshot of the homepage of the preset Internet resource information, wherein the third picture includes the second picture, and the third homepage screenshot includes the second homepage screenshot; A construction module is used to construct the preset picture library, and the preset picture library includes the third picture and the third homepage screenshot.
11. The device for identifying Internet resource information according to claim 10, characterized in that: The third picture includes at least one of a logo of the preset organization, a name of the preset organization, a logo of a sub-organization of the preset organization, and a name of a sub-organization of the preset organization.
12. The device for identifying Internet resource information according to claim 7, characterized in that: The device also includes: The display module is used to display the first recognition result after generating the first recognition result when the picture similarity is greater than a first preset value or the homepage similarity is greater than a second preset value.
13. An electronic device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the method for identifying Internet resource information according to any one of claims 1 to 6 is implemented.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the method for identifying Internet resource information according to any one of claims 1 to 6 is implemented.
15. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device is enabled to execute the method for identifying Internet resource information as described in any one of claims 1-6.
Citation Information
Patent Citations
Method and device for detecting phishing webpage based on picture matching
CN104143008A
Retrieval method and apparatus
CN106777177A
Counterfeit website identification method, device and equipment
CN116664881A
