E-mail transmission security encryption method and system

By analyzing the user equipment environment and historical key information, dynamically adjusting the key update rules, and setting the encryption level according to the complexity and sensitivity of the email content, solving the problem of inflexible key management at rest and encryption levels in the prior art. Improves the security and reliability of emails.

CN119071062AActive Publication Date: 2024-12-03HUNAN UNIV

Patent Information

Application Number
CN202411181530.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-12-03
Estimated Expiration
2044-08-27

AI Technical Summary

Technical Problem

Existing email encryption technology ignores the environmental parameters of user equipment, resulting in the key management strategy being static, difficult to update in time, increasing security risks, and lacks flexibility in encryption levels and cannot be adjusted according to the sensitivity of email content.

Method used

By obtaining the environment parameters of the user equipment sent by email, analyzing historical key information, calculating the confidentiality index of the email content and user identity sensitivity, dynamically adjusting the key update rules to ensure that the key is updated in an unsafe environment, and according to the email content Complexity and sensitivity set encryption levels.

Benefits of technology

It significantly reduces security risks, ensures key strength, reasonably allocates encrypted resources, maximizes the protection effect of sensitive information, and improves the reliability and security of the email system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071062A_ABST
    Figure CN119071062A_ABST
Patent Text Reader

Abstract

The invention discloses an E-mail transmission security encryption method and system, and particularly relates to the field of information security, and the method comprises the steps: carrying out the comprehensive analysis of environment parameters of E-mail sending user equipment through the environment parameters of the E-mail sending user equipment, and judging whether the environment of the E-mail sending user equipment can meet the basic conditions of E-mail sending; analyzing the response time and similarity of the historical key according to the historical key information, and evaluating whether the key needs to be updated or not; when the environment of the mail sending user equipment meets the mail sending condition and the key needs to be updated, calculating the confidentiality index of the content of a to-be-sent target mail, and determining the encryption level of the to-be-sent target mail according to the confidentiality index; the behavior characteristics of the sending user of the to-be-sent mail are analyzed, a key updating rule is formulated based on the dynamic behavior fingerprint value and the encryption level of the to-be-sent target mail, and the confidentiality of the key and the security of the mail are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information security, and more specifically, to a method and system for secure encryption of e-mail transmission. Background Art

[0002] Email transmission security encryption refers to encrypting the email content during the process from the sender to the receiver, ensuring that the email content will not be maliciously intercepted by unauthorized third parties during the transmission process. Existing email encryption technology mainly relies on traditional encryption methods, which usually ignore the environmental parameters of the user's device, which have a significant impact on the security of email sending. Most existing email encryption technologies use static key management strategies and do not dynamically adjust the key update strategy based on the user's behavioral characteristics. This static key management strategy makes it difficult to update the key in time after it is cracked or leaked, thereby increasing security risks. Existing key encryption methods show a lack of flexibility in setting the email encryption level and cannot adjust the encryption level according to the sensitivity of the email content. Summary of the invention

[0003] In order to overcome the above-mentioned defects of the prior art, an embodiment of the present invention provides an email transmission security encryption method to solve the problems raised in the above-mentioned background technology.

[0004] To achieve the above object, the present invention provides the following technical solutions:

[0005] The electronic mail transmission security encryption method comprises the following steps:

[0006] Step S1: Acquire the environmental parameters of the user device of the email sending user, conduct a comprehensive analysis on the environmental parameters of the user device of the email sending user, and determine whether the environment of the user device of the email sending user meets the basic conditions for email sending;

[0007] Step S2: Collect historical key information based on historical interactive emails, analyze the response time and similarity of historical keys, and evaluate whether the key needs to be updated;

[0008] Step S3: When the environment of the email sending user device meets the email sending conditions and the key needs to be updated, the confidentiality index of the target email content to be sent is calculated according to the entropy of the target email content to be sent and the identity information sensitivity of the email receiving user, and the encryption level of the target email to be sent is determined;

