The embodiment of the invention discloses a wired
router terminal upgrading method and device,
computer equipment and a storage medium. The method comprises the following steps: creating a socket; starting a thread, creating a socket
client, sending a
broadcast packet, and calculating the number of sending times; judging whether a response packet from the
server is received or not; if yes, analyzing the response packet to obtain the target MAC and the IP allocated by the
server; judging whether the target MAC is consistent with the local MAC or not; if yes, modifying
the internet access IP; receiving a
software upgrade package sent by the
server; upgrading according to the
software upgrading
package; when upgrading succeeds, restarting is carried out; judging whether the
software version number of the
local machine is changed or not; and if yes, sending an
upgrade completion reply packet to the server, so that the server counts
upgrade condition information according to the upgrade completion reply packet and recovers the allocated IP. By implementing the method provided by the embodiment of the invention, the upgrading efficiency of multiple wired
router devices can be improved, and the test environment is simplified.