Network processing method based on security management

Through network processing methods based on security management, multi-pattern matching algorithms and buffer queues are used to solve the problem that existing technologies cannot cope with complex network attacks, achieve efficient packet processing and intrusion detection, and improve the network security management system. performance and stability.

CN118764244APending Publication Date: 2024-10-11SHANGHAI XINFENGYE NETWORK TECHNOLOGY CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410871137.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Existing simple firewalls and intrusion detection technologies cannot meet the security defense needs brought about by complex network attack tools and techniques, and cannot effectively protect the network environment.

Method used

Adopt a network processing method based on security management, optimize data processing, protocol management and matching analysis, security analysis and data information transmission and sorting, and use multi-mode matching algorithms and buffer queues to achieve efficient data packet processing and intrusion detection.

Benefits of technology

It improves the processing performance of intrusion detection in high-speed network environments, enhances the stability and response speed of the system, and ensures the efficient operation and data packet processing efficiency of the network security management system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764244A_ABST
    Figure CN118764244A_ABST
Patent Text Reader

Abstract

The invention discloses a network processing method based on security management. The method comprises the following steps: carrying out data processing optimization control on a network security management system; performing protocol management and matching analysis processing on the network security management system; performing security analysis processing on the network security management system; data information transmission and arrangement of the network security management system are carried out; the data processing optimization control of the network security management system comprises the following steps: mapping a selected physical memory into an address space to enable data in the memory to be shared by different processes, then controlling an independent thread for processing each data packet, and storing unprocessed data packets by increasing a set number of buffer queues, and the size of the control queue is set according to the throughput of the current network environment, so that the control queue can complete corresponding data processing. The system has the characteristics of high safety and intelligent control processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of network security, and in particular to a network processing method based on security management. Background Art

[0002] With the rapid development of the Internet, computer networks have been integrated into all aspects of human society, and billions of ordinary families are also users of computer networks. The network has become one of the indispensable infrastructures in the life and development of a family, an enterprise, and a country. As computers become more and more popular, the degree of national network informatization continues to increase. A large amount of commercial information and confidential intelligence are stored on computers. As the scope of computer application continues to expand, security issues such as information theft are becoming more and more prominent. At present, firewalls and intrusion detection are mainly used to achieve network security defense. Firewalls and intrusion detection are the most widely used and easiest to understand network security technologies in the world. They respectively realize static defense and dynamic defense of the network. These two security technologies have also been developing and gradually mature in terms of technology. However, as the tools and methods of network attacks become more and more complex, this simple security defense technology can no longer meet the needs of the current network environment. Therefore, it is necessary to design a network processing method based on security management with high security and intelligent control processing. Summary of the invention

[0003] The purpose of the present invention is to provide a network processing method based on security management to solve the problems raised in the above background technology.

[0004] In order to solve the above technical problems, the present invention provides the following technical solutions: a network processing method based on security management, comprising: Carry out data processing optimization control of network security management system; Perform protocol management and matching analysis on the network security management system; Conduct security analysis and processing of network security management systems; Conduct data information transmission and sorting for network security management system; The data processing optimization control of the network security management system includes: The selected physical memory is mapped to the address space so that the data in the memory can be shared by different processes. Then, each independent thread that processes the data packet is controlled. By increasing the set number of buffer queues to store unprocessed data packets, the size of the control queue is set according to the throughput of the current network environment so that it can complete the corresponding data processing. At the same time, the system's sleep time is further set according to the data information of the queue to ensure stable system operation.

[0005] According to the above technical solution, the protocol management and matching analysis processing of the network security management system includes: Decode and analyze the network data stream, so that the parsing order of the data packet is opposite to the encapsulation order of the original layer protocols for the data packet, and parse it layer by layer, and after obtaining the source address and destination address, source port and destination port, and data stream information in the data packet, store the protocol information of each layer in the data packet into the set global data structure; A multi-pattern matching algorithm is used to match and analyze network security system data packets. After scanning the target data packet to obtain the matching virus feature field, it is added to a custom collection, and then all patterns in the collection are searched, and the matching process is looped. According to the information field of each virus, the complete pattern string information of one of the viruses is found, which proves that the current match is successful, and then all the information of the matching virus is output, otherwise the match fails.

