The whole point of Ethereum is computation without trusting the computers doing it. Your problem sounds like it would be better served with a regular old program running on your own, trusted computers (or even a more low-tech solution, like manufactured tokens).