Data encryption method and system based on malicious attacks on big data networks

By collecting and processing access data from big data networks in real time, using feature parameters and higher-order features for screening and encryption processing, combined with vulnerability detection, the problems of high false alarm rate and low detection rate of traditional data encryption systems are solved, and the problem of large-scale Efficient security guarantees of data platforms.

CN118200022BActive Publication Date: 2024-11-22GUANGZHOU SONGYANG YUNCHUANG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410449558.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-15
Publication Date
2024-11-22
Estimated Expiration
2044-04-15

AI Technical Summary

Technical Problem

Traditional data encryption systems based on malicious attacks on big data networks have high false alarm rates, poor adaptability and low detection rates, which cannot effectively prevent the risks of data loss and data leakage, and cannot meet the encryption requirements of high-speed and large-capacity data.

Method used

Access data sets and model data sets through real-time acquisition, construct data sets to be detected, and use feature parameter numbering processing, convolutional neural network to extract higher-order feature parameters, and abnormality detection algorithms for matching calculations, generate filtered data groups, and combine them with reference data sets Calculate the vulnerability index, perform encryption processing and vulnerability detection, and generate repair signals for security detection.

Benefits of technology

Real-time protection, accurate detection, data encryption enhancement, vulnerability detection and repair are realized, providing more comprehensive and efficient security guarantees, and improving the security and defense capabilities of the big data platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118200022B_ABST
    Figure CN118200022B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention relates to the field of network security technology, and discloses a data encryption method based on malicious attacks on big data networks, including: collecting corresponding access data sets in real time through a network connection to a big data platform, and transmitting the model data set to an attack detection unit; the attack detection unit performs numbering processing on characteristic parameters in the data set to be detected to obtain a corresponding screening data group, and the data encryption unit calculates the corresponding sequence data group based on the screening data group and the reference data set, and transmits the sequence data group to a vulnerability detection unit through the network, and collects the encrypted data set through a network connection platform database. The data encryption method for malicious attacks on big data networks in the embodiment of the present invention has technical effects such as real-time protection, accurate detection, data encryption enhancement, vulnerability detection and repair, and intelligence and automation, and provides a more comprehensive and efficient security guarantee for the big data platform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network security technology, and in particular to a data encryption method and system based on malicious attacks on big data networks. Background Art

[0002] With the continuous development of the Internet, big data technology has also been widely used. However, the threat of malicious network attacks is also increasing. Big data network malicious attacks refer to the use of big data technology and means to destroy, steal or tamper with computer systems, networks or data. These attack methods are usually characterized by high concealment, wide attack range, and serious attack effects, which pose a great threat to network security. Malicious attacks usually use highly concealed attack methods, such as encrypted communication, anonymous proxy, etc., making the attack behavior difficult to detect and track. Big data network malicious attacks target any device and system connected to the Internet, including computers, mobile phones, routers, etc., resulting in serious consequences such as data loss, system crashes, and service interruptions, causing huge losses to users and enterprises. Big data network malicious attacks include data leakage, denial of service attacks, distributed denial of service attacks, malware, and social engineering attacks. Data leakage attacks are carried out by hackers invading the system or using social engineering methods to obtain user information, such as personal identity information, financial information, etc. Denial of service attacks are usually carried out by exploiting system vulnerabilities or occupying a large amount of bandwidth to send a large number of requests to the target server, making it unable to provide services normally. Distributed denial of service attacks use botnets to control multiple computers and send a large number of requests to the target server at the same time, causing the system to crash and fail to provide services normally. Malware attacks damage computer systems and steal user information. Common malware include viruses, Trojans, worms, etc. Attackers obtain users' sensitive information by taking advantage of human weaknesses. Common social engineering attack methods include phishing emails and fake websites. Big data network malicious attacks are a serious network security threat that requires a variety of measures to prevent and respond. Only by strengthening security awareness and technical prevention can we effectively protect network security and personal privacy.

[0003] At present, traditional data encryption systems based on big data network malicious attacks usually use symmetric encryption, asymmetric encryption and hash algorithms to protect data privacy and security. However, in actual use, the performance efficiency of traditional data encryption systems often cannot meet the encryption requirements of high-speed and large-capacity data. When attacked by new types of complex network malicious attacks, the intrusion detection false alarm rate is high, the adaptability is poor and the detection rate is low, and they cannot effectively prevent the risk of data loss and data leakage, which limits their defense capabilities against new types of complex network attacks. Summary of the invention

[0004] In view of the above defects, the embodiment of the present invention discloses a data encryption method based on big data network malicious attacks, which solves the problems of high false alarm rate, poor adaptability and low detection rate of traditional data encryption systems based on big data network malicious attacks, and the inability to encrypt large-capacity data at high speed and weak defense.

[0005] The first aspect of the embodiment of the present invention discloses a data encryption method based on a big data network malicious attack, comprising:

[0006] Collect corresponding access data sets in real time through a network connection to a big data platform, and transmit the access data sets to an attack detection unit; wherein the access data sets are data sets of network users accessing corresponding network sites;

[0007] Acquire a model data set in a platform database through a network connection, transmit the model data set to an attack detection unit, and construct a to-be-detected data set according to the model data set and an access data set;

[0008] The attack detection unit performs numbering processing on the characteristic parameters in the to-be-detected data set to obtain a corresponding screening data set, and transmits the screening data set to the data encryption unit; the data encryption unit constructs a reference data set through a network connection platform database; wherein the reference data set includes a reference deformation model, a reference vulnerability data set and a reference vulnerability index;

[0009] The data encryption unit calculates a corresponding sequence data group according to the screening data group and the reference data group, transmits the sequence data group to the vulnerability detection unit through the network, collects the encrypted data group through the network connection platform database; calculates a corresponding encrypted data group according to the encrypted data group and the reference data group;

