Application control in peer-to-peer ad-hoc communication networks
Abstract
A computer system, method, and computer program product for controlling access to an application program in a wireless device connected to an ad-hoc communications network. The method comprises sending an inquiry message to the network, receiving a response, choosing a selected application, and examining control parameters associated with the selected application. The control parameters dictate a behavior of the selected application such as allowing or refusing communication with the selected application. When a nearby wireless device includes a matching application, connecting the selected application and the matching application further comprises sending a connection request, receiving connection response, launching the selected application, and sending a service request. When the selected application closes, the method further comprises erasing the selected application. To choose the selected application, the method further comprises retrieving an entry from a distributed application directory or selecting the application based on a priority assigned to the entry.

Term
Term ended
Projected expiry passed 14 September 2024, 2 years ago.
- Priority
- Filed
- Published
- Projected expiry
- Today
26 claims: 10 independent, 16 dependent
- 1A system for controlling access to an application program in a wireless device connected to an ad-hoc communications network, comprising:a memory device;and a processor disposed in communication with the memory device, the processor configured to: send an inquiry message to the ad-hoc communications network;receive a response to the inquiry message from a nearby wireless device;choose a selected application from a list of application programs;and examine at least one control parameter associated with the selected application.
- 4A method for controlling access to an application program in a wireless device connected to an ad-hoc communications network, comprising:sending an inquiry message to the ad-hoc communications network;receiving a response to the inquiry message from a nearby wireless device;choosing a selected application from a list of application programs;and examining at least one control parameter associated with the selected application.
- 8A computer program product for controlling access to an application program in a wireless device connected to an ad-hoc communications network, comprising:a computer readable medium storing: program code for sending an inquiry message to the ad-hoc communications network;program code for receiving a response to the inquiry message from a nearby wireless device;program code for choosing a selected application from a list of application programs;and program code for examining at least one control parameter associated with the selected application.
- 10A system for controlling access to an application program in a wireless device connected to an ad-hoc communications network, comprising:a memory device;and a processor disposed in communication with the memory device, the processor configured to: receive an inquiry message;send a response to the inquiry message;receive a connection request;send an accept connections message;receive a service request to connect to an application;and examine at least one control parameter associated with a matching application program for the application.
- 13A method for controlling access to an application program in a wireless device connected to an ad-hoc communications network, comprising:receiving an inquiry message;sending a response to the inquiry message;receiving a connection request;sending an accept connections message;receiving a service request to connect to an application;and examining at least one control parameter associated with a matching application program for the application.
- 16A computer program product for controlling access to an application program in a wireless device connected to an ad-hoc communications network, comprising:a computer readable medium storing: program code for receiving an inquiry message;program code for sending a response to the inquiry message;program code for receiving a connection request;program code for sending an accept connections message;program code for receiving a service request to connect to an application;and program code for examining at least one control parameter associated with a matching application program for the application.
- 17A system for controlling access to a preferred application program in a wireless device, wherein an ad-hoc communications network connects at least one device and supports at least one application program, said at least one device including the wireless device, and said at least one application program including the preferred application program, comprising:a memory device;and a processor disposed in communication with the memory device, the processor configured to: maintain a local information database in each said at least one device, the local information database associating at least one prioritized application program with at least one control parameter, said at least one application program including said at least one prioritized application program, and said at least one prioritized application program including the preferred application program;conduct an inquiry of the ad-hoc communications network to discover at least one nearby device in said at least one device, the inquiry including an indication that said at least one nearby device may include a middleware layer;access the local information database to identify the preferred application program in said at least one prioritized application program;and access the local information database to examine said at least one control parameter associated with the preferred application program.
- 21A method for controlling access to a preferred application program in a wireless device, wherein an ad-hoc communications network connects at least one device and supports at least one application program, said at least one device including the wireless device, and said at least one application program including the preferred application program, comprising:maintaining a local information database in each said at least one device, the local information database associating at least one prioritized application program with at least one control parameter, said at least one application program including said at least one prioritized application program, and said at least one prioritized application program including the preferred application program;conducting an inquiry of the ad-hoc communications network to discover at least one nearby device in said at least one device, the inquiry including an indication that said at least one nearby device may include a middleware layer;accessing the local information database to identify the preferred application program in said at least one prioritized application program;and accessing the local information database to examine said at least one control parameter associated with the preferred application program.
- 25A computer program product for controlling access to a preferred application program in a wireless device, wherein an ad-hoc communications network connects at least one device and supports at least one application program, said at least one device including the wireless device, and said at least one application program including the preferred application program, comprising:a computer readable medium storing: program code for maintaining a local information database in each said at least one device, the local information database associating at least one prioritized application program with at least one control parameter, said at least one application program including said at least one prioritized application program, and said at least one prioritized application program including the preferred application program;program code for conducting an inquiry of the ad-hoc communications network to discover at least one nearby device in said at least one device, the inquiry including an indication that said at least one nearby device may include a middleware layer;program code for accessing the local information database to identify the preferred application program in said at least one prioritized application program;and program code for accessing the local information database to examine said at least one control parameter associated with the preferred application program.
- 26A system for controlling access to a preferred application program in a wireless device, wherein an ad-hoc communications network connects at least one device and supports at least one application program, said at least one device including the wireless device, and said at least one application program including the preferred application program, comprising:means for maintaining a local information database in each said at least one device, the local information database associating at least one prioritized application program with at least one control parameter, said at least one application program including said at least one prioritized application program, and said at least one prioritized application program including the preferred application program;means for conducting an inquiry of the ad-hoc communications network to discover at least one nearby device in said at least one device, the inquiry including an indication that said at least one nearby device may include a middleware layer;means for accessing the local information database to identify the preferred application program in said at least one prioritized application program;and means for accessing the local information database to examine said at least one control parameter associated with the preferred application program.
Independent claims10
68 paragraphs in 6 sections, as filed
CROSS-REFERENCE TO RELATED APPLICATIONS
This application for letters patent is related to and incorporates by reference United States patent application serial number 10/284,135, 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 October 31, 2002. This application for letters patent is also related to and incorporates by reference United States continuation-in-part patent application serial number SS/XXX,YYY, 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 SS/XXX,YYY, 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. The assignee is the same in this patent application and the related patent applications.
FIELD OF THE INVENTION
The present invention relates, in general, to communication between devices connected to a wireless communication network. In particular, the present invention is a system and method for controlling access to an application program in a wireless device connected to a spontaneous and instant (ad-hoc) communications network.
BACKGROUND OF THE INVENTION
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 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 speed of one Mbps and a power consumption low enough for use in personal, portable electronics such as a personal digital assistance or mobile phone. A description of the Bluetooth communication protocol and device operation principles is in <i><u>Bluetooth Special Interest Group. Specification of the Bluetooth System</u></i>, version 1.1, volumes 1 and 2, February 22, 2001. Another example of a wireless PAN technology is a standard for transmitting data via infrared light waves developed by the Infrared Data Association (IrDA), a group of device manufacturers. IrDA ports enable computers, such as a laptop, or devices, such as a printer, to transfer data from one device to another without any cables. IrDA ports support roughly the same transmission rates as traditional parallel ports and the only restriction on their use is that the two devices must be within a few feet of each other and have a clear line of sight. 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.
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.
In the future, the Bluetooth Standard will likely support the interconnection of multiple piconets to form a multi-hop ad-hoc network, or scattemet. In a scatternet, a connecting device forwards traffic between different piconets. The connecting device may serve as a master device in one piconet, 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.
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 proximity link between the two devices. The requesting and responding Bluetooth device use the proximity link and a service discovery protocol to discover the services offered by the other Bluetooth device and how to connect to those services.
In a traditional computing environment, an application program that is running in a computer is resident in the memory of the computer and is constrained by factors such as the memory size, processor speed, and resources. Typically, these factors do not impose limits on the application. The user controls the application (i.e., when an application is started, closed, and its relationship to other applications) using a shell program or a graphical desktop environment. The ability to auto-start or pre-configure the application exists, but only in the context of Plug-n-Play drivers and interfaces.
In a wireless computing environment, the computing environment necessitates strict application control in terminal devices. First, the number of bytes of memory that the user interface requires in a mobile device restricts the ability to run applications in parallel. Second, a user typically cannot control the establishment of a proximity connection between two peer devices. The user may know that there is a high probability of establishing the proximity connection, but cannot reliably predict the time or place of the establishment. Third, when multiple applications must be presented, the order that the applications will be presented to a user depends on factors such as the user's preferences and the configuration of the server. The server may combine several applications and run those applications in a certain order because the server's instructions indicate that the certain order will optimize the experience for the user. For example, a browsing application will run first to view a movie file, then a banking application will run to purchase a ticket, followed by a ticketing application to accept the purchased ticket, and finally, a convenience application will run to change the telephone ring to silent mode. Fourth, an application can be dynamically loaded and run on a terminal device (e.g., applets). In addition to security issues, this ability of the terminal device raises issues regarding the user's control of the terminal device.
Thus, there is a need for a system and method for controlling access to an application program in a wireless device connected to a spontaneous and instant (ad-hoc) communications network. The system and method will allow a user or service provider to create a rule set that describes the desired behavior of the application programs. The rule set will define the automatic launching of the application programs and the allowed behavior of the application programs following the establishment of a proximity connection. The present invention addresses this need.
SUMMARY OF THE INVENTION
A computer system, method, and computer program product for controlling access to an application program in a wireless device connected to an ad-hoc communications network. The method comprises sending an inquiry message to the ad-hoc communications network, receiving a response to the inquiry message from a nearby wireless device, choosing a selected application from a list of application programs, and examining control parameters associated with the selected application. In one embodiment, the control parameters dictate a behavior of the selected application such as allowing communication with the selected application, refusing communication with the selected application, downloading the selected application, or distributing the selected application. When a nearby wireless device includes a matching application, the method further comprises sending a connection request to the nearby wireless device, receiving an accept connections message from the nearby wireless device, launching the selected application, and sending a service request to connect the selected application and the matching application. When a user closes the selected application that was launched, the method further comprises erasing the selected application. In one embodiment, to choose the selected application, the method further comprises retrieving an entry from an application directory stored in a middleware layer. Alternatively, the choice of the selected application is based on a priority assigned to the entry.
In another embodiment, the method comprises receiving an inquiry message, sending a response to the inquiry message, receiving a connection request, sending an accept connections message, receiving a service request to connect to an application, and examining control parameters associated with a matching application program for the application. In one embodiment, the control parameters dictate a behavior of the selected application such as allowing communication with the selected application, refusing communication with the selected application, downloading the selected application, or distributing the selected application. In another embodiment, the method further comprises launching the matching application, and receiving a service request to connect the selected application and the matching application. When a user closes the selected application that was launched, the method further comprises erasing the selected application.
BRIEF DESCRIPTION OF THE DRAWINGS
The accompanying figures best illustrate the details of the system and method for launching and controlling application programs resident in wireless devices in a spontaneous and instant (ad-hoc) communications network, both as to its structure and operation. Like reference numbers and designations in these figures refer to like elements.
Figure <b>1</b> 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.
Figure <b>2A</b> is a block diagram that illustrates the hardware and software components comprising server <b>110</b> shown in Figure <b>1</b>, in accordance with one embodiment of the present invention.
Figure <b>2B</b> is a block diagram that illustrates the hardware and software components comprising terminal <b>120</b> shown in Figure <b>1</b>, in accordance with one embodiment of the present invention.
Figures <b>3A-3B</b> are flow diagrams of an embodiment of a process that accesses the control parameters stored in the distributed application directory.
Figures <b>4A-4D</b> are flow diagrams of various embodiments of a process for application program control in a mobile ad-hoc communications network.
Figure <b>5</b> 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.
DETAILED DESCRIPTION OF THE INVENTION
Figure <b>1</b> 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 <b>1</b>, piconet <b>100</b> includes server <b>110</b> and five instances of terminal <b>120</b>. Server <b>110</b> maintains the network clock and is the communication manager for each instance of terminal <b>120</b>. Server <b>110</b> typically initiates an exchange of data with an instance of terminal <b>120</b>. Two instances of terminal <b>120</b> typically communicate through the server <b>110</b> however, if two instances of terminal <b>120</b> communicate directly, one instance will assume the role of server, or master, and the other instance will assume the role of client, or slave.
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.
The disclosed invention assigns an identifier to each application placed under control. In one embodiment, the identifier is a non-unique identifier that abstractly identifies the application. In another embodiment, the identifier specifies a function that the application performs. In another embodiment, the identifier specifies a communication protocol that the application uses to communicate. Thus, the identifier may indicate that several occurrences of an application each occurrence authored in a different computer language, or targeted to run on a different hardware platform or fulfill a different application role may be considered to be the same because they can interoperate and fulfill the same function. However, in yet another embodiment, the identifier is a unique identifier that identifies the application.
Figure <b>2A</b> is a block diagram that illustrates the hardware and software components comprising server <b>110</b> shown in Figure <b>1</b>, in accordance with one embodiment of the present invention. Server <b>110</b> is a general-purpose wireless device. Bus <b>200</b> is a communication medium that connects keypad <b>201</b>, display <b>202</b>, central processing unit (CPU) <b>203</b>, and radio frequency (RF) adapter <b>204</b> to memory <b>210</b>. RF adapter <b>204</b> connects via a wireless link to terminal <b>120</b> and is the mechanism that facilitates network traffic between server <b>110</b> and terminal <b>120</b>.
CPU <b>203</b> 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 <b>210</b>. Memory <b>210</b> includes operating system software <b>211</b>, application programs <b>212</b>, and middleware software <b>220</b>. Operating system software <b>211</b> controls keypad <b>201</b>, display <b>202</b>, RF adapter <b>204</b>, and the management of memory <b>210</b>. Application programs <b>212</b> control the interactions between a user and server <b>110</b>. Middleware software <b>220</b> includes an application program interface (API) <b>221</b> that help an application program running on server <b>110</b> find and communicate with a counterpart application running on terminal <b>120</b>. To quickly locate each application, middleware software <b>220</b> also includes application directory <b>230</b> to track, for each application that is resident in each device in piconet <b>100</b>, a reference to the device storing the application, an identifier for the application, the role that the application performs, and the control parameters that define the user or service provider rules for controlling the application. In one embodiment, the reference to the device storing the application is the MAC address of the device.
Figure <b>2B</b> is a block diagram that illustrates the hardware and software components comprising terminal <b>120</b> shown in Figure <b>1</b>, in accordance with one embodiment of the present invention. Terminal <b>120</b> is a general-purpose wireless device. Bus <b>250</b> is a communication medium that connects keypad <b>251</b>, display <b>252</b>, CPU <b>253</b>, and RF adapter <b>254</b> to memory <b>260</b>. RF adapter <b>254</b> connects via a wireless link to server <b>110</b> or another terminal <b>120</b> and is the mechanism that facilitates network traffic between server <b>110</b> and terminal <b>120</b>.
CPU <b>253</b> 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 <b>260</b>. Memory <b>260</b> includes operating system software <b>261</b>, application programs <b>262</b>, and middleware software <b>270</b>. Operating system software <b>261</b> controls keypad <b>251</b>, display <b>252</b>, RF adapter <b>254</b>, and the management of memory <b>260</b>. Application programs <b>262</b> control the interactions between a user and terminal <b>120</b>. Middleware software <b>270</b> includes an API <b>271</b> that help an application program running on terminal <b>120</b> find and communicate with a counterpart application running on server <b>110</b> or another terminal <b>120</b>. To quickly locate each application, middleware software <b>270</b> also includes application directory <b>280</b> to track, for each application that is resident in each device in piconet <b>100</b>, a reference to the device storing the application, an identifier for the application, the role that the application performs, and the control parameters that define the user or service provider rules for controlling the application. In one embodiment, the reference to the device storing the application is the MAC address of the device.
In one embodiment, the configuration of memory <b>210</b> and memory <b>260</b> is identical. In another embodiment, the configuration of memory <b>210</b> and memory <b>260</b> only includes the software necessary to perform the essential tasks of server <b>110</b> and terminal <b>120</b>, respectively. For example, if terminal <b>120</b> 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 <b>260</b>.
In the disclosed invention, the distributed application directory stored in the middleware software is a database that makes it possible for a device to know something of the requirements and wishes of peer devices to which it connects. The database also contains information of local applications and their requirements. The information includes control parameters, or combinations of control parameters, as well as priority information, indicating importance of the application set by the user. These control parameters are stored in the distributed application directory, or database, and are enforced by the middleware software. In one embodiment, there are three categories of control parameters, application states, user-defined application settings, and macros (i.e., combinations of user-defined application settings).
<u>Application States</u>
"Installed" - An application program state indicating that the application program is resident and installed in the local memory of a wireless device. When an application program is installed, the local memory includes a binary, or digital, image of the application program.
"In-Machine" - An application program state indicating that the application program is available to the middleware software, but a binary, or digital, image of the application program is not installed into the local memory. The In-Machine state is the result of an auto-launchable, non-persistent distribution of an application program.
"Running" - An application program state indicating that the application program is currently running in the wireless device. An application program that is auto-launched will achieve the Running state when it launches and is able to communicate with peer devices. However, even though an application program may not be marked as an Auto-Launch application program, the application program can still be started manually by a user and reach the Running state by user interaction.
<u>User-Defined Application Settings</u>
Auto-Launch - A user may configure an application program to automatically start in a wireless device when a possible communication opportunity is available. The Auto-Launch setting is available for an application program regardless of the application state, Installed, In-Machine, or Running.
Auto-Launch Priority - A numerical value in a given range (e.g., the range 0-127) that defines the willingness for a user to automatically launch an application program when several applications need to be automatically launched using a connection between pairs of wireless devices. The first application program to be launched is the application program having the highest sum of the two Auto-Launch Priority values, the local application priority and the application priority to the peer device. An application program already running in either device takes absolute priority over an application program that has not yet been launched. The example that follows illustrates this user-defined application setting.
Refused ― A wireless device that is receiving connection requests may mark an application program as being banned from running on the wireless device. If this value is set, the associated application program will never be launched, moved, or proposed for download to the wireless device.
Wanted - An application program that is not installed in a wireless device, but that a user wants to run is a Wanted application program. This setting is an authorization by the user to download and install a binary image of the application program from another wireless device.
Distributable - An application program setting denoting that a peer device, typically in a server role, is prepared to distribute binary images of the associated application program to connected peer devices.
Erase-After-Use - A peer device, typically in a server role, can configure an application program to be Distributable and non-persistent. Thus, the application program can be given to a peer device in order to establish communication, but the application program will never be installed on the peer device because it is automatically erased from the peer device after the use. Typical examples of this type of application program includes banking clients or multi-player game clients.
<u>Macros</u>
Auto-Download - If the middleware software database information indicates that an application program is not installed in a local device, is an Auto-Launch or Wanted application, has been marked by a peer device as Distributable, as well as Auto-Launchable or Running, the application program should be downloaded and eventually launched. However, if the non-persistent flag is set, the application program may disappear after being used.
Downloadable - If the middleware software database information indicates that an application program is marked as Distributable in the peer, and is locally not an Auto-Launch application or a Wanted application, and is neither Installed nor Refused, then the application program is available to be downloaded and installed. A common case satisfying the above requirement is that there is no mention about the application in the local device, and it is marked as Distributable in the peer device.
Auto-Launch-Everything - This macro has certain limits, but is accomplished by having an Auto-Launch application program in a client wireless device that takes information of Distributable application programs in a server wireless device, and configures the middleware software to Auto-Launch those application programs. However, the user may define and introduce some restrictions.
Transfer and State Indications - When a device automatically launches an application, the device changes the state of the application from IDLE to RUNNING. Similarly, when a device terminates a running application, the device changes the state of the application from RUNNING to IDLE. This dynamic information is exchanged as part of the other application settings, because it is necessary, for example, when calculating the priority of the application. In addition, two application parameters, CLOSE and RELEASE-HISTORY, are never part of the parameter set and are only added and removed as additional data when parameter exchanges take place between specific peer devices. CLOSE is an indication to a given peer that the application session between the local device and the peer is closed, although the local application continues in a RUNNING state. CLOSE is used by server applications with respect to their clients. Normally, the fact that an application has been run and terminated between two peers is stored, and inhibits re-triggering of the same application as long as the data connection exists between the two devices. In some cases we want an application to be run again (e.g., the user starts the application manually after it has been automatically run once). In this case the RELEASE-HISTORY is sent to the peer device, releasing the memory regarding the given application, and a new session for the application in question can be established.
Figure <b>3A</b> and Figure <b>3B</b> are flow diagrams of an embodiment of a process that accesses the control parameters stored in the distributed application directory. Figure <b>3A</b> illustrates a portion of the process that accesses the control parameters to launch an application and enable two devices to communicate via the application. Furthermore, Figure <b>3A</b> corresponds to the example rule set macro that follows as "Example 1 - Macro". Figure <b>3B</b> illustrates another portion of the process that accesses the control parameters to determine whether an application is runnable. Furthermore, Figure <b>3B</b> corresponds to the example rule set macro that follows as "Example 2 - Macro Ordering".
The portion of the process shown in Figure <b>3A</b> illustrates the logic for starting application A when it is runnable in device D and peer P (step <b>300</b>). The process first determines whether application A is in device D (step <b>301</b>). If application A is not in device D, the process copies application A from peer P to device D (step <b>302</b>) and installs application A either permanently or temporarily (step <b>303</b>). If application A is in device D, the process then determines whether application A is in peer P (step <b>304</b>). If application A is not in peer P, the process copies application A from device D to peer P (step <b>305</b>). If application A is in peer P, the process then determines whether application A is running in peer P and device D (step <b>306</b>). If application A is running in peer P and device D, the process establishes a link connection between device D and peer P and allows application A to communication until termination (step <b>307</b>). If application A is not running in peer P and device D, the process then determines whether application A is running in device D (step <b>308</b>). If application A is not running in device D, the process starts application A in device D (step <b>309</b>). If application A is running in device D, the process then returns to the beginning of the logic for starting application A (step <b>300</b>).
The portion of the process shown in Figure <b>3B</b> illustrates the logic for determining whether application A is runnable in device D which is connected to peer P (step <b>310</b>). The process first determines whether application A has been run before during the link connection between device D and peer P (step <b>311</b>). If application A has been run before during the link connection between device D and peer P, application is not runnable. If application A has not been run before during the link connection between device D and peer P, the process then determines whether the control parameters for application A in device D or peer P indicate that application A is refused (step <b>312</b>). If application A is refused, application A is not runnable. If application A is not refused, the process then determines whether application A is in device D (step <b>313</b>). If application A is in device D, the process then determines whether application A is in peer P (step <b>314</b>). If application A is in peer P, the process then determines whether application A is running or auto-launchable in device D and peer P (step <b>315</b>). If application A is running or auto-launchable in device D and peer P, application A is runnable. If application A is not running or auto-launchable in device D and peer P, application A is not runnable. If application A is not in peer P, the process then determines whether application A is distributable in device D (step <b>316</b>). If application A is distributable in device D, the process then determines whether application A is running or auto-launchable in device D and peer P (step <b>315</b>). If application A is running or auto-launchable in device D and peer P; application A is runnable. If application A is not running or auto-launchable in device D and peer P, application A is not runnable. If application A is not distributable in device D or if application A is not in device D, the process then determines whether application A is in peer P (step <b>317</b>). If application A is in peer P, the process then determines whether application A is distributable in peer P (step <b>318</b>). If application A is distributable in peer P, the process then determines whether application A is running or auto-launchable in device D and peer P (step <b>315</b>). If application A is running or auto-launchable in device D and peer P, application A is runnable. If application A is not running or auto-launchable in device D and peer P, application A is not runnable. If application A is not in peer P, application A is not runnable.
Example 1 that follows is an example of a rule set macro for installing and starting application programs. In this example, L indicates a local wireless device, P indicates a peer device, COMM indicates that communication is possible, PULL or PUSH indicates the transfer of the installation package, LAUNCH indicates the launching of the application program, and INSTALL indicates the installing of an application program. This example omits all references to version and role control. <tables id="tabl0001" num="0001"><img file="EP1517489A2_D0001.tif" /></tables>
A state machine evaluates the macro shown in Example 1. The macro is evaluated for each application program separately with the additional dimensions of version control and roles. If ordering is necessary because many operations cannot be performed in parallel, the macro defines the ordering as well. The first priority is assigned to communicate, and the last priority is assigned to start the download of the application program. Example 2 illustrates one embodiment of the macro defining the ordering. <tables id="tabl0002" num="0002"><img file="EP1517489A2_D0002.tif" /></tables>
In one embodiment, the launching order for applications can also be set by selective database distribution in a strictly client-server architecture. However, an ordering can also be achieved by not setting applications to be Auto-Launch application programs and by dynamically altering the running flag.
In another embodiment, the Auto-Launch priority is a useful tool, but device-dependent. It works in a peer-to-peer or local setting when a client is talking to a server, but in a network there are possible dead-lock situations. This is primarily because the server device probably serves all customers and applications simultaneously, and only uses the priority to try to affect the launching order in client devices. Thus, the application programs should be prepared to close themselves if a peer device is not located.
<u>Auto-Launch Priority Example</u>
The Auto-Launch Priority order is best described by the following example. Two peer devices, Device A and Device B establish a connection. Device A and Device B have the following applications Installed and marked as Auto-Launch application programs. <tables id="tabl0003" num="0003"><table frame="all"><tgroup cols="2" colsep="1" rowsep="1"><colspec colnum="1" colname="col1" colwidth="78.75mm" /><colspec colnum="2" colname="col2" colwidth="78.75mm" /><tbody valign="top"><row><entry namest="col1" nameend="col1" align="left">Device A:</entry><entry namest="col2" nameend="col2" align="left">CRASH-GAME (priority 100) SHARE-A-JOKE (priority 52) COPY-HOMEWORK (priority 36)</entry></row><row rowsep="1"><entry namest="col1" nameend="col1" align="left">Device B:</entry><entry namest="col2" nameend="col2" align="left">SHARE-A-JOKE (priority 43) COPY-HOMEWORK (priority 71)</entry></row></tbody></tgroup></table></tables>
In this example, Device A and Device B have two Auto-Launch application programs in common, COPY-HOMEWORK and SHARE-A-JOKE. COPY-HOMEWORK has an Auto-Launch Priority of 36 + 71 = 107. SHARE-A-JOKE has an Auto-Launch Priority of 52 + 43 = 95. Thus, COPY-HOMEWORK will start first because its Auto-Launch Priority of 107 is greater than the Auto-Launch Priority of 95 for SHARE-A-JOKE.
A necessary extension to this rule (to minimize deadlocks) is that application programs that are running in the peer device take absolute priority over application programs that are merely Auto-Launch programs. Thus, when Device A and Device B instead have the following applications Installed and marked as Auto-Launch application programs, the Auto-Launch Priority order should result in the order SHARE-A-JOKE, CRASH-GAME, COPY-HOMEWORK. <tables id="tabl0004" num="0004"><table frame="all"><tgroup cols="2" colsep="1" rowsep="1"><colspec colnum="1" colname="col1" colwidth="78.75mm" /><colspec colnum="2" colname="col2" colwidth="78.75mm" /><tbody valign="top"><row><entry namest="col1" nameend="col1" align="left">Device A:</entry><entry namest="col2" nameend="col2" align="left">CRASH-GAME (priority 100) SHARE-A-JOKE (priority 52) COPY-HOMEWORK (priority 36)</entry></row><row rowsep="1"><entry namest="col1" nameend="col1" align="left">Device B:</entry><entry namest="col2" nameend="col2" align="left">SHARE-A-JOKE (priority 43) (running) COPY-HOMEWORK (priority 71) CRASH-GAME (priority 0)</entry></row></tbody></tgroup></table></tables>
Figures <b>4A-4D</b> are flow diagrams of various embodiments of a process for application program control in a mobile ad-hoc communications network. The ad-hoc communications network connects a number of devices. Figures <b>4A-4D</b> illustrate two of these devices, source device <b>400</b>, and peer device <b>450</b>.
Source device <b>400</b> initiates the process shown in Figure <b>4A</b> by sending an inquiry request to the ad-hoc communications network (step <b>401</b>). Peer device <b>450</b>, one of the devices in the ad-hoc communications network that is in inquiry scan mode, receives the inquiry request (step <b>451</b>) and responds by sending an inquiry response message (step <b>452</b>). In one embodiment, the inquiry response message is a Bluetooth inquiry result command modified to indicate that peer device <b>450</b> includes a middleware layer. Source device <b>400</b> receives the inquiry response message (step <b>402</b>). Source device <b>400</b> accesses the local combined application directory (step <b>403</b>) stored in the middleware software portion of the memory for source device <b>400</b>. Source device <b>400</b> chooses a selected application from the local combined application directory (step <b>404</b>) and examines the control parameters associated with the selected application (step <b>405</b>).
The control parameters provide several user-defined alternatives for each application, as well as, the ability to combine alternatives into a macro. The process first determines whether the control parameters allow a connection between the selected application running on source device <b>400</b> and a matching application running on peer device <b>450</b> (step <b>406</b>). If the control parameters refuse a connection for this application on source device <b>400</b>, the process exits. If the control parameters allow a connection for this application on source device <b>400</b>, the process then determines whether the application program is resident in source device <b>400</b> (step <b>407</b>).
If the application program is resident in source device <b>400</b>, source device <b>400</b> sends a paging request message (step <b>408</b>). Peer device <b>450</b> receives the paging request message (step <b>453</b>) and sends a paging accept message in response (step <b>454</b>). Source device <b>400</b> receives the paging accept message (step <b>409</b>) and launches the selected application (step <b>410</b>). Once the selected application is running, source device <b>400</b> sends a service discovery request (step <b>411</b>). Peer device <b>450</b> receives the service discovery request (step <b>455</b>) and decides whether to refuse the connection (step <b>456</b>) based on the control parameters for the matching application for the selected application. If the control parameters specify to refuse the connection to the matching application, peer device <b>450</b> exits. If the control parameters specify to allow the connection to the matching application, peer device <b>450</b> sends a response to the service discovery request (step <b>457</b>). Source device <b>400</b> receives the response (step <b>412</b>) and communication begins between the selected application and the matching application. When the communication stops, source device <b>400</b> and peer device <b>450</b> may erase the selected application and the matching application, respectively, if the control parameters specify to erase after use.
If the application program is not resident in source device <b>400</b>, source device <b>400</b> then determines whether the application program is distributable (step <b>413</b>). If the application program is not distributable, the process exits. If the application program is distributable, source device <b>400</b> sends an offer for the selected application (step <b>414</b>). Peer device <b>450</b> receives the offer for the selected application (step <b>458</b>) and sends a request for the selected application in response (step <b>459</b>). Source device receives the request for the selected application (step <b>415</b>) and sends the selected application in response (step <b>416</b>). Peer device <b>450</b> receives the selected application (step <b>460</b>). Source device <b>400</b> then determines whether the application program is downloadable (step <b>417</b>). If the application program is not downloadable, the process exits. If the application program is downloadable, source device <b>400</b> sends a request for the selected application (step <b>418</b>). Peer device <b>450</b> receives the request for the selected application (step <b>461</b>) and sends the selected application in response (step <b>463</b>). Source device receives the download of the selected application (step <b>419</b>). To start the newly downloaded application program, the process repeats by determining whether the control parameters allow a connection for the newly downloaded application on source device <b>400</b> (step <b>406</b>).
Figure <b>4C</b> illustrates a process for determining a preferred application from the applications found in peer device <b>450</b> after connection establishment between source device <b>400</b> and peer device <b>450</b>. The process shown in Figure <b>4C</b> begins by prioritizing the applications in source device <b>400</b> (step <b>420</b>). Typically, the user of source device <b>400</b> accesses the graphical user interface to prioritize the applications. In one embodiment, the prioritization includes specifying a preferred application from the applications that source device <b>400</b> can access. In another embodiment, the prioritization includes ordering from most important to least important every application that source device <b>400</b> can access. In yet another embodiment, the prioritization includes ordering from most important to least important a portion of the applications that source device <b>400</b> can access. Once the applications are prioritized, source device <b>400</b> sends an inquiry request to the ad-hoc communications network (step <b>421</b>). Peer device <b>450</b>, one of the devices in the ad-hoc communications network that is in inquiry scan mode, receives the inquiry request (step <b>463</b>) and responds by sending an inquiry response message (step <b>464</b>). In one embodiment, the inquiry response message is a Bluetooth inquiry result command modified to indicate that peer device <b>450</b> includes a middleware layer. Source device <b>400</b> receives the inquiry response message (step <b>422</b>). Source device <b>400</b> examines the inquiry response message to determine whether the inquiry response message includes an indication that peer device <b>450</b> may include the middleware layer (step <b>423</b>). If the inquiry response message does not include the indication, the process exits. If the inquiry response message includes the indication, source device <b>400</b> conducts paging and service discovery with peer device <b>450</b> to establish a link connection (step <b>424</b> and step <b>465</b>). Following establishment of the link connection, source device <b>400</b> confirms whether peer device <b>450</b> includes the middleware layer (step <b>425</b>). In one embodiment, a recognition request message and subsequent response message will confirm whether peer device <b>450</b> includes the middleware layer. If peer device <b>450</b> does not include the middleware layer, the process exits. If peer device <b>450</b> includes the middleware layer, source device <b>400</b> accesses the combined directory (step <b>426</b>) and examines the control parameters associated with the prioritized applications and selects the preferred application for launching (step <b>427</b>). Subsequently, peer device <b>450</b> launches the requested application (step <b>466</b>).
In one embodiment, the distributed directory information includes the control parameters associated with the prioritized applications (i.e., preference information). Thus, the preference information is included in the distribution of the application directory for the peer device and determining whether to launch an application is a decision made by the source device locally using locally stored control parameters.
Figure <b>4D</b> illustrates a process for selecting peer device <b>450</b>, before connection establishment, from a number of nearby devices because peer device <b>450</b> includes at least one preferred application. The process shown in Figure <b>4D</b> begins by prioritizing the applications in source device <b>400</b> (step <b>428</b>). Typically, the user of source device <b>400</b> accesses the graphical user interface to prioritize the applications. In one embodiment, the prioritization includes specifying a preferred application from the applications that source device <b>400</b> can access. In another embodiment, the prioritization includes ordering from most important to least important every application that source device <b>400</b> can access. In yet another embodiment, the prioritization includes ordering from most important to least important a portion of the applications that source device <b>400</b> can access. Once the applications are prioritized, source device <b>400</b> sends an inquiry request to the ad-hoc communications network (step <b>429</b>). Peer device <b>450</b>, one of the devices in the ad-hoc communications network that is in inquiry scan mode, receives the inquiry request (step <b>467</b>) and responds by sending an inquiry response message (step <b>468</b>). In one embodiment, the inquiry response message is a Bluetooth inquiry result command modified to indicate that peer device <b>450</b> includes a middleware layer. Source device <b>400</b> receives the inquiry response message (step <b>430</b>). Source device <b>400</b> examines the inquiry response message to determine whether the inquiry response message includes an indication that peer device <b>450</b> may include the middleware layer (step <b>431</b>). If the inquiry response message does not include the indication, the process exits. If the inquiry response message includes the indication, source device <b>400</b> accesses the combined application directory (step <b>432</b>) and examines the control parameters associated with the prioritized applications (step <b>433</b>). The control parameters provide several user-defined alternatives for each application, as well as, the ability to combine alternatives into a macro. In one embodiment, the control parameter alternatives include allowing a connection between the selected application running on source device <b>400</b> and a matching application running on peer device <b>450</b> (step <b>434</b>). If the connection is not allowed, the process exits. If the connection is allowed, source device <b>400</b> conducts paging and service discovery with peer device <b>450</b> to establish a link connection (step <b>435</b> and step <b>469</b>). Following establishment of the link connection, source device <b>400</b> and peer device <b>450</b> launch the preferred application and begin communication (step <b>436</b> and step <b>470</b>).
Figure <b>5</b> 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 <b>120</b> shown in Figure <b>1</b> and Figure <b>2B</b>. In another embodiment, terminal X is a mobile device such as terminal <b>120</b> shown in Figure <b>1</b> and Figure <b>2B</b> and terminal Y is a mobile device such as server <b>110</b> shown in Figure <b>1</b> and Figure <b>2A</b>.
As shown in Figure <b>5</b>, 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 terminal 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 (1). 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 (1), and the "location info" bit (bit 17) to off (0). 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 (1), and the "telephony capable" bit (bit 22) to on (1). 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 (1), the "location info" bit (bit 17) to off (0), and the "telephony capable" bit (bit 22) to on (1). 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.
Following the inquiry, as shown in Figure <b>5</b>, 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 (e.g., by setting the "ad-hoc networking aware" bit (bit 16) to off (0)), no paging request message is transmitted and the communication session is disconnected. After conducting 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.
Following the connection to each nearby device, as shown in Figure 5, 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.
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 Figures <b>3A-3B</b> and Figures <b>4A-4D</b> to discover and launch applications and services.
Although the disclosed embodiments describe a fully functioning system and method for launching and controlling application programs resident in wireless devices in 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 system and method for launching and controlling application programs resident in wireless devices in a mobile ad-hoc communications network is not limited 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.
Contents6
12 sheets
Sheet 1 Sheet 2 Sheet 3 Sheet 4 Sheet 5 Sheet 6 Sheet 7 Sheet 8 Sheet 9 Sheet 10 Sheet 11 Sheet 12
Every citation, both ways
| Document | Relation | Office | Cited during |
|---|---|---|---|
| US10244570B2 | Cited by | United States of America | Applicant |
| CN104620514A | Cited by | China | Search report |
| US9277576B2 | Cited by | United States of America | Applicant |
| WO2006129154A1 | Cited by | World Intellectual Property Organization (WIPO) | Applicant |
| US10485041B1 | Cited by | United States of America | Applicant |
| US9635499B2 | Cited by | United States of America | Applicant |
| WO2006018696A1 | Cited by | World Intellectual Property Organization (WIPO) | International search |
| EP1940184A4 | Cited by | European Patent Office (EPO) | Search report |
| EP1937025A3 | Cited by | European Patent Office (EPO) | Search report |
| CN105446853A | Cited by | China | Search report |
| WO2013153260A1 | Cited by | World Intellectual Property Organization (WIPO) | International search |
| US9098357B2 | Cited by | United States of America | Applicant |
| WO2013153260A1 | Cited by | World Intellectual Property Organization (WIPO) | International search |
| EP2498882A1 | Cited by | European Patent Office (EPO) | Search report |
| EP2498882A4 | Cited by | European Patent Office (EPO) | Search report |
| EP1940184A1 | Cited by | European Patent Office (EPO) | Search report |
| US12035386B2 | Cited by | United States of America | Applicant |
| US10813151B2 | Cited by | United States of America | Applicant |
| KR100779901B1 | Cited by | Republic of Korea | Search report |
| WO2014038902A1 | Cited by | World Intellectual Property Organization (WIPO) | International search |
| EP1233337A2 | Cites | European Patent Office (EPO) | Search report |
| WO9817032A1 | Cites | World Intellectual Property Organization (WIPO) | Search report |
4 members in 2 offices
Priority claims5
| Document | Office | Kind | Date |
|---|---|---|---|
| 662469 | United States of America | – | |
| 66246903 | United States of America | A | |
| 66246903 | United States of America | A | |
| 662469 | – | – | – |
| US20030662469 | – | – | – |
Members4
| Document | Office | Kind | |
|---|---|---|---|
| US2005058108A1 | United States of America | A1 | |
| EP1517489A2This record | European Patent Office (EPO) | A2 | |
| US7313120B2 | United States of America | B2 | |
| EP1517489A3 | European Patent Office (EPO) | A3 |
10 legal events, as 2 offices reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | Office | |
|---|---|---|---|
| Application deemed to be withdrawnWithdrawn18D | 18D | EP | |
| Information on the status of an ep patent application or granted ep patentGrantedSTATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWNSTAA | STAA | EP | |
| Designated country de not longer valid8566 | 8566 | DE | |
| Designation fees paidAKX | AKX | EP | |
| Designated contracting statesAK | AK | EP | |
| Request for extension of the european patentAX | AX | EP | |
| Search report despatchedORIGINAL CODE: 0009013PUAL | PUAL | EP | |
| Designated contracting statesAK | AK | EP | |
| Request for extension of the european patentAX | AX | EP | |
| Public reference made under article 153(3) epc to a published international application that has entered the european phaseORIGINAL CODE: 0009012PUAI | PUAI | EP |
Numbers
- Publication
- 1517489
- Publication, DOCDB
- 1517489
- Publication, EPODOC
- EP1517489
- Application
- 4104441
- Application, DOCDB
- 04104441
- Application, EPODOC
- EP20040104441
Titles3
- German
- Anwendungssteuerung in peer-to-peer ad hoc Kommunikationsnetzen
- English
- Application control in peer-to-peer ad-hoc communication networks
- French
- Commande d'application entre entités homologues dans un réseau de communication ad hoc
Classification
- CPC, 6
- H04W48/14
- H04M2250/02
- H04W84/18
- H04L67/34
- H04M1/72412
- H04L67/51
- IPC, 3
- H04L12 56
- H04W48 14
- H04W84 18
Designated states2
- Contracting states, 1
- Türkiye
- Extension states, 1
- North Macedonia