Wireless communication system for establishing wi-fi connectivity between different hosts
By switching input device control and establishing a wireless communication system through the communication adapter between hosts, the problem of increased cabling in traditional connection methods is solved, enabling cable-free data exchange and control switching, improving user experience and file transfer security.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- PIXART IMAGING INC
- Filing Date
- 2023-04-07
- Publication Date
- 2026-06-02
AI Technical Summary
When traditional host devices are connected to peripheral devices and user input devices, the increased number of cables leads to assembly complexity and space occupation issues, and existing antenna adapters cannot communicate between multiple host devices.
The system switches control of input devices between different host devices via a communication adapter, and establishes a wireless communication system via Bluetooth and USB interfaces. The adapter acts as a bridge to establish a Wi-Fi connection between the host and the mobile phone, transmit encryption keys and files, support switching control of input devices between multiple hosts, and establish wireless communication between hosts.
It simplifies system complexity, reduces cable usage, enables cableless data exchange and input device control switching between different hosts, improves user experience, and enhances the security and efficiency of file transfer.
Smart Images

Figure CN122137913A_ABST
Abstract
Description
[0001] This application is a divisional application of Chinese invention patent application No. 202310364939.5, filed on April 7, 2023, entitled "Wireless Communication System for Control Switching Between Different Hosts". Technical Field
[0002] This invention relates to a wireless communication system, and more particularly to a wireless communication system that enables control switching and / or data exchange between different hosts via a communication adapter. Background Technology
[0003] Traditional host devices can connect to multiple peripheral devices and user input devices via cables. However, the more peripheral devices and user input devices connected, the more cables are required, thus increasing assembly complexity and space occupation.
[0004] It is known that antenna dongles can connect multiple peripheral devices and user input devices to a host device simultaneously, thus simplifying system complexity and assembly steps. However, current antenna dongles cannot enable communication between multiple host devices. Summary of the Invention
[0005] Therefore, the present invention provides a wireless communication system for switching control of input devices between different host devices via a communication adapter.
[0006] The present invention also provides a wireless communication system for exchanging connection information between different host devices via a communication adapter to establish a Wi-Fi connection between the different host devices.
[0007] The present invention also provides a wireless communication system for correcting the origin when performing mobile phone screen mirroring function.
[0008] The present invention also provides a wireless communication system that determines the output displacement based on different lookup tables when performing mobile phone screen mirroring function.
[0009] This invention provides a wireless communication system including an adapter. The adapter is used to connect to a host via a Universal Serial Bus (USB) interface and to a mobile phone via a Bluetooth interface to form a Bluetooth connection. After the adapter is connected to the host via the USB interface and to the mobile phone via the Bluetooth interface, the adapter is used to provide a first IP address of the host to the mobile phone to establish a Wi-Fi connection between the host and the mobile phone. The Bluetooth connection is also used to transmit an encryption key between the host and the mobile phone. The Wi-Fi connection is not used to transmit the encryption key.
[0010] This invention also provides a wireless communication system including an adapter. The adapter is used to connect to a host via a Universal Serial Bus (USB) interface and to a mobile phone via a Bluetooth interface to form a Bluetooth connection. The mobile phone has a built-in operating system and a second application software. After the adapter is connected to the host via the USB interface and to the mobile phone via the Bluetooth interface, the adapter acts as a bridge between the host and the mobile phone to establish a Wi-Fi connection. When the Wi-Fi connection is used to transfer files between the host and the mobile phone, the mobile phone is used to send a second keep-alive packet to the adapter via the Bluetooth connection so that the second application software is not terminated by the operating system when entering the background.
[0011] To make the above and other objects, features and advantages of the present invention more apparent, a detailed description will be provided below with reference to the accompanying drawings. Furthermore, in the description of the present invention, the same components are represented by the same reference numerals, which will be stated first. Attached Figure Description
[0012] Figure 1 This is a connection diagram of a wireless communication system according to an embodiment of the present invention; Figure 2 A flowchart illustrating Bluetooth pairing in a wireless communication system according to an embodiment of the present invention; Figure 3 A timing diagram for host pairing in a wireless communication system according to an embodiment of the present invention; Figure 4 This is a schematic diagram illustrating the operation of the wireless communication system performing the screen projection function according to an embodiment of the present invention; Figure 5 A timing diagram for file data transmission in a wireless communication system according to an embodiment of the present invention; Figure 6A This is a timing diagram of the wireless communication system in this embodiment of the invention starting screen projection; Figure 6B This is a timing diagram of the wireless communication system de-projection in an embodiment of the present invention; Figure 7A This is a schematic diagram illustrating the vertical screen projection process performed by the wireless communication system according to an embodiment of the present invention; Figure 7B This is a schematic diagram illustrating the horizontal screen projection process performed by the wireless communication system according to an embodiment of the present invention; Figure 7C This is a schematic diagram illustrating the calibration of the origin before the wireless communication system of this invention performs the screen projection function according to an embodiment of the invention; Figure 8 A schematic diagram illustrating the configuration of test software for a wireless communication system according to an embodiment of the present invention; Figure 9 This is a flowchart illustrating how a wireless communication system of this invention uses test software to establish a first lookup table. Figure 10 This is a schematic diagram illustrating how the output displacement of the wireless communication system in this embodiment of the invention covers the screen range when the test software is used to build a lookup table. Figure 11 This is a schematic diagram illustrating how the screen area is divided into multiple pixel regions when the wireless communication system of this embodiment uses test software to create a first lookup table. Figure 12 This is a schematic diagram illustrating the first host using a first lookup table to output displacement when the wireless communication system of this embodiment performs the screen projection function; and Figure 13 This is a schematic diagram illustrating how the first host uses a second lookup table to output at least one displacement during the screen projection function of the wireless communication system in an embodiment of the present invention.
[0013] Explanation of reference numerals in the attached figures 100 wireless communication system; 11 First Host 11sc First Screen 11TP touchpad 11crs First Cursor 11kb keyboard 12 Second Host 12sc Second Screen 12rs second cursor 13 Input Devices 13hk hotkey 14 adapters Detailed Implementation The purpose of this invention is to provide a communication dongle, such as a Universal Serial Bus (USB) adapter, that enables data exchange and / or input device (HID) operation switching between multiple hosts (e.g., computer devices). However, the USB adapter in this embodiment can be replaced with other USB peripherals, such as USB hubs, USB docking stations, etc., without specific limitations.
[0014] Please refer to Figure 1This is a connection diagram of a wireless communication system 100 according to an embodiment of the present invention. The wireless communication system 100 includes a first host 11, a communication adapter (hereinafter referred to as adapter) 14, an input device 13, and a second host 12. The first host 11 is a computer device with a first screen 11sc and a built-in first application software APP1, such as a laptop computer, tablet computer, workstation, or desktop computer, but is not limited thereto. The input device 13 is, for example, a mouse device or a keyboard, but is not limited thereto. The second host 12 is preferably a mobile device with a second screen 12sc and a built-in second application software APP2, such as a smartphone, tablet computer, or laptop computer, but is not limited thereto.
[0015] The first application software APP1 and the second application software APP2 can be stored / recorded on the first host 11 and the second host 12 respectively before or after leaving the factory. For example, they can be downloaded to the first host 11 and the second host 12 respectively via the Internet, mobile storage device or adapter 14. There are no specific restrictions, as long as the first host 11 and the second host 12 can execute the first application software APP1 and the second application software APP2 respectively.
[0016] In this invention, the adapter 14 serves as a bridge between the first host 11 and the second host 12, and also as a bridge between the first application software APP1 and the second application software APP2.
[0017] The adapter 14 is connected to the first host 11 via a USB interface. For example, the connection can be completed by inserting the connector of the adapter 14 into the USB slot of the first host 11. This connection method is known and is not the main purpose of this invention, so it will not be described in detail here.
[0018] Input devices ( Figure 1 (Using a mouse as an example) Input device 13 is connected to adapter 14 via a 2.4GHz (but not limited to) radio frequency (RF) interface to transmit a first event signal to the first host 11. The method of connecting two devices via an RF interface is known and not the primary objective of this invention, so it will not be described further here. The first event signal may include, for example, object dragging signals, displacement signals, mouse click signals, and mouse scroll wheel signals. It is understood that if input device 13 is another device, such as a keyboard, then the first event signal is a key press signal on the keyboard. That is, the first event signal is a signal generated by operating input device 13.
[0019] The second host 12 connects to the adapter 14 via a Bluetooth interface (preferably Bluetooth Low Energy, BLE). Please also refer to... Figure 2 and Figure 3 As shown, Figure 2A flowchart illustrating Bluetooth pairing in a wireless communication system 100 according to an embodiment of the present invention; Figure 3 This is a timing diagram for Bluetooth pairing of the wireless communication system 100 according to an embodiment of the present invention, used to establish a Bluetooth connection between the second host (here, a smartphone is used as an example) 12 and the adapter 14. Figure 1 (Displayed as BT).
[0020] Step S21: First, the user executes the function of the first application software APP1 of the first host 11 (for example, by clicking or pressing the icon of the first application software APP1 on the first screen 11sc) to add a new pairing device.
[0021] Step S22: Next, the adapter 14 performs Bluetooth advertising according to the instructions of the first application software APP1. The adapter 14 includes a Bluetooth chip for advertising, and the method of advertising using a Bluetooth chip is known, so it will not be described in detail here.
[0022] Step S23: The user operates the second host 12 to begin pairing, causing the second host 12 to begin scanning for the adapter 14. The second host 12 scans and attempts to connect to the adapter 14. The second host 12 also includes a Bluetooth chip for scanning.
[0023] Step S24: After the second host 12 finds the adapter 14, it proceeds to step S25. If it is not found, it continues scanning for a predetermined time, such as 10 to 30 seconds, but not limited to this.
[0024] Step S25: Next, adapter 14 announces the Bluetooth input device and creates a custom communication channel with the second host 12. In one embodiment, the second host 12 only connects to adapter 14 when the distance to adapter 14 is close enough, for example, when the signal strength index (RSSI) of adapter 14 is >-50dB.
[0025] Step S26: The first application software APP1 of the first host 11 exchanges information with the second host 12 through the adapter 14 and the custom communication channel. The information includes the mobile phone name, the type of mobile phone operating system, the computer (i.e., the first host 11) name, the universal unique identifier (UUID) and other information required for pairing.
[0026] After successful pairing, the pairing success message can be displayed on the first host 11 and the second host 12 respectively to notify the user.
[0027] Step S27: Next, the first application software APP1 of the first host 11 provides an available network protocol address to the second host 12 via Bluetooth connection.
[0028] Step S28: Finally, the second application software APP2 of the second host 12 attempts each available network protocol address to establish a network socket to realize the wireless transmission function.
[0029] After the above procedure is completed, adapter 14 receives a first event signal from input device 13 via the radio frequency interface to control the first host 11, and connects to the second host 12 via the Bluetooth interface. Adapter 14 is used as an input device for the second host 12, and the second host 12 can be controlled by adapter 14 as long as it receives an event / control signal from adapter 14.
[0030] In one embodiment, the input device (or first input device) 13 has a hotkey 13hk for switching between controlling the first host 11 and the second host 12. In another embodiment, the hotkey 13hk is dedicated to switching the control object of the input device 13, namely the first host 11 or the second host 12.
[0031] Please refer to again Figure 1 As shown, when the adapter 14 completes USB connection with the first host 11 and RF connection with the input device 13, the input device 13 can be used to control the operation of the first host 11 (preset), such as controlling the cursor 11crs to move, clicking icons, dragging objects (e.g., icons), or other corresponding operations, depending on the function of the input device 13.
[0032] In this embodiment, after the first application software APP1 receives the press signal of hotkey 13hk through adapter 14 (it may also be a rotation signal or a switching signal, depending on the type of hotkey 13hk), the first application software APP1 begins to intercept the first event signal (such as displacement signal, click signal, scroll wheel signal, object drag signal, etc.) from the input device 13 through adapter 14 and transmits it to the second host 12 through adapter 14, so that the input device 13 controls the operation of the second host 12.
[0033] In this embodiment, interception means preventing the operating system of the first host 11 from performing operations related to the control on the input device 13.
[0034] For example, the first application software APP1 inhibits the first host 11 from performing operations related to the first event signal. For instance, the operating system of the first host 11 ignores the first event signal, or the adapter 14 does not transmit the first event signal to the operating system of the first host 11. For example, the first event signal is not processed by the first application software APP1 and is bypassed by the adapter 14 to the second host 12. Figure 1The bypass path is shown. In other words, by operating the hotkey 13hk, the control object of the input device 13 is transferred from the first host 11 to the second host 12.
[0035] During the period when the first event signal from the input device 13 is transmitted to the second host 12 via the adapter 14, i.e. during the period when the input device 13 controls the second host 12, the first event signal from the input device 13 can be transmitted back to the first host 11 via the adapter 14 instead of the second host 12 by operating the hotkey 13hk again (including pressing, rotating and / or switching, etc.), i.e., the control object of the input device 13 is switched from the second host 12 back to the first host 11.
[0036] In another embodiment, hotkey 13hk can be configured to control the second host 12 to display recently executed applications (APPs) on the second screen 12sc, and the second host 12 can also select one of the recently executed applications based on directional signals (such as mouse wheel signals, touchpad displacement signals, or keyboard arrow key signals, etc., but not limited to) received from the input device 13 via adapter 14. In yet another embodiment, hotkey 13hk can be configured to change / select the input method for a different language. In yet another embodiment, when the second host 12 is a smartphone, hotkey 13hk can be configured to control the second host 12 to return to the system desktop. In yet another embodiment, when the second host 12 is a smartphone, hotkey 13hk can be configured to bring up the on-screen keyboard of the second host 12. In yet another embodiment, hotkey 13hk can be configured to perform cursor position correction, for example, referring to the following... Figures 7A to 7C And related explanations.
[0037] In an embodiment where hotkey 13hk is not used to switch back to the control object of input device 13 (e.g., for performing the other functions described above) and the first host 11 is a computer device (e.g., a laptop computer) containing a touchpad (e.g., 11tp), when the first application software APP1 receives the operation signal of the touchpad 11tp, the first application software APP1 controls the adapter 14 to provide the first event signal to the first host 11 instead of to the second host 12, that is, to switch back to the control object of input device 13 by operating the touchpad 11tp.
[0038] In this invention, adapter 14 can also simultaneously transfer event signals from other input devices (such as keyboards, joysticks, etc.) to different hosts along with the aforementioned first event signal. For example, the wireless communication system 100 further includes a second input device connected to the first host 11 without using adapter 14 (e.g., via a USB interface or Bluetooth interface) or directly built into the first host 11 (e.g., a built-in keyboard 11kb or a built-in touchpad 11tp). After the first application software APP1 receives the operation signal of hotkey 13hk through adapter 14, the first application software APP1 also intercepts the second event signal from the second input device and transmits it to the second host 12 through adapter 14, while simultaneously suppressing the first host 11 from performing operations relative to the second event signal. Similarly, the second event signal depends on the function of the second input device (e.g., keyboard 11kb or touchpad 11tp).
[0039] In other words, by operating the hotkey 13hk, the control objects of multiple input devices connected to the first host 11 are all transferred by the first application software APP1 to the second host 12 via the adapter 14. As described above, the control objects of multiple input devices can be transferred back to the first host 11 by operating the hotkey 13hk again or by operating the touchpad 11tp. However, in the embodiment where the control object of the touchpad 11tp is transferred to the second host 12 by operating the hotkey 13hk, the touchpad 11tp is not used to perform the transfer of control objects. If the input device contains multiple different hotkeys, it can be configured so that each hotkey switches the control object of one input device.
[0040] With the configuration of this embodiment, users can control more than one host computer using only one set of input devices, and easily switch control between devices to improve the user experience. In the above embodiment, when the input device is a keyboard, the hotkeys are preset keys on the keyboard.
[0041] In embodiments where another keyboard is connected (wired or wirelessly) to the second host 12, the control object of the other keyboard can be transferred to the first host 11 via the second application software APP2 and Bluetooth connection BT by operating predetermined keys, for example, configured on an input device or the other keyboard. That is, through the adapter 14, an input device originally used to control the first host 11 can be switched to control the second host 12, and an input device originally used to control the second host 12 can be switched to control the first host 11.
[0042] Please refer to again Figure 1 Next, another embodiment of the control object for switching input device 13 will be described.
[0043] In some embodiments, a first cursor 11crs may be displayed on the first screen 11sc and a second cursor 12crs may be displayed on the second screen 12sc for control by the input device 13. Controlling the cursor using an input device is conventional and will not be described further here.
[0044] When the first application software APP1 detects that the first cursor 11crs is located (i.e. moved to) the first predetermined edge of the first screen 11sc (e.g., the right edge here, but not limited to this) according to the displacement signal of the input device 13, the first application software APP1 intercepts the first event signal from the mouse device (i.e., the input device 13) and transmits it to the second host 12 through the adapter 14, so that the mouse device 13 controls the operation of the second host 12. At the same time, after the first application software APP1 detects that the first cursor 11crs is located at the first predetermined edge of the first screen 11sc and the second host 12 is controlled, the first application software APP1 also inhibits the first host 11 from performing operations relative to the first event signal, as described above.
[0045] In this embodiment, the switching of the input device control object is automatically activated by utilizing the position of the first cursor 11crs. In other words, in this embodiment, before the first application software APP1 intercepts the first event signal from the mouse device 13 and transmits it to the second host 12 through the adapter 14, the first application software APP1 does not need to issue a switching command to the second host 12 through the adapter 14 to switch the control object. As described above, since the adapter 14 is declared as the input device of the second host 12, even if it is unaware of the action of the first host 11, the second host 12 will start corresponding operation as soon as it receives the first event signal.
[0046] After the first application software APP1 intercepts the first displacement signal from the mouse device 13 and transmits it to the second host 12 via the adapter 14, the control object of the mouse device 13 is transferred to the second host 12. The second screen 12sc displays the action of the second cursor 12crs corresponding to the intercepted first displacement signal (or second displacement signal) of the mouse device 13, which is controlled by the operating system of the second host 12, for example. At the same time, the second application software APP2 monitors the operation of the operating system of the second host 12. When the second application software APP2 detects that the second cursor 12crs is located (i.e. moved to according to the second displacement signal of the input device 13) at the second predetermined edge of the second screen 12sc (e.g., the left edge here, but not limited to this), the second application software APP2 sends a switch command to the first host 11 via Bluetooth connection and adapter 14, so that the first application software APP1 stops intercepting and forwarding the first event signal from the mouse device 13. In this embodiment, the switch command is sent only from the second application software APP2 and does not need to be sent from the first application software APP1.
[0047] In this invention, when the hotkey 13hk of the input device 13 is operated, the input device 13 does not know (and does not need to know) whether its control object has been transferred. The input device 13 only outputs an operation signal indicating the operation of the hotkey 13hk, but is not configured to know (e.g., receive related signals) the operation related to the operation signal.
[0048] As described above, the wireless communication system 100 may also include another input device (e.g., a keyboard or joystick) that is not connected to the first host 11 via adapter 14 or is directly built into the first host 11. During the period when the first application software APP1 intercepts the first event signal from the mouse device 13 and transmits the first event signal to the second host 12 via adapter 14, the first application software APP1 is also used to intercept a second event signal from the other input device and transmit it to the second host 12 via adapter 14, and to suppress the first host 11 from performing operations relative to the second event signal. Since this is similar to the interception and forwarding of the first event signal described above, it will not be repeated here.
[0049] Please refer to Figure 4 As shown, another embodiment of switching input control objects will then be described. Figure 4 This is a schematic diagram illustrating the operation of the wireless communication system 400 performing the screen projection function according to an embodiment of the present invention.
[0050] The wireless communication system 400 of this embodiment includes a first host (e.g., a laptop computer) 41, a second host (e.g., a smartphone) 42, an input device (e.g., a mouse device) 43, and a communication adapter 44. The wireless communication system 400 of this embodiment is used to perform a screen mirroring function to mirror the smartphone 42 to the first screen 41sc of the first host 41.
[0051] When the first application software APP1 detects that the cursor 41crs enters the projection range of the smartphone 42 on the first screen 41sc (i.e., the area displaying the smartphone 42), the first application software APP1 intercepts the first event signal from the mouse device 43 and transmits it to the smartphone 42 through the adapter 44, so that the mouse device 43 controls the operation of the smartphone 42. In other words, the difference between this embodiment and the above embodiment is that the above embodiment switches the control object of the input device by operating hotkeys or judging whether the cursor is located at the edge of the screen, while in this embodiment, the first application software APP1 switches the control object of the mouse device 43 by judging whether the cursor 41crs is located within the projection range of the first screen 41sc. Unlike the above embodiment, which judges whether the position of the cursor 11crs is located at the edge of the screen 11sc or 12sc, in this embodiment, the first application software APP1 judges whether the position of the cursor 41crs is located within the projection range. Optionally, when casting, the user can still directly switch the first event signal to control the smartphone 42 via the hotkey 43hk, that is, switch via the hotkey 43hk or use the first application software APP1 to determine the cursor position.
[0052] In one embodiment, the first event signal includes a mouse click signal and a mouse wheel signal, but not a displacement signal. For example, when the first application software APP1 receives a displacement signal (no click) from the mouse device 43 from the adapter 44, the first application software APP1 controls the adapter 44 not to transmit the displacement signal to the smartphone 42, but only to change the position of the cursor 41crs on the first screen 41sc. In other words, the displacement signal is still provided to the operating system of the laptop computer 41; only the mouse click signal and the mouse wheel signal are provided to the operating system of the smartphone 42. For example, the coordinates of the mouse click are obtained by the first application software APP1 calculating the distance between the click position and the origin and transmitting this distance to the smartphone 42 through the adapter 44 for the second application software APP2 to perform the lookup table described later. Figure 9 Related implementation examples.
[0053] When the first application software APP1 detects that the cursor 41crs leaves the projection range of the smartphone 42 on the first screen 41sc, the first application software APP1 stops intercepting and forwarding the first event signal from the mouse device 43, that is, the control object of the mouse device 43 switches back to the laptop computer 41.
[0054] Furthermore, after the cursor 41crs enters the projection range of the smartphone 42 on the first screen 41sc, when the first application software APP1 detects that the first event signal is object dragging (for example, clicking an icon on the smartphone 42 with the cursor 41crs and moving the mouse device 43 to move the icon within the projection range), the first application software APP1 issues a switching command to the adapter 44 so that the adapter 44 transmits the dragging signal related to object dragging directly to the smartphone 42 without passing through the laptop computer 41. In this embodiment, the displacement signal is transmitted to the smartphone 42 to drag the object on it.
[0055] Compared to conventional adapters 44, which transmit the object drag signal to the first application software APP1 first and then to the smartphone 42 via adapter 44 (i.e., adapter 44 transmits the object drag signal to the first application software APP1 and the smartphone 42 sequentially), the present invention can effectively improve the drag delay and enhance the user experience.
[0056] As described above, the wireless communication system 400 may also include a second input device (e.g., a keyboard or joystick) that is not connected to the first host 41 via the adapter 44 or is directly built into the first host 41. During the period when the first application software APP1 intercepts the first event signal from the mouse device 43 and transmits the first event signal to the smartphone 42 via the adapter 44, the first application software APP1 also intercepts the second event signal from the second input device and transmits it to the smartphone 42 via the adapter 44, and suppresses the first host 41 from performing operations related to the second event signal. Since this has already been explained above, it will not be repeated here.
[0057] The above methods of switching controlled objects based on hotkeys and cursor positions can be implemented in combination.
[0058] In this invention, because the first host is in Bluetooth pairing (e.g. Figures 2 to 3 After completion (as shown), the operating system type of the second host (e.g., a smartphone) has been obtained. The first application software APP1 of the first host can be customized or applied for different operating systems (currently including iOS and Android). For example, if the input device 13 is such as Figure 1 The image shows a hotkey 13hk. The first application software APP1 can perform different actions for hotkey 13hk depending on the operating system.
[0059] Please refer to again Figure 1 As shown, after adapter 14 is connected to the first host 11 via USB interface and to the second host 12 via Bluetooth interface, adapter 14 can also act as a bridge between the first application software APP1 of the first host 11 and the second application software APP2 of the second host 12 to establish a communication channel. For example, the second host 12 can obtain the IP address of the first host 11 through adapter 14 to establish a Wi-Fi connection between the first host 11 and the second host 12 to obtain higher transmission capacity.
[0060] For example, the system layer of the first host 11 and the second host 12 can be assigned IP addresses by the local area network where the first host 11 and the second host 12 are located. This local area network can be provided, for example, by a Wi-Fi router (not necessarily connected to the Internet), by a hotspot from a smartphone (i.e., the second host 12), by an access point mode (AP mode) from a computer (i.e., the first host 11), or by Wi-Fi direct from an Android phone (i.e., the second host 12), but is not limited to these. Then, the application layer of the first host 11 and the second host 12 exchanges the assigned IP addresses via Bluetooth (displayed as BT) to complete the Wi-Fi connection between the first host 11 and the second host 12. Figure 1 It is displayed as Wi-Fi. Since the IP address is not transmitted over the Internet, it can improve online security.
[0061] To transfer encrypted files between the first host 11 and the second host 12 via Wi-Fi, the encryption key (filetoken) can be transmitted via Bluetooth (BT). Figure 5 As shown, the first host 11 is shown as a computer and the second host 12 is shown as a mobile phone (i.e., the aforementioned smartphone). Figure 5 Aside from the encryption key, all other data is transmitted via Wi-Fi connection. Since the Bluetooth channel (BT) is established through a standard pairing procedure, it is inherently an encrypted channel. This invention transmits the encryption key through an encrypted channel, bypassing the internet, effectively enhancing file transfer security.
[0062] In addition, to further enhance the security of file transfer, you can use your phone's unlocking functions (such as fingerprint recognition, facial recognition, password unlocking, etc.) to allow file transfer before it begins.
[0063] In one embodiment, after a Wi-Fi connection is established between the first host 11 and the second host 12, the first host 11 can display the path of the second host 12 in its file manager, and the second application software APP2 transmits thumbnails of photos / videos in the second host 12 to the path of the first host 11 via Wi-Fi connection, thus indicating that the second host 12 has connected to the first host 11 via Wi-Fi. When the second host 12 disconnects from the first host 11, the path is removed or displayed as offline. Since it does not require transmission via a USB cable between a mobile phone and a computer as in traditional methods, this invention avoids the need to plug and unplug the signal cable every time data is transmitted. When the user drags the thumbnail to the designated path on the first screen 11sc of the first host 11, the pictures and videos are actually transmitted from the second host 12 to the designated path of the first host 11 via Wi-Fi connection.
[0064] Some host operating systems (such as iOS) are terminated after a scheduled time when an application enters the background. Therefore, if a user is transferring a large file via Wi-Fi, the transfer may fail or result in an error due to application termination or termination by the host system. To avoid this, the phone (more precisely, the second application APP2) is configured to send keep-alive packets to the adapter 14 via Bluetooth, ensuring that the second application APP2 is not terminated even when it enters the background. Furthermore, the first application APP1 can also determine whether the second host 12 is functioning normally based on information from the adapter 14, which receives keep-alive packets from the second host 12.
[0065] In another implementation, adapter 14 is configured to transmit keep-alive packets (which may be different from those transmitted by the second application software APP2 via Bluetooth connection) to the first application software APP1 via USB interface, so that the first application software APP1 can know whether the USB connection has entered suspend mode.
[0066] In addition, the wireless communication system of this invention can also perform the following applications.
[0067] When the Wi-Fi connection is interrupted, for example, when the mobile phone 12 leaves the Bluetooth connection range with the adapter 14, the adapter 14 notifies the first application software APP1 to automatically lock the first host 11, which cannot be operated unless unlocked. Then, when the mobile phone 12 re-enters the Bluetooth connection range and re-establishes the Bluetooth connection with the adapter 14, and when the mobile phone 12 performs an unlocking function (such as password unlocking or biometric unlocking), the mobile phone 12 enables the adapter 14 to notify the first application software APP1 to unlock the first host 11, or the adapter 14 (declared as a USB keyboard) to automatically enter a password to unlock the first host 11.
[0068] After the Wi-Fi connection is established, the screen mirroring function can be executed / disabled via the Wi-Fi connection. Figure 6A The display shows the data exchange for screen mirroring initiated via Wi-Fi connection, and Figure 6B The display shows the data exchange for canceling screen mirroring via Wi-Fi connection. Figure 6A and Figure 6B Similarly, a computer is used as the first host 11 and a mobile phone as the second host 12. By establishing a Wi-Fi connection between the first host 11 and the second host 12, screen mirroring can be performed via Wi-Fi. In this embodiment, the screen mirroring function can be initiated by either the first host 11 or the second host 12.
[0069] This invention also provides a method for correcting the origin point of a mobile phone screen mirror (i.e., the aforementioned screen projection), or a method for correcting the cursor position. (See reference...) Figure 7A and Figure 7B In one embodiment, adapter 74 is connected to a first host 71 via a USB interface, to an input device (e.g., a mouse device, but not limited to) 73 via a wireless transmission interface (e.g., RF), and to a second host (e.g., a mobile phone) 72 via a Bluetooth interface (e.g., BT). The input device 73 can control the operation of the first host 71 or the second host 72 through adapter 74.
[0070] In this embodiment, the first host 71, the second host 72, the input device 73, and the adapter 74 are the same as the first host 11, the second host 12, the input device 13, and the adapter 14 described above, except that the functions performed by the application software or firmware are different.
[0071] As described above, the first host 71 is configured / built-in / installed with first application software (e.g., shown as APP1) that performs the calibration method of the present invention, and / or the adapter 74 is configured / built-in / installed (e.g., located in its microcontroller unit) with firmware that performs the calibration method of the present invention; the second host 72 is configured / built-in / installed with second application software (e.g., shown as APP2) that performs the calibration method of the present invention. The execution includes, for example, generating / receiving signals and / or data that perform the following steps.
[0072] The screen content of the second host 72 (i.e., the image displayed on the second screen 72sc) can be projected onto the first screen 71sc of the first host 71 via screen mirroring (or simply projection) to form a mirrored image 72mr, such as... Figure 7A and Figure 7B As shown. Users can directly control screen content on the mirrored screen 72mr via input device 73, such as manipulating cursor position, clicking the mouse, and scrolling the mouse wheel to control the operation of the second host 72. The method for enabling the screen mirroring function is known and varies depending on the product, so it will not be described further here. Figure 6A As shown, this invention transmits screen mirroring data via Wi-Fi connection. The purpose of this embodiment is to correctly match the origin of the mirrored image 72mr with the screen content, so as to correctly control the cursor on the screen content (e.g., referring to...). Figure 1 and Figure 4 )Location.
[0073] In some mobile devices (as a secondary host 72), such as the Apple iPhone, the origin of the screen content changes as the device rotates. For example, Figure 7A In the portrait orientation, the operating system of the mobile device 72 (such as iOS, but not limited to) positions the origin of the screen content at corner Oa, but not limited to; while Figure 7B In the horizontal direction, the operating system of the mobile device 72 positions the origin of the screen content at corner Ob, but is not limited to this. However, when performing the screen mirroring function, the first host 71 does not know which of the four corners the origin of the mobile device 72's current state (i.e., rotation direction) is located at; for example, the origin in the vertical direction might be Oa or Od; and the origin in the horizontal direction might be Ob or Oc. If the origin of the mirrored screen 72mr does not match the origin of the screen content, the cursor position of the mobile device 72 will differ from the control made by the user using the input device 73 on the mirrored screen 72mr, thus requiring cursor position correction.
[0074] The correction method in this embodiment includes the following steps: Step I: Before screen mirroring begins (e.g., from when the user selects the screen mirroring function on the first host 71 and / or the second host 72 until screen mirroring is completed), the second application software APP2 of the mobile device 72 provides a calibration screen 72scc, for example, referring to... Figure 7C The calibration screen 72scc may or may not be displayed on the second screen 72sc of the mobile device 72, without any specific limitation. In this embodiment, the purpose of the calibration screen 72scc is not for the user to view, but is suitable for the second application software APP2 to perform origin position calibration.
[0075] Step II: Next, the second application software APP2 of the mobile device 72 divides the calibration screen 72scc into four quadrants, for example, displayed as quadrants I to IV, and begins monitoring click events from the mouse device (as input device 73). It can be understood that... Figure 7C The configurations shown in quadrants I to IV are for illustrative purposes only and are not intended to limit the invention. For example, if the current state of the mobile device 72 is as follows... Figure 7A In the longitudinal direction, the regions corresponding to quadrants I to IV are... Figure 7C different.
[0076] Step III: Next, before starting to monitor the click events of the mouse device 73, the second application software APP2 automatically communicates with the first application software APP1 of the first host 71 to start the automatic calibration program. For example, the second application software APP2 issues an instruction to move the cursor to a predetermined position on the calibration screen 72scc, which is, for example, preset to be located in quadrant I.
[0077] Step IV: After receiving the instruction through the adapter 74, the first application software APP1 controls the adapter 74 to send a displacement amount ΔS or the adapter 74 itself APP1 sends a displacement amount ΔS (not actually generated by the input device 73) to control the cursor on the calibration screen 72scc of the mobile device 72 to move to the predetermined position, such as the midpoint of quadrant I (desired quadrant), but not limited to the midpoint.
[0078] Step V: Next, after the operating system of the mobile device 72 receives the displacement ΔS, it will move the cursor from the origin (for example, it can be controlled to return to the origin in step III or step V) to the predetermined position in the calibration screen 72scc and click it. This is not actually generated by the input device.
[0079] Step VI: The second application software APP2 monitors the operating system of the mobile device 72 to determine whether the click occurred in the correct quadrant, for example, quadrant I. Please refer to [further details]. Figure 7CWhen the mirrored image 72mr matches the origin of the screen content (i.e., a correct mirror), the cursor moves / changes a distance ΔS from corner Ob to the midpoint of quadrant I and clicks; this is called the correct quadrant. However, when the mirrored image 72mr does not match the origin of the screen content (i.e., an incorrect mirror), the cursor may move / change from corner Oa to the midpoint of quadrant II and click, may move / change from corner Oc to the midpoint of quadrant III and click, or may move / change from corner Od to the midpoint of quadrant IV and click; this is called clicking in the incorrect quadrant.
[0080] Step VII: When the second application software APP2 determines that the click occurred in the correct quadrant, screen mirroring can proceed normally (the mirrored image 72mr is officially displayed on the first screen 71sc). After the mirrored image 72mr is projected onto the first screen 71sc, the first application software APP1 can transmit the event signal generated by the input device 73 to the mobile device 72 through the adapter 74, as described in the above embodiment.
[0081] Step VIII: However, if the second application software APP2 determines that the click occurred in an incorrect quadrant, steps III to VII are re-executed, causing the first application software APP1 to attempt to send a displacement and click in another quadrant until the correct quadrant is determined. To complete the correction, the correction steps of this invention must be performed one to three times.
[0082] Furthermore, the input device 73, which is applicable to the calibration method of this embodiment of the invention, is preferably also equipped with a hotkey 73hk for the user to manually control the execution of the calibration method of the invention. For example, after completing the above calibration method (e.g., automatically completing it before displaying the mirrored screen 72mr) and starting to display the mirrored screen 72mr, the user picks up the mobile device 72 (e.g., to answer a phone call, but not limited to) and puts it back on the table. At this time, the origin mismatch may occur again, for example, the orientation of the mobile device 72 changes. At this time, the user can perform the above steps III to VIII to recalibrate by operating (e.g., pressing, selecting, switching, but not limited to) the hotkey 73hk.
[0083] In another implementation, each time the user presses the hotkey 73hk, the first application software APP1 changes the origin of the mirrored screen 72mr. If the user's click on the input device 73 on the mirrored screen 72mr correctly displays the cursor position (expected position) on the screen content, the matching is complete. If the user's click on the input device 73 on the mirrored screen does not correctly display the cursor position on the screen content, the user presses the hotkey 73hk again until the cursor can be correctly controlled. In this implementation, up to three operations may be required to complete the manual calibration.
[0084] In the above-described correction method of the present invention, the second application software APP2 and the first application software APP1 are automatically communicated through the adapter 74 to start the correction. The second application software APP2 can determine whether the origin position matches by identifying the quadrant in which the click occurs (e.g., automatically by the application software or manually by the user).
[0085] The above-described correction method of the present invention can automatically complete the origin / cursor correction before screen mirroring begins, or restore the matching state via hotkey 73hk when an origin mismatch occurs after the screen mirroring function has started. As described above, when the input device 73 is a keyboard, the hotkey is a preset key on the keyboard.
[0086] Furthermore, in an embodiment where the second application software APP2 can obtain the detection results of the accelerometer (e.g., G-sensor) of the mobile device 72, the second application software APP2 can directly determine the origin of the screen content based on the information from the accelerometer and transmit it to the first application software APP1. In this way, the cursor can be correctly controlled without performing the above-mentioned correction method.
[0087] The second application software APP2 of the present invention can also acquire the screen rotation direction and the device rotation direction (e.g., based on the detection result of the accelerometer), and transmit the acquired information to the first application software APP1 via Bluetooth or Wi-Fi connection to display a mirrored image 72mr with the correct orientation (portrait orientation) when the screen is mirrored. For example, when the mobile device 72 is as follows... Figure 7B As shown in the image, when placed horizontally, the orientation of the screen content may be in the vertical direction of the mobile device 72, for example, if a third-party application on the mobile device 72 does not have a screen rotation function or this function is disabled. The second application software APP2 can also detect the screen rotation direction and notify the first application software APP1 to display the mirrored image 72mr as shown. Figure 7A The display orientation in the first screen 71sc instead of Figure 7B The display orientation of the first screen 71sc. This allows users to always view the mirrored image 72mr in an upright orientation, improving the user experience when using screen mirroring.
[0088] The method for detecting the screen rotation direction to determine the vertical orientation of the screen content is known, so it will not be elaborated here.
[0089] The present invention also provides a method for locating the cursor position of the screen content of a mobile device (as a second host) during screen mirroring.
[0090] Please refer to Figure 8As shown, this invention illustrates a wireless communication system 800 that performs screen mirroring in an embodiment of the present invention. The system includes a first host 81, an adapter 84, and a mobile device 82. As described above, the first host 81 and the adapter 84 are connected, for example, via a USB interface; the adapter 84 and the mobile device 82 are connected, for example, via a Bluetooth interface. The first host 81, the second host 82, and the adapter 84 are identical to the first host 11, the second host 12, and the adapter 14 described above, differing only in the functions performed by the application software or firmware.
[0091] When the screen content of the mobile device 82 is displayed on the first screen 81sc of the first host 81 via screen mirroring, the user can use a mouse device (e.g., reference) Figure 7A and Figure 7B (73) to control the cursor on the screen content (e.g., refer to 73) Figure 1 (12crs). As described above, when a user moves the cursor (or first cursor) on the mirrored screen of the first host 81, the first application software APP1 of the first host 81 controls the adapter 84 to send a displacement amount to the mobile device 82, and the operating system of the mobile device 82 then controls the cursor (or second cursor) on the screen content to the corresponding position. The present invention also provides a wireless communication system 800 of the mobile device 82 that allows the first application software APP1 of the first host 81 to refer to a lookup table to determine the displacement amount of the target point, so as to transmit the found displacement amount to the mobile device 82 through the adapter 84.
[0092] To establish the lookup table, the first host 81 is equipped with the first test software T_APP1, and the mobile device 82 is equipped with the second test software T_APP2, such as... Figure 8 As shown.
[0093] Please refer to the following at the same time Figure 9 As shown, the method for determining the cursor displacement in an embodiment of the present invention will be described next.
[0094] Step S91: When starting to build the lookup table, the adapter 84 is connected to the first host 81 and the Bluetooth connection BT between the adapter 84 and the mobile device 82 is established, so that the adapter 84 can be used as a Bluetooth mouse for the mobile device 82. At this time, there is no need to connect a physical mouse device. Therefore Figure 8 No input device is displayed.
[0095] Steps S9121 to S9124 are executed by the first test software T_APP1, step S9131 is executed by the operating system of the mobile device 82, and steps S9132 to S9133 are executed by the second test software T_APP2.
[0096] Step S9121: First, the first test software T_APP1 returns the cursor on the screen content of the mobile device 82 to its original position. (Refer to...) Figure 10 The origin can be, for example, the top left corner of the screen content, but is not limited to the top left corner. Figure 10 Displays the screen content of the mobile device 82.
[0097] Step S9122: Next, the first test software T_APP1 controls the adapter 84 to send a relevant displacement to the motion device 82 so that the cursor moves a predetermined distance from the origin.
[0098] Step S9123: The first test software T_APP1 determines whether a predetermined condition has been met, such as whether a predetermined number of displacements has been issued. The inventors noticed that a portion of the screen content could not be covered by the displacements issued by the first test software T_APP1. For example, Figure 10 The first area R1 of the screen content represents the area that can be covered by the coordinates of the cursor being moved a predetermined distance by the first test software T_APP1, while the second area R2 represents the area that cannot be covered by the coordinates of the cursor being moved a predetermined distance by the first test software T_APP1.
[0099] If the predetermined conditions are met, proceed to step S9124 to end the lookup table creation step. If the conditions are not met, return to step S9121 and repeat steps S9121 to S9123.
[0100] Step S9131: As described above, after the first test software T_APP1 sends the displacement amount through the adapter 84 in step S9122, the operating system of the mobile device 82 receives the displacement amount and moves / changes the cursor to the relative coordinates.
[0101] Step S9132: Simultaneously, the second test software T_APP2 of the mobile device 82 records the displacement sent by the first test software T_APP1 through the adapter 84 and the actual cursor coordinates of the mobile device 82 (e.g., Figure 10 The correspondence within the first region R1.
[0102] Step S9133: Therefore, after the first test software T_APP1 repeatedly executes steps S9121 to S9123 to issue multiple displacement values, the second test software T_APP2 can record a first lookup table, which contains the cursor coordinates corresponding to each displacement value in the first region R1. That is, each displacement value issued by the first test software T_APP1 through the adapter 84 has a relative cursor coordinate on the mobile device 82.
[0103] The first test software T_APP1 and the second test software T_APP2 are used to create the first lookup table and the second lookup table (described later) before leaving the factory. In one embodiment, after the first lookup table and the second lookup table are created, there is no need to configure them in the first host 81 and the second host 82. In actual operation, application software APP1 and APP2 are used to perform the actions.
[0104] The first lookup table can be built into the first application software APP1 (for example, refer to...). Figure 7A and Figure 7B Therefore, when the user actually projects the screen content of the mobile device 82 onto the first screen 81sc of the first host 81, whenever the user operates the input device on the mirrored screen (e.g., ... Figure 7A and Figure 7B When a location is clicked (72mr), the first application software APP1 checks the first lookup table to find the corresponding displacement. Then, the control adapter 84 sends the displacement to the mobile device 82. The operating system of the mobile device 82 can then control the cursor to directly reach the predetermined coordinates based on the displacement, without having to go through multiple turns to reach the predetermined coordinates. Figure 13 As shown.
[0105] Furthermore, to reduce the size of the first lookup table, the second testing software T_APP2 can divide the screen content into multiple pixel regions during the creation process. For example, refer to... Figure 11 As shown, the second testing software T_APP2 treats an N×N pixel region as a single coordinate system, where N is, for example, an appropriate positive integer, which is determined by the screen size of the mobile device 82 and the required positional accuracy, and is not specifically limited thereto.
[0106] For example, among the multiple displacements emitted by the adapter 84 (via steps S9121-S9123), there are three cursor coordinates C1, C2, and C3 in the first pixel area of the screen content; two cursor coordinates C4 and C5 in the second pixel area; two cursor coordinates C6 and C7 in the third pixel area; and so on. In one embodiment, the second testing software T_APP2 selects a pixel area and uses the coordinate closest to the midpoint of that pixel area (not limited to the midpoint, but can be any point in the pixel area) as the coordinate of that pixel area. For example, C3, C4, and C7 are used as the coordinates of the first pixel area, the second pixel area, and the third pixel area, respectively. Therefore, during the repeated execution of steps S9121 to S9123, the second testing software T_APP2 can record only a single cursor coordinate for multiple displacements in the same pixel area, thus reducing the size of the first lookup table and increasing the running speed during actual screen projection.
[0107] In some cases, a portion of the screen content on the mobile device 82 cannot be viewed. Figure 9 When the coordinates of steps S9121 to S9123 are covered, for example Figure 10 If the cursor is in the second region R2, a second lookup table must be created to move the cursor to the second region R2 of the screen content. The second lookup table is created before leaving the factory, and the method is as follows.
[0108] Please refer to the following at the same time Figure 8 and Figure 13 As shown, firstly, the screen content of the mobile device 82 is mirrored onto the first screen 81sc of the first host 81. Next, the first test software T_APP1 moves the cursor on the first screen 81sc to the origin of the mirrored image. Simultaneously, the first test software T_APP1 divides the second region R2 of the mirrored image of the mobile device 82 into multiple grid points, as shown... Figure 13 As shown in the mirrored image, the number and density of grid points can be determined according to the required positional accuracy. Next, the first testing software T_APP1 calculates the distance between the grid point closest to the origin and the origin, as well as the distance between grid points themselves, and records this as a second lookup table. This second lookup table is also built into the first application software APP1. It can be understood that the more grid points there are, the larger the size of the second lookup table.
[0109] In actual operation, when the user operates the input device to move the cursor on the cursor movement device 82 to the target point "3" (see reference...), Figure 13 When the target point "3" is reached, the first testing software T_APP1 calculates the grid points that need to be traversed for the shortest distance, for example, displayed as grid points "1" and "2". Then, the first testing software T_APP1 confirms the first displacement from the origin to grid point "1", the second displacement from grid point "1" to grid point "2", and the third displacement from grid point "2" to grid point "3" in the second lookup table, and controls the adapter 84 to send the first, second and third displacements to the mobile device 82 in sequence, so as to control the cursor on the mobile device 82.
[0110] In summary, the wireless communication system claimed in this invention pre-creates a first lookup table and a second lookup table and stores them in the first application software APP1 before leaving the factory. The first lookup table is used for... Figure 10 The first region R1 and the second lookup table are applied to Figure 10 The second region R2. In actual operation, the screen content of the mobile device 82 is projected onto the first host 81 to form a mirrored image (e.g., Figure 7A and Figure 7B 72mr), when the user inputs through an input device (e.g. Figure 7A and Figure 7B73) When the mirrored screen is clicked, the first application software APP1 determines whether the clicked location is in the first area R1 or the second area R2. When the clicked location is in the first area R1, the first application software APP1 determines a displacement amount according to the stored first lookup table and controls the adapter 84 to send that displacement amount to the mobile device 82, for example, referring to... Figure 12 When the clicked location is in the second area R2, the first application software APP1 determines at least one displacement amount according to the second lookup table and controls the adapter 84 to send the at least one displacement amount to the mobile device 82, for example, referring to... Figure 13 According to the present invention, different cursor movement trajectories can be displayed in the first region R1 and the second region R2 of the mobile device 82.
[0111] It should be noted that although the above description uses a mouse device as an example to illustrate the input device, the present invention is not limited thereto. In other embodiments, the input device may be a wireless keyboard, a wireless joystick, a wireless touchpad, etc., and there are no specific limitations.
[0112] It is understood that the first host and the second host each contain a processor (such as a central processing unit or microprocessor unit) for executing their respective operating systems and application software.
[0113] It should be noted that although the above description uses the example of a communication adapter connected to the first host via a USB interface, the present invention is not limited thereto. In other embodiments, the communication adapter can be connected to the first host via a serial interface or other wired interfaces.
[0114] It should be noted that although the above description uses the adapter connecting to a single second host via Bluetooth as an example, the present invention is not limited thereto. In other embodiments, the adapter can connect to multiple hosts via Bluetooth and switch between the desired host via hotkeys on the input device.
[0115] It should be noted that the first application software APP1 and the second application software APP1 in the embodiments of the present invention can be configured to run at least one of the above multiple embodiments, and may even include the functions of T_APP1 and T_APP2.
[0116] It should be noted that the screen projection mentioned in the embodiments of the present invention is not limited to projecting a mobile phone screen to a computer screen, but also includes implementations of projecting a computer screen to another computer screen.
[0117] In summary, it is now possible to simultaneously utilize multiple computer devices for work and entertainment, effectively improving efficiency and convenience. However, current communication adapters primarily connect a main device to multiple peripheral devices but cannot switch control between multiple hosts. Therefore, this invention provides a control object capable of switching input devices (e.g., ...) between multiple hosts. Figure 1 and Figure 4 And during screen mirroring, the cursor position is corrected and determined (e.g., Figure 7 to 10). Figure 13 The wireless communication system can effectively improve the user experience and solve the existing problems of the screen projection function.
[0118] While the present invention has been disclosed through the foregoing examples, it is not intended to limit the invention. Any person skilled in the art to which this invention pertains can make various modifications and alterations without departing from the spirit and scope of the invention. Therefore, the scope of protection of this invention shall be determined by the appended claims.
Claims
1. A wireless communication system, the wireless communication system comprising: An adapter for connecting to a host via a Universal Serial Bus interface and to a mobile phone via a Bluetooth interface to form a Bluetooth connection; in, After the adapter is connected to the host via the Universal Serial Bus interface and to the mobile phone via the Bluetooth interface, the adapter is used to provide the host's first IP address to the mobile phone to establish a Wi-Fi connection between the host and the mobile phone. The Bluetooth connection is also used to transmit encryption keys between the host and the mobile phone, and The Wi-Fi connection is not used to transmit the encryption key.
2. The wireless communication system according to claim 1, wherein, The host computer is a laptop computer.
3. The wireless communication system according to claim 1, wherein, The first IP address of the host and the second IP address of the mobile phone are assigned by the local area network where the host and the mobile phone are located.
4. The wireless communication system according to claim 3, wherein, The local area network is provided by a Wi-Fi router, a smartphone hotspot, a computer access point mode, or an Android phone's Wi-Fi Direct connection.
5. The wireless communication system according to claim 4, wherein, The smartphone is the mobile phone mentioned above. The computer is the host computer, and The Android phone is the phone in question.
6. The wireless communication system according to claim 4, wherein, The Wi-Fi router is not connected to the Internet.
7. The wireless communication system according to claim 1, wherein, The Wi-Fi connection is used to transfer files between the host and the mobile phone, and the file transfer is allowed using the unlock function of the mobile phone before the file transfer begins. The mobile phone is used to transmit keep-alive packets to the adapter via the Bluetooth connection.
8. A wireless communication system, the wireless communication system comprising: An adapter for connecting to a host via a Universal Serial Bus interface and to a mobile phone via a Bluetooth interface to form a Bluetooth connection; in, The mobile phone has a built-in operating system and a second application software. After the adapter is connected to the host via the Universal Serial Bus interface and to the mobile phone via the Bluetooth interface, the adapter acts as a bridge between the host and the mobile phone to establish a Wi-Fi connection between them. When the Wi-Fi connection is used to transfer files between the host and the mobile phone, the mobile phone is used to send a second keep-alive packet to the adapter via the Bluetooth connection so that the second application software is not terminated by the operating system when entering the background.
9. The wireless communication system according to claim 8, wherein, The adapter is also used to transmit a first keep-alive packet to a first application software built into the host via the Universal Serial Bus interface.
10. The wireless communication system according to claim 8, wherein, When the Wi-Fi connection is interrupted, the adapter is used to notify the first application software built into the host to automatically lock the host.
11. The wireless communication system according to claim 10, wherein, When the Wi-Fi connection between the host and the mobile phone is re-established and the mobile phone performs the unlock function, the mobile phone enables the adapter to notify the first application software built into the host to unlock the host.
12. The wireless communication system according to claim 10, wherein, When the Wi-Fi connection between the host and the mobile phone is re-established, the adapter automatically unlocks the host.