LVDS-based serial connection method

文档序号:1391165 发布日期:2020-02-28 浏览:21次 中文

阅读说明:本技术 基于lvds的串接方法 (LVDS-based serial connection method ) 是由 孙百勋 于 2019-10-11 设计创作,主要内容包括:本发明涉及一种基于LVDS的串接方法,包括如下步骤:用LVDS串接线连接多级拷贝机电路板,然后上电,端口之间自动进行链路训练;主机通过指令通道向下发送指令,确认拷贝机电路板级联的层数;在硬盘与拷贝机电路板连接且以识别后,主机通过LVDS串接端口命令通道向从机发送拷贝指令,启动所有硬盘拷贝;主机将母盘中的数据读取,并通过LVDS串接端口数据通道向每一级从机发送数据;拷贝结束后,主机通过LVDS串接端口命令通道向从机发送结束命令,完成拷贝。本发明基于LVDS的串接方法,可以实现无限级串接,稳定性强,同时拷贝多张硬盘,减少操作员工作量;自定义传输位宽,可以实现1.6*数据位宽Gb/s的传输速度。(The invention relates to a series connection method based on LVDS, which comprises the following steps: connecting a multistage copying machine circuit board by using an LVDS serial connection line, then electrifying, and automatically performing link training between ports; the host sends an instruction downwards through an instruction channel to confirm the number of layers of the copy machine circuit board cascade connection; after the hard disk is connected with the circuit board of the copy machine and identified, the host sends a copy instruction to the slave through the LVDS serial port command channel to start all hard disk copies; the host reads the data in the master disc and sends the data to each level of slave machines through the LVDS serial port data channel; after copying is finished, the host sends a finishing command to the slave through the LVDS serial port command channel to finish copying. The LVDS-based serial connection method can realize infinite serial connection, has strong stability, simultaneously copies a plurality of hard disks and reduces the workload of operators; and the transmission bit width is customized, and the transmission speed of 1.6 x data bit width Gb/s can be realized.)

1. A concatenation method based on LVDS is characterized by comprising the following steps:

(1) connecting a multistage copying machine circuit board by using an LVDS serial connection line, then electrifying, and automatically performing link training between ports;

(2) the host sends an instruction downwards through an instruction channel to confirm the number of layers of the copy machine circuit board cascade connection;

(3) after the hard disk is connected with the circuit board of the copy machine and identified, the host sends a copy instruction to the slave through the LVDS serial port command channel to start all hard disk copies;

(4) the host reads the data in the master disc and sends the data to each level of slave machines through the LVDS serial port data channel;

(5) after copying is finished, the host sends a finishing command to the slave through the LVDS serial port command channel to finish copying.

2. The LVDS-based concatenation method according to claim 1, wherein the automatically performing link training between the ports in the step (1) specifically comprises: the host sends known patterns for training through the LVDS serial connection line, the slave returns data after receiving the patterns, and the training of the link is completed through multiple handshaking, so that the data transmission of the link is most stable.

3. The LVDS-based concatenation method according to claim 1, wherein during the step (4), the host internal serializer module performs serial-to-parallel conversion to send data to the slave in LVDS data stream mode.

4. The LVDS-based concatenation method according to claim 1, wherein in the step (4), during the data transmission to each level of slave computers through the LVDS concatenation port data channel, when the slave computers in the middle layer receive the data, the data is immediately transmitted to the next level of slave computers at the same time of data buffering, and a delay of the data on the transmission link is in the nanosecond level.

Technical Field

The invention relates to the technical field of copy concatenation, in particular to a concatenation method based on LVDS.

Background

In the computer production process, the system disk can be produced by adopting a hard disk copying mode, a copying machine is required to be used in the process of copying and producing the system disk, each circuit board can be connected with only a limited hard disk due to the limitation of chip resource quantity, a plurality of copying machines are required when a plurality of hard disks are copied, a plurality of mother disks are required for the operation of the plurality of copying machines, however, a large amount of time can be wasted in the process of manufacturing the mother disks, and a plurality of copying machines need to be operated by operators for a plurality of times, so that the production efficiency is relatively influenced.