[0009] Step S4: Analyze the behavior characteristics of the user who is sending the email to be sent, and formulate key update rules based on the dynamic behavior fingerprint value and the encryption level of the target email to be sent.

[0010] In a preferred embodiment, in step S1: obtaining environmental parameters of the email sending user's device, specifically: the environmental parameters of the email sending user's device include the geographical location of the email sending user, the network conditions of the email sending user's device, the email sending user's commonly used devices, and the hardware performance of the email sending user's commonly used devices;

[0011] The process of comprehensively analyzing the environmental parameters of the email sending user's device is performed through a set of well-defined parameters, and the geographical location, network conditions, common equipment and hardware performance are normalized to obtain the environmental comprehensive evaluation coefficient. The environmental comprehensive evaluation coefficient is compared with the preset security threshold to determine whether the environment of the email sending user's device meets the email sending conditions;

[0012] The comprehensive environmental assessment coefficient is less than the preset security threshold, and the current environment of the email sending user's device does not meet the basic conditions for secure email sending. The email transmission request is rejected until the environment of the email sending user's device meets the basic conditions for secure email sending.

[0013] The comprehensive environmental assessment coefficient is greater than the preset security threshold, and the current environment of the email sending user's device meets the basic conditions for secure email sending. At this time, the email can be sent safely.

[0014] In a preferred embodiment, in step S2: the historical key information is information about the key used in the historical email encryption process, including the identifier, generation time, usage frequency and response time of the historical key;

[0015] Set a historical time window, obtain the actual sending time and actual receiving time corresponding to the key used for each email interaction in the historical time window, mark the absolute value of the difference between the actual sending time and the actual receiving time of the key as the actual key response time, calculate the average value of all actual key response times in the historical time window according to the actual key response time, compare the average value of the actual key response time with the preset response time, and obtain the response time offset value;

[0016] When the response time offset value is greater than the preset response time offset threshold, the average value of the actual key response time exceeds the preset response time, indicating that the email encryption system has a high network delay and low encryption efficiency, and the key needs to be updated.

[0017] Obtain the key used for each email interaction within the historical time window, use the hash function to hash each key used in the history, and generate a key fingerprint; compare any two key fingerprints within the historical time window and calculate the similarity; the similarity can be evaluated by comparing the Hamming distance of the hash values. The smaller the Hamming distance, the more similar the keys are;

[0018] When the similarity is greater than the preset similarity threshold, it means that the key is not unique enough, the security risk of the email to be sent increases, and the key needs to be updated;

[0019] When the response time offset value is greater than a preset response time offset threshold or the similarity is greater than a preset similarity threshold, the email system automatically triggers the key update process, including encryption algorithm adjustment, key length change, and key generation mechanism.

[0020] In a preferred embodiment, in step S3: the entropy of the content of the target email to be sent is an indicator to measure the randomness and unpredictability of the content of the target email to be sent, reflecting the complexity and amount of information of the content of the target email to be sent; the content of the target email to be sent is converted into text form, the frequency of occurrence of characters in the text of the target email to be sent is counted, and the entropy value of the content of the target email to be sent is calculated using the information entropy calculation formula;

[0021] The identity information of the email receiving user includes the user's data access rights, security level and historical interaction behavior obtained from the user database of the email system and the email interaction history. A mapping function is constructed based on the identity information of the email receiving user to calculate the user identity sensitivity score.

[0022] When the environment of the email sending user device meets the email sending conditions and the key needs to be updated, the entropy value of the target email content to be sent and the user identity sensitivity score are normalized, and the confidentiality index of the target email content to be sent is calculated through the normalized entropy value of the target email content to be sent and the user identity sensitivity score; the encryption level of the target email to be sent is determined according to the confidentiality index of the target email content to be sent;

[0023] A first encryption threshold and a second encryption threshold are preset, and the confidentiality index of the target email content to be sent is compared with the first encryption threshold and the second encryption threshold:

[0024] When the confidentiality index of the content of the target email to be sent is less than the second encryption threshold, the encryption level of the target email to be sent is low-level encryption, which is suitable for encrypting the target email to be sent for daily communication;

