# US 2010/0169298 A1 · Method And An Apparatus For Information Collection

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2010/0169298 A1
- Document ID: US20100169298A1
- Status: Published application
- Kind: A1
- Application number: 12/645,098
- Filed: 2009-12-22
- Published: 2010-07-01
- Earliest claimed: 2008-12-31
- Assignees: H3C Technologies Co., Ltd.
- Inventors: Changzhong Ge
- Web page: https://patentgrep.com/patent/US20100169298A1

## CPC

- G06F 16/958: Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- G06F 16/951: Indexing; Web crawling techniques
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present invention discloses a method and an apparatus for collecting information. The technical solution of the invention enables the search engine database to collect dynamic web page access information by sending web page access information to it. As the collected information shows statistics about actual web page access information usage, it is an important reference for the search engine to sequence web pages.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A method of collecting information, comprising:
at an obtaining unit of an information collecting apparatus communicatively coupled with a web server, listening to an HTML transaction between a web client and the web server;
by listening to the HTML transaction, obtaining web page access information from the HTML transaction, the web page access information including one or more HTML files, each corresponding to one or more web pages of the HTML transaction; and
at the obtaining unit, sending the obtained web page access information to a search engine database that is communicatively coupled with the information collecting apparatus.

### Claim 22 (depends on 21)

The method of claim 21, wherein the web page access information comprises a client IP address, a server IP address, a URL for each of the one or more web pages included in the HTML transaction, a respective browse count for each of the one or more web pages included in the HTML transaction, and a respective browse time for each of the one or more web pages included in the HTML transaction,
and wherein obtaining the web page access information comprises obtaining the one or more HTML files sent from the web server to the web client for the one or more web pages of the HTML transaction.

### Claim 23 (depends on 22)

The method of claim 22, wherein obtaining the web page access information further comprises:
respectively counting a number of times the web client browses each of the one or more web pages within a given period;
setting the respective browse count to the respective counted number; and
setting the respective browse time to a most recent time at which the web client respectively browsed each of the one or more web pages.

### Claim 24 (depends on 21)

The method of claim 21, further comprising:
coding each of the one or more HTML files obtained from the web server to yield respective codes corresponding to each of the one or more HTML files; and
recording in a coding dictionary each of the one or more HTML files and the respective codes corresponding to each of the one or more HTML files.

### Claim 25 (depends on 24)

The method of claim 24, wherein obtaining the web page access information from the HTML transaction comprises using the coding dictionary to replace in the web page access information each of the one or more HTML files with the respective codes corresponding to each of the one or more HTML files,
and wherein sending the obtained web page access information to the search engine database comprises using the coding dictionary to regenerate the each of the one or more HTML files from the respective codes corresponding to each of the one or more HTML files, and sending the regenerated one or more HTML files to the search engine database.

### Claim 26 (depends on 25)

The method of claim 25, wherein at least one of the one or more HTML files is a dynamic HTML file corresponding to one or more dynamic web pages,
wherein coding the dynamic HTML file comprises coding one or more web page templates and one or more variables of the one or more dynamic web pages,
wherein recording in the coding dictionary the dynamic HTML file and the respective codes corresponding to the dynamic HTML file comprises recording in the coding dictionary dynamic web page codes corresponding to (i) the one or more web page templates and (ii) the one or more variables, and further recording relations between the one or more web page templates, the one or more variables, and the one or more dynamic web pages,
wherein using the coding dictionary to replace in the web page access information the dynamic HTML file with the respective codes corresponding to the dynamic HTML file comprises:
obtaining from the coding dictionary the dynamic web page codes, and further obtaining the relations between the one or more web page templates, the one or more variables, and the one or more dynamic web pages;
obtaining values of the one or more variables according to contents of the one or more dynamic web pages; and
replacing the dynamic HTML file with the dynamic web page codes, and with the values of the one or more variables,
and wherein using the coding dictionary to regenerate the dynamic HTML file from the respective codes corresponding to the dynamic HTML file comprises:
obtaining from the coding dictionary the dynamic web page codes, and further obtaining the relations between the one or more web page templates, the one or more variables, and the one or more dynamic web pages; and
using and values of the one or more variables, the dynamic web page codes, and
the relations between the one or more web page templates, the one or more variables, and
the one or more dynamic web pages to generate HTML files.

### Claim 27 (depends on 24)

The method of claim 24, further comprising:
obtaining one or more additional HTML files by listening to one or more additional HTML transactions between the web server and one or more additional web clients;
coding each of the one or more additional HTML files to yield respective codes corresponding to each of the one or more additional HTML files; and
recording in the coding dictionary each of the one or more additional HTML files and the respective codes corresponding to each of the one or more additional HTML files.

### Claim 28 (depends on 21)

The method of claim 21, wherein sending the obtained web page access information to a search engine database comprises:
putting web page access information corresponding to multiple HTML transactions between the web client and the web server into a single message;
and sending the single message to the search engine database.

### Claim 29

An information collection apparatus configured to be communicatively coupled with a web server, the information collection apparatus comprising an obtaining unit and a sending unit,
wherein, the obtaining unit is configured to:
listen to an HTML transaction between the web server and a web client;
obtain web page access information from the HTML transaction, the web page access information including one or more HTML files, each corresponding to one or more web pages of the HTML transaction; and
send the web page access information to the sending unit,
and wherein the sending unit is configured to send the obtained web page access information to a search engine database that is communicatively coupled with the information collecting apparatus.

### Claim 30 (depends on 29)

The information collection apparatus of claim 29, wherein the obtaining unit is further configured to:
obtain additional information comprising an IP address of the web client, an IP address of the web server, a URL for each of the one or more web pages included in the HTML transaction, a respective browse count for each of the one or more web pages included in the HTML transaction, and a respective browse time for each of the one or more web pages included in the HTML transaction; and
include the additional information in the web page access information sent to the sending unit.

