A method for collecting identity resolution logs based on edge computing

Through data flow mirroring, deep packet parsing and database access restoration technology, the log aggregation algorithm is optimized to solve the problem of insufficient interactive collection and analysis capabilities of massive information at the edge computing boundary in the industrial Internet identification parsing platform, and realize data flow protocol parsing and behavior restoration. It eliminates the blind spots in information situation detection and improves the efficiency of collection and analysis.

CN116016285BActive Publication Date: 2024-09-03DHC SOFTWARE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211592614.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-13
Publication Date
2024-09-03
Estimated Expiration
2042-12-13

AI Technical Summary

Technical Problem

The industrial Internet identification parsing platform lacks the ability to collect and analyze massive information interactively at the edge computing boundary, resulting in delays and blind spots in data flow protocol parsing, behavior restoration, and log aggregation.

Method used

Use data flow mirroring technology to copy edge computing interaction log data flow, combine deep packet parsing and dynamic flow detection to conduct traffic data analysis, use edge computing-based database access restoration technology to accurately restore logs, and extract and correlate log feature values Optimize the log aggregation algorithm, reduce the dimension of feature values, and generate concise aggregation events.

Benefits of technology

It solves the processing delay problem of edge computing boundary identification parsing data streams and database access behavior logs, eliminates blind spots in information situation detection, and improves information interaction collection and analysis capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116016285B
    Figure CN116016285B
Patent Text Reader

Abstract

This invention discloses a method for collecting identifier resolution logs based on edge computing, specifically including the following steps: S1, using data stream mirroring technology to replicate the edge computing interaction log data stream, performing a complete replication of the edge computing interaction log data stream and verifying its identity; S2, using a combination of deep packet inspection and dynamic flow detection to analyze and process the traffic data; S3, using edge computing-based database access restoration technology to accurately restore the logs, normalizing the original data stream using a unified format to generate original events. This invention relates to the field of industrial internet identifier resolution technology. This edge computing-based identifier resolution log collection method solves the processing latency problem of edge computing boundary identifier resolution data streams and database access behavior logs, solves the problems of data stream protocol parsing, behavior restoration, and log aggregation, and eliminates blind spots in edge computing identifier resolution node boundary information situation detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of industrial Internet identity resolution technology, and specifically to an identity resolution log collection method based on edge computing. Background Art

[0002] The Industrial Internet is a new type of infrastructure, application model and industrial ecology that deeply integrates the new generation of information and communication technology with the industrial economy. The Industrial Internet is not a simple application of the Internet in industry, but has richer connotations and extensions. It is based on the network, the platform is the hub, data is the element, and security is the guarantee. It is not only the infrastructure for the digitalization, networking and intelligent transformation of the industry, but also the premise and foundation for the precise connection between the global supply chain system and the enterprise production system, the full life cycle management of products and intelligent services. Some enterprises use their own identification and develop some applications in the process of informatization. Edge computing refers to an open platform that integrates network, computing, storage and application core capabilities on the side close to the source of objects or data, and provides the nearest service nearby.

[0003] With the rapid development of the industrial Internet and the promotion of the construction of identity resolution nodes, a large amount of data will be generated. Industrial Internet applications will require extremely fast response time and data privacy. Edge computing applications are initiated on the adjacent side to generate faster network service responses. It is especially suitable for application in the industrial field and can meet the industry's business needs in real-time business, application intelligence, security and privacy protection, etc. Summary of the invention

[0004] In view of the shortcomings of the prior art, the present invention provides an identity resolution log collection method based on edge computing, which solves the problem of insufficient edge computing boundary massive information interactive collection and analysis capabilities in the current industrial Internet identity resolution platform.

[0005] To achieve the above objectives, the present invention is implemented through the following technical solutions: a method for collecting identity resolution logs based on edge computing, specifically comprising the following steps:

[0006] S1. Use data stream mirroring technology to replicate the edge computing interaction log data stream through edge computing, and fully replicate the edge computing interaction log data stream and confirm the identity;

[0007] S2, using deep packet analysis and dynamic flow detection to analyze and process traffic data;

[0008] S3. Use edge computing-based database access restoration technology to accurately restore logs, and normalize the original data stream in a unified format to generate original events;

[0009] S4. By extracting and analyzing log feature values, reducing the feature value dimensions of original events, optimizing the log aggregation algorithm, and reconstructing redundant original events into a single aggregated event, a complete description of a single network behavior is given.

[0010] Preferably, in S1, data stream mirroring includes data stream replication based on memory mirroring and data stream replication based on data packet forwarding. The data stream replication technology based on memory mirroring directly retrieves log information from the memory, mainly including memory access technology based on Linux kernel driver and virtual address translation. Memory mirroring realizes the collection of behavior event information. The data stream replication technology based on data packet forwarding directly copies traffic information from the buffer, mainly including data stream distribution technology based on private protocol, data packet buffer pre-allocation technology and buffer data stream high-speed forwarding technology. Data packet forwarding mirroring realizes the collection of traffic information. After collecting normal operation data, it is necessary to obtain valid information from it to the greatest extent. It mainly includes timestamp, user name, login address, host address, protocol type, user operation and command attributes, etc., and the behavior model of normal users is constructed in combination with the above valid information.