[0025] When the confidentiality index of the content of the target email to be sent is greater than or equal to the second encryption threshold and less than the first encryption threshold, the encryption level of the target email to be sent is medium-level encryption, which is suitable for encrypting the target email to be sent containing sensitive information;

[0026] When the confidentiality index of the content of the target email to be sent is greater than the first encryption threshold, the encryption level of the target email to be sent is high-level encryption, which is suitable for encrypting the target email to be sent containing confidential information.

[0027] In a preferred embodiment, in step S4: the behavior characteristics of the user sending the email to be sent refer to the keyboard input habits of the user when writing the email, including keystroke speed, keystroke sequence and common keystroke combination; the keyboard input data of the user in the process of writing the email is collected in real time through the keyboard behavior monitoring software embedded in the email system, including keystroke speed, keystroke sequence and common keystroke combination; according to the real-time collection of the keyboard input data of the user in the process of writing the email, a dynamic behavior fingerprint value is obtained through analysis;

[0028] A normal behavior baseline value is preset. When the dynamic behavior fingerprint value is less than the normal behavior baseline value and the encryption level of the target email to be sent is low, the key will be updated regularly on a quarterly basis, and the target email to be sent will be protected according to the regularly updated symmetric key; when the dynamic behavior fingerprint value is less than the normal behavior baseline value and the encryption level of the target email to be sent is medium, a periodic key update strategy is adopted to update the symmetric encryption key once a month, and a secret sharing algorithm is used at the same time, but the number of shared fragments is less than the high encryption level; when the dynamic behavior fingerprint value is less than the normal behavior baseline value and the encryption level of the target email to be sent is high, the symmetric key is updated immediately, and a dynamic key generation mechanism is used to dynamically generate a different symmetric key for each target email to be sent, and the secret sharing algorithm is used to protect the symmetric key, which is then split and stored in different locations to improve the security and confidentiality of the key.

[0029] Technical effects and advantages of the method of the present invention:

[0030] 1. By analyzing the environmental parameters of the email sending user's device, ensuring that the basic environment for email sending meets security standards, it helps to prevent emails containing sensitive information from being sent under unsafe conditions in advance, significantly reducing potential security risks; analyzing the response time and similarity of historical keys can effectively evaluate the security of existing keys. By regularly checking and updating keys, the email system can eliminate potential security threats and ensure that the key strength is at a high level.

[0031] 2. Determine the encryption level of the email by evaluating the confidentiality index of the email content and the sensitivity of the identity information of the email recipient, ensuring that each email receives a protection level that matches its sensitivity; this dynamic encryption strategy helps to reasonably allocate encryption resources while maximizing the protection of sensitive information; dynamically formulate key update rules based on the behavioral characteristics of the sending user and the encryption level of the email, making key management more personalized and adaptable; by carefully analyzing user behavior patterns, the system can more accurately predict and respond to potential security needs and improve the overall reliability of the email system. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 This is a schematic diagram of the email transmission security encryption method of the present invention;

[0033] Figure 2 This is a schematic diagram of the structure of the email transmission security encryption system of the present invention. DETAILED DESCRIPTION

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

[0035] Reference Figure 1-Figure 2 .

[0036] The embodiment provides a method for secure encryption of email transmission of the present invention, which comprises the following steps:

[0037] Step S1: Acquire the environmental parameters of the user device of the email sending user, conduct a comprehensive analysis on the environmental parameters of the user device of the email sending user, and determine whether the environment of the user device of the email sending user meets the basic conditions for email sending;

[0038] Step S2: Collect historical key information based on historical interactive emails, analyze the response time and similarity of historical keys, and evaluate whether the key needs to be updated;

[0039] Step S3: When the environment of the email sending user device meets the email sending conditions and the key needs to be updated, the confidentiality index of the target email content to be sent is calculated according to the entropy of the target email content to be sent and the identity information sensitivity of the email receiving user, and the encryption level of the target email to be sent is determined;

