TW201500929A - Peripheral equipment, and system and method of establishing communication connection by using the same - Google Patents

Peripheral equipment, and system and method of establishing communication connection by using the same Download PDF

Info

Publication number
TW201500929A
TW201500929A TW102123555A TW102123555A TW201500929A TW 201500929 A TW201500929 A TW 201500929A TW 102123555 A TW102123555 A TW 102123555A TW 102123555 A TW102123555 A TW 102123555A TW 201500929 A TW201500929 A TW 201500929A
Authority
TW
Taiwan
Prior art keywords
serial signal
multiplexer
signal receiving
receiving port
serial
Prior art date
Application number
TW102123555A
Other languages
Chinese (zh)
Inventor
Jun-Jia Lin
Original Assignee
Hon Hai Prec Ind Co Ltd
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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Publication of TW201500929A publication Critical patent/TW201500929A/en

Links

Abstract

The present invention provides a peripheral equipment, the peripheral equipment includes a pair of serial signal transceiver interfaces which are used to connect a first computer, and two pairs of serial signal transceiver interfaces which are used to connect a second computer, the peripheral equipment further includes a first multiple way switch, a second multiple way switch and a controlling chip. The controlling chip is used to make the first and second computer establishing communication connection, by switching the first and second multiply way switches. The present invention further provides a system and method of establishing communication connection by using the peripheral equipment. The present invention can by used to establish communication connection between the first and the second computer.

Description

周邊設備、利用周邊設備建立通訊連接的系統及方法Peripheral device, system and method for establishing communication connection by using peripheral device

本發明涉及通訊領域,尤其涉及一種周邊設備,及利用周邊設備建立通訊連接的系統及方法。The present invention relates to the field of communications, and in particular, to a peripheral device, and a system and method for establishing a communication connection by using a peripheral device.

當前比較常見的伺服器主板有四個硬體系統,分別是用戶主系統,BMC(Baseboard Management Controller)管理系統,SAS(Serial Attached SCSI)控制器系統,SAS擴展(SAS Expander)系統。伺服器一般都設有兩對串列訊號收發埠,用戶主系統和BMC管理系統使用一對,SAS控制器系統和SAS擴展系統使用另一對。The current common server board has four hardware systems, namely the user main system, the BMC (Baseboard Management Controller) management system, the SAS (Serial Attached SCSI) controller system, and the SAS expander (SAS Expander) system. The server generally has two pairs of serial signal transmission and reception ports. The user main system and the BMC management system use one pair, and the SAS controller system and the SAS expansion system use another pair.

