The invention provides a communication method, which is applied to the field of communication and is used for carrying out
data transmission according to a data packet in a preset format. The method comprises the following step of transmitting data between devices in
the Internet of Things
system through a data packet in a preset format, wherein the data packet in the preset format comprises a data packet identifier, data packet types, a
device identifiers, a destination register address and a destination register value; the data packet types comprise a
system type, a transmission type, an operation type and an operation result; the
device identifiers comprise a first device identifier and a second device identifier, and the first device identifier refers to a source device identifier; thesecond equipment identifier refers to a target equipment identifier; the
device identifiers comprise a user number, a region number, a physical grouping type of the device, a physical grouping numberof the device, a
device type, a device address type and a device address. Via the communication method and device disclosed in the invention, automatic establishment and
automatic control of
the Internet of Things
system can be realized through the data packet in the preset format.