[0040] Step S4: Analyze the behavior characteristics of the user who is sending the email to be sent, and formulate a key update rule based on the dynamic behavior fingerprint value and the encryption level of the target email to be sent;

[0041] In step S1: obtaining the environmental parameters of the email sending user's device, specifically: the environmental parameters of the email sending user's device include the email sending user's geographical location, the email sending user's device network conditions, the email sending user's commonly used devices, and the hardware performance of the email sending user's commonly used devices.

[0042] The current geographic coordinates of the device are obtained through the built-in GPS module of the user's device or through the network connected to the device. The current geographic coordinates of the device reflect the user's geographical location. The user's geographical location can help identify whether the user is operating in an abnormal or unsafe area, which plays an important role in determining whether the device is in a safe sending environment.

[0043] The network condition of the email sending user device is obtained by collecting network data based on the network interface of the email sending user device, including network type, network signal strength and network speed. Low network signal strength or slow network speed will increase the risk of the device being attacked.

[0044] The email sending user's commonly used device is a device type based on the user's account historical login data statistics, such as a smartphone, tablet computer, laptop computer, etc. When an unusual or new device is identified as a commonly used device trying to log in, it may indicate that the user account has been stolen.

[0045] Hardware information obtained from the operating system of the device commonly used by the email sender, such as CPU speed, memory size, storage space, etc. This hardware information is used to determine the hardware performance of the device commonly used by the email sender. Hardware performance affects the execution efficiency of the encryption algorithm and ensures the smoothness and practicality of advanced encryption operations on the device.

[0046] Comprehensively analyze the environmental parameters of the email sending user's device to determine whether the environment of the email sending user's device meets the email sending conditions, specifically:

[0047] The process of comprehensively analyzing the environmental parameters of the email sending user's device is performed through a set of well-defined parameters in order to determine whether the device is in a safe environment to send emails; these parameters include:

[0048] Geographic location: Determine whether the user's actual geographic location is in a blacklisted area or a high-risk area, which may be at high risk of cyber attacks;

[0049] Network conditions: Consider the network type, signal strength and speed, assess the stability and speed of the network, and ensure that emails can be successfully sent within a reasonable time.

[0050] Commonly used devices: Compare the current device type with the device type in the account history to confirm whether the current device type matches the device type in the account history;

[0051] Hardware performance: Ensure that the hardware performance of the device meets the minimum security encryption standards, and that the user experience is not affected by performance issues during the data encryption and decryption process.

[0052] The geographical location, network conditions, common equipment and hardware performance are normalized to obtain an environmental comprehensive evaluation coefficient, and the environmental comprehensive evaluation coefficient is compared with a preset security threshold to determine whether the environment of the email sending user device meets the email sending conditions.

[0053] If the comprehensive environmental assessment coefficient is less than the preset security threshold, the current environment of the email sending user's device does not meet the basic conditions for safe email sending, and the email transmission request is rejected until the environment of the email sending user's device meets the basic conditions for safe email sending. When the current environment of the email sending user's device does not meet the basic conditions for safe email sending and the email transmission request is rejected, it is to protect user data and communication security and prevent emails from being sent in an unsafe device environment, which may lead to information leakage. At this time, the email sending user's device will conduct a specific risk assessment to identify the specific factors that cause the comprehensive environmental assessment coefficient to be less than the preset security threshold. When the user's device is in a public Wi-Fi network or in a high-risk area, the system of the user's device will prompt the user to switch to a more secure network or wait until a safe environment is reached before sending an email.

[0054] The comprehensive environmental assessment coefficient is greater than the preset security threshold. The current environment of the email sending user's device meets the basic conditions for secure email sending. At this time, the email can be sent safely, which means that the user's device's geographical location is safe, the network conditions are stable and secure, the device used is trusted, and the device's hardware performance can support encryption operations on emails to be sent.

