Unlock instant, AI-driven research and patent intelligence for your innovation.

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.

Active Publication Date: 2017-07-28
BEIJINGNETENTSEC
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although this method can effectively identify file types, it uses character strings for comparison, and the identification efficiency is low, which cannot meet the requirements of network devices for forwarding performance.
[0005] Therefore, none of the existing file type identification technologies can accurately and efficiently identify file types

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • File type identification method and device
  • File type identification method and device
  • File type identification method and device

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention relates to a method for identifying a file type, comprising: precompiling file features of a file to obtain a bitmap feature, where the bitmap feature includes a first offset and a first offset corresponding to the first offset Character value; obtain 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; according to the The second offset searches the first offset matching the second offset from the bitmap feature; the second character value and each of the first character values ​​are sequentially operated to obtain An operation result; determining the file type of the first file according to the operation result. The invention can efficiently and accurately identify file types, give real-time alarms to specific file types, track user operations in a local area network, and fine-grainedly present user uploading or downloading file behaviors.

Description

technical field [0001] The invention relates to the field of computer and network security, in particular to a file type identification method and device. Background technique [0002] With the continuous development of science and technology, people rely more and more on the network and transmit data through the network. However, while transmitting data, information security is also facing great challenges. In order to prevent the disclosure of confidential information, network administrators or enterprises often need to identify and detect the type of transmitted files. [0003] The existing file type identification technology obtains the file name through application identification and in-depth analysis of the protocol, and relies on the suffix in the file name to determine the file type. Although this method does not need to find the file boundary or analyze the file content, in practice, if the file name of the file is modified, the wrong result will be identified. The...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/06G06F17/30
Inventor 郭璞曹政刘岩
Owner BEIJINGNETENTSEC