Abstract:
Embodiments of the present invention provide a method for learning a media access control address, a network device and a system. The method includes: generating a key value according to a key field of a received packet, and obtaining an index value corresponding to the key value according to the key value; performing a linear random iteration on the index value according to a preset number of iterations; searching, according to an iteration index value obtained during a first iteration, in a MAC address pool for a MAC address corresponding to the iteration index value obtained during the first iteration; and learning a MAC address of the packet according to a search result. By using the embodiments of the present invention a media access control address space may be fully utilized, and the problem of media access control address conflicts may be solved to the greatest extent.
Abstract:
A capacitive sensor, an electronic device, and an electronic device control method are disclosed and relate to the field of sensor technologies. The capacitive sensor includes at least one plate pair. Each plate pair includes a first plate and a second plate that are placed opposite to each other. A ratio of a plate length of each plate pair to a spacing in the plate pair is greater than 1 and less than or equal to 30. The capacitive sensor can detect an air gesture of a user based on fringe field effect and has advantages of a small size and low energy consumption.
Abstract:
A method for retransmitting a packet on a wireless fidelity link includes receiving a packet retransmission request sent by a user terminal and determining a packet that needs to be retransmitted, detecting a downlink quality indicator on a gateway side of a first wireless fidelity link and a downlink quality indicator on a gateway side of a second wireless fidelity link, determining a link for retransmitting the packet, based on the downlink quality indicator on the gateway side of the first wireless fidelity link and the downlink quality indicator on the gateway side of the second wireless fidelity link, and sending, to the user terminal on the determined link for retransmitting the packet, the determined packet that needs to be retransmitted.
Abstract:
Embodiments of the application provide a data transmission method and a device. A sending device periodically obtains a first packet sequence number and a second packet sequence number. The first packet sequence number is a maximum value in packet sequence numbers respectively corresponding to packets that belong to a first data flow and that are received by a receiving device through a first data channel in a statistics period. The second packet sequence number is a maximum value in packet sequence numbers respectively corresponding to packets that belong to the first data flow and that are received by the receiving device through a second data channel in the statistics period. The sending device updates a packet cache queue of: the first data channel, the second data channel, or both the first and the second data channels, based on the first packet sequence number and the second packet sequence number.
Abstract:
An ECG detection method includes in a wearable device, a first electrode detects a first electrical signal and a second electrode detects a second electrical signal, a processor determines a frequency bandwidth based on a current status of the wearable device and/or a status of a user in contact with the first electrode and the second electrode, and the processor determines an electrocardiogram ECG based on an electrical signal that is in the first electrical signal and the second electrical signal and for which a frequency falls within the frequency bandwidth. The wearable device selects an appropriate frequency bandwidth based on the status of the wearable device and/or the status of the user in contact with the first electrode and the second electrode, and then obtains the ECG based on the frequency bandwidth.
Abstract:
A capacitive sensor, an electronic device, and an electronic device control method are disclosed and relate to the field of sensor technologies. The capacitive sensor includes at least one plate pair. Each plate pair includes a first plate and a second plate that are placed opposite to each other. A ratio of a plate length of each plate pair to a spacing in the plate pair is greater than 1 and less than or equal to 30. The capacitive sensor can detect an air gesture of a user based on fringe field effect and has advantages of a small size and low energy consumption.