Interface conversion device and equipment

文档序号:510385 发布日期:2021-05-28 浏览:2次 中文

阅读说明:本技术 一种接口转换装置及设备 (Interface conversion device and equipment ) 是由 梁红伟 余宏俊 于 2019-11-28 设计创作,主要内容包括:本申请实施例公开了一种接口转换装置及设备。该装置包括:第一转换模块,用于将第一类型的通信协议转换为目标通信协议;第二转换模块,用于将第二类型的通信协议转换为目标通信协议;接口连接模块,与硬盘接口连接,用于识别硬盘接口类型,生成并发送接口识别信号;通道控制模块,与接口连接模块电连接,与第一转换模块和第二转换模块之间分别形成有第一转换通道和第二转换通道;通道控制模块还根据接收到的接口识别信号确定硬盘接口类型,选择相应转换通道连通。通过执行本技术方案,可以将硬盘接口转换为PCIe接口,以供不同功能的PCIe插卡与硬盘接口连接,从而达到提高挂载数量以及灵活控制挂载空间的效果。(The embodiment of the application discloses an interface conversion device and equipment. The device includes: the first conversion module is used for converting the first type of communication protocol into a target communication protocol; the second conversion module is used for converting the second type of communication protocol into a target communication protocol; the interface connection module is connected with the hard disk interface and used for identifying the type of the hard disk interface and generating and sending an interface identification signal; the channel control module is electrically connected with the interface connection module, and a first conversion channel and a second conversion channel are respectively formed between the channel control module and the first conversion module and between the channel control module and the second conversion module; the channel control module also determines the type of the hard disk interface according to the received interface identification signal and selects a corresponding conversion channel to be communicated. Through carrying out this technical scheme, can convert the hard disk interface into the PCIe interface to supply the PCIe plug-in card and the hard disk interface connection of different functions, thereby reach the effect that improves mount quantity and nimble control mount space.)

1. An interface conversion apparatus, comprising: first conversion module, second conversion module, interface connection module and passageway control module, wherein:

the first conversion module is used for converting the first type of communication protocol into a target communication protocol;

the second conversion module is used for converting the second type of communication protocol into a target communication protocol;

the interface connection module is connected with a hard disk interface and used for identifying the type of the hard disk interface, generating and sending an interface identification signal;

the channel control module is connected to the interface connection module through the first conversion module and the second conversion module respectively, and forms a first conversion channel and a second conversion channel; the channel control module is connected with the interface connection module to receive the interface identification signal;

the channel control module is used for determining the type of a hard disk interface according to the interface identification signal, and controlling the first conversion channel to be communicated if the type of the hard disk interface is a first type; if the type of the hard disk interface is a second type, controlling the second conversion channel to be communicated; and connected to a target device using the target communication protocol.

2. The apparatus of claim 1, wherein the interfacing module supports the target communication protocol;

the interface connection module is further configured to: converting the third type of communication protocol to a target communication protocol; and is connected with the channel control module to form a third switching channel;

the channel control module is further configured to: and if the hard disk interface type is determined to be the third type, controlling the third conversion channel to be communicated.

3. The apparatus of claim 2, wherein the interfacing module comprises: an SFF-8639 connector;

the SFF-8639 connector is particularly configured to:

if the S8 pin of the SFF-8639 connector is detected to be grounded, identifying that the hard disk interface supports a first type of communication protocol;

if the S1 pin of the SFF-8639 connector is detected to be grounded, identifying that the hard disk interface supports a second type of communication protocol;

and if the E15 pin of the SFF-8639 connector is detected to be grounded, identifying that the hard disk interface supports a third type of communication protocol.

4. The apparatus according to claim 3, wherein the channel control module is specifically configured to identify according to the following priority order:

if the E15 pin of the SFF-8639 connector is grounded, identifying that the hard disk interface type is a third type;

if the E15 pin of the SFF-8639 connector is suspended and the S1 pin is grounded, identifying that the hard disk interface type is a second type;

if the pin E15 and the pin S1 of the SFF-8639 connector are both floating and the pin S8 is grounded, the type of the hard disk interface is identified as the first type.

5. The apparatus of claim 4, wherein the interface converting means further comprises:

