摘要 |
<p>Provided are a code matching method and apparatus. The method comprises: after a member device in a PLC sub-network triggers a code matching process and becomes an add device, a first add device sending a code matching stop message to other add devices in the PLC sub-network where the first add device is located, so as to enable the other add devices to stop the code matching process after receiving the code matching stop message, wherein the first add device is an add device which is the first to find a joining request message broadcast by a new device; and the first add device sending a joining acknowledgement message to the new device, so as to enable the new device to acquire basic information about the PLC sub-network according to the joining acknowledgement message and associate with a central coordinator in the PLC sub-network. By means of the code matching method and device provided in the embodiments of the present invention, transmission resources in the network are saved and the power consumption of other add devices is reduced.</p> |