Patent ID: 9729501
Date: 2017-08-08
CPC Classifications: H04L

Claim:
1. A system for stateless automatic configuration of an IPv6 address, the system comprising a data card and a terminal, wherein the data card is configured to set and store its own IPv6 address configuration way according to an IPv6 address allocation strategy of a current network, determine the set IPv6 address allocation way after successful establishment of an IPv6 dialup connection and reception of a router solicitation request message transmitted by the terminal for acquiring a prefix address, and when the set IPv6 address allocation way is determined as a static configuration way, discard a router advertisement response message and report a valid IPv6 global unicast address to the terminal; and the terminal is configured to, after successful establishment of the IPv6 dialup connection, transmit a router solicitation request message for acquiring a prefix address to the data card and receive a valid IPv6 global unicast address reported by the data card; wherein the data card comprises a control instruction module, a router message processing module, an IPv6 address processing module and a dialup module, wherein the router message processing module is configured to, before establishment of a dialup connection, set and store an IPv6 address configuration way of the data card according to the IPv6 address allocation strategy of the current network; after successful establishment of the IPv6 dialup connection, determine the set IPv6 address allocation way, and when the set IPv6 address allocation way is determined as a static configuration way, discard a router advertisement response message and notify the IPv6 address processing module; the IPv6 address processing module is configured to, after receiving a notification transmitted by the router message processing module, acquire a valid IPv6 global unicast address from a Packet Data Protocol (PDP) activation message and provide the IPv6 global unicast address to the control instruction module; the control instruction module is configured to transmit a control instruction carrying the IPv6 address to a personal computer (PC) side software; and the dialup module is configured to, when the data card receives a dialup request, initiate a PDP activation process, and acquire a valid IPv6 global unicast address from a network side.