|Publication number||USRE40985 E1|
|Application number||US 11/981,507|
|Publication date||Nov 17, 2009|
|Filing date||Oct 31, 2007|
|Priority date||May 23, 2001|
|Also published as||US6961560, US20020176391|
|Publication number||11981507, 981507, US RE40985 E1, US RE40985E1, US-E1-RE40985, USRE40985 E1, USRE40985E1|
|Inventors||Reto Hermann, Dirk Husemann, Michael Moser, Michael Elton Nidd|
|Original Assignee||Wistron Corporation|
|Export Citation||BiBTeX, EndNote, RefMan|
|Patent Citations (12), Referenced by (3), Classifications (9), Legal Events (1)|
|External Links: USPTO, USPTO Assignment, Espacenet|
This invention is directed to wireless local area networks and the communication between the devices forming such a network. More specifically, the present invention relates to a communication scheme which allows devices within the wireless local area network to announce their service and/or discover services provided by other devices.
Computer terminals and peripherals have become dramatically smaller and more portable. Personal computers and peripherals are small enough to sit on the desk at work. Smaller still are lap top computers and notebook computers. There are computer terminals which are small enough to be mounted in a vehicle such as a delivery truck. Still smaller are the hand held terminals typically used for their portability features where the user can carry the terminal in one hand and operate it with the other. A physical connection of the above devices by means of cables or fibers might have drawbacks, such as configuration constraints because of the limited length of the cable, limited number of ports on the computer thus limiting the number of peripherals that can be attached, cumbersome reconfiguration of hardwired devices, etc. Note that there are some cable or fiber based communication systems where the limited number of ports on the computer does not really limit the number of peripherals Ethernet is one example of a communication system where the cable is used as a shared medium (other examples are token ring, FDDI (Fiber Distributed Data Interface), and DQDB (Distributed Queue Dual Bus)).
The smaller the devices get, the more important it becomes to replace fixed physical connections by wireless ad-hoc connections (e.g. body networks, radio frequency connections, or infrared connections), since physically connecting the computer terminals, peripherals, and other devices by means of cables or fibers severely reduces the efficiency gained by making the units smaller. Ad-hoc connections are required where devices move around, enter an area and exit the area. The term ad-hoc refers to the need for frequency network reorganization.
Local area communications are rapidly evolving into what can be called personal local area networks, which are networks for communication between local peers or sub-systems. These kind of networks will herein be referred to as local networks. Wireless communication is of particular importance in such local networks. There are different wireless communications approaches known that have been developed and designed with an eye on the communication between peers or subsystems of such local networks.
EP 1 022 876 A1 discloses an apparatus for exchanging service information with other devices. The presented apparatus comprises a transceiver, a processing unit, a memory for storing information about its local services and/or services provided by other devices, and a protocol resource manager. In an initial step the protocol resource manager triggers the transceiver to send service information, comprising information about itself and/or other known devices to other devices. Then it chooses a time-out value TA and ensures that the apparatus listens for up to a maximum time TA for service information received by said transceiver. If TA timed out without having received such service information by said transceiver, the resource manager triggers said transceiver to start with the initial step. If such service information was received by said transceiver prior to TA timing out, the resource manager checks whether said service information received comprises current and accurate information about itself. If yes, it chooses another time-out value TA and continues with the step of ensuring that the apparatus listens for up to a maximum time TA. If no, then the same behavior is observed, excepting that TA is chosen from an earlier time range than normal.
Furthermore, a scheme for advertising service offerings in a communications system is presented. The scheme comprising two devices, wherein a first of said two devices in an initial step sends service information, comprising current and accurate information about itself and/or other known devices. In a next step it choose a time-out value TA. Then it listens for up to maximum time TA for service information sent by another device. Subsequently, if TA has timed out it continues with the initial step, otherwise it checks whether or not service information sent by another device comprises information about itself (local services). If yes, then it continues with the step of choosing a time-out value. If no, then the same behavior is observed, excepting that TA is chosen from an earlier time range than normal.
An aspect of the present invention is to provide an efficient method and device for service discovery in wireless networks. In an example embodiment, this aspect is achieved by a method and a device which provides for advertising service offerings in a communication system comprising at least one device. A first device broadcasts a message of a first type, chooses a value TA for a time limit and listens and waits for a message sent by a second device.
According to a particular embodiment of the present invention the message of the first type comprises a digest of the service description of the first device and/or a digest of the service description of other devices, the service description of which are stored in the first device. Furthermore, the message of the second type comprises the service description of the first device and/or the service description of other devices, the service description of which are stored in the first device.
According to another embodiment of the present invention, the first device maintains a counter for each service description and the counter is incremented for a service description whenever the service description is broadcast with a message. In addition, the counter values may be analyzed for deriving a value indicating the distance between the first device and any of the other known devices.
A further embodiment of a method and device according to the present invention employs a push-model to distribute service descriptions to an environment of nodes that can communicate with each other through some wireless communication technology. Thus, instead of asking for a particular service and then waiting for an answer, the information gets pushed into the environment.
Advantageously, the present invention limits or avoids useless broadcast of a complete service list, since the complete service list is not broadcast every time, even if no other node might be around and thus able to receive the broadcast. Furthermore, a redundant broadcast of the complete service list is advantageously omitted also in the case when a service is about to expire, i.e., its time-to-live will reach zero within the next few seconds. Other aspects, features and advantages of the present invention, will be apparent in the following detailed written description.
The invention aspects and advantages are best understood by reference to the following detailed description of an illustrative embodiment when read in conjunction with the accompanying drawings, wherein:
The present invention provides efficient methods, apparatus and systems for service discovery in wireless networks. In an example embodiment, this is achieved by a method and a device which provides for advertising service offerings in a communication system comprising at least one device. A first device broadcasts a message of a first type, chooses a value TA for a time limit and listens and waits for a message sent by a second device. If no message has been received before elapse of the chosen time limit, the method and the system continues with again broadcasting a message of a first type. Otherwise, the message received from the second device is analyzed and if the message includes valid information about the first device, the method and device continues with choosing a value TA for a time limit. However, if the message received from the second device does not include valid service description about the first device, a message of a second type is broadcast.
According to a particular embodiment of the present invention the message of the first type comprises a digest of the service description of the first device and/or a digest of the service description of other devices, the service description of which are stored in the first device. Furthermore, the message of the second type comprises the service description of the first device and/or the service description of other devices, the service description of which are stored in the first device. In some cases, only a digest of the service description is sent for all devices for which the information received from the second device is valid, whereby the information received by the second device is formed by either the service description or a digest of it.
According to another embodiment of the present invention, the first device maintains a counter for each service description and the counter is incremented for a service descriptions whenever the service description is broadcast with a message. In addition, the counter values may be analyzed for deriving a value indicating the distance between the first device and any of the other known devices. This is sometimes accomplished by filtering out devices having a counter value higher than a predetermined threshold and considering them as to be too far away. Furthermore, a service is sometimes marked as being too far away in response to a message indicating that such service is too far away, whereby the message originates from a service considered not too far away.
An embodiment of a method and device according to the present invention employs a push-model to distribute service description to an environment of nodes that can communicate with each other through some wireless communication technology. Thus, instead of asking for a particular service and then waiting for an answer, the information gets pushed into the environment. By having other nodes formed by the different devices repeat what they have received the information of available services gets distributed.
Advantageously, the present invention avoids useless broadcast of a complete service list, since the complete service list is not broadcast every time, even if no other node might be around and thus able to receive the broadcast. Furthermore, a redundant broadcast of the complete service list is advantageously omitted also in the case when a service is about to expire, i.e., its time-to-live will reach zero within the next few seconds.
Other art methods and devices tend to choose fairly large service expiry times to conserve power on battery-driven devices to delay the energy ‘expensive’ broadcast of the entire service list as long as possible. However, the present invention advantageously overcomes such drawback by broadcasting only a minimum amount of data. Hence, according to the present invention the broadcast may be initiated more often and, consequently, the service discovery for new devices coming into proximity will take less time.
The concept of the present invention reduce or prevent propagation of services of nodes that are announced via second or third hand but that are in fact not reachable. Another advantage is that in a method or device in accordance with the present invention it is possible to derive an indication of service invocation failure, i.e., a failure to invoke an advertised service. Other aspects, features and advantages of the present invention, will be apparent in the following detailed written description.
The method and device of the present invention operate in an environment as subsequently described. There are at least two nodes, also referred to as devices, whereby the nodes are formed by some communication unit that is meant to establish a wireless communication connection to another communication unit. Each node maintains a list of service descriptions and participates in advertising its services via a broadcast mechanism. Such a wireless communication may be established in any communication system, such as a local network.
For the purpose of the present description, a local network is defined as being a network composed of at least two devices within mutual communication range of each other. Within such a local network the devices communicate with each other without the need for a wired network. The local network might be established by means of infrared (IR), radio-frequency (RF) or other means, such as the user's body. A local network does not need to have an access point for connection to a fixed network. The local network may be completely isolated from any other network, or it might comprise one or more access points which provide the (wireless) devices with access to the wired network.
A service is described by a service description, which includes a time-to-live indicator, i.e., a value representing a predetermined instant of time or time limit after its expiration the respective service is deemed to be unavailable. In case the service is still available a refresh of the indicator with a new value is required. The service description further includes the address of the node offering the service, whereby the address may be of a different format depending which communication technology or communication protocol is being used.
An underlying broadcast mechanism works as follows. Broadcasts are scheduled to occur within regularly recurring time windows, whereby only one node should broadcast in every window and the broadcasting node is determined by a race mechanism. That is a procedure in which all nodes schedule a broadcast at an individually chosen time in the future, then reschedule upon either receiving a broadcast from one of the other devices or reaching the chosen time (without having received a broadcast) and sending a broadcast themself. Nodes that detect their own service descriptions about to time out increase their chance to broadcast by choosing a shorter random back-off time.
Each node processes a newly received service list in the following way. Services that are already known to the local device, are offered by other devices, and have time-to-live values farther in the future than the locally held time-to-live values for those same services, have the local time-to-live values updated accordingly. Services that are not already known to the local device and are offered by other devices, are added to the set of services known to the local device. Services that are offered by the local device and either fail to appear in the received list of services, or appear but have time-to-live values insufficiently far in the future, are noted to signal the local device to schedule its next broadcast from an earlier than normal range.
Embodiments according to the present invention operate as described in the following in greater detail. Each device regularly broadcasts a message of a first type, referred to as “ping” to its environment. A ping is a broadcast to the environment including a service description digest Dd of known services. When a device X observes a ping by another device Y, that either does not include X's services or a version of one X's services that is outdated, it broadcasts a message of a second type, referred to as “pong”. A pong includes full service descriptions for those services that were missing or outdated in the ping. When device X did not know any of the services included in the ping, it responds with a pong where the service versions VS of the unknown services are set to nil. When the service description of one of the services offered by a device changes, the device will send a pong including a full service description for that service and an incremented service version VS.
When device U comes into reach of, for example, the three devices X, Y and Z there are two situations. First, device U send its ping broadcast first. In response, any of the devices X, Y and Z will answer with a pong including the full service descriptions and having U's service versions set to nil. U will then respond with a pong. Second, one of the devices X, Y, or Z sends a ping first. In response, device U will answer with a pong including its full service descriptions and the service versions of the ping set to nil. Then any of the devices X, Y, or Z will respond with a pong.
Depending on resources available, a node may choose to send a blast instead of a pong or just do so from time to time to establish a synchronized view of the environment, whereby a blast is a broadcast of the complete service description list Ld (including complete service descriptions) to the environment.
The present invention will now be explained with some exemplary scenarios as depicted in
With reference now to
Now with reference to
With reference now to
Referring now to
Both devices B 402 and C 403 receive the broadcast. Device B 402 has now seen the description request satisfied, therefore, it schedules its next broadcast from the usual range. Device C 403 now knows the full description of all services that it has heard of, and also sees its own services are known about, so it also schedules its next advertisement from the usual range.
All three devices 501, 502, 503 are now in steady state, as shown in
In another embodiment the present invention includes a hop count HS with each service description—both in the short service description dS and the full service description DS. Each node N will increment HS when including it in its service description digest Dd (or its service description list Ld). Low hop counts might imply a close distance to the service providing node, high hop counts might hint at a large distance. Using the hop count a node may filter out those service descriptions that it considers too far away, a configurable threshold value is used to distinguish devices of different distance.
A further embodiment of the present invention introduces the possibility to signal service invocation failures to the environment. A node can broadcast a service description digest Dd including a short service description dS with a reserved value for service expiry time of let say “−1” to indicate that it failed to invoke the service. Other nodes that receive the broadcast can choose to heed the advice and expire the service in their internal service list. Alternatively, they can ignore the advice, for example, when their hop count HS of the service concerned is far less than the hop count announced in the service digest, as in this case the service invocation failure might be due to invoking and invoked nodes being out of reach.
According to another embodiment of the present invention each node uses some averaging function to obtain a smoothed version hS of the hop counts it receives. One example of such an averaging function is
with h′S representing the revised (new) value for hS and, e.g., a1=0.8 and a2=0.2. This averaging function favors small hop counts over large hop counts. Other functions are of course possible.
The present invention can be realized in hardware, software, or a combination of hardware and software. Any kind of computer system—or other apparatus adapted for carrying out the methods described herein—is suited. A typical combination of hardware and software could be a general purpose computer system with a computer program embodied as an article of manufacture and comprising a computer usable medium having computer readable program code means embodied therein that, when being loaded and executed, controls the computer system such that it carries out the methods described herein. The present invention can also be embedded in a computer program product stored on a computer usable medium and including computer readable program means for causing a computer to perform a method, and which comprises all the features enabling the implementation of the methods described herein. Moreover, the present invention can also include a program storage device readable by machine, tangibly embodying a program of instructions executable by the machine to perform method steps, and which—when loaded in a computer system—is able to carry out these methods described herein.
Computer program means or computer program in the present context mean any expression, in any language, code or notation, of a set of instructions intended to cause a system having an information processing capability to perform a particular function either directly or after either or both of the following a) conversion to another language, code or notation; b) reproduction in a different material form.
It is noted that the foregoing has outlined some of the more pertinent objects and embodiments of the present invention. This invention may be used for many applications. Thus, although the description is made for particular arrangements and methods, the intent and concept of the invention is suitable and applicable to other arrangements and applications. It will be clear to those skilled in the art that other modifications to the disclosed embodiments can be effected without departing from the spirit and scope of the invention. The described embodiments ought to be construed to be merely illustrative of some of the more prominent features and applications of the invention. Other beneficial results can be realized by applying the disclosed invention in a different manner or modifying the invention in ways known to those familiar with the art.
|Cited Patent||Filing date||Publication date||Applicant||Title|
|US5555266 *||Oct 4, 1993||Sep 10, 1996||Motorola, Inc.||Method for reducing transmission delays in a packet transmission system|
|US5873043 *||Dec 18, 1996||Feb 16, 1999||Cellemetry Llc||System for communicating messages via a forward overhead control channel|
|US6026297 *||Sep 17, 1997||Feb 15, 2000||Telefonaktiebolaget Lm Ericsson||Contemporaneous connectivity to multiple piconets|
|US6154745 *||Dec 23, 1997||Nov 28, 2000||Nokia Mobile Phones Ltd.||Method for transmission of information to the user|
|US6233430 *||Sep 19, 1997||May 15, 2001||Richard J. Helferich||Paging transceivers and methods for selectively retrieving messages|
|US6484033 *||Dec 4, 2000||Nov 19, 2002||Motorola, Inc.||Wireless communication system for location based schedule management and method therefor|
|US6532368 *||Jan 19, 2000||Mar 11, 2003||International Business Machines Corporation||Service advertisements in wireless local networks|
|US6577849 *||Jul 31, 2000||Jun 10, 2003||Motorola, Inc.||Method and apparatus for providing additional information about a broadcast|
|US6691173 *||Jul 6, 1999||Feb 10, 2004||Widcomm, Inc.||Distributed management of an extended network containing short-range wireless links|
|US20030046100 *||Feb 7, 2002||Mar 6, 2003||Fujitsu Limited||View restriction method, view restriction setting method, receiver, and device and programs for setting view restriction|
|US20030112804 *||Dec 19, 2001||Jun 19, 2003||Jouni Kamarainen||Method, system and architecture for service broadcasting over orthogonal frequency division multiplexing using an internet protocol cellular network & session initiated protocol|
|EP1022876A1 *||Jan 25, 1999||Jul 26, 2000||International Business Machines Corporation||Service advertisements in wireless local networks|
|Citing Patent||Filing date||Publication date||Applicant||Title|
|US8327178||Oct 26, 2011||Dec 4, 2012||Apple Inc.||Efficient service advertisement and discovery in a networking environment|
|US9306813||Jun 8, 2010||Apr 5, 2016||Apple Inc.||Efficient service advertisement and discovery in a peer-to-peer networking environment with cooperative advertisement|
|US9391853||Jun 8, 2010||Jul 12, 2016||Apple Inc.||Efficient service advertisement and discovery in a peer-to-peer networking environment with dynamic advertisement and discovery periods based on operating conditions|
|U.S. Classification||455/414.1, 455/456.3, 455/458, 455/466|
|International Classification||H04B7/00, H04L29/08, H04Q7/22|