[0010] A corresponding vulnerability index is calculated based on the sequence data set and the reference data set, and compared with the reference vulnerability index in the reference data set. If it is detected that the vulnerability index exceeds a preset threshold, a repair signal is generated and transmitted to the security inspection unit for security detection.

[0011] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the attack detection unit performs numbering processing on the characteristic parameters in the to-be-detected data set to obtain a corresponding screening data set, including:

[0012] The characteristic parameters in the access data set are numbered to obtain an access number set, where the numbers of the access number set are FW1, FW2, FW3, ... FW n ; The characteristic parameters in the model data set are numbered to obtain a model number set, and the numbering of the access number set is FW1, FW2, FW3, ... FW n ;

[0013] Extracting attack characteristic parameters associated with the network attack from the access number set, the characteristic parameters including access frequency, traffic pattern, source IP address and attack time point;

[0014] The acquired attack feature parameters are extracted through a convolutional neural network to obtain the corresponding high-order feature parameters;

[0015] According to the anomaly detection algorithm, the attack feature parameters and high-order feature parameters are matched with the data in the model number set to calculate the detection matching results of each data point in the access data set and the known attack pattern, wherein the detection matching results are similarity data or anomaly degree data, and the anomaly detection algorithm uses the Euclidean distance formula or the Gaussian mixture model or the anomaly estimation formula to perform matching calculation;

[0016] If the detection matching result meets the setting requirements, the corresponding data point is marked as abnormal, and the data point marked as abnormal is added to the screening data set.

[0017] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the abnormality estimation formula is:

[0018]

[0019] Among them, f(x) is the probability value of anomaly occurring at data point x, r is the first estimation parameter; k is the second estimation parameter, and x is the attack feature parameter corresponding to the data point.

[0020] As an optional implementation, in the first aspect of the embodiment of the present invention, before matching the attack feature parameters and the high-order feature parameters with the data in the model data set according to the anomaly detection algorithm, the method includes:

[0021] The attack feature parameters and high-order feature parameters are combined with the data in the model data set to screen the data to select the feature parameters required for the data set number to be tested; the feature selection algorithm is a mutual information algorithm or a card verification algorithm;

[0022] Through feature combination engineering, attack feature parameters and some features in high-order feature parameters are combined to generate combined feature parameters or polynomial feature parameters.

[0023] As an optional implementation, in the first aspect of the embodiment of the present invention, the reference data set includes a reference deformation model CK bx , Reference vulnerability dataset CK bx and reference vulnerability index CK LdzsThe data encryption unit calculates a corresponding sequence data set based on the screening data set and the reference data set, including:

[0024] The sequence data set Xlsj is calculated from the screening data set Sxsj and the reference data set according to the sequence calculation formula, and the sequence calculation formula is:

[0025]

[0026] Among them, Xlsj represents the sequence data set, Indicates the deformation sequence split according to the access data variable in the screening data group, CK bx Indicates the deformation algorithm corresponding to a single or multiple data in the access data set in the reference deformation model; x n is the corresponding data point parameter.

[0027] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the corresponding encrypted data set is calculated according to the encrypted data set and the reference data set, including:

[0028] Determine the privacy category of each to-be-encrypted data in the encrypted data set according to the set privacy category list to obtain encryption level information corresponding to the to-be-encrypted data;

[0029] acquiring an encryption function corresponding to the encryption level information according to the encryption level information;

[0030] Encrypting the data to be encrypted in the corresponding encrypted data set according to the encryption function, recording the encryption parameters and intermediate results of each step during the encryption process, and generating a corresponding unlocking key based on the encryption parameters and intermediate results; the unlocking key corresponds to the encrypted data;

[0031] The encrypted results of various types of private data are combined to form an encrypted data group, which includes a plurality of encrypted data blocks and corresponding unlocking keys.

[0032] As an optional implementation, in the first aspect of the embodiment of the present invention, calculating a corresponding vulnerability index according to the sequence data set and the reference data set, and comparing it with a reference vulnerability index in the reference data set, includes:

[0033] The sequence data set and the reference data set are used to calculate the vulnerability index corresponding to each time point;

[0034] If the vulnerability index is less than the reference vulnerability index, the corresponding data is determined to be safe data, and a safe transmission signal is generated;

[0035] If the vulnerability index is not less than the reference vulnerability index, the corresponding data is determined to be abnormal data, a vulnerability repair signal is generated, and the corresponding abnormal data is transmitted to the recognition model unit through network transmission to optimize the training of the recognition model unit.

[0036] A second aspect of an embodiment of the present invention discloses a data encryption system based on malicious attacks on a big data network, comprising:

[0037] Collection module: used to collect corresponding access data sets in real time through the network connection big data platform, and transmit the access data sets to the attack detection unit; wherein the access data sets are data sets of network users accessing corresponding network sites;

[0038] Acquisition module: used to acquire the model data set in the platform database through a network connection, transmit the model data set to the attack detection unit, and construct a data set to be detected according to the model data set and the access data set;

[0039] A number processing module: used for the attack detection unit to perform number processing on the characteristic parameters in the to-be-detected data set to obtain a corresponding screening data set, and transmit the screening data set to the data encryption unit; the data encryption unit constructs a reference data set through a network connection platform database; wherein the reference data set includes a reference deformation model, a reference vulnerability data set and a reference vulnerability index;

[0040] Calculation module: used for the data encryption unit to calculate the corresponding sequence data group according to the screening data group and the reference data set, and transmit the sequence data group to the vulnerability detection unit through the network, collect the encrypted data set through the network connection platform database; calculate the corresponding encrypted data group according to the encrypted data set and the reference data set;