[0006] According to the above technical solution, the security analysis processing of the network security management system includes: After the system detects the intrusion data information and receives the current alarm message, it extracts the attack time information. The alarm time is divided into short-term alarm, medium-term alarm and long-term alarm.

[0007] According to the above technical solution, the security analysis processing of the network security management system further includes: After completing the classification of time information, the alarm event level is further evaluated. The alarm event confidence is obtained by matching the alarm time interval, source / destination IP address and attack type factors with the set rules. When the alarm event credibility reaches the threshold set by the system, the alarm event is transmitted and responded to. The network security management system firewall communication port data information is collected, and the firewall rule attribute information is parsed and extracted, including the source IP address, source port, destination IP address, destination port, protocol type, processing mode, rule validity period and rule processing priority, and stored in the system log in the format specified by the system for administrators to query and use.

[0008] According to the above technical solution, the data information transmission and arrangement of the network security management system includes: After receiving the output virus result information or intrusion response result data information, the warning is transmitted to the workbench for display and warning processing; After the data information of the system being invaded is collected, it is stored and recorded and matched with the historically stored invasion data information. The overlapping and non-overlapping parts are sorted out and transmitted to the staff, providing a reliable basis for subsequent system security upgrades and optimizations.

[0009] According to the above technical solution, a network processing system based on security management includes: Optimization management module, used for optimizing management and control of network security management system; Analysis and control module, used for security analysis and control of network security management system; The transmission and sorting module is used to sort the transmission of network data information.

[0010] According to the above technical solution, the optimization management module includes: An optimization processing module is used to optimize data processing of the network security management system; The protocol management module is used to perform protocol control processing of the network security management system; The matching analysis module is used to perform feature matching analysis and management of data packets.

[0011] According to the above technical solution, the analysis and control module includes: Alarm classification module, used for classification management of intrusion alarm data; An evaluation management module is used to evaluate system intrusion alarm events; The information analysis module is used to analyze and process the system firewall information.

[0012] According to the above technical solution, the transmission sorting module includes: Transmission control module, used for transmission control and management of data information; The data sorting module is used to sort and control the intrusion data of the system.

[0013] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: the present invention, by providing an optimization management module, an analysis control module and a transmission sorting module, allows two or more different threads to access the same memory area, so that multiple threads simultaneously process data packets in the shared memory and execute tasks in blocks, which not only fully utilizes CPU resources, but also greatly increases the processing efficiency and speed of data packets, keeps the overall operation of the system smooth, and improves the processing performance of intrusion detection in a high-speed network environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings: Figure 1 is a flow chart of a network processing method based on security management provided by Embodiment 1 of the present invention; Figure 2 This is a module structure diagram of a network processing system based on security management provided in Embodiment 2 of the present invention. DETAILED DESCRIPTION

[0015] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0016] Embodiment 1: Figure 1 This is a flowchart of a network processing method based on security management provided by the first embodiment of the present invention. This embodiment can be applied to a network security management system. The method can be executed by a network processing system based on security management provided by the embodiment of the present invention. The system is composed of multiple software and hardware modules, such as Figure 1 As shown, the method specifically comprises the following steps: S101, perform data processing optimization control of the network security management system; Exemplarily, in an embodiment of the present invention, the selected physical memory is mapped to the address space so that the data in the memory is shared by different processes, and then each independent thread that processes the data packet is controlled, and a set number of buffer queues are added to store unprocessed data packets, and the size of the control queue is set according to the throughput of the current network environment so that it can complete the corresponding data processing. At the same time, the sleep time of the system is further set according to the data information of the queue to ensure the stable operation of the system; because when the network environment is unstable, it often happens that when a data packet is not detected, the next data has arrived, so the second data packet will be discarded, which seriously affects the accuracy of the system detection. Therefore, through this step, two or more different threads are allowed to access the same memory area, so that multiple threads can process the data packets in the shared memory at the same time, and the tasks are executed in blocks, which not only makes full use of the CPU resources, but also greatly increases the processing efficiency and speed of the data packet. Moreover, by adding the buffer queue, the principle of exchanging space for time and memory for performance is achieved, and the data packet buffer queue of the appropriate size is used to receive the data packet to be processed, so as to keep the overall operation of the system smooth, and improve the processing performance of intrusion detection in a high-speed network environment.

