Wireless communication system with control handover between different hosts
By using a communication adapter to switch control of input devices and exchange online information between different hosts, the problem of high connection complexity of traditional host devices is solved, realizing wireless data exchange and input device control switching, improving user experience and file transfer security.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-07
- Publication Date
- 2026-03-17
AI Technical Summary
Traditional host devices require multiple cables to connect to peripheral devices and user input devices, resulting in high assembly complexity and space occupation. Furthermore, existing antenna adapters cannot enable communication between multiple host devices.
The system uses a communication adapter to connect to the first host via a USB interface, to the input device via an RF interface, and to the second host via a Bluetooth interface. This enables the switching of input device control between different hosts and the exchange of online information. It supports Wi-Fi connectivity and mobile phone screen mirroring, and uses a lookup table to correct the origin.
It simplifies system complexity, reduces cable usage, enables cableless data exchange and input device control switching between different hosts, improves user experience, enhances file transfer security, and reduces latency in screen mirroring.
Smart Images

Figure CN117097831B_ABST
Abstract
Description
Technical Field
[0001] 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
[0002] 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.
[0003] 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
[0004] Therefore, the present invention provides a wireless communication system for switching control of input devices between different host devices via a communication adapter.
[0005] 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.
[0006] The present invention also provides a wireless communication system for correcting the origin when performing mobile phone screen mirroring function.
[0007] 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.
[0008] This invention provides a wireless communication system comprising a first host, an adapter, a first input device, and a second host. The first host has built-in first application software. The adapter is used to connect to the first host via a Universal Serial Bus (USB) interface. The first input device has a hotkey and is used to connect to the adapter via a radio frequency (RF) interface to transmit a first event signal to the first host. The second host is used to connect to the adapter via a Bluetooth interface. After the first application software receives a press signal from the hotkey via the adapter, the first application software intercepts the first event signal from the first input device and transmits it to the second host via the adapter, so that the first input device controls the operation of the second host.
[0009] The present invention also provides a wireless communication system comprising a first host, an adapter, a mouse device, and a second host. The first host includes a first screen and has built-in first application software. The adapter is used to connect to the first host via a Universal Serial Bus interface. The mouse device is used to connect to the adapter via a radio frequency interface to transmit a first displacement signal to the first host. The second host includes a second screen and has built-in second application software, and the second host is used to connect to the adapter via a Bluetooth interface. When the first application software detects that a first cursor has moved to a first predetermined edge of the first screen according to the first displacement signal, the first application software is used to intercept a first event signal from the mouse device and transmit it to the second host through the adapter, so that the mouse device controls the operation of the second host.
[0010] The present invention also provides a wireless communication system comprising a first host, an adapter, a mouse device, and a smartphone. The first host includes a first screen and has built-in first application software. The adapter is used to connect to the first host via a Universal Serial Bus interface. The mouse device is used to connect to the adapter via a radio frequency interface to transmit a first displacement signal to the first host. The smartphone has built-in second application software and is used to connect to the adapter via a Bluetooth interface. When the wireless communication system performs a screen mirroring function to project the smartphone screen onto the first screen, and the first application software detects that the cursor has entered the projection range of the smartphone on the first screen, the first application software is used to intercept a first event signal from the mouse device and transmit it to the smartphone via the adapter, so that the mouse device controls the operation of the smartphone.
[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;
[0013] Figure 2 A flowchart illustrating Bluetooth pairing in a wireless communication system according to an embodiment of the present invention;
[0014] Figure 3 A timing diagram for host pairing in a wireless communication system according to an embodiment of the present invention;
[0015] 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;
[0016] Figure 5 A timing diagram for file data transmission in a wireless communication system according to an embodiment of the present invention;
[0017] Figure 6A This is a timing diagram of the wireless communication system in this embodiment of the invention starting screen projection;
[0018] Figure 6B This is a timing diagram of the wireless communication system de-projection in an embodiment of the present invention;
[0019] 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;
[0020] 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;
[0021] 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;
[0022] Figure 8 A schematic diagram illustrating the configuration of test software for a wireless communication system according to an embodiment of the present invention;
[0023] Figure 9 This is a flowchart illustrating how a wireless communication system of this invention uses test software to establish a first lookup table.
[0024] 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.
[0025] 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.
[0026] 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
[0027] 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.
[0028] Explanation of reference numerals in the attached figures
[0029] 100 Wireless communication system;
[0030] 11 First Host
[0031] 11sc First Screen
[0032] 11tp touchpad
[0033] 11crs First Cursor
[0034] 11kb keyboard
[0035] 12 Second host
[0036] 12sc Second Screen
[0037] 12rs Second cursor
[0038] 13 Input devices
[0039] 13hk Hotkeys
[0040] 14 Adapters Detailed Implementation
[0041] 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.
[0042] Please refer to Figure 1 This 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.
[0043] 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.
[0044] 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.
[0045] 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.
[0046] 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 includes, 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.
[0047] 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 2 A 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 host Bluetooth pairing in the wireless communication system 100 of this embodiment of the 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).
[0048] Step S21: First, the user executes the function of adding a new pairing device by performing 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).
[0049] 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.
[0050] 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.
[0051] 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 is not limited to this.
[0052] 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.
[0053] 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.
[0054] 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.
[0055] 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.
[0056] 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.
[0057] 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.
[0058] 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.
[0059] Please refer to again Figure 1As 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.
[0060] 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.
[0061] 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.
[0062] 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 1 The 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.
[0063] 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.
[0064] 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.
[0065] 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.
[0066] In this invention, adapter 14 can also simultaneously transfer event signals from other input devices (e.g., 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).
[0067] 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.
[0068] 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.
[0069] 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.
[0070] Please refer to again Figure 1 Next, another embodiment of the control object for switching input device 13 will be described.
[0071] 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.
[0072] 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.
[0073] 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.
[0074] 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.
[0075] 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 relative to the operation signal.
[0076] 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.
[0077] 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.
[0078] 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.
[0079] 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.
[0080] In one embodiment, the first event signal includes a mouse click signal and a mouse wheel signal, but does not include 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.
[0081] 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.
[0082] 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.
[0083] 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.
[0084] 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.
[0085] The above methods of switching controlled objects based on hotkeys and cursor positions can be implemented in combination.
[0086] In this invention, because the first host is in Bluetooth pairing (e.g. Figures 2 to 3 After completion (as shown), the type of operating system 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.
[0087] 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.
[0088] 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 (Displayed as Wi-Fi). Since the IP address is not transmitted over the Internet, it improves online security.
[0089] 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.
[0090] 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.
[0091] 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.
[0092] Some host operating systems (such as iOS) are terminated after a predetermined 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 maintaining normal operation based on information from the adapter 14, which receives keep-alive packets from the second host 12.
[0093] 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.
[0094] In addition, the wireless communication system of this invention can also perform the following applications.
[0095] 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.
[0096] 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.
[0097] 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 either the first host 71 or the second host 72 via adapter 74.
[0098] 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.
[0099] As described above, the first host 71 is configured / built-in / installed with a 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 a 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.
[0100] 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.
[0101] 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 7AIn the portrait orientation, the operating system of the mobile device 72 (e.g., 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 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.
[0102] The correction method in this embodiment includes the following steps:
[0103] 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.
[0104] 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.
[0105] 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.
[0106] Step IV: After receiving the instruction through adapter 74, the first application software APP1 controls adapter 74 to send a displacement amount ΔS or the APP1 of adapter 74 itself sends a displacement amount ΔS (not actually generated by 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.
[0107] 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.
[0108] 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 7C When 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.
[0109] 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.
[0110] 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.
[0111] 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.
[0112] 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.
[0113] 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).
[0114] 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.
[0115] 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.
[0116] 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 (portraitor 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, enhancing the user experience when using screen mirroring.
[0117] 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.
[0118] 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.
[0119] Please refer to Figure 8 As 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.
[0120] When the screen content of the mobile device 82 is displayed on the first screen 81sc of the first host 81 via the screen mirroring function, 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 the user moves the cursor (or first cursor) on the mirror 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.
[0121] 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.
[0122] Please refer to the following at the same time Figure 9 As shown, the method for determining the cursor displacement according to an embodiment of the present invention will be described next.
[0123] 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.
[0124] 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.
[0125] 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.
[0126] 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.
[0127] 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 10The 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.
[0128] 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.
[0129] 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.
[0130] 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.
[0131] 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.
[0132] 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.
[0133] 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 7BWhen 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.
[0134] 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.
[0135] For example, among the multiple displacements emitted by the adapter 84 (via steps S9121 to 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. In this way, 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 when actually performing screen projection.
[0136] 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.
[0137] 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 13As 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.
[0138] 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.
[0139] 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 7B 73) 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.
[0140] 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.
[0141] 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.
[0142] 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.
[0143] 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.
[0144] 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.
[0145] 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.
[0146] 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 (e.g., [missing information]) that can switch input devices between multiple hosts. Figure 1 and Figure 4 And during screen mirroring, the cursor position is corrected and determined (e.g., Figure 7 to...). Figure 13 The wireless communication system can effectively improve the user experience and solve the existing problems of the screen projection function.
[0147] 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, comprising: a first host having a first application software built-in; an adapter for connecting with the first host through a universal serial bus interface; a first input device having a hot key and for connecting with the adapter through a radio frequency interface to transmit a first event signal to the first host, wherein the first event signal is a signal generated by operating the first input device; and a second host having a second application software built-in and for connecting with the adapter through a Bluetooth interface, wherein after the first application software receives a pressing signal of the hot key through the adapter, the first application software is configured to suppress an operating system of the first host from executing a function relative to the first event signal of the first input device and to transmit the first event signal from the first input device to the second host through the adapter so that the first input device controls a function of the second host, the hot key is configured to switch the first input device to control the first host or the second host, and after the first host and the second host successfully pair through Bluetooth, the first application software of the first host provides available network protocol addresses to the second host through a Bluetooth connection, and the second application software of the second host attempts each available network protocol address to establish a network socket to implement a wireless transmission function.
2. The wireless communication system of claim 1, wherein the first host is a notebook computer, the first input device is a mouse device or a keyboard, and the second host is a smart phone, a tablet computer or a notebook computer.
3. The wireless communication system of claim 1, wherein, during the first event signal of the first input device is transmitted to the second host through the adapter, by operating the hot key again, the first event signal from the first input device is provided to the first host again through the adapter without being provided to the second host, the second host is controlled to display recently executed application programs, wherein the second host further selects one of the recently executed application programs according to a direction signal from the first input device received through the adapter, an input method relative to different languages is changed, when the second host is a smart phone, the second host is controlled to return to a system desktop, when the second host is a smart phone, a screen keyboard of the second host is brought out, or 4. The wireless communication system of claim 1, further comprising a second input device not connected to the first host through the adapter or built-in the first host, wherein, a cursor position correction is performed. after the first application software receives the pressing signal of the hot key through the adapter, the first application software is further configured to transmit a second event signal from the second input device to the second host through the adapter, and suppress the first host from executing a function relative to the second event signal.
5. The wireless communication system of claim 4, wherein the first host is a notebook computer including a touchpad, and the second host is a smart phone. When the first application software receives the operation signal of the touchpad, the first application software is further configured to provide the first event signal and the second event signal back to the first host without providing to the second host.
6. A wireless communication system, comprising: a first host comprising a first screen and having a first application software built-in; an adapter configured to connect with the first host through a universal serial bus interface; a mouse device configured to connect with the adapter through a radio frequency interface to transmit a first displacement signal to the first host; and a second host comprising a second screen and having a second application software built-in, the second host being configured to connect with the adapter through a Bluetooth interface, wherein when the first application software detects that a first cursor moves to a first predetermined edge of the first screen according to the first displacement signal, the first application software is configured to inhibit an operating system of the first host from executing a first event signal relative to the mouse device and to transmit the first event signal from the mouse device to the second host through the adapter so that the mouse device controls the operation of the second host, the first event signal comprises a second displacement signal of the mouse device, the first displacement signal is a displacement signal generated by the mouse device before the first event signal is transmitted to the second host through the adapter, the second displacement signal is a displacement signal generated by the mouse device after the first event signal is transmitted to the second host through the adapter, a position of the first cursor is configured to automatically activate a switch of the mouse device to control an object, and after the first host and the second host are successfully paired through Bluetooth, the first application software of the first host provides available network protocol addresses to the second host through Bluetooth connection, and the second application software of the second host attempts each available network protocol address to establish a network socket to implement a wireless transmission function.
7. The wireless communication system of claim 6, wherein the first host is a notebook computer, and the second host is a smart phone, a tablet computer, or a notebook computer. the first event signal further comprises a mouse click signal and a mouse wheel signal.
8. The wireless communication system of claim 6, wherein, 9. The wireless communication system of claim 6, wherein the second screen is configured to display a second cursor moving according to the second displacement signal of the mouse device, and when the second application software detects that the second cursor moves to a second predetermined edge of the second screen according to the second displacement signal, the second application software sends a switch command to the first host through the adapter so that the first application software stops transmitting the first event signal from the mouse device to the second host through the adapter. Before the first application software transmits the first event signal from the mouse device to the second host through the adapter, the first application software does not send a switch command to the second host through the adapter.
10. The wireless communication system of claim 6, wherein, 11. The wireless communication system of claim 6, further comprising an input device not connected to the first host through the adapter or built-in the first host, wherein, during the first application software transmitting the first event signals from the mouse device to the second host through the adapter, the first application software is further configured to transmit second event signals from the input device to the second host through the adapter, and inhibit the first host from performing operations relative to the second event signals.
12. A wireless communication system, comprising: a first host including a first screen and having a first application software built-in; an adapter configured to connect with the first host through a universal serial bus interface; a mouse device configured to connect with the adapter through a radio frequency interface to transmit first displacement signals to the first host; and a smart phone having a second application software built-in and configured to connect with the adapter through a Bluetooth interface, wherein when the wireless communication system performs a screen projection function to project the smart phone to the first screen and the first application software detects a cursor entering a projection range of the smart phone in the first screen, the first application software is configured to transmit first event signals from the mouse device to the smart phone through the adapter to enable the mouse device to control operations of the smart phone, the first displacement signals are displacement signals generated by the mouse device before the first event signals are transmitted to the smart phone through the adapter, the first event signals include click signals and scroll signals generated by the mouse device after the first event signals are transmitted to the smart phone through the adapter, the first application software switches control objects of the mouse device by determining whether the cursor is located in the projection range in the first screen, and after the first host and the smart phone are successfully paired through Bluetooth, the first application software of the first host provides available network protocol addresses to the smart phone through a Bluetooth connection, and the second application software of the smart phone attempts each available network protocol address to establish a network socket to implement a wireless transmission function. The first event signals do not include displacement signals.
13. The wireless communication system of claim 12, wherein, during the first application software transmitting the first event signals from the mouse device to the smart phone through the adapter, the first application software is further configured to 14. The wireless communication system of claim 12, further comprising an input device not connected to the first host through the adapter or built-in to the first host, wherein, transmit second event signals from the input device to the smart phone through the adapter, and inhibit the first host from performing operations relative to the second event signals. when the first application software detects that the cursor leaves the projection range of the smart phone in the first screen, the first application software is further configured to stop transmitting the first event signals from the mouse device to the smart phone through the adapter.
15. The wireless communication system of claim 12, wherein, when the first application software detects that the first event signals are object dragging, the first application software is further configured to issue a switching command to the adapter to enable the adapter to transmit dragging signals related to the object dragging directly to the smart phone without passing through the first host.
16. The wireless communication system of claim 12, wherein, 17. The wireless communication system of claim 12, wherein, The mouse device includes a hot key for switching the mouse device to control the first host or the smart phone. The mouse device includes a hot key for switching the mouse device to control the first host or the smart phone.
Citation Information
Patent Citations
Method and terminal for providing Bluetooth function for computer
CN101634976A
Receiver device, host apparatus and control method thereof
CN103248405A