the detection module is used for detecting the grounding state of each pin of the SFF-8639 connector.

6. The apparatus of any of claims 2-4, wherein the first type comprises a SAS type hard disk interface, the second type comprises a SATA type hard disk interface, and the third type comprises a PCIe type hard disk interface.

7. The apparatus of claim 6, wherein the first type of communication protocol comprises a SAS protocol; the second type of communication protocol comprises a SATA protocol; the third type of communication protocol comprises a PCIe protocol.

8. The apparatus of claim 1, wherein the first conversion module comprises at least one of a conversion chip, a field programmable gate array, and a microprocessor;

the second conversion module comprises at least one of a conversion chip, a field programmable gate array and a microprocessor.

9. The apparatus of claim 1, wherein the channel control module further comprises a high speed switch.

10. An interface conversion apparatus, comprising: an interface conversion arrangement according to any one of claims 1 to 9.

Technical Field

The embodiment of the application relates to the technical field of computers, in particular to an interface conversion device and equipment.

Background

In the present day when the internet technology is rapidly developed, most service platforms need to perform server arrangement. In a standard server, a standard PCIe (Peripheral Component Interconnect Express) card is commonly used for an expansion network port, an optical port, a GPU, and the like. However, with the development of information technology, the number of PCIe cards required on the server is increasing, the density is increasing, and the power consumption is increasing, and the current standard PCIe card has an irregular shape and a complex fixing manner, and is inconvenient to apply to the ultrahigh-density device. In the server, the hard disk is generally connected to a server backplane. The hard disk has regular appearance and larger overall space and can be configured in a high-density mode. However, the hard disk interface is incompatible with the interface of the PCIe card, which results in the limitation of the mount number of the PCIe card to the PCIe interface number of the server, and is not favorable for improving the mount number of the PCIe card and the flexibility of mount space control.

Disclosure of Invention

The embodiment of the application provides an interface conversion device and equipment, can be through converting the hard disk interface into the PCIe interface to supply the PCIe plug-in card and the hard disk interface connection of different functions, thereby reach the effect that improves the mount quantity and nimble control mount space.

In a first aspect, an embodiment of the present application provides an interface conversion apparatus, where the apparatus includes:

first conversion module, second conversion module, interface connection module and passageway control module, wherein:

the first conversion module is used for converting the first type of communication protocol into a target communication protocol;

the second conversion module is used for converting the second type of communication protocol into a target communication protocol;

the interface connection module is connected with a hard disk interface and used for identifying the type of the hard disk interface, generating and sending an interface identification signal;

the channel control module is connected to the interface connection module through the first conversion module and the second conversion module respectively, and forms a first conversion channel and a second conversion channel; the channel control module is connected with the interface connection module to receive the interface identification signal;

the channel control module is used for determining the type of a hard disk interface according to the interface identification signal, and controlling the first conversion channel to be communicated if the type of the hard disk interface is a first type; if the type of the hard disk interface is a second type, controlling the second conversion channel to be communicated; and connected to a target device using the target communication protocol.

Optionally, the interface connection module supports the target communication protocol;

the interface connection module is further configured to: converting the third type of communication protocol to a target communication protocol; and is connected with the channel control module to form a third switching channel;

the channel control module is further configured to: and if the hard disk interface type is determined to be the third type, controlling the third conversion channel to be communicated.

Optionally, the interface connection module includes: an SFF-8639 connector;

the SFF-8639 connector is particularly configured to:

if the S8 pin of the SFF-8639 connector is detected to be grounded, identifying that the hard disk interface supports a first type of communication protocol;

if the S1 pin of the SFF-8639 connector is detected to be grounded, identifying that the hard disk interface supports a second type of communication protocol;

and if the E15 pin of the SFF-8639 connector is detected to be grounded, identifying that the hard disk interface supports a third type of communication protocol.

Optionally, the channel control module is specifically configured to identify according to the following priority order:

if the E15 pin of the SFF-8639 connector is grounded, identifying that the hard disk interface type is a third type;

if the E15 pin of the SFF-8639 connector is suspended and the S1 pin is grounded, identifying that the hard disk interface type is a second type;

if the pin E15 and the pin S1 of the SFF-8639 connector are both floating and the pin S8 is grounded, the type of the hard disk interface is identified as the first type.

