This invention provides a
data transmission method and
system for smart devices based on a 5G communication module. The
data transmission method includes: real-time hierarchical
processing of data packets to be transmitted according to a preset hierarchical strategy; real-time monitoring and acquisition of
communication link status parameters, and prediction of the
service quality change trend of each
communication link within a short future time window based on historical status data using a
time series prediction model; dynamic decision-making on the transmission path and transmission mode of single or batch data packets based on the priority of the data packets and the current and predicted
communication link status, using a preset communication optimization strategy; encrypting the data packets using a
data security strategy selected according to the priority and security requirement level of the data packets; and sending the encrypted data packets to a network
edge node or cloud as the receiving end. This invention effectively ensures the low latency and high reliability transmission requirements of high-priority data, reducing overall
energy consumption and traffic costs under 5G networks.