[0055] By judging whether the environment of the email sending user's device meets the basic conditions for email sending, emails are sent to ensure the security and efficiency of communication; this method of dynamically adjusting email sending strategies effectively ensures security, allowing the email system to provide efficient and reliable services while ensuring security.

[0056] In step S2: the historical key information is the information of the key used in the historical email encryption process, including the identifier, generation time, usage frequency and response time of the historical key.

[0057] Analyze the response time and similarity of historical keys to evaluate whether the keys need to be updated. Specifically:

[0058] The key response time refers to the time from when a user initiates a request to encrypt an email to when the email is actually encrypted. An increase in the key response time may lead to a decrease in key performance and an increase in the load on the email system. The key similarity refers to the similarity between keys used in different emails, reflecting key diversity and security. Too high a key similarity may indicate that the key generation algorithm is not random enough and there is a possibility that the key may be cracked.

[0059] All historical records related to email encryption are extracted from the security log of the email server, including the key information used each time an email is sent and received; for each email interaction, the security log of the email server records the key used and the sending and receiving time corresponding to the key.

[0060] Set a historical time window, obtain the actual sending time and actual receiving time corresponding to the key used for each email interaction in the historical time window, mark the absolute value of the difference between the actual sending time and the actual receiving time of the key as the actual key response time, calculate the average of all actual key response times in the historical time window according to the actual key response time, compare the average of the actual key response time with the preset response time, and obtain the response time offset value.

[0061] When the response time offset value is greater than the preset response time offset threshold, the average value of the actual key response time exceeds the preset response time, indicating that the email encryption system has a high network delay and low encryption efficiency, and the key needs to be updated.

[0062] Obtain the key used for each email interaction within the historical time window, use a hash function to hash each key used in the history, and generate a key fingerprint; compare any two key fingerprints within the historical time window and calculate the similarity; the similarity can be evaluated by comparing the Hamming distance of the hash values. The smaller the Hamming distance, the more similar the keys are.

[0063] When the similarity is greater than the preset similarity threshold, it means that the key is not unique enough, the security risk of the email to be sent increases, and the key needs to be updated.

[0064] When the response time offset value is greater than a preset response time offset threshold or the similarity is greater than a preset similarity threshold, the email system automatically triggers the key update process, including encryption algorithm adjustment, key length change, and key generation mechanism.

[0065] Among them, the time length of the historical time window and the preset response time are set by professional and technical personnel in this field according to different standards of the key; the preset response time offset threshold is set to 1.

[0066] In step S3: according to the entropy of the target email content to be sent and the sensitivity of the identity information of the email recipient, the confidentiality index of the target email content to be sent is obtained, and the encryption level of the target email to be sent is determined, which is specifically:

[0067] The entropy of the target email content to be sent is an indicator to measure the randomness and unpredictability of the target email content to be sent, and reflects the complexity and amount of information in the target email content to be sent.

[0068] Convert the content of the target email to be sent into text form, count the frequency of characters in the text of the target email to be sent, and use the information entropy calculation formula to calculate the entropy value of the content of the target email to be sent. A high entropy value indicates that the content of the target email to be sent is rich, which is usually related to high confidentiality requirements.

[0069] The identity information of the email receiving user includes the user's data access rights, security level and historical interaction behavior obtained from the user database of the email system and the email interaction history. A mapping function is constructed based on the identity information of the email receiving user to calculate the user identity sensitivity score. The higher the user identity sensitivity score, the more sensitive the identity information of the email receiving user is.

[0070] The confidentiality index is a comprehensive indicator that is used to comprehensively analyze the entropy value of the target email content and the user identity sensitivity score to determine the encryption level of the target email to be sent. Specifically:

[0071] When the environment of the email sending user's device meets the email sending conditions and the key needs to be updated, the entropy value of the target email content to be sent and the user identity sensitivity score are normalized, and the confidentiality index of the target email content to be sent is calculated through the normalized entropy value of the target email content to be sent and the user identity sensitivity score; the encryption level of the target email to be sent is determined according to the confidentiality index of the target email content to be sent.

