Back to results
US 8,752,006 B1Granted
System and method and apparatus for automatically generating computer code for remote procedure calls
AssigneeCisco Technology, Inc.
InventorGilman Tolle
Life of this patent
Estimating the term…
Abstract
A system and method accepts source code for one or more procedures and, for those procedures flagged as being remotely callable, generates communication code and a description that allows the code to be remotely callable via a server using a variety of formats, such as conventional web services formats.
Claims19
A computer-implemented method comprising:
- receiving files comprising source code and a profile for the source code;
- determining whether the source code in the received files contains instructions for a procedure that is performable, at least in part, by at least one of one or more devices;
- and
- responsive to determining that the source code in the received files contains instructions for a procedure that is performable, at least in part, by at least one of one or more devices:
- generating a new profile comprising profile information from the profile that relates to the procedure,
- generating a first set of code for at least one of the one or more devices that can perform the procedure, the first set of code calling the procedure in response to a first command,
- generating a second set of code for a gateway that enables the gateway to receive a second command and that enables the gateway to, in response to receiving the second command, provide the first command to at least one of the one or more devices that can perform the procedure, the gateway being configured to enable communications between the one or more devices,
- generating a description according to the new profile, the description specifying a means by which the second command can be received by the gateway, and
- storing, by one or more computers, the first set of code, the second set of code,
- and the description.
7 more elements
A system comprising:
- a code storage having an input configured to receive files comprising source code and a profile for the source code, the code storage being further configured for providing the code at an output;
- a code generator having an input coupled to the code storage output for receiving the files, the code generator being configured to determine whether the source code contains instructions for a procedure that is performable, at least in part, by at least one of one or more devices, and being configured to, responsive to determining that the source code contains instructions for a procedure that is performable, at least in part, by at least one of one or more devices:
- generate a new profile comprising profile information from the profile that relates to the procedure,
- generate a first set of code for at least one of the one or more devices that can perform the procedure, the first set of code calling the procedure in response to a first command,
- generate a second set of code for a gateway that enables the gateway to receive a second command and that enables the gateway to, in response to receiving the second command, provide the first command to at least one of the one or more devices that can perform the procedure, the gateway being configured to enable communications between the one or more devices, and
- generate a description according to the new profile, the description specifying a means by which the second command can be received by the gateway.
3 more elements
A computer program product comprising a computer-readable non-transitory storage medium having computer readable program code embodied therein configured to cause one or more a computer systems to:
- receive files comprising source code and a profile for the source code;
- determine whether the source code in the received files contains instructions for a procedure that is performable, at least in part, by at least one of one or more devices;
- and
- responsive to determining that the source code in the received files contains instructions for a procedure that is performable, at least in part, by at least one of one or more devices:
- generate a new profile comprising profile information from the profile that relates to the procedure,
- generate a first set of code for at least one of the one or more devices that can perform the procedure, the first set of code calling the procedure in response to a first command,
- generate a second set of code for a gateway that enables the gateway to receive a second command and that enables the gateway to, in response to receiving the second command, provide the first command to at least one of the one or more devices that can perform the procedure, the gateway being configured to enable communications between the one or more devices,
- generate a description according to the new profile, the description specifying a means by which the second command can be received by the gateway, and
- store the first set of code, the second set of code, and the description.
6 more elements
Dependencies are inferred from the claim text.