Interface display system based on FPGA

文档序号:1741672 发布日期:2019-11-26 浏览:15次 中文

阅读说明:本技术 基于fpga的界面显示系统 (Interface display system based on FPGA ) 是由 朱怀宇 郭春 姜群兴 司胜剑 史腾 何允灵 吴婷 朱立志 于 2018-09-29 设计创作,主要内容包括:本发明公开了一种基于FPGA的界面显示系统。所述界面显示系统包括:数据包生成模块、FPGA组件和显示模块;所述数据包生成模块用于生成至少一界面数据包,并将所述至少一界面数据包发送至所述FPGA组件;所述FPGA组件用于根据所述界面数据包生成人机界面;所述显示模块用于显示所述人机界面。本发明基于FPGA通过各种硬件电路联合运行实现界面显示,无需任何CPU、操作系统和软件支持,避免了黑客和病毒的入侵,安全性大大提高。(The invention discloses a kind of interface display systems based on FPGA.The interface display system includes: data packet generation module, FPGA component and display module;An at least interface data packet is sent to the FPGA component for generating an at least interface data packet by the data packet generation module;The FPGA component is used to generate man-machine interface according to the interface data packet;The display module is for showing the man-machine interface.The present invention is based on FPGA to realize interface display by various hardware circuit combined operatings, is not necessarily to any CPU, operating system and software support, avoids the invasion of hacker and virus, safety greatly improves.)

1. a kind of interface display system based on FPGA, which is characterized in that the interface display system includes: that data packet generates mould Block, FPGA component and display module;

An at least interface data packet is sent to by the data packet generation module for generating an at least interface data packet The FPGA component;

The FPGA component is used to generate man-machine interface according to the interface data packet;

The display module is for showing the man-machine interface.

2. as described in claim 1 based on the interface display system of FPGA, which is characterized in that the data packet generation module is also For generating configuration data packet;

The FPGA component includes: solid state hard disk, DDR, control unit and display driver element;

The solid state hard disk is for storing the interface data packet and the configuration data packet;

Described control unit is used to read the interface data packet and the configuration data packet from the solid state hard disk and institute is written State DDR;

Described control unit is also used to read people described in the interface data packet and the configuration data packet and composition from the DDR The display frame at machine interface;

The display driver element is used to the display frame of the man-machine interface be sent to the display module.

3. as claimed in claim 2 based on the interface display system of FPGA, which is characterized in that the DDR is also used to store outer If the text data that equipment is sent;

Described control unit is also used to according to the text data, the interface data packet and the configuration data packet composition The display frame of man-machine interface.

4. as claimed in claim 3 based on the interface display system of FPGA, which is characterized in that described control unit is also used to When judging text data change, display frame is reformulated according to the text data after change.

5. as claimed in claim 2 based on the interface display system of FPGA, which is characterized in that the interface display system also wraps It includes: external equipment;

The DDR is also used to store the operational order that the external equipment is sent;

Described control unit is also used to update the display frame according to the operational order.

6. as claimed in claim 5 based on the interface display system of FPGA, which is characterized in that the interface data packet includes: The background data of the man-machine interface and the pixel data of control;

The pixel data includes at least one of following parameter: the visit of control type, control size, control location, control Ask link;

The access link characterizes the corresponding relationship of the control and the interface data packet.

7. as claimed in claim 6 based on the interface display system of FPGA, which is characterized in that the interface data packet also wraps It includes: the icon data of mouse;

When the operational order is write command, described control unit is specifically used for basis and writes data reformulation display frame with more The new display frame;The write command includes write data;

When the operational order is jump instruction, described control unit is specifically used for being linked according to the access of target widget from institute It states solid state hard disk part and the DDR is written into corresponding interface data packet, and reformulate display frame to update the display frame;Institute Stating jump instruction includes the target widget;

When the operational order is the change directive of the icon data, described control unit is specifically used for according to location information The display frame is modified to update the display frame;The change directive includes the location information.

8. as claimed in claim 2 based on the interface display system of FPGA, which is characterized in that the FPGA component further include: Group depacketization logic unit;

Described group of depacketization logic unit judges the boundary for unpacking to the received interface data packet of the FPGA component Whether the number of dropped packets of face data packet and/or wrong packet number are in respective threshold range, and when being judged as YES, by the boundary after unpacking Face data packet re-groups package and is sent to the solid state hard disk.

9. as claimed in claim 8 based on the interface display system of FPGA, which is characterized in that described group of depacketization logic unit is also For when being judged as NO, sending reissue commands to the data packet generation module;

The data packet generation module is also used to when receiving the reissue commands, retransmits the interface data packet to institute State FPGA component.

Technical field

The present invention relates to field of display technology, in particular to a kind of interface display system for being based on FPGA (programmable gate array) System.

Background technique

With the development of information technology, information security more and more attention has been paid to.Currently, man-machine interface generally passes through operation system The system that system and application software etc. are realized, however have software to participate in, just have multi-process, multitask to the shared of system resource and Competition will necessarily bring uncertainty, and software is easy the invasion by hacker and virus, for nuclear power station security level instrument control System, bank etc. focus on safe application scenarios, and safety is just difficult to be protected.