[0041] Index comparison module: used to calculate the corresponding vulnerability index based on the sequence data set and the reference data set, and compare it with the reference vulnerability index in the reference data set. If it is detected that the vulnerability index exceeds a preset threshold, a repair signal is generated and transmitted to the safety inspection unit for safety detection.

[0042] The third aspect of an embodiment of the present invention discloses an electronic device, comprising: a memory storing executable program code; a processor coupled to the memory; the processor calls the executable program code stored in the memory to execute the data encryption method based on big data network malicious attack disclosed in the first aspect of the embodiment of the present invention.

[0043] A fourth aspect of an embodiment of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute the data encryption method based on malicious attacks on a big data network disclosed in the first aspect of an embodiment of the present invention.

[0044] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0045] The data encryption method for malicious attacks on big data networks in the embodiment of the present invention has technical effects such as real-time protection, accurate detection, data encryption enhancement, vulnerability detection and repair, as well as intelligence and automation, providing a more comprehensive and efficient security guarantee for the big data platform. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0047] Figure 1 It is a flow chart of a data encryption method based on malicious attacks on a big data network disclosed in an embodiment of the present invention;

[0048] Figure 2 is a schematic diagram of a process for determining a screening data group disclosed in an embodiment of the present invention;

[0049] Figure 3 It is a structural schematic diagram of a data encryption system based on malicious attacks on big data networks provided by an embodiment of the present invention;

[0050] Figure 4 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

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

[0052] It should be noted that the terms "first", "second", "third", "fourth", etc. in the specification and claims of the present invention are used to distinguish different objects rather than to describe a specific order. The terms "including" and "having" in the embodiments of the present invention and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0053] At present, traditional data encryption systems based on malicious attacks on big data networks usually use symmetric encryption, asymmetric encryption and hash algorithms to protect the privacy and security of data. However, in actual use, the performance efficiency of traditional data encryption systems often cannot meet the encryption requirements of high-speed and large-capacity data. When attacked by new complex network malicious attacks, the intrusion detection false alarm rate is high, the adaptability is poor and the detection rate is low, and the risk of data loss and data leakage cannot be effectively prevented, which makes their defense capabilities against new complex network attacks limited. Based on this, the embodiment of the present invention discloses a data encryption method, system, electronic device and storage medium based on malicious attacks on big data networks, which has the technical effects of real-time protection, accurate detection, data encryption enhancement, vulnerability detection and repair, and intelligence and automation, providing a more comprehensive and efficient security guarantee for the big data platform.

[0054] Embodiment 1

[0055] See also Figure 1 , Figure 1 It is a flow chart of the data encryption method based on big data network malicious attacks disclosed in the embodiment of the present invention. Among them, the execution subject of the method described in the embodiment of the present invention is an execution subject composed of software and / or hardware, and the execution subject can receive relevant information by wired or / and wireless means, and can send certain instructions. Of course, it can also have certain processing functions and storage functions. The execution subject can control multiple devices, such as a remote physical server or cloud server and related software, or it can be a local host or server and related software that performs related operations on a device placed somewhere. In some scenarios, multiple storage devices can also be controlled, and the storage devices can be placed in the same place or different places as the devices. For example Figure 1 As shown, the data encryption method based on big data network malicious attack includes the following steps:

[0056] S101: Collect corresponding access data sets in real time through a network connection to a big data platform, and transmit the access data sets to an attack detection unit; wherein the access data sets are data sets of network users accessing corresponding network sites;

[0057] S102: Acquire a model data set in a platform database through a network connection, transmit the model data set to an attack detection unit, and construct a to-be-detected data set according to the model data set and an access data set;

[0058] S103: the attack detection unit performs numbering processing on the characteristic parameters in the to-be-detected data set to obtain a corresponding screening data set, and transmits the screening data set to the data encryption unit; the data encryption unit constructs a reference data set through a network connection platform database; wherein the reference data set includes a reference deformation model, a reference vulnerability data set and a reference vulnerability index;

[0059] S104: The data encryption unit calculates a corresponding sequence data group according to the screening data group and the reference data group, and transmits the sequence data group to the vulnerability detection unit through the network, collects the encrypted data group through the network connection platform database; calculates a corresponding encrypted data group according to the encrypted data group and the reference data group;

[0060] S105: Calculate a corresponding vulnerability index based on the sequence data set and the reference data set, and compare it with the reference vulnerability index in the reference data set. If it is detected that the vulnerability index exceeds a preset threshold, generate a repair signal and transmit it to the security check unit for security detection.

[0061] The present invention sets an access data unit and an identification model unit through a data monitoring module to collect a data set to be inspected. The attack detection unit numbers the data set to be inspected according to its characteristics, and screens and generates a screening data group Sxsj, and performs primary screening in a known malicious attack identification model. The data encryption module calculates a sequence data group Xlsj through an editing and arranging unit, normalizes the new complex malicious attack access data, and makes a secondary split editing and arranging judgment more accurate, thereby preventing malicious attack data with hidden vests or disordered and changeable data from invading the data encryption module, and the malicious attack judgment is accurate and efficient.

[0062] The present invention sets a multi-level encryption unit through a data encryption module to collect encrypted data sets, and then calculates the encrypted data group Jmsj, encrypts different categories of key confidential and personal privacy data in the system database, and correspondingly calculates the unlocking keys of different categories of privacy data. The data encryption module sets a vulnerability detection unit to calculate the vulnerability index Ldzs, and the data transmission module compares the reference vulnerability index CK according to the vulnerability index Ldzs. LdzsGenerate a signal, the security check unit connects to the central processor according to the security transmission signal to transmit the encrypted data group Jmsj, the security check unit repairs the firewall according to the vulnerability repair signal, and transmits the sequence data group Xlsj to the recognition model unit through the network, the vulnerability repair cooperates with the autonomous learning training system recognition model, effectively ensuring the security of key data and the system defense, and high-speed encryption of large-capacity data has strong defense.

