User generated virtual room-based user interface

In one embodiment, a technique is utilized to generate a virtual-room of a virtual room-based user interface that controls one or more devices within a physical room of a structure. A user is prompted to select one or more services provided by the one or more devices within the physical room. A plurality of images of the physical room are obtained that each share substantially a same perspective. The plurality of images include an all-off image, in which all of the one or more of the services are in an inactive state, and one or more service-specific images, in which a single service is in an active state and any other services are in the inactive state. The plurality of images are aligned to create an aligned image stack. One or more hit boxes are designated. The virtual room is generated based on the aligned image stack and the designated one or more hit boxes.

BACKGROUND

Technical Field

The present disclosure relates generally to device control and more specifically to generation of a user interface to control devices coupled to a home automation or electronic device control system.

Background Information

As homes and other structures become larger, and become filled with more devices, such as light fixtures, motor-actuated devices and electronic devices, the burden of controlling these devices increases. Traditionally, many devices have been controlled by mechanical switches. While mechanical switches are reliable and cost-effective, they have many limitations, especially when there are many devices located in the same room of a structure. For example, a large room may include a number of light fixtures, such as lamps, overhead fixtures, task lights, etc.; a number of motor-operated devices, such as automatic window shades, automatic doors, etc.; and a number of electronic devices, such as display screens (e.g., televisions and monitors), audio/video (a/v) devices, computer devices, etc. To control all these devices, a large number of mechanical switches may be needed. As the number of mechanical switches increases within the room, usability decreases. Mechanical switches often are unlabeled, or if labeled, marked with only cryptic descriptions (e.g., “Lamp 1”, “Lamp 2”, “Window Shade 1”, etc.). A user may be forced to memorize which of the many mechanical switches available in the room controls which device. A new guest in the room, who has not memorize this relationship, typically must rely upon trial and error to determine which mechanical switch controls which device, flipping switches until they happen upon the result they desire.

A variety of types of home automation and electronic device control systems have been developed that attempt to improve upon the shortcomings of mechanical switches. Such systems typically include one or more controllers that manage the operation of devices. The controllers may be interacted with via user interface devices, such as dedicated touch-screen control units, that provide a user interface for controlling the devices. The user interface may include an array of touch-sensitive buttons, where each button controls a device or a group of devices.

However, such button-centric on-screen user interfaces share many of the same shortcomings as mechanical switches. While the buttons are shown on a screen, rather than existing as physical objects like mechanical switches, they operate very similarly. By looking at an on-screen button, it may not be apparent what the button does. While a label may be provided, often such labels are short and cryptic, given the constraints of screen space. A new guest to a room, similar to the case with mechanical switches, may have to touch each on-screen button to discover by trial and error what button achieves what result.

Recently, a virtual-room based device control solution has been developed that addresses many of the shortcomings of mechanical switches and button-centric on-screen user interfaces. This virtual-room based device control solution provides a virtual room-based user interface that includes one or more virtual rooms. By interacting with the virtual rooms, a user may indicate desired state changes for devices within the physical room.

However, while this type of solution solves many of the shortcomings of mechanical switches and button-centric on-screen user interfaces, it presents new challenges. One challenge is how to generate the virtual rooms in an economical manner. Unlike many other types of user interface screens, virtual rooms are unique. A single screen cannot be centrally designed and then merely distributed; each virtual room generally needs to be custom created for a corresponding physical room of a structure.

Further, virtual rooms may need to be re-created on an ongoing basis. Since a virtual room is intended to correspond to a physical room, if the appearance of the physical room changes, the corresponding virtual room may need to be re-created to provide a satisfactory user experience. For example, if a user rearranges furniture, repaints walls, or otherwise changes the appearance of the physical room, the corresponding virtual room may need to be re-created to reflect these changes. The expense incurred creating and recreating virtual rooms poses a barrier to their more wide-spread use in device control user interfaces.

Accordingly, there is a need for improved techniques to generate virtual rooms that may address some or all of these challenges.

SUMMARY

In one embodiment, a technique is provided to rapidly and economically generate a virtual room of a virtual room-based user interface that control devices coupled to a home automation or electronic device control system. The technique may be implemented on a mobile device, for example, a tablet computer, by a user who lacks specialized training, for example, a homeowner or other end-user.