### Claim 31 (depends on 30)

The information collection apparatus of claim 30, wherein the obtaining unit is further configured to:
respectively count a number of times the web client browses each of the one or more web pages within a given period;
set the respective browse count to the respective counted number; and
set the respective browse time to a most recent time at which the web client respectively browsed each of the one or more web pages.

### Claim 32 (depends on 29)

The information collection apparatus of claim 29, further comprising a receiving-side coding dictionary database, a sending-side coding dictionary database, and a receiving interface unit,
wherein the receiving-side coding dictionary database and the sending-side coding dictionary database are each configured to store respective codes corresponding to the one or more HTML files,
wherein the obtaining unit is configured to send the web page access information to the sending unit by being configured to use the sending-side coding dictionary database to get the respective codes corresponding to the one or more HTML files, and to replace in the web page access information sent to the sending unit the one or more HTML files with the respective codes,
and wherein the receiving interface unit is configured to:
receive the web page access information sent from the sending unit;
use the receiving-side coding dictionary database to get the one or more HTML files corresponding to the respective codes contained in the web page access information; and
send the one or more HTML files to the search engine database.

### Claim 33 (depends on 32)

The information collection apparatus of claim 32, wherein the receiving-side coding dictionary database and the sending-side coding dictionary database are each further configured to record codes of one or more dynamic web pages by storing dynamic web page codes corresponding to (i) one or more web page templates and (ii) one or more variables of the one or more dynamic web pages, and to further store relations between the one or more web page templates, the one or more variables, and the one or more dynamic web pages,
wherein being configured to use the sending-side coding dictionary database to get the respective codes corresponding to the one or more HTML files comprises being configured to:
obtain from the receiving-side coding dictionary database the dynamic web page codes, and further obtain the relations between the one or more web page templates, the one or more variables, and the one or more dynamic web pages; and
obtain values of the one or more variables according to contents of the one or more dynamic web pages,
wherein the sending unit is further configured to determine values of the one or more variables according to contents of the one or more dynamic web pages,
wherein being configured to replace in the web page access information sent to the sending unit the one or more HTML files with the respective codes comprises being configured to replace the one or more HTML files with the dynamic web page codes, and with the values of the one or more variables,
and wherein the receiving interface unit is configured to use the receiving-side coding dictionary database to get the one or more HTML files and to send the one or more HTML files to the search engine database by being configured to:
get from the receiving-side coding dictionary the one or more web page templates and the one or more variables corresponding to the dynamic web page codes in the web page access information;
regenerate the one or more HTML files by using the one or more web page templates, one or more variables, and the values of the one or more variables; and
send the regenerated one or more HTML files to the search engine database.

### Claim 34 (depends on 32)

The information collection apparatus of claim 32, further comprising a coding unit configured to:
code the one or more HTML files to yield the respective codes corresponding to the one or more HTML files;
send the one or more HTML files and the respective codes to the sending-side dictionary database and to the receiving-side coding dictionary database; and
update the respective codes in the sending-side dictionary database and the receiving-side coding dictionary database.

### Claim 35 (depends on 29)

The information collection apparatus of claim 29, wherein the obtaining unit is further configured to:
obtain compound information about multiple web pages browsed by a user via a web client;
put the compound information in a single message; and
send the single message to the sending unit.

### Claim 36

A method for collecting information for search engine comprising:
at an information collecting apparatus communicatively coupled with a first web server, receiving one or more first messages from the first web server, the one or more first messages corresponding to one or more HTML transactions between the first web server and an internet client, and each of the one or more first messages including codes that represent one or more first HTML files corresponding to one or more web pages sent from the first web server to the internet client, wherein each of the one or more first HTML files is coded with unique codes;
at the information collecting apparatus, retrieving the one or more first HTML files from the one or more first messages according to a first coding dictionary associated with the first web server.

### Claim 37 (depends on 36)

The method of claim 36, wherein the information collection apparatus is communicatively coupled with a second web server, the method further comprising:
at the information collection apparatus, receiving one or more second messages from the second web server, the one or more second messages corresponding to one or more HTML transactions between the second web server and an internet client, and each of the one or more second messages including codes that represent one or more second HTML files corresponding to one or more web pages sent from the second web server to the internet client, wherein each of the one or more second HTML files is coded with unique codes;
at the information collecting apparatus, retrieving the one or more second HTML files from the one or more second messages according to a second coding dictionary associated with the second web server, wherein the second coding dictionary is different from the first coding dictionary.

### Claim 38 (depends on 36)

The method of claim 36, wherein each of the one or more first messages further comprises an IP address of the internet client, an IP address of the first web server, a URL for each of the one or more web pages, a respective browse count for each of the one or more web pages, and a respective browse time for each of the one or more web pages.

### Claim 39 (depends on 38)

The method of claim 38, wherein the respective browse count corresponds to a respective number of times each of the one or more web pages was browsed by the internet client within a give period,
and wherein the respective browse time corresponds to a most recent time at which the internet client respectively browsed each of the one or more web pages.

### Claim 40 (depends on 36)

The method of claim 36, wherein at least one of the one or more first HTML files is a dynamic HTML file corresponding to one or more dynamic web pages,
wherein the unique codes of the dynamic HTML file comprises codes of a page template that is coded according to the first coding dictionary,
wherein the dynamic HTML file is included a particular one of the one or more first messages,
and wherein and the particular one of the one or more first messages further comprises variables of the one or more dynamic web pages.

### Claim 41 (depends on 36)

The method of claim 36, further comprising:
updating the first coding dictionary according to information from the first web server.
