TWI594127B - Communication interface device - Google Patents

Communication interface device Download PDF

Info

Publication number
TWI594127B
TWI594127B TW104103774A TW104103774A TWI594127B TW I594127 B TWI594127 B TW I594127B TW 104103774 A TW104103774 A TW 104103774A TW 104103774 A TW104103774 A TW 104103774A TW I594127 B TWI594127 B TW I594127B
Authority
TW
Taiwan
Prior art keywords
transmission
connector
external device
processing module
signal
Prior art date
Application number
TW104103774A
Other languages
Chinese (zh)
Other versions
TW201629789A (en
Inventor
張義成
Original Assignee
滿芯行動科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 滿芯行動科技股份有限公司 filed Critical 滿芯行動科技股份有限公司
Priority to TW104103774A priority Critical patent/TWI594127B/en
Publication of TW201629789A publication Critical patent/TW201629789A/en
Application granted granted Critical
Publication of TWI594127B publication Critical patent/TWI594127B/en

Links

Description

通訊介面裝置 Communication interface device

本發明係關於一種通訊介面裝置,特別關於一種可以多種不同通訊協定傳輸資料的通訊介面裝置。 The present invention relates to a communication interface device, and more particularly to a communication interface device that can transmit data over a plurality of different communication protocols.

隨著科技演進,各式各樣的電子外接裝置不斷推陳出新,以提供多樣性的需求。然而,外接裝置仍時常被嫌棄速度不夠快,特別是關於大量資料傳輸的等待更是讓人不耐煩,其中最大的問題就是外接介面的傳輸瓶頸。一般使用的通用串行總線(Universal Serial Bus,USB)已經是通用於現行電子產品之介面,不過在速度傳輸與電源供應上仍舊有瓶頸存在。 With the evolution of technology, a variety of electronic external devices are constantly being introduced to provide diverse needs. However, the external device is still often dissatisfied fast, especially the waiting for a large amount of data transmission is even more impatient, the biggest problem is the transmission bottleneck of the external interface. The commonly used Universal Serial Bus (USB) is already the interface for current electronic products, but there are still bottlenecks in speed transmission and power supply.

有鑑於上述之問題,本發明提出一種通訊介面裝置,具有複數條傳輸連接器,並可使用多種不同通訊協定與外部裝置傳輸資料,以加速裝置間資料傳輸之效率。 In view of the above problems, the present invention provides a communication interface device having a plurality of transmission connectors and capable of transmitting data with external devices using a plurality of different communication protocols to accelerate the efficiency of data transmission between devices.

依據本發明一實施例的通訊介面裝置,包括:處理模組,以第一通訊協定或第二通訊協定進行資料傳輸程序;以及第一傳輸連接器電性連接至處理模組,並可插拔的連接於外部裝置,當第一傳輸連接器連接於外部裝置時,第一傳輸連接器將處理模組電性連接至外部裝置。其中,當第一傳輸連接器將處理模 組電性連接至外部裝置時,處理模組透過第一傳輸連接器傳送第一訊號至外部裝置,並且當處理模組接收到來自外部裝置的第二訊號時,處理模組判斷第二訊號是否對應於第一訊號,當第二訊號對應於第一訊號時,處理模組以第一通訊協定與外部裝置進行資料傳輸程序。 A communication interface device according to an embodiment of the present invention includes: a processing module that performs a data transmission process by using a first communication protocol or a second communication protocol; and the first transmission connector is electrically connected to the processing module, and is pluggable The first transmission connector electrically connects the processing module to the external device when the first transmission connector is connected to the external device. Wherein, when the first transmission connector will process the mode When the group is electrically connected to the external device, the processing module transmits the first signal to the external device through the first transmission connector, and when the processing module receives the second signal from the external device, the processing module determines whether the second signal is Corresponding to the first signal, when the second signal corresponds to the first signal, the processing module performs a data transmission procedure with the external device by using the first communication protocol.

此外,依據本發明一實施例,第一通訊協定為快捷外設互聯標準(Peripheral Component Interconnect Express,PCI-E)通訊協定,第二通訊協定為通用串行總線(Universal Serial Bus,USB)通訊協定。 In addition, according to an embodiment of the invention, the first communication protocol is a Peripheral Component Interconnect Express (PCI-E) communication protocol, and the second communication protocol is a Universal Serial Bus (USB) communication protocol. .

綜上所述,依據本發明所實現之通訊介面裝置,可以判斷外部裝置是以第一通訊協定或第二通訊協定進行該資料傳輸程序,更進一步簡化電腦系統,增加裝置的可移植性和模組化,因此本發明即利用PCI-E廣泛的通用性,搭配USB通訊協定,藉以提升外接裝置的普遍性和傳輸效率。 In summary, according to the communication interface device implemented by the present invention, the external device can be judged to be the data transmission program by using the first communication protocol or the second communication protocol, thereby further simplifying the computer system and increasing the portability and mode of the device. The invention is based on the wide versatility of the PCI-E and the USB communication protocol, thereby improving the universality and transmission efficiency of the external device.

以上之關於本發明內容之說明及以下之實施方式之說明係用以示範與解釋本發明之精神與原理,並且提供本發明之專利申請範圍更進一步之解釋。 The above description of the present invention and the following description of the embodiments of the present invention are intended to illustrate and explain the spirit and principles of the invention.

1‧‧‧通訊介面裝置 1‧‧‧Communication interface device

2‧‧‧外部裝置 2‧‧‧External devices

10‧‧‧處理模組 10‧‧‧Processing module

11‧‧‧第一傳輸連接器 11‧‧‧First transmission connector

12‧‧‧第二傳輸連接器 12‧‧‧Second transmission connector

13‧‧‧第三傳輸連接器 13‧‧‧ Third transmission connector

15‧‧‧第一訊號 15‧‧‧First signal

25‧‧‧第二訊號 25‧‧‧second signal

第1A圖,係依據本發明一實施例所實現的通訊介面裝置的示意圖。 FIG. 1A is a schematic diagram of a communication interface device implemented in accordance with an embodiment of the present invention.

第1B圖,係依據本發明另一實施例所實現的通訊介面裝置的示意圖。 FIG. 1B is a schematic diagram of a communication interface device implemented in accordance with another embodiment of the present invention.

第2圖,係依據本發明一實施例所實現的處理模組10之訊號判斷流程圖。 FIG. 2 is a flow chart for determining the signal of the processing module 10 according to an embodiment of the invention.

第3圖,係依據本發明一實施例所實現的USB 2.0 type A標準連接器之結構圖。 3 is a structural diagram of a USB 2.0 type A standard connector implemented in accordance with an embodiment of the present invention.

第4圖,係依據本發明一實施例所實現的USB 2.0 type A標準連接器之接腳對應圖。 Figure 4 is a diagram showing the pin correspondence of a USB 2.0 type A standard connector implemented in accordance with an embodiment of the present invention.

第5圖,係依據本發明一實施例所實現的USB Type C連接器之結構圖。 Figure 5 is a block diagram of a USB Type C connector implemented in accordance with an embodiment of the present invention.

第6圖,係依據本發明一實施例所實現的USB Type C連接器之接腳對應圖。 Figure 6 is a diagram showing the pin correspondence of a USB Type C connector implemented in accordance with an embodiment of the present invention.

第7圖,係依據本發明另一實施例所實現的USB Type C連接器之結構圖。 Figure 7 is a block diagram of a USB Type C connector implemented in accordance with another embodiment of the present invention.

以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。以下之實施例係進一步詳細說明本發明之觀點,但非以任何觀點限制本發明之範疇。 The detailed features and advantages of the present invention are set forth in the Detailed Description of the Detailed Description of the <RTIgt; </ RTI> <RTIgt; </ RTI> </ RTI> </ RTI> <RTIgt; The objects and advantages associated with the present invention can be readily understood by those skilled in the art. The following examples are intended to describe the present invention in further detail, but are not intended to limit the scope of the invention.

請參照第1A圖,其係依據本發明一實施例所實現的通訊介面裝置的示意圖。如第1A圖所示,所述通訊介面裝置1可以包含一個處理模組10,一個第一傳輸連接器11,一個第二傳 輸連接器12,與一個第三傳輸連接器13。其中第一傳輸連接器11,第二傳輸連接器12,與第三傳輸連接器13皆與處理模組10電性連結。而後處理模組10透過第一傳輸連接器11,第二傳輸連接器12,或第三傳輸連接器13電性連接至一外部裝置2。以下分別敘述處理模組10,第一傳輸連接器11,第二傳輸連接器12,以及第三傳輸連接器13之功能與作動方式。 Please refer to FIG. 1A, which is a schematic diagram of a communication interface device implemented in accordance with an embodiment of the present invention. As shown in FIG. 1A, the communication interface device 1 can include a processing module 10, a first transmission connector 11, and a second transmission. The connector 12 is connected to a third transmission connector 13. The first transmission connector 11 , the second transmission connector 12 , and the third transmission connector 13 are electrically connected to the processing module 10 . The post-processing module 10 is electrically connected to an external device 2 through the first transmission connector 11, the second transmission connector 12, or the third transmission connector 13. The functions and actuation modes of the processing module 10, the first transmission connector 11, the second transmission connector 12, and the third transmission connector 13 are separately described below.

處理模組10之功能在於,當處理模組10電性連接至外部裝置2後,如第1A圖所示,處理模組10將透過第一傳輸連接器傳送第一訊號至外部裝置2,並且接收到來自外部裝置的一第二訊號。處理模組10進行訊號判斷,並由判斷之結果對外部裝置2進行資料傳輸程序。 The function of the processing module 10 is that after the processing module 10 is electrically connected to the external device 2, as shown in FIG. 1A, the processing module 10 transmits the first signal to the external device 2 through the first transmission connector, and A second signal from the external device is received. The processing module 10 performs signal determination, and performs a data transmission procedure on the external device 2 from the result of the determination.

前述之處理模組10進行訊號判斷之流程請參照第2圖,其係依據本發明一實施例所實現的處理模組10之訊號判斷流程圖。如步驟201所示,處理模組10先透過第一傳輸連接器11之通道傳送一第一訊號15至外部裝置2,並且接收到來自外部裝置2的一第二訊號25。如步驟203所示,處理模組10接收到外部裝置2傳送的第二訊號25後,處理模組10判斷第二訊號25是否對應於該第一訊號15。如步驟205所示,當第二訊號25對應於第一訊號15時,處理模組10以第一通訊協定與外部裝置2進行該資料傳輸程序;如步驟207所示,當第二訊號25不對應於第一訊號15時,處理模組10則以第二通訊協定與外部裝置2進行資料傳輸程序。 For the process of signal determination by the processing module 10, please refer to FIG. 2, which is a flowchart for determining the signal of the processing module 10 according to an embodiment of the invention. As shown in step 201, the processing module 10 first transmits a first signal 15 to the external device 2 through the channel of the first transmission connector 11, and receives a second signal 25 from the external device 2. As shown in step 203, after the processing module 10 receives the second signal 25 transmitted by the external device 2, the processing module 10 determines whether the second signal 25 corresponds to the first signal 15. As shown in step 205, when the second signal 25 corresponds to the first signal 15, the processing module 10 performs the data transmission process with the external device 2 in the first communication protocol; as shown in step 207, when the second signal 25 is not Corresponding to the first signal 15, the processing module 10 performs a data transmission procedure with the external device 2 in the second communication protocol.

舉例來說,上述之第一訊號15和第二訊號25可以是以二進位的單或複數個位元所形成的訊號。例如處理模組10先傳送一”01”訊號給外部裝置2,若外部裝置回傳送一”01”訊號,則第一訊號與第二訊號相對應,處理模組10以第一通訊協定與外部裝置2進行該資料傳輸程序;若外部裝置回傳送一”00”、”10”、或”11”訊號,甚至沒有回傳任何訊號,則處理模組10判斷第一訊號與第二訊號不相對應,以第二通訊協定與外部裝置2進行該資料傳輸程序。 For example, the first signal 15 and the second signal 25 described above may be signals formed by a single or multiple bits of the binary. For example, the processing module 10 first transmits a "01" signal to the external device 2. If the external device transmits a "01" signal, the first signal corresponds to the second signal, and the processing module 10 communicates with the external protocol by using the first protocol. The device 2 performs the data transmission process; if the external device transmits a "00", "10", or "11" signal, and does not return any signal, the processing module 10 determines that the first signal and the second signal are not in phase. Correspondingly, the data transmission procedure is performed with the external device 2 in the second communication protocol.

於本發明一實施例中,外部裝置2可以是電子產品的內部模組,並不限定於外部模組。舉例來說,通訊介面裝置1和外部裝置2的關係可以是下列兩種情況:在第一種情況中,外部裝置2可以是實際的外接裝置,透過傳輸連接器與通訊介面裝置1進行資料傳輸程序。在第二種情況中,通訊介面裝置1可以是某個裝置的內部模組,外部裝置2可以是此裝置的另一個內部模組,透過共同的通訊協定進行資料傳輸程序。通訊介面裝置1和外部裝置2的關係本發明不限於此。 In an embodiment of the invention, the external device 2 may be an internal module of the electronic product, and is not limited to the external module. For example, the relationship between the communication interface device 1 and the external device 2 may be the following two cases: In the first case, the external device 2 may be an actual external device, and the data transmission is performed through the transmission connector and the communication interface device 1. program. In the second case, the communication interface device 1 may be an internal module of a certain device, and the external device 2 may be another internal module of the device, and the data transmission program is performed through a common communication protocol. Relationship Between Communication Interface Device 1 and External Device 2 The present invention is not limited thereto.

於本發明一實施例中,第一通訊協定可以是快捷外設互聯標準(Peripheral Component Interconnect Express,PCI-E)通訊協定,第二通訊協定可以是通用串行總線(Universal Serial Bus,USB)通訊協定。由於PCI-E介面相較於普遍常用的USB介面擁有更快的傳輸效率及多資料通道平行傳輸的能力。以4.0的標準來說,每條匯流排可達到1969MB/s之傳輸效率,而且PCI-E介 面能夠支援熱拔插以及熱交換特性以及廣泛的通用性,更進一步簡化電腦系統,增加裝置的可移植性和模組化,已漸漸成為各式各樣裝置的標準介面,因此本發明即利用PCI-E廣泛的通用性,搭配USB通訊協定,藉以提升外接裝置的普遍性和傳輸效率。依據本發明的精神,外部裝置2可以是固態硬碟、音效處理裝置、影像顯示卡、比特幣挖礦機,或其他相關的電子裝置。 In an embodiment of the invention, the first communication protocol may be a Peripheral Component Interconnect Express (PCI-E) communication protocol, and the second communication protocol may be a Universal Serial Bus (USB) communication. agreement. Because the PCI-E interface has faster transmission efficiency and parallel transmission of multiple data channels than the commonly used USB interface. According to the standard of 4.0, each bus can achieve a transmission efficiency of 1969MB/s, and PCI-E The surface can support hot plugging and heat exchange characteristics as well as extensive versatility, further simplifying the computer system, increasing the portability and modularization of the device, and gradually becoming the standard interface for various devices, so the present invention utilizes PCI-E is widely versatile and is equipped with a USB protocol to improve the versatility and transmission efficiency of external devices. In accordance with the spirit of the present invention, the external device 2 can be a solid state hard disk, a sound effect processing device, an image display card, a bitcoin mining machine, or other related electronic device.

隨著行動平台器件的蓬勃發展及此器件中每一者之功能性增加,週邊裝置之間的資料速率已經歷指數極增長。就此而言,行動產業處理器介面(Mobile Industry Processor Interface,MIPI)聯盟近來提議M-PHY實體層標準,其定義每通路10Kbps至5.8Gbps之資料速率。M-PHY標準為行動應用進行了最佳化,該等應用諸如攝影機、用於行動終端機之顯示器、智慧型手機,及其類似者。因此M-PHY標準均定義了在PCI-E、USB上通訊介面之標準信號映射以供資料傳輸。本發明之處理模組10與外接裝置2之傳輸協定即建立在M-PHY標準上,讓通訊介面裝置1可以透過第一傳輸連接器11與外部裝置2進行資料傳輸程序。更進一步地說,當前述之第二訊號25對應於第一訊號15時,處理模組10則辨識對方是一可以以PCI-E通訊協定溝通之外部裝置2,則以PCI-E通訊協定與外部裝置2進行該資料傳輸程序。 As the mobile platform devices flourish and the functionality of each of the devices increases, the data rate between peripheral devices has experienced an exponential increase. In this regard, the Mobile Industry Processor Interface (MIPI) Alliance recently proposed the M-PHY physical layer standard, which defines a data rate of 10 Kbps to 5.8 Gbps per lane. The M-PHY standard is optimized for mobile applications such as cameras, displays for mobile terminals, smart phones, and the like. Therefore, the M-PHY standard defines standard signal mappings for communication interfaces on PCI-E and USB for data transmission. The transmission protocol of the processing module 10 and the external device 2 of the present invention is established on the M-PHY standard, so that the communication interface device 1 can perform data transmission procedures with the external device 2 through the first transmission connector 11. Further, when the foregoing second signal 25 corresponds to the first signal 15, the processing module 10 identifies that the other party is an external device 2 that can communicate via the PCI-E protocol, and then uses the PCI-E protocol. The external device 2 performs the data transmission program.

然而考量到外部裝置2未必具備PCI-E傳輸協定之傳輸能力,因此該通訊介面裝置仍保留以往USB之傳輸協定。更進一步地說,當第二訊號25不對應於第一訊號15時,處理模組 10則辨識對方是一無法以PCI-E通訊協定溝通之外部裝置2,因此則以USB通訊協定與外部裝置2進行資料傳輸程序。 However, considering that the external device 2 does not necessarily have the transmission capability of the PCI-E transmission protocol, the communication interface device still retains the transmission protocol of the conventional USB. Further, when the second signal 25 does not correspond to the first signal 15, the processing module 10, the other party is identified as an external device 2 that cannot communicate with the PCI-E communication protocol, and therefore the data transmission program is performed with the external device 2 by the USB communication protocol.

前述之第一傳輸連接器11,第二傳輸連接器12,以及第三傳輸連接器13,其功能在於將處理模組10電性連接至外部裝置進行資料傳輸程序。依據本發明的精神,第一傳輸連接器,第二傳輸連接器,以及第三傳輸連接器可以是通用串行總線(Universal Serial Bus,USB)連接器或其他具備高速訊號傳輸能力的標準規格或非標準規格連接器。第一傳輸連接器11,第二傳輸連接器12,以及第三傳輸連接器13也可以水平方向或垂直方向集合成為單一體的堆疊傳輸連接器(stacked connector),具有高速訊號傳輸能力的多通道連接器。於本發明一實施例中,請參照第7圖,第7圖係依據本發明另一實施例所實現的USB Type C連接器之結構圖。在第7圖中,兩個USB type C連接器於水平方向堆疊成為單一體傳輸連接器,如此使用者在插拔傳輸連接器時可以一次完成,可大幅減少插拔所需的時間,再者水平方向的堆疊也不會造成傳輸連接器厚度的增加,有助於手持式電子產品維持輕薄、短小的需求。 The first transmission connector 11, the second transmission connector 12, and the third transmission connector 13 have a function of electrically connecting the processing module 10 to an external device for data transmission. According to the spirit of the present invention, the first transmission connector, the second transmission connector, and the third transmission connector may be Universal Serial Bus (USB) connectors or other standard specifications with high-speed signal transmission capability or Non-standard size connector. The first transmission connector 11, the second transmission connector 12, and the third transmission connector 13 may also be stacked in a horizontal direction or a vertical direction into a single-body stacked transmission connector, and have multiple channels with high-speed signal transmission capability. Connector. In an embodiment of the present invention, please refer to FIG. 7. FIG. 7 is a structural diagram of a USB Type C connector implemented according to another embodiment of the present invention. In Figure 7, two USB type C connectors are stacked in a horizontal direction to form a single-body transmission connector, so that the user can complete the insertion and removal of the transmission connector at one time, which greatly reduces the time required for insertion and removal. Stacking in the horizontal direction will not cause an increase in the thickness of the transmission connector, which will help the hand-held electronic products maintain the demand for thinness and shortness.

由於傳輸技術持續不斷進步,通用串行總線也因技術提升而提出更新、更精細的版本,從1996年的推出的USB1.0,2000年推出的USB2.0,演進至USB3.0等等,在速度和相容性上都不斷的提升。但也因為USB各版本的差異,其接腳配置和傳輸通道會有所不同。舉例來說,請回到第1A圖,其係依據本發明 一實施例所實現的通訊介面裝置,以USB2.0 type A連接器為例之示意圖,其中各傳輸連接器之標準為USB2.0,裝置間透過D+/D-來溝通與傳輸資料。但若各傳輸連接器是遵行更新之USB type C標準,則請參照第1B圖,其係依據本發明另一實施例所實現的通訊介面裝置,以USB type C連接器為例的示意圖。其接腳配置和傳輸通道更為複雜,包含了第一、第二超高速(Super Speed)傳輸器差分對(SSTX,SSRX),D+/D-,以及組態通道等等。以下將會針對USB2.0 type A與USB type C之二標準詳細說明本發明之實施內容。 As the transmission technology continues to advance, the universal serial bus has also been updated with a newer version due to technological advancement, from USB 1.0 introduced in 1996, USB 2.0 introduced in 2000, to USB 3.0, etc. It is constantly improving in speed and compatibility. However, due to differences in USB versions, the pin configuration and transmission channel will be different. For example, please return to Figure 1A, which is in accordance with the present invention. The communication interface device implemented in one embodiment is a schematic diagram of a USB2.0 type A connector. The standard of each transmission connector is USB2.0, and devices communicate and transmit data through D+/D-. However, if each of the transmission connectors is in compliance with the updated USB type C standard, please refer to FIG. 1B, which is a schematic diagram of a communication interface device implemented by another embodiment of the present invention, taking a USB type C connector as an example. Its pin configuration and transmission channel are more complex, including the first and second Super Speed transmitter differential pairs (SSTX, SSRX), D+/D-, and configuration channels. The implementation of the present invention will be described in detail below with respect to the USB 2.0 type A and USB type C standards.

若傳輸連接器使用USB 2.0 type A之標準,請參照第3圖,其係依據本發明一實施例所實現的USB 2.0 type A標準連接器之結構圖。在USB 2.0標準中,說明書中詳細定義了USB連接器各針腳的指派與對應功能。請參照表一與第4圖,第4圖係依據本發明一實施例所實現的USB 2.0標準連接器之接腳對應圖。其中針腳編號1為VBUS,其功能為電源供應。針腳編號2和3分別為資料負極D-和資料正極D+傳輸線路,其功能為進行資料傳輸。針腳編號4則為GND,其功能為電源接地。前述之處理模組10在透過傳輸連接器電性連接至外部裝置2後,一開始偵測到USB連接器之插入,而後再透過D+和D-傳送一第一訊號15至外部裝置2,並且接收到來自外部裝置2的一第二訊號25,處理模組10再藉由判斷第一訊號15與第二訊號25是否相對應來確認外部裝置2是否支援PCI-E傳輸協定。 If the transmission connector uses the standard of USB 2.0 type A, please refer to FIG. 3, which is a structural diagram of a USB 2.0 type A standard connector implemented according to an embodiment of the present invention. In the USB 2.0 standard, the assignment and corresponding functions of the pins of the USB connector are defined in detail in the manual. Please refer to Table 1 and FIG. 4, and FIG. 4 is a diagram of pin correspondence of a USB 2.0 standard connector implemented according to an embodiment of the present invention. The pin number 1 is VBUS, and its function is power supply. Pin numbers 2 and 3 are the data negative D- and the data positive D+ transmission line, respectively, and their functions are for data transmission. Pin No. 4 is GND and its function is power ground. After the foregoing processing module 10 is electrically connected to the external device 2 through the transmission connector, the USB connector is initially detected to be inserted, and then a first signal 15 is transmitted to the external device 2 through D+ and D-, and Receiving a second signal 25 from the external device 2, the processing module 10 further determines whether the external device 2 supports the PCI-E transmission protocol by determining whether the first signal 15 corresponds to the second signal 25.

若傳輸連接器使用串型通行總線C類(USB Type C)之連接器標準,請參照第5圖,其係依據本發明一實施例所實現的USB Type-C連接器之結構圖。 If the transmission connector uses a serial type bus type C (USB Type C) connector standard, please refer to FIG. 5, which is a structural diagram of a USB Type-C connector implemented in accordance with an embodiment of the present invention.

在新推出之USB type C標準中,說明書中詳細定義了Type C連接器各針腳的指派與對應功能。請參照表二與第6圖,第6圖係依據本發明一實施例所實現的USB Type-C連接器之接腳對應圖。其中針腳編號A5及B5為組態通道(configuration channel),其功能在於偵測USB連接器之插入、建立USB連接主機(USB host)和裝置(USB device)的角色、以及選擇性提供延伸電力等。因此,前述之處理模組10在透過傳輸連接器電性連接至外部裝置2後,一開始先透過組態針腳偵測USB連接器之插入,而後再傳送一第一訊號15至外部裝置2,並且接收到來自外部裝置2的一第二訊號25,再藉由判斷第一訊號15與第二訊號25是否相對應來確認外部裝置2是否支援PCI-E傳輸協定。 In the newly introduced USB type C standard, the assignment and corresponding functions of the pins of the Type C connector are defined in detail in the manual. Please refer to Table 2 and FIG. 6. FIG. 6 is a diagram of pin correspondence of a USB Type-C connector implemented according to an embodiment of the present invention. The pin numbers A5 and B5 are configuration channels, and their function is to detect the insertion of the USB connector, establish the role of the USB host and the USB device, and selectively provide extended power. . Therefore, after the foregoing processing module 10 is electrically connected to the external device 2 through the transmission connector, the insertion of the USB connector is first detected through the configuration pin, and then a first signal 15 is transmitted to the external device 2, And receiving a second signal 25 from the external device 2, and determining whether the external device 2 supports the PCI-E transmission protocol by determining whether the first signal 15 and the second signal 25 correspond.

此外,依據本發明一實施例,第一傳輸連接器11,第二傳輸連接器12,以及第三傳輸連接器13在與外部裝置2電性連接後,更可以透過其D+、D-,或是組態針腳來設定其主要與次要傳輸通道。舉例來說,當只有一傳輸連接器電性連接至外部裝置2時,毫無疑問處理模組10可以將該傳輸連接器給予編號001,並設為主要傳輸通道。當二傳輸連接器電性連接至外部裝置2時,則處理模組10可將電性連接至外部裝置2之某一傳輸器給予編號001,並設為主要傳輸通道,另一傳輸器給予編號002,並設為次要傳輸通道。以此類推,當三傳輸連接器電性連接至外部裝置2時,則將電性連結之某一傳輸連接器給予編號001,並設為主要傳輸通道,其他傳輸器給予編號002和003,並設為次要傳輸通道。 In addition, according to an embodiment of the present invention, the first transmission connector 11, the second transmission connector 12, and the third transmission connector 13 can be further connected to the external device 2 through D+, D-, or It is the configuration pin to set its primary and secondary transmission channels. For example, when only one transmission connector is electrically connected to the external device 2, there is no doubt that the processing module 10 can assign the transmission connector to the number 001 and set it as the main transmission channel. When the two transmission connectors are electrically connected to the external device 2, the processing module 10 can give a number 001 to a certain transmitter electrically connected to the external device 2, and set it as the main transmission channel, and the other transmitter gives the number. 002 and set as the secondary transmission channel. By analogy, when the three-transmission connector is electrically connected to the external device 2, a certain transmission connector of the electrical connection is given the number 001 and is set as the main transmission channel, and the other transmitters are given the numbers 002 and 003, and Set as the secondary transmission channel.

主要傳輸通道的功能在於讓處理模組10與外部裝置 2傳輸資料與建立一通訊協定,使得處理模組10可以分配主要傳輸通道和次要傳輸通道,以進行平行傳輸。舉例來說,若該外部裝置是一外接PCI-E固態硬碟,通訊介面裝置是一可攜式電腦,當固態硬碟只有一個USB傳輸器連接至可攜式電腦時,則以該USB傳輸器傳輸資料;若當三條傳輸連接器同時連接至可攜式電腦時,則處理模組10設定好三條傳輸連接器的主從順序,並依據定義好的通訊協定,同時進行檔案傳輸。如此一來,可大大加速整體資料傳輸之速度與頻寬。 The main transmission channel functions to allow the processing module 10 and external devices 2 Transmitting data and establishing a communication protocol, so that the processing module 10 can allocate a primary transmission channel and a secondary transmission channel for parallel transmission. For example, if the external device is an external PCI-E solid state drive, the communication interface device is a portable computer, and when the solid state hard disk has only one USB transmitter connected to the portable computer, the USB transmission is performed. If the three transmission connectors are simultaneously connected to the portable computer, the processing module 10 sets the master-slave order of the three transmission connectors, and simultaneously performs file transmission according to the defined communication protocol. In this way, the speed and bandwidth of the overall data transmission can be greatly accelerated.

更詳細地來說,依據本發明一實施例,在USB type C連接器中共包含兩條差分通道(differential channel),其中主要傳輸通道在分配資料傳輸通道時可以是PCI-E佔用一條差分通道,USB佔用一條差分通道。或者是兩條差分通道都被PCI-E所佔用,USB則使用USB2.0差分通道。在實體資料傳輸中,本實施例可以用M-PHY或PCI-E PHY或USB PHY來進行實體層資料傳輸,實體層資料傳輸的選擇則基於耗電條件與傳輸距離的考量。當傳輸線材距離不是重點而是省電時,則選擇M-PHY來節省可攜式裝置的電池使用時間,反之亦然。 In more detail, according to an embodiment of the invention, two differential channels are included in the USB type C connector, wherein the main transmission channel may be a differential channel occupied by the PCI-E when the data transmission channel is allocated. USB occupies a differential channel. Or both differential channels are occupied by PCI-E, and USB uses a USB 2.0 differential channel. In the physical data transmission, the embodiment can use the M-PHY or the PCI-E PHY or the USB PHY to perform physical layer data transmission, and the physical layer data transmission selection is based on the power consumption condition and the transmission distance. When the transmission wire distance is not the focus but the power saving, the M-PHY is selected to save the battery life of the portable device, and vice versa.

依據本發明一實施例,主要傳輸通道可以是快捷序列高技術配置(eSATA)連接器提供給PCI-E或USB傳送/接收(TX/RX)的差分通道,以進行資料傳輸。 According to an embodiment of the invention, the primary transmission channel may be a differential channel high-tech configuration (eSATA) connector provided to the PCI-E or USB transmit/receive (TX/RX) differential channel for data transmission.

舉例來說,前述之處理模組10電性連接至外部裝置2後透過第一傳輸連接器傳送第一訊號15至外部裝置2,並且接 收到來自外部裝置的一第二訊號25。其中第一訊號15和第二訊號25可以是以二進位的複數個位元所形成的訊號,如”00”、”01”、”10”、”11”等除以第一訊號和第二訊號可當作處理模組10和外部裝置2的溝通語言外,可進一步針對各傳輸連接器進行編號。比如當多個傳輸連接器電性連接到外部裝置2時,處理模組10可將主要傳輸通道之訊號編號為”001”,次要傳輸通道之傳輸連接器依序編號為”010”、”011”、”100”等。如此一來,若傳輸連接器使用USB 2.0之標準,處理模組10即可透過其D+和D-來設定其主從順序;若傳輸連接器使用USB Type-C之標準,處理模組10即可透過其組態針腳來設定其主從順序。並依據定義好的通訊協定,同時進行檔案傳輸。如此一來,可大大加速整體資料傳輸之速度與頻寬。 For example, the foregoing processing module 10 is electrically connected to the external device 2, and then transmits the first signal 15 to the external device 2 through the first transmission connector, and is connected. A second signal 25 is received from the external device. The first signal 15 and the second signal 25 may be signals formed by a plurality of binary bits, such as "00", "01", "10", "11", etc. divided by the first signal and the second signal. The signal can be used as the communication language between the processing module 10 and the external device 2, and the transmission connectors can be further numbered. For example, when a plurality of transmission connectors are electrically connected to the external device 2, the processing module 10 can number the signal of the main transmission channel to "001", and the transmission connector of the secondary transmission channel is sequentially numbered "010", 011", "100", etc. In this way, if the transmission connector uses the USB 2.0 standard, the processing module 10 can set its master-slave order through its D+ and D-; if the transmission connector uses the USB Type-C standard, the processing module 10 The master-slave sequence can be set via its configuration pins. And according to the defined communication protocol, file transfer at the same time. In this way, the speed and bandwidth of the overall data transmission can be greatly accelerated.

於本發明一實施例中,針對電力供應部份,若是USB的電力供應根據通用序列匯流排電力傳輸(USB Power Delivery)標準,可以供給5V/12V/20V,至多5A的電流,因此電力供應部分不會因訊號之傳輸而受影響,且符合通用序列匯流排電力傳輸標準之規範。若是eSATAp連接器的電力供應根據快捷序列高技術配置電力傳輸(Power over eSATA,eSATAp)標準,供電可以是自5V或為12V,至多5A的電流,同樣能供應足夠的電力。 In an embodiment of the present invention, for the power supply part, if the USB power supply is based on the universal serial power transmission (USB Power Delivery) standard, it can supply 5V/12V/20V, up to 5A, and thus the power supply part. It will not be affected by the transmission of signals and conforms to the specifications of the universal serial bus power transmission standard. If the eSATAp connector's power supply is based on the Fast Sequence High Power Configuration (Power over eSATA, eSATAp) standard, the power supply can be from 5V or 12V, up to 5A, and can supply enough power.

此外,於本發明另一實施例中,本發明的通訊介面裝置亦可具有不同標準的傳輸連接器,舉例來說,第一傳輸連接器可以是符合USB Type C標準的傳輸連接器,第二傳輸連接器 可以是符合PCI-E標準的OccuLink連接器,第三傳輸連接器可以 是符合其他標準的傳輸連接器等等,只要這些傳輸連接器能以約 定好的通訊協定溝通和傳輸資料即可,本發明並不以此限制傳輸 連接器的種類。 In addition, in another embodiment of the present invention, the communication interface device of the present invention may also have different standard transmission connectors. For example, the first transmission connector may be a USB Type C-compliant transmission connector, and the second Transmission connector Can be an OccuLink connector that complies with the PCI-E standard, and the third transmission connector can Is a transmission connector that conforms to other standards, etc., as long as these transmission connectors can The communication protocol can be communicated and transmitted, and the invention does not limit the transmission. The type of connector.

再者,於本發明又一實施例中,第一、第二通訊協定除了可以是PCI-E協定、USB通訊協定外,亦可以是系統匯流排(Bus)的傳輸通訊協定,本發明並不以此限制通訊協定的種類。 Furthermore, in another embodiment of the present invention, the first and second communication protocols may be a transmission communication protocol of a system bus (Bus) in addition to the PCI-E protocol and the USB communication protocol, and the present invention does not. This limits the type of communication protocol.

綜上所述,依據本發明所實現之通訊介面裝置,可以判斷外部裝置是以第一通訊協定或第二通訊協定進行該資料傳輸程序。更進一步簡化電腦系統,增加裝置的可移植性和模組化,因此本發明即利用PCI-E廣泛的通用性,搭配USB通訊協定,藉以提升外接裝置的普遍性和傳輸效率。 In summary, according to the communication interface device implemented by the present invention, it can be determined that the external device performs the data transmission process by using the first communication protocol or the second communication protocol. The computer system is further simplified, and the portability and modularization of the device are increased. Therefore, the present invention utilizes the wide versatility of the PCI-E and the USB communication protocol, thereby improving the universality and transmission efficiency of the external device.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明。在不脫離本發明之精神和範圍內,所為之更動與潤飾,均屬本發明之專利保護範圍。關於本發明所界定之保護範圍請參考所附之申請專利範圍。 Although the present invention has been disclosed above in the foregoing embodiments, it is not intended to limit the invention. It is within the scope of the invention to be modified and modified without departing from the spirit and scope of the invention. Please refer to the attached patent application for the scope of protection defined by the present invention.

1‧‧‧通訊介面裝置 1‧‧‧Communication interface device

2‧‧‧外部裝置 2‧‧‧External devices

10‧‧‧處理模組 10‧‧‧Processing module

11‧‧‧第一傳輸連接器 11‧‧‧First transmission connector

12‧‧‧第二傳輸連接器 12‧‧‧Second transmission connector

13‧‧‧第三傳輸連接器 13‧‧‧ Third transmission connector

15‧‧‧第一訊號 15‧‧‧First signal

25‧‧‧第二訊號 25‧‧‧second signal

Claims (9)

一種通訊介面裝置,包括:一處理模組,以一第一通訊協定或一第二通訊協定進行一資料傳輸程序;一第一傳輸連接器電性連接至該處理模組,並可插拔的連接於一外部裝置,當該第一傳輸連接器連接於該外部裝置時,該第一傳輸連接器將該處理模組電性連接至該外部裝置;一第二傳輸連接器電性連接至該處理模組,並可插拔的連接於該外部裝置,當該第二傳輸連接器連接於該外部裝置時,該第二傳輸連接器將該處理模組電性連接至該外部裝置;以及一第三傳輸連接器電性連接至該處理模組,並可插拔的連接於該外部裝置,當該第三傳輸連接器連接於該外部裝置時,該第三傳輸連接器將該處理模組電性連接至該外部裝置;其中,當該第一傳輸連接器將該處理模組電性連接至該外部裝置時,該處理模組透過該第一傳輸連接器傳送一第一訊號至該外部裝置,並且當該處理模組接收到來自該外部裝置的一第二訊號時,該處理模組判斷該第二訊號是否對應於該第一訊號,當該第二訊號對應於該第一訊號時,該處理模組透過一組態通道針腳或一第一差分對針腳將一設定組態傳送至該外部裝置,將該第一傳輸連接器設為一主要傳輸通道,將該第二傳輸連接器設為一第一次要傳輸通道,將該第 三傳輸連接器設為一第二次要傳輸通道,以該第一通訊協定同時使用該第一傳輸連接器、該第二傳輸連接器與該第三傳輸連接器與該外部裝置進行一資料傳輸程序。 A communication interface device includes: a processing module, a data transmission program is performed by a first communication protocol or a second communication protocol; a first transmission connector is electrically connected to the processing module, and is pluggable Connected to an external device, when the first transmission connector is connected to the external device, the first transmission connector electrically connects the processing module to the external device; a second transmission connector is electrically connected to the The processing module is detachably connected to the external device, and when the second transmission connector is connected to the external device, the second transmission connector electrically connects the processing module to the external device; The third transmission connector is electrically connected to the processing module, and is detachably connected to the external device. When the third transmission connector is connected to the external device, the third transmission connector is configured to process the module. Electrically connecting to the external device; wherein, when the first transmission connector electrically connects the processing module to the external device, the processing module transmits a first signal to the external through the first transmission connector And when the processing module receives a second signal from the external device, the processing module determines whether the second signal corresponds to the first signal, and when the second signal corresponds to the first signal The processing module transmits a setting configuration to the external device through a configuration channel pin or a first differential pair pin, and sets the first transmission connector as a main transmission channel, and the second transmission connector Set to the first time to transmit the channel, the first The third transmission connector is configured as a second secondary transmission channel, and the first communication connector simultaneously uses the first transmission connector, the second transmission connector and the third transmission connector to perform a data transmission with the external device program. 如請求項1所述的通訊介面裝置,其中當該第二訊號不對應於該第一訊號時,該處理模組以該第二通訊協定使用該第一傳輸連接器與該外部裝置進行該資料傳輸程序。 The communication interface device of claim 1, wherein when the second signal does not correspond to the first signal, the processing module uses the first transmission connector to perform the data with the external device according to the second communication protocol. Transfer the program. 如請求項1所述的通訊介面裝置,其中當該處理模組於一第一時間區間內未接收到該第二訊號時,該處理模組以該第二通訊協定使用該第一傳輸連接器與該外部裝置進行該資料傳輸程序。 The communication interface device of claim 1, wherein the processing module uses the first transmission connector with the second communication protocol when the processing module does not receive the second signal within a first time interval The data transmission program is performed with the external device. 如請求項1所述的通訊介面裝置,其中該第一傳輸連接器為通用串行總線A類(Universal Serial Bus,USB type A)連接器或其他具有多條差分通道高速訊號傳輸能力連接器,當該第一傳輸連接器將該處理模組電性連接至該外部裝置時,該處理模組透過該第一傳輸連接器之一第一差分對針腳傳送該第一訊號至該外部裝置,並且該處理模組透過該第一傳輸連接器之該第一差分對針腳接收來自該外部裝置的該第二訊號。 The communication interface device of claim 1, wherein the first transmission connector is a Universal Serial Bus (USB type A) connector or other high-speed signal transmission capability connector having multiple differential channels. When the first transmission connector electrically connects the processing module to the external device, the processing module transmits the first signal to the external device through a first differential pair pin of the first transmission connector, and The processing module receives the second signal from the external device through the first differential pair pin of the first transmission connector. 如請求項4所述的通訊介面裝置,其中該第一傳輸連接器的結構根據一串型通行總線C類(USB Type C)連接器或其他具有多條差分通道高速訊號傳輸能力連接器,包含一組態通道針腳(configuration channel pin,CC pin),當該第一傳輸連接器將該處理模組電性連接至該外部裝置時,該處理模組透過該 第一傳輸連接器之該組態通道針腳傳送該第一訊號至該外部裝置,並且該處理模組透過該第一傳輸連接器之該組態通道針腳接收來自該外部裝置的該第二訊號。 The communication interface device according to claim 4, wherein the first transmission connector is configured according to a serial type bus type C (USB Type C) connector or other high speed signal transmission capability connector having a plurality of differential channels, including a configuration channel pin (CC pin), when the first transmission connector electrically connects the processing module to the external device, the processing module transmits the The configuration channel pin of the first transmission connector transmits the first signal to the external device, and the processing module receives the second signal from the external device through the configuration channel pin of the first transmission connector. 如請求項1所述的通訊介面裝置,其中該第一通訊協定為快捷外設互聯標準(Peripheral Component Interconnect Express,PCI-E)通訊協定或其他通訊協定之任意組合,該第二通訊協定為通用串行總線(Universal Serial Bus,USB)通訊協定。 The communication interface device of claim 1, wherein the first communication protocol is any combination of a Peripheral Component Interconnect Express (PCI-E) communication protocol or other communication protocol, and the second communication protocol is universal. Serial Bus (USB) communication protocol. 如請求項1所述的通訊介面裝置,更包括一複數傳輸連接器之水平或垂直堆疊(stacked connector)成為單一傳輸連接器,用以將該處理模組電性連接至該外部裝置。 The communication interface device of claim 1, further comprising a horizontal or vertical stacked connector of the plurality of transmission connectors as a single transmission connector for electrically connecting the processing module to the external device. 如請求項7所述的通訊介面裝置,其中該處理模組透過一組態通道針腳或一第一差分對針腳將一設定組態傳送至該外部裝置,將該第一傳輸連接器設為一主要傳輸通道,將該第二傳輸連接器設為一第一次要傳輸通道,將該第三傳輸連接器設為一第二次要傳輸通道。 The communication interface device of claim 7, wherein the processing module transmits a setting configuration to the external device through a configuration channel pin or a first differential pair pin, and the first transmission connector is set to one The primary transmission channel is configured as a first secondary transmission channel, and the third transmission connector is configured as a second secondary transmission channel. 如請求項6所述的通訊介面裝置,使用M-PHY標準或PCI-E/USB PHY標準來進行實體層資料傳輸,實體層資料傳輸的選擇則基於耗電條件與傳輸距離的考量。 The communication interface device according to claim 6 uses the M-PHY standard or the PCI-E/USB PHY standard for physical layer data transmission, and the physical layer data transmission selection is based on power consumption conditions and transmission distance considerations.
TW104103774A 2015-02-04 2015-02-04 Communication interface device TWI594127B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104103774A TWI594127B (en) 2015-02-04 2015-02-04 Communication interface device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104103774A TWI594127B (en) 2015-02-04 2015-02-04 Communication interface device

Publications (2)

Publication Number Publication Date
TW201629789A TW201629789A (en) 2016-08-16
TWI594127B true TWI594127B (en) 2017-08-01

Family

ID=57182186

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104103774A TWI594127B (en) 2015-02-04 2015-02-04 Communication interface device

Country Status (1)

Country Link
TW (1) TWI594127B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI714938B (en) * 2019-01-04 2021-01-01 宏碁股份有限公司 Control method and electronic system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060294272A1 (en) * 2003-09-11 2006-12-28 Horng-Yee Chou Extended usb protocol connector and socket for implementing multi-mode communication
US20090006707A1 (en) * 2007-06-29 2009-01-01 Jonathan Hubert Method of using the dual bus interface in an expresscard slot
US20090228627A1 (en) * 2008-03-04 2009-09-10 Aten International Co., Ltd. Server with remote access functions for accessing remote peripheral devices that use different communication protocols
TWI393009B (en) * 2007-07-04 2013-04-11 Ours Technology Inc Data sharing and transfer systems and methods
TWI405085B (en) * 2010-01-29 2013-08-11 Innostor Technology Corp Switching interface method for a multi-interface storage device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060294272A1 (en) * 2003-09-11 2006-12-28 Horng-Yee Chou Extended usb protocol connector and socket for implementing multi-mode communication
US20090006707A1 (en) * 2007-06-29 2009-01-01 Jonathan Hubert Method of using the dual bus interface in an expresscard slot
TWI393009B (en) * 2007-07-04 2013-04-11 Ours Technology Inc Data sharing and transfer systems and methods
US20090228627A1 (en) * 2008-03-04 2009-09-10 Aten International Co., Ltd. Server with remote access functions for accessing remote peripheral devices that use different communication protocols
TWI405085B (en) * 2010-01-29 2013-08-11 Innostor Technology Corp Switching interface method for a multi-interface storage device

Also Published As

Publication number Publication date
TW201629789A (en) 2016-08-16

Similar Documents

Publication Publication Date Title
CN108259803B (en) Electronic terminal device, television terminal, signal input circuit and method
CN107111588B (en) Data transfer using PCIe protocol via USB port
US7214089B1 (en) Universal serial bus On-The-Go apparatus
CN106021150B (en) Type-C interface equipment, communication system and communication means
US20110191503A1 (en) Motherboard Compatible with Multiple Versions of Universal Serial Bus (USB) and Related Method
US20130217274A1 (en) Connector for achieving complete interoperability between different types of data and multimedia interfaces
US9990328B2 (en) Increased data flow in universal serial bus (USB) cables
CN105094383B (en) Smart pen pairing and connection
AU2011265103A1 (en) Systems and methods for dynamic multi-link compilation partitioning
KR102405773B1 (en) Method for communicating multi devices using usb type c interface and electronic device for the same
US10380049B2 (en) Multi-host supported universal serial bus hub and automobile head unit using the same
US11119960B2 (en) Adapter to concatenate connectors
US8886859B2 (en) USB storage device
WO2017166787A1 (en) Usb type-c interface system of smart mobile terminal
JP6661342B2 (en) Port connection circuit, port connection control method, electronic equipment
WO2017161750A1 (en) Mobile apparatus
JP7114286B2 (en) System, electronic device and connection control method
TWI594127B (en) Communication interface device
WO2024022195A1 (en) Electronic device, quick charging method, apparatus and system, and readable storage medium
US20140181353A1 (en) Interface extension device
CN108874716B (en) Charging communication connection device and method for portable equipment
WO2017182001A1 (en) Method and device for interface configuration, and computer storage medium
US20180150426A1 (en) Universal serial bus type c transmission line and transmission device
TWM507608U (en) USB Type-C connector module
TWI651615B (en) A usb type-c adapter and the channel control method for performing usb device detection