For a given virtual room of the virtual room-based user interface, an application executing on the mobile device prompts a user to select one or more services provided by devices (e.g., light fixtures, motor-actuated devices, or electronic devices) within the physical room, to be controllable via the virtual room. The selected services may be a subset of all services that are possible by the devices within the physical room. Each service may have at least one active state and an inactive state, the natures of which generally depend on the particular service. The configuration application executing on the mobile device then obtains a plurality of images (e.g., photographs) of the physical room in different states, where each image shares substantially the same perspective (e.g., is captured from the same location in the same direction). The plurality of images may include an all-off image, in which all of the one or more of the services are in the inactive state, and one or more service-specific images, in which a single service is in the active state and other services are in the inactive state. In one alternative, the configuration application obtains the plurality of images by capturing each image using a camera of the mobile device, while the configuration application deactivates and then sequentially activates services within the room. In another alternative, the configuration application obtains the plurality of images by prompting the user to assign previously-captured images from an image library.

After the plurality of images of the physical room have been obtained, the configuration application executing on the mobile device aligns the images to create an aligned image stack. Such alignment compensates for minor differences in perspective between the plurality of images. The alignment may be a manual process, based on input received on the mobile device from the user. Alternatively, the alignment may be an automatic process, utilizing an image feature alignment algorithm, to create the aligned image stack. The configuration application executing on the mobile device then designates one or more hit boxes about devices shown in the images of the aligned image stack. Each hit box corresponds to a service provided by the respective device. The designation of hit boxes may be based upon input on the mobile device from the user.

Based upon the aligned image stack and the designated one or more hit boxes, the configuration application generates a virtual room of the virtual room-based user interface, that is usable to control the one or more devices within the physical room and thereby the one or more services they provide. The generated virtual room may be displayed to the user on the mobile device, and the user prompted to test its functionality. Should the functionality differ from the user's expectations, the user may cause the configuration application to repeat one or more of the sequence of steps to change the virtual room. Otherwise, the virtual room may be finalized and used along with other virtual rooms (created in a similar manner) in the virtual room-based user interface.

It should be understood that a variety of additional features and alternative embodiments may be implemented. This Summary is intended simply as an introduction to the reader, and does not indicate or imply that the examples mentioned herein cover all aspects of the invention, or are necessary or essential aspects of the invention.

DETAILED DESCRIPTION

FIG. 1is a block diagram of a generalized architecture for a home automation or electronic device control system100configured to control devices within a physical room of a structure. The devices may include light fixtures, motor-actuated devices, electronic devices, and/or other types of devices. The light fixtures may be lamps, overhead fixtures, task lights or other types of lighting devices. The motor-actuated devices may be automatic window shades, automatic doors, motorized television lifts, or other type of devices moved by motors. The electronic devices may be display screens (e.g., televisions and monitors), audio/video (a/v) devices, computer devices, or other types of devices utilizing electronics.

The example system100may be composed of a number of components, including controllers, user interface devices, and control modules. The controllers may include a device controller110and a host controller120. The user interfaces devices may include dedicated touch panel units180and mobile devices200. The control modules may include load modules140. Each of these components may interoperate to control devices within the structure.

More specifically, the device controller110may provide control and communication functionality, and supports, via a module bus130, the load modules140. The device controller110may be responsible for issuing control commands to individual load modules140to cause them to change the state of specific devices coupled to them. The host controller120may be coupled to the device controller110, for example, by a wired local area network (LAN)150. The host controller120may be configured to control and monitor operations of the device controller110, as well as to provide high-level control and user interface support functions. These user interface support functions may support, among other things, a virtual room-based user interface for controlling the devices.

One or more wireless access points160may be coupled to the LAN150, and support, for example, a wireless local area network (WLAN)170used to communicate with dedicated touch panels180and mobile devices200. Alternatively, or additionally, dedicated touch panels180and mobile devices200may communicate with the host controller120via wired connections to the wired LAN150. As discussed in more detail below, the dedicated touch panels180and mobile devices200may present a virtual room-based user interface, via which a user may indicate desired changes to the state of devices within the structure.

As used herein, the term “mobile device” refers to a multi-purpose electronic device that is adapted to be transported on one's person and includes a wireless communication interface and a touch sensitive display screen. A mobile device may, but need not, include an integrated camera. Devices such as tablet computers (e.g., the iPad® tablet available from Apple, Inc.) and smartphones (e.g., the iPhone® smartphones available from Apple, Inc., and Android® smartphones available from various suppliers), are considered mobile devices. Devices such as desktop computers are generally not considered mobile devices. The mobile devices200of the system100may be used in a control role, to provide the virtual room-based user interface to a user, or in a configuration role, to support generation of the virtual room-based user interface. An individual mobile device may be used in only one, or in both, of these roles.