[0063] In the embodiment of the present invention, the access data parameter can be an IP address: used to identify the location and network identity of the visitor. Access time: records when the visitor attempts to access the system. Access page or resource: indicates the specific content that the visitor attempts to access. Request type (GET, POST, etc.): indicates the method of access request. Response status code: such as 200, 404, 500, etc., indicating the response status of the server to the request. User agent (User-Agent): provides information about the visitor's browser or client.

[0064] Identification model parameters include known attack patterns: features extracted from past attack cases, such as specific request formats, attack payloads, etc. Abnormal behavior patterns: operation patterns that are clearly inconsistent with normal user behavior, such as frequent login attempts, large numbers of requests for the same resource, etc. Traffic characteristics: statistical characteristics of network traffic, such as packet size distribution and flow rate.

[0065] In order to construct the dataset to be tested, the system may combine the above parameters and prepare the dataset through some preprocessing steps (such as data cleaning, standardization, feature extraction, etc.). This dataset will then be input into the attack detection unit for further analysis and identification. In addition, according to the actual network environment and security requirements, more parameters may be introduced to enhance the detection capability of the dataset. For example, user behavior analysis, session duration, click stream data, etc. can be considered to improve the detection accuracy of malicious attacks.

[0066] More preferably, Figure 2 is a schematic diagram of a process for determining a screening data set disclosed in an embodiment of the present invention, such as Figure 2 As shown, the attack detection unit performs numbering processing on the characteristic parameters in the to-be-detected data set to obtain a corresponding screening data set, including:

[0067] S1031: Numbering the characteristic parameters in the access data set to obtain an access number set, where the numbers of the access number set are FW1, FW2, FW3, ... FW n ; The characteristic parameters in the model data set are numbered to obtain a model number set, and the numbering of the access number set is FW1, FW2, FW3, ... FW n ;

[0068] S1032: extracting attack feature parameters associated with the network attack from the access number set, the feature parameters including access frequency, traffic pattern, source IP address and attack time point;

[0069] S1033: extracting the acquired attack feature parameters through a convolutional neural network to obtain corresponding high-order feature parameters;

[0070] S1034: According to the anomaly detection algorithm, the attack feature parameters and high-order feature parameters are matched with the data in the model number set to calculate the detection matching result of each data point in the access data set and the known attack pattern, wherein the detection matching result is similarity data or anomaly degree data, and the anomaly detection algorithm uses the Euclidean distance formula or the Gaussian mixture model or the anomaly estimation formula to perform matching calculation;

[0071] S1035: If the detection matching result meets the setting requirements, the corresponding data point is marked as abnormal, and the data point marked as abnormal is added to the screening data group.

[0072] The above scheme can manage data in a more standardized and systematic manner by numbering the feature parameters in the access data set and the model data set, thereby improving data processing efficiency and accuracy. This numbering process facilitates subsequent feature extraction and matching calculations.

[0073] By extracting attack feature parameters associated with network attacks, such as access frequency, traffic pattern, source IP address, and attack time, potential malicious attack behaviors can be identified more accurately. These feature parameters are important for distinguishing normal access from malicious attacks.

[0074] Using convolutional neural networks to extract high-level features of attack feature parameters can capture more complex and in-depth attack patterns. This high-level feature parameter extraction helps improve the accuracy and sensitivity of attack detection.

[0075] By matching and calculating the attack feature parameters and high-order feature parameters with the data in the model number set through the anomaly detection algorithm, abnormal data points can be found in time and marked as abnormal. This data matching and anomaly detection mechanism helps to quickly identify and locate malicious attack behaviors.

[0076] The entire process of screening data groups is realized through automated and intelligent algorithms, which reduces the need for manual intervention and improves the processing speed and accuracy of the system. At the same time, by setting the requirements for detection and matching results, data groups related to malicious attacks can be screened out more accurately, providing strong support for subsequent data encryption and vulnerability detection.

[0077] More preferably, the anomaly estimation formula is:

[0078]

[0079] Among them, f(x) is the probability value of anomaly occurring at data point x, r is the first estimation parameter; k is the second estimation parameter, and x is the attack feature parameter corresponding to the data point.

[0080] In the field of network security, the above anomaly estimation formula is used to model the duration, arrival interval or attack intensity of certain network attack patterns; however, the first estimation parameter r and the second estimation parameter k in the above scheme are not fixed. For a specific network attack pattern, r and k will change according to the characteristics of the attack and the statistical characteristics of the data. For example, if the attack traffic presents an obvious heavy-tail distribution, that is, most of the attack traffic is concentrated in a short period of time, while a small part of the attack traffic lasts for a long time, then the r parameter in the anomaly estimation formula may be less than 1, indicating this heavy-tail characteristic.

[0081] In order to obtain the values ​​of the corresponding parameters r and k, it is necessary to collect data related to the specific network attack pattern, which may include the duration of the attack, the arrival interval or the attack intensity, etc. Then, the specific values ​​of the parameters r and k are estimated by maximum likelihood estimation or other optimization algorithms. After the fitting is completed, in order to verify the accuracy of the model, it can be done by comparing the histogram of the fitted distribution with the actual data or using other statistical tests (such as the Kolmogorov-Smirnov test).

[0082] More preferably, before matching the attack feature parameters and high-order feature parameters with the data in the model data set according to the anomaly detection algorithm, the method further comprises:

[0083] The attack feature parameters and high-order feature parameters are combined with the data in the model data set to screen the data to select the feature parameters required for the data set number to be tested; the feature selection algorithm is a mutual information algorithm or a card verification algorithm;

