Patent ID: 9582655
Date: 2017-02-28
CPC Classifications: G06F,H04L,H04W

Claim:
1. An electronic device, comprising: a processor; and a memory storing at least one instruction configured to be executed by the processor to implement; a data acquiring unit configured to detect a configuration apparatus in a preset distance range and to read preset data in the detected configuration apparatus; a data storage unit configured to store the preset data; a connection establishing unit configured to establish power line communication connections, according to the preset data, with other electronic devices reading and storing the preset data; and a power line communication module, wherein the power line communication module comprises: a listening unit configured to listen to a data packet, transmitted over a power line, from the other electronic devices when the electronic device accesses the power line; and a broadcast unit configured to broadcast no data packet and keep silence upon detection of no data packet from the other electronic devices wherein the electronic device further comprises a judging unit, wherein: the data acquiring unit is further configured to acquire pairing data in a connection request of an electronic device to be paired when the electronic device receives the connection request; the judging unit is configured to judge whether the pairing data is the same as the preset data; and the connection establishing unit is configured to establish a power line communication connection with the electronic device to be paired when the judging unit determines that the pairing data is the same as the preset data or to reject establishment of the power line communication connection with the electronic device to be paired when the judging unit determines that the pairing data is different from the preset data, wherein the broadcast unit is further configured to send a notification to the other electronic devices after the electronic device is determined as a central coordinator, and wherein at least one electronic device accessing the power line among the other electronic devices broadcasts a data packet if no data packet from any other electronic device is detected.