FIG. 2is a block diagram of an example mobile device200. The mobile device200may include a processor210, a memory220, a wireless network interface230, a touch-sensitive display screen240, a camera250, as well as other hardware. The processor210may include logic configured to execute software and manipulate data structures. The memory220may include a plurality of storage locations for storing the software and the data structures. The wireless network interface230may facilitates communication over a WLAN and/or cellular broadband data network. The touch-sensitive display screen240may receive user input in the form of gestures (e.g., touches, swipes, etc.) from a user.

An operating system260resident in memory220, may functionally organize the mobile device200. The operating system260may be an IOS® operating system available from Apple, Inc., an Android® operating system available from Google, Inc., or another type of operating system. A configuration application270may be executed in conjunction with the operating system260, to permit the mobile device200to operate in a configuration role, to generate a virtual room of a virtual room-based user interface. The configuration application270may display a configuration user interface on the touch sensitive display screen240, and receive user input thereon. In addition, a control application (not shown) may also be stored in the memory220, and executed to permit the mobile device200to operate in a control role. The control application (not shown) may display the virtual room-based user interface on the touch sensitive display screen240, and receive user input thereon, to permit a user to indicated desired changes to the state of devices within the structure.

The virtual room-based user interface may include one or more virtual rooms that each show a photo-realistic depiction of a corresponding physical room of the structure. The photo-realistic depiction may show boundaries of the physical room (e.g., the walls, ceiling, floor, etc.), furnishings present in the physical room (e.g., sofas, chairs, beds, wall-hangings, etc.), and controllable devices present in the physical room (e.g., light fixtures, motor-actuated devices, electronic devices, and/or other types of devices). The photo-realistic depictions of the devices are preferably shown at locations within the virtual room corresponding to the device's actual locations within the physical room. The virtual room may operate as an interface environment. By interacting with (e.g., touching) photo-realistic depictions of the devices within the virtual room, a user may indicate changes to the state of services provided by the corresponding devices in the physical room. As the state of devices is changed so they provide different services within the physical room, the appearance of the virtual room may be dynamically updated to reflect the changes. In such manner, the virtual room may be updated to reflect back to the user a photo-realistic depiction of the present condition of the corresponding physical room, such that what a user views within the virtual room will mirror, or at least resemble, their experience within the corresponding physical room. Such an interface may be highly intuitive, allowing a user to readily indicate control selections without having to understand complicated control schemes.

FIG. 3is a front view300of an example mobile device showing an example virtual room310of an example virtual room-based user interface displayed upon a touch-sensitive screen of the mobile device. The example virtual room310corresponds to a living room within an example home. However, it should be understood that such choice of room for this example is arbitrary. The example virtual room310includes photo-realistic depictions of boundaries of the physical room, such as the ceiling315and walls320; photo-realistic depictions of furnishings present in the physical room, such as a sofa330, coffee table340, and end table350; as well as photo-realistic depictions of controllable devices within the physical room, such as a chandelier360, lamps370,375, recessed cans380, and a television390. Each of these devices360-390provides a service having states, which include at least one active state and an inactive state. For example, the chandelier360, lamps370,375, and recessed cans380provide a lighting service that includes an active state of “on” (and potentially a plurality of active sub-states representing different lighting levels), and an inactive state of “off”. Similarly, the television390provides a viewing service that includes an active state of “on” (and potentially a plurality of active sub-states representing different video sources, channels, volume levels, etc. being displayed/used), and an inactive state of the television being “off”.

By interacting with (e.g., touching) photo-realistic depictions of the devices360-390within the virtual room310, a user may indicate changes to the state of the services provided by the corresponding devices in the corresponding physical room. These changes may be implemented by the home automation or electronic device control system100. For example, by touching the photo-realistic depiction of the chandelier360, the user may cause the chandelier within the physical room to be illuminated (or otherwise controlled). Similarly, by touching the photo-realistic depiction of the television390, the user may cause the television within the physical room to be powered on (or otherwise controlled). For more advanced control, one or more menus (not shown) may be presented within the virtual-room based user interface, for example, overlaid upon a portion of the virtual room310, to permit further control selections.

As the devices360-390provide different services, the appearance of the virtual room310may be dynamically updated to reflect the changes. For example, when the chandelier is turned on, the photo-realistic depiction of the chandelier360within the virtual room310is changed to depict the chandelier in an illuminated state. Similarly, if the television is powered on, the photo-realistic depiction of the television390within the virtual room310is changed to depict the television in a powered on state. In this manner, the virtual room310may minor, or at least resemble, the present appearance of the physical room.

