Method and Apparatus for Filtering URL
First Claim
1. A method for filtering a uniform resource locator (URL), comprising:
- receiving a URL connection request initiated by a client;
finding, among correspondence between web page categories and URLs in a pre-stored category information table, a first category corresponding to a URL carried in the URL connection request;
determining whether the first category conforms to a predetermined URL passing through policy, wherein the URL passing through policy comprises unblocked web page categories;
sending the URL connection request to a server corresponding to the URL connection request when the first category conforms to the predetermined URL passing through policy;
receiving web page content returned by the server;
determining a second category corresponding to the URL according to the web page content;
determining whether the second category conforms to the predetermined URL passing through policy;
sending the web page content to the client when the second category conforms to the predetermined URL passing through policy; and
blocking the web page content when the second category does not conform to the predetermined URL passing through policy.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and an apparatus for filtering a uniform resource locator (URL). According to the method, a first category corresponding to a URL connection request can be found in a pre-stored category information table; when the first category conforms to a predetermined URL passing through policy, the URL connection request is allowed to pass through; the URL connection request is forwarded to a corresponding server; a second category corresponding to a URL is determined according to web page content returned by the server; if the second category conforms to the predetermined URL passing through policy, the web page content is sent to a client; if the second category does not conform to the predetermined URL passing through policy, the web page content is blocked. A category to which a URL belongs can be determined in real time, and implementing a function of accurate category filtration.
-
Citations
19 Claims
-
1. A method for filtering a uniform resource locator (URL), comprising:
-
receiving a URL connection request initiated by a client; finding, among correspondence between web page categories and URLs in a pre-stored category information table, a first category corresponding to a URL carried in the URL connection request; determining whether the first category conforms to a predetermined URL passing through policy, wherein the URL passing through policy comprises unblocked web page categories; sending the URL connection request to a server corresponding to the URL connection request when the first category conforms to the predetermined URL passing through policy; receiving web page content returned by the server; determining a second category corresponding to the URL according to the web page content; determining whether the second category conforms to the predetermined URL passing through policy; sending the web page content to the client when the second category conforms to the predetermined URL passing through policy; and blocking the web page content when the second category does not conform to the predetermined URL passing through policy. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. An apparatus for filtering a uniform resource locator (URL), comprising:
-
a request receiving module configured to receive a URL connection request initiated by a client; a first category obtaining module configured to find, among correspondence between web page categories and URLs in a pre-stored category information table, a first category corresponding to a URL carried in the URL connection request; a passing through determining module configured to determine whether the first category conforms to a predetermined URL passing through policy, wherein the URL passing through policy comprises unblocked web page categories; a request sending module configured to; send the URL connection request to a server corresponding to the URL connection request when the first category conforms to a predetermined URL passing through policy; and receive web page content returned by the server; a category determining module configured to; determine a second category corresponding to the URL according to the web page content; and determine whether the second category conforms to the predetermined URL passing through policy; a content returning module configured to send the web page content to the client when the second category conforms to the predetermined URL passing through policy; and a blocking module configured to block the web page content when the second category does not conform to the predetermined URL passing through policy. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
-
Specification