The present invention provides a device networking method and
system based on IPv6 protocol, comprising: when registering a device, first read the sequence number in its own
unique identifier, combine it with the bytes generated by a random
number generator to generate a network card identifier and a local link address, trigger a
multicast neighbor request, combine it with the
router IPv6
network address prefix to form the device IPv6 address, register the identifier information with the
system, set the object to complete the registration; in the monitoring of the device IPv6
network address change, listen to the ICMP6 protocol routing announcement, and when the
router network prefix changes, regenerate and re-register the IPv6 address with the new prefix and the network card identifier; in terms of
system functions, receive registration information and register related content, remotely set parameters, perform user and device management, and the device management covers multiple functions such as remote online
software upgrade; the present invention can simplify address management, reduce the use threshold and cost, enhance the device management function, and improve the dynamic address
processing efficiency, thereby overcoming the shortcomings in the prior art.