Disclosure of Invention

The invention aims to provide a LVDS-based serial connection method, which is used for solving the problems that a plurality of mother disks are needed when a plurality of hard disks are copied, the copying operation is complex and the production efficiency is low in the prior art.

The invention provides a series connection method based on LVDS, which comprises the following steps:

(1) connecting a multistage copying machine circuit board by using an LVDS serial connection line, then electrifying, and automatically performing link training between ports to ensure the accuracy of data transmission;

(2) the host sends an instruction downwards through an instruction channel to confirm the number of layers of the copy machine circuit board cascade connection;

(3) after the hard disk is connected with the circuit board of the copy machine and identified, the host sends a copy instruction to the slave through the LVDS serial port command channel to start all hard disk copies;

(4) the host reads the data in the master disc and sends the data to each level of slave machines through the LVDS serial port data channel;

(5) after copying is finished, the host sends a finishing command to the slave through the LVDS serial port command channel to finish copying.

Further, the automatically performing link training between the ports in the step (1) specifically includes: the host sends known patterns for training through the LVDS serial connection line, the slave returns data after receiving the patterns, and the training of the link is completed through multiple handshaking, so that the data transmission of the link is most stable.

Further, in the step (4), the serializer module in the host performs serial-to-parallel conversion, and sends the data to the slave in the LVDS data stream mode.

Further, in the process of sending data to each level of slave machines through the LVDS serial port data channel in step (4), when the slave machines in the middle layer receive the data, the data is immediately transmitted to the next level of slave machines while being buffered, and the delay of the data on the transmission link is nanosecond.

The technical scheme of the invention has the beneficial effects that:

the LVDS-based serial connection method can realize infinite serial connection, has strong stability, simultaneously copies a plurality of hard disks and reduces the workload of operators; the transmission bit width is defined by self, namely the number of the LVDS lines is increased or decreased, so that the transmission speed can be increased or decreased infinitely, and the transmission speed of 1.6 x data bit width Gb/s can be realized.

Drawings

FIG. 1 is a flow chart of a LVDS-based concatenation method according to the present invention;

Detailed Description

In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention.

As shown in fig. 1, the present invention provides a concatenation method based on LVDS, which includes the following steps:

(1) connecting a multistage copying machine circuit board by using an LVDS serial connection line, then electrifying, automatically performing link training between ports, sending a known pattern by a host machine through the LVDS serial connection line for training, returning data after a slave machine receives the pattern, and completing the training of a link through multiple times of handshaking to ensure that the data transmission of the link is most stable;

(2) the host sends an instruction downwards through an instruction channel to confirm the number of layers of the copy machine circuit board cascade connection;

(3) after the hard disk is connected with the circuit board of the copy machine and identified, the host sends a copy instruction to the slave through the LVDS serial port command channel to start all hard disk copies;

(4) the host reads the data in the master disc and sends the data to each level of slave machines through the LVDS serial port data channel, and in the process, a serializer module in the host performs serial-parallel conversion and sends the data to the slave machines in an LVDS data stream mode;

(5) after copying is finished, the host sends a finishing command to the slave through the LVDS serial port command channel to finish copying.

Specifically, in the process of sending data to each level of slave machines through the LVDS serial port data channel in step (4), when the slave machines in the middle layer receive the data, the slave machines in the middle layer transmit the data to the next level of slave machines immediately while buffering the data, and the delay of the data on the transmission link is nanosecond level.

In conclusion, the LVDS-based serial connection method can realize infinite serial connection, has strong stability, simultaneously copies a plurality of hard disks and reduces the workload of operators; the transmission bit width is defined by self, namely the number of the LVDS lines is increased or decreased, so that the transmission speed can be increased or decreased infinitely, and the transmission speed of 1.6 x data bit width Gb/s can be realized.

Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

5页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种接口配置设备

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!