Summary of the invention

The technical problem to be solved by the present invention is to real by operating system and application software etc. in the prior art in order to overcome Existing man-machine interface is easy the invasion by hacker and virus, and the lower defect of safety provides a kind of interface based on FPGA Display system.

The present invention is to solve above-mentioned technical problem by following technical proposals:

A kind of interface display system based on FPGA, the interface display system include: data packet generation module, FPGA group Part and display module;

The data packet generation module is sent out for generating an at least interface data packet, and by an at least interface data packet It send to the FPGA component;

The FPGA component is used to generate man-machine interface according to the interface data packet;

The display module is for showing the man-machine interface.

Preferably, the data packet generation module is also used to generate configuration data packet;

The FPGA component include: solid state hard disk, DDR (Double Data Rate synchronous DRAM), control unit and Display driver element;

The solid state hard disk is for storing the interface data packet and the configuration data packet;

Described control unit is used to read the interface data packet and the configuration data packet from the solid state hard disk and write Enter the DDR;

Described control unit is also used to read the interface data packet and the configuration data packet and composition institute from the DDR State the display frame of man-machine interface;

The display driver element is used to the display frame of the man-machine interface be sent to the display module.

Preferably, the DDR is also used to store the text data of peripheral apparatus transmission;

Described control unit is also used to be formed according to the text data, the interface data packet and the configuration data packet The display frame of the man-machine interface.

Preferably, described control unit is also used to when judging text data change, according to the textual data after change Frame is shown according to reformulating.

Preferably, the interface display system further include: external equipment;

The DDR is also used to store the operational order that the external equipment is sent;

Described control unit is also used to update the display frame according to the operational order.

Preferably, the interface data packet includes: the background data of the man-machine interface and the pixel data of control;

The pixel data includes at least one of following parameter: control type, control size, control location, control Access link;

The access link characterizes the corresponding relationship of the control and the interface data packet.

Preferably, the interface data packet further include: the icon data of mouse;

When the operational order is write command, described control unit is specifically used for basis and writes data reformulation display frame To update the display frame;The write command includes write data;

When the operational order is jump instruction, described control unit is specifically used for being linked according to the access of target widget The DDR is written from the solid state hard disk part by corresponding interface data packet, and reformulates display frame to update the display Frame;The jump instruction includes the target widget;

When the operational order is the change directive of the icon data, described control unit is specifically used for according to position Information modifies the display frame to update the display frame;The change directive includes the location information.

Preferably, the FPGA component further include: group depacketization logic unit;

Described group of depacketization logic unit judges institute for unpacking to the received interface data packet of the FPGA component Whether the number of dropped packets for stating interface data packet and/or wrong packet number are in respective threshold range, and when being judged as YES, after unpacking Interface data packet re-group package and be sent to the solid state hard disk.

Preferably, described group of depacketization logic unit is also used to when being judged as NO, reissue commands are sent to the data packet Generation module;

The data packet generation module is also used to when receiving the reissue commands, retransmits the interface data packet To the FPGA component.

The positive effect of the present invention is that: the present invention is based on FPGA to realize boundary by various hardware circuit combined operatings Face is shown, is not necessarily to any CPU, operating system and software support, avoids the invasion of hacker and virus, and safety greatly improves.

Detailed description of the invention

Fig. 1 is a preferred embodiment of the present invention the module diagram of the interface display system based on FPGA.

Specific embodiment

The present invention is further illustrated below by the mode of embodiment, but does not therefore limit the present invention to the reality It applies among a range.

The present embodiment provides a kind of interface display systems based on FPGA, suitable for all kinds of fields for needing to carry out interface display It closes, especially suitable for the occasion more demanding to information security, such as nuclear power station security level I&C system, ATM (automatic drawing Machine) etc..

As shown in Figure 1, the interface display system of the present embodiment includes: data packet generation module 1, FPGA component 2 and display Module 3.Data packet generation module 1 is electrically connected by network interface or USB (universal serial bus) with FPGA component 2, and FPGA component 2 is logical DVI (digital visual interface) is crossed to be electrically connected with display module 3.

Each man-machine interface progress interface pel that data packet generation module 1 is used to design user (including control and mouse Mark on a map) it is abstract, in conjunction with FPGA characteristic, generate the interface data packet that FPGA can be parsed, and will by network interface or USB Interface data packet is sent to a kind of FPGA component of SATA (connection hardware driver interface) interface.Certainly, in order to improve safety Property, interface data packet can also be encrypted.Data packet generation module 1 specifically can be that (a kind of graphic user interface is answered with QT With program development frame) application software developed based on frame.

Wherein, interface data packet includes the pixel data and mouse for generating the background data of man-machine interface, control Icon data.Each interface data packet has mark, and an interface data packet produces a personal-machine interface.Background data includes The parameters such as background colour, the size at interface.Pixel data includes at least one of following parameter: control type, control size, control The access link of part position, control;The corresponding relationship of access link characterization control and interface data packet, when system is run, utilizes The corresponding relationship can realize that interface jumps.Control type such as button, text box, edit box, chart and pop-up window etc..

