1. Technical Field
The invention relates to docking stations, particularly to a docking station which can intercept input device event messages of a laptop computer to control a smartphone.
2. Related Art
A smartphone is a mobile phone built on a mobile operating system, with more advanced computing capability connectivity than a conventional cellular phone. In essence, a smartphone is a computer-based cellular phone. As a result, more and more users treat a smartphone as a mixture of a cellular phone and a laptop or tablet computer.
There must be a rechargeable battery, a touchscreen panel and a connection port in a smartphone. When a smartphone is used as a laptop computer at home or office, a docking station is needed for charging battery, data communication and connecting human interface devices (HIDs) such as a keyboard and mouse. Also, an external display much larger than the touchscreen panel of a smartphone is required by most users.
Generally, a smartphone is provided with only one communication port, for example, a micro-USB port. For both input/output bidirectional data communication and audio/video unidirectional data transmission, some smartphones are provided with a micro-USB port with a built-in mobile audio/video interface such as the Mobile High-Definition Link (MHL) or the Mobility DisplayPort (MyDP) interface.
However, such an MHL-enabled or MyDP-enabled micro-USB port has to cease its USB functions while the MHL or MyDP function is being activated, and vice versa. In more detail, a user cannot use the MHL-enabled or MyDP-enabled micro-USB port to connect a keyboard, mouse or any other USB-HIDs when the port is connected to an external display. The only solution to simultaneously connect an external display and HIDs is to wirelessly connect HIDs via BLUETOOTH and to wiredly connect an external display via the MHL-enabled or MyDP-enabled micro-USB port. This is inconvenient and complicated for users. Furthermore, BLUETOOTH HIDs are much more expensive than general USB-HIDs.
There is some smartphone manufacture to provide a smartphone product with a proprietary hybrid interface connector that combines two sub-connectors—one for audio/video data transmission and the other one for USB data communication. However, such a proprietary connector lacks compatibility with other smartphone or peripheral manufactures. Users' selectivity is seriously limited.
Some users prefer using an external keyboard, display and mouse to control a smartphone connected to a docking station. Some users may connect a laptop computer with the docking station and want to use a touchpad and keyboard of the laptop computer to control the smartphone. Under the circumstances, a docking station with a hooking function which can intercept input device event messages of a laptop computer is required.
An object of the invention is to provide a dock station with a hooking function, which can operatively link an external display with a smartphone and a laptop computer and allows a user to control the smartphone from the external display and input devices of the laptop computer.
To accomplish the above object, the docking station of the invention includes a controller with a linking switch, a wireless communication module, a universal serial bus (USB) switch, a first USB connector, a second USB connector, a hook procedure processor, an audio/video (AV) converter, an AV switch, a first AV connector, and a second AV connector.
The wireless communication module is coupled to the controller and is capable of establishing a wireless link with an external portable electronic device. The first USB connector is used for connecting the external portable electronic device. The hook procedure processor is coupled to the controller and intercepts input device event messages of an external laptop computer to send to the controller. The second USB connector is coupled to the hook procedure processor for connecting the external laptop computer. The AV converter is coupled between the first USB connector and the controller for converting first AV data into second AV data. The AV switch has two AV inputs and an AV output for switching one of the two AV inputs to the AV output, and one of the two AV inputs is coupled to the AV converter. The first AV connector is coupled to another one of the two AV inputs of the AV switch for inputting a third AV data from the external laptop computer. The second AV connector is coupled to the AV output of the AV switch for outputting either of the second AV data and the third AV data. The controller sends the input device event messages intercepted by the hook procedure processor to the external portable electronic device through the wireless link so that input devices of the external laptop computer can be used to input data into the external portable electronic device. The AV switch is controlled by the linking switch.
Please refer to
The controller 11 may be an ARM SoC (System-on-Chip) processor. The linking switch 112 connected to the controller 11 may be a normally-open push-button switch. The wireless communication module 12 is coupled to the controller 11 and capable of establishing a wireless link with the smartphone 2. Preferably, the wireless communication module 12 is provided with a BLUETOOTH interface. Accordingly, the wireless link is compliant with the BLUETOOTH standard.
As shown in
Please refer to
When the AV converter 16 is connected to the second AV connector 17, the second AV data is being output through the second AV connector 17 to the display 4 with a cable corresponding to the second AV connector 17. When the first AV connector 17 is connected to the second AV connector 17, a third AV data from the external laptop computer 6 to which the first AV connector 191 is connected is being output through the second AV connector 17 to the display 4.
The hook procedure processor 18 is coupled to the controller 11 and a second USB connector 181 is coupled to the hook procedure processor 18. A hook is a mechanism by which an application can intercept events, such as messages, mouse actions, and keystrokes. A function that intercepts a particular type of event is known as a hook procedure. A hook procedure can act on each event it receives, and then modify or discard the event. The term hooking covers a range of techniques used to alter or augment the behavior of an operating system, of applications, or of other software components by intercepting function calls or messages or events passed between software components. Code that handles such intercepted function calls, events or messages is called a “hook”. Hooking can include intercepting keyboard or mouse event messages before they reach an application, or intercepting operating system calls in order to monitor behavior or modify the function of an application or other component. As a result, the hook procedure processor 18 can intercept input device event messages of the keyboard 61 and touchpad 62 of the external laptop computer 6 connected to the second USB connector 181 to send them to the controller 11, and then the controller 11 sends input device event messages to the smartphone 2 through the wireless communication module 12. Finally, a user can use the keyboard 61 and touchpad 62 to input data to the smartphone 2.
Furthermore, the hook procedure processor 18 can be switched by the controller 11 through a control pin 182 to be in two modes, the first mode is outputting input device event messages to the controller 11, and the second mode is no outputting input device event messages. When the hook procedure processor 18 is switched to the first mode, the keyboard 61 and touchpad 62 of the laptop computer 6 can be used to input data to the smartphone 2. When the hook procedure processor 18 is switched to the second mode, the laptop computer 6 can work alone with its own keyboard 61 and touchpad 62. Preferably, the hook procedure processor 18 and the AV switch 19 are synchronously switched by operating the linking switch 182.
Please refer to
It will be appreciated by persons skilled in the art that the above embodiments have been described by way of example only and not in any limitative sense, and that various alterations and modifications are possible without departure from the scope of the invention as defined by the appended claims.
This application is a continuation-in-part of U.S. patent application Ser. No. 13/937,161 filed Jul. 8, 2013, now pending, which is a continuation-in-part of U.S. patent application Ser. No. 13/896,282, filed May 16, 2013, now pending.
Number | Date | Country | |
---|---|---|---|
Parent | 13937161 | Jul 2013 | US |
Child | 13943815 | US | |
Parent | 13896282 | May 2013 | US |
Child | 13937161 | US |