Dynamic device drivers
First Claim
1. A method comprising:
- receiving a driver model for a device from a third party, wherein the driver model is generated based on a driver template for the device that is accessible to the third party;
the driver model is formatted to be capable of integration in a generic driver class that is configured to parse an input and adapt to a characteristic of a user; and
the driver model includes a device type of the device, a list of variables associated with the device and one or more characteristics of the variables added to the driver template;
determining whether the driver model is format-compliant;
validating syntax of the driver model based at least partially on the driver template from which the driver model is generated;
in response to the driver model being format-compliant and the syntax being valid;
generating a verified file that is representative of the driver model, the verified file being formatted to dynamically load into a device application module during operation and to dynamically support the device;
adding an integrity check value to the verified file; and
communicating the verified file to a user apparatus that includes the device application module; and
in response to the driver model being format-noncompliant or the syntax being invalid, communicating an error message.
1 Assignment
0 Petitions
Accused Products
Abstract
A method includes receiving a driver model for a device. The driver model includes a list of variables associated with the device and one or more characteristics of the variables. The method includes determining whether the driver model is format-compliant and validating syntax of the driver model based at least partially on a driver template that is accessible to a third party. In response to the driver model being format-compliant and the syntax being valid, the method includes generating a verified file that is representative of the driver model. The verified file is formatted to dynamically load into a device application module during operation and to dynamically support the device. The method includes communicating the verified file to a user apparatus and adding an integrity check value thereto. In response to the driver model being format-noncompliant or the syntax being invalid, the method includes communicating an error message.
-
Citations
20 Claims
-
1. A method comprising:
-
receiving a driver model for a device from a third party, wherein the driver model is generated based on a driver template for the device that is accessible to the third party;
the driver model is formatted to be capable of integration in a generic driver class that is configured to parse an input and adapt to a characteristic of a user; and
the driver model includes a device type of the device, a list of variables associated with the device and one or more characteristics of the variables added to the driver template;determining whether the driver model is format-compliant; validating syntax of the driver model based at least partially on the driver template from which the driver model is generated; in response to the driver model being format-compliant and the syntax being valid; generating a verified file that is representative of the driver model, the verified file being formatted to dynamically load into a device application module during operation and to dynamically support the device; adding an integrity check value to the verified file; and communicating the verified file to a user apparatus that includes the device application module; and in response to the driver model being format-noncompliant or the syntax being invalid, communicating an error message. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method comprising:
-
receiving a verified file that is representative of a driver model, the verified file including a list of variables associated with a device, one or more variable characteristics of one or more of the variables, a get subroutine that is configured to read values from the device, a device address, and one or more placeholder variables; loading at least some portion of the verified file into a driver application module during operation; generating a user interface (UI) element of a dynamic user interface based at least partially on one variable of the list of variables of the verified file, wherein the dynamic user interface is configured to display information and data related to one or more appliance devices and enables input of a command related to the one or more of the appliance devices and the generated UI element is configured for input reception functionality in the dynamic user interface; sending a message to the device address requesting a value of a first variable of the variables that is represented in the get subroutine by a first placeholder variable; parsing a received response to determine whether a pattern of the received response matches a pattern of the get subroutine; and in response to the patterns matching, reading the value from the received response, the value being located in the received response in a position previously held by the first placeholder variable in the get subroutine and updating information included in a dynamic user interface with the value. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A non-transitory computer-readable medium having encoded therein programming code executable by one or more processors to perform or control performance of operations comprising:
-
receiving a driver model for a device from a third party, wherein the driver model is generated based on a driver template for the device that is accessible to the third party;
the driver model is formatted to be capable of integration in a generic driver class that is configured to parse an input and adapt to a characteristic of a user; and
the driver model includes a device type of the device, a list of variables associated with the device and one or more characteristics of the variables added to the driver template;determining whether the driver model is format-compliant; validating syntax of the driver model based at least partially on the driver template from which the driver model is generated; in response to the driver model being format-compliant and the syntax being valid; generating a verified file that is representative of the driver model, the verified file being formatted to dynamically load into a device application module during operation and to dynamically support the device; adding an integrity check value to the verified file; and communicating the verified file to a user apparatus that includes the device application module; and in response to the driver model being format-noncompliant or the syntax being invalid, communicating an error message. - View Dependent Claims (12, 13, 14, 15)
-
-
16. A non-transitory computer-readable medium having encoded therein programming code executable by one or more processors to perform or control performance of operations comprising:
-
receiving a verified file that is representative of a driver model, the verified file including a list of variables associated with a device, one or more variable characteristics of one or more of the variables, a get subroutine that is configured to read values from the device, a device address, and one or more placeholder variables; loading at least some portion of the verified file into a driver application module during operation; generating a user interface (UI) element of a dynamic user interface based at least partially on one variable of the list of variables of the verified file, wherein the dynamic user interface is configured to display information and data related to one or more appliance devices and enables input of a command related to the one or more appliance devices and the generated UI element is configured for input reception functionality in the dynamic user interface; sending a message to the device address requesting a value of a first variable of the variables that is represented in the get subroutine by a first placeholder variable; parsing a received response to determine whether a pattern of the received response matches a pattern of the get subroutine; and in response to the patterns matching, reading the value from the received response, the value being located in the received response in a position previously held by the first placeholder variable in the get subroutine and updating information included in a dynamic user interface with the value. - View Dependent Claims (17, 18, 19, 20)
-
Specification