Optionally, the interface conversion apparatus further includes:

the detection module is used for detecting the grounding state of each pin of the SFF-8639 connector.

Optionally, the first type includes an SAS type hard disk interface, the second type includes an SATA type hard disk interface, and the third type includes a PCIe type hard disk interface.

Optionally, the first type of communication protocol includes a SAS protocol; the second type of communication protocol comprises a SATA protocol; the third type of communication protocol comprises a PCIe protocol.

Optionally, the first conversion module includes at least one of a conversion chip, a field programmable gate array, and a microprocessor;

the second conversion module comprises at least one of a conversion chip, a field programmable gate array and a microprocessor.

Optionally, the channel control module further includes a high-speed switch.

In a second aspect, an embodiment of the present application provides an interface conversion apparatus, including: any interface conversion device provided by the embodiment of the invention.

According to the technical scheme provided by the embodiment of the application, the interface conversion device comprises: first conversion module, second conversion module, interface connection module and passageway control module, wherein: the first conversion module is used for converting the first type of communication protocol into a target communication protocol; the second conversion module is used for converting the second type of communication protocol into a target communication protocol; the interface connection module is connected with a hard disk interface and used for identifying the type of the hard disk interface, generating and sending an interface identification signal; the channel control module is connected to the interface connection module through the first conversion module and the second conversion module to form a first conversion channel and a second conversion channel respectively; the channel control module is connected with the interface connection module to receive the interface identification signal; the channel control module is used for determining the type of a hard disk interface according to the interface identification signal, and controlling the first conversion channel to be communicated if the type of the hard disk interface is a first type; if the type of the hard disk interface is a second type, controlling the second conversion channel to be communicated; and connected to a target device using the target communication protocol.

Through adopting the technical scheme that this application provided, can convert the hard disk interface into the PCIe interface to supply the PCIe plug-in card and the hard disk interface connection of different functions, thereby reach the effect that improves mount quantity and nimble control mount space.

Drawings

Fig. 1 is a schematic structural diagram of an interface conversion apparatus according to an embodiment of the present application.

Detailed Description

The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.

Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.

Example one

Fig. 1 is a schematic structural diagram of an interface conversion apparatus provided in an embodiment of the present application, where the present embodiment is applicable to interface protocol conversion, and the apparatus may be implemented by software and/or hardware and may be integrated in an interface conversion device.

As shown in fig. 1, the interface converting apparatus includes:

an interface connection module 110, a first conversion module 120, a second conversion module 130, and a channel control module 140, wherein:

the first conversion module 120 is configured to convert the first type of communication protocol into a target communication protocol;

the second conversion module 130 is configured to convert the second type of communication protocol into a target communication protocol;

the interface connection module 110 is connected to a hard disk interface, and is configured to identify the type of the hard disk interface, generate and send an interface identification signal;

the channel control module 140 is connected to the interface connection module 110 through the first conversion module 120 and the second conversion module 130 to form a first conversion channel and a second conversion channel, respectively; the channel control module is connected to the interface connection module 110 to receive the interface identification signal;

the channel control module 140 is configured to determine a hard disk interface type according to the interface identification signal, and if the hard disk interface type is a first type, control the first conversion channel to communicate; if the type of the hard disk interface is a second type, controlling the second conversion channel to be communicated; and connected to a target device using the target communication protocol.

The interface connection module may be a module for connecting with a hard disk interface, and the interface may be in a form of adapting to the hard disk interface. The hard disk interface may be a hard disk interface disposed on the server backplane. If the interface connection module is connected to the server backplane, the interface form and the interface protocol need to be converted when the PCIe device is connected. However, since there is more than one type of hard disk interface, in this scheme, the type of the hard disk interface can be identified through the interface connection module.

In this embodiment, optionally, the first type is an SAS type hard disk interface, and the second type is an SATA type hard disk interface. Specifically, the type of the hard disk interface may be a first type and a second type, and the interface connection module may determine the type of the hard disk interface by detecting an electrical signal of the hard disk interface through a pin. For example, because the SAS type hard disk interface and the SATA type hard disk interface are in an initial state, the electrical signals on the pins are different, and if the 4 th pin of the SAS type hard disk interface is always at a high level, but the SATA type hard disk interface is not, the type of the hard disk interface may be determined by detecting whether the electrical signal of the 4 th pin of the hard disk interface is at a high level.