[0072] A first encryption threshold and a second encryption threshold are preset, and the confidentiality index of the target email content to be sent is compared with the first encryption threshold and the second encryption threshold:

[0073] When the confidentiality index of the content of the target email to be sent is less than the second encryption threshold, the encryption level of the target email to be sent is low-level encryption, which is suitable for encrypting the target email to be sent for daily communication;

[0074] When the confidentiality index of the content of the target email to be sent is greater than or equal to the second encryption threshold and less than the first encryption threshold, the encryption level of the target email to be sent is medium-level encryption, which is suitable for encrypting the target email to be sent containing sensitive information;

[0075] When the confidentiality index of the content of the target email to be sent is greater than the first encryption threshold, the encryption level of the target email to be sent is high-level encryption, which is suitable for encrypting the target email to be sent containing confidential information.

[0076] In step S4: the behavioral characteristics of the user sending the email to be sent refer to the user's keyboard input habits when composing the email, including keystroke speed, keystroke sequence and common keystroke combinations; through the keyboard behavior monitoring software embedded in the email system, the user's keyboard input data in the process of composing the email is collected in real time, including keystroke speed, keystroke sequence and common keystroke combinations.

[0077] The dynamic behavior fingerprint value is obtained by collecting the keyboard input data of the user in the process of writing emails in real time and analyzing it.

[0078] Based on the dynamic behavior fingerprint value and the encryption level of the target email to be sent, formulate the key update rules, specifically:

[0079] A normal behavior baseline value is preset. When the dynamic behavior fingerprint value is less than the normal behavior baseline value and the encryption level of the target email to be sent is low, the key will be updated regularly on a quarterly basis, and the target email to be sent will be protected according to the regularly updated symmetric key; when the dynamic behavior fingerprint value is less than the normal behavior baseline value and the encryption level of the target email to be sent is medium, a periodic key update strategy is adopted to update the symmetric encryption key once a month, and a secret sharing algorithm is used at the same time, but the number of shared fragments is less than the high encryption level, thereby maintaining better security and faster recovery speed; when the dynamic behavior fingerprint value is less than the normal behavior baseline value and the encryption level of the target email to be sent is high, the symmetric key is updated immediately, and a dynamic key generation mechanism is used to dynamically generate a different symmetric key for each target email to be sent, and the secret sharing algorithm is used to protect the symmetric key, which is divided and stored in different locations to improve the security and confidentiality of the key.

[0080] The present invention discloses an email transmission security encryption system comprising: an email sending judgment module, a key update evaluation module, an email encryption level determination module, and a key update rule formulation module;

[0081] Email sending judgment module: obtains the environmental parameters of the email sending user's device, conducts a comprehensive analysis of the environmental parameters of the email sending user's device, and judges whether the environment of the email sending user's device meets the basic conditions for email sending;

[0082] Key update evaluation module: collects historical key information based on historical interactive emails, analyzes the response time and similarity of historical keys, and evaluates whether the key needs to be updated;

[0083] Email encryption level determination module: when the environment of the email sending user's device meets the email sending conditions and the key needs to be updated, the confidentiality index of the target email content to be sent is calculated according to the entropy of the target email content to be sent and the sensitivity of the identity information of the email receiving user, and the encryption level of the target email to be sent is determined;

[0084] Key update rule formulation module: Analyze the behavioral characteristics of the user who is sending the email, and formulate key update rules based on the dynamic behavior fingerprint value and the encryption level of the target email to be sent.

[0085] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.

[0086] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0087] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and modules described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0088] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0089] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, and may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0090] In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.

