High-performance hash operation method and device, computer equipment and storage medium

The invention discloses a high-performance hash operation method and device, computer equipment and a storage medium, and the method comprises the steps that an API at a client side is connected with hash operation equipment through a USB interface, the hash operation equipment comprises an MCU and...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: HAN LIANBING, ZHOU WUQIANG, YANG MINXU
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a high-performance hash operation method and device, computer equipment and a storage medium, and the method comprises the steps that an API at a client side is connected with hash operation equipment through a USB interface, the hash operation equipment comprises an MCU and an FPGA used for hash operation, and the API calls the FPGA through the MCU to carry out big data operation; during big data operation, each piece of data sent to the FPGA is cut in an API layer, invalid data is filled among a plurality of data segments to form USB endpoint alignment data, and only a single packet or the last packet of data is not filled; a data interaction protocol between the API and the FPGA is set to be multiple-sending and one-receiving, that is, the API continuously sends USB endpoint alignment data to the FPGA during big data operation, and the FPGA is indicated to return a result only when the last packet of data is sent. According to the invention, a multiple-transmitting-one-receiving int