1. A method of providing services of an external network to a client device connected to the external network, comprising:
in a client device in a local network:
obtaining structure of a structured document from a server for accessing desired services in the external network corresponding to the structured document, wherein the structured document resides in the external network, wherein said structure of the structured document comprises rules for encoding documents in machine-readable form;
incorporating the obtained structure into a configuration file;
receiving the configuration file by the client device in the local network;
based on the obtained structure, performing a scraping process on the structured document to obtain information for providing desired services in the external network, wherein the scraping process is configured using the obtained structure in the configuration file;
providing the information for displaying on the client device;
providing a server connected to the client device; and
maintaining on the server manually created configuration files corresponding to certain Web pages in the external network.
2. The method of claim 1 wherein:
the external network comprises the Internet and the structured document comprises a Web page in a Web site in the external network providing services.
3. The method of claim 2 wherein:
said structure of the structured document comprises rules for encoding documents in machine-readable form; and
obtaining further includes obtaining the structure of machine-readable HTMLXML encoding embedded in the Web page for information extraction by scraping.
4. The method of claim 2 wherein a configuration file corresponding to each Web page includes rules for ascertaining structure of the Web page.
5. The method of claim 2 wherein scraping further includes hybrid scraping by performing scraping in the client device and providing configuration file updates to the client device from the server.
6. The method of claim 2 wherein the desired services is based on user activity.
7. The method of claim 2, wherein the scraping process is configurable to scrape different Web pages with different structures, based on respective Web page structures contained in corresponding configuration files.
8. The method of claim 2 further comprising updating the configuration file for the corresponding Web page as the Web page structure changes.
9. The method of claim 1 further comprising:
querying the server by the client device for configuration files; and
responding by the server by providing configuration file information.
10. The method of claim 9 wherein querying the server by the client device for configuration files further includes:
using the available configuration files to display to a user the corresponding services in the external network that can be used by the user.
11. The method of claim 10 further including:
receiving service selection by the user;
the client device retrieving the corresponding configuration file from the server for scraping; and
performing scraping by the client device using the obtained structure in the configuration file to interact with the corresponding Web page in the external network.
12. The method of claim 11 wherein the retrieved obtained structure in the configuration file includes one or more of:
the location of the selected service provider in the external network;
a description of the selected service;
the interface to various services provided by the service provider;
rules that instruct the client as to which fragments of HTMLXML in the Web page are to be extracted by scraping;
semantics of the extracted data;
display information;
words relevant to the service;
version number of the configuration file; and
preferred Web page information.
13. The method of claim 11 wherein scraping further includes scraping sufficient information to extract information about the selected service from the Web page.
14. The method of claim 9 further comprising:
checking a version of the configuration file stored in the client device against a version of a configuration file on the server in the external network; and
when a new configuration file is available, downloading the new configuration file from the server in the external network.
15. The method of claim 1, wherein the information includes attribute pairs obtained from content meta-data.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. A disk drive comprising:
(a) a disk;
(b) a head actuated radially over the disk;
(c) a readwrite channel for interfacing with the disk through the head; and
(d) a microprocessor for executing disk commands by:
initializing a first configuration data structure comprising a plurality of configuration parameters with predetermined default values;
initializing a second configuration data structure comprising a plurality of configuration parameters with predetermined default values;
modifying at least one of the configuration parameters of the first configuration data structure with a custom value to generate a custom configuration data structure;
associating the custom configuration data structure with a first disk command;
associating the second configuration data structure with a second disk command;
executing the first disk command using the custom configuration data structure; and
executing the second disk command using the second configuration data structure.
2. The disk drive as recited in claim 1, further comprising an error recovery system, wherein the configuration parameters configure the error recovery system.
3. The disk drive as recited in claim 1, wherein the configuration parameters configure the readwrite channel.
4. The disk drive as recited in claim 1, further comprising a servo system for actuating the head radially over the disk, wherein the configuration parameters configure the servo system.
5. The disk drive as recited in claim 4, wherein:
(a) the servo system performs a tracking operation to maintain the head on a target path with respect to the disk; and
(b) the configuration parameters for configuring a tracking offset of the tracking operation.
6. The disk drive as recited in claim 1, wherein:
(a) a client host computer sends a configuration command to the disk drive directing the microprocessor to modify the at least one configuration parameter of the first configuration data structure; and
(b) the client host computer sends the first and second disk commands to the disk drive.
7. The disk drive as recited in claim 1, wherein a client program executed by the microprocessor issues the first and second disk commands.
8. The disk drive as recited in claim 7, wherein the client program issues a configuration command directing the microprocessor to modify the at least one configuration parameter of the first configuration data structure.
9. The disk drive as recited in claim 7, wherein the client program directly modifies the at least one configuration parameter of the first configuration data structure.
10. The disk drive as recited in claim 7, wherein the client program comprises a manufacturing program executed internally by the microprocessor during a manufacturing process of the disk drive.
11. The disk drive as recited in claim 7, wherein the client program comprises a calibration program executed internally by the microprocessor for calibrating a component of the disk drive.
12. A method of executing disk commands in a disk drive, the disk drive comprising a disk, a head actuated radially over the disk, and a readwrite channel for interfacing with the disk through the head, the method comprises the steps of
(a) initializing a first configuration data structure comprising a plurality of configuration parameters with predetermined default values;
(b) initializing a second configuration data structure comprising a plurality of configuration parameters with predetermined default values;
(c) modifying at least one of the configuration parameters of the first configuration data structure with a custom value to generate a custom configuration data structure;
(d) associating the custom configuration data structure with a first disk command;
(e) associating the second configuration data structure with a second disk command;
(f) executing the first disk command using the custom configuration data structure; and
(g) executing the second disk command using the second configuration data structure.
13. The method as recited in claim 12, wherein the configuration parameters configure an error recovery system.
14. The method as recited in claim 12, wherein the configuration parameters configure the readwrite channel.
15. The method as recited in claim 12, wherein:
(a) the disk drive further comprises a servo system for actuating the head radially over the disk; and
(b) the configuration parameters configure the servo system.
16. The method as recited in claim 15, wherein:
(a) the servo system performs a tracking operation to maintain the head on a target path with respect to the disk; and
(b) the configuration parameters for configuring a tracking offset of the tracking operation.
17. The method as recited in claim 12, wherein:
(a) a client host computer sends a configuration command to the disk drive directing the microprocessor to modify the at least one configuration parameter of the first configuration data structure; and
(b) the client host computer sends the first and second disk commands to the disk drive.
18. The method as recited in claim 12, wherein:
(a) the disk drive further comprises a microprocessor for executing the first and second disk commands; and
(b) a client program executed by the microprocessor issues the first and second disk commands.
19. The method as recited in claim 18, wherein the client program issues a configuration command directing the microprocessor to modify the at least one configuration parameter of the first configuration data structure.
20. The method as recited in claim 18, wherein the client program directly modifies the at least one configuration parameter of the first configuration data structure.
21. The method as recited in claim 18, wherein the client program comprises a manufacturing program executed internally by the microprocessor during a manufacturing process of the disk drive.
22. The method as recited in claim 18, wherein the client program comprises a calibration program executed internally by the microprocessor for calibrating a component of the disk drive.