[0011] Preferably, in S2, features are extracted and feature models are constructed through deep packet parsing and dynamic flow detection technology, and the application layer content of the data packet is analyzed through deep packet parsing, including using feature-based recognition technology to extract specific ports, specific strings or specific sequences that may exist in the control flow data packet and match them with the feature library for identification. Dynamic flow detection technology extracts multiple flow-related features, including data packet length, duration, transmission rate, average data packet time interval, etc., and combines the features extracted by deep packet parsing technology to construct a feature model. Finally, a machine learning algorithm is used to match unknown traffic and the feature model.

[0012] Preferably, in S3, the characteristics of different database access behaviors are extracted from the characteristics of the protocol analysis data stream, and corresponding matching models are established for different database access behaviors. Then, through database behavior feature restoration, valuable database access behavior information is extracted, and standardized log events are generated. Finally, different behavior matching models are established for different databases to make the restoration of access behaviors of different databases transparent.

[0013] Preferably, in S4, the dimension of the event eigenvalue is reduced according to the log eigenvalue mapping method, the eigenvalue is extracted, and the eigenvalue selection algorithm is used to select the eigenvalues ​​in the original eigenvalue set. The eigenvalue selection selects an optimal or most effective feature subset from the original eigenvalue space to replace the original eigenvalue space based on a certain evaluation standard, so as to achieve the purpose of reducing the dimensionality of the eigenvalue space.

[0014] Preferably, in S4, the log aggregation algorithm is optimized to generate a low-dimensional feature value set after feature value extraction and feature value selection algorithm processing, including certain features of the log (time, source address, destination address, communication protocol, etc.), and duplicate log data is merged into concise data.

[0015] Beneficial Effects

[0016] The present invention provides an identity resolution log collection method based on edge computing. Compared with the prior art, it has the following beneficial effects:

[0017] This edge computing-based identity resolution log collection method proposes a solution to the current insufficient ability of edge computing in the collection and analysis of massive information interactions in the industrial Internet identity resolution platform. It solves the processing delay problem of edge computing boundary identity resolution data flow and database access behavior log, solves the data flow protocol parsing, behavior restoration and log aggregation problems, and eliminates the blind spots of edge computing identity resolution node boundary information situation detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 Flowchart of the identity resolution log collection method based on edge computing. DETAILED DESCRIPTION

[0019] 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.

[0020] See also Figure 1 The present invention provides a technical solution: a method for collecting identity resolution logs based on edge computing, which specifically includes the following steps:

[0021] S1. The log data stream for edge computing interaction is continuous, nearly infinite, time-varying, orderly and fast-flowing. A user's identity resolution database access behavior contains a large number of log data streams. The data stream replication technology based on memory mirroring is used to directly retrieve the log information from the memory. It mainly includes memory access technology based on Linux kernel driver and virtual address translation to obtain behavioral event information in the massive logs of edge computing interaction. Edge computing interaction will generate a large number of continuous data packets. The data stream replication technology based on data packet forwarding is used to directly copy the traffic information from the buffer. The specific steps are as follows: pre-allocate buffers for data packets through data packet preprocessing technology, directly mirror data streams from the buffer through buffer data stream high-speed forwarding technology, and collect internal and external network interaction data traffic information through data stream mirroring technology based on network packet forwarding;

[0022] S2. Perform log traffic data analysis according to step S1, using a process that combines deep packet analysis and dynamic flow detection. The specific process is as follows: For the intranet inflow data, first collect a large amount of normal traffic, and use deep packet analysis technology to analyze the application layer content of its data packets, including using feature-based recognition technology to extract specific ports, specific strings or specific sequences that may exist in the control flow data packets and match them with the feature library, using application layer gateway recognition to associate and match business flow data packets, and using behavior pattern recognition to accurately identify application behaviors. On this basis, dynamic flow detection is used to extract a variety of flow-related features, including data packet length, duration, and so on. Time, transmission rate, average packet time interval, etc., combined with the features extracted by deep packet analysis technology to build a normal traffic feature model, and finally use machine learning algorithms to match unknown traffic and feature models to detect unknown traffic. For intranet outflow data, a user traffic behavior model is established based on different user behaviors. Deep packet analysis and dynamic flow detection are used to extract corresponding features from data packets according to the model, mainly including terminal-related strong identifiers and user-related weak identifiers. After the relevant valid features are extracted, a filtering feature selection framework is used to search and generate feature subsets in the feature space using a random search strategy, and select stable and highly distinguishable feature subsets;

