Web page access control method based on knowledge graph
By collecting user access information through smart terminals and using knowledge graphs to match target access sequences and link support, the problem of poor user experience in existing technologies is solved and efficient web page access control is achieved.
Patent Information
- Application Number
- CN202211111657.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-13
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2042-09-13
AI Technical Summary
Existing technologies for web page access control are dominated by interception, which cannot meet user access needs and result in poor user experience.
User access information is collected through smart terminals, identified and converted into access sequences, the target access sequences are filtered based on the knowledge graph, the link support is calculated, and web page access control is performed in combination with RPA.
It improves user experience, ensures users receive effective feedback, reduces data processing volume, and improves access control efficiency.
Smart Images

Figure CN116032521B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of computers and relates to a web page access control technology based on a knowledge graph, and specifically to a web page access control method based on a knowledge graph. Background Art
[0002] Web page access control mainly controls user access rights according to set rules, displays web page content that is suitable for users to users, and hides web page content that is not suitable for users, so as to provide users with a good online experience.
[0003] Prior art (patent application number 2012100770746) discloses a webpage access control method and device. This method determines the link address corresponding to an event and, if filtering conditions are met, prohibits access to the corresponding webpage, thereby improving interception reliability. Prior art webpage access control relies primarily on interception, identifying and brute-forcing webpage access based on interception rules. This fails to meet user access needs and results in a poor user experience. Therefore, a knowledge graph-based webpage access control method is urgently needed. Summary of the Invention
[0004] The present invention aims to solve at least one of the technical problems existing in the prior art; to this end, the present invention proposes a web page access control method based on knowledge graph, which is used to solve the technical problem that the prior art is dominated by interception in the web page access control process, cannot meet user access needs from the user's perspective, and leads to poor user experience.
[0005] To achieve the above objectives, the first aspect of the present invention provides a webpage access control method based on a knowledge graph, comprising:
[0006] The intelligent terminal collects user access information, identifies and converts the user access information, and obtains the user access sequence; wherein the user access information includes request information, address information and identity identification;
[0007] Call the retrieval knowledge graph and filter the target access sequence based on the user access sequence; match the target web page link based on the target access sequence; the retrieval knowledge graph is constructed based on historical data;
[0008] Analyze and calculate the target web page links based on user access information to obtain link support; combine link support with RPA to perform web page access control.
[0009] Preferably, after the user inputs the request information through the smart terminal, the smart terminal integrates the user information and obtains the user access information, including:
[0010] The user inputs the request information through the smart terminal; wherein the smart terminal includes a mobile phone and a computer;
[0011] After determining that the request information is valid, extracting the user's address information and setting an identity identifier for the user; wherein the request information includes text information or audio information;
[0012] The request information, address information and identity identifier are integrated to generate the user access information.
[0013] Preferably, the identity identifier is set according to the device attributes of the smart terminal, or is set according to the identity information of the user.
[0014] Preferably, the intelligent terminal identifies and converts the received request information, obtains a number of keywords, and generates the user access sequence based on the integration of the keywords, including:
[0015] Extracting the request information from the user access information, converting all the request information into text information, and extracting a number of the keywords from the text information using a keyword extraction technology;
[0016] The plurality of keywords are screened based on set shielding rules, and the screened keywords are integrated into the user access sequence; wherein the shielding rules include a plurality of sensitive words.
[0017] Preferably, the intelligent terminal constructs the search knowledge graph based on historical data, including:
[0018] Statistically obtaining the historical data; parsing the historical data to obtain a number of word entities, screening the word entities according to the shielding rule to obtain a target entity;
[0019] Obtain the association relationships between several target entities and construct and generate the retrieval knowledge graph; wherein the association relationships include superordinate relationships or parallel relationships.
[0020] Preferably, the intelligent terminal obtains the target access sequence based on the search knowledge graph, including:
[0021] Obtaining the user access sequence;
[0022] First, searching for word entities with parallel relationships from the search knowledge graph according to the user access sequence, and then searching for word entities with hypernymy relationships;
[0023] The acquired word entities are integrated into the target access sequence.
[0024] Preferably, before or during the acquisition of the target access sequence, a web page link is matched according to the user access sequence or the searched word entity and marked as a web page link to be verified;
[0025] When the number of the to-be-verified web page links exceeds a link number threshold, obtaining the target access sequence is terminated.
[0026] Preferably, the intelligent terminal calculates the link support corresponding to the target web page link in combination with the user access information, including:
[0027] Determine whether the target web page link supports access by the smart terminal of the address information; if access is not supported, set the address tag DB=0; if access is supported, set the address tag DB=1;
[0028] Determine whether the target web page link matches the identity identifier; if so, set the identity tag SB=1; if not, set the identity tag SB=0;
[0029] The matching degree PD between the target web page link and the target access sequence is analyzed through artificial intelligence; the link support LZ is obtained through the formula LZ = α × DB × SB × PD; where α is a proportional coefficient greater than 0.
[0030] Compared with the prior art, the present invention has the following beneficial effects:
[0031] 1. The present invention obtains a user access sequence based on user access information, obtains a target access sequence by combining it with a search knowledge graph, matches a target web page link based on the target access sequence, and combines the link support of the target web page link with RPA to perform web page access control. The present invention performs web page access control from the user's perspective to ensure that effective feedback is provided to the user and improve the user experience.
[0032] 2. Before or during the acquisition of the target access sequence, the present invention obtains the web page links to be verified based on the obtained keyword matching; when the number of web page links to be verified meets the requirements, the link support of the web page links to be verified is directly calculated, and web page access control is performed in combination with RPA; it can reduce the amount of data processing and improve the efficiency of web page access control. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0034] Figure 1It is a schematic diagram of the working steps of the present invention. DETAILED DESCRIPTION
[0035] The technical solutions of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0036] See also Figure 1 The first embodiment of the present invention provides a web page access control method based on a knowledge graph, comprising:
[0037] The intelligent terminal collects user access information, identifies and converts the user access information, and obtains the user access sequence; calls the retrieval knowledge graph and obtains the target access sequence in combination with the user access sequence screening; matches the target web page link based on the target access sequence; analyzes and calculates the target web page link in combination with the user access information to obtain the link support; combines the link support with RPA to perform web page access control.
[0038] In the existing web page access control process, fixed interception rules are generally set. The fixed interception rules are used to analyze the web pages accessed by users. When the analysis results are abnormal, brute force interception is performed. The present invention obtains the user access sequence based on user access information. When the web page corresponding to the user access sequence is intercepted, the target access sequence is obtained based on the search knowledge graph. The target web page link is then matched based on the target access sequence. This ensures that even if a brute force interception occurs, relevant feedback results can be provided to the user.
[0039] There are multiple situations in the working process of the present invention application: 1) If the web page link matched according to the user access sequence is not intercepted by force, the web page link is directly fed back to the user; 2) When the web page link matched according to the user access sequence is intercepted by force, the user access sequence is expanded to obtain the target access sequence, and then the web page link is matched and fed back.
[0040] In the present invention, after the user inputs the request information through the smart terminal, the smart terminal integrates the user information and obtains the user access information, including:
[0041] The user inputs the request information through the smart terminal; after determining that the request information is valid, the user's address information is extracted and an identity identifier is set for the user; the request information, address information and identity identifier are integrated to generate user access information.
[0042] Generally speaking, a user enters request information through a smart terminal, which then matches a web page based on the request information and returns it to the user. However, in many cases, the user's request information is not compliant or cannot match a web page, so additional address information and identity information must be obtained. The present invention, after obtaining the request information entered by the user, determines whether the request information is valid, i.e., whether it is empty or compliant. If the request information is valid, the address information and identity information are obtained, and then the three are integrated into user access information.
[0043] It should be noted that the address information can be obtained directly through the IP of the smart terminal or its own positioning device, while the identity identifier is set according to the device attributes of the smart terminal or according to the user's identity information.
[0044] Identity tags are primarily used to distinguish which websites a user can or cannot access. They are set based on the device attributes of smart terminals, specifically to determine if the smart terminal itself has restrictions. For example, smart terminals within a confidentiality unit cannot access external websites. Therefore, setting identity tags based on the device attributes of smart terminals takes into account the usage scenario of the smart terminal.
[0045] Identity tags can also be set based on user identity information. Identity information mainly includes age, gender, etc. The main purpose of setting identity tags through these identity information is to give users feedback on web pages that are not suitable for them to browse. However, identity information needs to be actively entered by the user, and can also be read from their related accounts with the user's authorization.
[0046] In the present invention, the intelligent terminal identifies and converts the received request information, obtains a number of keywords, and generates a user access sequence based on the integration of the keywords, including:
[0047] Extract the request information from the user access information, convert all the request information into text information, and extract several keywords from the text information through keyword extraction technology; filter several keywords based on the set blocking rules, and integrate the filtered keywords into a user access sequence.
[0048] Users can request information through text or audio input, so the request information needs to be converted and uniformly processed into text information. Existing keyword extraction technology can extract a number of keywords. However, the extracted keywords cannot be directly used to match web pages and need to be filtered before generating a user access sequence.
[0049] This invention primarily uses blocking rules to filter keywords. These blocking rules primarily include sensitive terms manually set or extracted using artificial intelligence technology. When keywords are identical to or highly similar to sensitive terms in the blocking rules, they are blocked. It should be noted that if all keywords corresponding to a request are blocked, feedback should be provided to the user.
[0050] In the present invention, the intelligent terminal constructs a search knowledge graph based on historical data, including:
[0051] Obtain historical data statistically; parse the historical data to obtain several word entities, filter several word entities according to the shielding rules to obtain target entities; obtain the association relationship between several target entities, and construct a search knowledge graph.
[0052] When a user's access sequence contains few keywords or a sufficient number of matching web pages, a search knowledge graph is needed to expand the search to ensure a better user experience. The search knowledge graph is primarily constructed based on historical data from smart terminals or third-party databases. This historical data primarily consists of requests from other users and dictionaries. Keywords are extracted from this historical data, filtered according to blocking rules, and then the target entities are obtained. The relationships between the target entities are then obtained using dictionaries and other methods to construct a search knowledge graph.
[0053] In the present invention, the intelligent terminal obtains the target access sequence based on the search knowledge graph, including:
[0054] Obtain the user access sequence; first search for word entities with parallel relationships from the retrieval knowledge graph based on the user access sequence, and then search for word entities with superordinate relationships; integrate the obtained word entities into the target access sequence.
[0055] Expand based on the keywords in the user's access sequence. In theory, expand based on parallel relationships first, then expand based on superordinate relationships. During keyword expansion, it's not necessary to expand every keyword; only core keywords can be expanded. For example, when using a knowledge graph to control web page access, the expansion focus can be on web page access control.
[0056] Before or during the acquisition of the target access sequence, web page links are matched according to the user access sequence or the searched word entity and marked as pending web page links; when the number of pending web page links exceeds the link number threshold, the acquisition of the target access sequence is terminated.
[0057] After obtaining the user access sequence, web page links can be matched against the keywords in the sequence. If the number of web page links meets the requirement, there is no need to expand the sequence to obtain the target access sequence. Otherwise, expansion is performed. During the expansion process, after the expansion is completed according to the parallel relationship, the web page matching and the number of web page links are determined again. Of course, it is also possible to wait until the target access sequence is obtained before making a unified determination to reduce the amount of data processing.
[0058] In the present invention, the intelligent terminal calculates the link support corresponding to the target web page link in combination with the user access information, including:
[0059] Determine whether the target web page link supports access by smart terminals of the address information; when access is not supported, set the address tag DB=0, and when access is supported, set the address tag DB=1; determine whether the target web page link matches the identity identifier; when it matches, set the identity tag SB=1, and when it does not match, set the identity tag SB=0; analyze the matching degree PD of the target web page link and the target access sequence through artificial intelligence; obtain the link support LZ through the formula LZ=α×DB×SB×PD.
[0060] Link support can be understood as a parameter that represents the degree of match between web page links and user access information. First, the address information is determined to be a match, followed by the identity identifier. If both match, the match between the target web page link and the target access sequence is considered, i.e., the relevance between the web page and the keyword.
[0061] Obviously, link support can indicate the degree of fit between the corresponding web page link and the user access information. Therefore, the target web page links can be sorted according to the link support, and then the display of the target web page links can be controlled through Robotic Process Automation (RPA) to achieve control of web page access.
[0062] When performing web page access control according to the solution applied in the present invention, web page links that do not match the user's address and identity can be effectively filtered out, and at the same time, appropriate target web page links can be matched and fed back according to user request information to ensure the user's web page access experience.
[0063] Some of the data in the above formula are calculated by removing the dimensions and taking their numerical values. The formula is a formula that is closest to the actual situation obtained by software simulation of a large amount of collected data; the preset parameters and preset thresholds in the formula are set by technical personnel in this field according to actual conditions or obtained through simulation of a large amount of data.
[0064] Working principle of the present invention:
[0065] Smart terminals collect user access information, identify and convert it, and obtain a user access sequence. They then call a search knowledge graph and filter the target access sequence based on the user access sequence. They then match target web page links based on the target access sequence. They then analyze and calculate the target web page links based on the user access information to obtain link support. This link support is then combined with RPA to control web page access.
[0066] The above embodiments are only used to illustrate the technical method of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.
Claims
1. A web page access control method based on knowledge graph, characterized in that: include: The intelligent terminal collects user access information, identifies and converts the user access information, and obtains the user access sequence; wherein the user access information includes request information, address information and identity identification; Call the retrieval knowledge graph and filter the target access sequence based on the user access sequence; match the target web page link based on the target access sequence; the retrieval knowledge graph is constructed based on historical data; Analyze and calculate the target web page links based on user access information to obtain link support; combine link support with RPA to control web page access; The intelligent terminal identifies and converts the received request information, obtains a number of keywords, and generates the user access sequence based on the integration of the keywords, including: Extracting the request information from the user access information, converting all the request information into text information, and extracting a number of the keywords from the text information using a keyword extraction technology; screening the plurality of keywords based on a set shielding rule, and integrating the screened plurality of keywords into the user access sequence; wherein the shielding rule includes a plurality of sensitive words; The intelligent terminal constructs the search knowledge graph based on historical data, including: Statistically obtaining the historical data; parsing the historical data to obtain a number of word entities, screening the word entities according to the shielding rule to obtain a target entity; Obtaining the association relationship between the target entities and constructing the search knowledge graph; wherein the association relationship includes a hypernym relationship or a parallel relationship; The intelligent terminal obtains the target access sequence based on the search knowledge graph, including: Obtaining the user access sequence; First, searching for word entities with parallel relationships from the search knowledge graph according to the user access sequence, and then searching for word entities with hypernymy relationships; The acquired word entities are integrated into the target access sequence.
2. The webpage access control method based on knowledge graph according to claim 1 is characterized in that: After the user inputs the request information through the smart terminal, the smart terminal integrates the user information and obtains the user access information, including: The user inputs the request information through the smart terminal; wherein the smart terminal includes a mobile phone and a computer; After determining that the request information is valid, extracting the user's address information and setting an identity identifier for the user; wherein the request information includes text information or audio information; The request information, address information and identity identifier are integrated to generate the user access information.
3. The webpage access control method based on knowledge graph according to claim 2 is characterized in that: The identity identifier is set according to the device attributes of the smart terminal, or according to the identity information of the user.
4. The webpage access control method based on knowledge graph according to claim 1 is characterized in that: Before or during the acquisition of the target access sequence, matching web page links according to the user access sequence or the searched word entity and marking them as web page links to be verified; When the number of the to-be-verified web page links exceeds a link number threshold, obtaining the target access sequence is terminated.
5. The webpage access control method based on knowledge graph according to claim 1 is characterized in that: The intelligent terminal calculates the link support corresponding to the target web page link in combination with the user access information, including: Determine whether the target web page link supports access by the smart terminal of the address information; if access is not supported, set the address tag DB=0; if access is supported, set the address tag DB=1; Determine whether the target web page link matches the identity identifier; if so, set the identity tag SB=1; if not, set the identity tag SB=0; The matching degree PD between the target web page link and the target access sequence is analyzed through artificial intelligence; the link support LZ is obtained through the formula LZ=α×DB×SB×PD; where α is a proportional coefficient greater than 0.
Citation Information
Patent Citations
Website recommendation method and device and communication system
CN103812906A
Method for intercepting crawler
CN107341395A
Intention knowledge graph generation method and device and intention recognition method and device
CN110263180A