1. Field of the Invention
The present invention relates generally to a method and apparatus for automatically configuring a network. More particularly, the present invention relates to a dynamically configurable network architecture containing networked office appliances (NOAs).
2. Background
Generally, before a device can operate in a networked environment, the device needs to be appropriately configured. The specific network configuration required for each device may vary depending upon factors such as network topology and device functionality. On a Transmission Control Protocol/Internet Protocol (TCP/IP) network, each device or host is assigned a unique identifier known as an IP address. IP addresses usually take the form of a 32-bit numeric address written as four numbers separated by periods, but may differ depending upon the particular network topology. More information regarding IP address formatting can be found in Request For Comments (RFC) 1700, “Assigned Numbers”, October 1994.
Prior to establishing communication with a host across a TCP/IP network, the individual initiating the communication determines the IP address of the destination host much like telephone numbers are used when placing telephone calls. Individuals do not always know a recipient's IP address, and unfortunately there is no simple way of ascertaining it. Fortunately, however, mechanisms such as domain names have been developed which allow for simplified network communication.
Domain names were introduced as a less complicated means for users to communicate with remote hosts. Background information and specifications regarding domain names can be found in RFC 1034, “Domain Names-Concepts and Facilities”, November 1987, and a companion RFC 1035, “Domain Names-Implementation and Specification”, November 1987. In its simplest form, a domain name is nothing more than a human-readable text representation of one or more unique numeric IP addresses. By using domain names, users are not required to memorize numerous awkward IP addresses in order to communicate with hosts, rather they need only remember the appropriate host's domain name. Furthermore, most domain names reflect some variation of their corresponding hosts' names, and thus act as mnemonics for the user. Because the Internet is based upon IP addressing and not domain names, however, network devices replace every host domain name with the host's corresponding IP address prior to initiating communication. This replacement process is facilitated by what is known as a domain name service (DNS).
It is not uncommon for a single host domain name to be linked to multiple IP addresses within a DNS server. If one or more of a host's IP addresses are changed or are removed from the network, the corresponding DNS entries also need to be changed or removed from the DNS database. One limitation of DNS has historically been its inability to automatically update such address changes. Currently, it is common for DNS updates to be performed manually, often requiring time consuming, meticulous precision. Such manual updates, however, are not limited to just DNS databases. Essential configuration information such as IP addresses have traditionally been assigned to hosts manually as well.
Manual IP address assignments are most often performed by an experienced individual such as a network administrator. The network administrator assigns each host an IP address chosen from a block of addresses known by the administrator to be available. If the administrator were to mistype the IP address when configuring the host, it is likely that the host would not function correctly. Similarly, if the administrator were to assign a previously allocated IP address to a host, communication errors would likely occur due to the conflicting IP addresses. Additional TCP/IP configuration information other than IP addresses is often manually entered as well. Often, the TCP/IP configuration process requires an administrator to visit each host individually to enter the applicable information. Every time a host configuration is subsequently changed, the administrator must also visit the host to perform the update. On large networks, this practice of manually updating configurations can be extremely time consuming.
Dynamic IP address allocation attempts to solve some of the problems created by manual host configuration. Different implementations of dynamic IP address allocation have been proposed over time, but one common protocol used today is the Dynamic Host Configuration Protocol (DHCP). For more information on DHCP, see RFC 2131, “Dynamic Host Configuration Protocol”, March 1997. DHCP is based on the Bootstrap Protocol (BOOTP), but adds the capability of automatic allocation of reusable network addresses and additional configuration options. For more information on BOOTP, see RFC 951, “Bootstrap Protocol (BOOTP)”, September 1985. DHCP provides a framework for passing configuration information to hosts on a TCP/IP network at boot time. With DHCP, a network administrator does not need to visit each host individually to configure or modify a host's configuration. A configuration may include the host IP address and other TCP/IP option settings such as the definitions of domain name servers, default gateways and subnet masks. Some DHCP server implementations allow for the use of option sets, which allow administrators to assign common settings to particular options. When an administrator makes a change to an option set, all client configurations employing that option set will receive the updated information. In this manner, central administration is made easier.
One current problem with networks utilizing DHCP in conjunction with DNS involves the lack of communication between the two systems. As IP addresses are dynamically allocated to hosts, corresponding domain names may also be allocated. In a network where a host's IP address changes frequently, so too will its domain name. Due to the randomness involved in such address/domain name assignments, it is crucial that such assignments be reflected in a DNS. Since DNS updates are often completed manually, it is unlikely, however, that the DNS will reflect the most recent host address/domain name information available. If the DNS is not kept up to date with the most recent host address/domain name assignments, communication between hosts may become increasingly difficult. Even if a DNS database was kept up to date with the most recently available network address/domain name information, it would still be advantageous to identify a single host by a single fixed domain name. With a single fixed domain name, any particular host would always be reachable via that domain name, regardless of what the host's dynamically assigned IP address is.
It is therefore desirable to have a system that is able to dynamically allocate IP addresses to a host, while statically assigning a single domain name to that host. Such a system would perform necessary DNS updates automatically, requiring minimal human interaction with the system, thereby minimizing communication errors.
Once a device is configured, and connected to a network, the network administrator is generally responsible for updating user and group information and allocating access privileges to that device. As the size of the network, number of connected devices, and number of users grows, the process of updating user and group information and granting access privileges can become a formidable task. Often in large office environments, user and group information updates are not considered critical to the functionality of the network and may therefore be assigned a lower priority than other, more urgent system concerns. In small office environments designated network administrators may not even exist, leaving all of the network configurations and administration to be completed by untrained individuals. Such a practice may not only affect productivity, but may also jeopardize the functionality of the network.
It is therefore desirable to have a network device that provides easy, comfortable, and appliance-like automatic configuration features to users. Such a device should be capable of automatically configuring itself for network operation when placed in a network environment that lacks a designated administrator, and at the same time, the device should provide interoperability with preexisting networked equipment when placed in an administered network environment.
A method and apparatus for initializing a first device on a network is disclosed. First, configuration information is requested from a second device upon connecting the first device to the network. Then, the initialization process is delayed for a period of time. Next, configuration services are provided to the network if a response to the configuration information request is not received from the second device within the period of time that the initialization process is delayed. Configuration services are provided to the network if the first device has a higher priority than the second device. The network is continuously monitored to detect a connection of an additional device to the network.
The present invention will be understood more fully from the detailed description given below and from the accompanying drawings of various embodiments of the invention, which, however, should not be taken to limit the invention to the specific embodiments, but are for explanation and understanding only.
A networked office appliance (NOA) architecture is disclosed. In the following description, numerous specific details are set forth such as specific components, configurations, connections, etc., in order to provide a thorough understanding of the present invention. It will be apparent, however, to one skilled in the art that these specific details need not be employed to practice the present invention. In other instances, well known components or methods have not been described in detail in order to avoid obscuring the present invention.
Some portions of the detailed descriptions which follow are presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is here, and generally, conceived to be a self-consistent sequence of steps leading to a desired result. The steps are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like.
It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the following discussions, it is appreciated that throughout the present invention, discussions utilizing terms such as “processing” or “computing” or “calculating” or “determining” or “displaying” or the like, refer to the action and processes of a computer system, or similar electronic computing device, that manipulates and transforms data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system memories or registers or other such information storage, transmission or display devices.
The present invention also relates to apparatus for performing the operations herein. This apparatus may be specially constructed for the required purposes, or it may comprise a general purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a computer readable storage medium, such as, but is not limited to, any type of disk including floppy disks, optical disks, CD-ROMs, and magneto-optical disks, read-only memories (ROMs), random access memories (RAMs), EPROMs, EEPROMs, magnetic or optical cards, or any type of media suitable for storing electronic instructions, and each coupled to a computer system bus. The algorithms and displays presented herein are not inherently related to any particular computer or other apparatus. Various general purpose machines may be used with programs in accordance with the teachings herein, or it may prove convenient to construct more specialized apparatus to perform the required processing. The required structure for a variety of these machines will appear from the description below. In addition, the present invention is not described with reference to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the invention as described herein.
Although all or some of the operations may be performed by software executing on one or more processing units/devices (e.g., CPUs) in a computer system or specialized apparatus, some or all of these operations may be performed by digital logic and/or circuitry, an integrated circuit (e.g., ASIC) or other semiconductor substrates.
A NOA architecture allows appliances to be added to a network without requiring configuration or setup in offices lacking a network administrator. At the same time, a NOA architecture allows appliances to be easily added to standard administered networks without causing conflicts with preexisting network devices. Furthermore, NOAs work closely together in networked environments and are able to automatically detect and share information with one another upon being connected to a network. Some examples of networked office appliances may include, but are not limited to devices such as facsimile machines, copiers, printers, personal computers, scanners, electronic typewriters, data backup systems, control units, . . . etc.
A NOA architecture provides mechanisms for automatically configuring devices on networks, such as TCP/IP networks. Specific configuration methods disclosed herein include network address allocation, DNS database population, network service discovery, and user identity sharing. Devices that follow these algorithms automatically start DHCP and DNS services when they are not already present on a network, and refrain from doing so if such services are already present on a network. Both DHCP and DNS services work together to provide names and addresses to network devices on the same network without human intervention (automatically). In addition, a hypertext transfer protocol (HTTP) based method of securely sharing service information as well as user and group information is defined.
The disclosed architecture and system differ from the prior art by way specific mechanisms are used to configure a network. One such mechanism provides for the detection of existing DNS and DHCP services on a network, while another mechanism controls a device's response when such services are detected. If DHCP and DNS services are detected on a network an NOA device may startup as a client and accept any configuration information offered by the services. If, however, a NOA device does not detect DHCP and DNS services, the NOA device may startup as a server to provide those services to the network. A NOA architecture uses a combination of state variables, timing, and communication protocols to accomplish these tasks.
Service discovery is accomplished within the disclosed automatic network configuration. A designated service device utilizes a unique protocol to gather individual service lists from multiple NOA devices on a network. In doing so, the service device creates a master service list accessible by all NOA devices on the network. In this way, each NOA device is able to identify the services that every other NOA device on the network provides.
User and group information is shared across an automatically configured network. User and group information is information that designates which users are allowed access to an NOA device, as well as what level of access they are allowed. A NOA architecture utilizes a unique protocol in conjunction with the HTTP protocol to pass user and group information between NOA devices. When a NOA device is connected to an automatically configured network, user and group information is passed to that NOA device. NOA devices are able to detect whether the user and group information they are passed is more or less recent than any preexisting user and group information they may already contain. A further mechanism is provided which allows an NOA device to pass the more recent user and group information back to the originating device so that the information may be propagated throughout the network.
NOA architecture provides a further mechanism for solving network name conflicts in the automatically configured network herein described. Since NOA devices are capable of selecting their own network name to which they are assigned, the possibility exists that more than one NOA will select the same name. If this occurs, NOA devices resolve the conflict using a novel conflict resolution process which makes the selected network names unique, yet consistent.
The following sections will further detail the specific mechanisms and protocols utilized in a NOA architecture.
If, for any reason, a DHCP Acknowledge is not received by client NOA 200 at processing block 328, client NOA 200 continues to broadcast DHCP Discovers at processing block 322 until either another DHCP Offer is received at processing block 326, or a predefined amount of time allocated for a DCHP response expires at processing block 330.
In one embodiment, non-NOA server 210 is not configured to provide DHCP or equivalent services to network 201. In this case, client NOA 200 broadcasts a DHCP Discover across network 201 and delays for a specified interval time D at processing block 324 before broadcasting subsequent DHCP Discovers across network 201. Eventually an error condition is triggered at processing block 331 after the predefined amount of time allocated for a DCHP response expires at processing block 330. Once an error condition is triggered, a user or administrator may be alerted by an audio or visual notification indicating that automatic configuration was not possible. A visual error notification may be displayed on any display device that may or may not be connected to the network including a Cathode Ray Tube (CRT). Error condition notifications may alternatively be archived onto a magnetic media in the form of an error log for later retrieval and inspection by an administrator.
In one embodiment, at least two non-NOA servers 210 are connected to network 201 and at least two of these non-NOA servers 210 are configured to provide DHCP services to network 201. Using the DHCP protocol, client NOA 200 broadcasts a DHCP Discover across network 201 at processing block 322, every interval time D until either client NOA 200 receives a DHCP Offer in response at processing block 326, or a predefined amount of time allotted for a DHCP response expires at processing block 330. Non-NOA servers 210 that are configured to provide DHCP services and are able to provide client NOA 200 with configuration information respond to client NOA 200 with a DHCP Offer. If client NOA 200 receives multiple DHCP Offers at processing block 326 from multiple non-NOA servers 210, client NOA 200 determines whether it will accept a configuration and if so, which one of the multiple configurations received it will accept. If client NOA 200 chooses to decline all configurations, client NOA 200 will issue DHCP Declines at processing block 332 to all the non-NOA servers that originated the configurations. Client NOA 200 continues to broadcast DHCP Discovers at processing block 322 until either a more acceptable DHCP Offer is received at processing block 326, or a predefined amount of time allocated for a DCHP response expires at processing block 330. If, however, client NOA 200 chooses to accept one of the configurations offered by one of the non-NOA servers 210, client NOA 200 issues a DHCP Request at processing block 327 to the appropriate non-NOA server 210 that originated the acceptable DHCP Offer. Client NOA 200 issues DHCP Declines at processing block 332 to all non-NOA servers 210 that originated unacceptable DHCP Offers.
It will be appreciated that multiple client NOAs 200 may be connected to network 201. In such an instance, where multiple client NOAs are connected to a single network, the configuration process of any particular client NOA may be identical to the configuration process disclosed for a single client NOA.
Although the configuration is described with respect to a DHCP protocol, other protocols having similar functionality may be used.
In one embodiment, networks containing client NOA devices contain two or more NOA server devices. These NOA servers provide configuration services, such as DNS, DHCP, service discovery, and user management features to networks containing client NOAS, and are capable of managing which NOA server will be given priority over the remaining NOA servers at any given time. The NOA server with the highest priority is given the designation of master server and supplies the bulk of the configuration services to the NOA network.
NOA servers are capable of determining whether a device is currently providing configuration services to a network or whether configuration services are required by the network. When an NOA server is connected to a network, the server broadcasts a DHCP Discover across the network. If the NOA server does not receive a DHCP Offer in response to the DHCP Discover, it is likely that no other device is providing configuration services to the network. In such a case, the NOA server begins to provide configuration services to the network. If, however, the NOA server receives a DHCP Offer in response to the DHCP Discover, it is likely that a second device is already providing configuration services to the network. If the NOA server determines that the second device providing configuration services to the network is not a NOA server, the NOA server does not provide similar configuration services, but rather behaves like a client NOA instead. If the NOA server determines that the second device is a NOA server, however, the two NOA servers determine which of them has the higher priority. The NOA server with the higher priority is designated as master server and the server with the lower priority is designated as client NOA. In some circumstances, two NOA servers may not be able to determine which NOA server should be the master server, thereby requiring user intervention. In one embodiment, such circumstances very rarely occur.
In one embodiment, NOA servers capable of providing configuration services to a network are referred to as server NOAs. Server NOA's use a combination of state variables, timing, and communications to accomplish the task of self-identification reliably without user intervention. Server NOAs are generally assigned one of the following four states: 1) Initial, 2) Master, 3) Not_Master, and 4) Temporary_Master. The “Initial” state is assigned to server NOAs when the devices are first manufactured. The state of “Master” is assigned to any server NOA that provides service to a network. Server NOAs assigned the state of “Not_Master” are configured to be server NOAs, but at that particular time, do not provide service to the network. Server NOAs assigned the state of “Temporary_Master” are designed to provide service temporarily when the Master is not available. It is important to determine and capture the previous state of a particular server NOA before bootstrap, as well as the state of the server NOA after bootstrap. In one embodiment, NOA state variables may be defined in an electronic file readable upon bootstrap.
The first inquiry is whether server NOA 402 has a state variable equal to Master at processing block 501. If the state variable of server NOA 402 is equal to Master, server NOA 402 should continue to boot appropriately at processing block 525 providing configuration services to network 401. If the state variable of server NOA 402 is not equal to Master at processing block 501, then the state variable is equal to either Not_Master, Temporary_Master, or Initial. Server NOA 402 issues DHCP Discovers across network 401 at processing block 502 every interval time D (504), until either a DHCP Offer is received in response at processing block 506, or a predefined amount of time allotted for a DHCP response expires at processing block 508.
It is important that the amount of time allotted for a DHCP response be varied across multiple server NOAs in order to avoid race conditions between competing DHCP configured servers. If the amount of time allotted for a DHCP response is kept constant, the server NOAs may not function correctly. For example, if multiple server NOAs exist on a network, and all such server NOAs are turned on simultaneously (such as in the case of recovery from power loss, for example), it is conceivable that all the server NOAs may also send out DHCP Discovers simultaneously. If all the server NOAs send out DHCP Discovers simultaneously, all the server NOAs may also wait to receive a DHCP Offer in return. If all the server NOAs are waiting to receive a DHCP Offer, none of the server NOAs can send an expected DHCP Offer. In such a situation, the predetermined amount of time allotted for a DHCP response may simultaneously expire on all server NOAs. Furthermore, each server NOA, believing it is alone on the network, may begin to provide configuration services to the network. If the amount of time allotted for a DHCP response is varied, however, it is likely that at least one server NOA will begin to provide configuration services to the network. It is important that the time be varied by an amount larger than the interval at which DHCP Discovers are repeated. In one embodiment, the variation is in quanta whose size equals the repetition rate. This may be a number of seconds.
Referring back to
If server NOA 402 does not receive a DHCP Offer at processing block 506 before the predefined amount of time allotted for a DHCP response expires at processing block 508, configuration block 530 is executed. In configuration block 530, the first determination to be made is whether the state variable of server NOA 402 is equal to Initial at processing block 512. If the state variable of server NOA 402 is equal to Initial at processing block 512, and the predefined amount of time allotted for a DHCP response has expired, the state variable of server NOA 402 is set to Master at processing block 520. Server NOA 402 continues to boot appropriately at processing block 525 providing configuration services to network 401. In such a situation, it is likely that server NOA 402 had been in its default shipping state when connected to the network, and no other devices were detected as providing configuration services to network 401.
Referring to configuration block 530 in
If the previous state variable of server NOA 402 is equal to Not_Master at processing block 513, the state variable is set to Temp_Master at processing block 517. If the previous state variable of server NOA 402 is not equal to Not_Master at processing block 513, a determination is made whether the previous state variable is equal to Initial at processing block 515. If the previous state variable of server NOA 402 is equal to Initial at processing block 515, the state variable is set to Master at processing block 519. If the previous state variable of server NOA 402 is not equal to Initial at processing block 515, server NOA 402 continues to boot appropriately at processing block 525 providing configuration services to network 401.
Once the state variable of server NOA 402 is set appropriately as either Temporary_Master, or Master at processing blocks 517 and 519 respectively, server NOA 402 continues to boot appropriately at processing block 525. The subsequent boot procedure is illustrated in
If it is determined that the selected IP address is available, however, server NOA 402 initiates DHCP services at processing block 608, and initiates DNS and service discovery at processing block 610. After the appropriate services have been started, server NOA 402 broadcasts a DHCP Discover across network 401 at processing block 612, and determines whether a DHCP Offer has been received in response to the DHCP Discover at processing block 614. If server NOA 402 detects a DHCP Offer at processing block 614, it is very likely that another device has started providing configuration services to network 401, and server NOA 402 executes graceful shutdown procedure at processing block 616. Conversely, if server NOA 402 does not detect a DHCP Offer at processing block 614, it is very likely that no other server device is providing configuration services to network 401. In that case, server NOA 402 continues to send DHCP Discovers at processing block 612 until a DHCP Offer is received at processing block 614.
DHCP configurations may contain TCP/IP option fields. In an NOA environment, an option field is used to classify server NOAs. A server NOA may be classified as either a High_Priority_Server or an Ordinary_Server. If multiple server NOAs are connected to a network, the server NOA that provides configuration services to the network is designated as High_Priority_Server. Server NOAs designated as an Ordinary_Server function much like client NOAs. There may typically be no more than one High_Priority_Server connected to any particular network at any given time. The High_Priority_Server may be a user-selected server. An identifier in a field of a DHCP Offer is set or not to indicate whether or not the server is a High_Priority_Server. In one embodiment, the High_Priority_Server informs all other servers of its address or identifier.
NOA devices employ a method where DHCP and DNS services work together so that the name of a host changes as rarely as possible even if its address changes. A NOA architecture attempts to keep network names consistent and moreover employs a method of solving network name conflicts. Traditionally, the user or network administrator has been left to assign or change the network name of a host manually in order to avoid naming conflicts. In contrast, a NOA architecture automates these services, thereby decreasing the amount of required user intervention as well as the risk of errors.
In one embodiment, the DHCP server is implemented on server NOA 402 and contains a table that records network name conflicts and assignments, also referred to as bindings. The DHCP table keeps track of a device's Media Access Control (MAC) address along with the device's corresponding network name binding. A MAC address is a hardware address that uniquely identifies each node of a network. It is conceivable that another identifier, other than a device's MAC address, may be used for identification purposes if a different network topology is implemented. Along with a device's MAC address and network, or host name binding, the table also contains fields for such information as the device's IP address as well as a “name_in_use_” code. The name_in_use_code, which is initialized upon bootstrap, indicates whether a particular host name is being used by another device.
After a suitable network name and network IP address are determined, all the fields in the DHCP table are completed with the appropriate information at processing block 724. At processing block 726, server NOA 402 records a mark in the name_in_use field indicating that the network name assigned to client NOA 400 has been taken. In this manner, no other devices may attempt to use this network name while it is assigned to client NOA 400. At processing block 728, the DHCP server which in this particular embodiment is server NOA 402, informs the DNS server which, in this particular embodiment is also server NOA 402, of the network name and IP address assignments. Server NOA 402 then returns the configuration information to client NOA 400 via a DHCP Offer at processing block 730. Such configuration information may include the client's network name, IP address, domain name, DNS server address, and router address. At processing block 732, server NOA 402 determines whether a DHCP Decline is returned by client NOA 400. If a DHCP Decline is returned, server NOA 402 may alert a user to determine why the configuration was rejected as shown in step 733. As long as no DHCP Decline is received by server NOA 402, it is presumed that client NOA 400 accepts the configuration information and service discovery will begin at processing block 736. Although it has been assumed that the client described within this name and address management configuration procedure is a client NOA, it is also possible that such a configuration procedure would apply to a non-NOA client configured to accept DHCP configurations. If server NOA 402 were to return configuration information to a non-NOA client, service discovery may not be invoked and the name and address configuration procedure would end at processing block 738.
When a DHCP client sends the host name to DHCP server, it is possible that the name is already in use. At this time, the DHCP server changes the host name to become unique.
In one embodiment, the following process to resolve host name collisions:
In one embodiment of a NOA, the class A private address range specified by:
The section marked “xxx.yyy” is used by the NOA to allow servers to transfer clients smoothly when a new DHCP server takes over from the original NOA server.
The DHCP server allocates client addresses from the following address range. p1 10.xxx.yyy.100˜10.xxx.yyy.200
This address range contains the address of DHCP server itself, implying that the DHCP server can assign a maximum of 100 addresses. A network administrator wishing to allocate some static addresses, but mostly allow NOAs to configure themselves, can use the following range for static assignments.
10.xxx.yyy.0˜10.xxx.yyy.99
10.xxx.yyy.201˜10.xxx.yyy.255
In one embodiment, the network mask of an automatically configured NOA network is 255.0.0.0.
The NOA network architecture provides an automatic service discovery feature. The SNOA server is responsible for providing the service discovery function to a network. The SNOA server assembles a service list describing service names of each NOA device on the network. Using this service list, each NOA can easily associate itself with other NOAs on the network. A typical SNOA server is a combination of a hypertext transfer protocol (HTTP) daemon and a program that issues HTTP queries. In one embodiment, when automatic configuration is desired, the SNOA server is located on the Master server. In another embodiment, when automatic configuration is not desired, or when the SNOA server is situated in an administered environment, the SNOA server can be located on a separate device other than the Master server.
In one embodiment, a SNOA service list is constructed using human-readable text data. Each line of text resembles the form: “service:<servicename>://<FQDN>” where <servicename> represents the type of service a NOA provides, and <FQDN> represents a fully qualified domain name. It is advisable to maintain a naming convention for service names whereas a host name naming convention is not required. In one embodiment, a SNOA server organizes the master service list by requesting each NOA's individual service list using an HTTP query. Both hypertext transfer protocol (HTTP) syntax and service location protocol (SLP) syntax may be utilized to achieve this result. More information on service location protocol (SLP) syntax may be found in RFC 2165, “Service Location Protocol”, June 1997.
An example of a HTTP based service list along with service definitions is found below:
In the above example, a NOA device with service name “doc_capture” may accept documents over a network for archival purposes. A representative fully qualified domain name (FQDN) could be “archive.<domain name>” where “archive” indicates the NOA device is of an archival type, and “<domain name>” refers to the local domain name of the network to which the NOA device is connected. Similarly, a NOA device named printer that accepts print jobs may provide the service entitled “lpr. A corresponding service list entry may appear as: {lpr://printer.<domain name>}
Once the SNOA requests each NOA's individual service list using an HTTP query, the respective NOA's should respond. A representative service list that is returned by an NOA in response to the SNOA's query is shown below:
In one embodiment, when a client NOA initiates service discovery, the client NOA pushes its own service list to the SNOA server using a HTTP POST command within its bootstrap sequence. Depending upon which device provides DNS and DHCP service to the network, one of two handshaking procedures will commence.
In one embodiment where an NOA device provides a DNS and DHCP service to a network, all the NOA devices on that network are aware that the SNOA server alias is SNOA.DOMAIN by default. If no specific DOMAIN is required, “local” will be used in its place. In such a case, NOAs push their service lists using HTTP POST to the uniform resource locator (URL) shown below:
In an alternative embodiment, where an existing non-NOA device or multiple devices provide DNS and DHCP service to a network, it is very likely that the network is administered. In such an instance, the network administrator should manually add a DNS entry for the SNOA server as well as the SNOA server's alias to the DNS. It is preferable that the name of the SNOA server be “SNOA” so that other NOA devices can refer to the SNOA server by concatenating “SNOA” and the “DOMAIN” name given by the DHCP server. In the rare circumstance when the name “SNOA” is already used, any name may be chosen as long as all NOA devices are configured to point to the correct URL.
Once a NOA pushes its service list to a SNOA server, the SNOA server registers the service list and remembers the name of the NOA client. When subsequent changes to NOA service take place, the service list maintained in the SNOA server is updated. More specifically, when a new NOA device is added to the network, it pushes its service list to the SNOA server and the SNOA server then distributes this information to all of the other client NOAs that it remembers. It may accomplish this by pushing the clients to the following exemplary URL:
If a network administrator wishes to separate NOAs into several project or organizational work-groups, the administrator can maintain the work-groups by defining respective URLs for the particular SNOA service desired. For example, if the administrator decides to provide a single server for a certain group of NOAs in order to control the service list, the administrator can configure each NOA within the work-group to point to a single URL:
http://SOME_SERVER.DOMAIN/NOA_Service_List_For_Workgroup—3
Similarly, different work-groups may be configured to point to different URLs on a single server:
http://SERVER1.DOMAIN/NOA_Service_List_For_Workgroup—4
http://SERVER1.DOMAIN/NOA_Service_List_For_Workgroup—5
http://SERVER1.DOMAIN/NOA_Service_List_For_Workgroup—6
In order to take advantage of NOA functions, it is necessary to first enter a user name followed by a password. There are typically two types of user names: the personal name, and the group name. The group name contains a list of members that are allowed access to the group, whereas the personal name may be considered a special case of the group name which has no member. The file format with which user and password information is stored is not important. NOA systems provide an interface for an application program that will regardless of the file format utilized.
In one embodiment, the first line of a user database is a code which specifies the particular file format, or character encoding used for this file. The next line of the user database is a time stamp which represents the time and date on which the user database was last altered. The time stamp may appear in the following format:
After. the time-stamp, the NOA user database contains a list of entries that represent users and groups. User entries contain an ID, a full name, a clear text password, and a list of groups of which the user is a member. In contrast, group entries contain a list of groups of which the user is a member, but do not contain a password or other information contained in a user entry. An exemplary six lines from a user database are listed below:
Passwords are stored in clear text form on NOAs rather than being stored in encrypted form as is the usual practice in similar circumstances. This is done because individual passwords need to be reused under multiple password hashing schemes for some NOAs. Transfers of the user database between NOAs, however, are encrypted. Such an encryption mechanism should ensure that hosts masquerading as NOAs are not granted access without obtaining a security code of some sort. The particular encryption algorithm used is not important, as long as the devices in question use the same protocol to establish encryption keys.
Referring to
Note that other password distribution routines may be used.
Whereas many alterations and modifications of the present invention will no doubt become apparent to a person of ordinary skill in the art after having read the foregoing description, it is to be understood that any particular embodiment shown and described by way of illustration is in no way intended to be considered limiting. Therefore, references to details of various embodiments are not intended to limit the scope of the claims which in themselves recite only those features regarded as essential to the invention.
This is a continuation of application Ser. No. 09/191,277, filed on Nov. 12, 1998, now U.S. Pat. No. 7,039,688 entitled “Method and Apparatus for Automatic Network Cofiguration,” incorporated by reference herein and assigned to the corporate assignee of the present invention.
Number | Name | Date | Kind |
---|---|---|---|
5222234 | Wang et al. | Jun 1993 | A |
5327560 | Hirata et al. | Jul 1994 | A |
5572583 | Wheeler, Jr. et al. | Nov 1996 | A |
5596723 | Romohr | Jan 1997 | A |
5687315 | Tezuka et al. | Nov 1997 | A |
5708810 | Kern et al. | Jan 1998 | A |
5742816 | Barr et al. | Apr 1998 | A |
5749083 | Koda et al. | May 1998 | A |
5793498 | Scholl et al. | Aug 1998 | A |
5796736 | Suzuki | Aug 1998 | A |
5828830 | Rangarian et al. | Oct 1998 | A |
5845304 | Lijima | Dec 1998 | A |
5848410 | Walls et al. | Dec 1998 | A |
5852722 | Hamiltin | Dec 1998 | A |
5861959 | Barak | Jan 1999 | A |
5880855 | Ishikawa | Mar 1999 | A |
5905980 | Masuichi et al. | May 1999 | A |
5907837 | Ferrel et al. | May 1999 | A |
5923845 | Kamiya et al. | Jul 1999 | A |
5946701 | Hamada | Aug 1999 | A |
5980078 | Krivoshein et al. | Nov 1999 | A |
6012088 | Li et al. | Jan 2000 | A |
6012100 | Frailong et al. | Jan 2000 | A |
6021429 | Danknick | Feb 2000 | A |
6029196 | Lenz | Feb 2000 | A |
6052784 | Day | Apr 2000 | A |
6075776 | Tanimoto et al. | Jun 2000 | A |
6167446 | Lister et al. | Dec 2000 | A |
6167449 | Arnold et al. | Dec 2000 | A |
6219715 | Ohno et al. | Apr 2001 | B1 |
6314459 | Freeman | Nov 2001 | B1 |
6446108 | Rosenberg et al. | Sep 2002 | B1 |
6564216 | Waters | May 2003 | B2 |
6618806 | Brown et al. | Sep 2003 | B1 |
7039688 | Matsuda et al. | May 2006 | B2 |
Number | Date | Country |
---|---|---|
0 627 686 | Dec 1994 | EP |
0 843 440 | May 1998 | EP |
Number | Date | Country | |
---|---|---|---|
20060155833 A1 | Jul 2006 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 09191277 | Nov 1998 | US |
Child | 11365330 | US |