Patent 10997784 was granted and assigned to Microsoft on May, 2021 by the United States Patent and Trademark Office.
A map file includes two-dimensional or three-dimensional geometric data items collectively representing layout of a building. The map file and parsed and the geometric data items analyzed to identify building elements including rooms, floors, and objects of the building, and to identify containment relationships between the elements. A space model having a space graph is constructed. The space graph includes nodes that correspond to the respective building elements and links forming relationships between nodes that correspond to the identified containment relationships. Each node may include node metadata, rules or code that operate on the metadata, and a node type that corresponds to a type of physical space. Some nodes may include user representations or device representations that represent physical sensors associated therewith. The representations may receive data from the respectively represented sensors, and the sensor data becomes available via the space model.