The invention relates to a
data transmission method and device,
computer equipment, a storage medium and a program product. According to the method, when a first component transmits attributes to a second component, a first object is generated according to a
data mapping dictionary and a corresponding
processing method, the first object is transmitted to the second component, and the
data mapping dictionary comprises a mapping relation between the attributes of the first component and the attributes of the first object. The
processing method is used for packaging a
data source object into an object with an accessor. According to the method, the attributes are transmitted by transmitting the objects among the different components, compared with a traditional method that an updating mode needs to be defined for each attribute when the attributes are transmitted among the components, only one
data mapping dictionary needs to be defined, the mapped objects are transmitted to the components, the updating mode does not need to be defined, the
redundant code amount can be reduced, and the efficiency is improved. Particularly, when the more the attributes need to be transmitted are, the more the
redundant code amount can be reduced, and the
data transmission efficiency between the components can be greatly improved.