A computer data secure communication interaction method and system
It evaluates data sensitivity and communication environment through deep learning models, dynamically adjusts encryption strength, and uses multi-layer encryption algorithms to solve the problems of traditional encryption technology complexity and manual judgment errors, and improves data transmission security and efficiency.
Patent Information
- Application Number
- CN202410926843.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-07-11
AI Technical Summary
Traditional encryption technology adopts a unified encryption strategy for different types of data, which makes the encryption process complex and susceptible to human judgment errors. It cannot effectively identify the characteristics of data types and increases the operational complexity of secure communication interactions.
By extracting the characteristics of transmitted interactive data, a deep learning model is built to learn data sensitivity, and combined with computer communication environment assessment, the encryption strength is dynamically adjusted, a multi-layer encryption algorithm is used, data is transmitted based on security protocols, and integrity verification is performed.
It improves the security of data transmission and storage, ensures that sensitive data is protected by high-strength encryption, reduces manual intervention, improves the automation and efficiency of the encryption process, adapts to different network environments, and prevents excessive occupation of resources.
Smart Images

Figure CN118487871B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data security communication, and in particular to a computer data security communication interaction method and system. Background Art
[0002] With the rapid development of information technology, data interaction and transmission are becoming more and more convenient, and data transmission and communication between the cloud and terminals and other clients are becoming more and more frequent. With the frequent data interaction, data security communication interaction has also become one of the core issues in the field of network security. Encrypting data using encryption technology effectively improves the security of data communication interaction.
[0003] With the development of computer data interactive communication, the types of data that need to be interacted with are also increasing. Traditional encryption technology often adopts a unified encryption strategy and performs the same encryption processing on different types of data. Although this approach has played a certain role in ensuring data security, it is inconvenient to identify characteristics such as data types, resulting in the use of encryption technology being overly dependent on manual selection and judgment, which not only increases the operational complexity of secure communication interactions, but is also prone to errors or delays in manual judgment. Summary of the invention
[0004] In view of the problems existing in the above-mentioned existing computer data secure communication interaction method and system, the present invention is proposed.
[0005] Therefore, the problem to be solved by the present invention is that traditional encryption technology often adopts a unified encryption strategy and performs the same encryption processing on different types of data. Although this approach plays a certain role in ensuring data security, it is inconvenient to identify characteristics such as data types, resulting in the use of encryption technology being overly dependent on manual selection and judgment, which not only increases the operational complexity of secure communication interactions, but is also prone to errors or delays in manual judgment.
[0006] In order to solve the above technical problems, the present invention provides the following technical solutions: a computer data secure communication interaction method, comprising:
[0007] Extract the characteristics of transmission interaction data, build deep learning models, determine data sensitivity, monitor computer communication environment, and evaluate communication status based on communication environment data;
[0008] Determine the encryption strength of the transmitted interactive data based on the sensitivity score of the transmitted interactive data and the computer environment score, analyze and determine the number of encryption layers based on the encryption strength, and implement multi-layer encryption;
[0009] Data is transmitted based on a security protocol, the transmitted data is backed up and log files are recorded, and the receiving end decrypts the transmitted interactive files for integrity verification.
[0010] As a preferred solution of the computer data secure communication interaction method of the present invention, wherein: the extraction of transmission interaction data features, construction of deep learning model learning, and judgment of data sensitivity include:
[0011] Extract multiple features from the transmission interaction data D, including data type, data source, data usage frequency and data historical access records, and combine them into a feature vector ;
[0012] A deep learning model is constructed, including input layer, hidden layer and output layer, and the sensitivity score of the extracted features is calculated using a multilayer perceptron combined with a nonlinear activation function, expressed as:
[0013] ,
[0014] Where S(D) represents the sensitivity score of the transmission interaction data, represents the Sigmoid activation function, represents the tanh hyperbolic tangent activation function, represents the weight matrix of the i-th layer, represents the jth feature weight of the i-th layer, represents the jth feature bias of the i-th layer, represents the bias term of the i-th layer, L is the number of neural network layers, The expression represents the jth eigenvector, and m represents the total number of features;
[0015] Use the mean square error loss function to minimize the loss function through gradient descent and determine , , and ;
[0016] Input feature vector , and calculate the sensitivity score to obtain S(D).
[0017] As a preferred solution of the computer data secure communication interaction method of the present invention, wherein: the monitoring of the computer communication environment and evaluating the communication status according to the communication environment data include:
[0018] Based on the Wireshark network protocol analysis tool, the current computer sending end communication environment is monitored, the network delay, bandwidth and channel status are monitored and calculated respectively, and the communication status is evaluated, which is expressed as:
[0019] ,
[0020] Where E represents the environment score output, U represents network delay, B represents bandwidth, and C represents channel status. Represents the weight coefficient of network delay score, represents the weight coefficient of bandwidth score, Represents the weight coefficient of the channel state score;
[0021] Use the training set and define the loss function O, optimize the loss function through the gradient descent algorithm, update and confirm , and ;
[0022] The newly acquired U, B and C are input to get the environmental score output.
[0023] As a preferred solution of the computer data secure communication interaction method of the present invention, wherein: the encryption strength of the transmitted interactive data is determined based on the sensitivity score of the transmitted interactive data and the computer environment score, including:
[0024] The encryption strength is determined based on the data sensitivity score S(D) and the environment score E, expressed as:
[0025] ,
[0026] Where K represents the encryption strength, t is the integral variable, which represents the integral range from 0 to S(D), n represents the maximum number of encryption layers, and i represents the i-th encryption layer;
[0027] The K value is calculated based on the data sensitivity score S(D) calculated by the sender for the interactive data D transmitted and the environment score E, and the encryption strength of the corresponding interactive data D is determined.
[0028] As a preferred solution of the computer data secure communication interaction method of the present invention, wherein: the encryption strength-based analysis and determination of the number of encryption layers, and implementation of multi-layer encryption, include:
[0029] Based on the calculation of encryption strength K, the number of encryption layers is determined by analysis and rounding up, which is expressed as:
[0030] ,
[0031] Where L represents the number of encryption layers;
[0032] Select a multi-layer encryption algorithm, including AES encryption algorithm, RSA encryption algorithm and AES&RSA hybrid encryption algorithm, and determine the maximum number of encryption layers n according to the resource usage of the multi-layer encryption algorithm and the computer storage environment;
[0033] Based on the interactive data D transmitted by the sender, the corresponding data sensitivity score S(D), environment score E and encryption strength K value are calculated, and rounded up to determine that the calculated L value is an integer;
[0034] The number of encryption layers of the multi-layer encryption algorithm is set according to the calculated L, and a multi-layer encryption operation is performed on the transmission interactive data D.
[0035] As a preferred solution of the computer data secure communication interaction method of the present invention, wherein: the data transmission based on the security protocol, backing up the transmitted data and recording the log file include:
[0036] Establish a TLS connection between the sender and the receiver, use the TLS transport security protocol to establish a secure transmission channel, and securely transmit the multi-layer encrypted transmission interaction data D to the receiver;
[0037] Transfer data backup to cloud server during the transmission process;
[0038] During the data encryption and transmission process, detailed log files are generated to record key operations and events, including the start and end time of data encryption and the start and end time of transmission.
[0039] As a preferred solution of the computer data secure communication interaction method of the present invention, wherein: the use of the receiving end to decrypt the transmission interaction file and perform integrity verification includes:
[0040] Before secure transmission, the HMAC verification algorithm is used to calculate the HMAC value of the transmission interaction data D and transmit it together with the transmission interaction data D after multi-layer encryption;
[0041] Use the receiving end's key to decrypt the multiple layers of encrypted data layer by layer until the transmission interaction data D is restored;
[0042] After the receiving end completes the transmission and decryption, it uses the same HMAC verification algorithm to calculate the HMAC value after transmission and compares it with the HMAC value before transmission. When the HMAC values are consistent, the integrity of the transmission interaction data D is confirmed.
[0043] Another object of the present invention is to provide a system for a computer data secure communication interaction method, which comprises:
[0044] A data feature extraction module extracts data features based on selected data attributes;
[0045] The environment assessment module uses models to learn data features, assess data sensitivity, monitor and record network environment parameters in real time, and assess the communication environment score;
[0046] Encryption strength assessment module, which determines the required encryption strength based on sensitivity and communication environment scores;
[0047] The multi-layer encryption implementation module determines the number of encryption layers according to the encryption strength and performs multi-layer encryption on the data;
[0048] The data transmission module uses a security protocol to transmit data and verify the integrity of the data;
[0049] Data backup module, regularly backs up transmitted data and records transmission logs.
[0050] A computer device comprises: a memory and a processor; the memory stores a computer program, and the processor implements the steps of the above-mentioned computer data secure communication interaction method when executing the computer program.
[0051] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the above-mentioned computer data secure communication interaction method.
[0052] The beneficial effects of the present invention are: by using a deep learning model to learn the characteristics of transmitted interactive data, the sensitivity score of transmitted interactive data is predicted, ensuring that sensitive data is encrypted with higher strength protection, and by dynamically evaluating the current communication environment, the system network environment is taken into consideration. The data sensitivity and environmental score are comprehensively considered to ensure that the data encryption strength is increased in high sensitivity and poor environments, thereby improving the security of data transmission and storage. The encryption level is determined through a multi-layer encryption algorithm to achieve the effect of encrypting data of different sensitivities to different degrees. At the same time, the network environment of the terminal is taken into consideration to prevent excessive occupation of system resources, and the security of data interaction is further improved by backing up and verifying the encrypted data. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0054] Figure 1 The present invention is a flowchart of a computer data secure communication interaction method.
[0055] Figure 2 It is a structural diagram of the computer data security communication interaction system. DETAILED DESCRIPTION
[0056] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings.
[0057] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0058] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor is it a separate or selective embodiment that is mutually exclusive with other embodiments. Example 1
[0059] Reference Figure 1 , which is the first embodiment of the present invention, and provides a computer data secure communication interaction method, the computer data secure communication interaction method comprising:
[0060] S1, extracts the characteristics of transmission interaction data, builds deep learning model learning, determines data sensitivity, monitors computer communication environment, and evaluates communication status based on communication environment data;
[0061] Preferably, extracting the characteristics of the transmission interaction data, building a deep learning model, and determining the data sensitivity include:
[0062] Extract multiple features from the transmission interaction data D, including data type, data source, data usage frequency and data historical access records, and combine them into a feature vector ;
[0063] A deep learning model is constructed, including input layer, hidden layer and output layer, and the sensitivity score of the extracted features is calculated using a multilayer perceptron combined with a nonlinear activation function, expressed as:
[0064] ,
[0065] Where S(D) represents the sensitivity score of the transmission interaction data, represents the Sigmoid activation function, represents the tanh hyperbolic tangent activation function, represents the weight matrix of the i-th layer, represents the jth feature weight of the i-th layer, represents the jth feature bias of the i-th layer, represents the bias term of the i-th layer, L is the number of neural network layers, The expression represents the jth eigenvector, and m represents the total number of features;
[0066] Use the mean square error loss function to minimize the loss function through gradient descent and determine , , and ;
[0067] Input feature vector , and calculate the sensitivity score to obtain S(D);
[0068] The model captures various attributes of the transmission interaction data by inputting different features contained in the feature vector, helping the model understand the sensitivity of the transmission interaction data. By introducing nonlinear transformations, the model captures the complex relationship between the features of the transmission interaction data, improves the expressiveness of the model, and compresses the output to between 0 and 1 based on the output activation function.
[0069] By using the model, we can learn the complex relationship between the characteristics of transmitted interactive data and sensitivity, as well as the multi-layer neural network structure and nonlinear activation function, so as to accurately predict the sensitivity score of transmitted interactive data and ensure that sensitive data is encrypted with higher strength. The model can be adaptively adjusted according to the characteristics of transmitted interactive data, thereby dynamically adjusting the encryption strength. Different types of data can receive targeted sensitivity assessments and encryption strategies to ensure the best security protection while ensuring the rational use of resources. Due to the use of deep learning technology, the model can quickly process large amounts of data and give sensitivity scores. This efficiency and real-time performance are particularly important for systems that require rapid response. It can timely evaluate data sensitivity and take corresponding encryption measures before data transmission, thereby increasing security during data communication interactions.
[0070] Further, monitoring the computer communication environment and evaluating the communication status based on the communication environment data include,
[0071] Based on the Wireshark network protocol analysis tool, the current computer sending end communication environment is monitored, the network delay, bandwidth and channel status are monitored and calculated respectively, and the communication status is evaluated, which is expressed as:
[0072] ,
[0073] Where E represents the environmental score output, U represents network delay, B represents bandwidth, and C represents channel status, which can be expressed as a received signal strength indicator, reflecting the signal strength at the receiving end. A higher RSSI value usually indicates a better channel status. Represents the weight coefficient of network delay score, represents the weight coefficient of bandwidth score, Represents the weight coefficient of the channel state score;
[0074] It is used to normalize the network delay to make it between 0 and 1. The network delay has a great impact on the communication quality. The Sigmoid function is used to normalize it to make the score more flexible and avoid the extreme value from having too great an impact on the score. Used to smooth bandwidth values to prevent extreme values from having too great an impact on the score. Bandwidth directly affects data transmission speed. Using a logarithmic function to smooth bandwidth values can more reasonably reflect the impact of bandwidth on the environment score. Used to smooth the channel state value. The channel state reflects the quality and stability of the communication channel. The inverse tangent function is used to smooth the channel state value to make it more suitable for score calculation;
[0075] Use the training set and define the loss function O, expressed as:
[0076] ,
[0077] Where N represents the total number of samples, represents the predicted score of the i-th sample, is the true score of the i-th sample;
[0078] Optimize the loss function through the gradient descent algorithm, update and confirm , and ;
[0079] The newly acquired U, B and C are input to get the environmental score output.
[0080] By dynamically evaluating the current communication environment, this model enables the communication system to adaptively adjust according to real-time data, improving the flexibility of the system. When different network conditions and data traffic changes, the system can timely adjust its security measures, such as encryption strength and transmission strategy, to ensure the security and efficiency of data transmission. The environmental score provides a quantitative method to evaluate the risk level in the communication process, which not only helps to instantly identify potential security threats, such as DDoS attacks or other forms of network interference, but also automatically adjusts the security response level according to the score, thereby protecting critical data from being leaked or damaged. By real-time monitoring of channel status and other network parameters, the model can predict and optimize the quality of data transmission. Combined with the real-time scoring of environmental factors, the system can implement data protection measures more accurately, and can also provide a basis for the system's active defense procedures to improve data interaction security.
[0081] S2, judging the encryption strength of the transmitted interactive data according to the sensitivity score of the transmitted interactive data and the computer environment score, analyzing and judging the number of encryption layers based on the encryption strength, and implementing multi-layer encryption;
[0082] Preferably, the encryption strength of the transmitted interactive data is determined based on the sensitivity score of the transmitted interactive data and the computer environment score, including:
[0083] The encryption strength is determined based on the data sensitivity score S(D) and the environment score E, expressed as:
[0084] ,
[0085] Where K represents the encryption strength, t is the integral variable, which represents the integral range from 0 to S(D), n represents the maximum number of encryption layers, which can be set according to the computing power, memory, and network bandwidth of the computer being used, and i represents the i-th encryption layer. The larger the number of encryption layers, the smaller the impact on the environmental score;
[0086] Calculate the K value based on the data sensitivity score S(D) calculated by the sender for the transmission interaction data D and the environment score E, and determine the encryption strength of the corresponding transmission interaction data D;
[0087] As a smoothing function of data sensitivity score, it can avoid excessive impact on encryption strength when S(D) value is too large. The use of represents the distribution of environmental scores at different encryption layers, which can ensure that higher E values have greater weights in the first few layers of encryption, thereby dynamically adjusting the number of encryption layers and strength. Represents the nonlinear impact of adjusting the data sensitivity score, which can balance the role of the data sensitivity score in the encryption strength calculation.
[0088] By comprehensively considering data sensitivity and environmental scores, we ensure that data encryption strength is appropriately increased in high-sensitivity and poor environments to improve the security of data transmission and storage. Each part of the formula works together to enable the encryption strength K to be dynamically adjusted according to the real-time data sensitivity and environmental scores, providing flexible and adaptive security strategies. Through the calculation of K, we can achieve reasonable encryption strength calculation for different computer data, avoid resource waste caused by excessive encryption, and ensure that sufficient encryption strength is provided when necessary to protect data security. The introduction of the computer's network environment score E allows the encryption strength to be adjusted in different network environments, enhance the system's anti-attack capabilities, and ensure data integrity and confidentiality.
[0089] Furthermore, based on the encryption strength analysis and the number of encryption layers, multiple layers of encryption are implemented, including:
[0090] Based on the calculation of encryption strength K, the number of encryption layers is determined by analysis and rounding up, which is expressed as:
[0091] ,
[0092] Where L represents the number of encryption layers;
[0093] Select a multi-layer encryption algorithm, including AES encryption algorithm, RSA encryption algorithm and AES&RSA hybrid encryption algorithm, and determine the maximum number of encryption layers n according to the resource usage of the multi-layer encryption algorithm and the computer storage environment;
[0094] Based on the interactive data D transmitted by the sender, the corresponding data sensitivity score S(D), environment score E and encryption strength K value are calculated, and rounded up to determine that the calculated L value is an integer;
[0095] The number of encryption layers of the multi-layer encryption algorithm is set according to the calculated L, and the multi-layer encryption operation is performed on the transmission interactive data D;
[0096] The formula maps the K value in the range of 0 to n to ensure that L changes with the change of K. At the same time, the multiplication of S(D) and E is used as the normalization factor to dynamically adjust the maximum value of the encryption strength, making it adaptive to the current data sensitivity and communication environment, ensuring the flexibility and adaptability of the system.
[0097] By selecting AES, RSA and hybrid encryption algorithms, each layer of encryption provides different levels of security protection, which enhances the security and confidentiality of transmitted interactive data. AES is used to quickly encrypt large amounts of data, and RSA is used to protect key data and keys. Hybrid encryption combines the advantages of both to ensure efficient and powerful encryption effects. The number of encryption layers L is calculated through a formula, and the number of encryption layers is dynamically adjusted each time, so that highly sensitive data can obtain more layers of encryption protection, and automatically learn and identify data sensitivity, judge the encryption strength required for the data and determine the required number of encryption layers, and finally achieve the corresponding multi-layer encryption effect. This encryption process becomes more intelligent and efficient, reduces the possibility of manual intervention and operational errors, and improves the stability and reliability of the system. The calculation of L uses the data sensitivity score S(D) and the environment score E as normalization factors to ensure that the encryption strength and the number of encryption layers can be adjusted adaptively. The system can adjust the encryption strategy in real time according to the sensitivity of the actual data and the current communication environment, making it highly flexible and adaptable to meet the needs of various complex environments. Through automated calculation and dynamic adjustment of the number of encryption layers, the encryption process becomes more intelligent and efficient, reduces the possibility of manual intervention and operational errors, and improves the stability and reliability of the system.
[0098] S3, based on the security protocol, performs data transmission, backs up the transmitted data and records the log file, uses the receiving end to decrypt the transmitted interactive file and perform integrity verification;
[0099] Preferably, data transmission is performed based on a secure protocol, transmission data is backed up and log files are recorded, including,
[0100] Establish a TLS connection between the sender and the receiver, use the TLS transport security protocol to establish a secure transmission channel, and securely transmit the multi-layer encrypted transmission interaction data D to the receiver;
[0101] Transfer data backup to cloud server during the transmission process;
[0102] During the data encryption and transmission process, detailed log files are generated to record key operations and events, including the start and end time of data encryption and the start and end time of transmission.
[0103] By establishing a TLS connection between the sender and the receiver, the security of the transmission channel is ensured. The TLS protocol provides functions such as encrypted communication, data integrity and identity authentication, which effectively prevents data from being eavesdropped, tampered with and forged during transmission, greatly improving the security of data transmission interaction. The data is also backed up to the cloud server at the same time, providing additional security for the data. Even if an accident occurs during local transmission, cloud backup can ensure that the data is not lost, further improving data reliability. Log files provide system administrators with refined operation monitoring and auditing methods, which helps to track problems, troubleshoot, and provide audit records.
[0104] Furthermore, the receiving end is used to decrypt the transmission interaction file and perform integrity verification, including:
[0105] Before secure transmission, the HMAC verification algorithm is used to calculate the HMAC value of the transmission interaction data D and transmit it together with the transmission interaction data D after multi-layer encryption;
[0106] Use the receiving end's key to decrypt the multiple layers of encrypted data layer by layer until the transmission interaction data D is restored;
[0107] After the receiving end completes the transmission and decryption, it uses the same HMAC verification algorithm to calculate the HMAC value after transmission and compares it with the HMAC value before transmission. When the HMAC values are consistent, the integrity of the transmission interaction data D is confirmed.
[0108] Through the above detailed decryption process, the target end can safely and effectively decrypt and restore the transmission interaction data D. The process includes receiving encrypted data, layer-by-layer decryption and integrity verification, which ensures the security and integrity of the transmission interaction data D during the transmission process. By using this key, it can be decrypted according to multiple layers of encryption technologies such as AES, RSA and hybrid encryption to restore the transmission interaction data D. By combining HMAC for integrity verification, the data can be quickly verified during the interaction of the transmission interaction data D. By comparing the HMAC value of the transmission interaction data D before transmission with that of the receiving end, it is determined whether the data is consistent, so that the decryption process has a high degree of security and reliability. Example 2
[0109] Reference Figure 2 , which is the second embodiment of the present invention, and which is different from the previous embodiment, provides a system for a computer data secure communication interaction method, including:
[0110] A data feature extraction module extracts data features based on selected data attributes;
[0111] The environment assessment module uses models to learn data features, assess data sensitivity, monitor and record network environment parameters in real time, and assess the communication environment score;
[0112] Encryption strength assessment module, which determines the required encryption strength based on sensitivity and communication environment scores;
[0113] The multi-layer encryption implementation module determines the number of encryption layers according to the encryption strength and performs multi-layer encryption on the data;
[0114] The data transmission module uses a security protocol to transmit data and verify the integrity of the data;
[0115] Data backup module, regularly backs up transmitted data and records transmission logs.
[0116] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0117] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0118] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0119] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit with a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit with a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0120] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A computer data secure communication interaction method, characterized in that: include, Extract the characteristics of transmission interaction data, build deep learning models, determine data sensitivity, monitor computer communication environment, and evaluate communication status based on communication environment data; Determine the encryption strength of the transmitted interactive data based on the sensitivity score of the transmitted interactive data and the computer environment score, analyze and determine the number of encryption layers based on the encryption strength, and implement multi-layer encryption; Data transmission is based on security protocols, transmission data is backed up and log files are recorded, and the receiving end decrypts the transmission interaction files for integrity verification; The extracting of transmission interaction data features, building a deep learning model, and judging data sensitivity include: Extract multiple features from the transmission interaction data D, including data type, data source, data usage frequency and data historical access records, and combine them into a feature vector ; A deep learning model is constructed, including input layer, hidden layer and output layer, and the sensitivity score of the extracted features is calculated using a multilayer perceptron combined with a nonlinear activation function, expressed as: , Where S(D) represents the sensitivity score of the transmission interaction data, represents the Sigmoid activation function, represents the tanh hyperbolic tangent activation function, represents the weight matrix of the i-th layer, represents the jth feature weight of the i-th layer, represents the jth feature bias of the i-th layer, represents the bias term of the i-th layer, L is the number of neural network layers, The expression represents the jth eigenvector, and m represents the total number of features; Use the mean square error loss function to minimize the loss function through gradient descent and determine , , and ; Input feature vector , and calculate the sensitivity score to obtain S(D); The monitoring of the computer communication environment and evaluating the communication status according to the communication environment data include: Based on the Wireshark network protocol analysis tool, the current computer sending end communication environment is monitored, the network delay, bandwidth and channel status are monitored and calculated respectively, and the communication status is evaluated, which is expressed as: , Where E represents the environment score output, U represents network delay, B represents bandwidth, and C represents channel status. Represents the weight coefficient of network delay score, represents the weight coefficient of bandwidth score, represents the weight coefficient of the channel state score; Use the training set and define the loss function O, optimize the loss function through the gradient descent algorithm, update and confirm , and ; The newly acquired U, B and C are input to get the environmental score output.
2. The computer data secure communication interaction method according to claim 1, characterized in that: The step of judging the encryption strength of the transmitted interactive data based on the sensitivity score of the transmitted interactive data and the computer environment score includes: The encryption strength is determined based on the data sensitivity score S(D) and the environment score E, expressed as: , Where K represents the encryption strength, t is the integral variable, which represents the integral range from 0 to S(D), n represents the maximum number of encryption layers, and i represents the i-th encryption layer; The K value is calculated based on the data sensitivity score S(D) calculated by the sender for the interactive data D transmitted and the environment score E, and the encryption strength of the corresponding interactive data D is determined.
3. The computer data secure communication interaction method according to claim 2, characterized in that: The method of analyzing and determining the number of encryption layers based on encryption strength and implementing multi-layer encryption includes: Based on the calculation of encryption strength K, the number of encryption layers is determined by analysis and rounding up, which is expressed as: , Where L represents the number of encryption layers; Select a multi-layer encryption algorithm, including AES encryption algorithm, RSA encryption algorithm and AES&RSA hybrid encryption algorithm, and determine the maximum number of encryption layers n according to the resource usage of the multi-layer encryption algorithm and the computer storage environment; Based on the interactive data D transmitted by the sender, the corresponding data sensitivity score S(D), environment score E and encryption strength K value are calculated, and rounded up to determine that the calculated L value is an integer; The number of encryption layers of the multi-layer encryption algorithm is set according to the calculated L, and a multi-layer encryption operation is performed on the transmission interactive data D.
4. The computer data secure communication interaction method according to claim 3, characterized in that: The data transmission based on the security protocol, backing up the transmitted data and recording the log file include: Establish a TLS connection between the sender and the receiver, use the TLS transport security protocol to establish a secure transmission channel, and securely transmit the multi-layer encrypted transmission interaction data D to the receiver; Transfer data backup to cloud server during the transmission process; During the data encryption and transmission process, detailed log files are generated to record key operations and events, including the start and end time of data encryption and the start and end time of transmission.
5. The computer data secure communication interaction method according to claim 4, characterized in that: The receiving end is used to decrypt the transmission interaction file and perform integrity verification, including: Before secure transmission, the HMAC verification algorithm is used to calculate the HMAC value of the transmission interaction data D and transmit it together with the transmission interaction data D after multi-layer encryption; Use the receiving end's key to decrypt the multiple layers of encrypted data layer by layer until the transmission interaction data D is restored; After the receiving end completes the transmission and decryption, it uses the same HMAC verification algorithm to calculate the HMAC value after transmission and compares it with the HMAC value before transmission. When the HMAC values are consistent, the integrity of the transmission interaction data D is confirmed.
6. A system based on the computer data secure communication interaction method according to any one of claims 1 to 5, characterized in that: include, A data feature extraction module extracts data features based on selected data attributes; The environment assessment module uses models to learn data features, assess data sensitivity, monitor and record network environment parameters in real time, and assess the communication environment score; Encryption strength assessment module, which determines the required encryption strength based on sensitivity and communication environment scores; The multi-layer encryption implementation module determines the number of encryption layers according to the encryption strength and performs multi-layer encryption on the data; The data transmission module uses a security protocol to transmit data and verify the integrity of the data; Data backup module, regularly backs up transmitted data and records transmission logs.
7. A computer device comprising: Memory and processor; The memory stores a computer program, characterized in that when the processor executes the computer program, the steps of the computer data secure communication interaction method described in any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the computer data secure communication interaction method described in any one of claims 1 to 5 are implemented.
