APPLIANCE DEVELOPMENT TOOLKIT FOR CREATING A DYNAMIC USER INTERFACE FOR AN APPLIANCE
An appliance development toolkit includes access to a user interface domain data model, access to an appliance user domain data model, a model instance editor configured to create one or more instances of user interface domain data derived from the user interface domain data model, to create one or more instances of appliance user domain data derived from the appliance user domain data model, and to associate one or more user interface elements with one or more appliance user elements. The toolkit also has a model instance converter for creating content including portions of the instances of user interface domain data, instances of appliance user domain data, and a map of the association. The content is in a builder file. An appliance can use the builder file at runtime to dynamically render its graphical user interface.
Latest WHIRLPOOL CORPORATION Patents:
- COOKING OVEN WITH A DOOR HAVING REDUCED TEMPERATURE DURING USE
- COFFEE MACHINE DRIP TRAY WITH INTEGRATED STORAGE
- FILLING PORTS FOR INSULATED STRUCTURES INCORPORATED WITHIN AN APPLIANCE
- Fabric cleaning appliance with performance enhancement selector
- Laundry treating appliance having a bulk dispensing assembly
This application is a continuation of PCT/US2009/046186 filed Jun. 3, 2009, which claims priority from U.S. Application Ser. No. 61/058,440 filed Jun. 3, 2008.
FIELD OF THE INVENTIONThe invention relates to tools for editing software associated with the operation of household appliances.
DESCRIPTION OF THE RELATED ARTHousehold appliances typically comprise one or more components responsible for the electromechanical operations of the appliance. For example, an oven can include an appliance management component having a printed circuit board (PCB) with memory, as well as a user-interface component, such as a control panel or keypad, for a user to issue commands to the oven. As another example, a washing machine can include an appliance management component, a user-interface component, and a motor control component that controls a motor of the washing machine.
Typically, discrete circuits couple the internal components of an appliance, with each discrete circuit responsible for individual communication between related components. The circuits communicate with each other over an internal network that traditionally is implemented by hard-wired ribbon cables or other connectors or harnesses between the components. The hard-wired connectors form a closed system or network that is difficult or not possible to modify. For example, because the closed network relies on hard-coded or hard-wired network solutions, it is not practical to couple additional external components or additional internal components to the appliance to expand the capability or function of the appliance. The closed network cannot easily be adapted for communication with the additional external/internal components and therefore limits the potential of the appliance.
In some instances, service personnel can access the interior of an appliance and connect an external device to the internal network in order to modify the operation of or otherwise interact with the internal components of the appliance. However, scheduling appointments with service personnel can be inconvenient, and accessing the interior of the appliance can require the use of specialized tools and can potentially damage the appliance in the process. In addition, due to the limited potential of the internal components, the user of the appliance is unable to thoroughly personalize the operation of the appliance in order to tailor the appliance to his or her particular needs.
SUMMARY OF THE INVENTIONAn appliance development toolkit, according to the invention, is provided to enable creation of a dynamic user interface for an appliance. The toolkit includes access to a user interface domain data model, access to an appliance user domain data model, a model instance editor configured to create one or more instances of user interface domain data derived from the user interface domain data model, to create one or more instances of appliance user domain data derived from the appliance user domain data model, and to associate one or more user interface elements from the instances of the user interface domain data with one or more appliance user elements of the instances of the appliance user domain data. The toolkit also has a model instance converter for creating content including a portion of the instances of user interface domain data, a portion of the instances of appliance user domain data, and a map of the association. The content is in a builder file. An appliance, having a graphical user interface with which a user can control and observe operation of the appliance, can use the builder file at runtime to dynamically render its graphical user interface.
In another aspect, the toolkit has access to appliance user domain data or source identification domain data, and includes an editor configured to create one or more instances of a domain object associated with the appliance user domain data or the source identification domain data. The editor is also configured to arrange other data, not from the appliance user domain data or the source identification domain data, with the instances into a collection. The toolkit has a first converter to observe the collection and create renderable content having a first portion associated with the appliance user domain data or the source identification domain data, and a second portion associated with the other data.
In another aspect, the toolkit has a user interface domain data model having animation resource identifiers and user interface control identifiers. The toolkit also has an editor configured to create one or more instances of user interface control data derived from the user interface domain data model, and to create a map for associating the instances with one or more animation resource identifiers. The toolkit further has a converter for creating content based on the instances of user interface control data and the map. The content is in a builder file. An appliance, having a graphical user interface with which a user can control and observe operation of the appliance, can use the builder file at runtime to dynamically render the graphical user interface with animations based on an animation resource.
In the drawings:
Referring to the drawings and to
The appliance 12 can be any suitable appliance, such as a household appliance. Examples of household appliances include, but are not limited to, clothes washing machines, clothes dryers, ovens, dishwashers, refrigerators, freezers, microwave ovens, trash compactors, and countertop appliances, such as waffle makers, toasters, blenders, mixers, food processors, coffee makers, and the like.
The appliance 12 can be configured to perform a cycle of operation to complete a physical domestic operation on an article. Examples of the physical domestic operations include a food preparation operation, a food preservation operation, a fluid treatment operation, a cleaning operation, a personal care operation, a fabric treatment operation, an air treatment operation, and a hard surface treatment operation. The air treatment operation can comprise, for example, air purification, air humidification, air dehumidification, air heating, and air cooling. The food preparation operation can comprise, for example, food cleaning, food chopping, food mixing, food heating, food peeling, and food cooling. The food preservation operation can comprise, for example, food cooling, food freezing, and food storage in a specialized atmosphere. The fluid treatment operation can comprise, for example, fluid heating, fluid boiling, fluid cooling, fluid freezing, fluid mixing, fluid whipping, fluid dispensing, fluid filtering, and fluid separation. The cleaning operation can comprise, for example, dishwashing, fabric washing, fabric treatment, fabric drying, hard surface cleaning, hard surface treatment, hard surface drying, carpet cleaning, carpet treatment, and carpet drying. The personal care operation can comprise, for example, hair treatment, nail treatment, body massaging, teeth cleaning, body cleaning, and shaving.
The components associated with the appliance 12 can include any devices, parts, software, and the like that participate in the operation of the appliance 12, either directly or indirectly. Some of the components have a corresponding controller (main controller, motor controller, user interface, etc.), which can be a simple microprocessor mounted on a printed circuit board (a control board), while other components can have no controller. The components can comprise one or more devices that are controlled by the controller. Typically, the controller components in cooperation, either directly or indirectly, through other components, control the operation of all of the components and the associated devices to implement a cycle of operation for the appliance 12.
The one or more components affected/effected by the toolkit 10 can comprise another appliance 12, one or more components on the appliance 12 or in another appliance 12, or an accessory device or component thereof for use with the appliance 12. For purposes of describing the invention, it will be understood that when reference is made herein to the use of the toolkit 10 in conjunction with the appliance 12, the same applies to the use of the toolkit 10 in conjunction with another appliance 12, with one or more components of the appliance 12 or of another appliance 12, and with an accessory device or component(s) thereof for use with the appliance 12.
The appliance 12 can be communicatively coupled to the toolkit 10 via a communications network 18 existing at least partially within the appliance 12 and/or at least partially external to the appliance 12 as appropriate. The communications network 18 comprises all of the coupling elements communicatively linking the various parts of the toolkit 10 and the appliance 12, as well as any coupling elements communicatively linking additional devices or resources to the toolkit 10 and/or appliance 12 (e.g. a coupling element connecting the appliance 12 with an accessory). For example, the communications network 18 can comprise an internal communications network of the appliance 12 enabling communication between the various components within the appliance 12, an external communications network connected to the toolkit 10, and a coupler for communicatively coupling the two networks. The coupler can comprise a communication driver configured to establish a communications link between the toolkit 10 and the appliance 12. Looking also at
The toolkit 10 enables a user 14 to create content 20 that can be provided to or otherwise obtained by one or more content targets 22 to affect the functionalities of the appliance 12. Content 20 can be formatted as at least one of a relational database, XML document, CSV file, binary file, data collection, memory structure, object structure, object graph, object tree, memory heap, machine code, source code, and text file, images, text, data elements, or other type of information associated with the toolkit 10 that can be interpreted, converted, propagated, created, modified, or otherwise used for some purpose by the toolkit 10, the appliance 12, or an associated device or component. Examples of content 20 include but are not limited to a cycle structure, a custom cycle, a branded cycle, user-attached data about appliance control functionality, a fault tree, a diagnostic test, an appliance user interface 64 (see
Content 20 can comprise various forms of data or data elements, including appliance user domain data 180 (see
A content target 22 comprises any entity that receives content 20. Non-limiting examples of different content targets 22 include the toolkit 10, the appliance 12, the communications network 18, a system configurator 28, editors 30 and 32, converters 34, viewers 38, an appliance control system 90, a user interface 64 and graphical user interface 68, a web browser or web page, a personal computer 70, an application 50, a computer program, a handheld device, a remote client 72 such as a cell phone, a printer, and any hardware or software components or devices associated therewith or included therein.
As shown in
Different content targets 22 can use the same content 20 for different purposes. For example, a model instance editor 32 that receives content 20 in the form of a model instance 42 can provide a visual diagram of the model instance 42 and enable the user 14 to edit the model instance 42. However, if the same model instance 42 is sent to the appliance 12, the appliance 12 can be enabled with new operational capabilities, such as new cycles of operation. In another example shown in
Converters 34 can enable the flexible usage of content 20 by converting data elements or content 20 created by one of the editors 30, 32 into content 20 of a form suitable for use by a particular content target 22. For example, a type of converter 34 called a model instance converter is configured to produce a model instance variant 44 based on a model instance 42. Another type of converter 34 called a simple converter can simply propagate data elements or a file stored in memory and comprising data elements created by the toolkit 10 without having to substantially convert the data elements. Simple converters are best used when the content target 22 can operate directly on the data elements created by editors 30, 32, such as a content target 22 in the form of a viewer 38 included in the system configurator 28. Converters 34 are typically used to enable the transfer of data elements amongst the various entities of the toolkit 10 and appliance 12. A converter 34 can potentially also act as an exporter, which functions similarly to the propagating function described previously. The toolkit 10 can also include a converter 34 in the form of an encoder to encode content 20 onto a consumable information holder or other component.
The system configurator 28 can optionally further comprise one or more applications 50, which can also include one or more viewers 38 and can use content 20 provided by the system configurator 28. One or more applications 50 can also be communicatively coupled to but not included within the system configurator 28. Content 20 provided by the system configurator 28 can optionally be supplemented by content 20 provided by or created using resources 46, which can include any entities capable of producing content 20 or being used by another entity to generate content 20.
For testing, diagnostic, and engineering purposes, a link can be established between the system configurator 28 and a content target simulator 52 (
A model 40 is a very robust, thorough, and thoroughly-vetted collection of data elements or structures equivalent to a UML class diagram. A model 40 consists of a plurality of class definitions where each class has a plurality of properties and each class can reference other classes a minimum and maximum number of times, which may be infinite. Classes can reference other classes via a named property. Classes can also, in effect, serve as extensions of other classes in order to inherit their functionalities, property definitions, and references. Classes can implement interfaces, which are definitions of collections of functions each having a set of arguments, wherein each argument can be set to one of a set of valid values. The purpose of the class definition is to provide rules or constraints for creating model instances 42 and model instance variants 44, which are, in essence, runtime instances of the model 40. Thus, the toolkit 10, in effect, enables users 14 to create runtime instances of a class diagram and is configured to create, manage, and/or edit models 40, model instances 42, and model instance variants 44, as well as data elements or information associated therewith, that are configured to effect the functionality of one or more components associated with the appliance 12.
As described in more detail hereinafter with respect to
The model instance editor 42 creates instances of data elements that comprise a model instance 42 and that are related to appliance 12 functionality and derived from the appliance user domain data 180 model. The model instance editor 42 is configured at least in part by the appliance user domain data 180 model irrespective of the appliance 12 so that the toolkit 10 can be used with different appliances 12. Validation rules, which essentially comprise a communications protocol, for the content 20 can be derived from the appliance user domain model. The model instance 42 can comprise a hierarchical data structure, a graph, a fault tree, or a relational database and can be configured or developed by a user 14 interacting with the user interface 64.
Referring now to
A sequence model 40B as shown in
Due to this binding of user interface domain data of the user interface domain data model instance 42A and control system domain data 182 of the sequence model instance for a cycle 42B, when a user 14 actuates the user interface control 62A, the transition will be initiated, and the cycle specified by the sequence model instance for a cycle 42B and created in the manner explained below will be carried out to produce ice.
Objects can be composed of a plurality of other objects according to the objects field definitions. If an object comprises a method which has executable software to set the value of a field defined to hold an object, then that object can be reconfigured by changing the value of the a field from a first object to a second object. This reconfiguration can then result in a different composite or overall appliance control system 90 behavior. There are many useful purposes for an appliance control system 90 whose behavior can be changed by changing the values in a first objects field to a third object from a second object. For example, a cycle accessory could use this technique to change a cycle structure 80. Likewise, both a consumables reader and a recipe book wand could use these techniques to customize the behavior of the appliance control system 90 according to appliance user domain data 180, source identification domain data 186, user interface domain data the data about the cycle, data about a consumable, and the like.
There are many mechanisms which can initiate and manage the dynamic configuration of an appliance control system 90. However, these mechanisms (see
An arbitrary software component 94 in communication with the cycle engine 88 or in communication with the cycle architecture 86 can also be used to create a new or modified cycle structure 80. The arbitrary software component 94 can reside in a variety of locations with respect to a controller component comprising the cycle architecture 86. Hence, all messages between the arbitrary software component 94 and the cycle architecture 86 can be optionally routed through an EVR 92 across the communications network 18. As well, the cycle architecture 86 can optionally communicate with the appliance control system 90 through an EVR 92.
In another scenario, an operational cycle accessory, such as the toolkit 10, can be communicatively coupled to the communications network 18, discover the cycle architecture 86, and send the cycle architecture 86 messages to affect its structure and, ultimately, its execution. In this case, the operational cycle accessory would typically include a combination of software and data to accomplish the configuration of the cycle architecture 86. Alternately, the aforementioned cycle architecture might send a discovery message seeking identification of all sources of the cycle structure 80. Sources of the cycle structure may be in ROM, Flash, EE Prom, an operational cycle component, and/or an external source connected to the communications network 18. Once the cycle structure information 82 located and retrieved, the cycle engine 88 can commence modifying its own cycle structures 80 according to the new cycle structure data. As shown in
In another embodiment of a cycle architecture 86, a first portion of the cycle structure information 82 is compiled and a second portion is made available at runtime. The second portion can include a plurality of cycle structure data, either in direct or indirect form, which can be combined with the first portion such that the cycle engine 88 operates on the aggregate of the first and second portions to create operational cycle execution software. The second portion can represent differences in the first portion where differences may be additions, deletions, or modifications to elements, their relative orders, or their relative relationships within the cycle structure 80. The cycle engine 88 can appropriately apply the differences represented in the second portion by looking at the identifiers of the elements of the first portion of the cycle structure information 82 and the identifiers of the elements of the second portion of the cycle structure information 82. The advantage of this embodiment of a cycle architecture 86 is that changes to the aggregate cycle structure 80 can be made while preserving the first portion such that subsequent corruption or absence of the second portion would not effect the integrity of the first portion, thus enabling the operation cycle execution software to revert to compiled default state, such as might be supplied at the factory. A second advantage of this embodiment is that specialized variants of the first portion can be designed which can accommodate the constraints presented by the appliance control system 90 and more specifically the controlling components of the appliance 12 such as limited memory and also provide capability for receiving and adapting to a second portion, providing flexibility and configurability within the constraints for the cost of the specialized variants. For appliances 12, this can be an important requirement in some cases.
Alternatively, when an operation cycle accessory is disconnected from the cycle engine 88, the data of the second portion can be optionally removed by the cycle engine 88, causing a reversion to the factory default state. This is a form of anti-piracy protection in that the operation cycle accessory must be present for the additional functionality represented by the accessory to be available to the appliance 12. Optionally, the connection between the appliance 12 and the operation cycle accessory can include a transfer of the first portion into a memory in the appliance 12. In this case, additional operation cycles can be retained without the permanent presence of the operational cycle accessory. It should also be noted that an operation cycle accessory can be virtual in that the software and data and ability to communicate with the cycle engine 88 can reside on an external device connected to the cycle engine 88 via communications network 18, and not physically attached to the containing appliance 12.
It is to be noted that an operational cycle component can have other elements that are not the aforementioned operation cycles or constituent data and complied portions. For example, the operational cycle component can include software code to configure a cycle engine 88 for communication and other functions or code to put software architecture into an alternate mode for the purpose of diagnostics or changing memory.
An appliance cycle of operation performed by the appliance control system 90 can be optimized by information associated with consumables on which the appliance is operating. For example, the cycle structure 80 could be built specifically to accommodate some properties or attributes of the consumable or to accommodate some properties or attributes of a consumable holder. The body or bodies that comprise information, identifiers of functionalities, properties, attributes, and property and attribute values related to consumables can be referred to as sources of information about a consumable or “consumable information holders.” Examples of consumable information holders include the consumable itself, a data pod, the consumable holder, a user interface, and a tag. The consumable holder can be a sensing consumable holder that might use a lid sensor, for example, for sensing attributes about the consumable contained therein. These attributes could then be used by the appliance 12 to further refine operation of the consumable holder. For example, if a particular consumable holder is supposed to dispense 2 ounces, a lid with an amount sensor could be configured with an analog circuit coupled to the appliance 12 to provide a level or volume feedback so that the appliance 12 can dispense exactly 2 ounces rather than a time-based approximation.
Information associated with a consumable can include amount and/or composition or other attributes that would characterize the magnitude of the usefulness of the consumable. In this case, the cycle architecture 86 may adapt itself based on the information. For example, if the consumable were a dishwashing rinse aid and the consumable holder had only 90% of the standard dose, the cycle architecture 86 might adapt itself to this condition by increasing the time of the rinse phase to compensate for the lack of rinse aid. Information associated with a consumable can also include parameters of an operating cycle such as personal preferences of a user 14 (e.g., doneness or crispiness preferences), and data about the consumable holder, the appliance 12, or other accessories or components thereof.
In a laundry example, the appliance control system 90 may provide information to the cycle architecture 86 about process variables like soil level, load size, soil type, etc. Based on this information associated with a consumable, including the process variable information, the cycle architecture 86 or an arbitrary software component 94 in conjunction with a cycle engine 88 can reconfigure the cycle structure 80 to adapt to the process variable information. The consumable holder may comprise the arbitrary software component 94 and be able to reconfigure the cycle structure 80 to adapt to the process variable information. Reconfiguration can be accomplished in at least two ways. In one way, the arbitrary software component 94 can read the cycle structure 80 and communicate with the cycle engine 88. In a second way, an arbitrary software component 94 can be preconfigured and communicate that configuration to or instruct the cycle engine 88 about the configuration.
One example of commands associated with an operating cycle is a collection of key value pairs. Keys comprise parameter names having a meaning, wherein the meaning is known by the cycle engine 88 such that values associated with the keys are thereby associated with the meanings. This enables the values to be used in the contexts of the meanings to modify and/or control the cycle of operation of the appliance 12.
Another example of commands associated with an operating cycle is a byte array representing a message packet for a network. In one embodiment of this example, the byte array could be arranged according to the packet definition disclosed in WO2006135726 comprising a functional identifier, an op code, and a message data payload, wherein the identifier and op code relate to an executable function or method implemented by the cycle engine 88 and or cycle engine API. Further, the arguments or parameters of the function or method correspond to the data elements contained in the payload of the message packet.
The consumable holder, therefore, can contain all the functionality of and participate in all the embodiments that an operational cycle accessory in communication with an appliance 12 having a cycle architecture 86 can. Therefore in one embodiment, a consumable holder is an operation cycle accessory that further physically contains and can also further be enabled to directly actuate the introduction of a consumable into an appliance 12.
As seen in
As shown in
With continued reference to
Transitions are paths to other steps in the fault tree 110 and that are normally conditional on the result of a given step or action. At each step of the sequence model instance for a fault tree 42C, an action can be performed comprising asking a question regarding operation of the appliance 12, and the question can be presented on the user interface 64. Once an answer to the question has been obtained, the sequence model instance for a fault tree 42C will perform a transition to another step in the appliance fault tree 110. As shown in
As shown in
As shown in
As shown in
The fault tree 110 and/or use and care guide 130 provided by the sequence model instance for a fault tree 42C can also be presented in a viewer 38 as content 20 in the form of a diagram 140 as shown in
Looking now to
Specifically,
A user interface 64 or viewer 3 can display a visualization of the message data payload 150 from the model instance editor 32 so that a user 14 can conveniently create the message data payload 150 for immediate use and see a graphical representation of the message data payload 150 as it is created. An example of that display is seen in
Appliance manufactures build appliances for a competitive market and compete with one another in the areas of cost and innovation. Accordingly, manufacturers 14A must continuously invest in new products, new technologies, and new innovations while simultaneously reducing cost and improving quality. The ability of an appliance manufacturer 14A to develop a means by which to engage thousands of additional persons for the purpose of creating new product innovation without raising costs would be a disruptive competitive advantage for that manufacturer 14A. However, because only highly trained and specialized engineers can successfully and properly create appliance control functionality, previous attempts by manufacturers 14A to engage the thousands of additional persons in an uncontrolled manner have not resulted in the production of functional and properly-engineered appliance control functionality. As appliance control functionality plays a critical role in a person's everyday life, such as by affecting the clothes people wear, the food they eat, and the air they breathe, proper implementation of appliance control functionality is a necessity. Many appliance control functionalities are also potentially dangerous and must be precisely managed by the specialized and intricately engineered appliance control system, such as appliance control functionalities associated with high voltage sources, high heat sources, gases, liquids, and chemicals.
The use of constraints to contain the appliance development toolkit 10 enables the thousands of additional persons to create content 20 that effects and/or the cycle of operation or the user interaction of an appliance by providing guidelines and rules for innovation. In particular, the constraints can enable users 14 to create content 20 that effects/affects only certain appliance control functionalities deemed appropriate for manipulation by the manufacturer 14A while preventing users 14 from creating content 20 that effects/affects the appliance control functionalities associated with critical systems and components of the appliance 12. This enables the manufacturer 14A to ensure that the appliance 12 is safe for use by maintaining the integrity of the core appliance control functionalities. For example, the manufacturer 14A would constrain the toolkit 10 so as to prevent users 14 from manipulating precision controls, such as those for high heat, electricity, or harmful substances, so that the food, clothing, air, or other article or elements is properly operated upon by the appliance 12.
As shown in
As shown in
Referring back to
Referring back to
A constrained model instance editor 32 constrained by hard-code is shown in
Consumers/users 14 enjoy dynamic user interfaces 64, especially graphical user interfaces 68. Even better are multi-media interfaces that combine audio, visual, and tactile stimuli to create the ultimate user experience. However, users 14 keep their appliances for 10-12 years, and as such it is desirable to provide a variety of user experiences over time to keep the user 14 engaged and excited about the user experience of the appliance 12. The capability to update and transform a multi-media user interface 68 on an appliance 12 is desirable. Themes 194 are collections of resources 192 which can be applied to the components or controls of a multi-media user interface 68 through a mapping at runtime. Themeing is the application of themes 194 to the multi-media user interface 64 at runtime such that that the user interface 64 transforms dynamically in response to the application 50.
Similarly, the capability to create a very dynamic user experience wherein a plurality of user interface controls or stimuli cause other plurality of user interface stimuli to trigger is desirable. Moreover, an additional feature is to have the different pluralities of user interface stimuli related through a mapping so that when the mapping changes, the user experience also changes. An animation framework 196 includes animation execution software and animation definitions connected to other components of the appliance software framework 104, including properties of the UI controls 62 so that the rendering of the UI controls 62 is affected by the animation execution software operating on the animation definition.
In both cases of themeing and animations 198, creating associations between resources 192, animations, themes 194, and user interface controls 62 is essential and complex. The appliance development toolkit of
The main output of the toolkit 10 in this embodiment is a builder file 190. The builder file 190 contains information including object identifiers, object type (class) identifiers, and relationships between identifiers so that a builder 200 in the appliance 12 can read the file at startup or on demand and create the runtime object collections, hierarchies, graphs that control the dynamic graphical and multi-media user interface 68 for the appliance 12. The builder file 190 is generated by a model instance converter 34 that traverses the model instance objects resident in the toolkit 10 memory and exports the builder file 190 content 20 in response. The user interface domain data model instance 42A includes instances of objects from the user interface domain data model 40A, which includes class definitions for pages and user interface controls 62 and the relationship definitions therebetween.
A view or page 202 contains one or more pages, and a user interface control (UI control) 62 contains one or more UI controls 62. Pages are objects that display a plurality of user interface components and are generally designed to be navigated to and navigated from. UI controls 62 are generally reusable templates of components that must be combined with data at runtime to create a useful control. UI controls 62 are things like buttons, knobs, slider bars, select boxes, text boxes, check boxes, image frames, movie frames, input windows, and the like. UI controls 62 have a plurality of properties which are named components of the UI control 62 which either receive or emit data. It is also possible to think of a UI control property as a variable wherein the identifier of the variable would be UI control identifier, property identifier (i.e., UI control identifier, control property identifier). Examples of UI control properties are font, color, style, size, data, shrinkable, hideable, hide, and the like.
The behavior, rendering, visualization and functionally of a UI control 62 is affected by its properties. UI controls 62 can also emit data which can also be associated with a property. Examples of properties include current data, state 246, current size, current state of visibility and the like. By connecting or associating UI control properties to representations of variables known as data sources or binding objects 204 at runtime, the UI control 62 is able to be affected by other actors in the appliance software framework 104 and to be effectively rendered. Additionally, the connection to properties is able to affect other actors in the appliance software framework 104 which are connected to or are listening to property values of a UI control 62. For example, a tactile animation can be listening to a pressed property of a UI control 62 so that when the press property is true, the tactile animation executes. The aforementioned UI controls 62, their properties, representations of variables, binding and actors objects, and the relationships therebetween are created by the builder 200 in response to the builder file 190.
To accomplish both themeing and animations, the appliance development toolkit 10 creates a representational hierarchy of objects which can be exported to the builder file 190 and read by the builder 200 to create the aforementioned runtime objects of the appliance software framework 104. First the toolkit 10 is configured to create objects representing runtime UI controls 62 and to associate a data source identifier 206 with certain properties of the created UI controls 62 wherein the data source identifier 206 is later associated with a resource identifier 210 to create a first binding map, binding map 1. Next, a set of resource dictionaries 212 are created each having a plurality of resource identifiers 210 and where each resource identifier 210 is associated with a file identifier 214, which can comprise an address to a resource 192. The file identifiers 214 can be in the form of a URI, URL, URN, path, and the like. Different resource dictionaries 212 can contain the same resource identifier 210 associated with a different file identifier 214, thereby creating the basis for themeing.
The toolkit 10 can also be configured to enable the user 14 to associate a plurality of theme identifiers 216 each with one or more resource dictionary identifiers 218 in a second binding map, binding map 2, so that when a theme 194 is selected at runtime, data for application to a property of a UI control 62 can be acquired by finding the address of the data through the use of the information contained in binding map 2, binding map 1 and the resource dictionary 212.
Referring still to
Using this arrangement, a theme manager 222 applies a newly selected theme 194 by creating new resource binding objects 220 and associating them with the appropriate binding objects 204 according to the information in the builder file 190. In this manner, a user 14 of the toolkit 10 can construct multiple mappings between resource data, UI control properties, data streams, animations, and media files, such that changing a the mappings results in a dynamic transformation to the graphical or multi-media interface 68 of an appliance 12.
There can be multiple types of resource binding objects 220. An SQL binding object will know how to execute SQL against a database found at the address of its associated locator resource binding object 220. A media binding object may know how to un-marshal a binary media file of a certain type. There can also be binding objects pointing to control system domain data 182 associated with the cycle of operation enabling either the UI control objects and or the animation definitions to interact with the appliance control system 90, appliance software framework 104, and cycle of operation.
A special type of resource 192 is a language resource. By choosing a theme 194, the graphical user interface 68 can transform between a first and second language. Also because of the many to many relationships between two or more of the theme identifiers 216, resource dictionaries 212, and resources identifiers 210 are composable, a theme 194 can have resources 192 supporting a Spanish Christmas, and another theme 194 could have resources 192 supporting a Spanish victory in the soccer World Cup, wherein there can be one resource dictionary 212 for the Spanish language, one for Christmas, and one for Soccer.
Animations 198 work the same way as do other resources 192. Animations 198 can have two binding points, an input and output. The output of an animation 198 is a function of its input value determined by its binding and its f(x) function, which can be any mathematical function. The binding to an animation is depicted in
Additionally, the toolkit 10 can construct resources 192 for access by the appliance software framework 104. The appliance 12 can also have an interface for receiving a new builder file 190 and/or new resources 192 and can either combine or interchange the new and the existing files so that the appliance 12 can be updated over time with new pages 202, new themes 194, new animations 198, and new resources 192.
Looking now to
The first embodiment is a simple example of an implementation of a hierarchy wherein the parent child relationships are direct relationships. In a direct parent child relationship, the parent includes an identifier identifying each of its children. Therefore, the parent cannot be decoupled from its children because it comprises the identifiers of its children.
A second embodiment exemplifies an indirect parent child relationship wherein neither the parents nor the children include identifiers of the other. Instead, a holder object contains the identifiers of both. For example, object Q is a holder and contains an identifier of object A, object B, and object C, wherein object A is of type 1, object B is of type 2 and object C is of type 3. Objects A, B, and C do not have access to the identifiers of one another. The primary responsibility of object Q is to contain identifiers for objects A, B, and C thereby establishing that there is some type of relationship between objects A, B, and C. There are a number of ways that the nature of the relationship between A, B, and C can be ascertained. In a first example, object Q has access to information defining the possible relationships between objects of type 1, 2, and 3. In this example the information would define a first relationship definition between objects of type 1 and type 2 as being a parent-child relationship wherein type 1 must be the parent and type 2 must be the child. The information would also define a second relationship definition between objects of type 1 and objects of type 3 as being a parent-child relationship wherein type 1 must be the parent and type 3 must be the child. With the information, object Q can interpret the relationship between object A, B, and C as a parent with two children wherein A is the parent of children B and C.
A third embodiment exemplifies an alternate approach for creating an indirect parent child relationship wherein neither the parents nor the children include identifiers of the other. In this embodiment, multiple holders are used to create a holder hierarchy. For example, object Q is a holder and contains an identifier for object A. Object Q also contains an identifier for a second holder object X. Object X contains an identifier for object B. Holder object Q is a parent holder with respect to holder object X because holder object Q contains the identifier to holder object X. Therefore the relationship between object A and object B be can be inferred as a parent child relationship when observed from the perspective of holder object Q and holder object X because holder object Q are in a direct parent child relationship. In this case, object A and object B are in an indirect parent-child relationship.
A forking element includes a hierarchy having a first parent object with at least two children where at least one of the two children has one or more second children and where the one or more second children have one or more third children. An interpreter of the first parent, the one of the two children, the one or more second children, and the one or more third children interprets the two children as valid values of the parent and interprets that the one or more second children is applicable to the hierarchy when the first parent is paired with the at least one of the two children that is the parent of the one or more second children
In an extension of the first example exemplifying a nested forking element, the Second Element also has two children Third and Forth Choice respectively each having a child Forth and Fifth element respectively. Here an interpreter or user of the network message could ascertain the meaning of Byte 2 by looking at the useable data found in Byte 1 and associating the useable data of Byte 1 with corresponding second portion of Byte 2. For example if the useable data of Byte 1 corresponded to the useable data of Third Choice, an interpreter could then determine that the meaning of the useable data found in Byte 2 would correspond to the second portion of the Forth Element. A forking element comprising at least one additional forking element creates a nested forking element.
Generally, in an appliance runtime environment, variables 230 are identifiers which have an associated value 232 where different actors in the runtime system set the value 232 of the variable 230. However,
In some cases, a variable 230 can have a relationship with a value 232 where, for example, the relationship depicts a request for the variable 230 to be set to the value 232 at a future time. In other cases, a variable 230 could be associated with a plurality of values 232 in order to depict the possible values 232 of a variable 230 at some future time.
Yet in other cases, as in forking elements within a message data payload 150 or a capabilities definition, values 232 are parents of other variables 230. Relationships like this are useful to express hierarchies of choices 234, variable validation, payload validation, command validation, user interface behavior, etc. For example a hierarchy of choices 234 might have a root of question 1 with choices A and B as children, where choice A has a child of question 2 having choices of C and D as children. This hierarchy could be used to drive a wizard, such as the use and care guide 130, such that the answer to question 1 would dictate if another question would need to be asked. For example, if the answer to question 1 was choice A, then question 2 would need to be asked to get an answer of either choice C or choice D. However, if choice B were the answer of question 1, then no further questions would be necessary. Using this technique, the behavior of the wizard could be controlled by the capability definition and an answer sheet comprising the list of questions asked and the answers given could be validated using the capability definition.
Looking again at
Using the previous example of
However, it can be undesirable to have direct parent child relationships between variables 230 and their values 232 as shown in
Additionally, as shown in
Additionally, as shown in
As previously described in the hierarchy of choices 234 example, the appliance capabilities model 40F can be used to determine what additional interdependent variables 230 must be included in a command container 250 based on the selected value 232 of each variable 230. Command containers 250 have at least one paired element 252. A command container 250 may be validated by traversing the capability tree to observe and verify that each of the variables 230 or variable holders 236 in the command container 250 is one of a root of the tree and a parent in the tree wherein the parent is a value 232 or value holder 244 as part of the plurality of paired elements 252, to observe and verify that each paired element 252 is located at one of the root or a direct descendent of another paired element 252 connected to the root, and to observe and verify that at least one paired element 252 comprises a value 232 or value holder 244 as a leaf node of the tree. As shown in
The capabilities model instance 42F of
It is apparent, by observing
However, if the information were created using the previously described technique of Scenario 3 of
For example, an appliance 12 can communicate its operational capabilities to a client by sending a capabilities model instance 42F to the client. The client can then form a command container 250 and send that command container 250 back to the appliance 12. The appliance 12 can take the variables 230 from the paired elements 252 of the command container 250 and validate the command container 250 by traversing the capabilities tree as previously described. Once validated, the appliance 12 can automatically convert the command container 250 into one or more message data payloads 150 for constructing network messages to execute the command container 250 across multiple control boards communicating on the communications network 18. This automatic conversion and validation is enabled by using variable holders 236 and value holders 244 to construct the capabilities and message data payload model instances, 42F and 42D, respectively.
When variables 230 and values 232 participate in more than one hierarchy, wherein each hierarchy has a context different from the other hierarchies, it is difficult to only use direct parent child relationships. For this reason, the UML class diagram of
A domain model (not shown) is an abstraction or model 40 associated with real world constructs like cars, buildings, trees, law, language, media, finance, and just about any topical concept imaginable without respect to non-domain concerns like formatting, language, style, persistence form and the like.
In
A converter 34 traverses the arrangement to create html content 20 for the internet browser based viewer 38 on the right. In this way, a user 14 can specify the behavior of the content target 22 with respect to the content 20 by creating data for simulation of the content target 22. Additionally, viewing the content 20 aids the user 14 in understanding the meaning of the domain model 40H in that a portion of the viewable content 20 is a function of the domain model 40H. Therefore the content 20 and viewer 38 together help the user 14 validate and verify the composition of the domain model 40H.
In this way, the graphical user interface 68 of
There will be associations of command statements and message elements 156 created by the toolkit 10 so that a test engine application 50A can create a command container 250 based on the test script. Command statements will include such things as questions to a user such as shown in
In one embodiment, a second a communications driver can be configured to establish a communication link with the test engine application 50A, and a fault tree tool application 50B is configured to access one or more fault trees 110 to construct a command container 250 on instructions in the fault tree(s) 110 and to convey the command container 250 to the test engine application 50A via the second communication link during execution of a command statement in the fault tree 110.
So it can be seen that a model instance editor 32 can use the message data payload model instance 42D to create the data that a model instance editor 32 uses, along with a sequence model instance for tests 42K, to create the test script (which is a sequence model instance variant). The test engine application 50A uses the test script 270 in communication with a smart coupler 56, such as a smart cable, to communicate with the appliance 12 and with the user 14. Meanwhile a model instance editor 32 uses a sequence model instance for a fault tree 42C to create a sequence model instance variant, such as a fault tree, that a fault tree tool application 50B uses in interaction with the user 14.
A sequence model instance for tests 42K is similar to other instances using the sequence model 40B in that it allows the user 14 to create a set of steps separated by transition conditions having logic to drive the condition where each step has an associated action specifying the tasks to be done in that step. A sequence model instance for tests 42K can use message data payload model instances 42D as constraining elements for the actions in each step. This is accomplished in a similar fashion previously described for
Referring back to
The test engine application 50A, having been previously constrained by elements from the message data payload model instance 42D and having actions of steps bound to message data payload model instances 42D can use the binding to automatically construct and transmit useable messages 266 from the test engine application 50A to the appliance 12 using the method as previously described for cycle definition 262 translation to message data payloads 150.
To get the doneness of crispy donuts, the profiles in
Using the recipe specified by one of the sequence model instance for a recipe with a first set of portions 42L and the sequence model instance for a recipe with a second set of portions 42M, the selection of which is based on the cooking profiles, the user 14 first gets the ingredients. In this example, the user 14 is using the sequence model instance for a recipe with a first set of portions 42L: get 5 ounces of flour, 2 ounces of sugar. The sequence model instance for a recipe with a first set of portions 42L then transitions to the next state 246 called mix. The user 14 then mixes the ingredients and transitions to the next state to cook. The user 14 puts the mix in the pan and forms the dough, gets a pan, places the dough in the donut forms in the pan, and then transitions into state cook, where the user 14 places the pan in the appliance 12 and uses the user interface 46 to select the food pan and doneness to select the cycle.
The ingredients substitution model 40N and instance 42N thereof are both appliance user domain data 180. For a portion of flour, there is an alternate portion of crushed seaweed, and a substitution object in the ingredients substitution model instance 42N holds the primary and alternate portion and enables a user 14 to substitute one for the other and still complete the desired cooking cycle.
Likewise, we have a second substitution that shows a substitution between sugar and Splenda. So the arrows between the ingredients and the alternate portions and the substitution window point up to both the sequence model instance for a recipe with a first set of portions 42L and the sequence model instance for a recipe with a second set of portions 42M, and as seen in the sequence model instance for a recipe with a second set of portions 42M, the ingredients automatically changed out the ingredients from 5 ounces of flour to 60 ounces of crushed seaweed and from 2 ounces of sugar to 4 ounces of Splenda. This relationship between these models/model instances enables the user 14 to fluidly accommodate issues that arise during cooking.
The alternate portion can also have nutritional information associated therewith so that as sequence model instance for recipes call for certain portion substitutions, the nutritional information is derived from the portions and then compared that to the constraints from the meal planner discussed below, allowing the meal planner to then actually achieve the substitutions based on nutritional constraints.
As shown in
The other constraint that a meal planner could look at would be an inventory system constraint where an inventory system actually knows the available portions that are in the house and then the meal planner could take that and select recipes or do ingredient substitutions or recipes based on the inventory at hand. It could also populate a shopping list if there were certain things that it highlighted as not being available or being in conflict with a preference of a person or a diet of a person, then it could kind of spit out a shopping list and say to the user of the meal planner, hey, we better get this. And of course it could automate that transaction by having it ordered, delivered, etc.
While the invention has been specifically described in connection with certain specific embodiments thereof, it is to be understood that this is by way of illustration and not of limitation, and the scope of the appended claims should be construed as broadly as the prior art will permit.
Claims
1. An appliance development toolkit to enable creation of a dynamic user interface for an appliance, the toolkit comprising:
- access to a user interface domain data model,
- access to an appliance user domain data model,
- a model instance editor configured to create at least one instance of user interface domain data derived from the user interface domain data model, to create at least one instance of appliance user domain data derived from the appliance user domain data model, and to associate at least one user interface element from the at least one instance of the user interface domain data with at least one appliance user element of the at least one instance of the appliance user domain data in a first association, and
- a model instance converter for creating content including a portion of the at least one instance of user interface domain data, a portion of the at least one instance of appliance user domain data, and a map of the first association,
- wherein the content is in a builder file that an appliance, having a graphical user interface with which a user can control and observe operation of the appliance, can use at runtime to dynamically render the graphical user interface.
2. The appliance development toolkit of claim 1 wherein the content also includes other information related to the appliance user domain data from which the graphical user interface will be rendered.
3. The appliance development toolkit of claim 1 wherein the at least one user interface element is directly associated with the at least one appliance user element.
4. The appliance development toolkit of claim 3 wherein the association is bi-directional wherein each of the at least one user interface and at least one appliance user elements includes a reference to the other.
5. The appliance development toolkit of claim 3 wherein the association is unidirectional wherein only one of the at least one user interface and at least one appliance user elements includes a reference to the other.
6. The appliance development toolkit of claim 1 wherein the at least one user interface element is indirectly associated with the at least one appliance user element through at least one intermediate binding object.
7. The appliance development toolkit of claim 3 further comprising access to control system domain data wherein the editor is configured to associate at least one element of data from the control system domain data with the at least one appliance user element in a second association, and wherein the content further includes a map of the second association.
8. The appliance development toolkit of claim 7 wherein the map of the second association is used to select one of a control algorithm or parameter thereof and a cycle of operation or parameter thereof based on the selection of information associated with the at least one element of the at least one instance of the appliance user domain data on the graphical user interface.
9. An appliance development toolkit to enable creation of a dynamic user interface for an appliance, the toolkit comprising:
- access to a user interface domain data model,
- and access to source identification domain data,
- a model instance editor configured to create at least one instance of user interface domain data derived from the user interface domain data model, and to associate at least one element from the at least one instance of the user interface domain with at least a portion of the source identification domain data in an association, and
- a model instance converter for creating content including a portion of the at least one instance of user interface domain data, a portion of the source identification domain data, and a map of the association,
- wherein the content is in a builder file that an appliance, having a graphical user interface with which a user can control and observe operation of the appliance, can use at runtime to render information on the graphical user interface associated with the portion.
10. An appliance development toolkit to enable creation of content for a user interface for an appliance, the toolkit comprising:
- access to at least one of appliance user domain data and source identification domain data
- an editor configured to create at least one instance of a domain object associated with one of the appliance user domain data and the source identification domain data, and to arrange other data, not from the appliance user domain data or the source identification domain data, with the at least one instance into a collection,
- a first converter to observe the collection and create renderable content having a first portion associated with the at least one of appliance user domain data and the source identification domain data, and a second portion associated with the other data.
11. The appliance development toolkit of claim 10 further comprising a viewer for rendering the content.
12. The appliance development toolkit of claim 10 further comprising a second converter to observe the collection and create the content in a form compatible with the appliance.
13. The appliance development toolkit of claim 12 wherein the form is at least one of a relational database, html, and xml.
14. The appliance development toolkit of claim 10 wherein the other data includes user entered text.
15. The appliance development toolkit of claim 10 wherein the other data includes user entered data from the ascii code.
16. The appliance development toolkit of claim 12 wherein the other data includes markup language and tags wherein at least one of the first and second converters is configured to interpret at least a portion of the markup language and tags.
17. The appliance development toolkit of claim 16 wherein the markup language and tags include at least one element for one of bolding, italicizing, setting a font, setting a font size, setting color, indenting, creating a table, referencing a resource outside the editor, paragraphing, and pagination.
18. The appliance development toolkit of claim 12 wherein the other data includes markup language and tags and wherein at least one of the first and second converters is configured to include at least a portion of the markup language and tags into the content.
19. The appliance development toolkit of claim 10 wherein the other data includes markup language and tags, and wherein the first converter is configured to create content for at least one content target and to omit at least a portion of the markup language and tags from the content wherein the portion is incompatible with the at least one content target.
20. The appliance development toolkit of claim 19 wherein the at least one content target is an appliance configured to perform a physical operation on an article having a graphical user interface and software for rendering content on the graphical user interface wherein the software cannot render the markup language and tags.
21. The appliance development toolkit of claim 10 further comprising a viewer wherein the other data includes markup language and tags and wherein the viewer displays the renderable content in response, in part, to the elements in the markup language and tags.
22. An appliance development toolkit to enable creation of a dynamic user interface for an appliance, the toolkit comprising:
- a user interface domain data model having animation resource identifiers and user interface control identifiers,
- an editor configured to create at least one instance of user interface control data derived from the user interface domain data model, and to create a map for associating the at least one instance with at least one animation resource identifier, and
- a converter for creating content based on the at least one instance of user interface control data and the map for associating the at least one instance with the at least one animation resource identifier,
- wherein the content is in a builder file that an appliance, having a graphical user interface with which a user can control and observe operation of the appliance, can use at runtime to dynamically render the graphical user interface with animations based on an animation resource associated with the at least one animation resource identifier.
23. The appliance development toolkit of claim 22 further comprising a viewer for rendering the content.
24. The appliance development toolkit of claim 22 further comprising a second converter to create the content in a form compatible with the appliance.
25. The appliance development toolkit of claim 24 wherein the form is at least one of a relational database, html, and xml.
26. The appliance development toolkit of claim 22 wherein the at least one user interface control has at least two properties and wherein the animation resource identifier includes a sub identifier for an output and a sub identifier for an input wherein the toolkit enables the association of one of the at least two properties with one of the sub identifier for an output an a sub identifier for an input and the other of the at least tow properties with the other of the sub identifier for an output an a sub identifier for an input.
Type: Application
Filed: Sep 10, 2009
Publication Date: Dec 31, 2009
Applicant: WHIRLPOOL CORPORATION (BENTON HARBOR, MI)
Inventors: MATTHEW P. EBROM (HOLLAND, MI), MARK E. GLOTZBACH (GRANGER, IN), RICHARD A. MCCOY (STEVENSVILLE, MI), MICHAEL A. MORRELL (HUDSONVILLE, MI), BRIAN N. RADFORD (SAINT JOSEPH, MI)
Application Number: 12/556,713
International Classification: G06F 3/048 (20060101);