雖然僅有一個硬體系統(即用戶主系統)的普通電腦可以采其任意一對串列訊號收發埠與外部設備通訊,然而,由於伺服器的上述配置方式,當前在測試伺服器主板時,作為測試主機的普通電腦若要控制伺服器執行不同硬體系統下的測試,測試主機需將本機的兩對串列訊號收發埠同時分別與伺服器的兩對串列訊號收發埠建立通訊連接,以控制該伺服器執行不同硬體系統下的測試,然而,在這種測試方法下,測試主機的兩對串列訊號收發埠同時被佔用,沒有有效利用好測試主機的串口資源。Although a normal computer with only one hardware system (ie, the user's main system) can use any pair of serial signals to communicate with external devices, due to the above configuration of the server, when testing the server board, If the ordinary computer as the test host wants to control the server to perform tests under different hardware systems, the test host needs to send and receive two pairs of serial signals of the machine, and simultaneously establish and communicate with the two pairs of serial signals of the server. In order to control the server to perform tests under different hardware systems, however, under this test method, the two pairs of serial signals of the test host are simultaneously occupied, and the serial port resources of the test host are not effectively utilized.

鑒於以上內容,有必要提供一種周邊設備,利用該周邊設備僅需與第一電腦的一對串列訊號收發埠連接,即可實現所述第一電腦分別與第二電腦的兩對串列訊號收發埠的通訊連接。In view of the above, it is necessary to provide a peripheral device, and the peripheral device can be connected to a pair of serial signals of the first computer to realize two pairs of serial signals of the first computer and the second computer. Send and receive 通讯 communication connections.

此外,還有必要提供一種利用所述周邊設備建立通訊連接系統及方法,可實現第一電腦的一對串列訊號收發埠分別與第二電腦的兩對串列訊號收發埠的通訊連接。In addition, it is also necessary to provide a communication connection system and method using the peripheral device, which can realize a communication connection between a pair of serial signal transmission and reception of the first computer and two pairs of serial signals of the second computer.

所述周邊設備包括第一串列訊號接收埠及第一串列訊號發送埠、第二串列訊號接收埠及第二串列訊號發送埠、及第三串列訊號接收埠及第三串列訊號發送埠,該周邊設備還包括第一多路開關、第二多路開關及控制晶片,所述第一多路開關的第一端與所述第一串列訊號接收埠連接,該第一多路開關的第二端與所述第二串列訊號發送埠及第三串列訊號發送埠連接,所述第二多路開關的第一端與所述第一串列訊號發送埠連接,該第二多路開關的第二端與所述第二串列訊號接收埠及第三串列訊號接收埠連接,所述控制晶片用於控制所述第一多路開關及第二多路開關的通道切換。The peripheral device includes a first serial signal receiving port and a first serial signal transmitting port, a second serial signal receiving port and a second serial signal transmitting port, and a third serial signal receiving port and a third serial port After the signal is transmitted, the peripheral device further includes a first multiplexer, a second multiplexer, and a control chip, and the first end of the first multiplexer is connected to the first serial signal receiving port, the first The second end of the multiplexer is connected to the second serial signal transmission 埠 and the third serial signal transmission ,, and the first end of the second multiplexer is connected to the first serial signal transmission ,, The second end of the second multiplexer is connected to the second serial signal receiving port and the third serial signal receiving port, and the control chip is configured to control the first multiplex switch and the second multiplex switch Channel switching.

利用所述周邊設備建立通訊連接的系統,該系統包括:預設模組,用於預設所述第一多路開關導通所述第一串列訊號接收埠與所述第二串列訊號發送埠的連接,同時預設所述第二多路開關導通所述第一串列訊號發送埠與所述第二串列訊號接收埠的連接,或者,用於預設所述第一多路開關導通所述第一串列訊號接收埠與所述第三串列訊號發送埠的連接,同時預設所述第二多路開關導通所述第一串列訊號發送埠與所述第三串列訊號接收埠的連接;偵測模組,用於偵測所述第一串列訊號接收埠是否接收到將所述第一及第二多路開關作通道切換的訊號;及控制模組,用於當接收到所述將第一及第二多路開關作通道切換的訊號時,控制所述第一及第二多路開關同時作通道切換操作。a system for establishing a communication connection by using the peripheral device, the system comprising: a preset module, configured to preset, by the first multiplexer, the first serial signal receiving 埠 and the second serial signal sending Connecting the 埠, and presetting the second multiplexer to turn on the connection of the first serial signal transmission 埠 and the second serial signal receiving ,, or to preset the first multiplexer Turning on the connection between the first serial signal receiving frame and the third serial signal transmitting port, and presetting the second multiplexing switch to turn on the first serial signal transmission port and the third serial port The signal receiving port is connected to the detecting module, and the detecting module is configured to detect whether the first serial signal receiving port receives the signal for switching the first and second multi-way switches; and the control module uses When the signals for switching the first and second multiplexers are received, the first and second multiplexers are controlled to perform a channel switching operation at the same time.

利用所述周邊設備建立通訊連接的方法,該方法包括:連接步驟,將所述周邊設備的第一串列訊號接收埠及第一串列訊號發送埠與第一電腦相連,及將所述周邊設備的第二串列訊號接收埠與第二串列訊號發送埠及第三串列訊號接收埠與第三串列訊號發送埠分別與第二電腦相連;預設步驟,預設所述第一多路開關導通所述第一串列訊號接收埠與所述第二串列訊號發送埠的連接,同時預設所述第二多路開關導通所述第一串列訊號發送埠與所述第二串列訊號接收埠的連接,或者,預設所述第一多路開關導通所述第一串列訊號接收埠與所述第三串列訊號發送埠的連接,同時預設所述第二多路開關導通所述第一串列訊號發送埠與所述第三串列訊號接收埠的連接;偵測步驟,偵測所述第一串列訊號接收埠是否接收到將所述第一及第二多路開關作通道切換的訊號;及控制步驟,當接收到所述將第一及第二多路開關作通道切換的訊號時,控制所述第一及第二多路開關同時作通道切換操作。The method for establishing a communication connection by using the peripheral device, the method comprising: a connecting step of: transmitting, by the first serial signal receiving unit and the first serial signal of the peripheral device, to the first computer, and connecting the periphery The second serial signal receiving unit and the second serial signal transmitting unit, the third serial signal receiving unit, and the third serial signal transmitting unit are respectively connected to the second computer; the preset step of presetting the first The multiplexer turns on the connection between the first serial signal receiving port and the second serial signal transmitting port, and presets the second multiplex switch to turn on the first serial signal transmission port and the first The two serial signals receive the connection of the port, or preset the first multi-switch to turn on the connection of the first serial signal receiving port and the third serial signal transmitting port, and preset the second The multiplexer turns on the connection of the first serial signal to the third serial signal receiving port; the detecting step detects whether the first serial signal receiving frame receives the first and The second multi-way switch acts as a channel switching signal And a control step of, when receiving the first and the second multi-way switch for signal channel switch, controlling the first and second multiplexers for channel switching operation simultaneously.

相較於習知技術,所述周邊設備及利用所述周邊設備建立通訊連接系統及方法僅需與所述第一電腦的一對串列訊號收發埠連接,即可實現所述第一電腦分別與所述第二電腦的兩對串列訊號收發埠的通訊連接,節省了該第一電腦上的一對串列訊號收發埠資源。Compared with the prior art, the peripheral device and the communication connection system and method using the peripheral device only need to be connected to the pair of serial signals of the first computer, so that the first computer can be respectively implemented. The communication connection between the two pairs of serial signals of the second computer saves a pair of serial signal transmission and reception resources on the first computer.

1‧‧‧第一電腦1‧‧‧First computer

2‧‧‧第二電腦2‧‧‧Second computer

100‧‧‧周邊設備100‧‧‧ Peripherals

11‧‧‧第一串列訊號接收埠11‧‧‧First serial signal reception埠

12‧‧‧第一串列訊號發送埠12‧‧‧First serial signal transmission埠

21‧‧‧第二串列訊號發送埠21‧‧‧Second serial signal transmission埠

22‧‧‧第二串列訊號接收埠22‧‧‧Second serial signal reception埠

31‧‧‧第三串列訊號發送埠31‧‧‧ Third serial signal transmission埠

32‧‧‧第三串列訊號接收埠32‧‧‧ Third serial signal reception埠

101‧‧‧第四串列訊號發送埠101‧‧‧fourth serial signal transmission埠

102‧‧‧第四串列訊號接收埠102‧‧‧ Fourth serial signal reception埠

111‧‧‧第五串列訊號發送埠111‧‧‧The fifth serial signal transmission埠

112‧‧‧第五串列訊號接收埠112‧‧‧ Fifth serial signal reception埠

201‧‧‧第六串列訊號接收埠201‧‧‧Sixth serial signal reception埠

202‧‧‧第六串列訊號發送埠202‧‧‧Sixth serial signal transmission埠

211‧‧‧第七串列訊號接收埠211‧‧‧Seventh serial signal reception埠

212‧‧‧第七串列訊號發送埠212‧‧‧Seventh serial signal transmission埠

30‧‧‧控制晶片30‧‧‧Control chip

301‧‧‧預設模組301‧‧‧Preset module

302‧‧‧偵測模組302‧‧‧Detection module

303‧‧‧控制模組303‧‧‧Control Module

10‧‧‧第一多路開關10‧‧‧First multi-way switch

20‧‧‧第二多路開關20‧‧‧Second multi-way switch

圖1是本發明周邊設備較佳實施例的運用環境圖。BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a diagram showing the operating environment of a preferred embodiment of the peripheral device of the present invention.

圖2是本發明利用周邊設備實現第一電腦分別與第二電腦的兩對串列訊號收發埠的建立通訊連接的方法的較佳實施例的流程圖。2 is a flow chart of a preferred embodiment of a method for establishing a communication connection between two pairs of serial signal transceivers of a first computer and a second computer by using a peripheral device.

參閱圖1所示,是本發明周邊設備100較佳實施例的運用環境圖。Referring to FIG. 1, it is an operational environment diagram of a preferred embodiment of the peripheral device 100 of the present invention.

所述周邊設備100用於將所述第一電腦1與所述第二電腦2建立串列通訊連接。本實施例中,所述周邊設備100包括三對串列訊號收發埠,其中一對串列訊號收發埠,例如由第一串列訊號接收埠11及第一串列訊號發送埠12構成的一對,與第一電腦1連接。另外兩對串列訊號收發埠,例如由第二串列訊號發送埠21與第二串列訊號接收埠22構成的一對,及由第三串列訊號發送埠31與第三串列訊號接收埠32構成的一對,與第二電腦2連接。The peripheral device 100 is configured to establish a serial communication connection between the first computer 1 and the second computer 2. In this embodiment, the peripheral device 100 includes three pairs of serial signal transceivers, wherein a pair of serial signals are transmitted and received, for example, a first serial signal receiving port 11 and a first serial signal transmitting port 12 Yes, it is connected to the first computer 1. The other two pairs of serial signals are transmitted and received, for example, a pair consisting of a second serial signal transmission 埠21 and a second serial signal reception unit 22, and a third serial signal transmission 埠31 and a third serial signal reception. A pair of 埠32 is connected to the second computer 2.

所述第一電腦1及第二電腦2分別包括兩對串列訊號收發埠。所述第一電腦1的兩對串列訊號收發埠分別是:由第四串列訊號發送埠101與第四串列訊號接收埠102所構成的一對,及由第五串列訊號發送埠111與第五串列訊號接收埠112所構成的一對。所述第二電腦2上的兩對串列訊號收發埠分別是:由第六串列訊號接收埠201與第六串列訊號發送埠202所構成的一對,及由第七串列訊號接收埠211與第七串列訊號發送埠212所構成的一對。The first computer 1 and the second computer 2 respectively comprise two pairs of serial signal transceivers. The two pairs of serial signal transmission and reception ports of the first computer 1 are: a pair consisting of a fourth serial signal transmission port 101 and a fourth serial signal receiving port 102, and transmitted by the fifth serial signal. 111 and a pair of fifth serial signal receiving ports 112. The two pairs of serial signal transmission and reception ports on the second computer 2 are: a pair formed by the sixth serial signal receiving port 201 and the sixth serial signal transmitting port 202, and received by the seventh serial signal. The pair 211 and the seventh serial signal transmission 212 are formed.

本實施例中,所述周邊設備100還包括第一多路開關10、第二多路開關20及控制晶片30。本實施例中,所述第一多路開關10及第二多路開關20均為兩路開關。所述第一多路開關10的第一端與所述第一串列訊號接收埠11連接,該第一多路開關10的第二端與所述第二串列訊號發送埠21及第三串列訊號發送埠31連接。所述第二多路開關20的第一端與所述第一串列訊號發送埠12連接,該第二多路開關20的第二端與所述第二串列訊號接收埠22及第三串列訊號接收埠32連接。所述控制晶片30的第一端與所述第一串列訊號接收埠11連接,該控制晶片30的第二端與所述第一多路開關10及第二多路開關20連接。In this embodiment, the peripheral device 100 further includes a first multiplexer 10, a second multiplexer 20, and a control chip 30. In this embodiment, the first multiplexer 10 and the second multiplexer 20 are two-way switches. The first end of the first multiplexer 10 is connected to the first serial signal receiving port 11, the second end of the first multiplexer 10 and the second serial signal are sent 21 and third. The serial signal is sent to the 31 connection. The first end of the second multiplexer 20 is connected to the first serial signal transmission port 12, the second end of the second multiplexer 20 and the second serial signal receiving port 22 and the third The serial signal receives 埠32 connection. The first end of the control chip 30 is connected to the first serial signal receiving port 11 , and the second end of the control chip 30 is connected to the first multiplexer 10 and the second multiplexer 20 .

所述控制晶片30用於透過控制所述第一多路開關10及第二多路開關20同時作切換操作,來使得所述第一電腦1分別與所述第二電腦2的兩對串列訊號收發埠的建立串列通訊連接(具體細節在圖2中詳細介紹)。The control chip 30 is configured to control the first multiplexer 10 and the second multiplexer 20 to perform a switching operation at the same time, so that the first computer 1 and the second computer 2 are respectively arranged in two pairs. The serial communication connection is established by signal transmission and reception (details are detailed in Figure 2).

本實施例中,所述控制晶片30內燒錄或安裝有軟體程式模組,如預設模組301、偵測模組302及控制模組303。所述模組是指能完成特定功能的程式段。關於各模組的功能將在圖2的流程圖中具體描述。In this embodiment, the control chip 30 is programmed or installed with a software program module, such as a preset module 301, a detection module 302, and a control module 303. The module refers to a program segment that can perform a specific function. The function of each module will be specifically described in the flowchart of FIG. 2.

參閱圖2所示,是本發明利用周邊設備100實現所述第一電腦1的一對串列訊號收發埠分別與所述第二電腦2的兩對串列訊號收發埠的建立通訊連接的方法的較佳實施例的流程圖。Referring to FIG. 2, the method for establishing a communication connection between the pair of serial signal transmission and reception of the first computer 1 and the two pairs of serial signal transmission and reception of the second computer 2 by using the peripheral device 100 A flow chart of a preferred embodiment.

步驟S1,將周邊設備100分別與所述第一電腦1的一對串列訊號接收埠和第二電腦2的兩對串列訊號接收埠相連接。In step S1, the peripheral device 100 is respectively connected to the pair of serial signal receiving ports of the first computer 1 and the two pairs of serial signal receiving ports of the second computer 2.

具體地,將所述周邊設備100的第一串列訊號接收埠11與所述第一電腦1的第四串列訊號發送埠101連接,將所述第一串列訊號發送埠12與所述第一電腦1的第四串列訊號接收埠102連接。在其他事實例中,也可將所述第一串列訊號接收埠11與所述第一電腦1的第五串列訊號發送埠111連接,將所述第一串列訊號發送埠12與所述第一電腦1的第五串列訊號接收埠112連接。即所述周邊設備100僅需與所述第一電腦1的一對串列訊號收發埠連接。Specifically, the first serial signal receiving port 11 of the peripheral device 100 is connected to the fourth serial signal transmitting port 101 of the first computer 1, and the first serial signal is sent to the first and second serial signals. The fourth serial signal receiving port 102 of the first computer 1 is connected. In other facts, the first serial signal receiving port 11 may be connected to the fifth serial signal transmitting port 111 of the first computer 1, and the first serial signal may be sent to the first and second serial signals. The fifth serial signal receiving port 112 of the first computer 1 is connected. That is, the peripheral device 100 only needs to be connected to the pair of serial signals of the first computer 1.

同時,將該周邊設備100的第二串列訊號發送埠21與所述第二電腦2的第六串列訊號接收埠201連接,將該周邊設備100的第二串列訊號接收埠22與所述第二電腦2的第六串列訊號發送埠202連接,並將該周邊設備100的所述第三串列訊號發送埠31與該第二電腦2的第七串列訊號接收埠211連接,及將該周邊設備100的第三串列訊號接收埠32與該第二電腦2的第七串列訊號發送埠212連接。即所述周邊設備100需與所述第二電腦2的兩對串列訊號收發埠相連接。At the same time, the second serial signal transmission port 21 of the peripheral device 100 is connected to the sixth serial signal receiving port 201 of the second computer 2, and the second serial signal of the peripheral device 100 is received and received. The sixth serial signal transmission port 202 of the second computer 2 is connected, and the third serial signal transmission port 31 of the peripheral device 100 is connected to the seventh serial signal receiving port 211 of the second computer 2, And connecting the third serial signal receiving port 32 of the peripheral device 100 to the seventh serial signal transmitting port 212 of the second computer 2. That is, the peripheral device 100 needs to be connected to the two pairs of serial signal transceivers of the second computer 2.

步驟S2,預設模組301預設所述第一多路開關10將所述第一串列訊號接收埠11與第二串列訊號發送埠21導通,同時,預設所述第二多路開關20將所述第一串列訊號發送埠12與所述第二串列訊號接收埠22導通。那麼所述第一電腦1即利用該周邊設備100與所述第二電腦2建立了串列通訊連接。此時,所述第一電腦1是與該第二電腦2的第六串列訊號接收埠201與第六串列訊號發送埠202所構成的一對串列訊號收發埠建立串列通訊連接。In step S2, the preset module 301 presets the first multiplexer 10 to turn on the first serial signal receiving port 11 and the second serial signal transmitting port 21, and preset the second multipath. The switch 20 turns on the first serial signal transmission 埠12 and the second serial signal reception 埠22. Then, the first computer 1 establishes a serial communication connection with the second computer 2 by using the peripheral device 100. At this time, the first computer 1 establishes a serial communication connection with a pair of serial signal transceivers formed by the sixth serial signal receiving port 201 and the sixth serial signal transmitting port 202 of the second computer 2.

需要說明的是,在其他實施例中,所述預設模組301也可預設所述第一多路開關10將所述第一串列訊號接收埠11與所述第三串列訊號發送埠31導通,同時,預設所述第二多路開關20將所述第一串列訊號發送埠12與所述第三串列訊號接收埠32導通。It should be noted that, in other embodiments, the preset module 301 may also preset the first multiplexer 10 to send the first serial signal receiving port 11 and the third serial signal. The 埠31 is turned on, and at the same time, the second multiplexer 20 is preset to conduct the first serial signal transmission 埠12 and the third serial signal receiving 埠32.

步驟S3,偵測模組302即時偵測所述第一串列訊號接收埠11是否接收到從所述第一電腦1發送過來的將所述第一多路開關10及第二多路開關20作通道切換的訊號。當偵測到所述將第一多路開關10及第二多路開關20作通道切換的訊號時,執行步驟S4,否則,繼續執行步驟S3。In step S3, the detecting module 302 immediately detects whether the first serial signal receiving port 11 receives the first multiplexer 10 and the second multiplexer 20 sent from the first computer 1. Signal for channel switching. When the signal for switching the first multiplexer 10 and the second multiplexer 20 is detected, step S4 is performed; otherwise, step S3 is continued.

具體地,當所述第一電腦1希望與所述第二電腦2的另外一對串列訊號收發埠(即由所述第七串列訊號接收埠211與第七串列訊號發送埠212所構成的串列訊號收發埠)建立通訊連接時,所述第一電腦1即可發送所述將第一多路開關10、第二多路開關20作通道切換的訊號到所述第一串列訊號接收埠11。則所述偵測模組302即可偵測到所述將第一多路開關10、第二多路開關20作通道切換的訊號,此時執行步驟S4。Specifically, when the first computer 1 desires to transmit and receive another pair of serial signals of the second computer 2 (ie, the seventh serial signal receiving unit 211 and the seventh serial signal transmitting unit 212) The first computer 1 can send the signal for switching the first multiplexer 10 and the second multiplexer 20 to the first series when the communication connection is established. The signal is received 埠11. The detecting module 302 can detect the signal for switching the first multiplexer 10 and the second multiplexer 20, and step S4 is performed.

步驟S4,控制模組303控制所述第一多路開關10及第二多路開關20同時作通道切換。In step S4, the control module 303 controls the first multiplexer 10 and the second multiplexer 20 to perform channel switching at the same time.

具體地,所述控制模組303控制所述第一多路開關10斷開所述第一串列訊號接收埠11與所述第二串列訊號發送埠21的連接,而導通該第一串列訊號接收埠11與所述第三串列訊號發送埠31的連接,同時控制所述第二多路開關20斷開所述第一串列訊號發送埠12與所述第二串列訊號接收埠22的連接,而導通所述第一串列訊號發送埠12與所述第三串列訊號接收埠32的連接。完成所述通道切換操作後,所述第一電腦1即與第二電腦2的第七串列訊號接收埠211、第七串列訊號發送埠212所構成的一對串列訊號收發埠建立串列通訊連接。Specifically, the control module 303 controls the first multiplexer 10 to disconnect the first serial signal receiving port 11 and the second serial signal transmitting port 21, and turns on the first string. The signal receiving port 11 is connected to the third serial signal transmitting port 31, and controls the second multiplex switch 20 to disconnect the first serial signal transmitting unit 12 and the second serial signal receiving unit. The connection of the first string signal is transmitted to the third serial signal receiving port 32. After the channel switching operation is completed, the first computer 1 and the second serial signal receiving unit 211 and the seventh serial signal transmitting unit 212 of the second computer 2 are configured to transmit and receive a pair of serial signals. Column communication connection.

需要說明的是,本實施例中的所述偵測模組302一旦偵測到所述第一電腦1發送過來的將所述第一多路開關10、第二多路開關20作通道切換的訊號時,所述控制模組303即控制所述第一多路開關10及第二多路開關20做通道切換操作。It should be noted that, when the detection module 302 in the embodiment detects that the first multiplexer 10 and the second multiplexer 20 are switched by the first computer 1, During the signal, the control module 303 controls the first multiplexer 10 and the second multiplexer 20 to perform a channel switching operation.

也即當所述第一電腦1再次發送一個將所述第一多路開關10、第二多路開關20作通道切換的訊號到所述周邊設備100時,所述控制模組303即控制所述第一多路開關10斷開所述第一串列訊號接收埠11與所述第三串列訊號發送埠31的連接,而導通該第一串列訊號接收埠11與所述第二串列訊號發送埠21的連接,同時控制所述第二多路開關20斷開所述第一串列訊號發送埠12與所述第三串列訊號接收埠32的連接,而導通所述第一串列訊號發送埠12與所述第二串列訊號接收埠22的連接。即所述第一電腦1利用該周邊設備100,再次與所述第二電腦2的第六串列訊號接收埠201、第六串列訊號發送埠202所構成的一對串列訊號收發埠建立串列通訊連接。That is, when the first computer 1 transmits a signal for switching the first multiplexer 10 and the second multiplexer 20 to the peripheral device 100 again, the control module 303 is a control station. The first multiplexer 10 disconnects the first serial signal receiving port 11 from the third serial signal transmitting port 31, and turns on the first serial signal receiving port 11 and the second string. The column signal transmits the connection of the port 21, and controls the second multiplexer 20 to disconnect the first serial signal transmission port 12 from the third serial signal receiving port 32, and turns on the first The serial signal transmission 埠12 is connected to the second serial signal receiving port 22. That is, the first computer 1 uses the peripheral device 100 to establish a pair of serial signal transmission and reception ports constituting the sixth serial signal receiving unit 201 and the sixth serial signal transmitting unit 202 of the second computer 2 again. Serial communication connection.

從本發明的流程步驟可以看出,本發明所述周邊設備100僅與所述第一電腦1的一對串列訊號收發埠連接,該周邊設備100預設所述第一電腦1與所述第二電腦2的其中一對串列訊號收發埠連接,而當所述第一電腦1需要與所述第二電腦2的另外一對串列訊號收發埠連接時,所述第一電腦1只需發送一個將所述第一多路開關10、第二多路開關20作通道切換的訊號給所述周邊設備100,即可由該周邊設備100透過控制所述第一多路開關10及第二多路開關20同時作切換操作,來實現所述第一電腦1與該第二電腦2的另外一對串列訊號收發埠的通訊連接。It can be seen from the process steps of the present invention that the peripheral device 100 of the present invention is only connected to a pair of serial signal transceivers of the first computer 1, and the peripheral device 100 presets the first computer 1 and the One pair of serial signals of the second computer 2 is connected and connected, and when the first computer 1 needs to be connected to another pair of serial signals of the second computer 2, the first computer 1 A signal for switching the first multiplexer 10 and the second multiplexer 20 for channel switching needs to be sent to the peripheral device 100, and the peripheral device 100 can control the first multiplexer 10 and the second The multiplexer 20 simultaneously performs a switching operation to realize a communication connection between the first computer 1 and the other pair of serial signals of the second computer 2.

相較於習知技術,本發明所述周邊設備100僅需與所述第一電腦1的一對串列訊號收發埠連接,即可實現所述第一電腦1分別與所述第二電腦2的兩對串列訊號收發埠的通訊連接,節省了該第一電腦1上的一對串列訊號收發埠資源。Compared with the prior art, the peripheral device 100 of the present invention only needs to be connected to the pair of serial signals of the first computer 1 to realize the first computer 1 and the second computer 2 respectively. The communication connection between the two pairs of serial signals is saved, and the pair of serial signal transmission and reception resources on the first computer 1 are saved.

本發明在實際的運用中,例如背景技術所述的測試主機需控制伺服器執行不同硬體系統下的測試時,由於伺服器的用戶主系統與BMC(Baseboard Management Controller)管理系統共用該伺服器的一對串列訊號收發埠,伺服器的SAS(Serial Attached SCSI)控制器系統及SAS擴展(SAS Expander)系統共用該伺服器的另外一對串列訊號收發埠,則測試主機即可作為本實施例中第一電腦1與所述周邊設備100連接,伺服器作為本實施例中的第二電腦2與該周邊設備100連接,即可使得該測試主機可以控制伺服器執行不同硬體系統下的測試。In the actual application, for example, the test host described in the background art needs to control the server to perform testing under different hardware systems, because the server main system of the server and the BMC (Baseboard Management Controller) management system share the server. After a pair of serial signals are transmitted and received, the server's SAS (Serial Attached SCSI) controller system and the SAS Expander system share the other pair of serial signals of the server, and the test host can serve as the host. In the embodiment, the first computer 1 is connected to the peripheral device 100, and the server is connected to the peripheral device 100 as the second computer 2 in this embodiment, so that the test host can control the server to execute under different hardware systems. Test.

以上實施例僅用以說明本發明的技術方案而非限制,儘管參照以上較佳實施例對本發明進行了詳細說明,本領域的普通技術人員應當理解,可以對本發明的技術方案進行修改或等同替換都不應脫離本發明技術方案的精神和範圍。The above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to be limiting, and the present invention will be described in detail with reference to the preferred embodiments thereof, and those skilled in the art should understand that the technical solutions of the present invention may be modified or substituted. Neither should the spirit and scope of the technical solutions of the present invention be deviated.

no

1‧‧‧第一電腦 1‧‧‧First computer

2‧‧‧第二電腦 2‧‧‧Second computer

100‧‧‧周邊設備 100‧‧‧ Peripherals

11‧‧‧第一串列訊號接收埠 11‧‧‧First serial signal reception埠

12‧‧‧第一串列訊號發送埠 12‧‧‧First serial signal transmission埠

21‧‧‧第二串列訊號發送埠 21‧‧‧Second serial signal transmission埠

22‧‧‧第二串列訊號接收埠 22‧‧‧Second serial signal reception埠

31‧‧‧第三串列訊號發送埠 31‧‧‧ Third serial signal transmission埠

32‧‧‧第三串列訊號接收埠 32‧‧‧ Third serial signal reception埠

101‧‧‧第四串列訊號發送埠 101‧‧‧fourth serial signal transmission埠

102‧‧‧第四串列訊號接收埠 102‧‧‧ Fourth serial signal reception埠

111‧‧‧第五串列訊號發送埠 111‧‧‧The fifth serial signal transmission埠

112‧‧‧第五串列訊號接收埠 112‧‧‧ Fifth serial signal reception埠

201‧‧‧第六串列訊號接收埠 201‧‧‧Sixth serial signal reception埠

202‧‧‧第六串列訊號發送埠 202‧‧‧Sixth serial signal transmission埠

211‧‧‧第七串列訊號接收埠 211‧‧‧Seventh serial signal reception埠

212‧‧‧第七串列訊號發送埠 212‧‧‧Seventh serial signal transmission埠

30‧‧‧控制晶片 30‧‧‧Control chip

301‧‧‧預設模組 301‧‧‧Preset module

302‧‧‧偵測模組 302‧‧‧Detection module

303‧‧‧控制模組 303‧‧‧Control Module

10‧‧‧第一多路開關 10‧‧‧First multi-way switch

20‧‧‧第二多路開關 20‧‧‧Second multi-way switch

Claims (4)

一種周邊設備,該周邊設備包括第一串列訊號接收埠及第一串列訊號發送埠、第二串列訊號接收埠及第二串列訊號發送埠、及第三串列訊號接收埠及第三串列訊號發送埠,該周邊設備還包括第一多路開關、第二多路開關及控制晶片,所述第一多路開關的第一端與所述第一串列訊號接收埠連接,該第一多路開關的第二端與所述第二串列訊號發送埠及第三串列訊號發送埠連接,所述第二多路開關的第一端與所述第一串列訊號發送埠連接,該第二多路開關的第二端與所述第二串列訊號接收埠及第三串列訊號接收埠連接,所述控制晶片用於控制所述第一多路開關及第二多路開關的通道切換。A peripheral device comprising a first serial signal receiving port and a first serial signal transmitting port, a second serial signal receiving port and a second serial signal transmitting port, and a third serial signal receiving port and a The three-column signal is transmitted, the peripheral device further includes a first multiplexer, a second multiplexer, and a control chip, and the first end of the first multiplexer is connected to the first serial signal receiving port, The second end of the first multiplexer is connected to the second serial signal transmission 埠 and the third serial signal transmission ,, and the first end of the second multiplexer is sent with the first serial signal The second end of the second multiplexer is connected to the second serial signal receiving port and the third serial signal receiving port, and the control chip is configured to control the first multiplex switch and the second Channel switching of the multiplexer. 如申請專利範圍第1項所述的周邊設備,所述控制晶片的第一端與所述第一串列訊號接收埠連接,該控制晶片的第二端與所述第一及第二多路開關連接。The peripheral device of claim 1, wherein the first end of the control chip is coupled to the first serial signal receiving port, and the second end of the control chip is coupled to the first and second plurality Switch connection. 一種利用申請專利範圍第1項所述的周邊設備建立通訊連接的系統,包括:
預設模組,用於預設所述第一多路開關導通所述第一串列訊號接收埠與所述第二串列訊號發送埠的連接,同時預設所述第二多路開關導通所述第一串列訊號發送埠與所述第二串列訊號接收埠的連接,或者,用於預設所述第一多路開關導通所述第一串列訊號接收埠與所述第三串列訊號發送埠的連接,同時預設所述第二多路開關導通所述第一串列訊號發送埠與所述第三串列訊號接收埠的連接;
偵測模組,用於偵測所述第一串列訊號接收埠是否接收到將所述第一及第二多路開關作通道切換的訊號;及
控制模組,用於當接收到所述將第一及第二多路開關作通道切換的訊號時,控制所述第一及第二多路開關同時作通道切換操作。
A system for establishing a communication connection by using the peripheral device described in claim 1 of the patent scope includes:
a preset module, configured to preset, by the first multiplexer, a connection between the first serial signal receiving port and the second serial signal transmitting port, and preset the second multiplex switch to be turned on The first serial signal is transmitted and connected to the second serial signal receiving port, or is configured to preset the first multi-switch to turn on the first serial signal receiving port and the third The serial signal transmits a connection of the UI, and presets that the second multiplexing switch turns on the connection between the first serial signal transmission and the third serial signal receiving port;
a detecting module, configured to detect whether the first serial signal receiving device receives a signal for switching the first and second multiplex switches, and a control module, when receiving the When the first and second multiplexers are used as channel switching signals, the first and second multiplexers are controlled to perform channel switching operations at the same time.
一種利用申請專利範圍第1項所述的周邊設備建立通訊連接的方法,包括:
連接步驟,將所述周邊設備的第一串列訊號接收埠及第一串列訊號發送埠與第一電腦相連,及將所述周邊設備的第二串列訊號接收埠與第二串列訊號發送埠及第三串列訊號接收埠與第三串列訊號發送埠分別與第二電腦相連;
預設步驟,預設所述第一多路開關導通所述第一串列訊號接收埠與所述第二串列訊號發送埠的連接,同時預設所述第二多路開關導通所述第一串列訊號發送埠與所述第二串列訊號接收埠的連接,或者,預設所述第一多路開關導通所述第一串列訊號接收埠與所述第三串列訊號發送埠的連接,同時預設所述第二多路開關導通所述第一串列訊號發送埠與所述第三串列訊號接收埠的連接;
偵測步驟,偵測所述第一串列訊號接收埠是否接收到將所述第一及第二多路開關作通道切換的訊號;及
控制步驟,當接收到所述將第一及第二多路開關作通道切換的訊號時,控制所述第一及第二多路開關同時作通道切換操作。
A method for establishing a communication connection by using a peripheral device as described in claim 1 of the patent application scope, comprising:
a connecting step of transmitting the first serial signal receiving port and the first serial signal of the peripheral device to the first computer, and receiving the second serial signal of the peripheral device and the second serial signal The sending 埠 and the third serial signal receiving 埠 and the third serial signal transmitting 埠 are respectively connected to the second computer;
a preset step of presetting, by the first multiplexer, a connection between the first serial signal receiving port and the second serial signal transmitting port, and presetting the second multiplex switch to turn on the first Sending a serial signal to the second serial signal receiving port, or presetting the first multi-switch to turn on the first serial signal receiving port and the third serial signal signal And connecting, by the second multiplexer, the connection of the first serial signal transmission and the third serial signal receiving ;;
a detecting step of detecting whether the first serial signal receiving signal receives a signal for switching the first and second multiplex switches, and a controlling step, when receiving the first and second When the multi-way switch is used as the channel switching signal, the first and second multi-way switches are controlled to perform channel switching operations at the same time.
TW102123555A 2013-06-27 2013-07-01 Peripheral equipment, and system and method of establishing communication connection by using the same TW201500929A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310261354.7A CN104252436A (en) 2013-06-27 2013-06-27 Interface equipment, and system and method for establishing communication connection by employing same

Publications (1)

Publication Number Publication Date
TW201500929A true TW201500929A (en) 2015-01-01

Family

ID=52187349

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102123555A TW201500929A (en) 2013-06-27 2013-07-01 Peripheral equipment, and system and method of establishing communication connection by using the same

Country Status (2)

Country Link
CN (1) CN104252436A (en)
TW (1) TW201500929A (en)

Also Published As

Publication number Publication date
CN104252436A (en) 2014-12-31

Similar Documents

Publication Publication Date Title
KR101631197B1 (en) Integration panel
CN103685980B (en) Video signal backup method and system and video signal transmission method and system
US20120324137A1 (en) Expander to control multipaths in a storage network
WO2018233222A1 (en) Design method and apparatus for self-recognition of m.2 capable of flexibly supporting pcie and sata protocols
TW201433923A (en) System and method of debugging BMC UART
CN105323080B (en) A kind of link backup, power supply backup method, apparatus and system
JP2009268044A (en) Data transmission bridge device, control chip thereof and data transmission bridge method
WO2011011915A1 (en) Data communication method, communication equipment and communication system
JP5216604B2 (en) Wireless device
US8407390B2 (en) Method and apparatus for data processing
US20090077275A1 (en) Multiple I/O interfacing system for a storage device and communicating method for the same
CN105703935B (en) Tool automatically switches the server system of shared network function
US7610422B2 (en) Isolation and transmission of digital signals in intended direction
CN104636303A (en) Bus control method, electronic equipment and bus system
KR20150008746A (en) Peripheral Component Interconnect Express switch apparatus and method for controlling connection using the same
CN102594605B (en) Dual-host port universal serial bus (USB) hub and working method thereof
WO2017215672A1 (en) Power supply method and power supply device in poe system
TW201500929A (en) Peripheral equipment, and system and method of establishing communication connection by using the same
US20120271980A1 (en) Test device and method for testing serial ports of computing device
US7117288B2 (en) USB dynamic service switch for dual processor architecture
US20140347279A1 (en) Keyboard device with switchable connection path and its switching method
WO2016179751A1 (en) Signal backup system and method for near-end machine of active das
CN109885519B (en) Connection switching method for serial port of main control board and main control board
JP2017204720A (en) Communication device
CN107402898B (en) Information processing method and electronic equipment