As discussed above, it has previously been a challenge to generate virtual rooms in an economical manner. To address this challenge, the configuration application270may implement a sequence of steps that enable a user who lacks specialized training, for example, a homeowner or other end-user, to generate virtual rooms and thereby construct a virtual room-based user interface. This may obviate the need for custom programming and configuration by an installer. The sequence of steps may be repeated for each desired virtual room.

FIG. 4is a flow diagram of an example sequence of steps400for generating a virtual room of a virtual room-based user interface. At step410, the configuration application270may prompt a user to select a virtual room to generate. At step420, the configuration application270may display an instructional animation or video providing guidance on how to prepare the physical room, what to do if certain issues are encountered, and other topics. For example, the instructional video may discuss the use of ambient lighting, how to maintain consistency among images, how to estimate the number of images needed, what to do if all the services cannot fit into one image, etc.

At step430, the configuration application270prompts the user to select one or more services provided by devices (e.g., light fixtures, motor-actuated devices, or electronic devices) to be controllable via the virtual room. The selected services may be a subset of all services that are possible by the devices within the physical room. Further, text descriptions, animations and/or video may guide the user through the selection process.

FIG. 5is a front view of an example mobile device showing an example service selection screen500provided by the configuration application270. A guide portion510of the screen may indicate the steps used in generating a virtual room, with a present step being to select services512. A description portion520, and an animation/video portion530, may provide text and pictorial guidance to the user. Finally, a selection portion540may provide a listing of services, from which a user can select desired services (e.g., by touch) to be controllable. Each service may correspond to a respective device and share a name with the device.

At step440, the configuration application270obtains a plurality of images (e.g., photographs) of the physical room in different states, where each image shares substantially the same perspective (e.g., is captured from the same location in the same direction). The plurality of images may include an all-off image, in which all of the services are in the inactive state, and one or more service-specific images, in which a single service is in the active state and other services are in the inactive state.

In one alternative, the configuration application270may obtain the plurality of images by capturing each image using the camera250of the mobile device200, while the configuration application270deactivates, and then sequentially activates, services within the room. In another alternative, the configuration application270may obtain the plurality of images by prompting the user to assign previously-captured images from an image library.

FIG. 6is a front view of an example mobile device showing an example image capture screen600provided by the configuration application270, according to one alternative. A guide portion610of the screen may be expanded to show image capture steps. A user may select from the guide portion610using options612. The options may include an automated mode, where the configuration application270controls camera operation, and a manual mode, where the user controls the camera operations. A description portion620may instruct the user to stand in one location and point the camera250in one direction. The user may position the camera250by looking at an image capture portion640of the screen600. If the automated mode is selected, the configuration application270may rapidly cycle through service activations, while activating the camera250when appropriate. For example, the configuration application270may communicate with the host controller120and device controller110to cause all services to be in the inactive state, and then trigger the camera250to capture an all-off image. The configuration application270may sequentially cause the single services to be activated, and trigger the camera250to capture a service-specific image each time.

If the manual mode is selected, the configuration application270may control service activation, but the user may control camera functions. For example, the configuration application270may communicate with the host controller120and device controller110to cause all services to be in the inactive state, and then prompt the user to use the camera250to take an all-off image. The user may capture the image by interacting with a camera button650. The configuration application270may sequentially activate single services, and prompt the user each time to use the camera button650to take a service-specific image. After capturing each image, a user may have the option to retake the image before proceeding onward. The user may base the decision of whether or not to retake the image multiple factors. One factor may be the similarity of perspective to previously captured images, such as the all-off image. An accuracy meter630may be provided to indicate such similarity to the user. In this manner, images may be obtained by image capture.

As mentioned above, the image may also be obtained from pre-captured images.FIG. 7is a front view of an example mobile device showing an example image assignment screen700. A guide portion710of the screen may show that the present step it to assign images712. A description portion720and a video/animation portion730may provide instructions regarding image assignment. An assignment portion740may display previously-captured images. The user may be prompted to select each image, and to assign each image to a respective role, for example, either as the all-off image or as a certain one of the service-specific images. When so assigned, a name of the role may be displayed below each image. In some cases the name may coincide with the name of the device.

