Method for data transmission and data interface