Wi-Fi Direct is a communication technique which allows electronic devices to directly connect each other for data exchange without an Access Point (AP) beyond a conventional wireless LAN technique in which networking is made based on an AP.
Step 201
Search electronic devices. For example, a user utilizes the first electronic device E1 to search if any electronic device supporting Wi-Fi Direct thereof in the vicinity thereof, and the second electronic device E2 is found.
Step 203
The first electronic device E1 and the second electronic device E2 exchange ability and configuration method information, which indicates the service that the first electronic device E1 and the second electronic device E2 can provide.
Step 205
Performs GO (group owner) negotiation. Such step determines which one of the first electronic device E1 and the second electronic device E2 is GO and which one is GC (group client). Many mechanism can be utilized to determine GO, for example, MAC address comparison or intent comparison.
Step 207
Set GO, GC according to the negotiation result in the step 205.
Step 209
Exchange password information (ex. WPS exchange).
Step 211
Confirm password information (ex. 4-way handshake).
Step 213
Exchange IP information. (ex. DHCP).
Step 215
Exchange service information, which indicates the service desired to be performed.
In view above-mentioned description, various exchange steps are needed for building a WiFi-Direct connection for related art, thus building a Wi-Fi Direct connection takes much time.
Therefore, one objective of the present application is to provide a wireless communicating method that can reduce the necessary time for building a direct communication between two electronic devices.
Another objective of the present application is to provide an electronic system that can reduce the necessary time for building a direct communication between two electronic devices.
One embodiment of the present application provides a wireless communicating method, for building direct communication between a first electronic device and a second electronic device. The wireless communicating method comprises: (a) controlling the first electronic device and the second electronic device to exchange communicating information of each other, wherein the communicating information comprises first password information, and comprises at least one of first IP information and first service information; and (b) after the step (a), confirming the first password information.
One embodiment of the present application provides an electronic system, which comprises: a first electronic device; a second electronic device; and a control module, for building direct communication between the first electronic device and the second electronic device. The control module controls the first electronic device and the second electronic device to exchange communicating information of each other. The communicating information comprises first password information, and comprises at least one of first IP information and first service information. After the communicating information is exchanged, the control module confirms the first password information.
In view of above-mentioned embodiments, the necessary time for building a direct communication between two electronic devices can be decreased via reducing the number of information exchanging steps. Also, transmitting all communication information via a single packet or one time exchanging can further reduce the necessary time for building the direct communication.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
The flow chart in
Step 301
Search electronic devices. For example, a user utilizes the first electronic device E1 to search if any electronic device supporting Wi-Fi Direct thereof in the vicinity thereof, and the second electronic device E2 is found.
Step 303
Control the first electronic device and the second electronic device to exchange communicating information of each other.
The communicating information comprises password information (i.e. the information for the step 209 in
Step 307
After the step 303, confirm the password information exchanged in the step 303.
The communicating information exchanged in the step 303 can comprise other information. In another embodiment, the communicating information comprises ability and configuration method information (i.e. the information for the step 203 in
In view of above-mentioned description, the concept of the present application can be summarized as:
Exchange the communication information before confirm the password information. The communication information comprise the password information (i.e. the information for the step 209 in
All data for the communicating information can be comprised in a single packet, which will be described later. Also, the step 303 in
More embodiments can be acquired based on the above-mentioned embodiment. For example, in one embodiment the wireless communicating method further comprises a security confirming step 309 that does not utilize the password information. For example, utilize a black list to block other electronic devices or utilize firmware encryption to protect the communication between the first electronic device and the second electronic device. In another embodiment, the wireless communicating method can further comprise the step of determining if a packet with specific content exists, if yes, performing the steps 303 and 307 in
Additionally, in one embodiment the direct communication and the step 303 both follow the same communication standard. For example, the direct communication and the step 303 all follow the WiFi standard. Additionally, in another embodiment the direct communication and the step 303 follow different communication standards. For example the direct communication follows the WiFi standard (in-band) but the step 303 follows the NFC standard (out-of-band).
The control module CM can perform other embodiments as well, but is omitted here for brevity. The control module CM can be provided inside the first electronic device E1 or the second electronic device E2. Alternatively, the control module CM can be provided outside the first electronic device E1 and the second electronic device E2.
In view of above-mentioned embodiments, the necessary time for building a direct communication between two electronic devices can be decreased via reducing the number of information exchanging steps. Also, transmitting all communication information via a single packet or one time exchanging can further reduce the necessary time for building the direct communication.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
This application claims the benefit of U.S. Provisional Application No. 61/827,766 filed on May 28, 2013 and entitled “Method for building Wi-Fi direct fast connection in the network”, the contents of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
61827766 | May 2013 | US |