Principle of a gateway system