[0017] S102, performing protocol management and matching analysis on the network security management system; Exemplarily, in an embodiment of the present invention, the network data stream is decoded and analyzed so that the parsing order of the data packet is opposite to the encapsulation order of the original layers of protocol for the data packet, and the parsing is performed step by step in layers. After the source address and destination address, source port and destination port, and data stream information in the data packet are obtained, the protocol information of each layer in the data packet is stored in a set global data structure. Through this step, the high degree of hierarchy and structure of the network protocol can be fully utilized to reduce the amount of matching calculations, and various attacks based on application layer protocols can be quickly detected even in a high-speed network environment, effectively reducing the false alarm rate and missed alarm rate.

[0018] A multi-pattern matching algorithm is used to match and analyze the data packets of the network security system. After scanning the target data packet to obtain the matched virus feature field, it is added to the custom collection, and then all the patterns in the collection are searched, and the matching process is looped. According to the information field of each virus, until the complete pattern string of one of the viruses is found, it proves that the current match is successful, and then all the information of the matching virus is output, otherwise the match fails; through this step, the efficiency of virus analysis and processing can be effectively improved.

[0019] S103, performing security analysis and processing on the network security management system; Exemplarily, in an embodiment of the present invention, after the system detects intrusion data information and receives the current alarm message, the attack time information is extracted, and the alarm time is divided into short-term alarm, medium-term alarm and long-term alarm; in this step, when the same type of alarm information is received again within a time interval less than or equal to 5 minutes, it is classified as a short-term alarm. If the same type of alarm information is received again within 5-15 minutes, it is classified as a medium-term alarm. The same type of alarm event with a time interval greater than 15 minutes, or an alarm event that occurs for the first time, is classified as a long-term alarm.

[0020] After completing the classification of time information, the alarm event level is further evaluated. The alarm event confidence is obtained by matching the alarm time interval, source / destination IP address and attack type factors with the set rules. When the credibility of the alarm event reaches the threshold set by the system, the alarm event is transmitted and responded to. In this step, after the intrusion event is detected and the system generates an alarm message in the corresponding format, the corresponding firewall blocking control is performed according to the alarm level and the alarm event confidence. When the alarm event confidence reaches the highest level 1 setting range, the corresponding firewall rule is valid for 4 hours, that is, the firewall rule blocking time is 4 hours. When the alarm event confidence reaches the level 2 setting range, the alarm firewall rule is valid for 2 hours. When the alarm event confidence reaches the level 1 setting range, the effective time is 1 hour. Through this processing, the system's response speed to high-level alarm events is effectively improved.

[0021] The network security management system firewall communication port data information is collected, and the firewall rule attribute information is parsed and extracted, including the source IP address, source port, destination IP address, destination port, protocol type, processing mode, rule validity period and rule processing priority, and stored in the system log in the format specified by the system for administrators to query and use.

[0022] S104, organizing data information transmission of the network security management system; Exemplarily, in an embodiment of the present invention, after receiving the output virus result information or intrusion response result data information, its warning is transmitted to the workbench end for display warning processing; After the data information of the system being invaded is collected, it is stored and recorded and matched with the historically stored invasion data information. The overlapping and non-overlapping parts are sorted out and transmitted to the staff, providing a reliable basis for subsequent system security upgrades and optimizations.

[0023] Embodiment 2: Embodiment 2 of the present invention provides a network processing system based on security management. Figure 2 A schematic diagram of the module structure of a network processing system based on security management provided in the second embodiment, such as Figure 2 As shown, the system includes: Optimization management module, used for optimizing management and control of network security management system; Analysis and control module, used for security analysis and control of network security management system; The transmission and sorting module is used to sort the transmission of network data information.

[0024] In some embodiments of the present invention, the optimization management module includes: An optimization processing module is used to optimize data processing of the network security management system; The protocol management module is used to perform protocol control processing of the network security management system; The matching analysis module is used to perform feature matching analysis and management of data packets.

[0025] In some embodiments of the present invention, the analysis control module includes: Alarm classification module, used for classification management of intrusion alarm data; An evaluation management module is used to evaluate system intrusion alarm events; The information analysis module is used to analyze and process the system firewall information.