[0084] Through feature combination engineering, attack feature parameters and some features in high-order feature parameters are combined to generate combined feature parameters or polynomial feature parameters.

[0085] The above solution can significantly reduce the number of feature parameters involved in data matching by filtering data through feature selection algorithms. This means that when performing anomaly detection, the system only needs to focus on those features that are highly relevant to malicious attacks, thereby improving detection efficiency. At the same time, feature selection algorithms (such as mutual information algorithms or card inspection algorithms) can automatically find the features most relevant to attack behaviors based on statistical or machine learning methods, which makes the detection process more intelligent and automated.

[0086] Feature combination engineering generates new combined feature parameters or polynomial feature parameters by combining attack feature parameters and high-order feature parameters. This combination can capture information not reflected in the original features and further improve the performance of the detection model. The combined feature parameters may better represent the essence of malicious attack behavior, thereby improving the accuracy of detection.

[0087] More preferably, the reference data set includes a reference deformation model CK bx , Reference vulnerability dataset CK bx and reference vulnerability index CK Ldzs The data encryption unit calculates a corresponding sequence data set based on the screening data set and the reference data set, including:

[0088] The sequence data set Xlsj is calculated from the screening data set Sxsj and the reference data set according to the sequence calculation formula, and the sequence calculation formula is:

[0089]

[0090] Among them, Xlsj represents the sequence data set, Indicates the deformation sequence split according to the access data variable in the screening data group, CK bx Indicates the deformation algorithm corresponding to a single or multiple data in the access data set in the reference deformation model; x n is the corresponding data point parameter.

[0091] The Sxsj in the above formula can be regarded as a set of network data flows or events that have been preliminarily screened, which may contain potential attack behaviors or normal behaviors. In the context of network attack detection, Sxsj may represent a series of network requests, data packets, or other data related to network activities.

[0092] Xlsj in the formula can be understood as a data sequence after further analysis and processing, which may reveal abnormal behavior or attack patterns in the network. In network attack detection, Xlsj may represent a collection of data points that are identified as potential attack behaviors.

[0093] CK bxIt stands for reference deformation model, which can be analogized to known attack patterns or behavior characteristics in the field of network security. In network attack detection, this deformation model may correspond to known attack signatures, behavior patterns, or characteristics of abnormal traffic.

[0094] In network attack detection, this process may involve statistical analysis of data, pattern matching, time series analysis, etc. to identify abnormal activities that do not conform to normal behavior patterns. These abnormal activities may be potential network attacks.

[0095] More preferably, the corresponding encrypted data set is calculated according to the encrypted data set and the reference data set, including:

[0096] Determine the privacy category of each to-be-encrypted data in the encrypted data set according to the set privacy category list to obtain encryption level information corresponding to the to-be-encrypted data;

[0097] acquiring an encryption function corresponding to the encryption level information according to the encryption level information;

[0098] Encrypting the data to be encrypted in the corresponding encrypted data set according to the encryption function, recording the encryption parameters and intermediate results of each step during the encryption process, and generating a corresponding unlocking key based on the encryption parameters and intermediate results; the unlocking key corresponds to the encrypted data;

[0099] The encrypted results of various types of private data are combined to form an encrypted data group, which includes a plurality of encrypted data blocks and corresponding unlocking keys.

[0100] The multi-level encryption unit collects encrypted data sets through a network connection to the database and numbers them. The encrypted data sets are numbered as JM1, JM2, JM3, ...JM n The numbers correspond to different categories of key confidential and personal privacy data in the system database. The multi-level encryption unit calculates the encrypted data group Jmsj based on the encrypted data set and the reference data set, and transmits it to the data transmission module through the network.

[0101] Specifically, during implementation, the encryption formula is as follows:

[0102]

[0103] Among them, Jmsj represents the encrypted data group, It indicates that multi-level encryption is performed based on the privacy data from category a to category b in the encrypted data set, and the corresponding unlocking key of the privacy data from category a to category b is calculated. Indicates that multi-level encryption is performed based on the private data from category C to category D in the encrypted data set, and the corresponding unlocking key of the private data from category C to category D is calculated. It means that multi-level encryption is performed on the private data of categories e to f in the encrypted data set, and the corresponding unlocking keys of the private data of categories e to f are calculated.

[0104] The corresponding encryption function is selected according to the encryption level information to achieve the adaptability of encryption processing. Different levels of data use encryption algorithms of different strengths, which not only ensures the security of the data, but also avoids unnecessary waste of computing resources. During the encryption process, the encryption parameters and intermediate results of each step are recorded, and the corresponding unlocking keys are generated. This transparent encryption process facilitates subsequent data recovery and verification, and improves the traceability and reliability of encryption. The unlocking key corresponds to the encrypted data, so that when the data needs to be accessed, the data can be easily decrypted through the unlocking key. This key management method simplifies the data access process and improves the user experience. The encrypted results of various types of privacy data are combined to form an encrypted data group, which facilitates the unified management and storage of data. At the same time, multiple encrypted data blocks in the encrypted data group and the corresponding unlocking keys are associated with each other, ensuring the integrity and consistency of the data.

[0105] More preferably, calculating a corresponding vulnerability index according to the sequence data set and the reference data set, and comparing it with a reference vulnerability index in the reference data set, comprises:

[0106] The sequence data set and the reference data set are used to calculate the vulnerability index corresponding to each time point;

[0107] If the vulnerability index is less than the reference vulnerability index, the corresponding data is determined to be safe data, and a safe transmission signal is generated;

[0108] If the vulnerability index is not less than the reference vulnerability index, the corresponding data is determined to be abnormal data, a vulnerability repair signal is generated, and the corresponding abnormal data is transmitted to the recognition model unit through network transmission to optimize the training of the recognition model unit.

