Method and device for wireless connection establishment
AssigneeXiaomi Inc.
InventorsXin Liang, Yi Ru, Guizhou Wu
Life of this patent
Estimating the term…
Abstract
A method includes: monitoring a plurality of wireless working frequency bands supported by a smart terminal; when a Peer to Peer (P2P) data packet is received at any of the wireless working frequency bands, analyzing the P2P data packet and obtaining device information of a smart device; and establishing a wireless connection with the smart device at the wireless working frequency band according to the device information.
Claims7
A method for establishing a wireless connection, comprising:
- monitoring, by a smart terminal, a plurality of wireless working frequency bands supported by the smart terminal;
- when a Peer to Peer (P2P) data packet broadcasted by a smart device is received at a wireless working frequency band of the plurality of wireless working frequency bands, analyzing, by the smart terminal, the P2P data packet and obtaining device information of the smart device;
- establishing, by the smart terminal according to the device information, a wireless connection with the smart device at the wireless working frequency band at which the P2P data packet is received;
- analyzing, by the smart terminal, the P2P data packet and obtaining identification information of a P2P group;
- and
- when the operation to connect to the smart device is detected, joining, by the smart terminal, the P2P group according to the device information and the identification information of the P2P group,
- wherein the smart terminal is a terminal supporting a Wireless Fidelity Peer to Peer (WiFi P2P) protocol, and the smart device is a device supporting the WiFi P2P protocol.
A smart terminal, comprising:
- a processor;
- and
- a memory configured to store instructions executable by the processor,
- wherein the processor is configured:
- monitor a plurality of wireless working frequency bands supported by the smart terminal;
- when a Peer to Peer (P2P) data packet broadcasted by a smart device is received at a wireless working frequency band of the plurality of wireless working frequency bands, analyze the P2P data packet and obtain device information of the smart device;
- establish, according to the device information, a wireless connection with the smart device at the wireless working frequency band at which the P2P data packet is received;
- analyze the P2P data packet and obtain identification information of a P2P group;
- and
- when the operation to connect to the smart device is detected, join the P2P group according to the device information and the identification information of the P2P group,
- wherein the smart terminal is a terminal supporting a Wireless Fidelity Peer to Peer (WiFi P2P) protocol, and the smart device is a device supporting the WiFi P2P protocol.
A non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor of a smart terminal, cause the smart terminal to perform a method for establishing a wireless connection, the method comprising:
- monitoring a plurality of wireless working frequency bands supported by the smart terminal;
- when a Peer to Peer (P2P) data packet broadcasted by a smart device is received at a wireless working frequency band of the plurality of wireless working frequency bands, analyzing the P2P data packet and obtaining device information of the smart device;
- establishing, according to the device information, a wireless connection with the smart device at the wireless working frequency band at which the P2P data packet is received;
- analyzing the P2P data packet and obtaining identification information of a P2P group;
- and
- when the operation to connect to the smart device is detected, joining the P2P group according to the device information and the identification information of the P2P group,
- wherein the smart terminal is a terminal supporting a Wireless Fidelity Peer to Peer (WiFi P2P) protocol, and the smart device is a device supporting the WiFi P2P protocol.
Dependencies are inferred from the claim text.