TW202248865A - Electronic device and method to support plural peripheral devices comprising a case, an output driving unit, a controller, and a basic input output system - Google Patents
Electronic device and method to support plural peripheral devices comprising a case, an output driving unit, a controller, and a basic input output system Download PDFInfo
- Publication number
- TW202248865A TW202248865A TW110120615A TW110120615A TW202248865A TW 202248865 A TW202248865 A TW 202248865A TW 110120615 A TW110120615 A TW 110120615A TW 110120615 A TW110120615 A TW 110120615A TW 202248865 A TW202248865 A TW 202248865A
- Authority
- TW
- Taiwan
- Prior art keywords
- electronic device
- output
- output signals
- peripheral devices
- drive unit
- Prior art date
Links
Images
Landscapes
- Control Of Multiple Motors (AREA)
- Coupling Device And Connection With Printed Circuit (AREA)
Abstract
Description
本發明提供一種電子裝置與支援複數周邊裝置的方法,且特別是關於一種可讓使用者不透過橋接器並自由插接複數周邊裝置的電子裝置與支援上述電子裝置的方法。The invention provides an electronic device and a method for supporting multiple peripheral devices, and in particular relates to an electronic device and a method for supporting the above-mentioned electronic device that allow users to freely plug in multiple peripheral devices without going through a bridge.
電腦是在生活領域以及工業用途上相當常見的一種電子用品。一般而言,電腦包括複數個輸出裝置,例如顯示器、揚聲器以及印表機等等。以顯示器為例,一台電腦主機可能因為實際需求而需要連接多台顯示器,而這些顯示器分別具有各自的連接端子,例如影像圖形陣列(video graphic arrays, VGA)端子、高解析度多媒體界面(high definition multimedia interface, HDMI)端子以及顯示埠(display port, DP)端子等等。然而,在x86系統中,輸入輸出(I/O)空間最大為64K位元組(byte),且當每一台連接的顯示器的顯示卡宣告其需要的I/O空間後,基本輸入輸出系統(basic input/output system, BIOS)才會將I/O空間分配給每一張顯示卡,再考量到電腦還會連接其它需要I/O空間的周邊設備以及內部硬碟配置的驅動程式執行時所需的資源,一般的主機板最多只能支援三台顯示器同時輸出影像,進而導致電腦主機供應商在設計主機外殼時也僅配置三個/種連接端口。A computer is a fairly common electronic appliance in the field of life and industrial use. Generally speaking, a computer includes a plurality of output devices, such as monitors, speakers, and printers. Taking a monitor as an example, a host computer may need to be connected to multiple monitors due to actual needs, and these monitors have their own connection terminals, such as video graphic array (video graphic arrays, VGA) terminals, high-resolution multimedia interface (high definition multimedia interface (HDMI) terminal and display port (display port, DP) terminal and so on. However, in the x86 system, the maximum input and output (I/O) space is 64K bytes (byte), and when the display card of each connected monitor declares its required I/O space, the BIOS (basic input/output system, BIOS) will allocate I/O space to each display card, and then consider that the computer will also be connected to other peripheral devices that require I/O space and when the driver program configured on the internal hard disk is executed In terms of required resources, a general motherboard can only support up to three monitors to output images at the same time, which leads to computer host suppliers only configuring three/types of connection ports when designing the host casing.
為此,其中一種解決方法是使用橋接器(例如PCI/PCIe橋接器),藉此可使得具有特定連接端子的顯示器得以間接地插接於原本形狀及規格彼此不相容的連接端口,也能夠使單一主機插接的顯示器數量超過機殼上連接端口的數量。然而,橋接器的使用將使得訊號減弱且容易產生雜訊,且當電腦主機的工作環境較為嚴苛,例如是行駛中的無人自動車或者是同時擺放有高頻運轉機台導致持續震動的工廠地面時,橋接器與機殼以及橋接器與顯示器之間的連接容易鬆脫,嚴重影響顯示器的使用體驗及訊號品質。For this reason, one of the solutions is to use a bridge (such as a PCI/PCIe bridge), whereby a display with a specific connection terminal can be indirectly plugged into a connection port whose original shape and specification are incompatible with each other, and can also Allow the number of monitors plugged into a single host to exceed the number of connection ports on the enclosure. However, the use of bridges will weaken the signal and cause noise easily, and when the working environment of the host computer is relatively harsh, such as a driving unmanned automatic car or a factory with high-frequency operating machines that cause continuous vibration When the ground is on the ground, the connection between the bridge and the chassis and between the bridge and the display is easy to loosen, which seriously affects the user experience and signal quality of the display.
發明人遂竭其心智悉心研究,進而研發出一種可讓使用者不透過橋接器並自由插接複數周邊裝置的電子裝置與支援上述電子裝置的方法,以期在嚴苛工作環境中依然能使這些周邊裝置順利運作且訊號品質不受影響。The inventor then exhausted his brain and mind to study, and then developed an electronic device that allows users to freely plug in a plurality of peripheral devices without passing through a bridge and a method for supporting the above-mentioned electronic devices, in order to enable these devices to be used in harsh working environments. Peripheral devices work smoothly without compromising signal quality.
本發明提供一種電子裝置,包括一機殼、一輸出驅動單元、一控制器以及一基本輸入輸出系統,其中機殼上形成有複數個連接端口;輸出驅動單元配置於機殼內且具有一最大同步輸出訊號數,且最大同步輸出訊號數小於連接端口的數量;控制器配置於機殼內;基本輸入輸出系統電性連接於連接端口、輸出驅動單元以及控制器。The invention provides an electronic device, including a case, an output drive unit, a controller and a basic input and output system, wherein a plurality of connection ports are formed on the case; the output drive unit is arranged in the case and has a maximum The number of synchronous output signals, and the maximum number of synchronous output signals is less than the number of connection ports; the controller is arranged in the casing; the basic input and output system is electrically connected to the connection ports, the output drive unit and the controller.
此外,本發明還提供一種適用於上述電子裝置且用以支援複數周邊裝置的方法,包括控制器發出複數個輸出訊號;基本輸入輸出系統接收輸出訊號,並偵測輸出訊號是否分別具有對應且連接於這些連接端口的其中一連接端口的周邊裝置;以及基本輸入輸出系統將這些輸出訊號以及偵測的一資訊傳遞至輸出驅動單元。In addition, the present invention also provides a method applicable to the above-mentioned electronic device and used to support multiple peripheral devices, including the controller sending out a plurality of output signals; the basic input and output system receiving the output signals, and detecting whether the output signals have corresponding and connected The peripheral device at one of the connection ports; and the BIOS transmits the output signals and a detected information to the output driving unit.
在一實施例中,上述的基本輸入輸出系統在電子裝置的初始化階段時,偵測各周邊裝置的總數並依據連接的各連接端口進行排序,且將總數以及一排序結果傳遞至輸出驅動單元。In one embodiment, during the initialization phase of the electronic device, the above-mentioned BIOS detects the total number of peripheral devices and sorts them according to the connected connection ports, and transmits the total number and a sorting result to the output driving unit.
在一實施例中,上述的各周邊裝置分別為一顯示器,且排序的優先度滿足:影像圖形陣列端口 > 高解析度多媒體介面端口 > 顯示埠端口。In one embodiment, each of the aforementioned peripheral devices is a display, and the order of priority satisfies: image graphics array port > high-definition multimedia interface port > display port.
在一實施例中,上述的基本輸入輸出系統在電子裝置的初始化階段後,每一時距偵測各周邊裝置的總數以及這些輸出訊號與各周邊裝置的一對應資訊,並將總數以及對應資訊傳遞至輸出驅動單元。In one embodiment, after the initialization phase of the electronic device, the above-mentioned basic input output system detects the total number of each peripheral device and a corresponding information of these output signals and each peripheral device at each time interval, and transmits the total number and corresponding information to the output drive unit.
在一實施例中,上述的各周邊裝置分別為一顯示器,且連接端口的數量以及最大同步輸出訊號數分別為四與三。In one embodiment, each of the aforementioned peripheral devices is a display, and the number of connection ports and the maximum number of synchronous output signals are four and three, respectively.
藉此,本發明的電子裝置的基本輸入輸出系統能透過上述支援複數周邊裝置的方法偵測控制器所發出的輸出訊號是否分別對應於周邊裝置,並將輸出訊號以及對應資訊傳遞至輸出驅動單元,不僅由於連接端口數量增加進而提高周邊裝置的相容性,且即使使用者將數量大於最大同步輸出訊號數的周邊裝置連接於連接端口,電子裝置亦可維持最大同步輸出訊號數的周邊裝置正常運作,如此一來無需透過橋接器進行連接,達到避免訊號品質降低的效果。Thereby, the basic input and output system of the electronic device of the present invention can detect whether the output signals sent by the controller correspond to the peripheral devices through the above-mentioned method of supporting multiple peripheral devices, and transmit the output signals and corresponding information to the output drive unit , not only improves the compatibility of peripheral devices due to the increase in the number of connection ports, but even if the user connects peripheral devices with a number greater than the maximum number of synchronous output signals to the connection port, the electronic device can also maintain the normal operation of the peripheral devices with the maximum number of synchronous output signals In this way, there is no need to connect through a bridge, so as to avoid the effect of degrading the signal quality.
為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail together with the accompanying drawings.
有關本發明之前述及其它技術內容、特點與功效,在以下配合參考圖式之較佳實施例的詳細說明中,將可清楚地呈現。值得一提的是,以下實施例所提到的方向用語,例如:上、下、左、右、前或後等,僅是參考附加圖式的方向。因此,使用的方向用語是用以說明,而非對本發明加以限制。此外,在下列的實施例中,相同或相似的元件將採用相同或相似的標號。The aforementioned and other technical contents, features and effects of the present invention will be clearly presented in the following detailed description of preferred embodiments with reference to the drawings. It is worth mentioning that the directional terms mentioned in the following embodiments, such as: up, down, left, right, front or back, etc., are only directions referring to the attached drawings. Accordingly, the directional terms used are illustrative rather than limiting of the invention. In addition, in the following embodiments, the same or similar elements will use the same or similar symbols.
請參考圖1至圖3,其中圖1為本發明的電子裝置的一實施例的立體示意圖,圖2為圖1的電子裝置另一角度的立體示意圖,而圖3為圖1的電子裝置內部元件的方塊示意圖。本實施例的電子裝置1例如是一工業用電腦,且包括一機殼100、一輸出驅動單元200、一控制器300以及一基本輸入輸出系統400,其中輸出驅動單元200例如是儲存於機殼100內部硬碟的驅動軟體;控制器300例如是一中央處理器(central processing unit, CPU)且配置於機殼100內的主機板上;基本輸入輸出系統400例如是燒錄於主機板上晶片的韌體,且電性連接於輸出驅動單元200以及控制器300。Please refer to FIG. 1 to FIG. 3 , wherein FIG. 1 is a perspective view of an embodiment of the electronic device of the present invention, FIG. 2 is a perspective view of another angle of the electronic device of FIG. 1 , and FIG. 3 is the inside of the electronic device of FIG. 1 Block diagram of the components. The
詳細而言,由於輸出上的需求,電子裝置1可能會連接複數個周邊裝置,其中各個周邊裝置例如是一顯示器。為此,機殼100上形成有複數個連接端口,且基本輸入輸出系統400電性連接於這些連接端口。在本實施例中,連接端口的數量一共有四個,且在下文中分別以第一連接端口110、第二連接端口120、第三連接端口130以及第四連接端口140作為區分。如圖1及圖2所示,第一連接端口110例如是一影像圖形陣列(VGA)端口,第二連接端口120例如是一高解析度多媒體介面(HDMI)端口,而第三連接端口130以及第四連接端口140則為顯示埠(DP)端口,其中第一連接端口110以及第三連接端口130配置於機殼100的後側,而第二連接端口120以及第四連接端口140則配置於機殼100的前側,但本發明對此不加以限制。Specifically, due to output requirements, the
請參考圖4,圖4為本發明的支援複數周邊裝置的方法的一實施例的流程示意圖。具體而言,由於主機板的規格以及電子裝置1電力供應的限制,輸出驅動單元200具有一最大同步輸出訊號數,在本實施例中最大同步輸出訊號數例如為三,換言之,輸出驅動單元200可同時驅動三台顯示器進行影像輸出,且最大同步輸出訊號數小於連接端口的數量。當使用者基於使用需求而將上述的連接端口連接上對應的顯示器及連接端子時,為了同時兼顧輸出驅動單元200對於I/O資源的分配以及使用上的便利性,本發明提供一種支援複數周邊裝置的方法,包括:控制器300發出複數個輸出訊號(步驟S01);基本輸入輸出系統400接收這些輸出訊號,並偵測這些輸出訊號是否分別有對應且連接於這些連接端口的其中一連接端口的周邊裝置(步驟S02);以及基本輸入輸出系統400將這些輸出訊號以及偵測的一資訊傳遞至輸出驅動單元200(步驟S03)。Please refer to FIG. 4 , which is a schematic flowchart of an embodiment of a method for supporting multiple peripheral devices of the present invention. Specifically, due to the specification of the motherboard and the limitation of the power supply of the
詳細而言,本實施例的基本輸入輸出系統400具有兩種運作模式,第一種是真實模式(Real Mode),會在電子裝置1的初始化階段執行;另一種是作業系統模式(OS Mode),會在電子裝置1的初始化階段結束後由作業系統分配各個周邊裝置的I/O資源時於背景執行。當在真實模式,基本輸入輸出系統400會在電子裝置1的初始化階段時,偵測各個周邊裝置的總數並依據連接的各連接端口進行排序,並將總數以及排序結果傳遞至輸出驅動單元200,以本實施例而言,排序的優先依據為連接端口的類型,且影像圖形陣列端口的優先度高於高解析度多媒體介面端口,而多媒體介面端口的優先度又高於顯示埠端子,但本發明並不以此為限,在其它可能的實施例中,使用者也可依據實際需求改變排序的優先依據。倘若連接於連接端口的周邊裝置的數量小於等於最大同步輸出訊號數,那麼連接於連接端口的所有周邊裝置皆可分配到I/O資源並正常運作;倘若連接於連接端口的周邊裝置的數量大於最大同步輸出訊號數,則輸出驅動單元200會根據基本輸入輸出系統400的排序結果忽視最大同步輸出訊號數之後的排序順位所對應的連接端口,以本實施例為例,排序順位為四的第四連接端口140所連接的顯示埠端子顯示器將會被忽視而不會分配到I/O資源。In detail, the
而當在作業系統模式時,分配I/O資源的權限會轉移至控制器300以及輸出驅動單元200,此時基本輸入輸出系統400僅負責接收控制器300發出的輸出訊號,並依據這些輸出訊號的數量偵測是否分別有對應的周邊裝置連接於連接端口上。又,依據輸出訊號數量、最大同步輸出訊號數以及偵測結果,可分為以下數種狀況:And when in the operating system mode, the authority to allocate I/O resources will be transferred to the
(1)狀況A:輸出訊號數量≦最大同步輸出訊號數,且所有的輸出訊號均有對應連接於連接端口的周邊裝置:所有被對應到的周邊裝置均可分配到I/O資源。(1) Situation A: Number of output signals≦maximum number of simultaneous output signals, and all output signals have corresponding peripheral devices connected to the connection ports: all corresponding peripheral devices can be allocated to I/O resources.
(2)狀況B:輸出訊號數量≦最大同步輸出訊號數,但只有部份的輸出訊號有對應連接於連接端口的周邊裝置:所有被對應到的周邊裝置均可分配到I/O資源。(2) Situation B: The number of output signals≦the maximum number of simultaneous output signals, but only some of the output signals have corresponding peripheral devices connected to the connection ports: all corresponding peripheral devices can be allocated to I/O resources.
(4)狀況C:輸出訊號數量>最大同步輸出訊號數,且所有的輸出訊號均有對應連接於連接端口的周邊裝置:電子裝置1將依據輸出驅動單元200的排序結果,由優先度高至低分配給最大同步輸出訊號數個周邊裝置。(4) Situation C: The number of output signals > the maximum number of synchronous output signals, and all output signals have corresponding peripheral devices connected to the connection port: the
(5)狀況D:輸出訊號數量>最大同步輸出訊號數,但只有部份的輸出訊號有對應連接於連接端口的周邊裝置:電子裝置1將依據輸出驅動單元200的排序結果,由優先度高至低分配給至多最大同步輸出訊號數個且被輸出訊號對應到的周邊裝置。(5) Situation D: The number of output signals > the maximum number of synchronous output signals, but only part of the output signals have corresponding peripheral devices connected to the connection port: the
值得一提的是,在作業系統模式時,本實施例的電子裝置1還支援周邊裝置的熱插拔,具體的作法是:基本輸入輸出系統400在電子裝置1的初始化階段後,每一時距偵測各個周邊裝置的總數以及這些輸出訊號與各周邊裝置的一對應資訊,並將總數以及對應資訊傳遞至輸出驅動單元200,並由輸出驅動單元200進行排序,其中時距例如為100毫秒,但本發明對此不加以限制。如此一來,即使在電子裝置1運作時,周邊裝置的數量自最大同步輸出訊號數以下增為大於最大同步輸出訊號數、自大於最大同步輸出訊號數減為最大同步輸出訊號數以下,或者是周邊裝置的總數不變但改為連接於不同的連接端口,輸出驅動單元200皆可即時進行排序並使得至多最大同步輸出訊號數個周邊裝置均能分配到I/O資源並正常作用,提供更大的使用彈性,且解決了使用橋接器所導致的訊號品質降低的問題。It is worth mentioning that, in the operating system mode, the
本發明在上文中已以較佳實施例揭露,然熟習本項技術者應理解的是,上述實施例僅用於描繪本發明,而不應解讀為限制本發明之範圍。且應注意的是,舉凡與上述實施例等效之變化與置換,均應設為涵蓋於本發明之範疇內。因此,本發明之保護範圍當以申請專利範圍所界定者為準。The present invention has been disclosed above with preferred embodiments, but those skilled in the art should understand that the above embodiments are only for describing the present invention and should not be interpreted as limiting the scope of the present invention. And it should be noted that all changes and replacements equivalent to those of the above-mentioned embodiments should be included within the scope of the present invention. Therefore, the scope of protection of the present invention should be defined by the scope of the patent application.
1:電子裝置 100:機殼 110:第一連接端口 120:第二連接端口 130:第三連接端口 140:第四連接端口 200:輸出驅動系統 300:控制器 400:基本輸入輸出系統 S01 ~ S03:步驟 1: Electronic device 100: Chassis 110: the first connection port 120: Second connection port 130: the third connection port 140: the fourth connection port 200: Output drive system 300: controller 400: Basic Input Output System S01 ~ S03: Steps
圖1為本發明的電子裝置的一實施例的立體示意圖。 圖2為圖1的電子裝置另一角度的立體示意圖。 圖3為圖1的電子裝置內部元件的方塊示意圖。 圖4為本發明的支援複數周邊裝置的方法的一實施例的流程示意圖。 FIG. 1 is a three-dimensional schematic diagram of an embodiment of an electronic device of the present invention. FIG. 2 is a schematic perspective view of the electronic device of FIG. 1 from another angle. FIG. 3 is a schematic block diagram of internal components of the electronic device of FIG. 1 . FIG. 4 is a schematic flowchart of an embodiment of a method for supporting multiple peripheral devices of the present invention.
S01~S03:步驟 S01~S03: Steps
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110120615A TWI809413B (en) | 2021-06-07 | 2021-06-07 | Electronic device and method for supporting multiple peripheral devices |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110120615A TWI809413B (en) | 2021-06-07 | 2021-06-07 | Electronic device and method for supporting multiple peripheral devices |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202248865A true TW202248865A (en) | 2022-12-16 |
TWI809413B TWI809413B (en) | 2023-07-21 |
Family
ID=85793567
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW110120615A TWI809413B (en) | 2021-06-07 | 2021-06-07 | Electronic device and method for supporting multiple peripheral devices |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI809413B (en) |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI475886B (en) * | 2011-06-20 | 2015-03-01 | Nueteq Technology Inc | Display control device |
CN103164182B (en) * | 2011-12-16 | 2016-01-27 | 联想(北京)有限公司 | A kind of display port extended method and electronic equipment |
CN202583953U (en) * | 2012-04-23 | 2012-12-05 | 上海华北科技有限公司 | Industrial control mainboard with multiple display interface |
DE112012006665T5 (en) * | 2012-09-28 | 2015-03-19 | Hewlett-Packard Development Company, L.P. | Selectable graphics controller for output display |
CN104349123B (en) * | 2013-08-01 | 2017-12-12 | 天地伟业技术有限公司 | The embedded main mouth automatic detection of video recording equipment and the method for switching |
CN109495696A (en) * | 2017-09-11 | 2019-03-19 | 深圳市祈飞科技有限公司 | A kind of more display mainboards and the lottery ticket machine control system using the mainboard |
-
2021
- 2021-06-07 TW TW110120615A patent/TWI809413B/en active
Also Published As
Publication number | Publication date |
---|---|
TWI809413B (en) | 2023-07-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9952986B2 (en) | Power delivery and data transmission using PCIe protocol via USB type-C port | |
US10002105B2 (en) | Display device | |
US20110302357A1 (en) | Systems and methods for dynamic multi-link compilation partitioning | |
US20160224493A1 (en) | Universal serial bus (usb) kvm switch using virtual usb for switching among multiple hosts | |
US10579572B2 (en) | Apparatus and method to provide a multi-segment I2C bus exerciser/analyzer/fault injector and debug port system | |
US10120827B2 (en) | Communication system with serial ports for automatically identifying device types and communication protocols and method thereof | |
JP7210652B2 (en) | Display system and display device | |
US11921652B2 (en) | Method, apparatus and system for device transparent grouping of devices on a bus | |
KR100417186B1 (en) | Method and apparatus for maintaining load balance on a graphics bus when an upgrade device is installed | |
EP2573681B1 (en) | Electric device with multiple data connection ports | |
TWI809413B (en) | Electronic device and method for supporting multiple peripheral devices | |
KR20220158517A (en) | PCIe DEVICE AND COMPUTING SYSTEM INCLUDING THEREOF | |
US20050182615A1 (en) | Method and system for creating an automatically adjusting USB mass storage device | |
CN213365381U (en) | Main board | |
TWI651615B (en) | A usb type-c adapter and the channel control method for performing usb device detection | |
TWM648471U (en) | Display circuit device | |
TW202435053A (en) | Integrated computer device | |
TWM654039U (en) | Fan control device and main board having the same | |
TW202013197A (en) | computer system | |
CN113050997A (en) | Method and corresponding device for realizing hot plug of display card output port | |
CN117640448A (en) | Sink device, digital system, and method of controlling CEC communication | |
CN118192762A (en) | Expansion board and host device | |
KR20070074957A (en) | Signal cable and image display apparatus using the same |