According to user demand, the configuration data at the interface that data packet generation module can also design user generates configuration number According to packet.Configuration data packet includes the parameters such as the font size of interface display, color, to generate personalized man-machine interface.

FPGA component 2 is used to generate man-machine interface according to the interface data packet received namely FPGA component reads background The icon data of data, the pixel data of control and mouse is synthesized, and realizes framing.

Specifically, FPGA component 2 includes: solid state hard disk 21, DDR22, control unit 23 and display driver element 25.Control Unit specifically may be selected XC7K325T and realize.It is shown due to needing support high definition, and guarantees the fluency that picture jumps, needed Higher data bandwidth, therefore the DDR (3) of 64 bit data widths, USB (3.0), SATA (3.0) and gigabit Ethernet may be selected.For The demands of the thousands of width pictures of support, and hard disk will have sufficiently long reading-writing life-span, and the solid state hard disk of 256G may be selected.

Solid state hard disk 21 is for storing interface data packet and configuration data packet.When system is run, control unit 23 is from solid-state Hard disk reads corresponding interface data packet and DDR22 is written, such as if desired generates the interface of system home page, then according to data packet Identify the interface data packet for reading from solid state hard disk 21 and generating homepage.If user is also provided with configuration data packet, control unit DDR22 is written into configuration data packet together, convenient for reading at any time.Control unit 23 is also used to read interface data packet from DDR22 With the display frame of configuration data packet and composition man-machine interface, and by the display frame organized by display driver element 25 be sent to it is aobvious Show that module 3 is shown, and periodic refreshing (namely regularly sending display frame to display module).Wherein, configuration data Bao Kechang Reside in DDR, thus because interface jump need to regenerate interface when, then without from solid state hard disk reacquire configuration data Packet.

In the present embodiment, using the interface display that FPGA is realized as the electronic circuit of core, it is not necessarily to any CPU, operating system And software support, it is not easily susceptible to hacker and virus attack, the safety of display system greatly improves.

In the present embodiment, display system may also display the text data of peripheral apparatus transmission.FPGA component 2 is connect by serial ports The text data that peripheral apparatus is sent is received, and DDR is written into this article notebook data in real time.Wherein, peripheral apparatus for example can be wet Instrument, thermometer and clock etc. are spent, text data includes the parameters such as humidity, temperature and time.Control unit then according to text data, Interface data packet and configuration data packet generate the display frame of man-machine interface.

In the present embodiment, control unit is also used to when judging text data change, according to the text data weight after change New composition display frame, and the display frame of reformulation is sent to display module and is shown, realize that interface is refreshed.Specifically, Framing is carried out using ping-pong structure.When showing that content needs to change, in other one piece of space DDR framing, current frame timing Refresh.After the data of new display frame generate, shows that the address of data is switched to the current space DDR and reads data, realize interface Jump refreshing.

In the present embodiment, interface display system further include: external equipment, external equipment pass through a kind of PS/2 (interface) interface It is electrically connected with FPGA component.External equipment such as keyboard 4, mouse 5.DDR is also used to store the operational order of external equipment transmission; Control unit is also used to update display frame according to operational order, specific:

When operational order is write command namely when user writes data on interface by keyboard 4, control unit then basis The data of write-in reformulate display frame, and are sent to display module and are shown, realize that interface updates.

When operational order is jump instruction namely user is by the control on keyboard 4 or the triggering of mouse 5 interface, realizes Interface jumps, and control unit is then linked from solid state hard disk part by corresponding interface data packet according to the access of target widget and is written DDR, and display frame is reformulated to update display frame;Jump instruction includes target widget, user in target widget namely interface The control of touch control operation is carried out by keyboard 4 or mouse 5.

When operational order is icon data change directive namely user moves mouse, so that the mouse icon in interface Position changes, and does not need to generate new display frame at this time, control unit need to only be modified according to the location information of mouse and be shown Frame;Wherein, icon data change directive includes location information.

In the present embodiment, FPGA component further include: group depacketization logic unit 24.Group depacketization logic unit 24 is used for FPGA The received interface data packet of component is unpacked, and whether the number of dropped packets for judging interface data packet and/or wrong packet number are respective In threshold range;If being judged as YES, illustrate that interface data packet is normal, then the interface data packet after unpacking is re-grouped package and sent It is stored to solid state hard disk, generates man-machine interface when running for system;If being judged as NO, illustrate that interface data packet has wrong packet, loses Packet phenomenon then organizes depacketization logic unit 24 and sends reissue commands to data packet generation module 1, it is desirable that data packet generation module is retransmitted Data packet.Data packet generation module 1 retransmits interface data packet to FPGA component 2 when receiving reissue commands.

Although specific embodiments of the present invention have been described above, it will be appreciated by those of skill in the art that this is only For example, protection scope of the present invention is to be defined by the appended claims.Those skilled in the art without departing substantially from Under the premise of the principle and substance of the present invention, many changes and modifications may be made, but these change and Modification each falls within protection scope of the present invention.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:FPGA组件

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!

技术分类