The embodiment of the invention provides an equipment control method and device, equipment, a medium and a product, and is applied to an intelligent home
system, and the method comprises the steps: obtaining the related data of a plurality of pieces of equipment in a current environment; according to the related data, a weighted
undirected graph for the multiple devices is constructed, the weighted
undirected graph comprises multiple nodes, each device corresponds to one node, and each node has a
community to which the node belongs; updating a
community to which a plurality of nodes belong in the weighted
undirected graph; and when a trigger event is detected, performing cooperative control on equipment corresponding to all nodes in the same
community. According to the embodiment of the invention, the dynamic updating of the device relationship is realized by acquiring the multi-device data, constructing the weighted undirected graph and dividing the community, and when the trigger event occurs, the devices in the same community can be cooperatively controlled, so that the intelligent level of home furnishing is improved, the complexity of manual configuration is reduced, and the user experience is enhanced.