The invention discloses a DHCP (Dynamic Host Configuration Protocol)
client lease renewal method,
system and terminal, the DHCP
client lease renewal method comprises the following steps: after a DHCP
client successfully applies for an IP (
Internet Protocol), stopping the process of the DHCP client, and receiving a lease term returned by a DHCP
server; creating a DHCP (Dynamic Host Configuration Protocol) lease renewal
timer, and calculating lease renewal
waiting time according to the Transmitting the lease renewal
waiting time to the DHCP lease renewal
timer, and enabling the DHCP lease renewal
timer to enter a waiting state according to the lease renewal
waiting time; and after the waiting state is ended, checking the connection state of the current STA, and starting the DHCP client according to the connection state to carry out lease renewal. According to the method and the device, the lease
renewal time is determined by setting the timer, and the lease renewal thread is created at the preset time point for lease renewal, so that resource waste caused by long-time operation of the DHCP client is reduced, and the lease renewal process can be managed more efficiently.