A method for enabling the discovery of at least one service matching a discovery request and provided by an object located in a space among interconnected smart spaces, wherein the method comprises: - modelling said interconnected smart spaces in an n-level architecture of parent and child nodes (2, 3, 4), wherein lowest-level nodes are child nodes representative of spaces containing physical connected objects while nodes (3, 4) of each upper level are either parent nodes with respect to at least one node of a lower level and/or child nodes with respect to at least one node of a higher level, characterized in that the method comprises: - at each lowest-level node: a) clustering services associated with said physical connected objects into at least one lowest-level service cluster, b) aggregating parameters (26, 28) defining each lowest-level service cluster in the node into information aggregation, c) building a service matching table based on said information aggregation and associated services, and d) sending said information aggregation to parent nodes, - at each node (3, 4) from level 2 to n: e) clustering received information aggregation into at least one upper-level cluster (32, 42), f) aggregating parameters (36, 38) defining each upper-level cluster (32, 42) in the node (3, 4) into local information aggregation, g) building a cluster matching table based on said local information aggregation and said received information aggregation, and h) sending said local information aggregation to parent nodes, if any, wherein steps e) to h) are performed recursively within each node starting from level 2, and wherein upon reception, at a parent node (3, 4), the parent node (3, 4) comprising processing means, of the discovery request for a service, processing said request to forward it level by level to child nodes upon successive matching of the request with the cluster matching table until the request reaches a target lowest-level node representative of a space containing the object providing the service matching the request. - modelling said interconnected smart spaces in an n-level architecture of parent and child nodes (2, 3, 4), wherein lowest-level nodes are child nodes representative of spaces containing physical connected objects while nodes (3, 4) of each upper level are either parent nodes with respect to at least one node of a lower level and/or child nodes with respect to at least one node of a higher level, characterized in that the method comprises: - at each lowest-level node: a) clustering services associated with said physical connected objects into at least one lowest-level service cluster, b) aggregating parameters (26, 28) defining each lowest-level service cluster in the node into information aggregation, c) building a service matching table based on said information aggregation and associated services, and d) sending said information aggregation to parent nodes, a) clustering services associated with said physical connected objects into at least one lowest-level service cluster, b) aggregating parameters (26, 28) defining each lowest-level service cluster in the node into information aggregation, c) building a service matching table based on said information aggregation and associated services, and d) sending said information aggregation to parent nodes, - at each node (3, 4) from level 2 to n: e) clustering received information aggregation into at least one upper-level cluster (32, 42), f) aggregating parameters (36, 38) defining each upper-level cluster (32, 42) in the node (3, 4) into local information aggregation, g) building a cluster matching table based on said local information aggregation and said received information aggregation, and h) sending said local information aggregation to parent nodes, if any, e) clustering received information aggregation into at least one upper-level cluster (32, 42), f) aggregating parameters (36, 38) defining each upper-level cluster (32, 42) in the node (3, 4) into local information aggregation, g) building a cluster matching table based on said local information aggregation and said received information aggregation, and h) sending said local information aggregation to parent nodes, if any,