Research Article
An Unknown Protocol Identification Method for Industrial Internet
Algorithm 1
Eps neighborhood hit algorithm.
1 input: Known protocol feature set , input message feature set , neighborhood distance , minimum number of neighborhood points ; | 2: Output: Known protocol classification dataset; | 3: Ifthen | 4: Check eps(); | 5: If the number of midpoints is greater than or equal to then | 6: Add point to the set of visited points ; | 7: Add point to known protocol classification dataset ; | 8: Else | 9: The number of midpoints in is equal to 0; | 10: End if | 11: Else | 12: Check eps() | 13: If and the number of midpoints is greater than or equal to then | 14: Add point to the set of visited points ; | 15: Add point to known protocol classification dataset ; | 16: Break; | 17: End if | 18: End if |
|