The invention discloses a device control method and
system, and the method comprises the steps: transmitting a
pairing broadcast packet to a terminal device, enabling the terminal device to carry out the
pairing according to the
pairing broadcast packet, and enabling the pairing
broadcast packet to comprise an
access control address, a message sequence field, a target secret key, and a pairing packet check code; generating a
control data packet according to the
target control information corresponding to the controlled terminal, the data survival time, the
access control address, the message sequence field and the control packet check code; and sending the
control data packet to the controlled terminal, and performing one-way control on the controlled terminal through the
control data packet. Through the above mode, the complex
handshake process of traditional
Bluetooth networking is replaced by introducing the pairing broadcast packet of the
MAC address, the SEQ, the target secret key and the check code, the network distribution process is significantly simplified, the network distribution time is shortened, the network distribution efficiency is improved, a one-way control mechanism is adopted, a two-way confirmation link is omitted, and the network distribution efficiency is improved. The communication
delay is reduced; and the control efficiency is improved.