摘要 |
A URL matching apparatus generates partial character string information storing therein, as keys of an associative array, partial character strings obtained by connecting stepwise in order from a character string of an upper layer of a hierarchical structure of one or more reference URLs. The URL matching apparatus generates partial character strings obtained by connecting stepwise in order from a character string of an upper layer of a hierarchical structure, also for a URL to be matched, and for each of these partial character strings of the URL to be matched, searches the partial character string information with that partial character string being a key. Thereby, even if a URL is partially changed, matching is able to be performed at high speed. |