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

A message storage method and device

A technology for saving methods and messages, which is applied in the field of Internet security and can solve problems such as low data access efficiency

Active Publication Date: 2021-04-27
CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD +1
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides a message storage method and device to solve the problem of low data access efficiency in DPI devices in the prior art

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
  • A message storage method and device
  • A message storage method and device
  • A message storage method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034]In the specific implementation process, the DPI device allocates a continuous first storage space for the IP segment that needs to be detected in advance, and allocates a continuous block for the source IP address in the first storage space for each source IP address in the IP segment. In the second storage space, a continuous third storage space is allocated for each source port to be detected, and a continuous third storage space is allocated for each transport layer protocol to be detected in the third storage space In the fourth storage space, a continuous fifth storage space is allocated for each destination IP address to be detected in the fourth storage space, and a continuous fifth storage space is allocated for each destination port to be detected in the fifth storage space. Six storage spaces, wherein each sixth storage space is used to store a data flow meeting the message detection condition.

[0035] In addition, each source IP address in the IP segment can ...

Embodiment 2

[0066] The embodiment of the present application uses a linear table to manage the data flow. The DPI device provides an interface for adding, deleting, modifying, and checking externally. The usage method is consistent with the existing usage method, and the original system structure of the DPI device will not be destroyed. The main difference is the internal implementation.

[0067] Such as Figure 4 As shown, the internal implementation block diagram of the DPI device provided by the embodiment of the present application includes three parts: operation interface, feature map and structured storage, wherein:

[0068] 1. Operation interface: Provide insert, delete, update, and query interfaces for other application systems, and at the same time shield the internal implementation methods, and other systems will not be aware of the internals of the DPI device.

[0069] 2. Feature mapping: Complete the conversion and mapping between the original data and the internal storage st...

Embodiment 3

[0094] Based on the same inventive concept, the embodiment of the present application also provides a message storage device corresponding to the message storage method. Since the problem-solving principle of the device is similar to the message storage method of the embodiment of the application, the implementation of the device Reference can be made to the implementation of the method, and repeated descriptions will not be repeated.

[0095] Such as Figure 11 As shown, it is a structural diagram of the message storage device provided in the embodiment of the present application, including:

[0096] An extracting module 1101, configured to extract the quintuple information of the message when receiving the message;

[0097] The determining module 1102 is configured to determine that the message meets the message detection condition according to the quintuple information, then perform addressing based on the quintuple information and the first address of the first storage sp...

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

This application relates to the field of Internet security technology, and in particular to a message storage method and device to solve the problem of low data access efficiency in DPI devices in the prior art; the message storage method provided by the embodiment of the application includes: : When receiving a message, extract the quintuple information of the message; if it is determined according to the quintuple information that the message meets the preset message detection conditions, then search based on the quintuple information and the first address of the first storage space address, to obtain the first address of the sixth storage space that stores the data stream to which the message belongs, or, based on the quintuple information and the established correspondence between the address code and the first address of the sixth storage space, determine to store the message The first address of the sixth storage space of the data stream to which it belongs, the address code is determined according to the quintuple information; the message is stored in the sixth storage space identified by the first address, and the data stream that meets the message detection condition is stored In the same storage space, so the access efficiency is higher.

Description

technical field [0001] The present application relates to the technical field of Internet security, in particular to a message storage method and device. Background technique [0002] In order to identify, control and protect the packets, Deep Packet Inspection (DPI) equipment usually classifies, reorganizes and manages the passing packets in units of data flow, where the data flow refers to the five-tuple Messages with the same information and a certain relationship in sending time and context. [0003] In the prior art, the DPI device mainly uses a hash table to manage the data flow. Specifically, when the DPI device determines that a data flow that meets the detection conditions is detected, for each packet in the data flow, the source IP address of the packet is , Destination IP address, source port, destination port, and transport layer protocol, these five-tuple information is used as a key, and these five-tuple information is converted into a numerical key through a ...

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): G06F16/22H04L29/08H04L29/12
CPCH04L69/326H04L61/50G06F16/2255
Inventor 张博张鹏飞赵辉
Owner CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD