Wireless network connection establishment method and terminal device
First Claim
1. A wireless network connection establishment method, comprising:
- obtaining, by a first terminal device, wireless network information, wherein the wireless network information is used to join a wireless network on which the first terminal device is located, and wherein an access point of the wireless network on which the first terminal device is located is the first terminal device;
sending, by the first terminal device, the wireless network information to a second terminal device in a near field communication (NFC) manner, wherein the NFC manner is established at least in part by an activation indication that is sent between the first terminal device and the second terminal device when a distance between the first terminal device and the second terminal device falls within an NFC range;
receiving, by the first terminal device, a first request message that is sent by the second terminal device according to the wireless network information; and
establishing a wireless network connection to the second terminal device according to the first request message,wherein before sending, by the first terminal device, the wireless network information to the second terminal device in the NFC manner, the method further comprises one of the following methods;
enabling, by the first terminal device, an application function option of NFC, and when the distance between the first terminal device and the second terminal device falls within the NFC range, sending, by the first terminal device, a first activation indication to the second terminal device such that the second terminal device enables an application function option of NFC according to the first activation indication;
orwhen the distance between the first terminal device and the second terminal device falls within the NFC range, receiving, by the first terminal device, a second activation indication sent by the second terminal device, wherein the second terminal device is a terminal device for which an application function option of NFC is enabled, and enabling, by the first terminal device, an application function option of NFC according to the second activation indication.
3 Assignments
0 Petitions
Accused Products
Abstract
A wireless network connection establishment method and a terminal device are provided. In the embodiments of the present invention, a first terminal device obtains wireless network information that is used to join a wireless network on which the first terminal device is located, and sends the wireless network information to a second terminal device in a near field communication (NFC) manner, so that the first terminal device can receive a first request message that is sent by the second terminal device according to the wireless network information, and establish a wireless network connection to the second terminal device according to the first request message. With NFC characteristics, such as convenient communication, a short communication distance, and high reliability, a problem in the prior art that a configuration operation is complex and error-prone is avoided, thereby improving configuration efficiency and reliability.
-
Citations
18 Claims
-
1. A wireless network connection establishment method, comprising:
-
obtaining, by a first terminal device, wireless network information, wherein the wireless network information is used to join a wireless network on which the first terminal device is located, and wherein an access point of the wireless network on which the first terminal device is located is the first terminal device; sending, by the first terminal device, the wireless network information to a second terminal device in a near field communication (NFC) manner, wherein the NFC manner is established at least in part by an activation indication that is sent between the first terminal device and the second terminal device when a distance between the first terminal device and the second terminal device falls within an NFC range; receiving, by the first terminal device, a first request message that is sent by the second terminal device according to the wireless network information; and establishing a wireless network connection to the second terminal device according to the first request message, wherein before sending, by the first terminal device, the wireless network information to the second terminal device in the NFC manner, the method further comprises one of the following methods; enabling, by the first terminal device, an application function option of NFC, and when the distance between the first terminal device and the second terminal device falls within the NFC range, sending, by the first terminal device, a first activation indication to the second terminal device such that the second terminal device enables an application function option of NFC according to the first activation indication;
orwhen the distance between the first terminal device and the second terminal device falls within the NFC range, receiving, by the first terminal device, a second activation indication sent by the second terminal device, wherein the second terminal device is a terminal device for which an application function option of NFC is enabled, and enabling, by the first terminal device, an application function option of NFC according to the second activation indication. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A wireless network connection establishment method, comprising:
-
receiving, by a second terminal device, wireless network information that is sent by a first terminal device in a near field communication (NFC) manner, wherein the NFC manner is established at least in part by an activation indication that is sent between the first terminal device and the second terminal device when a distance between the first terminal device and the second terminal device fails within an NFC range, wherein the wireless network information is used to join a wireless network on which the first terminal device is located, and wherein an access point of the wireless network on which the first terminal device is located is the first terminal device; and sending, by the second terminal device, a first request message to the first terminal device according to the wireless network information such that the first terminal device establishes a wireless network connection to the second terminal device according to the wireless network information, wherein before receiving, by the second terminal device, the wireless network information that is sent by the first terminal device in the NFC manner, the method further comprises one of the following methods; when the distance between the second terminal device and the first terminal device falls within the NFC range, receiving, by the second terminal device, a first activation indication sent by the first terminal device, wherein the first terminal device is a terminal device for which an application function option of NFC is enabled, and enabling, by the activation indication;
orenabling, by the second terminal device, an application function option of NFC, and when the distance between the second terminal device and the first terminal device falls within the NFC range, sending, by the second terminal device, a second activation indication to the first terminal device such that the first terminal device enables an application function option of the NFC according to the second activation indication. - View Dependent Claims (7, 8, 9)
-
-
10. A terminal device, comprising:
- a first processor;
a first near field communication (NFC) communicator; and a first radio frequency device, wherein the first processor is configured to; obtain wireless network information, wherein the wireless network information is used to join a wireless network on which the terminal device is located, and wherein an access point of the wireless network on which the terminal device is located is the terminal device; and establish a wireless network connection between the first radio frequency device and a second terminal device according to a first request message sent by the second terminal device, wherein the first NFC communicator is configured to send the wireless network information to the second terminal device in an NFC manner, wherein the NFC manner is established at least in part by an activation indication that is sent, between the terminal device and the second terminal device when a distance between the terminal device and the second terminal device falls within an NFC range, wherein the first radio frequency device is configured to receive the first request message that is sent by the second terminal device according to the wireless network information, and wherein before the first NFC communicator sends the wireless network information to the second terminal device in the NFC manner, the first processor is further configured to; enable, by the terminal device, an application function option of NFC, and when the distance between the terminal device and the second terminal device falls within the NFC range, send, by the terminal device, a first activation indication to the second terminal device such that the second terminal device enables an application function option of NFC according to the first activation indication;
orwhen the distance between the terminal device and the second terminal device falls within the NFC range, receive, by the terminal device, a second activation indication sent by the second terminal device, wherein the second terminal device is a terminal device for an application function option of NFC according to the second activation indication. - View Dependent Claims (11, 12, 13, 14)
- a first processor;
-
15. A terminal device, comprising:
-
a second processor; a second near field communication (NFC) communicator; and
a second radio frequency device,wherein the second NFC communicator is configured to receive wireless network information that is sent by a first terminal device in an NFC manner, wherein the NFC manner is established at least in part by an activation indication that is sent between the terminal device and the first terminal device when a distance between the terminal device and the first terminal device falls within an NFC range, wherein the wireless network information is used to join a wireless network on which the first terminal device is located, wherein an access point of the wireless network on which the first terminal device is boated is the first terminal device, wherein the second processor is configured to generate a first request message according to the wireless network information, wherein the second radio frequency device is configured to send the first request message to the first terminal device such that the first terminal device establishes a wireless network connection between the second radio frequency device and the first terminal device according to the wireless network information and wherein before the second NFC communicator receives the wireless network information that is sent by the first terminal device in the NFC manner, the second processor is further when the distance between the terminal device and the first terminal device falls within the NFC range, receive, by the terminal device, a first activation indication sent by the first terminal device, wherein the first terminal device is a terminal device for which an application function option of NFC is enabled, or enable, by the terminal device, an enable, by the terminal device, an application function option of NFC, and when the distance between the terminal device and the first terminal device falls within the NFC range, send, by the terminal device, a second activation indication to the first terminal device such that the first terminal device enables an application function option of the NFC according to the second activation indication. - View Dependent Claims (16, 17, 18)
-
Specification