Abstract:
The present invention provides a method for finding a wireless device. The exemplary method comprises: storing a Wi-Fi direct connection profile between the wireless device and an electronic device; enabling the Wi-Fi direct function of the wireless device when a condition is met; and establishing a Wi-Fi direct connection with the wireless device in the electronic device to control the wireless device.

Description:
CROSS REFERENCE TO RELATED APPLICATIONS 
       [0001]    This application claims the benefit of U.S. Provisional Application No. 61/990,714 filed on May 9, 2014 and U.S. Provisional Application No. 62/009,506 filed on Jun. 9, 2014 and included herein by reference. 
     
    
     BACKGROUND 
       [0002]    In general, when a smartphone is in a mute mode or a vibration mode, and the owner of the smartphone forgets where the smartphone is or the smartphone is lost, it is very difficult to find the smartphone in a short time since the smartphone does not generate any sound even the user makes a phone call to the smartphone. 
         [0003]    A conventional method for finding the smartphone under the above condition is based on a Bluetooth technology. However, the conventional method requires an additional device in or with the smartphone, such as a BLE (Bluetooth Low Energy) tag, and the additional device can be costly for ordinary users. In addition, the conventional method can only be used in a one-way operation rather than a bi-directional operation. For example, the conventional method can only use a BLE tag to find the smartphone, but the conventional method is not capable of using the smartphone to find the BLE tag. 
       SUMMARY 
       [0004]    The disclosed embodiments of the present invention is related to a method to find a first wireless device, and more particularly, to a method to find a first wireless device by utilizing a Wi-Fi direct function between the first wireless device and a second wireless device without using any additional hardware. 
         [0005]    In accordance with exemplary embodiments of the present invention, a method for finding a wireless device by utilizing a Wi-Fi direct connection between the first wireless device and a second wireless device without using any additional hardware even when the first electronic device is in a mute mode or a vibration mode is proposed to solve the above-mentioned problem. 
         [0006]    According to a first aspect of the present invention, an exemplary method for finding a wireless device is disclosed. The exemplary method comprises: storing a Wi-Fi direct connection profile between the wireless device and an electronic device; enabling the Wi-Fi direct function of the wireless device when a condition is met; and establishing a Wi-Fi direct connection with the wireless device in the electronic device to control the wireless device. 
         [0007]    Briefly summarized, the method disclosed by the present invention can help a user to find the first electronic device by utilizing a Wi-Fi direct connection between the first wireless device and a second wireless device without using any additional hardware even when the first electronic device is in a mute mode or a vibration mode, and thus the present invention can reduce hardware cost. 
         [0008]    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. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0009]      FIG. 1  is a flowchart showing a method for finding a first wireless device by utilizing a Wi-Fi direct connection between the first wireless device and a second wireless device in accordance with a first exemplary embodiment of the present invention. 
           [0010]      FIG. 2  is a flowchart showing a method for finding a first wireless device by utilizing a Wi-Fi direct connection between the first wireless device and a second wireless device in accordance with a second exemplary embodiment of the present invention. 
           [0011]      FIG. 3  is a flowchart showing a method for finding a first wireless device by utilizing a Wi-Fi direct connection between the first wireless device and a second wireless device in accordance with a third exemplary embodiment of the present invention. 
       
    
    
     DETAILED DESCRIPTION 
       [0012]    Certain terms are used throughout the description and following claims to refer to particular components. As one skilled in the art will appreciate, manufacturers may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms “include” and “comprise” are used in an open-ended fashion, and thus should be interpreted to mean “include, but not limited to . . . ”. Also, the term “couple” is intended to mean either an indirect or direct electrical connection. Accordingly, if one device is coupled to another device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections. 
         [0013]    The key idea of the present invention is to utilize a Wi-Fi direct connection between a first wireless device (such as a smartphone, a tablet, a laptop, or a handheld computing device) and a second wireless device (such as a smartphone, a tablet, a laptop, or a handheldcomputingdevice) to find the first wireless device without using any additional hardware even when the first wireless device is in a mute mode or a vibration mode. Further details of the proposed constellation phase rotation scheme are described as below. 
         [0014]    Please refer to  FIG. 1 .  FIG. 1  is a flowchart showing a method for finding a first wireless device by utilizing a Wi-Fi direct connection between the first wireless device and a second wireless device in accordance with a first exemplary embodiment of the present invention, wherein the first wireless device can be a smartphone, a tablet, a laptop, or a handheld computing device, and the second wireless device also can be a smartphone, a tablet, a laptop, or a handheldcomputingdevice. Provided that the result is substantially the same, the steps in  FIG. 1  are not required to be executed in the exact order shown in  FIG. 1 . The method of the first exemplary embodiment in the present invention comprises the following steps: 
         [0015]    Step  100 : Start. 
         [0016]    Step  102 : Establish a Wi-Fi direct connection between the first wireless device and the second wireless device. 
         [0017]    Step  104 : Create Wi-Fi direct connection profiles in the first wireless device and the second wireless device, respectively. 
         [0018]    Step  106 : Stop the Wi-Fi direct connection between the first wireless device and the second wireless device when the first wireless device operates normally. 
         [0019]    Step  108 : Enable the Wi-Fi direct function (enable function but not connect to the second wireless device, and the first wireless device can be discovered by the second wireless device utilizing Wi-Fi direct discovery) of the first wireless device when the screen of the first wireless device is turned off. 
         [0020]    Step  110 : Execute an application software in the second wireless device to generate a list of wireless devices that had paired with the second wireless device. 
         [0021]    Step  120 : Select the first wireless device in the list. 
         [0022]    Step  130 : Utilize the application software in the second wireless device to connect to the first wireless device, the application software in the first wireless device turn on the speaker of the first wireless device. 
         [0023]    Step  140 : Making the first wireless device generate at least an audio signal. 
         [0024]    Step  150 : End. 
         [0025]    (Wi-Fi direct connection needs to be established for the 1 st  time, and the connection can be established manually or trigger by NFC and connect automatically) The Wi-Fi direct connection profiles in the first wireless device and the second wireless device can be automatically created respectively. Next, in the Step  106 , when the first wireless device operates normally (i.e. the first wireless device is not lost by the user), the Wi-Fi direct connection between the first wireless device and the second wireless device can be automatically stopped. Next, in the Step  108 , when the screen of the first wireless device is turned off (i.e. the first wireless device is in a power saving mode, a sleep mode, or lost by the user) the Wi-Fi direct function in the first wireless device wireless can be automatically enabled. Next, in the Step  110 , when the user can not find the first wireless device or the first wireless device is lost, the user can execute an application software in the second wireless device (such as a windows application program in a PC or a laptop, or an APP program in a smartphone or a tablet, etc.) to generate a list of wireless devices that had paired with the second wireless device. Next, in the Step  120 , the user can select the first wireless device in the list by using the second wireless device. Next, in the Step  130 , the user can utilize the application software in the second wireless device (such as a windows application program in a PC or a laptop, or an APP program in a smartphone or a tablet, etc.) to connect to the first wireless device and then the application software in the 1 st  device turn on the speaker of the first wireless device. Next, in the Step  140 , the user can make the first wireless device generate at least an audio signal. For example, the user can utilize the application software in the second wireless device to connect to the first wireless device to make the first wireless device generate a sound, a song, or music constantly or discontinuously. Or, if the first wireless device is a smartphone, and then the user can make a phone call to the first wireless device to make the first wireless device generate at least an audio signal (such as a sound, a song, or music). In this way, the method disclosed by the present invention can help the user to find the first wireless device by utilizing the Wi-Fi direct connection between the first wireless device and the second wireless device without using any additional hardware even when the first wireless device is in the mute mode or the vibration mode. 
         [0026]    Please note that the above embodiment is only for an illustrative purpose and is not meant to be a limitation of the present invention. For example, the step of enabling the Wi-Fi direct function of the first wireless device when a screen of the first wireless device is turned off can further comprise: switching the first wireless device to a mute mode or a vibration mode. 
         [0027]    Please refer to  FIG. 2 .  FIG. 2  is a flowchart showing a method for finding a first wireless device by utilizing a Wi-Fi direct connection between the first wireless device and a second wireless device in accordance with a second exemplary embodiment of the present invention, wherein the first wireless device can be a smartphone, a tablet, a laptop, or a handheld computing device, and the second wireless device also can be a smartphone, a tablet, a laptop, or a handheld computing device. Provided that the result is substantially the same, the steps in  FIG. 2  are not required to be executed in the exact order shown in  FIG. 2 . The method of the second exemplary embodiment in the present invention comprises the following steps: 
         [0028]    Step  200 : Start. 
         [0029]    Step  202 : Establish a Wi-Fi direct connection between the first wireless device and the second wireless device. 
         [0030]    Step  204 : Create Wi-Fi direct connection profiles in the first wireless device and the second wireless device, respectively. 
         [0031]    Step  206 : Stop the Wi-Fi direct connection between the first wireless device and the second wireless device when the first wireless device operates normally. 
         [0032]    Step  208 : Enable the Wi-Fi direct function (enable function but not connect to the second wireless device, and the first wireless device can be discovered by the second wireless device utilizing Wi-Fi direct discovery) of the first wireless device when the screen of the first wireless device is turned off. 
         [0033]    Step  210 : Execute an application software in the second wireless device to generate a list of wireless devices that had paired with the second wireless device. 
         [0034]    Step  220 : Select the first wireless device in the list. 
         [0035]    Step  230 : Utilize the application software in the second wireless device to connect to the first wireless device, the application software in the first wireless device turn on the screen of the first wireless device. 
         [0036]    Step  240 : Making the first wireless device generate at least a light signal. 
         [0037]    Step  250 : End. 
         [0038]    (Wi-Fi direct connection needs to be established for the 1 st  time, and the connection can be established manually or trigger by NFC and connect automatically) The Wi-Fi direct connection profiles in the first wireless device and the second wireless device can be automatically created, respectively. Next, in the Step  206 , when the first wireless device operates normally (i.e. the first wireless device is not lost by the user), the Wi-Fi direct connection between the first wireless device and the second wireless device can be automatically stopped. Next, in the Step  208 , when the screen of the first wireless device is turned off (i.e. the first wireless device is in a power saving mode, a sleep mode, or lost by the user) the Wi-Fi direct function in the first wireless device wireless can be automatically enabled. Next, in the Step  210 , when the user can not find the first wireless device or the first wireless device is lost, the user can execute an application software in the second wireless device (such as a windows application program in a PC or a laptop, or an APP program in a smartphone or a tablet, etc.) to generate a list of wireless devices that had paired with the second wireless device. Next, in the Step  220 , the user can select the first wireless device in the list by using the second wireless device. Next, in the Step  220 , the user can utilize the application software in the second wireless device (such as a windows application program in a PC or a laptop, or an APP program in a smartphone or a tablet, etc.) to connect to the first wireless device and then the application software in the 1 st  device turn on the screen of the first wireless device. Next, in the Step  240 , the user can make the first wireless device generate at least a light signal; for example, the user can utilize the application software in the second wireless device to connect to the first wireless device to make the first wireless device constantly light or discontinuously sparkle. In this way, the method disclosed by the present invention can help the user to find the first wireless device by utilizing the Wi-Fi direct connection between the first wireless device and the second wireless device without using any additional hardware even when the first wireless device is in the mute mode or the vibration mode. 
         [0039]    Please note that the above embodiment is only for an illustrative purpose and is not meant to be a limitation of the present invention. For example, the step of enabling the Wi-Fi direct function of the first wireless device when a screen of the first wireless device is turned off can further comprise: switching the first wireless device to a mute mode or a vibration mode. In addition, in the Step  230 , a user also can utilize the application software in the second wireless device to connect to the first wireless device to turn on a speaker of the first wireless device. 
         [0040]    Please refer to  FIG. 3 .  FIG. 3  is a flowchart showing a method for finding a first wireless device by utilizing a Wi-Fi direct connection between the first wireless device and a second wireless device in accordance with a third exemplary embodiment of the present invention, wherein the first wireless device can be a smartphone, a tablet, a laptop, or a handheld computing device, and the second wireless device also can be a smartphone, a tablet, a laptop, or a handheld computing device. Provided that the result is substantially the same, the steps in  FIG. 3  are not required to be executed in the exact order shown in  FIG. 3 . The method of the third exemplary embodiment in the present invention comprises the following steps: 
         [0041]    Step  300 : Start. 
         [0042]    Step  302 : Establish a Wi-Fi direct connection between the first wireless device and the second wireless device. 
         [0043]    Step  304 : Create Wi-Fi direct connection profiles in the first wireless device and the second wireless device, respectively. 
         [0044]    Step  306 : Stop the Wi-Fi direct connection between the first wireless device and the second wireless device when the first wireless device operates normally. 
         [0045]    Step  308 : Enable the Wi-Fi direct function (enable function but not connect to the second wireless device, and the first wireless device can be discovered by the second wireless device utilizing Wi-Fi direct discovery) of the first wireless device when the screen of the first wireless device is turned off. 
         [0046]    Step  310 : Execute an application software in the second wireless device to generate a list of wireless devices that had paired with the second wireless device. 
         [0047]    Step  320 : Select the first wireless device in the list. 
         [0048]    Step  330 : Utilize the application software in the second wireless device to connect to the first wireless device, the application software in the first wireless device turn on the vibration motor of the first wireless device. 
         [0049]    Step  340 : Making the first wireless device generate at least a vibration signal. 
         [0050]    Step  350 : End. 
         [0051]    (Wi-Fi direct connection needs to be established for the 1 st  time, and the connection can be established manually or trigger by NFC and connect automatically) The Wi-Fi direct connection profiles in the first wireless device and the second wireless device can be automatically created, respectively. Next, in the Step  306 , when the first wireless device operates normally (i.e. the first wireless device is not lost by the user), the Wi-Fi direct connection between the first wireless device and the second wireless device can be automatically stopped. Next, in the Step  308 , when the screen of the first wireless device is turned off (i.e. the first wireless device is in a power saving mode, a sleep mode, or lost by the user) the Wi-Fi direct function in the first wireless device wireless can be automatically enabled. Next, in the Step  330 , when the user can not find the first wireless device or the first wireless device is lost, the user can execute an application software in the second wireless device (such as a windows application program in a PC or a laptop, or an APP program in a smartphone or a tablet, etc.) to generate a list of wireless devices that had paired with the second wireless device. Next, in the Step  320 , the user can select the first wireless device in the list by using the second wireless device. Next, in the Step  330 , the user can utilize the application software in the second wireless device (such as a windows application program in a PC or a laptop, or an APP program in a smartphone or a tablet, etc.) to connect to the first wireless device and then the application software in the 1 st  device turn on a vibration motor of the first wireless device. Next, in the Step  340 , the user can make the first wireless device generate at least a vibration signal. For example, the user can utilize the application software in the second wireless device to connect to the first wireless device to make the first wireless device generate all kinds of vibrations constantly or discontinuously. Or, if the first wireless device is a smartphone, and then the user can make a phone call to the first wireless device to make the first wireless device generate all kinds of vibrations constantly or discontinuously. In this way, the method disclosed by the present invention can help the user to find the first wireless device by utilizing the Wi-Fi direct connection between the first wireless device and the second wireless device without using any additional hardware even when the first wireless device is in the mute mode. 
         [0052]    Please note that the above embodiment is only for an illustrative purpose and is not meant to be a limitation of the present invention. For example, the step of enabling the Wi-Fi direct function of the first wireless device when the screen of the first wireless device is turned off can further comprise: switching the first wireless device to a mute mode. In addition, in the Step  320 , a user also can utilize the application software in the second wireless device to connect to the first wireless device to turn on the speaker or/and the screen of the first wireless device. In the Step  330 , the user can utilize the application software in the second wireless device to connect to the first wireless device to make the first wireless device generate at least an audio signal (such as a sound, a song, or music) or/and make the first wireless device constantly light or discontinuously sparkle. 
         [0053]    Briefly summarized, the method disclosed by the present invention can help a user to find the first wireless device by utilizing a Wi-Fi direct connection between the first wireless device and a second wireless device without using any additional hardware even when the first wireless device is in a mute mode or a vibration mode, and thus the present invention can reduce hardware cost. In addition, the method disclosed by the present invention can be applied to a bi-directional operation. For example, the present invention can use a laptop to find a smartphone, and also can use the smartphone to find the laptop. 
         [0054]    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.