CPC H04L 63/123 (2013.01) [H04L 69/22 (2013.01)] | 13 Claims |
1. A system for secure data transmission, comprising:
a programmable logic device; and
a server, coupled to the programmable logic device, wherein the server is configured to:
receive a first data packet;
input the first data packet into a machine learning model to predict a protocol type and a command type of the first data packet;
verify whether the protocol type and the command type are correct;
add the first data packet to a data packet information set in response to the protocol type and the command type being correct; and
generate a filtering rule according to the data packet information set and deploy the filtering rule in the programmable logic device, comprising: obtaining, from the data packet information set, a plurality of data packets corresponding to the protocol type and the command type; obtaining, from the plurality of data packets, a plurality of feature values respectively corresponding to the plurality of data packets, wherein the plurality of feature values comprise at least one first feature value and at least one second feature value; selecting, from the at least one first feature value and the at least one second feature value, the at least one first feature value as a selected feature value in response to a first number of the at least one first feature value being greater than a second number of the at least one second feature value; and generating, according to the selected feature value, the filtering rule corresponding to the protocol type and the command type, wherein
the programmable logic device performs the secure data transmission according to the filtering rule.
|