[0023] S3. Perform accurate log restoration according to step S02, including database behavior feature value analysis, database behavior feature value restoration, and database difference shielding. The specific process is as follows: extract different database access behavior features through protocol analysis of data stream features, and establish corresponding matching models for different database access behaviors according to different behavior features; extract valuable database access behavior information through database behavior feature restoration, and generate standardized log events; finally, establish a general interface for different database access behavior restoration, establish different behavior matching models for different databases, and shield the differences between different databases;

[0024] S4. Perform log data aggregation and reconstruction according to step S03. The specific process is as follows: reduce the event feature value dimension and extract feature values ​​according to the log feature value mapping method. The log feature value extraction generates effective features based on the original feature set; determine and select the feature values ​​in the original feature value set through the feature value selection algorithm, select an optimal feature subset from the original feature value space to replace the original feature value space, and reduce the dimension of the feature value space; finally, use the optimized log aggregation algorithm according to the data obtained in the previous process, for certain features of the log (time, source address, destination address, communication protocol, etc.), merge a large amount of repeated and concurrent log data into one or several concise data, reduce the log scale and complexity, and the contents not described in detail in this specification belong to the prior art known to those skilled in the art.

[0025] The present invention is based on the edge computing identity resolution log data collection method process, uses data stream mirroring technology to replicate the edge computing interaction log data stream through edge computing, and completely replicates the edge computing interaction log data stream and confirms the identity; uses edge computing-based database access restoration technology to accurately restore the log, and normalizes the original data stream in a unified format to generate original events; through log feature value extraction and correlation analysis, the feature value dimension of the original event is reduced, the log aggregation algorithm is optimized, and the redundant original events are aggregated and reconstructed into a single aggregated event, so as to fully describe a single network behavior.

[0026] 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.

[0027] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A method for collecting identity resolution logs based on edge computing, characterized in that: The specific steps include: S1. Use data stream mirroring technology to replicate the edge computing interaction log data stream through edge computing, fully replicate the edge computing interaction log data stream and confirm the identity; S2, using deep packet analysis and dynamic flow detection to analyze and process traffic data; S3. Use edge computing-based database access restoration technology to accurately restore logs, and normalize the original data stream in a unified format to generate original events; S4. By extracting and analyzing log feature values, reducing the feature value dimensions of original events, optimizing the log aggregation algorithm, and reconstructing redundant original events into a single aggregated event, a complete description of a single network behavior is given.

2. According to the edge computing-based identity resolution log collection method of claim 1, it is characterized by: In the S1, data stream mirroring includes data stream replication based on memory mirroring and data stream replication based on data packet forwarding. The data stream replication technology based on memory mirroring directly retrieves log information from the memory, including memory access technology based on Linux kernel driver and virtual address translation. Memory mirroring realizes the collection of behavior event information. The data stream replication technology based on data packet forwarding directly copies traffic information from the buffer, including data stream distribution technology based on private protocol, data packet buffer pre-allocation technology and buffer data stream high-speed forwarding technology. Data packet forwarding mirroring realizes the collection of traffic information. After collecting normal operation data, valid information is obtained from it, including timestamp, user name, login address, host address, protocol type, user operation and command attributes, and a normal user behavior model is constructed in combination with the above valid information.

3. According to the edge computing-based identity resolution log collection method of claim 1, it is characterized by: In S2, features are extracted and feature models are constructed through deep packet parsing and dynamic flow detection technology. The application layer content of the data packet is analyzed through deep packet parsing, including using feature-based recognition technology to extract specific ports, specific strings or specific sequences that may exist in the control flow data packet and match them with the feature library for identification. Dynamic flow detection technology extracts multiple flow-related features, including data packet length, duration, transmission rate, average data packet time interval, and combines the features extracted by deep packet parsing technology to construct a feature model. Finally, a machine learning algorithm is used to match unknown traffic and the feature model.

4. According to the edge computing-based identity resolution log collection method of claim 1, it is characterized by: In S3, the features of different database access behaviors are extracted from the features of the protocol analysis data stream, and corresponding matching models are established for different database access behaviors. Then, through database behavior feature restoration, database access behavior information is extracted to generate standardized log events. Finally, different behavior matching models are established for different databases to make the restoration of access behaviors of different databases transparent.

5. According to the edge computing-based identity resolution log collection method of claim 1, it is characterized by: In S4, the dimension of the event eigenvalue is reduced according to the log eigenvalue mapping method, and the eigenvalue is extracted. The eigenvalue selection algorithm is used to select the eigenvalues ​​in the original eigenvalue set. The eigenvalue selection selects an optimal feature subset from the original eigenvalue space to replace the original eigenvalue space based on the evaluation criteria, so as to achieve the purpose of reducing the dimensionality of the eigenvalue space.

6. According to the edge computing-based identity resolution log collection method of claim 5, it is characterized by: In S4, the log aggregation algorithm is optimized to generate a low-dimensional feature value set after being processed by the feature value extraction and feature value selection algorithms, including the time, source address, destination address and communication protocol features of the log, and the repeated log data is merged into concise data.