[0091] If the functions are implemented in the form of software function modules 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 application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0092] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0093] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for secure encryption of e-mail transmission, characterized in that: The steps include: Step S1: Acquire the environmental parameters of the user device of the email sending user, conduct a comprehensive analysis on the environmental parameters of the user device of the email sending user, and determine whether the environment of the user device of the email sending user meets the basic conditions for email sending; Step S2: Collect historical key information based on historical interactive emails, analyze the response time and similarity of historical keys, and evaluate whether the key needs to be updated; Step S3: When the environment of the email sending user device meets the email sending conditions and the key needs to be updated, the confidentiality index of the target email content to be sent is calculated according to the entropy of the target email content to be sent and the identity information sensitivity of the email receiving user, and the encryption level of the target email to be sent is determined; Step S4: Analyze the behavior characteristics of the user who is sending the email to be sent, and formulate key update rules based on the dynamic behavior fingerprint value and the encryption level of the target email to be sent.

2. The method for secure encryption of e-mail transmission according to claim 1, characterized in that: In step S1: Obtaining environmental parameters of the email sending user's device, specifically: the environmental parameters of the email sending user's device include the email sending user's geographical location, the email sending user's device network conditions, the email sending user's commonly used devices, and the hardware performance of the email sending user's commonly used devices; The process of comprehensively analyzing the environmental parameters of the email sending user's device is performed through a set of well-defined parameters, and the geographical location, network conditions, common equipment and hardware performance are normalized to obtain the environmental comprehensive evaluation coefficient. The environmental comprehensive evaluation coefficient is compared with the preset security threshold to determine whether the environment of the email sending user's device meets the email sending conditions; The comprehensive environmental assessment coefficient is less than the preset security threshold, and the current environment of the email sending user's device does not meet the basic conditions for secure email sending. The email transmission request is rejected until the environment of the email sending user's device meets the basic conditions for secure email sending. The comprehensive environmental assessment coefficient is greater than the preset security threshold, and the current environment of the email sending user's device meets the basic conditions for secure email sending. At this time, the email can be sent safely.

3. The method for secure encryption of email transmission according to claim 2, characterized in that: In step S2: The historical key information is the information of the key used in the historical email encryption process, including the identifier, generation time, usage frequency and response time of the historical key; Set a historical time window, obtain the actual sending time and actual receiving time corresponding to the key used for each email interaction in the historical time window, mark the absolute value of the difference between the actual sending time and the actual receiving time of the key as the actual key response time, calculate the average value of all actual key response times in the historical time window according to the actual key response time, compare the average value of the actual key response time with the preset response time, and obtain the response time offset value; When the response time offset value is greater than the preset response time offset threshold, the average value of the actual key response time exceeds the preset response time, indicating that the email encryption system has a high network delay and low encryption efficiency, and the key needs to be updated. Obtain the key used for each email interaction within the historical time window, use the hash function to hash each key used in the history, and generate a key fingerprint; compare any two key fingerprints within the historical time window and calculate the similarity; the similarity can be evaluated by comparing the Hamming distance of the hash values. The smaller the Hamming distance, the more similar the keys are; When the similarity is greater than the preset similarity threshold, it means that the key is not unique enough, the security risk of the email to be sent increases, and the key needs to be updated; When the response time offset value is greater than a preset response time offset threshold or the similarity is greater than a preset similarity threshold, the email system automatically triggers the key update process, including encryption algorithm adjustment, key length change, and key generation mechanism.

4. The method for secure encryption of e-mail transmission according to claim 3, characterized in that: In step S3: The entropy of the target email content to be sent is an indicator to measure the randomness and unpredictability of the target email content to be sent, reflecting the complexity and information content of the target email content to be sent; the target email content to be sent is converted into text form, the frequency of occurrence of characters in the target email text to be sent is counted, and the entropy value of the target email content to be sent is calculated using the information entropy calculation formula; The identity information of the email receiving user includes the user's data access rights, security level and historical interaction behavior obtained from the user database of the email system and the email interaction history. A mapping function is constructed based on the identity information of the email receiving user to calculate the user identity sensitivity score. When the environment of the email sending user device meets the email sending conditions and the key needs to be updated, the entropy value of the target email content to be sent and the user identity sensitivity score are normalized, and the confidentiality index of the target email content to be sent is calculated through the normalized entropy value of the target email content to be sent and the user identity sensitivity score; Determine the encryption level of the target email to be sent based on the confidentiality index of the content of the target email to be sent; A first encryption threshold and a second encryption threshold are preset, and the confidentiality index of the target email content to be sent is compared with the first encryption threshold and the second encryption threshold: When the confidentiality index of the content of the target email to be sent is less than the second encryption threshold, the encryption level of the target email to be sent is low-level encryption, which is suitable for encrypting the target email to be sent for daily communication; When the confidentiality index of the content of the target email to be sent is greater than or equal to the second encryption threshold and less than the first encryption threshold, the encryption level of the target email to be sent is medium-level encryption, which is suitable for encrypting the target email to be sent containing sensitive information; When the confidentiality index of the content of the target email to be sent is greater than the first encryption threshold, the encryption level of the target email to be sent is high-level encryption, which is suitable for encrypting the target email to be sent containing confidential information.

