The invention is generally related to the area of multimedia technologies in consumer electronics industry. More particularly, the invention is related to techniques for connecting various devices to a network for secure communications with a minimum of human interaction and technical ability.
Consumer electronics devices that operate using wireless or wired Ethernet standards are often subject to the same complicated set-up process as a wireless computer network. Typically, the person who sets up the wireless network must have at least some knowledge about IP (Internet Protocol) networking and Ethernet (e.g., 802.3, 802.11), such as addressing, security, broadcast, unicast, etc. Such a skill requirement is generally acceptable for computer-to-computer networks, which is typically done by an IT professional. However, it is impractical to require average consumers to have such knowledge to hook up consumer electronic devices, such as home entertainment products that use wireless/wired Ethernet connectivity.
For home entertainment products, there is a clear need to create simple methods of setting up and maintaining a secure wireless/wired in-home network with minimum human interventions.
This section is for the purpose of summarizing some aspects of the present invention and to briefly introduce some preferred embodiments. Simplifications or omissions in this section as well as in the abstract or the title of this description may be made to avoid obscuring the purpose of this section, the abstract and the title. Such simplifications or omissions are not intended to limit the scope of the present invention.
In general, the present invention pertains to techniques for automatically configuring necessary parameters of a device to be coupled to a network. According to one aspect of the present invention, an Ad-hoc (wireless or wired) network is established to facilitate communications among a group of devices. When a new device is added to the network, a rudimentary communication path is initially established between one of the devices in the network (“first device”) and the new device (“second device”) such that necessary parameters (e.g., SSID, WEP security, channel frequency) can be exchanged for the second device to function properly in the network. To ensure the parameters are exchanged in a secure fashion, an additional public security procedure can be used between the two devices.
According to another aspect of the present invention, a first device that may be or may not be the device in the network broadcasts a message including probing datagrams in compliance with the standard IP broadcast. The rudimentary communication path may be established after the second device responds to the message from the first device. According to yet another aspect of the present invention, such an automatic configuration process is only started when a user is indeed ready to do so. In general, a mechanism is provided and accessible by the user to activate the process. As such, no incident or unwanted configuration process could be initiated without the approval of the user. In one embodiment, the second device is equipped with two buttons that must be pressed simultaneously to activate the automatic configuration process.
The necessary parameters in the second device are subsequently configured in several exchanges of messages with the first device. At least some of the messages are encrypted. As a result, the second device is automatically configured to operate correctly in the network with a minimum of human intervention and technical ability. In an exemplary application of the present invention for an audio system with a controller and multiple zone players, an Ad-hoc network is formed among the controller and the zone players, where the network may be wired or wireless or a mixture of both. In one case, either a handheld controller or a zone player (referred to as an access device) is coupled to an access point of a LAN. An Ad-hoc network can be thus formed based on the access device. The remaining (unconfigured) zone players may be coupled to the network whenever desired, all with minimum human intervention. As a result, any one of the zone players may communicate with each other to share or distribute audio sources available on the Internet and reproduce sounds together or separately.
The present invention may be implemented in many forms including software, hardware or a combination of both as method, process, or system. According to one embodiment of the present invention, the present invention is a method for providing a first device and a second device for the network, activating the second device intentionally to automatically configure necessary parameters with the first device, establishing automatically a rudimentary communication path between the first device and the second device by scanning all available transmission channels allocated in accordance with a protocol; and exchanging messages between the first device and the second device over the rudimentary communication path till the second device is fully operating with the first device.
According to another embodiment of the present invention, the present invention is a system for establishing a network for a group of devices, the system comprises at least one of the devices provided to remotely control operations of one or more of the other devices, one of the devices (hereinafter “first device”) configured to establish automatically respective rudimentary communication paths for probing communication, each of the rudimentary communication paths being with one of the other devices, wherein an automatic configuration process takes place only in one of the other devices after the user authorizes the one of the other devices to start the automatic configuration process, and wherein the automatic configuration process causes several messages to be exchanged between the first device and one of the other devices, some of the messages carry information pertaining to an appropriate transmission channel, an identifier of the network and a security key for subsequent communication, the some of the messages are encrypted.
According to yet another embodiment of the present invention, the present invention is a system for establishing a network for a group of devices, the system comprises a plurality of zone players, each equipped with a mechanism that is once manually activated by a user, an automatic configuration process starts, wherein one of the zone players is coupled to a local area network as an access device; and at least a controller provided to remotely control operations of one or more of the zone players, wherein the access device establishes automatically respective rudimentary communication paths, each with the controller or one of the remaining zone players, the automatic configuration process takes places in the controller and each of the remaining zone players after the user manually activates the automatic configuration process respectively in the controller and each of the remaining zone players, and wherein the automatic configuration process causes several messages to be exchanged between the access device and any one of the controller and the remaining zone players that have been activated for the automatic configuration process, some of the messages carry information pertaining to a transmission channel, an identifier of the network and a security key for subsequent communication, at least some of the messages are encrypted.
According to still another embodiment of the present invention, the present invention is a software product to be executable in a device for establishing a network for a group of devices, the software product comprises program code for activating a second device, when requested, to automatically configure necessary parameters with a first device, program code for establishing automatically a rudimentary communication path with the first device by scanning all available transmission channels allocated in accordance with a protocol, and program code for exchanging messages between the first device and the second device over the rudimentary communication path till the second device is fully operating with the first device.
According to still another embodiment of the present invention, the present invention is a method for establishing a network for a group of devices, the method comprises providing a plurality of zone players, each equipped with a mechanism that once is manually activated by a user, an automatic configuration process starts, wherein at least a controller is provided to remotely control operations of one or more of the zone players; coupling one of the zone players to a local area network as an access device; establishing automatically respective rudimentary communication paths with the access device, each of paths being with the controller or one of the remaining zone players, wherein the automatic configuration process takes place in the controller and each of the remaining zone players after the user manually activates the automatic configuration process respectively in the controller and each of the remaining zone players, and exchanging several messages between the access device and any one of the controller and the remaining zone players that have been activated for the automatic configuration process, wherein some of the messages carry information pertaining to a transmission channel, an identifier of the network and a security key for subsequent communication, and at least some of the messages are encrypted.
One of the objects, features, and advantages of the present invention is to provide techniques that facilitate automatic configuration of devices to be coupled to a network with minimum human intervention.
Other objects, features, and advantages of the present invention will become apparent upon examining the following detailed description of an embodiment thereof, taken in conjunction with the attached drawings.
These and other features, aspects, and advantages of the present invention will become better understood with regard to the following description, appended claims, and accompanying drawings where:
The present invention pertains to techniques for automatically configuring necessary parameters of a device to be coupled to a network with minimum human intervention. According to one aspect of the present invention, a wired and/or wireless Ad-hoc network is established to facilitate communications among a group of devices. According to one aspect of the present invention, when a new device is added to the network, a rudimentary communication path is initially established between one of the devices (“first device”) in the network and the new device (“second device”) such that necessary parameters (e.g., SSID, WEP security, channel frequency) can be exchanged for the new device to function properly in the network. To ensure the parameters are exchanged in a secure fashion, an additional public security procedure can be used between the two devices.
The detailed description of the present invention is presented largely in terms of procedures, steps, logic blocks, processing, or other symbolic representations that directly or indirectly resemble the operations of devices or systems that can be used on networks. These descriptions and representations are typically use by those skilled in the art to most effectively convey the substance of their work to others skilled in the art.
Reference herein to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase “in one embodiment” in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Further, the order of blocks in process flowcharts or diagrams or the use of sequence numbers representing one or more embodiments of the invention do not inherently indicate any particular order nor imply any limitations in the invention.
Embodiments of the invention are discussed herein with reference to an audio system with multi-zone capability. However, those skilled in the art will readily appreciate that the detailed description given herein with respect to the audio system is for explanatory purposes as the invention extends beyond these limited embodiments.
Referring now to the drawings, in which like numerals refer to like parts throughout the several views.
As used herein, unless explicitly stated otherwise, a track and an audio source are used interchangeably, an audio source or audio sources are in digital format and can be transported or streamed across a data network. To facilitate the understanding of the present invention, it is assumed that the configuration 100 represents a home. Thus, the zone player 102 and 104 may be located in two of the bedrooms respectively while the zone player 106 may be installed in a living room. All of the zone players 102, 104 and 106 are coupled directly or indirectly to a data network 108. In addition, a computing device 110 is shown to be coupled on the network 108. In reality, any other devices such as a home gateway device, a storage device, or an MP3 player may be coupled to the network 108 as well.
The network 108 may be a wired network, a wireless network or a combination of both. In one example, all devices including the zone players 102, 104 and 106 are coupled to the network 108 by wireless means based on an industry standard such as IEEE 802.11. In yet another example, all devices including the zone players 102, 104 and 106 are part of a local area network that communicates with a wide area network (e.g., the Internet).
All devices on the network 108 may be configured to download and store audio sources or receive streaming audio sources. For example, the computing device 110 can download audio sources from the Internet and store the downloaded sources locally for sharing with other devices on the Internet or the network 108. The zone player 106 can be configured to receive streaming audio source and share the source with other devices. Shown as a stereo system, the device 112 is configured to receive an analog source (e.g., from broadcasting) or retrieve a digital source (e.g., from a compact disk). The analog sources can be converted to digital sources. In accordance with the present invention, all audio sources, regardless of where they are located or how they are received, may be shared among the devices on the network 108.
Any device on the network 108 may be configured to control operations of the zone players 102, 104 and 106. In particular, one or more controlling devices 140 and 142 are used to control zone players 102, 104 and 106 as shown in
Referring now to
The network interface 202 may include either one or both of a wireless interface 216 and a wired interface 217. The wireless interface 216, also referred to as a RF interface, provides network interface functions by a wireless means for the zone player 200 to communicate with other devices in accordance with a communication protocol (such as the wireless standard IEEE 802.11a, 802.11b or 802.119). The wired interface 217 provides network interface functions by a wired means (e.g., an Ethernet cable). Depending on implementation, each of the zone players may be equipped with either one or both of the interfaces 216 or 217. In one embodiment, a zone player, referred to as an access zone player, including both of the interfaces 216 and 217 is coupled to an access point of an LAN and communicates with other zone players wirelessly. Thus these other zone players may communicate with other devices on a network or retrieve audio sources via the access zone player. The processor 204 is configured to control the operation of other parts in the zone player 200. The memory 206 may be loaded with one or more software modules that can be executed by the processor 204 to achieve desired tasks.
The audio processing circuit 210 resembles most of the circuitry in an audio playback device and includes one or more digital-to-analog converters (DAC), an audio preprocessing part, an audio enhancement part or a digital signal processor and others. In operation, when an audio source (e.g., audio source) is retrieved via the network interface 202, the audio source is processed in the audio processing circuit 210 to produce analog audio signals. The processed analog audio signals are then provided to the audio amplifier 214 for playback on speakers. In addition, the audio processing circuit 210 may include necessary circuitry to process analog signals as inputs to produce digital signals for sharing with other devices on a network.
Depending on an exact implementation, the digital signal processing module 212 may be implemented within the audio processing circuit 210 or as a combination of hardware and software. The audio amplifier 214 is typically an analog circuit that powers the provided analog audio signals to drive one or more speakers.
Referring now to
The user interface for the controller 240 includes a screen 242 (e.g., a LCD screen) and a set of functional buttons as follows: a “zones” button 244, a “back” button 246, a “music” button 248, a scroll wheel 250, “ok” button 252, a set of transport control buttons 254, a mute button 262, a volume up/down button 264, a set of soft buttons 266 corresponding to the labels 268 displayed on the screen 242.
The screen 242 displays various screen menus in response to a selection by a user. In one embodiment, the “zones” button 244 activates a zone management screen or “Zone Menu” to allow a user to group players in a number of desired zones so that the players are synchronized to play an identical playlist or tracks. The “back” button 246 may lead to different actions depending on the current screen. In one embodiment, the “back” button triggers the current screen display to go back to a previous one. In another embodiment, the “back” button negates the user's erroneous selection. The “music” button 248 activates a music menu, which allows the selection of an audio source (e.g., a song track) to be added to a playlist (e.g., a music queue) for playback.
The scroll wheel 250 is used for selecting an item within a list, whenever a list is presented on the screen 242. When the items in the list are too many to be accommodated in one screen display, a scroll indicator such as a scroll bar or a scroll arrow is displayed beside the list. When the scroll indicator is displayed, a user may rotate the scroll wheel 250 to either choose a displayed item or display a hidden item in the list. The “ok” button 252 is use to confirm the user selection on the screen 242 or activate a playback of an item.
There are three transport buttons 254, which are used to control the effect of the currently playing track. For example, the functions of the transport buttons may include play/pause and forward/rewind a track, move forward to the next track, or move backward to the previous track. According to one embodiment, pressing one of the volume control buttons such as the mute button 262 or the volume up/down button 264 activates a volume panel. In addition, there are three soft buttons 266 that can be activated in accordance with the labels 268 on the screen 242. It can be understood that, in a multi-zone system, there may be multiple audio sources being played respectively in more than one zone players. The music transport functions described herein shall apply selectively to one of the sources when a corresponding zone player is selected.
The controller 270 includes a network interface 280 referred to as a RF interface 280 that facilitates wireless communication with a zone player via a corresponding wireless interface or RF interface thereof. The controller 270 may control one or more zone players, such as 102, 104 and 106 of
It should be pointed out that the controller 240 in
It is assumed that a user has obtained an audio system that includes a set of zone players and a controller. Although it is possible to connect each of the zone players and the controller to a network, the requirement for extra network cards, cables and a hub/switch/router makes the idea unattractive. The introduction of wireless networking has allowed for an implementation without these requirements.
By the Ad-Hoc network 310, the devices 302, 304, 306 and 308 may share or exchange one or more audio sources and be grouped to play identical or different audio sources. For example, the devices 302 and 304 are grouped to play back one piece of music, and at the same time, the device 306 plays back another piece of music. In other words, the devices 302, 304, 306 and 308 as shown in
In one embodiment, an HHID is a short string or an identifier that is computer-generated to ensure that it is unique. Accordingly, the network 310 may be characterized by a unique HHID and a unique set of configuration variables or parameters, such as Channels (i.e., respective frequency bands), SSID (a sequence of alphanumeric characters as a name of a wireless network), and WEP keys (wired equivalent privacy, or simply security keys). In one embodiment, SSID is simply set to be the same as HHID. One of the aspects of the present invention is to provide a bootstrap procedure that enables automatic and simple establishment of these configuration parameters in each device within a HOUSEHOLD to enable communications among the devices.
In general, each HOUSEHOLD includes two types of network nodes:
The configuration of a HOUSEHOLD involves multiple CP's and ZP's that rendezvous and establish a known configuration such that they can use standard networking protocol (e.g., IP over Wired or Wireless Ethernet) for communication. In one embodiment, there are two types of networks/protocols: Ethernet—802.3 and Wireless—802.11g. Interconnections between a CP and a ZP may use either one of the networks/protocols. A device in the system as a member of a HOUSEHOLD may connect to both networks simultaneously. In an environment that has both networks in use, it is assumed that at least one device in a system is connected to both as a bridging device, thus providing bridging services between wired/wireless networks for others. The zone player 306 in
Establishing a rudimentary communication path. In reference to
Channel Selection. The selection of an appropriate (RF) transmission channel or simply channel is primarily an exercise in two constraints: finding a channel that is quiet from a protocol (e.g., 802.11) viewpoint, i.e., minimal conflicting wireless traffic, and finding a channel that is quiet from an RF viewpoint, i.e., minimal noise from other signals. Both of these tests may be applied because typically a home environment may have other RF (e.g., 2.4 GHz) traffic or potentially other wireless access points. It is generally desirable to use a channel that is free from other RF interference. In any case, it is always desirable to avoid other wireless traffic.
Channel selection is typically accomplished with a scanning technique, namely the device listens on each channel for a period of time, looking for the presence of wireless beacons and other RF signals. In one embodiment, devices that are configured have a preferred channel for the HOUSEHOLD, devices that are not configured have a pre-defined (default) channel or channels that they rendezvous on. For example, 802.11b/g channel 1 could be pre-configured as the default channel. Alternatively, multiple channels, with a well-known frequency hopping sequence, could be used by the devices (this would require an aperiodic frequency change interval).
Many hardware configurations only support reception/transmission on a single channel at a given time. Also there are configured and unconfigured devices that may use different channels for the bootstrap configuration and standard network operations (post-configuration communications). According to one embodiment, it is necessary to forcibly put the devices in a “configuration” mode, whereby they use the appropriate channels for communication.
Packet Exchange. To enable communication between devices that are not part of the same HOUSEHOLD, a packet exchange network infrastructure is developed. Probing messages are sent in such a way that they traverse both the Ethernet and wireless networks, reaching any connected devices. Devices that are already in a HOUSEHOLD constitute a network infrastructure that can be used to exchange unicast and multicast/broadcast network frames between the devices. A device that is not yet in the HOUSEHOLD has a much more limited networking capability and can only receive data from devices to which it is directly wired, and unencrypted messages broadcast to all wireless networks operating in a particular channel of the RF spectrum.
In general, an IP address of a new device is not known to any members of the HOUSEHOLD. If the device is purely wireless, it may not have an IP address at all, or it may have an automatically assigned IP address that is inaccessible to other devices with IP addresses respectively assigned by a DHCP server. To allow devices that are not members of the HOUSEHOLD to join the HOUSEHOLD, a transport may be constructed that can get data one “hop” beyond the HOUSEHOLD network infrastructure.
In one embodiment, packets of data are broadcasted among the members of the HOUSEHOLD. The packets of data comprise a mixture of “probe” datagrams and standard IP broadcast. For example, the 802.11 “probe” datagrams are used for the inherent ability to cross wireless network boundaries. In other words, the “probe” datagrams can be received by all listeners (i.e., other devices) on the channel, even those that are not configured with an SSID, because they are sent to the broadcast BSS (e.g., FF:FF:FF:FF:FF:FF) to which all devices may be configured to listen. A standard IP broadcast is used on the wired network segments and the HOUSEHOLD network infrastructure to enable a PC-based controller to participate while running with standard user privileges (which allow access only to IP-based network services). Used together as described below, the combination of the “probe” datagrams and IP broadcast provides for a broadcast datagram transport that allows even devices that have not had any networking parameters configured to communicate.
In general, the probe datagrams comprise a number of elements to facilitate the configuration of other devices to join the HOUSEHOLD. In one embodiment, each of the elements carries up to 255 bytes of data. An element contains data payload for each message used by the bootstrap procedure to invite others to join the HOUSEHOLD. This element is repeated as many times as necessary to carry the complete message. In one embodiment, the IP broadcast datagrams contain the same data payload as the normal IP data payload.
Messages relating to the bootstrap procedure may be forwarded beyond the boundaries of an existing HOUSEHOLD network infrastructure (including properly configured wireless devices, and the wired network). Similarly, messages originating outside of the HOUSEHOLD network infrastructure may be forwarded into the infrastructure. This forwarding procedure may be accomplished in a mixed wireless/wired network environment without introducing a broadcast storm. A broadcast storm is a state in which a message that has been broadcast across a network results in more responses than necessary, and each response results in even more responses in a snowball effect, subsequently resulting in a network meltdown. In one embodiment, the network is carefully configured to prevent such a broadcast storm or any illegal broadcast messages. To accomplish this, two flags are included in the message body, for example, “SENT_AS_PROBE” and “SENT_AS_IP_BROADCAST”. When a device receives a “probe” message, assumed using “Sonos Netstart” SSID (or the broadcast BSS, as with all probe requests), it forwards the message as an IP broadcast message (after setting the “SENT_AS_IP_BROADCAST” flag) if the SENT_AS_IP_BROADCAST flag is not already set. Similarly, when it receives an IP broadcast with a UDP payload address to an appropriate port (e.g., port number 6969), it forwards the message as a “probe” datagram (after setting the “SENT_AS_PROBE” flag) if that flag is not already set. This allows messages related to the packet exchange both to enter and to exit the HOUSEHOLD network infrastructure without causing a broadcast storm.
Using this method of broadcast communication, packets can be sent between any member of the HOUSEHOLD and a device to join the HOUSEHOLD on both Ethernet and wireless networks. The device to join the HOUSEHOLD may be brand new and previously configured with a different network (e.g., a device with a stale configuration in a different household). In addition, if used sparingly, these broadcast messages do not interfere with the normal operation of the network or attached devices. As a result, a communication path on an agreed channel has been established between two devices.
Device Discovery. To minimize impact on existing networks and to improve configuration security, the system requires a user to manually activate the auto-configuration process. This is accomplished by a specific action on each device that is being added to the network. For example, if the user is installing a brand new HOUSEHOLD, containing one CP and two ZP's, the activation process may be manually activated on each by, for example, powering off and on, pushing a reset button or pushing two or more specific buttons simultaneously. In one embodiment, the CP or ZP is simply powered up by the user, which activates the pre-installed module to start the bootstrap procedure.
For a ZP:
There are situations in which a ZP is orphaned, namely it is previously configured (e.g., perhaps, with another Ad-hoc network) and now is to be added to the HOUSEHOLD (e.g., the ZP is obtained from a previous owner). In the case of an orphan scenario, the ZP may patiently attempt to contact its original network. It can be perceived that this operation will be unsuccessful but otherwise harmless. Even in this configured state, the device can participate in the rudimentary broadcast communication processes described above.
For the CP:
The CP may also be an orphaned device, in which case it performs similarly to that of the ZP.
In both cases, correctly configured devices will establish network communications and make themselves available for normal operation. All devices, including those previously configured, will enter an “activation state” when the user indicates that this is desired. At this point, the configuration process can begin.
Device Configuration. The configuration is carried out by exchanging data between two devices that are not necessarily directly connected. This procedure is carried over a rudimentary communication path as described previously. The sequence of exchanging the data is initiated by the user or some other process, for example, activating a reset button, to trigger the “activation” or configuration mode on the involved devices. Each device executes this sequence, and then exits the activation mode.
Each of the data exchanges is referred to as a type of message: Alive, QueryNetParams, RespondNetParams, SetNetParams, and AckNetParams, each is explained as follows:
Alive—a message indicating that a named ZP is available for configuration. The message includes at least a zpUU/O which is a globally unique identifier that identifies the ZP sending the message.
QueryNetParams—a request from the CP to the ZP to respond with the ZP's current network configuration information. The request includes at least a zpUUID, cpPK (the RSA public key of the CP) and tid (a unique transaction identifier).
RespondNetParams—a response to the QueryNetParams. It includes the ZP's network configuration information (HHID, WEP key and RSA public key). For security reasons, the WEP key is encrypted using the CP's public key that is only readable by the CP. The response includes at least a zpUUID, netConfig(the ZP's current network configuration parameters), zpPK, and tid. It is should be noted that a new ZP, set to factory defaults, shall have well-known parameter values, allowing the CP to determine that it is unconfigured.
SetNetParams—a command message from the CP to the ZP indicating that the ZP should reconfigure its network parameters. The WEP key is encrypted using the ZP's public key, and therefore only readable by the ZP. The command includes at least a zpUU/O, netConfig and tid. It should be noted that netConfig includes the new configuration parameters for the ZP, as determined by the CP. The ZP should save this value in its network configuration, in some cases, these parameters may match the ZP's existing configuration.
AckNetParams—a response to the SetNetParams messaging. The response indicates that the SetNetParams message was received and that the network configuration contained therein has been successfully applied. The response includes at least a zpUUID and a tid.
In operation, after a user activates the configuration process (on both ZP and CP) at 351 in
At 352, the CP receives an Alive message. If the CP is in the configuration mode, it will generate a new tid, and send a QueryNetParams message and send to the ZP. It should be noted that the CP may or may not have been configured at this point. In either case, it sends the QueryNetParams. At 353, if it is already in the activation state, the ZP responds to a QueryNetParams with its current network configuration. If the ZP is unconfigured (e.g., factory default settings), it will return an empty HHID and WEP key. If the ZP is previously configured, it will return its current configuration. The ZP also returns its public key such that the WEP key can be encrypted using the CP's public key.
At 354, upon receiving the ZP's current configuration information, the CP decides on a course of action. Most, but not all, of these options result in a SetNetParams message being sent to the ZP. The matrix of possible situations:
At 355, when the ZP receives a SetNetParams message, it reconfigures its own HHID and WEP key to match those contained in the network packet.
Accordingly, the GP determines that it generates new configuration parameters in accordance with the following:
Subsequent to the activation process, any devices that have been reconfigured will attempt to establish normal network communications using their new network configuration parameters. In all of the above steps, if the CP or ZP is not already in the activation state, receipt of any messages is ignored.
If there are multiple ZP's activated simultaneously, all of the devices could execute this same sequence, independently of each other (the CP is capable of multiple independent sessions). If multiple CP's are activated, each will respond to a ZP's Alive message and will execute the sequence—the first one to deliver the SetNetParams to the ZP will configure it. It should be noted that in this case, the second CP will never get an AckNetParams message (because the ZP has exited the activate state). This will cause a transaction timeout in the second CP, at which point it will typically inform the user of the error, or retry the entire sequence. Should it retry the entire sequence, it will not reprogram the ZP (as described above that the effect of an unconfigured CP talking to a configured ZP).
Security. To ensure that the communication among the members in a HOUSEHOLD by wireless means is secure, there are multiple issues in the auto-configuration that are resolved in the present invention.
Use of Public Key Cryptography. The configuration process uses public key cryptography to exchange WEP keys and other information which must not be visible to any party sniffing the network. In one embodiment, this is accomplished in the following manner:
Typically, a handheld controller (or HH) is equipped with a mechanism to allow a user to reset itself. In some implementation, the reset is simply done when the controller is powered up. At 402, it is assumed that the controller is powered up. The process 400 goes to 404 to determine whether the controller is configured. By configuration, it means that the controller is ready for communication with other devices (e.g., zone players) that may or may not be on a network, preferably a wireless network. In the context of
It is assumed that the controller is configured, the process 400 goes to 406 where it determines whether the device is a controller or a computer. As described above, the device may be a controller, a personal computer or other type of device, although it has been assumed to be a controller. Nevertheless, in this embodiment, a step is provided to determine exactly what it is, because a controller and a computer may provide a different display or graphic environment. If the device is indeed a controller, the process 400 goes to 408, wherein the controller shows a proper screen for a user to proceed with the control of the zone players or replay of certain audios via one or more zone players. If the device is a computer, the computer is typically loaded with a module that is now executed to display an environment (e.g., a graphic user interface or GUI) that allows a user to perform many tasks that may be done on the handheld controller in addition to other tasks that may be assisted by a pointing device (e.g., a mouse) or a keyboard.
In any case, it is assumed that the device is a controller. Referring back to 404, it is now assumed that the device is not configured, the process 400 goes to 412 to determine if a user has activated the automatic configuration process. In one embodiment, the controller goes to “sleep” mode after a predefined time should there be no activation of the configuration process. When the user activates the configuration process, the process 400 goes 414 to determine whether the controller itself is coupled to an access point of a network, at least a member of the HOUSEHOLD (e.g., one zone player) is coupled thereto or an Ad-Hoc network. Typically, a GUI is provided for a handheld or a computer. Accordingly, a display with a relevant message is displayed. After it is certain that either the controller itself or a zone player is coupled to a network, a user may press “OK” in the displayed GUI.
At 418, should the user desire to start the automatic configuration process now, the user activates the process manually. In one embodiment, there are two buttons, labeled respectively as “VOL” and “Mute”. When these two buttons are pressed at the same time, the automatic configuration process starts. The process 400 goes to 420 to determine whether a valid response is received from a zone player. If not, after a certain time 422, the process 400 goes back to 418 to reactivate the process or 414 via 424 to remind the user to ensure that the required connection is placed.
In one embodiment, a handheld controller is configured to facilitate a new zone player to execute a household join process to join the HOUSEHOLD upon an appropriate channel. The channel may be agreed upon between the controller and the zone player as follows:
Although the Zone Player performs the channel cycling, the controller may also be configured to perform the channel cycling as well. However, when the controller is, for example, a personal computer, the Zone Player is typically configured to cycle through the available channels.
In any case, when a valid response is received from the zone player, the process 400 determines whether the zone player provides its own network name (e.g., HHID) at 426. If the zone player does not have an HHID, which means that the zone player is to be added into a wireless network named after an HHID provided by the device, the process 400 goes to 428 to instruct the zone player to join the wireless network. If the zone player does have an HHID, which means that the device itself is to be added into the wireless network named after the HHID provided by the zone player, the process 400 goes to 430 to exit.
The automatic configuration process, as described above, is executed. After it is completed, a message or an indication of completion is displayed. After the user acknowledges at 434, the user is offered to name the zone player, for example, “Dinning” which means that the zone player is in the dinning room. Subsequently, the process 400 goes to 406.
For completeness,
When a zone player is powered up, the process 450 determines whether the zone player is already registered or configured at 452. There are situations in which the zone player just obtained by a user is already configured, for example, the zone player is a used one (i.e., previously configured). If it is indeed configured, the process 450 goes to 454 where an indication of “registered” is shown. If the zone player is never configured, the process 450 goes to 456 to indicate such. It is assumed that the zone player works normally at 458 (e.g., through an internal checkup).
At 460, a user activates the automatic configuration process by, for example, pressing two buttons, labeled respectively as “VOL” and “Mute”, at the same time. The automatic configuration process starts by sending out an Alive message at 462 as described above. At 464, the zone player awaits a response. If no response is received within or beyond a predefined time, the process 450 goes to 466 or 458 to continue waiting for a response or restart the process. It is assumed that there is a response, and the automatic configuration process continues as shown in
There are numerous functions, benefits and advantages in the present invention. One of them is that the present invention provides techniques for automatically configuring parameters of a device to be coupled to an Ad-hoc network, where the Ad-hoc network forming by a group of devices can be wireless, wired or a combination of both. By way of the present invention, a system including a set of zone players and one or more controllers operates correctly and does not interfere with any existing network. Other functions, benefits and advantages can be appreciated from the detailed description provided above.
The present invention has been described in sufficient details with a certain degree of particularity. It is understood to those skilled in the art that the present disclosure of embodiments has been made by way of examples only and that numerous changes in the arrangement and combination of parts may be resorted without departing from the spirit and scope of the invention as claimed. Accordingly, the scope of the present invention is defined by the appended claims rather than the foregoing description of embodiments.
This application is a continuation of U.S. application Ser. No. 17/162,824, filed on Jan. 29, 2021, which is a continuation of U.S. application Ser. No. 15/091,113, filed on Apr. 5, 2016 and issued on Apr. 13, 2021 as U.S. Pat. No. 10,979,310, which is a continuation of U.S. application Ser. No. 14/486,667, filed on Sep. 15, 2014 and issued on Jan. 9, 2018, as U.S. Pat. No. 9,866,447, which is a continuation of U.S. application Ser. No. 13/618,829, filed on Sep. 14, 2012 and issued Oct. 21, 2014, as U.S. Pat. No. 8,868,698, which is a continuation of U.S. application Ser. No. 11/147,116 filed on Jun. 6, 2005 and issued Dec. 4, 2012, as U.S. Pat. No. 8,326,951, which claims priority to provisional application 60/577,284 filed Jun. 5, 2004, which is now expired. Each of the applications listed above is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
60577284 | Jun 2004 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 17162824 | Jan 2021 | US |
Child | 17888313 | US | |
Parent | 15091113 | Apr 2016 | US |
Child | 17162824 | US | |
Parent | 14486667 | Sep 2014 | US |
Child | 15091113 | US | |
Parent | 13618829 | Sep 2012 | US |
Child | 14486667 | US | |
Parent | 11147116 | Jun 2005 | US |
Child | 13618829 | US |