[0109] The vulnerability detection unit calculates the vulnerability index Ldzs based on the sequence data set Xlsj and the reference data set, and transmits it to the data transmission module through the network. The data encryption module is connected to the data transmission module through the network. The calculation formula is as follows:

[0110]

[0111] In the formula, Ldzs represents the vulnerability index, Xlsj represents the deformation sequence split out of the access data variable in the sequence data group, It represents the vulnerability index calculated by the access data deformation sequence and the reference vulnerability data set. According to the vulnerability index Ldzs, the system firewall vulnerability is digitally evaluated, which is conducive to subsequent vulnerability repair and safe operation, and effectively ensures the security of key data and system defense.

[0112] The data transmission module includes a vulnerability repair unit and a security check unit. The vulnerability repair unit generates a signal based on the vulnerability index Ldzs and compares it with the reference data set. The vulnerability index Ldzs < the reference vulnerability index CK Ldzs When the access data is judged as safe data, a safe transmission signal is generated, and the vulnerability index Ldzs ≥ the reference vulnerability index CK Ldzs When the data in the access data set is judged to be abnormal data, a vulnerability repair signal is generated and transmitted to the security inspection unit through the network. The security inspection unit connects to the central processor according to the security transmission signal to transmit the encrypted data group Jmsj. The security inspection unit repairs the firewall according to the vulnerability repair signal and transmits the sequence data group Xlsj to the recognition model unit through the network. The autonomous learning training system recognizes the model to protect the data with stronger defense.

[0113] The technical effects of the above scheme are mainly reflected in the following aspects:

[0114] First, real-time protection capability: By collecting the access data set of network users accessing the big data platform in real time, potential malicious attacks can be detected and identified immediately. This real-time nature helps to respond quickly and reduce the losses that may be caused by malicious attacks.

[0115] Second, accurate detection capability: By using the model data set and the access data set to construct the data set to be tested, and by numbering the characteristic parameters, the data groups related to malicious attacks can be accurately screened and identified. This method helps to improve the accuracy and efficiency of detection.

[0116] Third, data encryption enhancement: The data encryption unit constructs a sequence data group through a reference data set and performs encryption processing, which greatly enhances data security and reduces the risk of data leakage or malicious use.

[0117] Fourth, vulnerability detection and repair: By comparing the vulnerability index with the reference vulnerability index, security vulnerabilities in the system can be discovered in a timely manner. Once the vulnerability index is detected to exceed the preset threshold, the system will generate a repair signal and trigger the security check unit to perform security detection, thereby achieving timely discovery and repair of vulnerabilities and improving system security.

[0118] Fifth, intelligence and automation: The entire encryption and detection process is automated and intelligent through network connection and database interaction, reducing the need for human intervention and improving the system's response speed and processing efficiency.

[0119] In summary, this data encryption method based on malicious attacks on big data networks has technical effects such as real-time protection, accurate detection, data encryption enhancement, vulnerability detection and repair, as well as intelligence and automation, providing a more comprehensive and efficient security guarantee for the big data platform.

[0120] Embodiment 2

[0121] See also Figure 3 , Figure 3 Schematic diagram of the structure of the data encryption system based on big data network malicious attack disclosed in the embodiment of the present invention. Figure 3 As shown, the data encryption system based on big data network malicious attack may include:

[0122] Collection module 21: used to collect corresponding access data sets in real time through a network connection to a big data platform, and transmit the access data sets to an attack detection unit; wherein the access data sets are data sets of network users accessing corresponding network sites;

[0123] Acquisition module 22: used to acquire the model data set in the platform database through a network connection, transmit the model data set to the attack detection unit, and construct a data set to be detected according to the model data set and the access data set;

[0124] Numbering processing module 23: used for the attack detection unit to perform numbering processing on the characteristic parameters in the to-be-detected data set to obtain a corresponding screening data set, and transmit the screening data set to the data encryption unit; the data encryption unit constructs a reference data set through a network connection platform database; wherein the reference data set includes a reference deformation model, a reference vulnerability data set and a reference vulnerability index;

[0125] Calculation module 24: used for the data encryption unit to calculate a corresponding sequence data group according to the screening data group and the reference data group, and transmit the sequence data group to the vulnerability detection unit through the network, collect the encrypted data group through the network connection platform database; calculate the corresponding encrypted data group according to the encrypted data group and the reference data group;

[0126] Index comparison module 25: used to calculate the corresponding vulnerability index based on the sequence data set and the reference data set, and compare it with the reference vulnerability index in the reference data set. If it is detected that the vulnerability index exceeds a preset threshold, a repair signal is generated and transmitted to the safety inspection unit for safety detection.

[0127] The technical effects of the above scheme are mainly reflected in the following aspects:

[0128] First, real-time protection capability: By collecting the access data set of network users accessing the big data platform in real time, potential malicious attacks can be detected and identified immediately. This real-time nature helps to respond quickly and reduce the losses that may be caused by malicious attacks.

[0129] Second, accurate detection capability: By using the model data set and the access data set to construct the data set to be tested, and by numbering the characteristic parameters, the data groups related to malicious attacks can be accurately screened and identified. This method helps to improve the accuracy and efficiency of detection.

[0130] Third, data encryption enhancement: The data encryption unit constructs a sequence data group through a reference data set and performs encryption processing, which greatly enhances data security and reduces the risk of data leakage or malicious use.

[0131] Fourth, vulnerability detection and repair: By comparing the vulnerability index with the reference vulnerability index, security vulnerabilities in the system can be discovered in a timely manner. Once the vulnerability index is detected to exceed the preset threshold, the system will generate a repair signal and trigger the security check unit to perform security detection, thereby achieving timely discovery and repair of vulnerabilities and improving system security.

