Design of an artificial functional nanomaterial with high recognition ability