System and method for providing an interface for scripting programs to communicate with embedded systems
First Claim
Patent Images
1. A system for providing communication between a host computer and an embedded computer, the system comprising:
- an embedded computer executing a plurality of threads that provide a communication interface, each communication interface having a plurality of data fields;
a script engine for executing script instructions;
a communication database identifying each of the communication interfaces, wherein the communication database is automatically generated, at least in part, from information comprising;
an interface description file that defines the communications interfaces;
machine characteristics of the embedded device; and
machine characteristics of a platform that is executing the script engine;
a communication module for providing an application programming interface for the script instructions to access the communication interface, wherein the communication module is automatically generated based upon information from information from the communication database; and
wherein the script instructions identify at least one of the communication interfaces in the communication database and invoke a function with respect to at least one field in the identified communication interface via the application programming interface, wherein the function is selected from the group comprising;
storing data in one of the data fields, reading data from one of the data fields, and testing a data field.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method for providing seamless communication with threads executing on an embedded computer. Using a DAT system, a programmer can test the communication interfaces of a thread via either a scripting program, any COM-compliant program, or a graphical test utility. The DAT system automatically formats a block of data that is transmitted between the embedded computer and a host computer and accounts for machine specific enumeration sizes, machine specific pointer sizes, machine specific structure alignment boundaries, machine specific integer sizes, and machine specific byte ordering.
25 Citations
16 Claims
-
1. A system for providing communication between a host computer and an embedded computer, the system comprising:
-
an embedded computer executing a plurality of threads that provide a communication interface, each communication interface having a plurality of data fields; a script engine for executing script instructions; a communication database identifying each of the communication interfaces, wherein the communication database is automatically generated, at least in part, from information comprising; an interface description file that defines the communications interfaces; machine characteristics of the embedded device; and machine characteristics of a platform that is executing the script engine; a communication module for providing an application programming interface for the script instructions to access the communication interface, wherein the communication module is automatically generated based upon information from information from the communication database; and wherein the script instructions identify at least one of the communication interfaces in the communication database and invoke a function with respect to at least one field in the identified communication interface via the application programming interface, wherein the function is selected from the group comprising;
storing data in one of the data fields, reading data from one of the data fields, and testing a data field.
-
-
2. A system for providing communication between a host computer and an embedded computer, the system comprising:
-
an embedded computer executing a plurality of threads that provide a communication interface, each communication interface having a plurality of fields; a communication database identifying each of the communication interfaces; a communication module for providing an application programming interface for the script instructions to access the communication interface, wherein the communication module is automatically generated based in part from information that is maintained in the communication database; and wherein the script instructions identify at least one of the communication interfaces in the communication database and invoke a function with respect to at least one field in the identified communication interfaces via the application programming interface. - View Dependent Claims (3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A method of providing communication with a thread, the method comprising:
-
retrieving a reference to a communication object, wherein the communication object provides an application programming interface for a scripting program to access a communication interface that is provided by a thread that is executing on an embedded computer; storing data in at least one data field via the application programming interface; and transmitting the stored data to the thread via application programming interface and the communication interface.
-
-
14. A method of providing communication with a thread, the method comprising:
-
retrieving a reference to a communication object, wherein the communication object provides a read method for a scripting program to access a communication interface; and invoking a read method of the communication object thereby receiving stored data that is provided via the communication interface by a thread that is executing on an embedded computer.
-
-
15. A method of providing communication with a thread, the method comprising:
-
generating a communication database that describes at least one communication characteristic of a communication interface that is defined in an interface description file; retrieving a reference to a communication object, wherein the communication object provides an application programming interface for a scripting program to access a communication interface that is provided by a thread that is executing on an embedded computer; and storing data in at least one data field in the communication via the use of the application programming interface.
-
-
16. A method of providing communication with a thread, the method comprising:
-
retrieving a reference to a communication object, wherein the communication object provides an application programming interface for a scripting program to access a communication interface that is provided by a thread that is executing on an embedded computer; and storing data in at least one data field in the communication via the use of the application programming interface.
-
Specification