[0132] Fifth, intelligence and automation: The entire encryption and detection process is automated and intelligent through network connection and database interaction, reducing the need for human intervention and improving the system's response speed and processing efficiency.

[0133] In summary, this data encryption method based on malicious attacks on big data networks has technical effects such as real-time protection, accurate detection, data encryption enhancement, vulnerability detection and repair, as well as intelligence and automation, providing a more comprehensive and efficient security guarantee for the big data platform.

[0134] Embodiment 3

[0135] See also Figure 4 , Figure 4 Schematic diagram of the structure of an electronic device disclosed in an embodiment of the present invention. The electronic device may be a computer, a server, etc. Of course, in certain circumstances, it may also be a smart device such as a mobile phone, a tablet computer, a monitoring terminal, and an image acquisition device with processing functions. Figure 4 As shown, the electronic device may include:

[0136] A memory 510 storing executable program codes;

[0137] a processor 520 coupled to the memory 510;

[0138] The processor 520 calls the executable program code stored in the memory 510 to execute part or all of the steps in the data encryption method based on big data network malicious attack in the first embodiment.

[0139] An embodiment of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute part or all of the steps in the data encryption method based on malicious attacks on big data networks in Embodiment 1.

[0140] An embodiment of the present invention further discloses a computer program product, wherein when the computer program product runs on a computer, the computer executes part or all of the steps in the data encryption method based on big data network malicious attack in embodiment one.

[0141] An embodiment of the present invention further discloses an application publishing platform, wherein the application publishing platform is used to publish a computer program product, wherein when the computer program product runs on a computer, the computer executes part or all of the steps in the data encryption method based on big data network malicious attack in embodiment one.

[0142] In various embodiments of the present invention, it should be understood that the size of the serial numbers of the processes does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0143] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place or distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0144] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0145] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for a computer device (which can be a personal computer, a server or a network device, etc., specifically a processor in a computer device) to perform some or all of the steps of the method described in each embodiment of the present invention.

[0146] In the embodiments provided by the present invention, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.

[0147] A person of ordinary skill in the art can understand that some or all of the steps in the various methods of the embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0148] The above is a detailed introduction to the data encryption method, system, electronic device and storage medium based on malicious attacks on big data networks disclosed in the embodiments of the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A data encryption method based on malicious attacks on big data networks, characterized in that: include: Collect corresponding access data sets in real time through a network connection to a big data platform, and transmit the access data sets to an attack detection unit; wherein the access data sets are data sets of network users accessing corresponding network sites; Acquire a model data set in a platform database through a network connection, transmit the model data set to an attack detection unit, and construct a to-be-detected data set according to the model data set and an access data set; The attack detection unit performs numbering processing on the characteristic parameters in the data set to be checked to obtain a corresponding screening data group, and transmits the screening data group to the data encryption unit; the data encryption unit constructs a reference data set through a network connection platform database; wherein the reference data set includes a reference deformation model, a reference vulnerability data set and a reference vulnerability index; the attack detection unit performs numbering processing on the characteristic parameters in the data set to be checked to obtain a corresponding screening data group, including: The characteristic parameters in the access data set are numbered to obtain an access number set, where the numbers of the access number set are FW1, FW2, FW3, ... FW n ; Numbering the characteristic parameters in the model data set to obtain a model number set; Extracting attack characteristic parameters associated with the network attack from the access number set, the characteristic parameters including access frequency, traffic pattern, source IP address and attack time point; The acquired attack feature parameters are extracted through a convolutional neural network to obtain the corresponding high-order feature parameters; According to the anomaly detection algorithm, the attack feature parameters and high-order feature parameters are matched with the data in the model number set to calculate the detection matching results of each data point in the access data set and the known attack pattern, wherein the detection matching results are similarity data or anomaly degree data, and the anomaly detection algorithm uses the Euclidean distance formula or the Gaussian mixture model or the anomaly estimation formula to perform matching calculation; If the detection matching result meets the setting requirements, the corresponding data point is marked as abnormal, and the data point marked as abnormal is added to the screening data set; The data encryption unit calculates a corresponding sequence data set based on the screening data set and the reference data set, and transmits the sequence data set to the vulnerability detection unit through the network, and collects the encrypted data set through the network connection platform database; calculates a corresponding encrypted data set based on the encrypted data set and the reference data set; the reference data set includes a reference deformation model CK bx , Reference vulnerability dataset CK k and reference vulnerability index CK Ldzs The data encryption unit calculates a corresponding sequence data set based on the screening data set and the reference data set, including: The sequence data set Xlsj is obtained by calculating the screening data set Sxsj and the reference data set according to the sequence calculation formula, and the sequence calculation formula is: Among them, Xlsj represents the sequence data set, Indicates the deformation sequence split according to the access data variable in the screening data group, CK bx Indicates the deformation algorithm corresponding to a single or multiple data in the access data set in the reference deformation model; x n is the corresponding data point parameter; The corresponding encrypted data group is calculated according to the encrypted data set, including: Determine the privacy category of each to-be-encrypted data in the encrypted data set according to the set privacy category list to obtain encryption level information corresponding to the to-be-encrypted data; acquiring an encryption function corresponding to the encryption level information according to the encryption level information; Encrypting the data to be encrypted in the corresponding encrypted data set according to the encryption function, recording the encryption parameters and intermediate results of each step during the encryption process, and generating a corresponding unlocking key based on the encryption parameters and intermediate results; the unlocking key corresponds to the encrypted data; Combining the encrypted results of various types of private data to form an encrypted data group, wherein the encrypted data group includes a plurality of encrypted data blocks and corresponding unlocking keys; A corresponding vulnerability index is calculated based on the sequence data set and the reference data set, and compared with the reference vulnerability index in the reference data set. If it is detected that the vulnerability index exceeds a preset threshold, a repair signal is generated and transmitted to the security inspection unit for security detection.

