System and method for handling peripheral connections to mobile devices
View Patent ↗Systems and methods for establishing a data connection between a mobile device and a peripheral. The mobile device is configured to determine whether to handle user approval of the data connection between the mobile device and the peripheral. Through the mobile device, an input mechanism is provided for the user to provide input. The input is used in determining whether to approve the data connection between the mobile device and the peripheral.
1. A method for establishing a data connection between a peripheral device and a mobile device, comprising:
receiving, by the mobile device, an indication from the peripheral device, the indication redirecting user approval of the data connection from the peripheral device to the mobile device;
prompting, by the mobile device, for a user input in response to receiving the indication; and
determining, by the mobile device, whether to establish the data connection based on the user input.
2. The method of claim 1 , wherein user input comprises one of a password or other approval indication.
3. The method of claim 1 , wherein the indication is received responsive to the peripheral device connecting to the mobile device.
4. The method of claim 3 , wherein the peripheral device connects to the mobile device via a universal serial bus (USB) cable or a wireless protocol.
5. The method of claim 1 , wherein when the mobile device receives the indication while the mobile device is in a locked state, prompting for user input is not performed by the mobile device until the mobile device is unlocked.
6. The method of claim 1 , wherein determining, by the mobile device, whether to establish the data connection based on the user input further comprises:
approving establishment of the data connection when the user input is valid, and
rejecting establishment of the data connection when the user input is not valid.
7. The method of claim 6 , wherein establishing the data connection comprises opening a data transfer connection between the peripheral device and the mobile device.
8. The method of claim 1 , wherein the peripheral device is unable to provide a prompt to the user or to obtain the input from the user.
9. The method of claim 1 , wherein the peripheral device is one of a smart card reader, a memory card, a hardware cryptographic-related token, and a camera.
10. The method of claim 1 , wherein the mobile device is a mobile wireless communications device.
11. A non-transitory computer readable medium storing computer readable instructions that, when executed by a processor, implement a method for establishing a data connection between a peripheral device and a mobile device, comprising:
receiving, by the mobile device, an indication from the peripheral device, the indication redirecting user approval of the data connection from the peripheral device to the mobile device;
prompting, by the mobile device, for a user input in response to receiving the indication; and
determining, by the mobile device, whether to establish the data connection based on the user input in response to prompting for the user input.
12. The non-transitory computer readable medium of claim 11 , wherein the user input comprises one of a password or other approval indication.
13. The non-transitory computer readable medium of claim 11 , wherein determining whether to establish the data connection based on the user input further comprises:
approving establishment of the data connection when the user input is valid, and
rejecting establishment of the data connection when the user input is not valid.
14. The non-transitory computer readable medium of claim 13 , wherein establishing the data connection comprises opening a data transfer connection between the peripheral device and the mobile device.
15. The non-transitory computer readable medium of claim 11 , wherein when the indication is received while the mobile device is in a locked state, prompting for user input is not performed until the mobile device is unlocked.
16. An apparatus comprising a mobile device for establishing a data connection with a peripheral device, comprising:
a processor implemented in the mobile device;
a display for prompting a user of the mobile device;
an input device for receiving user input at the mobile device;
approval handling instructions, which when executed by the processor, receive an indication from the peripheral device, the indication redirecting user approval of the data connection from the peripheral device to the input device, and prompt the user on the display to provide a user input using the input device in response to receiving the indication; and
connection handler instructions, which when executed by the processor, determine whether to establish the data connection between the mobile device and the peripheral device based on the user input in response to prompting on the display to provide the user input.
17. The apparatus of claim 16 , wherein the user input comprises one of a password or other approval indication.
18. The apparatus of claim 16 , wherein determining whether to establish the data connection based on the user input further comprises:
approving establishment of the data connection when the user input is valid, and
rejecting establishment of the data connection when the user input is not valid.
19. The apparatus of claim 18 , wherein establishing the data connection comprises opening a data transfer connection between the peripheral device and the mobile device.
20. The apparatus of claim 16 , wherein when the indication is received while the mobile device is in a locked state, prompting for user input is not performed until the mobile device is unlocked.