Web page identification method, device, electronic device, medium, and computer program
The method employs graph neural networks to analyze web page data and relationships, improving the identification of plagiarized content by learning from historical data to enhance categorization accuracy.
Patent Information
- Application Number
- JP2023518230
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-01-29
- Filing Date
- 2022-08-02
- Publication Date
- 2024-10-28
- Estimated Expiration
- 2042-08-02
AI Technical Summary
The proliferation of fraudulent web pages through plagiarism negatively impacts creators and users, and existing methods lack effective identification techniques.
A web page identification method using graph neural networks to analyze configuration data, association relationships, and historical graph data to determine the similarity and category of web pages, leveraging trained graph neural networks to identify plagiarized content.
Enhances the accuracy of web page categorization by learning unique information from historical data, effectively distinguishing between plagiarized and original content.
Smart Images

Figure 0007574424000001 
Figure 0007574424000002 
Figure 0007574424000003
Abstract
Description
[Technical field]
[0001] This application claims priority to Chinese Patent Application No. 202210113248.3, filed on January 29, 2022, the contents of which are incorporated herein by reference.
[0002] <Technical field> The present disclosure relates to the field of artificial intelligence technology, specifically to technical fields such as deep learning and knowledge graphs, and more specifically to a web page identification method, device, electronic device, medium, and program To Regarding. [Background technology]
[0003] In the field of the Internet, a large number of web pages are generated every day for users to search. In order to quickly establish a website and attract traffic, some web page creators use various fraudulent means to generate web pages, such as plagiarizing other people's web pages. Such plagiarism not only disrespects the web page creators, but also does not respect users, and has a negative impact on the industry. Summary of the Invention [Means for solving the problem]
[0004] The present disclosure relates to a web page identification method, a device, an electronic device, a storage medium, and a program. M provide.
[0005] According to an aspect of the present disclosure, a web page identification method is provided, which includes: obtaining configuration data of a target web page, a first association relationship between the target web page and a history web page, and history graph data for the history web page; determining target graph data for the target web page and the history web page according to the configuration data of the target web page, the first association relationship, and the history graph data; determining a similarity between the target web page and the history web page according to the target graph data; and determining a category of the target web page according to the similarity and a category of the history web page.
[0006] According to another aspect of the present disclosure, a web page identification device is provided, the web page identification device including an acquisition module, a first determination module, a second determination module, and a third determination module. The acquisition module acquires configuration data of a target web page, a first association relationship between the target web page and a history web page, and history graph data for the history web page. The first determination module determines target graph data for the target web page and the history web page based on the configuration data of the target web page, the first association relationship, and the history graph data. The second determination module determines a similarity between the target web page and the history web page based on the target graph data. The third determination module determines a category of the target web page based on the similarity and a category of the history web page.
[0007] According to another aspect of the present disclosure, there is provided an electronic device including at least one processor and a memory communicatively coupled to the at least one processor, wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor such that the at least one processor performs the web page identification method.
[0008] According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium having stored thereon computer instructions for causing a computer to perform the web page identification method described above.
[0009] According to another aspect of the present disclosure , P a computer program implementing the steps of the web page identification method when executed by a processor; M provide.
[0010] It should be understood that the subject matter described in this section is not intended to identify key or important features of the embodiments of the present disclosure, and is not intended to limit the scope of the present disclosure. Other features of the present disclosure will be readily understood by the following description.
[0011] The drawings are used for a better understanding of the present technical solution and are not intended to limit the present disclosure. [Brief description of the drawings]
[0012] [Figure 1] FIG. 1 is a schematic diagram illustrating an application scene of web page identification according to an embodiment of the present disclosure. [Diagram 2] FIG. 2 is a schematic flow chart of a web page identification method according to an embodiment of the present disclosure. [Diagram 3] FIG. 3 illustrates a schematic diagram of a training scheme for a graph neural network according to one embodiment of the present disclosure. [Figure 4] FIG. 4 illustrates a schematic diagram of web page identification according to one embodiment of the present disclosure. [Diagram 5] FIG. 5 illustrates a schematic block diagram of a web page identification device according to an embodiment of the present disclosure. [Figure 6] FIG. 6 is a block diagram for implementing an electronic device for performing web page identification according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] The following describes exemplary embodiments of the present disclosure with reference to the drawings, and includes various details of the embodiments of the present disclosure for ease of understanding, but they should be considered as examples. Therefore, those skilled in the art can make various changes and modifications to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for clarity and simplicity, the following description omits descriptions of known functions and structures.
[0014] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the disclosure. As used herein, the terms "comprises", "including", and the like indicate the presence of stated features, steps, operations and / or components, but do not exclude the presence or addition of one or more other features, steps, operations or components.
[0015] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted to have meanings consistent with the context of this specification and should not be interpreted in an idealized or overly strict manner.
[0016] When a phrase similar to "at least one of A, B, and C, etc." is used, it should generally be interpreted in accordance with what a person of ordinary skill in the art would generally understand the meaning of the phrase (e.g., "a system having at least one of A, B, and C" should include systems having A alone, having B alone, having C alone, having A and B, having A and C, having B and C, and / or having A, B, and C, etc.).
[0017] Fig. 1 is a schematic diagram illustrating an application scenario of web page identification according to an embodiment of the present disclosure. It should be noted that, in order to help those skilled in the art understand the technical content of the present disclosure, Fig. 1 is merely an example of an application scenario to which the embodiment of the present disclosure can be applied, and does not mean that the embodiment of the present disclosure cannot be used in other devices, systems, environments or scenarios.
[0018] As shown in Fig. 1, an application scenario 100 of an embodiment of the present disclosure includes, for example, a graph neural network 110. A graph neural network (GNN) can be trained based on graph data. A graphical neural network includes, for example, a graph convolutional neural network (GCN).
[0019] The historical webpage includes a tag, and the tag indicates a category of the historical webpage, for example, a plagiarized category or a non-plagiarized category, and the plagiarized category indicates that the historical webpage is similar to other webpages, that is, the historical webpage is plagiarized. A plurality of historical webpages are inputted into the graph neural network 110, and the graph neural network 110 constructs historical graph data based on the historical webpages, and the historical graph data is a knowledge graph. The graph neural network 110 learns based on the historical graph data to obtain the category of the historical webpage, determines a loss value based on the learned category and the tag of the historical webpage, and adjusts the model parameters of the graph neural network 110 based on the loss value, thereby training to obtain the graph neural network 110.
[0020] After training and obtaining the graph neural network 110, the graph neural network 110 can be used to identify the category of a target web page, where the target web page is, for example, tagless. For example, the target web page is input into the graph neural network 110, and the graph neural network constructs target graph data based on the target web page and the historical graph data, and learns the target graph data to obtain the category of the target web page. The category of the target web page includes a plagiarism category or a non-plagiarism category.
[0021] The web page identification method according to the embodiment of the present disclosure will be described below with reference to the application scene in FIG. 1 and to FIGS.
[0022] FIG. 2 is a schematic flow chart of a web page identification method according to an embodiment of the present disclosure.
[0023] As shown in FIG. 2, a web page identification method 200 in an embodiment of the present disclosure may include, for example, operations S210 to S240.
[0024] In operation S210, configuration data of the target web page, a first association relationship between the target web page and a history web page, and history graph data for the history web page are obtained.
[0025] In operation S220, target graph data for the target web page and the history web page are determined based on the configuration data of the target web page, the first association relationship and the history graph data.
[0026] In operation S230, a similarity between the target web page and the historical web pages is determined based on the target graph data.
[0027] In operation S240, a category of the target web page is determined based on the similarity and the category of the historical web page.
[0028] Illustratively, the configuration data of a webpage includes, for example, the title, body, style, etc. of the webpage, indicating a structural frame of the webpage. The first associative relationship between the target webpage and the history webpage indicates, for example, whether it is possible to jump from the target webpage to the history webpage, or whether it is possible to adjust from the history webpage to the target webpage.
[0029] The historical graph data is obtained based on a second association relationship between the configuration data of the plurality of historical web pages and the plurality of historical web pages, the second association relationship being similar to the first association relationship.
[0030] Exemplarily, target graph data can be constructed based on the configuration data of the target web pages, the first association relationship, and the history graph data, where the target graph data indicates, for example, the configuration data of the target web pages, the configuration data of the history web pages, and the associations between the target web pages and the history web pages.
[0031] Then, determine the similarity between the target webpage and the historical webpage from the target graph data. Since the historical webpage has a tag indicating the category of the historical webpage, the category of the target webpage can be known based on the similarity and the category (tag) of the historical webpage. For example, if the category of a certain historical webpage is a plagiarism category and the similarity between the target webpage and the historical webpage is high, the category of the identified target webpage is obtained as the plagiarism category with a high probability.
[0032] According to an embodiment of the present disclosure, graph data is constructed based on the configuration data of web pages and the association relationships between the web pages, and similarities between the web pages are determined based on the graph data, and categories of web pages with unknown tags are determined based on the similarities and the categories of the tagged web pages, thereby improving the accuracy of identifying web page categories.
[0033] FIG. 3 illustrates a schematic diagram of a training scheme for a graph neural network according to one embodiment of the present disclosure.
[0034] As shown in Fig. 3, correlation data 310 of multiple historical web pages is input to a graph neural network 320 to perform model training. The correlation data 310 includes, for example, configuration data for each historical page and second association relationships between the multiple historical pages. An arrow in the correlation data 310 indicates that two historical web pages have a second association relationship.
[0035] Illustratively, the web pages are represented by web page links, for example, and the web page links of the multiple historical web pages are u1, u2, u3, u4, and u5, respectively. Each historical web page has a tag, which indicates that the category of the historical web page is a plagiarism category or a non-plagiarism category.
[0036] Regarding the second related relationship between the multiple historical web pages, the second related relationship may indicate a jump relationship between each historical web page, for example, take the multiple historical web pages as an example including a first historical web page and a second historical web page, and the second related relationship indicates a jump from the first historical web page to the second historical web page within a second predetermined time period, or indicates a jump from the second historical web page to the first historical web page within a second predetermined time period.
[0037] For example, the first historical web page is u1, the second historical web page is u3, and within a second predetermined time period, jump from u1 to u3 or jump from u3 to u2. Jumping from u1 to u3 indicates, for example, that the page corresponding to the first historical web page u1 contains link information of the second historical web page u3, and the second historical web page u3 can be jumped to by the link information. The second predetermined time period is, for example, a recent certain time period.
[0038] Alternatively, if the first historical web page is u1 and it is possible to jump to u1 from multiple historical web pages, a preset number of historical web pages that have been recently jumped to can be determined as second historical web pages having a second association relationship with u1.
[0039] After inputting the correlation data 310 into the graph neural network 320, the graph neural network 320 constructs historical graph data based on the constituent data of the historical web pages and the second association relationship. The historical graph data has, for example, node elements and edge elements, where each node element corresponds to one historical web page, and the constituent data of the historical web pages is related to the node element. The edge element corresponds to the second association relationship between two historical web pages. For example, take historical web pages u1 and u3 as an example, u1 and u3 respectively correspond to one node element, and the edge element between the node element of u1 and the node element of u3 indicates that there is a second association relationship between u1 and u3.
[0040] After obtaining the historical graph data, the graph neural network identifies and obtains categories for the historical web pages according to the historical graph data, and when the graph neural network identifies the historical graph data, it fully learns the unique information between the constituent data of each historical web page according to the second association relationship. Because each historical web page includes a tag indicating a category, the graph neural network can determine a loss value according to the category and the reference category (tag) of the identified historical web page, and backwardly update the network parameters of the graph neural network according to the loss value, thereby obtaining a trained graph neural network.
[0041] According to an embodiment of the present disclosure, for a historical web page having a tag, a second association relationship between the constituent data of the historical web page and the historical web page is extracted, and a graph neural network is trained based on the constituent data and the second association relationship, thereby improving the identification accuracy of the graph neural network for the web page.
[0042] FIG. 4 illustrates a schematic diagram of web page identification according to one embodiment of the present disclosure.
[0043] 4, after obtaining a graph neural network by training based on the historical web pages, the correlation data 410 of the target web pages is input to the trained graph neural network 420. The correlation data 410 of the target web pages includes, for example, the configuration data of each target web page and the first association relationship between the target web pages and the historical web pages.
[0044] For example, the first association relationship indicates a jump from a historical web page to a target web page within a first predetermined time period, or indicates a jump from a target web page to a historical web page within a first predetermined time period.
[0045] For example, the target web page is u6, the history web page is u1, and within a first predetermined time period, jump from u1 to u6 or jump from u6 to u1. Jumping from u1 to u6 indicates, for example, that the page corresponding to the history web page u1 contains link information of the target web page u6, and the target web page u6 can be jumped to by the link information. The first predetermined time period is, for example, a recent certain time period.
[0046] Alternatively, for a target web page u6, if it is possible to jump to u6 from multiple historical web pages, a preset number of historical web pages that were most recently jumped to can be determined as historical web pages having a first association relationship with u6.
[0047] After the correlation data 410 is inputted into the graph neural network 420, the graph neural network 420 constructs and obtains target graph data according to the configuration data of the target web page, the first association relationship and the obtained history graph data, for example, relates the configuration data of the target web page to the history graph data according to the first association relationship to obtain target graph data, and the constructed target graph data indicates the associations among u1, u2, u3, u4, u5, u6, and u7.
[0048] The target graph data has, for example, node elements and edge elements, each node element corresponds to a historical web page or a target web page, and the configuration data of the historical web page or the target web page is related to the node element. The edge element corresponds to the association relationship between two web pages. For example, take a historical web page u1 and a target web page u6 as an example, u1 and u6 respectively correspond to a node element, and the edge element between the node element of u1 and the node element of u6 indicates a first association relationship between u1 and u6.
[0049] After obtaining the target graph data, the graph neural network identifies the target graph data and obtains a category for the target web page, and when the graph neural network identifies the target graph data, it fully learns the inherent information between the constituent data of each web page based on the association relationship, and thereby obtains the similarity between the target web page and the historical web page by processing the target graph data. Then, the graph neural network determines the category 430 of the target web page based on the similarity and the category of the historical web page. For example, for a historical web page similar to the target web page, if the tag of the historical web page indicates that the historical web page is a plagiarized web page, it determines that the category 430 of the target web page is the plagiarized category with a high probability.
[0050] According to an embodiment of the present disclosure, after training to obtain a graph neural network, a target web page without a tag is added to the historical graph data to obtain target graph data, and then learning is performed based on the target graph data to obtain the similarity between the target web page and the historical web page, and a category of the target web page is determined based on the similarity and the category of the historical web page, so as to improve the accuracy of model identification.
[0051] FIG. 5 illustrates a schematic block diagram of a web page identification device according to an embodiment of the present disclosure.
[0052] As shown in FIG. 5 , the web page identification apparatus 500 of the embodiment of the present disclosure includes, for example, an acquisition module 510, a first determination module 520, a second determination module 530 and a third determination module 540.
[0053] The acquiring module 510 acquires configuration data of the target web page, a first association relationship between the target web page and the historical web page, and historical graph data for the historical web page. According to an embodiment of the present disclosure, the acquiring module 510 can, for example, perform the operation S210 described with reference to FIG. 2 above, and the description thereof will be omitted here.
[0054] The first determination module 520 determines target graph data for the target web page and the history web page according to the configuration data, the first association relationship, and the history graph data of the target web page. According to an embodiment of the present disclosure, the first determination module 520 can, for example, perform the operation S220 described with reference to FIG. 2 above, and the description thereof will be omitted here.
[0055] The second determination module 530 determines the similarity between the target web page and the history web page based on the target graph data. According to an embodiment of the present disclosure, the second determination module 530 can, for example, perform the operation S230 described with reference to FIG. 2 above, and the description will be omitted here. The third determination module 540 determines the category of the target web page based on the similarity and the category of the history web page. According to an embodiment of the present disclosure, the third determination module 540 can, for example, perform the operation S240 described with reference to FIG. 2 above, and the description thereof will be omitted here.
[0056] According to an embodiment of the present disclosure, the first determination module 520 further relates the configuration data of the target web page to the history graph data according to the first association relationship to obtain target graph data.
[0057] According to an embodiment of the present disclosure, the first association relationship indicates a jump from a historical web page to a target web page during a first predetermined time period, or indicates a jump from the target web page to a historical web page during a first predetermined time period.
[0058] According to an embodiment of the present disclosure, the second determination module 530 further uses a graph neural network to process the target graph data to obtain a similarity between the target web page and the historical web page. The third determination module 540 further uses a graph neural network to determine a category of the target web page based on the similarity and the category of the historical web page.
[0059] According to an embodiment of the present disclosure, the graph neural network is obtained by using the graph neural network to obtain a category for the historical web page based on the historical graph data, and updating network parameters of the graph neural network based on the category of the historical web page and the reference category.
[0060] According to an embodiment of the present disclosure, the historical web pages include a plurality of historical web pages, and the historical graph data is obtained by: obtaining configuration data of the plurality of historical web pages and second association relationships between the plurality of historical web pages; and determining the historical graph data according to the configuration data of the historical web pages and the second association relationships.
[0061] According to an embodiment of the present disclosure, the multiple historical web pages include a first historical web page and a second historical web page, and the second association relationship indicates a jump from the first historical web page to the second historical web page within a second predetermined time period, or indicates a jump from the second historical web page to the first historical web page within a second predetermined time period.
[0062] In the technical solution disclosed herein, the collection, storage, use, processing, transmission, provision, disclosure, application and other processing of user personal information shall all comply with the provisions of relevant laws and regulations, adopt necessary security measures, and not violate public order and morals.
[0063] In the technical solutions disclosed herein, before obtaining or collecting personal information of a user, the permission or consent of the user is obtained in any case.
[0064] According to an embodiment of the present disclosure, the present disclosure further includes an electronic device, a readable storage medium, and a computer program. M provide.
[0065] FIG. 6 is a block diagram for implementing an electronic device for performing web page identification according to an embodiment of the present disclosure.
[0066] 6 shows a block diagram for implementing an exemplary electronic device 600 according to an embodiment of the present disclosure. The electronic device 600 is intended to represent various types of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various types of mobile devices, such as personal digital assistants, mobile phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely exemplary and are not intended to limit the implementation of the present disclosure as described and / or claimed herein.
[0067] 6, the electronic device 600 includes a computing unit 601, which can perform various appropriate operations and processes based on a computer program stored in a read-only memory (ROM) 602 or loaded from a storage unit 608 into a random access memory (RAM) 603. The RAM 603 can further store various programs and data required for the operation of the electronic device 600. The computing unit 601, the ROM 602, and the RAM 603 are interconnected via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0068] A number of components in the electronic device 600 are connected to an 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 magnetic 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 enables the electronic device 600 to exchange information / data with other devices via a computer network, such as the Internet, and / or various types of electric communication networks.
[0069] The computing unit 601 may be various general-purpose and / or dedicated processing modules having 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 machine learning model algorithm computing units, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 601 executes the above-described methods and processes, such as the web page identification method. For example, in some embodiments, the web page identification method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as the storage unit 608. In some embodiments, some or all of the computer program may be loaded and / or installed in the electronic device 600 via the ROM 602 and / or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the computing unit 601, it may perform one or more steps of the above-described web page identification method. Alternatively, in another embodiment, the computing unit 601 may be configured to perform the web page identification method in any other suitable manner (eg, via firmware).
[0070] Various embodiments of the systems and techniques described herein may be realized in digital electronic circuitry systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may be embodied in one or more computer programs that may be executed and / or interpreted by a programmable system that includes at least one programmable processor, which may be a special purpose or general purpose programmable processor, and may include a processor that is capable of receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
[0071] The program codes for implementing the methods 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 web page identification device, so that when the program codes are executed by the processor or controller, the functions / operations specified in the flowcharts and / or block diagrams are performed. The program codes may be fully executed on the device, partially executed on the device, partially executed on the device as a separate software package and partially executed on a remote device, or fully executed on a remote device or server.
[0072] In the context of this disclosure, a machine-readable medium may be a tangible medium, and may include or store a program for use in or in connection with an instruction execution system, device, or electronic device. 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 electronic device, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include: , mobile Mobile computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory) ,Ko This includes a compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0073] A computer may implement the systems and techniques described herein to provide interaction with a user, and may include a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user, and a keyboard and pointing device (e.g., a mouse or trackball) through which a user may provide input to the computer. Other types of devices may also provide interaction with a user, for example, the feedback provided to the user may be any form of sensing feedback (e.g., visual feedback, auditory feedback, or tactile feedback) and may receive input from the user in any form (including voice input, speech input, or tactile input).
[0074] The systems and techniques described herein may be implemented in a computing system including background components (e.g., a data server), or a computing system including middleware components (e.g., an application server), or a computing system including front-end components (e.g., a user computer having a graphical user interface or a web browser through which a user may interact with embodiments of the systems and techniques described herein), or a computing system including any combination of such background, middleware, or front-end components. The components of the system may be connected to each other by any form or medium of digital data communication (e.g., a communications network). Examples of communications networks illustratively include a local area network (LAN), a wide area network (WAN), and the Internet.
[0075] The computer system may include clients and servers. The clients and servers are generally remote and typically interact through a communication network. The relationship between clients and servers is created by computer programs running on the corresponding computers and having a client-server relationship. The server may be a cloud server, a server of a distributed system, or a server in combination with a blockchain.
[0076] It should be understood that various types of flows shown above may be used, and steps may be rearranged, added, or deleted. For example, each step described in the present invention may be performed in parallel, sequentially, or in a different order, and the present specification is not limited thereto as long as the desired results of the technical solution of the present disclosure can be achieved.
[0077] The specific embodiments described above do not limit the scope of protection of the present disclosure. Those skilled in the art should understand that various modifications, combinations, subcombinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principle of the present disclosure should be included within the scope of protection of the present disclosure.
Claims
1. A web page identification method executed by a web page identification device, comprising: Obtaining configuration data of a target web page, a first association relationship between the target web page and a historical web page, and historical graph data for the historical web page; determining target graph data for the target web page and the history web page based on the configuration data of the target web page, the first association relationship, and the history graph data; determining a similarity between the target web page and the historical web pages based on the target graph data; determining a category of the target web page based on the similarity and a category of the historical web page. Web page identification methods.
2. determining target graph data for the target web page and the history web page based on the configuration data of the target web page, the first association relationship, and the history graph data; According to the first association relationship, the configuration data of the target web page is associated with the history graph data to obtain the target graph data. The method of claim 1.
3. The first association relationship indicates a jump from the history web page to the target web page within a first predetermined time period, or indicates a jump from the target web page to the history web page within the first predetermined time period. The method of claim 1.
4. Determining a similarity between the target web page and the historical web pages based on the target graph data includes: utilizing a graph neural network to process the target graph data and obtain a similarity between the target web page and the historical web page; determining a category of the target web page based on the similarity and a category of the historical web page; determining a category of the target web page based on the similarity and a category of the historical web page utilizing the graph neural network. The method of claim 1.
5. The graph neural network comprises: obtaining a category for the historical web page based on the historical graph data using the graph neural network; updating network parameters of the graph neural network based on the historical web page categories and the reference categories; The method according to claim 4.
6. the historical web pages include a plurality of historical web pages; The historical graph data is obtaining configuration data of the plurality of historical web pages and second association relationships between the plurality of historical web pages; determining the historical graph data based on the configuration data of the historical web page and the second association relationship; The method according to claim 5.
7. the plurality of historical web pages includes a first historical web page and a second historical web page; The second association relationship indicates a jump from the first historical web page to the second historical web page within a second predetermined time period, or indicates a jump from the second historical web page to the first historical web page within the second predetermined time period. The method according to claim 6.
8. an acquiring module for acquiring configuration data of a target web page, a first association relationship between the target web page and a history web page, and history graph data for the history web page; a first determining module for determining target graph data for the target web page and the history web page according to the configuration data of the target web page, the first association relationship, and the history graph data; a second determination module for determining a similarity between the target web page and the historical web page based on the target graph data; and a third determination module for determining a category of the target web page based on the similarity and a category of the historical web page. Web page identification device.
9. The first determination module further comprises: According to the first association relationship, the configuration data of the target web page is associated with the history graph data to obtain the target graph data.
9. The apparatus of claim 8.
10. The first association relationship indicates a jump from the history web page to the target web page within a first predetermined time period, or indicates a jump from the target web page to the history web page within the first predetermined time period.
9. The apparatus of claim 8.
11. The second determination module further comprises: Utilizing a graph neural network to process the target graph data to obtain a similarity between the target web page and the historical web page; The third determination module further comprises: The graph neural network is utilized to determine a category of the target web page based on the similarity and the category of the historical web page.
9. The apparatus of claim 8.
12. The graph neural network comprises: obtaining a category for the historical web page based on the historical graph data using the graph neural network; updating network parameters of the graph neural network based on the historical web page categories and the reference categories.
12. The apparatus of claim 11.
13. the historical web pages include a plurality of historical web pages; The historical graph data is Obtaining second association relationships between configuration data of the plurality of historical web pages and the plurality of historical web pages; determining the historical graph data based on the configuration data of the historical web page and the second association relationship.
13. The apparatus of claim 12.
14. the plurality of historical web pages includes a first historical web page and a second historical web page; The second association relationship indicates a jump from the first historical web page to the second historical web page within a second predetermined time period, or indicates a jump from the second historical web page to the first historical web page within the second predetermined time period.
14. The apparatus of claim 13.
15. At least one processor; a memory in communication with the at least one processor; The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor such that the at least one processor can perform the method of any one of claims 1 to 7. electronic equipment.
16. A non-transitory computer-readable storage medium having computer instructions stored thereon, comprising: The computer instructions cause a computer to carry out the method according to any one of claims 1 to 7. A non-transitory computer-readable storage medium.
17. The method according to claim 1, further comprising: Computer program.
Citation Information
Patent Citations
Method and device for confirming web structure similarity
CN101694668A
Method and device for identifying similar webpage
CN102316081A
Web page similarity calculation method and web page similarity calculation device
CN104133870A
Phishing website detection method and apparatus, computer equipment and storage medium
CN108306878A
Webpage classification method, terminal equipment and storage medium
CN112131506A
