The invention relates to the technical field of information communication, in particular to an equipment control method and
system, and the method comprises the steps: receiving a control instruction sent by a
client through a
Flutter application program based on a
hypertext transfer security protocol; and sending the control instruction to
the Internet of Things equipment based on a
message queue telemetering
transmission protocol, so that
the Internet of Things equipment executes the control instruction, and feeds back an instruction execution state to the
client through the
message queue telemetering
transmission protocol. According to the method, cross-platform control is realized by using a
Flutter framework, and the work of repeated development of multi-platform codes is reduced, so that the multi-
platform development and maintenance cost can be reduced; the control instruction is transmitted between the
client and the
server through HTTPS, so that the safety of the control instruction can be improved;
information transmission is carried out through the
MQTT, the time
delay of
information transmission can be reduced, and safe, efficient and real-
time control of equipment can be realized through the synergistic effect of the HTTPS and the
MQTT, so that the purpose of quick response is achieved.