Very Interesting ! What springs to mind are the Magic Prayer Cups with verse and numerical magic squares but rather than simply offering this simple explanation here is a good account of the type of object, although not the same by any means, but giving a more in depth idea at;
https://books.google.com.om/books?id...%20cup&f=false