1. Technical Field
Embodiments of the present disclosure relate to a hardware configuration setup of a computer system, and more specifically to a host computer and a method of setting dual monitors for the host computer.
2. Description of Related Art
Dual monitors are often used to view large workspaces, share presentations, and many other reasons. However, it is not always easy to set up dual monitors. Thus, there is room for improvement in the art.
In general, the word “module,” as used hereinafter, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, for example, Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware. It will be appreciated that modules may comprise connected logic units, such as gates and flip-flops, and may comprise programmable units, such as programmable gate arrays or processers. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of non-transitory computer-readable storage medium or other computer storage device.
Referring to
The dual monitors setup system 10 comprises a number of function modules, such as a determination module 11, a setup module 12, a parameter acquiring module 13, a match module 14, and a control module 15. The function modules 11-15 can include computerized codes in the form of one or more computer-readable programs that are stored in a non-transitory computer-readable storage medium (e.g., the storage device 20) and executed by at least one processor (i.e., the processing device 30) of the host computer 1, and provide at least the functions needed to execute steps illustrated in
The storage device 20 can comprise some type(s) of non-transitory computer-readable storage medium, such as a hard disk drive, a compact disc, a digital video disc, or a tape drive. The storage device 20 can be used to store the computerized codes of the function modules of the dual monitors setup system 10.
The processing device 30 can comprise a processor, a microprocessor, an application-specific integrated circuit (ASIC), and a field programmable gate array, (FPGA) for example. The processing device 30 can execute the computerized code of the function modules of the dual monitors setup system 10 to realize the functions of the dual monitors setup system 10.
In step S11, the determination module 11 determines if two monitor 2, two keyboard 3, and two mice 4 are connected to the host computer 1. When two monitor 2, two keyboard 3, and two mice 4 are connected to the host computer 1, step S12 is implemented. Otherwise, only one monitor, one keyboard, and/or one mouse are connected to the host computer 1, the procedure ends.
In step S12, the determination module 11 checks a currently working monitor 2, sets the currently working monitor 2 as a first monitor, and sets another monitor 2 that is connected to the host computer 1 as a second monitor.
In step S13, the determination module 11 controls the host computer 1 to work in a dual-monitor mode.
In step S14, the setup module 12 determines if a main monitor of the host computer 1 is designated from the monitors 2 that are connected to the host computer 1. In one embodiment, the setup module 12 outputs a user interface that includes a monitor list for a user to select a monitor from and set the selected monitor as the main monitor. When the main monitor of the host computer 1 is not designated, step S15 is implemented. Otherwise, when the main monitor of the host computer 1 is designated by the user, step S16 is implemented.
In step S15, the setup module 12 automatically sets the first monitor as the main monitor, and the second monitor as a subordinate monitor.
In step 516, the setup module 12 sets the designated monitor as the main monitor and another monitor as the subordinate monitor.
In step S17, the parameter acquiring module 13 acquires screen parameters from settings of the one or more display cards in the host computer 1. In one embodiment, the screen parameters comprise resolutions, colors, and refresh rates of the monitors 2.
In step S18, the parameter acquiring module 13 sets the screen parameters for the main monitor and the subordinate monitor.
In step S19, the setup module 12 sets a main keyboard, a main mouse, a subordinate keyboard, and a subordinate mouse. In one embodiment, the setup module 12 outputs a user interface that includes a keyboard-mouse list for a user to select a main keyboard and main mouse from and set the main keyboard and main mouse according to the selection. In other embodiments, the setup module 12 sets the main keyboard and main mouse arbitrarily.
In step S20, the match module 14 links the main keyboard and the main mouse to the main monitor, and links the subordinate keyboard and the subordinate mouse to the subordinate monitor.
In step S21, the control module 15 controls the host computer 1 to work in the dual-monitor mode.
It should be emphasized that the above-described embodiments of the present disclosure, including any particular embodiments, are merely possible examples of implementations, set forth for a clear understanding of the principles of the disclosure. Many variations and modifications may be made to the above-described embodiment(s) of the disclosure without departing substantially from the spirit and principles of the disclosure. All such modifications and variations are intended to be included herein within the scope of this disclosure and protected by the following claims.
Number | Date | Country | Kind |
---|---|---|---|
2012105480877 | Dec 2012 | CN | national |