The invention relates to the technical field of gateway acceleration, and discloses a gateway intelligent acceleration method and
system for cloud
collaboration and terminal interaction. The method comprises the steps that a gateway collects hardware fingerprints, loads a drive through an insmod instruction, allocates a fixed cache and an elastic cache, establishes
MQTT long connection to send a
heartbeat packet, and receives edge nodes to establish pre-connection; the cloud receives a
backbone network routing table UPDATE message through a BGP protocol, and generates a path instruction containing an
edge node address; and according to the path instruction, the gateway forwards the data packet scheduled by the WRED to the
edge node address and forwards the data packet to a
game server through the
edge node. According to the method, a real-time
communication channel between the gateway and the cloud is established through
MQTT long connection, the high-priority game flow
transmission quality is preferentially guaranteed when the network is congested,
packet loss of competitive games is avoided, it is guaranteed that game data packets are always transmitted along the optimal path, game
delay is effectively reduced, and the stability and reliability of an acceleration
system are improved.