The invention is suitable for the technical field of gateway connection, and provides a distributed network
access method and
system, and the method comprises the steps: obtaining the
network topology pre-configuration information of a gateway; the method comprises the following steps: periodically
broadcasting own node state information through a plurality of edge access gateways, acquiring terminal state change, acquiring broadcast signals of the plurality of gateways in real time when the terminal state change occurs, and scoring each edge access gateway through a scoring function; the edge access gateway corresponding to the highest
score is used as a target access node, an access request is initiated to the gateway, and after the edge access gateway receives the request, the request is decrypted and verified, and white
list information is compared at the same time; the monitoring result is compared with the early warning threshold value, after the controller receives the early warning
signal, an access migration strategy is generated by comprehensively evaluating the real-time state, the geographic position and the access load condition of the adjacent gateway, and the access migration method has the advantages that it is ensured that no
perception is given to the terminal in the migration process, data are not lost, and communication is not interrupted.