This invention relates to the field of
network connectivity control, and particularly to an
intelligent network switching method, medium, and device based on a dual-
connectivity architecture. When both Wi-Fi and cellular networks are enabled simultaneously, this method establishes and maintains two connections at the
application layer pointing to the same
server, binding the Wi-Fi and
cellular network interfaces respectively. By monitoring the network quality parameters corresponding to the two connections in real time, when the Wi-Fi network quality parameter consistently falls below a preset threshold, and the
cellular network consistently outperforms Wi-Fi, the
system switches from Wi-Fi to cellular; when the Wi-Fi quality parameter consistently exceeds the threshold, it switches back to Wi-Fi, thus avoiding frequent switching. A unique sequence number is assigned to each data packet, and the
server deduplicates data to ensure consistency. This method, through dual
connectivity, real-time monitoring, differentiated switching, and
data deduplication, solves problems such as untimely network switching, high latency, and poor stability, improving the
communication quality and user experience of mobile terminals.