Automatic networking method without master-slave relation

Automatic networking method without master-slave relation

  • CN 107,995,115 B
  • Filed: 10/27/2016
  • Issued: 08/31/2021
  • Est. Priority Date: N/A
  • Status: Active Grant
First Claim
Patent Images

1. An automatic networking method without master-slave relationship is characterized by comprising the following steps:

  • step 1, after each device is started, a temporary device address is automatically generated, each device sends out a handshake signal with self device number information and the temporary device address, and the device sending the handshake signal is used as a sender device;

    step 2, after any device in the communication range receives the handshake signal, extracting the temporary device address of the sender device, and taking the device receiving the handshake signal as the receiver device;

    step 3, the receiver device judges whether the received temporary device address is the same as the device address of the receiver device, if not;

    executing the step 4;

    if the address of the temporary equipment is the same as the address of the temporary equipment, the receiver equipment does not perform any operation on the address of the sender equipment;

    step 4, the receiver device updates the temporary device address of the sender device into the device address table of the receiver device, the sender device and the receiver device successfully handshake, and the sender device is already added into the network of the receiver device;

    step 5, after the step 4 is finished, the sending party equipment sends an ACK signal;

    step 6, after any device in the communication range receives the ACK signal, extracting the temporary device address of the sender device until the handshake is completed;

    step 7, after the handshake is completed, the sender equipment and the receiver equipment perform in-network communication;

    the step 6 specifically comprises the following steps;

    step 61, each receiving side device receiving the ACK signal extracts the temporary device address of the sending side from the sending side device and updates the temporary device address to the device address table of the receiving side device;

    step 62, the sender device determines whether the device address of the receiver device is the same as the temporary device address of the sender device, and if so, the sender device regenerates a new temporary address and repeats the handshake action until a unique device address is obtained;

    if not, go to step 63;

    step 63, the sender device keeps the previous temporary device address unchanged and repeats the handshake action;

    step 64, repeating the handshake action for a plurality of times, and if the device address of the receiver device is not the same as the temporary device address of the sender device, executing step 65;

    if the device address of the receiver device is the same as the temporary device address of the sender device, go to step 62;

    step 65, the temporary device address of the sender device is converted into the device address, and the device address is updated into the device address table of the receiver, and the handshake is completed.

View all claims
    ×
    ×

    Thank you for your feedback

    ×
    ×