The first conversion module is used for converting the first type of communication protocol into a target communication protocol; and the second conversion module is used for converting the second type of communication protocol into the target communication protocol. Wherein the target communication protocol may be a communication protocol compliant with the PCIe device. Accordingly, the first type of communication protocol may be a communication protocol of an SAS type hard disk interface, and the second type of communication protocol may be a communication protocol of an SATA type hard disk interface. The first conversion module may be used to convert between the SAS protocol and the PCIe protocol,

the second conversion module may be configured to convert between a SATA protocol and a PCIe protocol.

The channel control module is connected to the interface connection module through the first conversion module and the second conversion module to respectively form a first conversion channel and a second conversion channel; and is directly connected with the interface connection module to receive the interface identification signal. Wherein the interface identification signal may include the identified type of hard disk interface.

The channel control module is used for determining the type of a hard disk interface according to the received interface identification signal, and controlling the first conversion channel to be communicated if the type of the hard disk interface is a first type; if the type of the hard disk interface is a second type, controlling the second conversion channel to be communicated; and connects to a target device using a target communication protocol. After the first conversion channel or the second conversion channel is controlled to be communicated, the converted information can be obtained and can be connected with the target equipment, and the converted information is sent to the target equipment.

It is worth mentioning that the scheme not only can transmit the data of the hard disk interface to the target device, but also can transmit the data of the target device to the hard disk interface after conversion.

According to the technical scheme provided by the embodiment of the application, the interface conversion device comprises: interface connection module, first conversion module, second conversion module and passageway control module, wherein: the first conversion module is used for converting the first type of communication protocol into a target communication protocol; the second conversion module is used for converting the second type of communication protocol into a target communication protocol; the interface connection module is connected with a hard disk interface and used for identifying the type of the hard disk interface, generating an interface identification signal and sending the interface identification signal to the channel control module; the channel control module is connected to the interface connection module through a first conversion module and a second conversion module to respectively form a first conversion channel and a second conversion channel; and is directly connected with the interface connection module to receive the interface identification signal; the channel control module is used for determining the type of a hard disk interface according to the received interface identification signal, and controlling the first conversion channel to be communicated if the type of the hard disk interface is a first type; if the type of the hard disk interface is a second type, controlling the second conversion channel to be communicated; and connects to a target device using a target communication protocol. Through adopting the technical scheme that this application provided, can be through converting the hard disk interface into the PCIe interface to supply the PCIe plug-in card and the hard disk interface connection of different functions, thereby reach the effect that improves mount quantity and nimble control mount space.

On the basis of the above technical solutions, optionally, the interface connection module supports a target communication protocol; the interface connection module is further configured to: converting the third type of communication protocol to a target communication protocol; and is directly connected with the channel control module to form a third conversion channel; the channel control module is further configured to: and if the hard disk interface type is determined to be the third type, controlling the third conversion channel to be communicated. The interface connection module can directly complete the transmission of the data protocol, provided that the hard disk interface belongs to the third type of protocol. For example, the type of the hard disk interface may be an interface type matching the target type, such as the hard disk interface being a PCIe type hard disk interface. Data transmission can be made directly with the channel control module after detection. The technical scheme has the advantages that the compatibility of the device can be improved, and data can be transmitted aiming at various types of hard disk interfaces.

On the basis of the above technical solutions, optionally, the first type includes an SAS type hard disk interface, the second type includes an SATA type hard disk interface, and the third type includes a PCIe type hard disk interface.

On the basis of the above technical solutions, optionally, the first type of communication protocol includes an SAS protocol; the second type of communication protocol comprises a SATA protocol; the third type of communication protocol comprises a PCIe protocol. Wherein the third type of communication protocol may be compatible with the target communication protocol. That is, the communication protocol of the hard disk interface is adapted to the target device, and data transmission can be directly performed.