At step450, the configuration application270aligns the images to create an aligned image stack. Such alignment compensates for minor differences in perspective between the plurality of images. The alignment may be a manual process, based on input received on the mobile device200from the user. Alternatively, the alignment may be an automatic process, utilizing an image feature alignment algorithm executing on the mobile device200, to create the aligned image stack.

FIG. 8is a front view of an example mobile device showing an example image qualification screen800, where images are manually aligned. A guide portion810of the screen800may show that the present step is to qualify/align images812. A description portion820and a video/animation portion830may provide instructions regarding image alignment. An alignment portion840of the screen may allow a user to manually move images to align them. For example, the all-off image may be displayed, and sequentially each service-specific image may be overlaid upon it. The user may be prompted to adjust the alignment of the service-specific image, for example, by dragging842or using directional buttons844, so that features coincide with the all-off image, to create the aligned image stack.

At step460, the configuration application270designates one or more hit boxes about devices shown in the images of the aligned image stack. Hit boxes may be regions that when selected (e.g., touched) cause a state of a service to be changed. While hit boxes may be delineated by visible boundaries as they are designated, when incorporated into a final virtual room, they are generally invisible to the user.

FIG. 9is a front view of an example mobile device showing an example marking screen900, where hit boxes are defined. A guide portion910of the screen may show that the present step it to mark hit boxes912. A description portion920and a video/animation portion930may provide instructions regarding hit box creation. A hit box creation portion940may allow a user to draw, size, and position shapes representing the hit box942-948over respective devices. For example, a user may touch the screen and drag diagonally to create a hit box. The user may then assign that hit box to a particular service provided by a device. A user may also resize and adjust the hit box. In one implementation, hit boxes are not allowed to overlap each other.

At step470, based upon the aligned image stack and the designated one or more hit boxes, the configuration application270generates a virtual room of the virtual room-based user interface. The configuration application270may employ a number of filtering routines, image adjustment routings, and other software processes as part of step470. Further details of example operations that may be utilized are provided in U.S. patent application Ser. No. 12/792,236, which was incorporated by reference above.

At step480, the configuration application270displays the generated virtual room for testing. Should the functionality differ from user-expectations, the user may cause the configuration application270to repeat one or more of the sequence of steps, to change the virtual room. Otherwise, the virtual room may be finalized.

FIG. 10is a front view of an example mobile device showing an example testing screen1000, where a virtual room is tested. A guide portion1010of the screen may show that the present step1012it to test the virtual room. The virtual room1050may be shown in a test portion1040. A description portion1020and a video/animation portion1030may provide instructions regarding the testing. For example, the user may be instructed to interact with the virtual room1050, and touch the photo-realistic depiction for each of the devices (where the now-invisible hit boxes are located). The user may then observe whether the services provided in the physical room meet their expectations. If not, the user may cause the configuration application270to repeat an earlier step by selecting a back control1042. If so, the user may finalize the virtual room by selecting a confirmation control1044.

In summary, a technique is described herein that allows rapid and economical generation of virtual rooms for a virtual room-based user interface that controls devices coupled to a home automation or electronic device control system. While the above description provides certain specific examples, it should be apparent that a number of modifications and/or additions may be made thereto.

For instance, while it is discussed above that steps may be performed on a mobile device200, it should be understood that at least some of the steps may be performed on other types of electronic devices, which lack the characteristics of a mobile device. For example, at least some of the steps may be performed on a desktop computer. Further, steps may be performed on several devices working in conjunctions. For example, some steps may be performed on a desktop computer, while other steps, for example those related to image capture, may be performed by a stand-alone digital camera. A wide variety of alternative arrangements are possible.

Further, while it is discussed above that a substantially photo-realistic depiction may be captured by a camera, a substantially photo-realistic depiction may be otherwise created. For example, a photo-realistic depiction may be rendered from a model by a computer-aided-design (CAD) application.

Still further, while reference is made above to a “physical room”, it should be understood that a physical room need not coincide with a “room” as labeled on a floor plan or blueprint of the structure. A physical room may be a portion of a room as labeled on a floor plan or blueprint, a combination of multiple such rooms, or other logical partition of a structure defined by one or more boundaries.

Additionally, it should be understood that the steps described above may be implemented in hardware, software (embodied as a non-transitory computer-readable medium containing program instructions), firmware, or a combination thereof. A non-transitory computer-readable medium may take the form of a memory, such as a Random Access Memory (RAM), a disk, such as a CD-ROM, or other tangible storage medium.

In general, it should be understood that the above descriptions are meant to be taken only by way of example.