5. The method for secure encryption of e-mail transmission according to claim 4, characterized in that: In step S4: The behavior characteristics of the user sending the email to be sent refer to the keyboard input habits of the user when writing the email, including keystroke speed, keystroke sequence and common keystroke combinations; the keyboard input data of the user in the process of writing the email is collected in real time through the keyboard behavior monitoring software embedded in the email system, including keystroke speed, keystroke sequence and common keystroke combinations; According to the real-time collection of keyboard input data of users in the process of writing emails, dynamic behavior fingerprint values ​​are obtained through analysis; A normal behavior baseline value is preset. When the dynamic behavior fingerprint value is less than the normal behavior baseline value and the encryption level of the target email to be sent is low, the key will be updated regularly on a quarterly basis, and the target email to be sent will be protected according to the regularly updated symmetric key; when the dynamic behavior fingerprint value is less than the normal behavior baseline value and the encryption level of the target email to be sent is medium, a periodic key update strategy is adopted to update the symmetric encryption key once a month, and a secret sharing algorithm is used at the same time, but the number of shared fragments is less than the high encryption level; when the dynamic behavior fingerprint value is less than the normal behavior baseline value and the encryption level of the target email to be sent is high, the symmetric key is updated immediately, and a dynamic key generation mechanism is used to dynamically generate a different symmetric key for each target email to be sent, and the secret sharing algorithm is used to protect the symmetric key, which is then split and stored in different locations to improve the security and confidentiality of the key.

6. An email transmission security encryption system, applied to an email transmission security encryption method according to any one of claims 1 to 5, characterized in that: include: Email sending judgment module: obtains the environmental parameters of the email sending user's device, conducts a comprehensive analysis of the environmental parameters of the email sending user's device, and judges whether the environment of the email sending user's device meets the basic conditions for email sending; Key update evaluation module: collects historical key information based on historical interactive emails, analyzes the response time and similarity of historical keys, and evaluates whether the key needs to be updated; Email encryption level determination module: when the environment of the email sending user's device meets the email sending conditions and the key needs to be updated, the confidentiality index of the target email content to be sent is calculated according to the entropy of the target email content to be sent and the sensitivity of the identity information of the email receiving user, and the encryption level of the target email to be sent is determined; Key update rule formulation module: Analyze the behavioral characteristics of the user who is sending the email, and formulate key update rules based on the dynamic behavior fingerprint value and the encryption level of the target email to be sent.

Citation Information

Patent Citations

  • Scheme for resolving authentication in a wireless packet data network after a key update

    CA2551989A1

  • Email sending method, email check method, email view control method and devices

    CN106603388A

  • Dynamic group key generation method and device, computer equipment and storage medium

    CN111756524A

  • E-mail encryption and decryption method, system and device and computer readable storage medium

    CN114650181A

  • Identity-encrypted secure E-mail transmission method and system

    CN117155670A

Cited By

  • Key management equipment operation and maintenance management system based on data analysis

    CN119254549A

  • Video conference data security encryption method, system, device, and storage medium

    CN119788808A

  • User database information anti-divulging protection system and device based on big data

    CN120223434A