COMMAND INTERFACE FOR COMMUNICATION TEST FRAMEWORK
First Claim
1. A tool for testing a plurality of different devices having a plurality of different device types, the plurality of different device types having different communication protocols associated therewith, the tool comprising:
- a plurality of communication modules, each communication module having a different physical transport for communicating with one or more of the plurality of different device types, each communication module being configured to communicate using at least one of the plurality of different communication protocols;
a command definition file datastore that stores a plurality of different command definition files corresponding to the different communication protocols, wherein a command definition file corresponding to a particular communication protocol indicates at least one command supported by at least one stack layer of the particular communication protocol;
a manual command user interface configured to;
1) retrieve a list of command definition files from the command definition file datastore,2) receive a user selection indicating a selected command definition file from the list of command definition files, the selected command definition file corresponding to a particular communication protocol,3) display a list of available stack layers from the selected command definition file, the available stack layers corresponding to different stack layers of the particular communication protocol,4) receive a user selection indicating a selected stack layer,5) display a list of available stack layer commands from the selected command definition file, and6) receive a selected stack layer command;
a stack broker configured to instantiate a protocol plug-in from a plurality of available protocol plug-ins based on the selected command definition file, wherein the protocol plug-in corresponds to the communication protocol of the command definition file; and
a protocol manager configured to receive the selected stack layer, the selected stack layer command, and at least one argument values for the selected stack layer command, and to provide the instantiated protocol plug-in with a command indicating the at least one argument value and the selected stack layers,wherein the instantiated protocol wrapper;
i) opens a communication session with a device being tested over one of the plurality of communication modules in accordance with the communication protocol,ii) receives the selected stack layer command,iii) generates a packet for the device being tested according to the selected command definition file, the selected stack layer, and the selected stack layer command, and the at least one argument, andiv) communicates the packet to the device being tested using the communication session.
2 Assignments
0 Petitions
Accused Products
Abstract
A protocol-independent tool for debugging and testing communication interfaces of devices and systems is disclosed. The tool is configured to receive protocol plug-ins corresponding to different communication protocols. Given a plug-in, the tool instantiates the plug-in'"'"'s implementation of a tool-defined stack interface. Through this interface and its implementation by the plug-in, the tool can communicate with a device being tested. The protocol plug-in receives commands from a command interface for the device being tested, generates data packets in accordance with the communication protocol implemented by the plug-in, and transmits the data packets to the device being tested.
18 Citations
16 Claims
-
1. A tool for testing a plurality of different devices having a plurality of different device types, the plurality of different device types having different communication protocols associated therewith, the tool comprising:
-
a plurality of communication modules, each communication module having a different physical transport for communicating with one or more of the plurality of different device types, each communication module being configured to communicate using at least one of the plurality of different communication protocols; a command definition file datastore that stores a plurality of different command definition files corresponding to the different communication protocols, wherein a command definition file corresponding to a particular communication protocol indicates at least one command supported by at least one stack layer of the particular communication protocol; a manual command user interface configured to; 1) retrieve a list of command definition files from the command definition file datastore, 2) receive a user selection indicating a selected command definition file from the list of command definition files, the selected command definition file corresponding to a particular communication protocol, 3) display a list of available stack layers from the selected command definition file, the available stack layers corresponding to different stack layers of the particular communication protocol, 4) receive a user selection indicating a selected stack layer, 5) display a list of available stack layer commands from the selected command definition file, and 6) receive a selected stack layer command; a stack broker configured to instantiate a protocol plug-in from a plurality of available protocol plug-ins based on the selected command definition file, wherein the protocol plug-in corresponds to the communication protocol of the command definition file; and a protocol manager configured to receive the selected stack layer, the selected stack layer command, and at least one argument values for the selected stack layer command, and to provide the instantiated protocol plug-in with a command indicating the at least one argument value and the selected stack layers, wherein the instantiated protocol wrapper; i) opens a communication session with a device being tested over one of the plurality of communication modules in accordance with the communication protocol, ii) receives the selected stack layer command, iii) generates a packet for the device being tested according to the selected command definition file, the selected stack layer, and the selected stack layer command, and the at least one argument, and iv) communicates the packet to the device being tested using the communication session. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method executed by a tool for testing a plurality of different devices having a plurality of different device types, the plurality of different device types having different communication protocols associated therewith, the tool including a plurality of communication modules, each communication module having a different physical transport for communicating with one or more of the plurality of different device types, each communication module being configured to communicate using at least one of the plurality of different communication protocols, the method comprising:
-
storing a plurality of different command definition files corresponding to the different communication protocols in a command definition file datastore, wherein a command definition file corresponding to a particular communication protocol indicates at least one command supported by at least one stack layer of the particular communication protocol; retrieving a list of command definition files from the command definition file datastore; receiving a user selection indicating a selected command definition file from the list of command definition files, the selected command definition file corresponding to a particular communication protocol; displaying a list of available stack layers from the selected command definition file, the available stack layers corresponding to different stack layers of the particular communication protocol; receiving a user selection indicating a selected stack layer; displaying a list of available stack layer commands from the selected command definition file; receiving a selected stack layer command; instantiating a protocol plug-in from a plurality of available protocol plug-ins based on the selected command definition file, wherein the instantiated protocol plug-in corresponds to the communication protocol of the command definition file; and providing the instantiated protocol plug-in with a command indicating the selected stack layer and the selected stack layer command, wherein the instantiated protocol wrapper performs the following steps; opening a communication session with a device being tested over one of the plurality of communication modules in accordance with the communication protocol, receiving the command, including the selected stack layer and the selected stack layer command, generating a packet for the device being tested according to the selected command definition file, the selected stack layer, and the selected stack layer command, and communicating the packet to the device being tested using the communication session. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
Specification