| CPC G06F 3/038 (2013.01) [G06F 1/3265 (2013.01); G06F 3/03545 (2013.01); G06F 2203/0384 (2013.01)] | 12 Claims |

|
1. An electronic device, comprising:
one or more processors; and
a memory, wherein the memory is coupled to the one or more processors, wherein the memory is configured to store computer program code that comprises computer instructions, and wherein the one or more processors are configured to invoke the computer instructions to cause the electronic device to:
establish, by the electronic device which is used as a master device, a wireless connection to a second electronic device which is used as a slave device;
determine, by the electronic device, whether the second electronic device is a human interface device;
based on the second electronic device being a human interface device, determine, by the electronic device, whether a preferred connection parameter of the second electronic device is obtained, wherein the preferred connection parameter comprises a slave latency, and the slave latency comprises a quantity of connection events the slave device skips before responding to a data packet sent by the master device when the slave device has no data to send to the master device;
based on the preferred connection parameter being obtained, determine, by the electronic device, whether the slave latency is 0 or is less than a first threshold; and
based on the slave latency being 0 or being less than the first threshold, initiate, by the electronic device, parameter update to the second electronic device, to increase the slave latency.
|