Method and system for establishing communication between at least two devices
AssigneeInternational Business Machines Corporation
InventorsVilas S. Ketkar, Shawn D. Moe, Lakshman R. Sakaray
Life of this patent
Estimating the term…
Abstract
The present invention is related to a method for communicating features supported by a device to at least one other device. The method includes providing a bit stream by the device, where at least one bit in the bit stream represents a feature supported by the device. In a second aspect, a method for establishing a communication session between at least two devices includes initiating communication between a first device and a second device, exchanging a bit stream associated with the first device and a bit stream associated with the second device, and identifying mutually supported features.
Claims13
A method for communicating application programming interface (API) capabilities supported by a database of a first device to one or more second devices for establishing communication between the first device and the one or more second devices, comprising the steps of:
- generating a first bit stream having bits in a predetermined sequence successively arranged from lowest functional level to highest functional level to send from the first device to the one or more second devices, the first bit stream representing a highest API feature and intermediary API features installed on the first device, wherein the installed intermediary API features of the first device are not required to utilize the installed highest API feature;
- receiving a second bit stream having bits in a predetermined sequence successively arranged from lowest functional level to highest functional level sent from one of the one or more second devices to the first device, the second bit stream representing a highest API feature and intermediary API features installed on the second device wherein the installed intermediary API features of the one of the one or more second devices are not required to utilize the installed highest API feature;
- and
- comparing the first and second bit streams in relation to the predetermined sequence at the first device and at the one of the one or more second devices to configure communications between the APIs for mutually supported API features, the mutually supported features including a highest API feature and one or more intermediary API features commonly installed to both the first device and the one of the one or more second devices, and,
- adapting processing to utilize a resulting set of the mutually supported API features during the communication between the first device and the one of the one or more second devices by installing the highest API feature of the second bit stream and only the intermediary API features of the second bit stream that are not already installed in the first device,
- wherein the first device and the one or more second devices communicate across a heterogeneous network, the first device and each of the one or more second devices are any of a client and server, and the API on the first and the one or more second devices comprises one or more of Open Database Connectivity (ODBC), Object Linking and Embedded Database (OLEDB) or Java Database Connectivity (JDBC).
A method for communicating capabilities supported by a first device to a plurality of second devices for establishing communication, comprising the step of:
- receiving a first bit stream having bits in a predetermined sequence successively arranged from lowest functional level to highest functional level at each of the plurality of second devices from the first device, the bit stream representing a highest API feature installed and intermediary API features installed on the first device, wherein all of the intermediary API features are not required to utilize the highest API feature;
- comparing the first bit stream and each of the plurality of second devices bit streams to determine a highest common API feature and to determine which of the intermediary API features need to be installed in the first device for communication with each of the plurality of second devices using the highest common API feature and common intermediary API features,
- adapting processing to utilize a resulting set of the determined API features for each of communication as between the first bit stream and each of the plurality of second devices bit streams,
- wherein the first device and each of the plurality of second devices communicate across a heterogeneous network, the first device and each of the plurality of second devices are any of a client and server, and the API on the first and each of the plurality of second devices comprises one or more of Open Database Connectivity (ODBC), Object Linking and Embedded Database (OLEDB) or Java Database Connectivity (JDBC).
Dependencies are inferred from the claim text.