On the basis of the above technical solutions, optionally, the interface connection module includes: an SFF-8639 connector; the SFF-8639 connector is particularly configured to: if the S8 pin of the SFF-8639 connector is detected to be grounded, identifying that the hard disk interface supports a first type of communication protocol; if the S1 pin of the SFF-8639 connector is detected to be grounded, identifying that the hard disk interface supports a second type of communication protocol; and if the E15 pin of the SFF-8639 connector is detected to be grounded, identifying that the hard disk interface supports a third type of communication protocol. One hard disk interface can simultaneously support multiple types of communication protocols, and can also only support one type of communication protocol. For example, if the pin E15 and the pin S8 are both grounded, it may be determined that the hard disk interface supports both the third type communication protocol and the first type communication protocol. The type of the hard disk interface can be judged by detecting whether the pin corresponding to the hard disk interface is grounded through the pin of the SFF-8639 connector. The advantage of this setting is that can distinguish to different types of hard disk interface, and can also confirm the type of hard disk interface fast and accurately.

On the basis of the above technical solutions, optionally, the channel control module is specifically configured to identify according to the following priority order: if the E15 pin of the SFF-8639 connector is grounded, identifying that the hard disk interface type is a third type; if the E15 pin of the SFF-8639 connector is suspended and the S1 pin is grounded, identifying that the hard disk interface type is a second type; if the pin E15 and the pin S1 of the SFF-8639 connector are both floating and the pin S8 is grounded, the type of the hard disk interface is identified as the first type. The type of the hard disk interface can be identified according to the fixed priority sequence, and the advantage of the setting is that the accuracy of identifying the hard disk interface can be improved. In connection with the above example, when the E15 pin and the S1 or S8 pin are grounded at the same time, it is determined that the type of implementing the hard disk interface is the third type according to the grounding of the E15 pin.

On the basis of the above technical solutions, optionally, the interface conversion apparatus further includes: the detection module is used for detecting the grounding state of each pin of the SFF-8639 connector. The detection module can determine whether each pin is in a grounding state according to the level state of each pin of the connector. The advantage of this arrangement is that the type of hard disk interface can be determined quickly.

On the basis of the above technical solutions, optionally, the first conversion module is composed of at least one of a conversion chip, a field programmable gate array, and a microprocessor; the second conversion module is composed of at least one of a conversion chip, a field programmable gate array and a microprocessor. The first conversion module and the second conversion module may be one or more of a conversion chip, a field programmable gate array, and a microprocessor, and the two conversion modules are responsible for converting an interface protocol, and change a target protocol obtained by conversion is realized by programming after the target protocol required to be obtained is changed. Thereby the application range of the conversion device can be improved.

On the basis of the above technical solutions, optionally, the channel control module includes a high-speed switch. The selection of the transmission channel can be realized through a high-speed switch, and the advantage of the setting is that the channel for carrying out protocol transmission on the hard disk interface can be quickly determined.

Example two

An application embodiment provides an interface conversion apparatus, including: any interface conversion device provided by the embodiment of the invention.

According to the technical scheme provided by the embodiment of the application, the interface conversion device comprises: interface connection module, first conversion module, second conversion module and passageway control module, wherein: the first conversion module is used for converting the first type of communication protocol into a target communication protocol; the second conversion module is used for converting the second type of communication protocol into a target communication protocol; the interface connection module is connected with a hard disk interface and used for identifying the type of the hard disk interface, generating an interface identification signal and sending the interface identification signal to the channel control module; the channel control module is connected to the interface connection module through a first conversion module and a second conversion module to respectively form a first conversion channel and a second conversion channel; and is directly connected with the interface connection module to receive the interface identification signal; the channel control module is used for determining the type of a hard disk interface according to the received interface identification signal, and controlling the first conversion channel to be communicated if the type of the hard disk interface is a first type; if the type of the hard disk interface is a second type, controlling the second conversion channel to be communicated; and connects to a target device using a target communication protocol. Through adopting the technical scheme that this application provided, can convert the hard disk interface into the PCIe interface to supply the PCIe plug-in card and the hard disk interface connection of different functions, thereby reach the effect that improves mount quantity and nimble control mount space.

The product can execute the conversion device provided by any embodiment of the application, and has the functional modules and the beneficial effects corresponding to the conversion device.

It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:多通路数据处理电路及系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!