The invention provides a cloud integrated Wi-Fi equipment ad-hoc networking method, and belongs to the technical field of protocol communication control. The method comprises the following steps that:S100, a cloud server specifies a server under an SSDP protocol, specifies a client under the SSDP protocol, completes topological structure configuration of the Internet of Things, generates configuration information, and pushes the configuration information to a Wi-Fi router through the Internet, wherein the configuration information comprises at least one stage of topology structure layer of the Internet of Things, and a superior Internet of Things node identifier and a plurality of subordinate Internet of Things node identifiers correspondingly associated with the superior Internet of Things node identifier are specified in each stage of topology structure layer; and S200, when the server is offline or the server is updated, the cloud server re-designates one networking device as a newserver. According to the scheme, the dynamic change of the identity of the equipment in the network can be realized, the ad-hoc networking among a plurality of pieces of equipment is facilitated, theflexibility is improved, and meanwhile, the network paralysis caused by offline of the server is avoided.