A first electronic device (101; 201; 401; 500; 601) comprising: a proximity recognition module (410; 610) configured to recognize a second electronic device (402; 605) proximate to the first electronic device; and a first communication module (421; 621) and a second communication module (426; 626) connected with the proximity recognition module to communicate with the second electronic device in a plurality of communication modes comprising a transmission mode and a reception mode, the electronic device being arranged to: recognize a counterpart communication module of the second electronic device which is closer to the first communication module than the second communication module as the first counterpart communication module; recognize a counterpart communication module of the second electronic device which is closer to the second communication module than the first communication module as the second counterpart communication module; and recognize the communication mode of the first counterpart communication module and the second counterpart communication module, the first electronic device further comprising a mode selection module configured to select a communication mode for the first communication module in accordance with a communication mode of the first counterpart communication module and select a communication mode for the second communication module in accordance with a communication mode of the second counterpart communication module wherein the first communication module is arranged to wirelessly connect to the second electronic device through the first counterpart communication module, and the second communication module is arranged to wirelessly connect to the second electronic device through the second counterpart communication module. a proximity recognition module (410; 610) configured to recognize a second electronic device (402; 605) proximate to the first electronic device; and a first communication module (421; 621) and a second communication module (426; 626) connected with the proximity recognition module to communicate with the second electronic device in a plurality of communication modes comprising a transmission mode and a reception mode, the electronic device being arranged to: recognize a counterpart communication module of the second electronic device which is closer to the first communication module than the second communication module as the first counterpart communication module; recognize a counterpart communication module of the second electronic device which is closer to the second communication module than the first communication module as the second counterpart communication module; and recognize the communication mode of the first counterpart communication module and the second counterpart communication module, recognize a counterpart communication module of the second electronic device which is closer to the first communication module than the second communication module as the first counterpart communication module; recognize a counterpart communication module of the second electronic device which is closer to the second communication module than the first communication module as the second counterpart communication module; and recognize the communication mode of the first counterpart communication module and the second counterpart communication module, the first electronic device further comprising a mode selection module configured to select a communication mode for the first communication module in accordance with a communication mode of the first counterpart communication module and select a communication mode for the second communication module in accordance with a communication mode of the second counterpart communication module wherein the first communication module is arranged to wirelessly connect to the second electronic device through the first counterpart communication module, and the second communication module is arranged to wirelessly connect to the second electronic device through the second counterpart communication module.