2. The data encryption method based on big data network malicious attack as claimed in claim 1 is characterized in that: The anomaly estimation formula is: Among them, f(x) is the probability value of anomaly occurring at data point x, r is the first estimation parameter; k is the second estimation parameter, and x is the attack feature parameter corresponding to the data point.

3. The data encryption method based on big data network malicious attack as claimed in claim 1 is characterized in that: Before matching the attack feature parameters and high-order feature parameters with the data in the model data set according to the anomaly detection algorithm, the method includes: The attack feature parameters and high-order feature parameters are combined with the data in the model data set to screen the data to select the feature parameters required for the data set number to be tested; the feature selection algorithm is a mutual information algorithm or a card verification algorithm; Through feature combination engineering, attack feature parameters and some features in high-order feature parameters are combined to generate combined feature parameters or polynomial feature parameters.

4. The data encryption method based on big data network malicious attack as claimed in claim 1 is characterized in that: Calculating a corresponding vulnerability index according to the sequence data set and the reference data set, and comparing it with a reference vulnerability index in the reference data set, including: The sequence data set and the reference data set are used to calculate the vulnerability index corresponding to each time point; If the vulnerability index is less than the reference vulnerability index, the corresponding data is determined to be safe data, and a safe transmission signal is generated; If the vulnerability index is not less than the reference vulnerability index, the corresponding data is determined to be abnormal data, a vulnerability repair signal is generated, and the corresponding abnormal data is transmitted to the recognition model unit through network transmission to optimize the training of the recognition model unit.

5. A data encryption system based on malicious attacks on big data networks, characterized in that: include: Collection module: used to collect corresponding access data sets in real time through the network connection big data platform, and transmit the access data sets to the attack detection unit; wherein the access data sets are data sets of network users accessing corresponding network sites; Acquisition module: used to acquire the model data set in the platform database through a network connection, transmit the model data set to the attack detection unit, and construct a data set to be detected according to the model data set and the access data set; A numbering processing module: used for the attack detection unit to perform numbering processing on the characteristic parameters in the data set to be detected to obtain a corresponding screening data group, and transmit the screening data group to the data encryption unit; the data encryption unit constructs a reference data set through a network connection platform database; wherein the reference data set includes a reference deformation model, a reference vulnerability data set and a reference vulnerability index; the attack detection unit performs numbering processing on the characteristic parameters in the data set to be detected to obtain a corresponding screening data group, including: The characteristic parameters in the access data set are numbered to obtain an access number set, where the numbers of the access number set are FW1, FW2, FW3, ... FW n ; Numbering the characteristic parameters in the model data set to obtain a model number set; Extracting attack characteristic parameters associated with the network attack from the access number set, the characteristic parameters including access frequency, traffic pattern, source IP address and attack time point; The acquired attack feature parameters are extracted through a convolutional neural network to obtain the corresponding high-order feature parameters; According to the anomaly detection algorithm, the attack feature parameters and high-order feature parameters are matched with the data in the model number set to calculate the detection matching results of each data point in the access data set and the known attack pattern, wherein the detection matching results are similarity data or anomaly degree data, and the anomaly detection algorithm uses the Euclidean distance formula or the Gaussian mixture model or the anomaly estimation formula to perform matching calculation; If the detection matching result meets the setting requirements, the corresponding data point is marked as abnormal, and the data point marked as abnormal is added to the screening data set; Calculation module: used for the data encryption unit to calculate the corresponding sequence data group according to the screening data group and the reference data set, and transmit the sequence data group to the vulnerability detection unit through the network, collect the encrypted data set through the network connection platform database; calculate the corresponding encrypted data group according to the encrypted data set and the reference data set; the reference data set includes the reference deformation model CK bx , Reference vulnerability dataset CK k and reference vulnerability index CK Ldzs The data encryption unit calculates a corresponding sequence data set based on the screening data set and the reference data set, including: The sequence data set Xlsj is calculated from the screening data set Sxsj and the reference data set according to the sequence calculation formula, and the sequence calculation formula is: Among them, Xlsj represents the sequence data set, Indicates the deformation sequence split according to the access data variable in the screening data group, CK bx Indicates the deformation algorithm corresponding to a single or multiple data in the access data set in the reference deformation model; x n is the corresponding data point parameter; The corresponding encrypted data group is calculated according to the encrypted data set, including: Determine the privacy category of each to-be-encrypted data in the encrypted data set according to the set privacy category list to obtain encryption level information corresponding to the to-be-encrypted data; acquiring an encryption function corresponding to the encryption level information according to the encryption level information; Encrypting the data to be encrypted in the corresponding encrypted data set according to the encryption function, recording the encryption parameters and intermediate results of each step during the encryption process, and generating a corresponding unlocking key based on the encryption parameters and intermediate results; the unlocking key corresponds to the encrypted data; Combining the encrypted results of various types of private data to form an encrypted data group, wherein the encrypted data group includes a plurality of encrypted data blocks and corresponding unlocking keys; Index comparison module: used to calculate the corresponding vulnerability index based on the sequence data set and the reference data set, and compare it with the reference vulnerability index in the reference data set. If it is detected that the vulnerability index exceeds a preset threshold, a repair signal is generated and transmitted to the safety inspection unit for safety detection.

6. An electronic device, characterized in that: include: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the data encryption method based on big data network malicious attack as described in any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program enables a computer to execute the data encryption method based on big data network malicious attack as described in any one of claims 1 to 4.