Mail encryption sending method, device, equipment, medium and product
By using digital watermark encryption processing and watermark recognition mechanisms in the internal public mail system of the bank, the problem of complex and difficult to deal with network attacks is solved, and the high confidentiality and secure transmission of email content is achieved.
Patent Information
- Application Number
- CN202411877297.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-19
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2044-12-19
AI Technical Summary
Traditional email encryption methods have problems such as complex key management and cumbersome encryption and decryption processes in the public mail system within the bank, and simple encryption technology is difficult to deal with the potential threat of cyber attacks.
The hidden encrypted information is embedded in the email through digital watermark encryption, and the encryption status of the email is judged through the watermark recognition and feature recognition mechanism to ensure that only correctly encrypted emails are sent.
It improves the confidentiality of email content, prevents unauthorized third parties from obtaining and tampering with email content, promptly discovering and processing abnormal emails, and reduces the risk of information leakage.
Smart Images

Figure CN119766518A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of financial technology, and in particular to a method, device, equipment, medium and product for encrypting and sending emails. Background Art
[0002] In today's digital financial environment, information exchange within a bank is crucial. As an important tool for communication and collaboration between employees, the bank's internal public email system carries a large amount of sensitive and confidential information, such as customer data, financial statements, and business strategies.
[0003] However, traditional email encryption methods have certain limitations in the application of public email systems within banks. Common encryption methods such as symmetric encryption and asymmetric encryption, although they guarantee the confidentiality of email content to a certain extent, may have problems such as complex key management and cumbersome encryption and decryption processes in actual operations, which affect work efficiency. In addition, with the increasing diversity and complexity of network attack methods, for example, hackers may obtain email content through network monitoring, malware implantation, etc., or crack and tamper with encrypted emails. Simple encryption technology may not be enough to deal with potential threats. Summary of the invention
[0004] The present invention provides a method, device, equipment, medium and product for encrypting and sending mails, so as to realize the safe and confidential release and processing of mails and ensure the security of the public mail system of the bank.
[0005] According to one aspect of the present invention, a method for sending encrypted mail is provided, the method comprising:
[0006] Obtain the email to be sent, and perform digital watermark encryption on the email to be sent to generate an encrypted email;
[0007] Determine the watermark recognition status of the encrypted email, where the watermark recognition status includes whether the email contains a watermark or not;
[0008] When the watermark recognition result is that the watermark is present, the watermark feature recognition result of the encrypted email is determined, and the encrypted email is sent according to the watermark feature recognition result.
[0009] Optionally, the email to be sent is digitally watermarked and encrypted to generate an encrypted email, including: obtaining information to be embedded and determining the information dimension of the information to be embedded; processing the email to be sent based on the information dimension to generate a processed text, and converting the processed text into a carrier tensor in a specified format; performing a convolution operation on the carrier tensor through an encoder to form an intermediate feature, and concatenating the intermediate feature with the information to be embedded to generate an encrypted email.
[0010] Optionally, determining the watermark recognition status of the encrypted email includes: checking whether the encrypted email contains a digital watermark, and if so, determining the watermark recognition status as containing a watermark; otherwise, determining the watermark recognition status as not containing a watermark.
[0011] Optionally, determining the watermark feature recognition status of the encrypted email includes: performing digital watermark feature recognition on the encrypted email; determining whether a text digital watermark is recognized, and if so, determining that the watermark feature recognition status is containing the feature; otherwise, determining that the watermark feature recognition status is not containing the feature.
[0012] Optionally, after determining the watermark recognition status of the encrypted email, the method further includes: when the watermark recognition status is that it does not contain a watermark or the watermark feature recognition status is that it does not contain a feature, determining that the encrypted email is an abnormal email; and generating a prompt message based on the abnormal email.
[0013] Optionally, sending an encrypted email according to the watermark feature recognition situation includes: when the watermark feature recognition situation is that it contains features, sending the encrypted email to the target recipient.
[0014] According to another aspect of the present invention, there is provided a device for encrypting and sending mails, the device comprising:
[0015] The email watermark encryption module is used to obtain the email to be sent and perform digital watermark encryption on the email to be sent to generate an encrypted email;
[0016] A watermark recognition status determination module is used to determine the watermark recognition status of the encrypted email, wherein the watermark recognition status is whether the email contains a watermark or not;
[0017] The mail sending module is used to determine the watermark feature recognition status of the encrypted mail when the watermark recognition status is that the watermark is contained, and send the encrypted mail according to the watermark feature recognition status.
[0018] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0019] at least one processor;
[0020] and a memory communicatively coupled to the at least one processor;
[0021] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for encrypting and sending emails described in any embodiment of the present invention.
[0022] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement an encrypted email sending method described in any embodiment of the present invention when executed.
[0023] According to another aspect of the present invention, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, the computer program implements the method for encrypting and sending an email according to any embodiment of the present invention.
[0024] The technical solution of the embodiment of the present invention can embed hidden encrypted information in the email through digital watermark encryption processing, which does not affect the normal reading and appearance of the email, and increases the confidentiality of the email content. It effectively prevents the real content of the email from being easily obtained and understood by unauthorized third parties during the transmission process. By determining the watermark recognition situation, it is possible to quickly determine whether the email has been correctly encrypted, timely discover possible abnormal emails, and improve the monitoring of email security. By determining the watermark feature recognition situation, the validity of the encryption is further verified to ensure that only correctly encrypted emails are sent, thereby maximally ensuring the safe transmission of sensitive information in the bank's internal public email system and reducing the risk of information leakage.
[0025] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0027] Figure 1 This is a flow chart of a method for sending encrypted emails provided according to Embodiment 1 of the present invention;
[0028] Figure 2 is a flowchart of another method for encrypting and sending emails provided according to Embodiment 2 of the present invention;
[0029] Figure 3 is a schematic diagram of the structure of a device for encrypting and sending mails according to a third embodiment of the present invention;
[0030] Figure 4 The present invention is a schematic diagram of the structure of an electronic device for implementing an encrypted mail sending method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0031] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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 should fall within the scope of protection of the present invention.
[0032] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0033] Embodiment 1
[0034] Figure 1 A flowchart of a method for sending encrypted mail is provided for the first embodiment of the present invention. This embodiment is applicable to the public mail management scenario within a bank. The method can be executed by an encrypted mail sending device. The encrypted mail sending device can be implemented in the form of hardware and / or software. The encrypted mail sending device can be configured in a computer controller. Figure 1 As shown, the method includes:
[0035] S110, obtaining the email to be sent, and performing digital watermark encryption processing on the email to be sent to generate an encrypted email.
[0036] Among them, the email to be sent refers to the email text whose content has been edited by the sender before the email sending operation, and is ready to be sent to the recipient through the bank's internal public email system. The email to be sent can contain various business-related information, file materials, etc. of the bank. Digital watermark encryption processing refers to embedding some identifying watermark information into the content of the email to be sent, and the embedding basically does not affect the normal viewing and use of the email, so as to achieve the purpose of email encryption, source tracing, copyright protection, etc., and finally convert the email into encrypted email. Encrypted email refers to the email that has been processed by digital watermark encryption, which contains digital watermark information embedded by a specific algorithm. It may not be much different from ordinary email in appearance, but the watermark content can be found with the help of corresponding detection means, which can be used to ensure the security of the email during transmission and use.
[0037] It should be noted that within the bank, employees often need to communicate various business-related information through the public email system. For example, a credit department employee needs to send a detailed analysis report on a major customer's loan application to the risk management department, which covers a lot of key business data, risk assessment content, etc. It is an important carrier for daily work communication within the bank and carries the information that needs to be transmitted for collaborative office work between departments. That is, the emails to be sent may involve customer privacy, important business decisions, etc., so it is very important to ensure their security.
[0038] Specifically, digital watermark encryption processing refers to the use of text digital watermarking technology to embed watermark information into the format attributes of text according to the blind watermark algorithm HiDDeN, such as subtle adjustments to the spacing between characters and lines to carry watermarks. For some business charts and pictures attached to the email, the frequency domain or spatial domain algorithm can also be used to hide the watermark in a specific area of the picture, such as embedding the watermark information in the least significant bit of the picture pixel, so that encryption can be completed without affecting the normal viewing of the picture, and an encrypted email containing a hidden digital watermark is generated, so as to ensure that the email can be traced during the internal circulation of the bank and prevent the content from being illegally stolen.
[0039] Optionally, the email to be sent is digitally watermarked and encrypted to generate an encrypted email, including: obtaining information to be embedded and determining the information dimension of the information to be embedded; processing the email to be sent based on the information dimension to generate a processed text, and converting the processed text into a carrier tensor in a specified format; performing a convolution operation on the carrier tensor through an encoder to form an intermediate feature, and concatenating the intermediate feature with the information to be embedded to generate an encrypted email.
[0040] In the bank's internal public email system, the information to be embedded can be the unique code of the sending department, the employee's work number, the priority mark of the email, etc. Determining the information dimension is to clarify the structural characteristics of the information to be embedded at the data level. For example, if it is a simple digital coding form, it may be a one-dimensional data structure; if it contains multiple attribute combinations, such as a combination of department code, work number, and time, it is a multi-dimensional data structure.
[0041] Specifically, based on the determined information dimension, the controller will perform adaptive processing on the email to be sent. For example, if the information dimension is two-dimensional, the email text content may be divided into corresponding logical areas according to certain rules, such as paragraphs or specific business sections, so that there is a suitable location for subsequent embedding of information.
[0042] In a specific embodiment, the encoder can perform a convolution operation on the carrier tensor to form an intermediate feature representation, which is then merged with the input embedding information, so that the watermark information can be embedded in any tensor position where the digital watermark is embedded. Therefore, the information is replicated in space, and the "amount of information" is spliced with the intermediate feature representation of the encoder. This operation ensures that each convolution kernel in the next layer can access the entire information while performing convolution across each spatial position. After multiple layers of convolution operations, the encoded text feature tensor (which has the same size as the input) is generated.
[0043] The convolution operation in the encoder refers to the process of sliding the convolution kernel on the carrier tensor and performing weighted summation and other operations on the data in the carrier tensor according to the set parameters such as step size and padding, so as to extract different levels and different local features. Finally, the controller will splice the extracted intermediate features with the information to be embedded, and finally become an encrypted email after digital watermark encryption in the bank's internal public email system.
[0044] In a specific implementation, the processed text and the information to be embedded can be subjected to additive operations to complete information splicing and convolution operations. After residual connection, a feature map with the same number of channels as the original carrier text embedding matrix will be obtained, thereby completing the embedding of the watermark information. Additive operation is used to reasonably integrate the information to be embedded into the processed text. By element-by-element addition or according to the set weighted addition and other additive operation methods, the values corresponding to the information to be embedded and the element values in the processed text are operated to generate an embedding matrix. The embedding matrix contains both the original content information of the email and the key identifiers to be embedded, preparing for further hiding of the watermark. Residual connection refers to the addition of the information of the current embedding matrix layer to the information of the same layer after some transformations through a specific connection method of the embedding matrix, which retains the original information while allowing the model to better learn and extract features. After residual connection processing, a feature map is obtained. The feature map can be understood as a form of expression after feature extraction and integration of the embedding matrix, and it has the same number of channels as the embedding matrix. Keeping the same number of channels ensures the continuity and correspondence of the information during the conversion process.
[0045] S120: Determine the watermark recognition status of the encrypted email, where the watermark recognition status includes whether the email contains a watermark or does not contain a watermark.
[0046] Among them, the watermark recognition situation refers to the result of determining whether the encrypted email contains the previously embedded digital watermark after detection. It is divided into two situations: containing watermark and not containing watermark. It is used to understand whether the email maintains the original encryption state during the transmission process.
[0047] Specifically, when an email circulates within the system, whether it is forwarded from one department to another or passed between employees at different levels, the system at the receiving end will automatically trigger the watermark detection program. According to the algorithm rules set when the watermark was embedded, each part of the email content is scanned and analyzed. If watermark traces that meet the rules can be accurately found in the documents, pictures and other elements of the email, it means that the email has basically maintained its original, legally encrypted state; if the watermark cannot be detected, it means that the email may have encountered data errors or been tampered with by external malicious attacks during the transmission process.
[0048] Optionally, determining the watermark recognition status of the encrypted email includes: checking whether the encrypted email contains a digital watermark, and if so, determining the watermark recognition status as containing a watermark; otherwise, determining the watermark recognition status as not containing a watermark.
[0049] Among them, when checking whether the encrypted email contains a digital watermark, it is necessary to operate according to the blind watermark algorithm HiDDeN rules used when the watermark was originally embedded. For example, for the text content in the email, if the digital watermark was previously embedded by modifying the text encoding attributes, the controller will parse these encoding attributes of the text during detection, and use a specific decoding algorithm to find out whether there are features that meet the original embedding rules and can restore the corresponding watermark content. After inspection, if the digital watermark related features that meet the pre-set rules can be found in the encrypted email, it means that the watermark recognition of the encrypted email contains a watermark, which means that the encrypted email has basically maintained the legal state after the digital watermark encryption process from creation to the current detection. Its source reliability, content integrity and other aspects are likely to meet the internal security requirements of the bank. In the future, it can be further verified and mail circulation and other related operations based on specific watermark features. When no digital watermark features that meet the rules are found in all components of the email, it means that the watermark recognition does not contain a watermark.
[0050] S130: When the watermark recognition result is that the watermark is present, determine the watermark feature recognition result of the encrypted email, and send the encrypted email according to the watermark feature recognition result.
[0051] Among them, watermark feature recognition refers to further identifying the text features inside the watermark after determining that the encrypted email contains a watermark, so as to judge the security-related issues such as the legitimacy of the source of the email, the integrity of the content, and whether it has been tampered with.
[0052] Specifically, the digital watermarks set within the bank often have unique and critical features. For example, they may contain the exclusive code of the sending department to distinguish between emails sent by different departments such as the credit department and the finance department; they may also have the employee's job authority level identification to ensure that only employees of the corresponding level can handle certain sensitive emails. By comparing the extracted watermark features, it can be determined whether the email is indeed sent by a legally authorized employee from the corresponding department, whether the email content has been modified illegally, etc. If the watermark feature recognition is normal and consistent with the bank's pre-set standards, it means that the email is safe and reliable, and can be accurately sent to the target recipient in the bank's internal public email system according to the normal process. The recipient can rest assured to carry out subsequent business work based on the email content. If the watermark feature recognition is found to be abnormal, such as the department code is incorrect or the authority identification is inconsistent, it means that the email may have security risks, such as being sent by criminals trying to impersonate an identity. At this time, the system will intercept the email and trigger an alarm to notify the relevant security management department to investigate and handle the problem in a timely manner to avoid the leakage of important business information within the bank or the serious consequences of erroneous execution.
[0053] Optionally, determining the watermark feature recognition status of the encrypted email includes: performing digital watermark feature recognition on the encrypted email; determining whether a text digital watermark is recognized, and if so, determining that the watermark feature recognition status is containing the feature; otherwise, determining that the watermark feature recognition status is not containing the feature.
[0054] Specifically, this step is to perform digital watermark feature recognition on the email again to ensure that the email does contain a digital watermark. During the recognition process, the controller will parse the email text character by character and line by line to obtain accurate parameter information on text typesetting. Then, reverse deduction is performed based on the pre-set encoding rules. For example, a specific range of character spacing may correspond to a specific character encoding. Through a series of calculations and comparisons, an attempt is made to restore the originally embedded text digital watermark information. When relevant features that meet the pre-set text digital watermark embedding rules are detected in an encrypted email, it can be determined that the watermark feature recognition of the encrypted email contains features. If the text digital watermark features that meet the requirements cannot be found in the encrypted email, it indicates that the watermark feature recognition does not contain features.
[0055] The technical solution of the embodiment of the present invention can embed hidden encrypted information in the email through digital watermark encryption processing, which does not affect the normal reading and appearance of the email, and increases the confidentiality of the email content. It effectively prevents the real content of the email from being easily obtained and understood by unauthorized third parties during the transmission process. By determining the watermark recognition situation, it is possible to quickly determine whether the email has been correctly encrypted, timely discover possible abnormal emails, and improve the monitoring of email security. By determining the watermark feature recognition situation, the validity of the encryption is further verified to ensure that only correctly encrypted emails are sent, thereby maximally ensuring the safe transmission of sensitive information in the bank's internal public email system and reducing the risk of information leakage.
[0056] Embodiment 2
[0057] Figure 2 This is a flowchart of a method for sending encrypted emails provided in the second embodiment of the present invention. This embodiment adds a specific process of sending encrypted emails based on watermark feature recognition on the basis of the first embodiment. The specific contents of steps S210-S220 are roughly the same as steps S110-S120 in the first embodiment, so they will not be described in detail in this embodiment. Figure 2 As shown, the method includes:
[0058] S210, obtaining the email to be sent, and performing digital watermark encryption processing on the email to be sent to generate an encrypted email.
[0059] Optionally, the email to be sent is digitally watermarked and encrypted to generate an encrypted email, including: obtaining information to be embedded and determining the information dimension of the information to be embedded; processing the email to be sent based on the information dimension to generate a processed text, and converting the processed text into a carrier tensor in a specified format; performing a convolution operation on the carrier tensor through an encoder to form an intermediate feature, and concatenating the intermediate feature with the information to be embedded to generate an encrypted email.
[0060] S220: Determine the watermark recognition status of the encrypted email, where the watermark recognition status includes whether the email contains a watermark or does not contain a watermark.
[0061] Optionally, determining the watermark recognition status of the encrypted email includes: checking whether the encrypted email contains a digital watermark, and if so, determining the watermark recognition status as containing a watermark; otherwise, determining the watermark recognition status as not containing a watermark.
[0062] S230: When the watermark recognition result is that the watermark is present, determine the watermark feature recognition result of the encrypted email.
[0063] Optionally, determining the watermark feature recognition status of the encrypted email includes: performing digital watermark feature recognition on the encrypted email; determining whether a text digital watermark is recognized, and if so, determining that the watermark feature recognition status is containing the feature; otherwise, determining that the watermark feature recognition status is not containing the feature.
[0064] S240: When the watermark feature recognition result is that the watermark feature is present, the encrypted email is sent to the target recipient.
[0065] Specifically, when the watermark feature recognition of the encrypted email is determined to contain features after detection, it indicates that the email has passed the security verification link. For example, if the legal sending department code can be accurately extracted from the watermark feature, it means that the email is indeed sent by the corresponding authorized department within the bank; the position authority identification of the corresponding employee can be identified, proving that the email sending operation is performed by an employee with the corresponding operation authority; it may also contain features such as timestamps to ensure that the timeliness of the email meets the requirements of the business process. The ability to identify complete and correct watermark features indicates that the email has not been illegally tampered with during the generation and transmission process, its source is reliable, the content is complete, and it is an email that meets the bank's internal business specifications and security standards. Therefore, at this time, the email system will send this encrypted email accurately to the target recipient according to the established sending process.
[0066] Furthermore, for the target recipients, they can not only view the business content of the encrypted email they received normally, but also verify the watermark features again through corresponding detection means when necessary, to further confirm the legitimacy and security of the email. They can then safely carry out subsequent important business work within the bank such as credit approval, financial processing, risk assessment, etc. based on the business information carried in the email, thus ensuring the smooth, secure and orderly exchange of business information within the entire bank.
[0067] Optionally, after determining the watermark recognition status of the encrypted email, the method further includes: when the watermark recognition status is that it does not contain a watermark or the watermark feature recognition status is that it does not contain a feature, determining that the encrypted email is an abnormal email; and generating a prompt message based on the abnormal email.
[0068] It is known that encrypted emails should normally carry a complete and recognizable digital watermark and corresponding features. When the watermark identification is that there is no watermark, it means that the email may have encountered external malicious attacks during the sending process, that is, external personnel have used technical means to destroy the original structure of the email, deliberately removed the digital watermark, and attempted to use the name of the bank to spread some illegal or false business information, thereby posing a serious threat to the bank's business security.
[0069] Similarly, when the watermark feature recognition is no feature, even if it is detected that there seems to be a digital watermark in the email, further analysis of its specific features will find that it does not conform to the pre-set rules. For example, a specific code that can identify the sending department should be embedded as a watermark feature, but the corresponding code is not detected or the code is incorrect. This also suggests that the email may have been tampered with, perhaps after the content was modified by criminals, the original normal watermark features were destroyed, making it lose its function of verifying the legitimacy and integrity of the email.
[0070] Specifically, no matter which of the above situations is the case, as long as the watermark recognition shows that it does not contain a watermark or the watermark feature recognition shows that it does not contain a feature, based on the bank's strict internal information security requirements, the controller will identify the corresponding encrypted email as an abnormal email to mark it as a potential security risk, so as to facilitate subsequent targeted measures to investigate and respond.
[0071] Furthermore, once an encrypted email is determined to be an abnormal email, the bank's internal public email system will automatically generate a prompt message based on the relevant situation of the abnormal email, and promptly inform relevant personnel to let them know that the email has an abnormal situation so that they can respond quickly. When generating the prompt message, the controller will extract the key identification information of the abnormal email, such as the subject of the email, the sender's account, the recipient's account and other basic information, and clearly indicate which email has a problem. Then, the specific situation of watermark detection will be described in detail, such as whether the watermark is not detected at all, or whether the watermark characteristics do not meet the requirements and other specific abnormal manifestations. At the same time, it will also attach a risk warning that the abnormal email may bring, such as the possible risk of information leakage and the impact on the accuracy of business decisions, so that the person receiving the prompt message can intuitively and comprehensively understand the severity of the situation. The generated prompt information will be sent according to the notification mechanism set up within the bank, and may be pushed to the sender and receiver of the email to let them know that there is a problem with the email transmission; it will also be sent to the bank's internal security management department and the corresponding business department heads, so that they can organize personnel to intervene in time and conduct investigation and analysis work, such as checking the network transmission log to see if there are any abnormal access records, checking whether there are security loopholes on the sending end, etc., so as to resolve the potential security risks caused by abnormal emails as soon as possible and ensure that the bank's internal business information can flow normally in a safe and reliable email system environment.
[0072] The technical solution of the embodiment of the present invention can timely detect emails with abnormal encryption through watermark recognition and watermark feature recognition, thereby improving the monitoring accuracy of email security. Generating prompt information helps relevant personnel to take measures quickly to avoid the mistransmission of abnormal emails. It effectively prevents the risk of information leakage caused by incomplete encryption and enhances the overall security of the bank's internal email system. It ensures that only encrypted and valid emails are sent, which ensures the confidentiality and integrity of the email content during the transmission process, improves the accuracy of email transmission, enables the recipient to receive safe and reliable emails, and maximizes the security transmission of sensitive information in the bank's internal public email system, reducing the risk of information leakage.
[0073] Embodiment 3
[0074] Figure 3 This is a schematic diagram of the structure of a mail encryption sending device provided by Embodiment 3 of the present invention. Figure 3 As shown, the device includes: an email watermark encryption module 310, which is used to obtain the email to be sent, and perform digital watermark encryption processing on the email to be sent to generate an encrypted email;
[0075] The watermark recognition status determination module 320 is used to determine the watermark recognition status of the encrypted email, wherein the watermark recognition status is whether the email contains a watermark or not;
[0076] The mail sending module 330 is used to determine the watermark feature recognition status of the encrypted mail when the watermark recognition status is that the watermark is contained, and send the encrypted mail according to the watermark feature recognition status.
[0077] Optionally, the email watermark encryption module 310 is specifically used to: obtain the information to be embedded and determine the information dimension of the information to be embedded; process the email to be sent based on the information dimension to generate a processed text, and convert the processed text into a carrier tensor in a specified format; perform a convolution operation on the carrier tensor through an encoder to form an intermediate feature, and splice the intermediate feature with the information to be embedded to generate an encrypted email.
[0078] Optionally, the watermark recognition status determination module 320 is specifically used to: check whether the encrypted email contains a digital watermark, if so, determine the watermark recognition status as containing a watermark; otherwise, determine the watermark recognition status as not containing a watermark.
[0079] Optionally, the email sending module 330 specifically includes: a watermark feature recognition unit, which is used to: perform digital watermark feature recognition on the encrypted email; determine whether the text digital watermark is recognized, and if so, determine that the watermark feature recognition situation is containing features; otherwise, determine that the watermark feature recognition situation is not containing features.
[0080] Optionally, the email sending module 330 specifically includes: an email sending unit, which is used to: when the watermark feature recognition situation is that it contains features, send the encrypted email to the target recipient.
[0081] Optionally, the device also includes: an abnormal email identification module, which is used to: after determining the watermark recognition status of the encrypted email, when the watermark recognition status is that it does not contain a watermark or the watermark feature recognition status is that it does not contain a feature, determine that the encrypted email is an abnormal email; and generate prompt information based on the abnormal email.
[0082] The technical solution of the embodiment of the present invention can embed hidden encrypted information in the email through digital watermark encryption processing, which does not affect the normal reading and appearance of the email, and increases the confidentiality of the email content. It effectively prevents the real content of the email from being easily obtained and understood by unauthorized third parties during the transmission process. By determining the watermark recognition situation, it is possible to quickly determine whether the email has been correctly encrypted, timely discover possible abnormal emails, and improve the monitoring of email security. By determining the watermark feature recognition situation, the validity of the encryption is further verified to ensure that only correctly encrypted emails are sent, thereby maximally ensuring the safe transmission of sensitive information in the bank's internal public email system and reducing the risk of information leakage.
[0083] An encrypted mail sending device provided in an embodiment of the present invention can execute an encrypted mail sending method provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
[0084] Embodiment 4
[0085] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0086] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0087] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0088] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a method for sending encrypted emails.
[0089] In some embodiments, a method for sending an encrypted email may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for sending an encrypted email described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute a method for sending an encrypted email in any other appropriate manner (e.g., by means of firmware).
[0090] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0091] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0092] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0093] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0094] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0095] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0096] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0097] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for sending encrypted mail, characterized in that: include: Obtaining an email to be sent, and performing digital watermark encryption processing on the email to be sent to generate an encrypted email; Determining a watermark recognition status of the encrypted email, wherein the watermark recognition status includes whether the encrypted email contains a watermark or not; When the watermark recognition status is that the watermark is contained, the watermark feature recognition status of the encrypted email is determined, and the encrypted email is sent according to the watermark feature recognition status.
2. The method according to claim 1, characterized in that The step of performing digital watermark encryption processing on the email to be sent to generate an encrypted email includes: Acquire information to be embedded, and determine the information dimension of the information to be embedded; Processing the email to be sent based on the information dimension to generate a processed text, and converting the processed text into a carrier tensor in a specified format; The encoder performs a convolution operation on the carrier tensor to form an intermediate feature, and the intermediate feature is concatenated with the information to be embedded to generate an encrypted email.
3. The method according to claim 1, characterized in that The determining of the watermark recognition status of the encrypted email includes: Checking whether the encrypted email contains a digital watermark, and if so, determining that the watermark identification condition is that the encrypted email contains a watermark; Otherwise, it is determined that the watermark recognition condition is that there is no watermark.
4. The method according to claim 3, characterized in that The determining of the watermark feature recognition of the encrypted email includes: Performing digital watermark feature recognition on the encrypted email; Determining whether a text digital watermark is recognized, and if so, determining that the watermark feature recognition condition is that the feature is contained; Otherwise, it is determined that the watermark feature recognition condition is that there is no feature.
5. The method according to claim 4, characterized in that After determining the watermark recognition status of the encrypted email, the method further includes: When the watermark recognition condition is that there is no watermark or the watermark feature recognition condition is that there is no feature, determining that the encrypted email is an abnormal email; Generate a prompt message according to the abnormal email.
6. The method according to claim 4, characterized in that The sending of the encrypted email according to the watermark feature recognition comprises: When the watermark feature recognition condition is that it contains features, the encrypted email is sent to the target recipient.
7. A device for sending encrypted mail, characterized in that: include: The email watermark encryption module is used to obtain the email to be sent and perform digital watermark encryption processing on the email to be sent to generate an encrypted email; A watermark recognition status determination module, used to determine the watermark recognition status of the encrypted email, wherein the watermark recognition status includes whether the email contains a watermark or not; The mail sending module is used to determine the watermark feature recognition status of the encrypted mail when the watermark recognition status is that the watermark is contained, and send the encrypted mail according to the watermark feature recognition status.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively coupled to the at least one processor; The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method according to any one of claims 1 to 6.
9. A computer storage medium, characterized in that The computer storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method according to any one of claims 1 to 6 when executed.
10. A computer program product, characterized in that The computer program product comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Mail processing method and system, and mail proxy gateway
CN108446543A
Mail sending method and device
CN112688858A
Method for embedding and detecting digital watermark in large language model generated text
CN117272253A
Machine-Learned Models for Imperceptible Message Watermarking in Videos
US20240020788A1