File type identification method and device
A file type and identification method technology, applied in electrical components, special data processing applications, instruments, etc., can solve problems such as inability to accurately and efficiently identify file types, inability to meet the needs of network equipment forwarding performance, and low identification efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0036] The technical solutions of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments.
[0037] figure 1 The flow chart of the file type identification method provided by the embodiment of the present invention. Such as figure 1 As shown, the method includes the following steps:
[0038] Step 101, precompile the file feature of the file, so as to obtain the bitmap feature, the bitmap feature includes a first offset and a first character value corresponding to the first offset;
[0039] Further, after obtaining the bitmap feature, it also includes: loading the bitmap feature into the memory when the process starts.
[0040] Step 102, obtaining the file stream of the first file that needs to identify the file type from the transmitted data packet, the file stream includes a second offset and a second character value corresponding to the second offset;
[0041] Further, obtaining the file stream of the fi...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


