Method and system for scanning network transmission data based on vfs

A technology for transmitting data and scanning network, applied in the field of wireless network, it can solve the problems of network transmission delay, large memory consumption, etc.

Active Publication Date: 2016-08-24
NEUSOFT CORP
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of the above problems, the purpose of the present invention is to provide a method and system for scanning network transmission data based on VFS, which has solved the problem of large memory consumption when scanning network transmission data based on data flow in the prior art and adopting file block scanning network The problem of network transmission delay caused by data transmission

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
  • Method and system for scanning network transmission data based on vfs
  • Method and system for scanning network transmission data based on vfs
  • Method and system for scanning network transmission data based on vfs

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of one or more embodiments. It may be evident, however, that these embodiments may be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form in order to facilitate describing one or more embodiments.

[0029] For the method based on file block scanning, the scanner first needs to open the file, and then use the libc library or other language libraries to call the three functions of the Linux underlying system call (syscall) open / read / write to operate on the data, such as figure 1 As shown, the biggest defect of the method based on file blocks is that the scanning program must process the data at one time, and cannot save the intermediate state for this processing, while the scanning based on the data stream can save the current state. When saving data, the...

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 provides a method and system for scanning network transmission data based on VFS, wherein the method includes: calling a predefined function in the memory through the VFS system to create a memory queue in the memory; writing data to the memory queue in stages; The data written this time is read in the queue. If the data written this time is successfully read, the data written to the memory queue last time and passed the security scan will be forwarded, and the data written this time will be scanned for security. ; If the reading of the data written this time fails, the program that reads the data this time will be suspended. Utilizing the present invention, the user-defined function can be invoked by the virtual file system to operate the network transmission data, and the network transmission data is always treated as a whole, therefore, the file can be forwarded without complete cache, and can be forwarded while scanning, and The memory consumed is equivalent to the memory consumed by scanning based on file blocks, and at the same time, it achieves the effect of scanning based on data streams.

Description

technical field [0001] The present invention relates to the field of wireless networks, and more specifically, to a method and system for scanning network transmission data based on VFS. Background technique [0002] At present, the security and legality detection of network transmission data is mainly divided into two categories, one is based on data flow scanning, and the other is based on file block scanning. For applications with high response requirements such as HTTP, if you use file block-based scanning of large data in transmission, such as downloaded attachments, video streams, etc., you need to save these attachments and video streams locally before you can scan them. Scanning, before the scanning is completed, the saved data cannot be forwarded, resulting in network transmission delay. [0003] The implementation technology based on data stream scanning is relatively complex, and it consumes more memory than file block scanning. [0004] Therefore, a new method ...

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/06G06F9/48
Inventor 陈静相
Owner NEUSOFT CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products