AU2003278417B2 - Device detection and service discovery for mobile networks - Google Patents
Device detection and service discovery for mobile networks Download PDFInfo
- Publication number
- AU2003278417B2 AU2003278417B2 AU2003278417A AU2003278417A AU2003278417B2 AU 2003278417 B2 AU2003278417 B2 AU 2003278417B2 AU 2003278417 A AU2003278417 A AU 2003278417A AU 2003278417 A AU2003278417 A AU 2003278417A AU 2003278417 B2 AU2003278417 B2 AU 2003278417B2
- Authority
- AU
- Australia
- Prior art keywords
- application
- directory
- node
- terminal
- network node
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/005—Discovery of network devices, e.g. terminals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/24—Connectivity information management, e.g. connectivity discovery or connectivity update
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
Description
o DEVICE DETECTION AND SERVICE DISCOVERY SYSTEM AND METHOD a FOR A MOBILE AD HOC COMMUNICATIONS
NETWORK
00 CROSS-REFERENCE TO A RELATED APPLICATION S [00011 This application for letters patent incorporates by reference and claims 00 priority to United States patent application serial number 10/284,135, titled "DEVICE DETECTION AND SERVICE DISCOVERY SYSTEM AND METHOD FOR A SMOBILE AD HOC COMMUNICATIONS NETWORK", and filed in the United States Patent and Trademark Office on October 31, 2002. This application for letters patent also incorporates by reference and claims priority to United States continuation-in-part patent application serial number 10/662,407, titled "DEVICE DETECTION AND SERVICE DISCOVERY SYSTEM AND METHOD FOR A MOBILE AD HOC COMMUNICATIONS NETWORK", and filed in the United States Patent and.
Trademark Office on September 16, 2003. This application for letters patent is also related to and incorporates by reference United States patent application serial number 10/662,470, titled "MECHANISM FOR IMPROVING CONNECTION CONTROL IN PEER-TO-PEER AD-HOC NETWORKS", and filed in the United States Patent and Trademark Office on September 16, 2003. This application for letters patent is also related to and incorporates by reference United States patent application serial number 10/662,469, titled "APPLICATION CONTROL IN PEER-TO-PEER AD-HOC COMMUNICATION NETWORKS", and filed in the United States Patent and Trademark Office on September 16, 2003. The assignee is the same in the parent patent application, the continuation-in-part patent application, and the related patent applications.
FIELD OF THE INVENTION [00021 The disclosed invention relates, in general, to communication between devices connected to a wireless communications network. In particular, the disclosed invention is a system and method for performing device detection and service discovery in a mobile ad hoc communications network.
S BACKGROUND, [00031 Short-range wireless systems have a range of less than one hundred meters, but may connect to the Internet to provide communication over longer distances.
Short-range wireless systems include, but are not limited to, a wireless personal area network (PAN) and a wireless local area network (LAN). A wireless PAN uses low-cost, low-power wireless devices that have a typical range of ten meters. An example of a 0 wireless PAN technology is the Bluetooth Standard. The Bluetooth Standard operates in the 2.4 GHz Industrial, Scientific, and Medical (ISM) band and provides a peak air-link Sspeed of one Mbps and a power consumption low enough for use in personal, portable 1 10 electronics such as a personal digital assistance or mobile phone. A description of the Bluetooth communication protocol and device operation principles is in Bluetooth Special Interest Group, Specification of the Bluetooth Standard, version 1.OB, volumes 1 and 2, December 1999. A wireless LAN is more costly than a wireless PAN, but has a longer range. An example of a wireless LAN technology is the IEEE 802.11 Wireless LAN Standard and the HIPERLAN Standard. The HIPERLAN Standard operates in the 5 GHz Unlicensed-National Information Infrastructure (U-NII) band and provides a peak air-link speed between ten and one hundred Mbps.
[00041 An ad hoc network is a short-range wireless system comprising an arbitrary collection of wireless devices that are physically close enough to exchange information. An ad hoc network is constructed quickly with wireless devices joining and leaving the network as they enter and leave the proximity of the remaining wireless devices. An ad hoc network also may include one or more access points, that is, stationary wireless devices operating as a stand-alone server or as gateway connections to other networks.
[00051 In the future, the Bluetooth Standard will likely support the interconnection of multiple piconets to form a multi-hop ad hoc network, or scatternet. In a scattemet, a connecting device forwards traffic between different piconets. The connecting device may serve as a master device in one piconct, but as a slave device or a master device in another piconet. Thus, the connecting devices join the piconets that comprise a scatternet by adapting the timing and hop sequence to the respective piconet and possibly changing the roles that they serve from a master device to a slave device.
WO 2004/040918 PCTIB2003/004843 [0006] A Bluetooth device includes, but is not limited to, a mobile telephone, personal or laptop computer, radio-frequency identification tag, and personal electronic device such as a personal digital assistant (PDA), pager, or portable-computing device.
Each Bluetooth device includes application and operating system programs designed to find other Bluetooth devices as they enter and leave the communication range of the network. The requesting Bluetooth device in a client role and the responding Bluetooth device in a server role establish a link between the two devices. The requesting and responding Bluetooth device use the link and a service discovery protocol to discover the services offered by the other Bluetooth device and how to connect to those services.
[0007] Prior art systems follow similar patterns of behavior for service discovery protocols. A service description, created using a description language and an appropriate vocabulary, is advertised or made available for query matching. Some prior art systems advertise the service description by pushing the description to a directory and requiring the advertisers to discover the directory. Other prior art systems advertise the service description by making the descriptions available for peer-to-peer discovery. A client device that needs to discover the service description composes a query using a query language and a matching vocabulary and uses either a query protocol or a decentralized query-processing server to deliver the query.
[0008] Service discovery protocols in the prior art systems require sending and replying to inquiry messages. If no other device is present, the inquiry messages are sent in vain. To avoid excessive power consumption, the prior art systems typically require a human user to manually initiate device detection when another device of interest is present. For example, a human user manually initiates device detection when comnnecting a cellular telephone to a laptop computer to handle data communications or when connecting a wireless headset to a laptop computer to deliver digital audio. These prior art systems rely upon three assumptions. First, an application can be freely started because the presence of its services is guaranteed. Second, an application performnns service discovery when it first needs a service. Third, the composition of the network does not change during the lifetime of the application.
10009] Thus, there is a need for a device detection and service discovery protocol that will avoid excessive power consumption and allow an application resident in one b device to automatically find a counterpart application or some other resource resident in 0 Oany of the remaining devices within the ad hoc communications network. The protocol does not require a human user to manually initiate device detection to find the counterpart application or other resource. Furthermore, the protocol will accommodate a network environment in which the presence of a particular service is not guaranteed and in which the composition of the network is dynamic because devices frequently enter and leave the network. The disclosed invention addresses this need.
SUMMARY OF THE INVENTION [0010] A computer system, method, and computer program product for performing device detection and service discovery in a mobile ad hoc communications network.
[0010A] There is further provided a method of performing device detection and service discovery in a mobile ad hoc communications network including at least one network node, each network node storing a local application directory, comprising: selecting a directory server node from said at least one network node, the directory server node having a coverage area and storing a combined application directory; sending an inquiry message to a listening node that enters the coverage area; receiving a notification message from the listening node, the notification message comprising the local application directory stored in the listening node; storing, in the directory server node, an update to the combined application directory based on a comparison of the local application directory included with the notification message and the combined application directory; and sending an update message to each network node communicating with the mobile ad hoc communications network, the update message comprising an update portion of the combined application directory for updating the local application directories of each of the nodes within the mobile ad hoc communications network.
[0010B] There is further provided a method of performing device detection and service discovery in a mobile ad hoc communications network including at least one network node, each network node storing a local application directory, comprising: selecting a directory server node from said at least one network node, the directory server node having a coverage area and storing a combined application directory; receiving an inquiry message at a listening node that enters the coverage area; 4a sending a notification message to the directory server node, the notification message comprising the local application directory stored in the listening node; Nreceiving an update message from the directory server node, the update message comprising an update portion of the combined application directory for updating the local application directories of each of the nodes within the mobile ad hoc communications network, wherein the directory server node stores an update to the combined application directory based on a comparison of the local application directory included with the notification message and the combined application directory.
00oO 100111 In one embodiment, the mobile ad hoc communications network is a Bluetooth lo network. Conducting the inquiry includes sending a Bluetooth inquiry command and receiving a Bluetooth inquiry result command that includes an indication that the device may include the middleware layer. Creating the connection to a device that may include the middleware layer includes sending a Bluetooth paging request message to the device and receiving a Bluetooth paging accept message. Confirming that the device includes the middleware layer includes sending a recognition request message to the device and receiving a recognition response message. Executing the middleware layer to perform application and service discovery includes receiving a notification message from a device with a copy of a local application directory, storing an update to a combined application directory based on a comparison of the local and combined application directory, and sending the update to the combined application directory to each device in the Bluetooth network. In addition, executing the middleware layer includes launching a local application based on a reference in the combined application WO 2004/040918 PCT/IB2003/004843 directory, and connecting the local application to a counterpart application executing on the device.
BRIEF DESCRIPTION OF THE DRAWINGS [0012] The accompanying figures best illustrate the details of the device detection and service discovery system and method for a mobile ad hoc communications network, both as to its structure and operation. Like reference numbers and designations in these figures refer to like elements.
[0013] Figure 1 is a network diagram that illustrates the interaction of the devices that comprise a mobile ad hoc communications network, in accordance with one embodiment of the present invention.
[0014] Figure 2A is a block diagram that illustrates the hardware and software components comprising server 110 shown in Figure 1, in accordance with one embodiment of the present invention.
[0015] Figure 2B is a block diagram that illustrates the hardware and software components comprising terminal 120 shown in Figure 1, in accordance with one embodiment of the present invention.
[0016] Figure 3A is a flow diagram of an embodiment of server 110 performing device detection and service discovery for a mobile ad hoc communications network.
[0017] Figure 3B is a flow diagram of an embodiment of terminal 120 performing device detection and service discovery for a mobile ad hoc communications network.
[0018] Figure 4A is an exemplary block diagram of the data flow before a terminal enters a mobile ad hoc communications network.
[0019] Figure 4B shows the exemplary block diagram of Figure 4A after the terminal enters the mobile ad hoc communications network.
[0020] Figure 5 is a flow diagram of an embodiment of a process that illustrates the message flow during establishment of a communication session between terminal X and terminal Y in a mobile ad hoc communications network.
WO 2004/040918 PCT/IB2003/004843 DETAILED DESCRIPTION OF THE INVENTION [0021] Figure 1 is a network diagram that illustrates the interaction of the devices that comprise a mobile ad hoc communications network, in accordance with one embodiment of the present invention. In one embodiment, the mobile ad hoc communications network is a Bluetooth piconet that includes one master device and up to seven active slave devices. As shown in Figure 1, piconet 100 includes server 110 and five instances of terminal 120. Server 110 maintains the network clock and is the communication manager for each instance of terminal 120. Server 110 typically initiates an exchange of data with an instance of terminal 120. Two instances of terminal 120 typically communicate through the server 110 however, if two instances of terminal 120 communicate directly, one instance will assume the role of server, or master, and the other instance will assume the role of client, or slave.
[0022] Each device in the mobile ad hoc communications network will either assume the role of a terminal device or a server device. A terminal device is a consumer of services that a single user operates. A terminal device includes devices such as a mobile phone or PDA. A server is typically a stationary device and only produces services. A server device creates a hotspot around them for using their services.
"Hotspot" refers to the radio coverage area provided by the server device for detecting devices and discovering services offered by the applications hosted in the server. If the server device is not stationary, one of the terminal devices in the network will assume the role of application directory server and perform device detection and service discovery functions for the remaining terminal devices in the network. The disclosed invention introduces two roles among such terminal devices, application directory servers and terminals, where application directory servers serve terminals in device detection and service discovery. If stationary servers with hotspots exist, servers typically act as application directory servers however, device detection and service discovery is possible without such a stationary server because one of the terminals will assume the application directory server duties.
[0023] The disclosed invention categorizes an application as a server-based application, terminal-to-terminal application, foreground application, background application, or generic application component. A server-based application requires a WO 2004/040918 PCTIB2003/004843 server to produce a service. A terminal-to-terminal application requires at least two terminal devices to implement a service without the presence of a server device. A foreground application is an application resident in a terminal device that a user accesses via the user interface of the terminal device. A background application is an application resident in a terminal device that may start without any intervention by the user. A generic application component can be used either as a standalone application or as a component of another application.
[0024] An application may be further categorized as either active, passive, new, or rejected. An active application is a foreground or background application that is resident in stored in memory) the terminal. A passive application is resident in the terminal, but has not yet been started. In another embodiment, the passive application is started, but is not actively looking for other instances of the same application. A new application is not yet resident in the terminal, but might be in the future. A rejected application is not resident in the terminal and has been marked by the user as an application that should never be resident in the terminal. In another embodiment, the rejected application was once resident in the terminal, but was subsequently deleted and marked as rejected. In yet another embodiment, the rejected application never resided in the terminal, but is of a type of application that the user has marked as rejected.
[0025] Service discovery in a mobile ad hoc communications network differentiates between a resident application and an unloaded application. A resident application is stored in the terminal memory and loaded as either a foreground application or a background application. An unloaded application is not yet stored or loaded in the terminal, but has been accepted by the user. Typically, when an application was previously used, but has been overwritten to reclaim space, the application is considered unloaded. Thus, starting an unloaded application may require first downloading the application.
[00261 Service discovery from the perspective of the terminal device requires categorizing the status of an application as either an active resident application, active unloaded application, passive resident application, passive unloaded application, rejected application, or new application. An active resident application is loaded in the terminal and looking for peers, servers, or clients. An active unloaded application is not loaded in WO 2004/040918 PCTiIB2003/004843 the terminal, but is still looking for such counterpart applications that could be automatically downloaded if found interesting. A passive resident application is loaded in the terminal, but is not looking for counterpart applications. A passive unloaded application is not loaded in the terminal, but was once accepted by the user. A rejected application is an application that a user has requested to exclude from the terminal device.
A new application is not loaded in the terminal device, but the user might have seen an application in an earlier server for instance.
[00271 Figure 2A is a block diagram that illustrates the hardware and software components comprising server 110 shown in Figure 1, in accordance with one embodiment of the present invention. Server 110 is a general-purpose wireless device.
Bus 200 is a communication medium that connects keypad 201, display 202, central processing unit (CPU) 203, and radio frequency (RF) adapter 204 to memory 210. RF adapter 204 connects via a wireless link to terminal 120 and is the mechanism that facilitates network traffic between server 110 and terminal 120.
[0028] CPU 203 performs the methods of the disclosed invention by executing the sequences of operational instructions that comprise each computer program resident in, or operative on, memory 210. Memory 210 includes operating system software 211, application programs 212, and middleware software 220. Operating system software 211 controls keypad 201, display 202, RF adapter 204, and the management of memory 210.
Application programs 212 control the interactions between a user and server 110.
Middleware software 220 includes an application program interface (API) 221 that help an application program running on server 110 find and communicate with a counterpart application running on terminal 120. To quickly locate each application, middleware software 220 also includes application directory 230 to track the role assumed by each application that is resident in each device in piconet 100.
[0029] Figure 2B is a block diagram that illustrates the hardware and software components comprising terminal 120 shown in Figure 1, in accordance with one embodiment of the present invention. Terminal 120 is a general-purpose wireless device.
Bus 250 is a communication medium that connects keypad 251, display 252, CPU 253, and RF adapter 254 to memory 260. RF adapter 254 connects via a wireless link to server WO 2004/040918 PCT/IB2003/004843 110 or another terminal 120 and is the mechanism that facilitates network traffic between server 110 and terminal 120.
[0030] CPU 253 performs the methods of the disclosed invention by executing the sequences of operational instructions that comprise each computer program resident in, or operative on, memory 260. Memory 260 includes operating system software 261, application programs 262, and middleware software 270. Operating system software 261 controls keypad 251, display 252, RF adapter 254, and the management of memory 260.
Application programs 262 control the interactions between a user and terminal 120.
Middleware software 270 includes an API 271 that help an application program running on terminal 120 find and communicate with a counterpart application running on server 110 or another terminal 120. To quickly locate each application, middlcware software 270 also includes application directory 280 to track the role assumed by each application that is resident in each device in piconet 100.
[0031] In one embodiment, the configuration of memory 210 and memory 260 is identical. In another embodiment, the configuration of memory 210 and memory 260.
only includes the software necessary to perform the essential tasks of server 110 and terminal 120, respectively. For example, if terminal 120 needs to receive a general inquiry access code, but does not need to send a general inquiry access code message, only the software that receives this message will reside in memory 260.
[0032] An application executing on a terminal is constantly searching for a counterpart application, that is, another instance of the same application that can communicate with the application. Each instance of an application assumes a particular role. Communication between an application and a counterpart application is only meaningful if the roles are complementary. For example, an application that assumes the role of "client" can communicate with a counterpart application that assumes the role of.
"server". Middleware software is a software layer with an API that negotiates the communication between two applications to help an application find a counterpart application with the correct role. Thus, an application installed in a terminal and activated, will query the API for a continuous stream of new counterpart applications that are of interest.
WO 2004/040918 PCTIB2003/004843 [0033] A new application is installed by "installer" applications that use middleware for finding counterparts and installing the new application into the local storage of a terminal. The actual finding and selection of new applications takes place in the application level. Initially, the installer application will be a dedicated "browsersupplier" client-server) application that accesses counterpart applications in servers, browses their available application databases, allows a user to pick the applications to install, and downloads and installs the new applications. Later, the corresponding functionality may be added to a wireless access protocol (WAP) and hypertext markup language (HTML) browsers.
[00341 Service discovery is viewed as a three-step process. First, new potential applications are found and will be considered for installation. Second, active installed applications begin to search for counterpart application. Third, active installed applications begin searching for common resources such as printers resource discovery). The disclosed invention relies upon the applications to perform resource discovery. Typically, a tenrinal application communicates with its counterpart application and use local server) resources. If an application uses a private resource, the associated service discovery is implemented by the application in a standard Bluetooth or Bluetooth/Java) way not supported by the terminal middleware software.
[0035] Figure 3A is a flow diagram of an embodiment of server 110 performing device detection and service discovery for a mobile ad hoc communications network.
The process begins when server 110 sends a general inquiry access code message to terminal 120 (step 300). Terminal 120 receives the message and sends an acknowledgment response message to server 110 (step 302). Server 110 accesses middleware software 220 to request a socket connection with terminal 120 (step 304). In response to establishing the socket connection, server 110 receives a message from terminal 120 that includes a local application directory listing all of the applications that are locally resident on terminal 110 (step 306). Server 110 compares the list of applications resident on terminal 120 to a combined application directory resident on server 110. Server 110 updates the combined application directory by adding to the combined application directory each entry in the local application directory that does not appear in the combined application directory (step 308). Server 110 sends a portion of the updated combined application directory to each terminal 120 in piconet 100 (step WO 2004/040918 PCTIB2003/004843 310). The portion may vary for each terminal 120 and includes each entry in the combined application directory that is a counterpart application to an application resident in terminal 120. In another embodiment, server 110 sends the entire combined application directory to each terminal 120 in piconet 100 and relies upon terminal 120 to retain the pertinent entries. Instances of middleware software in terminal 120 and server 110 begin to schedule the newly found counterpart application pairs for execution (step 312). In one embodiment, the scheduled applications make use of any other Bluetooth profile and protocol. In another embodiment, an application that is an installer application may suggest to the user other applications that the user should download.
Once server 110 downloads and starts a new application, counterpart matching repeats and the new application becomes a part of the middleware scheduling.
[00361] Figure 3B is a flow diagram of an embodiment of terminal 120 performing device detection and service discovery for a mobile ad hoc communications network.
The process begins when terminal 120 receives a general inquiry access code message from server 110 (step 320). Terminal 120 generates and sends an acknowledgment response message to server 110 (step 322). Terminal 120 sends a message to server 110 that includes a local application directory that includes all of the applications that are locally resident on terminal 110 (step 324). Server 110 compares the list of applications resident on terminal 120 to a combined application directory resident on server 110.
Server 110 updates the combined application directory by adding to the combined application directory each entry in the local application directory that does not appear in the combined application directory. Terminal 120 receives from server 110 a portion of the updated combined application directory (step 326). Server 110 customizes the portion for terminal 120 to include each entry in the combined application directory that is a counterpart application to an application resident in terminal 120. In another embodiment, server 110 sends the entire combined application directory to terminal 120 and relies on terminal 120 to retain the pertinent entries. Instances of middleware software in terminal 120 and server 110 begin scheduling these newly found counterpart application pairs for execution (step 328).
[0037] Figures 4A and 4B are exemplary block diagrams showing the content of the application directory before and after terminal X and terminal Y enter a mobile ad hoc.
communications network served by server S. Figure 4A shows the configuration of WO 2004/040918 PCT/IB2003/004843 application directory 404, application directory 415, and application directory 425 before terminal X and terminal Y enter a communication network managed by server S, a master device. Application C 401 resides in server S memory 400 and accesses middleware software 403 via API 402. Middleware software 403 registers application C 401 with application directory 404 by adding a table entry to indicate that application C resides in the local device server S) and assumes the role of server. Application A 411 and application B 412 reside in terminal X memory 410 and access middleware software 414 via API 413. Middleware software 414 registers application A 411 and application B 412 with application directory 415 by adding a table entry to indicate that application A resides in the local device terminal X) and assumes the role of client and that application B resides in the local device terminal X) and assumes the role of peer.
Application B 421 and application C 422 reside in terminal Y memory 420 and access middleware software 424 via API 423. Middleware software 424 registers application B 421 and application C 422 with application directory 425 by adding a table entry to indicate that application B resides in the local device terminal Y) and assumes the role of peer and that application C resides in the local device terminal Y) and assumes the role of client.
[0038] Figure 4B shows the configuration of application directory 404, application directory 415, and application directory 425 after terminal X and terminal Y enter the communication network managed by server S, a master device. Server S assumes the role of an application directory server (ADS) and mediates the registration of the applications residing in each device in piconet 100. Server S adds a table entry to application directory 404 for each application residing in a device on piconet 100. Thus, server S adds an entry for application A residing in terminal X in a client role, application B residing in terminal X in a peer role, application B residing in terminal Y in a peer role, and application C residing in terminal Y in a client role. Server S also updates application directory 415 in terminal X and application directory 425 in terminal Y with application registrations that may be interesting to those terminal devices. As shown in Figure 4B, terminal X and terminal Y both host application B in a peer role. Since, a peer-to-peer communication session between application B on terminal X and application B on terminal Y is likely, server S adds an entry to application directory 415 for application B residing in terminal Y in a peer role and an entry to application directory WO 2004/040918 PCT/IB2003/004843 425 for application B residing in terminal X in a peer role. Also, since a client-server communication session between application C on terminal Y and application C on server S is likely, server S adds an entry to application directory 425 for application C residing in server S in a server role. Finally, there is no counterpart in piconet 100 for application A on terminal X.
[0039] As shown in Figures 4A and 4B, the disclosed data items for each entry in the middleware software application directory server include a device identifier "local", an address, or other unique identifier), an application identifier application name or other unique identifier), and a role for the application "client", "server", "peer", etc.). In another embodiment, the data items can be expanded to include fields for the local applications device "local") and fields for remote applications in other terminals or servers. The fields for the local applications include: Name An identifier for the application supplier name and data to compare different versions and hardware variants); My role The role that the application takes in the local device; Partner_role The role that the application assumes from interesting counterparts peer, client, and server are the most common roles); Residency Either RESIDENT (installed and currently in memory), UNLOADED (installed once, not currently in memory, but can be redownloaded automatically), REJECTED (indicates to the new application installer that it should ignore the application), or NEW (the application is not installed or rejected); State Either RUNNING (has communications, is now working with its remote counterparts, but there may be either only one, or more, applications that can use the communications at a time), WAITING (in execution but does not have any communications), STARTABLE (active, if a matching peer with the right partnerrole is found, the middleware software starts this application, downloading the software first if needed), COMPLETE (all counterpart applications are aware), or PASSIVE (user must do something to start application); WO 2004/040918 PCTiIB2003/004843 Type Either FOREGOUND (when the application terminates, the state will be PASSIVE), or BACKGROUND (if the application terminates, the state will be STARTABLE); Unload Either AUTOMATIC (middleware may remove code when the application has terminated), or UNINSTALL (user must confirm removals); Icon Creates a visual image of the application for the user; and Timeout Sets a time limit that the middleware software uses to detect, for example, when the application is in an unproductive software loop.
[0040] The fields for the remote applications include: Device An address for establishing communications with the terminal or server storing the application instance; Name An identifier for the application; and My_role The role that the application takes in the remote device.
[0041] The client-server roles of the applications are independent of the roles of the devices as a terminal device and an application directory server. Typically, the device acting as an application directory server hosts applications acting in a server role and the terminal devices act in the client role for the same application. In another embodiment, two terminal devices each send a general inquiry access code message and listen for a reply. The terminal device that receives a response first will assume the server role and proceed according to the procedure in Figure 3A. Another terminal device that receives the inquiry message will assume the terminal role, and proceed according to Figure 3B.
Thus, the disclosed invention supports terminal-to-terminal scenarios one of identical handheld devices automatically becoming an ADS) and does not require predetermined application directory servers.
[00421 Figure 5 is a flow diagram of an embodiment of a process that illustrates the message flow during establishment of a communication session between terminal X and terminal Y in a mobile ad hoc communications network. In one embodiment, terminal X and terminal Y are mobile devices such as terminal 120 shown in Figure 1 and Figure 2B. In another embodiment, terminal X is a mobile device such as terminal 120 shown in Figure 1 and Figure 2B and terminal Y is a mobile device such as server 110 shown in Figure 1 and Figure 2A.
WO 2004/040918 PCT/IB2003/004843 [0043] As shown in Figure 5, terminal X initiates the communication by sending an inquiry request message to the mobile ad hoc communications network. Since terminal Y is a nearby device, terminal Y receives the inquiry request message and sends an inquiry response message to terminal X. In one embodiment, the inquiry request message is a Bluetooth inquiry command and the inquiry response message is a Bluetooth inquiry result command. In another embodiment, the inquiry request message is a Bluetooth inquiry command and the inquiry response message is a Bluetooth inquiry result command modified to indicate that the tenninal sending the Bluetooth inquiry result command includes a middleware layer. In one embodiment, the middleware layer includes dedicated middleware software providing advanced application and service discovery and execution. In one embodiment, the modification to the Bluetooth inquiry result command is to the Class of Device (CoD) parameters. For example, if the terminal sending the Bluetooth inquiry result command includes the middleware layer, the terminal will set at least the "ad hoc networking aware" bit (bit 16) to on Alternatively, if the terminal sending the Bluetooth inquiry result command includes the middleware layer, the terminal will set the "ad hoc networking aware" bit (bit 16) to on and the "location info" bit (bit 17) to off Alternatively, if the terminal sending the Bluetooth inquiry result command includes the middleware layer, the terminal will set the "ad hoc networking aware" bit (bit 16) to on and the "telephony capable" bit (bit 22) to on Alternatively, if the terminal sending the Bluetooth inquiry result command includes the middleware layer, the terminal will set the "ad hoc networking aware" bit (bit 16) to on the "location info" bit (bit 17) to off(0), and the "telephony capable" bit (bit 22) to on In yet another embodiment, the modification to the Bluetooth inquiry result command is not necessary, if a dedicated indication parameter to indicate the presence of the middleware software is introduced to the Bluetooth inquiry result command specifications.
[0044] Following the inquiry, as shown in Figure 5, terminal X may create a connection to each nearby device indicating possible possession of the middleware layer by the inquiry response message, such as terminal Y, by sending a paging request message. If terminal Y does not indicate possible possession of the middleware layer by setting the "ad-hoc networking aware" bit (bit 16) to off no paging request message is transmitted and the communication session is disconnected. After conducting WO 2004/040918 PCTiIB2003/004843 an inquiry including an indication that terminal Y possibly includes a middleware layer, terminal X sends the paging message request, as discussed above. Terminal Y receives the paging request message and optionally sends a paging accept message to accept the connection request. In one embodiment, the paging request message is a Bluetooth create connection command and the paging accept message is a Bluetooth accept connection request command.
[0045] Following the connection to each nearby device, as shown in Figure terminal X sends a recognition request message to confirm whether a nearby device such as terminal Y definitely includes the middleware layer. Terminal Y receives the recognition request message and sends a recognition response message to terminal X. In one embodiment, the receipt of the recognition response message is confirmation that terminal Y includes the middleware layer. In another embodiment, the content of the recognition response message will indicate whether terminal Y includes the middleware layer. In one embodiment, the recognition request message and the recognition response message utilize the Bluetooth Service Discovery Protocol (SDP). If terminal Y does not include the middleware layer, the communication session may be disconnected.
[00461 Following the confirmation that a nearby device such as terminal Y includes the middleware layer, as shown in Figure 5, terminal X and terminal Y use the middleware layer to discover and launch applications and services. In one embodiment, terminal X and terminal Y use the methods disclosed in the flow diagrams shown in Figure 3A and Figure 3B to discover and launch applications and services.
[0047] Although the, disclosed embodiments describe a fully functioning device detection and service discovery system and method for a mobile ad hoc communications network, the reader should understand that other equivalent embodiments exist. Since numerous modifications and variations will occur to those who review this disclosure, the device detection and service discovery system and method for a mobile ad hoc communications network is not lihnited to the exact construction and operation illustrated and disclosed. Accordingly, this disclosure intends all suitable modifications and equivalents to fall within the scope of the claims.
Claims (17)
1. A method of performing device detection and service discovery in a mobile ad hoc communications network including at least one network node, each network node storing a local application directory, comprising: selecting a directory server node from said at least one network node, the directory server node having a coverage area and storing a combined application directory; 00 sending an inquiry message to a listening node that enters the coverage area; receiving a Cc notification message from the listening node, the notification message comprising the local Sapplication directory stored in the listening node; storing, in the directory server node, an update to the combined application directory based on a comparison of the local application directory included with the notification message and the combined application directory; and sending an update message to each network node communicating with the mobile ad hoc communications network, the update message comprising an update portion of the combined application directory for updating the local application directories of each of the nodes within the mobile ad hoc communications network.
2. The method of claim 1, wherein the combined application directory stores a reference to each application program stored in said at least one network node, and wherein the local application directory stores a reference to each application program stored in the network node associated with the local application directory.
3. The method of claim 2, wherein the reference stored in the combined application directory, and the reference stored in the local application directory, include an application identifier, a network node identifier, and an application role.
4. The method of claim 1, wherein the inquiry message is a general inquiry access code message. 785738 cxh c1 5. The method of claim 1, wherein the notification message is an arrival notification and the listening node sends the arrival notification to initiate the listening node entering the mobile ad hoc communications network.
6. The method of claim 1, wherein the notification message is a departure notification and the _listening node sends the departure notification to initiate the listening node leaving the mobile ad hoc communication network. 00 Mc 7. The method of either one of claim 5 or claim 6, wherein the comparison identifies at least Sone entry in the local application directory that appears in the combined application directory.
8. The method of claim 7, wherein the storing of the update to the combined application directory further comprises: deleting from the combined application directory each entry in the local application directory associated with the listening node that appears in the combined application directory.
9. The method of claim 8, wherein the sending of the update message further comprises: identifying at least one counterpart application pair, wherein a portion sent to each network node comprises an update portion of the combined application directory that is a counterpart application to an application program resident in the network node. The method of claim 1, wherein said at least one network node communicate via the mobile communication network by a direct radio connection.
11. The method of claim 11, wherein the direct radio connection only exists between the directory server node and each remaining network node in said at least one network node.
12. The method of claim 1, wherein the mobile ad hoc communication network is a Bluetooth piconet, the directory server node is a master device in the Bluetooth piconet, and each remaining network node in said at least one network node is a slave device in the Bluetooth piconet. 78S5738ch N, 13. A method of performing device detection and service discovery in a mobile ad hoc communications network including at least one network node, each network node storing a local application directory, comprising: Sselecting a directory server node from said at least one network node, the directory server node having a coverage area and storing a combined application directory; receiving an inquiry message at a listening node that enters the coverage area; sending a notification message to the directory server node, the notification message 00 comprising the local application directory stored in the listening node; Cc receiving an update message from the directory server node, the update message Scomprising an update portion of the combined application directory for updating the local application directories of each of the nodes within the mobile ad hoc communications network, wherein the directory server node stores an update to the combined application directory based on a comparison of the local application directory included with the notification message and the combined application directory.
14. The method of claim 13, wherein the combined application directory stores a reference to each application program stored in said at least one network node, and wherein the local application directory stores a reference to each application program stored in the network node associated with the local application directory. The method of claim 14, wherein the reference stored in the combined application directory, and the reference stored in the local application directory, include an application identifier, a network node identifier, and an application role.
16. The method of claim 13, wherein the inquiry message is a general inquiry access code message.
17. The method of claim 13, wherein the notification message is an arrival notification and the listening node sends the arrival notification to initiate the listening node entering the mobile ad hoc communications network. 785738 cxh c 18. The method of claim 13, wherein the notification message is a departure notification and the listening node sends the departure notification to initiate the listening node leaving the mobile ad hoc communication network.
19. The method of either one of claims 17 or claim 18, wherein the comparison identifies at least one entry in the local application directory that appears in the combined application directory. 00 The method of claim 19, wherein the storing of the update to the combined application Sdirectory further comprises: deleting from the combined application directory each entry in the local application directory associated with the listening node that appears in the combined application directory.
21. The method of claim 19, wherein a portion sent to each network node comprises an update portion of the combined application directory that is a counterpart application to an application program resident in the network node.
22. The method of claim 13, wherein said at least one network node communicate via the mobile communication network by a direct radio connection.
23. The method of claim 22, wherein the direct radio connection only exists between the directory server node and each remaining network node in said at least one network node.
24. The method of claim 13, wherein the mobile ad hoc communication network is a Bluetooth piconet, the directory server node is a master device in the Bluetooth piconet, and each remaining network node in said at least one network node is a slave device in the Bluetooth piconet. DATED this Eleventh Day of May, 2007 Nokia Corporation Patent Attorneys for the Applicant SPRUSON FERGUSON 785738 cxh
Applications Claiming Priority (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US10/284,135 US6909721B2 (en) | 2002-10-31 | 2002-10-31 | Device detection and service discovery system and method for a mobile ad hoc communications network |
US10/284,135 | 2002-10-31 | ||
US10/662,407 US7590097B2 (en) | 2002-10-31 | 2003-09-16 | Device detection and service discovery system and method for a mobile ad hoc communications network |
US10/662,407 | 2003-09-16 | ||
PCT/IB2003/004843 WO2004040918A2 (en) | 2002-10-31 | 2003-10-30 | Device detection and service discovery for mobile networks |
Publications (2)
Publication Number | Publication Date |
---|---|
AU2003278417A1 AU2003278417A1 (en) | 2004-05-25 |
AU2003278417B2 true AU2003278417B2 (en) | 2007-05-31 |
Family
ID=32233093
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
AU2003278417A Ceased AU2003278417B2 (en) | 2002-10-31 | 2003-10-30 | Device detection and service discovery for mobile networks |
Country Status (7)
Country | Link |
---|---|
EP (1) | EP1556966A4 (en) |
JP (2) | JP4050297B2 (en) |
KR (1) | KR100712047B1 (en) |
AU (1) | AU2003278417B2 (en) |
BR (1) | BR0315766A (en) |
CA (1) | CA2501566C (en) |
WO (1) | WO2004040918A2 (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7493373B2 (en) | 2004-12-27 | 2009-02-17 | Nokia Corporation | Providing service distribution between distributed applications |
US8559350B2 (en) * | 2005-12-20 | 2013-10-15 | Microsoft Corporation | Mechanism to convey discovery information in a wireless network |
KR100829248B1 (en) * | 2006-07-14 | 2008-05-14 | 엘지전자 주식회사 | Method of updating a software package in a mobile communication terminal using an ad-hoc communication, the mobile communication terminal thereof, method of setting up a serving terminal in an ad-hoc network, and method of updating a software package of a client terminal using a serving terminal in the ad-hoc network |
US8616976B2 (en) | 2006-11-07 | 2013-12-31 | Core Wireless Licensing S.A.R.L. | Gaming via peer-to-peer networks |
US7734717B2 (en) | 2006-12-05 | 2010-06-08 | Nokia Corporation | Software distribution via peer-to-peer networks |
US7970350B2 (en) * | 2007-10-31 | 2011-06-28 | Motorola Mobility, Inc. | Devices and methods for content sharing |
US9043478B2 (en) | 2009-12-15 | 2015-05-26 | Qualcomm Innovation Center, Inc. | Methods and apparatus for using a distributed message bus for ad hoc peer-to-peer connectivity |
US10123187B2 (en) * | 2012-04-17 | 2018-11-06 | Qualcomm Incorporated | Methods and apparatus for multiplexing application identifiers for peer-to-peer discovery systems |
US20140214940A1 (en) * | 2013-01-31 | 2014-07-31 | Sony Corporation | Networked devices matching capabilities with tasks |
US10003659B2 (en) * | 2014-10-31 | 2018-06-19 | Qualcomm Incorporated | Efficient group communications leveraging LTE-D discovery for application layer contextual communication |
CN114553730B (en) * | 2022-04-27 | 2022-07-15 | 远江盛邦(北京)网络安全科技股份有限公司 | Application identification method and device, electronic equipment and storage medium |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4398042B2 (en) * | 2000-01-28 | 2010-01-13 | パナソニック株式会社 | Transmission device, reception device, transmission / reception device, transmission method, and reception method |
JP2001344163A (en) * | 2000-05-31 | 2001-12-14 | Matsushita Electric Ind Co Ltd | Signal processing device, medium, and information assembly |
JP2002099473A (en) * | 2000-09-25 | 2002-04-05 | Casio Comput Co Ltd | Method and device for collecting service information of network, and record medium storing service information collection program of network |
US8126982B2 (en) * | 2001-02-16 | 2012-02-28 | International Business Machines Corporation | Method, network device and computer program product for performing service discovery in a pervasive network |
DE10112409B4 (en) * | 2001-03-13 | 2005-06-16 | M-Creations Gmbh | Method and system for data management, and appropriate use of the method and / or the system |
US20020178216A1 (en) * | 2001-03-13 | 2002-11-28 | Stefan Walther | Method and system for data management |
JP2002281546A (en) * | 2001-03-15 | 2002-09-27 | Sharp Corp | Radio communication system |
US7089298B2 (en) | 2001-08-20 | 2006-08-08 | Nokia Corporation | Naming distribution method for ad hoc networks |
KR100400823B1 (en) * | 2001-11-01 | 2003-10-08 | 주식회사 유한정밀 | Dart feeding manipulator |
-
2003
- 2003-10-30 JP JP2005501839A patent/JP4050297B2/en not_active Expired - Fee Related
- 2003-10-30 WO PCT/IB2003/004843 patent/WO2004040918A2/en active IP Right Grant
- 2003-10-30 BR BR0315766-0A patent/BR0315766A/en not_active IP Right Cessation
- 2003-10-30 AU AU2003278417A patent/AU2003278417B2/en not_active Ceased
- 2003-10-30 KR KR1020057007627A patent/KR100712047B1/en not_active IP Right Cessation
- 2003-10-30 CA CA2501566A patent/CA2501566C/en not_active Expired - Fee Related
- 2003-10-30 EP EP03769723A patent/EP1556966A4/en not_active Withdrawn
-
2007
- 2007-07-11 JP JP2007181700A patent/JP4563425B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
WO2004040918A2 (en) | 2004-05-13 |
AU2003278417A1 (en) | 2004-05-25 |
KR100712047B1 (en) | 2007-04-27 |
BR0315766A (en) | 2005-09-06 |
JP2008017495A (en) | 2008-01-24 |
JP2006510124A (en) | 2006-03-23 |
EP1556966A4 (en) | 2009-01-21 |
WO2004040918A3 (en) | 2005-05-26 |
CA2501566C (en) | 2012-07-10 |
CA2501566A1 (en) | 2004-05-13 |
JP4563425B2 (en) | 2010-10-13 |
JP4050297B2 (en) | 2008-02-20 |
EP1556966A2 (en) | 2005-07-27 |
KR20050063798A (en) | 2005-06-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7590097B2 (en) | Device detection and service discovery system and method for a mobile ad hoc communications network | |
JP4563425B2 (en) | Device detection and service discovery system and method for mobile ad hoc communication networks | |
EP1517488A2 (en) | Mechanism for improving connection control in peer-to-peer ad-hoc networks | |
US7313120B2 (en) | Application control in peer-to-peer ad-hoc communication networks | |
US8060590B2 (en) | Distance-aware service discovery mechanism for determining the availability of remote services in wireless personal area networks | |
KR100700688B1 (en) | Customized messaging between wireless access point and services | |
US6795688B1 (en) | Method and system for personal area network (PAN) degrees of mobility-based configuration | |
EP1542409B1 (en) | Protocol for multi-hop ad-hoc networks | |
US20090161582A1 (en) | Method for intelligently selecting wireless access point | |
US20080267147A1 (en) | Automatic Discovery and Connectivity Protocol for Bluetooth Scatternet Formation | |
CN104967614A (en) | Method and device for supporting failover between network protocols | |
WO2002052793A1 (en) | Device roles and piconet connections | |
US9301078B2 (en) | Network-intelligent scanner | |
JP3771850B2 (en) | Method for performing service discovery, network device, and computer program element | |
WO2008024099A2 (en) | Peer-to-peer network and user information discovery and sharing for mobile users and devices | |
Hämäläinen et al. | Service Discovery in Mobile Peer-to-Peer Environment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FGA | Letters patent sealed or granted (standard patent) | ||
MK14 | Patent ceased section 143(a) (annual fees not paid) or expired |