A data transmission method and device are provided in embodiments of this disclosure. The method includes: starting to transmit data to a network device on a resource configured in one period; changing an RV value or a resource or a DMRS from a current value to another value in case that a terminal needs to transmit data beyond the boundary of the period.