[0026] In some embodiments of the present invention, the transmission sorting module includes: Transmission control module, used for transmission control and management of data information; The data sorting module is used to sort and control the intrusion data of the system.

[0027] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0028] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A network processing method based on security management, characterized in that: include: Carry out data processing optimization control of network security management system; Perform protocol management and matching analysis on the network security management system; Conduct security analysis and processing of network security management systems; Conduct data information transmission and sorting for network security management system; The data processing optimization control of the network security management system includes: The selected physical memory is mapped to the address space so that the data in the memory can be shared by different processes. Then, each independent thread that processes the data packet is controlled. By increasing the set number of buffer queues to store unprocessed data packets, the size of the control queue is set according to the throughput of the current network environment so that it can complete the corresponding data processing. At the same time, the system's sleep time is further set according to the data information of the queue to ensure stable system operation.

2. A network processing method based on security management according to claim 1, characterized in that: The protocol management and matching analysis processing of the network security management system includes: Decode and analyze the network data stream, so that the parsing order of the data packet is opposite to the encapsulation order of the original layer protocols for the data packet, and parse it layer by layer, and after obtaining the source address and destination address, source port and destination port, and data stream information in the data packet, store the protocol information of each layer in the data packet into the set global data structure; A multi-pattern matching algorithm is used to match and analyze network security system data packets. After scanning the target data packet to obtain the matching virus feature field, it is added to a custom collection, and then all patterns in the collection are searched, and the matching process is looped. According to the information field of each virus, the complete pattern string information of one of the viruses is found, which proves that the current match is successful, and then all the information of the matching virus is output, otherwise the match fails.

3. A network processing method based on security management according to claim 1, characterized in that: The security analysis process of the network security management system includes: After the system detects the intrusion data information and receives the current alarm message, it extracts the attack time information. The alarm time is divided into short-term alarm, medium-term alarm and long-term alarm.

4. A network processing method based on security management according to claim 1, characterized in that: The security analysis process of the network security management system further includes: After completing the classification of time information, the alarm event level is further evaluated. The alarm event confidence is obtained by matching the alarm time interval, source / destination IP address and attack type factors with the set rules. When the alarm event credibility reaches the threshold set by the system, the alarm event is transmitted and responded to. The network security management system firewall communication port data information is collected, and the firewall rule attribute information is parsed and extracted, including the source IP address, source port, destination IP address, destination port, protocol type, processing mode, rule validity period and rule processing priority, and stored in the system log in the format specified by the system for administrators to query and use.

5. A network processing method based on security management according to claim 1, characterized in that: The data information transmission and arrangement of the network security management system includes: After receiving the output virus result information or intrusion response result data information, the warning is transmitted to the workbench for display and warning processing; After the data information of the system being invaded is collected, it is stored and recorded and matched with the historically stored invasion data information. The overlapping and non-overlapping parts are sorted out and transmitted to the staff, providing a reliable basis for subsequent system security upgrades and optimizations.

6. A network processing system based on security management, characterized in that: include: Optimization management module, used for optimizing management and control of network security management system; Analysis and control module, used for security analysis and control of network security management system; The transmission and sorting module is used to sort the transmission of network data information.

7. A network processing system based on security management according to claim 6, characterized in that: The optimization management module includes: An optimization processing module is used to optimize data processing of the network security management system; The protocol management module is used to perform protocol control processing of the network security management system; The matching analysis module is used to perform feature matching analysis and management of data packets.

8. A network processing system based on security management according to claim 6, characterized in that: The analysis control module comprises: Alarm classification module, used for classification management of intrusion alarm data; An evaluation management module is used to evaluate system intrusion alarm events; The information analysis module is used to analyze and process the system firewall information.

9. A network processing system based on security management according to claim 6, characterized in that: The transmission arrangement module comprises: Transmission control module, used for transmission control and management of data information; The data sorting module is used to sort and control the intrusion data of the system.

Citation Information

Patent Citations

  • Control instruction error correction system and control instruction error correction method thereof

    CN105489068A

  • Network security protection system and method based on unified platform

    CN110636077A

  • Network security alarm processing method based on confidence

    CN111526053A

  • Network security detection system and network security detection method thereof

    CN113783880A

  • Data processing method and device, electronic equipment and storage medium

    CN115543613A