Mailbox management method and device
By judging the authentication password policy and email content of the enterprise mailbox user side, it identifies and restricts the sending of abnormal emails, solves the resource occupation problem caused by malicious use or password leakage, and ensures the normal operation of the enterprise mailbox.
Patent Information
- Application Number
- CN202110557802.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-21
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-05-21
AI Technical Summary
In enterprise mailbox usage scenarios, abnormal email sending caused by malicious exploitation or password leakage may occupy mail server resources, causing the entire mail server to paralyze, affecting the normal use of other users.
By receiving the user's email sending request, it determines whether the authentication password meets the preset password policy, and identifies whether the email to be sent is a normal email. If it is an abnormal email and the number exceeds the preset number, the client will be suspended to avoid excessive resource usage.
Effectively prevent abnormal email sending caused by malicious exploitation or password leakage, avoid resource occupation, and ensure the normal use of other users' mailboxes.
Smart Images

Figure CN113159736B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet technology, and in particular to a mailbox management method and device. Background Art
[0002] In the use scenario of corporate mailboxes, one mail server may serve multiple users' mailboxes. If one user's mailbox is maliciously exploited due to an attack or password leakage, and continues to send abnormal emails, it will not only occupy the resources of the mail server, but may even cause the entire mail server to crash, affecting the normal use of the mailboxes of other users in the enterprise. Summary of the invention
[0003] In view of this, an embodiment of the present invention provides a mailbox management method and device, which can determine whether an authentication password included in an email sending request sent by a user terminal satisfies a preset password policy. When it is determined that the authentication password satisfies the preset password policy, the email to be sent is identified to determine whether the email to be sent is a normal email. If it is an abnormal email, it is determined whether the number of abnormal emails sent by the user terminal within a preset first time period is greater than a preset number. When the user terminal sends more than a preset number of abnormal emails within the preset first time period, the use of the user terminal is suspended within a preset second time period. Therefore, when a user terminal's mailbox is maliciously exploited and continuously sends abnormal emails due to attacks or password leaks, the use of the user terminal can be suspended to avoid excessive occupation of resources by the user terminal, thereby ensuring normal use of the mailbox by other users.
[0004] To achieve the above objective, according to one aspect of an embodiment of the present invention, a mailbox management method is provided.
[0005] A mailbox management method according to an embodiment of the present invention includes:
[0006] Receive an email sending request from a user, which includes the email to be sent and an authentication password;
[0007] Determine whether the authentication password meets the preset password policy;
[0008] When it is determined that the authentication password meets the preset password policy, the email to be sent is identified to determine whether the email to be sent is a normal email;
[0009] When it is determined that the email to be sent is an abnormal email, the number of abnormal emails sent by the user terminal within a preset first time period is incremented, and it is determined whether the number is greater than the preset number. If so, the use of the user terminal is suspended within a preset second time period.
[0010] Optionally,
[0011] Determine whether the authentication password meets the preset password policy, including:
[0012] Calculate the simplicity of the authentication password;
[0013] It is determined whether the simplicity is greater than a first preset threshold included in a preset password policy, and if not, it is determined that the authentication password does not satisfy the preset password policy.
[0014] Optionally,
[0015] The preset password policy includes: multiple weak passwords;
[0016] Determine whether the authentication password meets the preset password policy, including:
[0017] Determine whether the complexity of the authentication password is greater than a second preset threshold included in the preset password policy, and if so, determine whether the authentication password is included in multiple weak passwords, and if so, determine that the authentication password does not meet the preset password policy.
[0018] Optionally,
[0019] The email sending request also includes: a user terminal identifier;
[0020] Determine whether the authentication password meets the preset password policy, including:
[0021] Calculate the similarity between the authentication password and the user terminal identifier;
[0022] It is determined whether the similarity is greater than a third preset threshold included in the preset password policy, and if so, it is determined that the authentication password does not satisfy the preset password policy.
[0023] Optionally,
[0024] The preset password policy includes: the validity period of the password corresponding to the user terminal identifier;
[0025] Determine whether the authentication password meets the preset password policy, including:
[0026] It is determined whether the usage time of the authentication password is greater than the password validity time. If so, it is determined that the authentication password does not meet the preset password policy.
[0027] Optionally,
[0028] When it is determined that the authentication password does not meet the preset password policy, it also includes:
[0029] Refuse to send pending emails;
[0030] Suspending the use of the user terminal within a preset third time period; and / or sending a password change reminder email to the user terminal, the content of the password change reminder email including information that the email to be sent was not sent, and the reason why the authentication password does not meet the preset password policy, so that the user terminal can modify the authentication password.
[0031] Optionally,
[0032] When it is determined that the authentication password meets the preset password policy, the email to be sent is identified to determine whether it is a normal email, including:
[0033] Analyze the content and attachments of the email to be sent;
[0034] Determine whether the content or attachment of the email to be sent includes an abnormal link. If so, determine that the email to be sent is an abnormal email.
[0035] Optionally,
[0036] In the case where the content of the email to be sent and the attachments do not contain abnormal links, the following are also included:
[0037] Using the semantic recognition model, determine whether the email to be sent is spam according to the content of the email to be sent, and if so, determine that the email to be sent is an abnormal email;
[0038] and / or,
[0039] Determine whether the attachment of the email to be sent contains a virus. If so, determine that the email to be sent is an abnormal email.
[0040] Optionally,
[0041] The user side corresponds to the working hours;
[0042] The preset second duration is dynamically set according to the interval between the working time and the current time.
[0043] Optionally,
[0044] When it is determined that the number of abnormal emails sent by the user terminal within the preset first time period is greater than the preset number, the method further includes:
[0045] A notification email is sent to the user, the content of which includes the reason why the user's use is suspended and the handling method recommended for the user.
[0046] To achieve the above objective, according to another aspect of an embodiment of the present invention, a mailbox management device is provided.
[0047] A mailbox management device according to an embodiment of the present invention includes a request receiving module, a password determining module, an email judging module and a quantity determining module; wherein:
[0048] The request receiving module is used to receive the email sending request sent by the user end, and the email sending request includes the email to be sent and the authentication password;
[0049] A password determination module, used to determine whether the authentication password satisfies a preset password policy;
[0050] The mail judgment module is used to identify the mail to be sent and judge whether the mail to be sent is a normal mail when it is determined that the authentication password meets the preset password policy;
[0051] The quantity determination module is used to increment the number of abnormal emails sent by the user terminal within a preset first time period when it is determined that the email to be sent is an abnormal email, and to determine whether the number is greater than the preset number. If so, suspend the use of the user terminal within a preset second time period.
[0052] To achieve the above objective, according to another aspect of an embodiment of the present invention, a mailbox management electronic device is provided.
[0053] A mailbox management electronic device according to an embodiment of the present invention includes: one or more processors; a storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement a mailbox management method according to an embodiment of the present invention.
[0054] To achieve the above objective, according to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided.
[0055] A computer-readable storage medium according to an embodiment of the present invention stores a computer program, and when the program is executed by a processor, a mailbox management method according to an embodiment of the present invention is implemented.
[0056] An embodiment of the above invention has the following advantages or beneficial effects: it is able to determine whether the authentication password included in the email sending request sent by the user terminal satisfies the preset password policy. When it is determined that the authentication password satisfies the preset password policy, the email to be sent is identified to determine whether the email to be sent is a normal email. If it is an abnormal email, it is determined whether the number of abnormal emails sent by the user terminal within the preset first time period is greater than the preset number. When the user terminal sends more than the preset number of abnormal emails within the preset first time period, the use of the user terminal is suspended within the preset second time period. Therefore, when a user terminal's mailbox is maliciously exploited and continuously sends abnormal emails due to attacks or password leakage, the use of the user terminal can be suspended to avoid excessive occupation of resources by the user terminal, thereby ensuring normal use of the mailbox by other users.
[0057] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.
[0059] Figure 1 is a schematic diagram of main steps of a mailbox management method according to an embodiment of the present invention;
[0060] Figure 2 is a schematic diagram of main steps of another mailbox management method according to an embodiment of the present invention;
[0061] Figure 3 is a schematic diagram of main modules of a mailbox management device according to an embodiment of the present invention;
[0062] Figure 4 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;
[0063] Figure 5 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION
[0064] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0065] It should be pointed out that the embodiments of the present invention and the technical features therein may be combined with each other without conflict.
[0066] Figure 1 It is a schematic diagram of main steps of a mailbox management method according to an embodiment of the present invention.
[0067] like Figure 1 As shown, a mailbox management method according to an embodiment of the present invention mainly includes the following steps:
[0068] Step S101: receiving an email sending request from a user terminal, wherein the email sending request includes an email to be sent and an authentication password.
[0069] In the embodiment of the present invention, the authentication password may be an email login password, an email sending password, or other passwords used to verify whether the status of the user terminal is normal.
[0070] Step S102: Determine whether the authentication password satisfies the preset password policy.
[0071] In the embodiment of the present invention, since the mailbox service is a 24-hour service, the user end may send an email sending request at any time. Therefore, through the built-in preset password policy, it is not only possible to promptly determine whether the user corresponding to the user end has correctly used the authentication password, but also possible to promptly discover that although the user has correctly used the authentication password, the authentication password has been abused in the email channel due to malicious intrusion on the user end host.
[0072] In an embodiment of the present invention, the simplicity of the authentication password can be calculated, and it is determined whether the simplicity is greater than a first preset threshold included in the preset password policy, so as to determine whether the authentication password satisfies the preset password policy. If it is determined that the simplicity is not greater than the first preset threshold, it is determined that the authentication password does not satisfy the preset password policy; if it is determined that the simplicity is greater than the first preset threshold, it is determined that the authentication password satisfies the preset password policy. Wherein, the simplicity refers to the proportion of the number of different characters in the authentication password to the total characters.
[0073] For example, the first preset threshold included in the preset password policy is 50%, and the authentication password included in a certain email sending request is abc123, where the number of different characters is 6 and the total number of characters is 6, then the calculated simplicity is 100%, which is greater than the first preset threshold of 50%, and it can be determined that the authentication password meets the preset password policy. The authentication password included in another email sending request is aaaabbbbcccc, where the number of different characters is 3 and the total number of characters is 12, then the calculated simplicity is 25%, which is less than the first preset threshold of 50%, and it can be determined that the authentication password does not meet the preset password policy.
[0074] In an embodiment of the present invention, the preset password policy may further include: multiple weak passwords, wherein a weak password refers to a relatively common authentication password whose complexity meets the requirements of the preset password policy, and the complexity is determined according to the length of the authentication password and the number of types of characters used in the authentication password. At this time, when determining whether the authentication password meets the preset password policy, it can be determined whether the complexity of the authentication password is greater than the second preset threshold included in the preset password policy. If the complexity is not greater than the second preset threshold, it is directly determined that the authentication password does not meet the preset password policy. If the complexity is greater than the second preset threshold, it is determined whether the authentication password is included in the multiple weak passwords. If so, it is determined that the authentication password does not meet the preset password policy. If not, it is determined that the authentication password meets the preset password policy.
[0075] In the embodiment of the present invention, the second preset threshold included in the preset password policy may be the same as the first preset threshold, or may be different from the first preset threshold.
[0076] For example, the authentication password included in a certain email sending request is ABC123abc, the length of the authentication password is 9 digits, and the three characters of uppercase letters, numbers and lowercase letters are used. It can be determined that the complexity of the authentication password is greater than the second preset threshold value included in the preset password policy. At this time, it is determined whether the authentication password is included in multiple weak passwords: because the password ABC123abc is too common, the preset password policy has already used the password as a weak password, so it is determined that the authentication password does not meet the preset password policy. The authentication password included in another email sending request is AOE@*! dc123, it can be determined that the complexity of the authentication password is greater than the second preset threshold value included in the preset password policy, and the authentication password is not included in the multiple weak passwords included in the preset password policy, and then it can be determined that the authentication password meets the preset password policy.
[0077] In an embodiment of the present invention, the email sending request may further include: a user terminal identifier; at this time, the similarity between the authentication password and the user terminal identifier may be calculated, and it may be determined whether the similarity is greater than a third preset threshold included in the preset password policy, so as to determine whether the authentication password satisfies the preset password policy. If the similarity is greater than the third preset threshold, it is determined that the authentication password does not satisfy the preset password policy; if the similarity is not greater than the third preset threshold, it is determined that the authentication password satisfies the preset password policy. The similarity is calculated based on the number of identical characters in the authentication password and the user terminal identifier.
[0078] In the embodiment of the present invention, the third preset threshold included in the preset password policy may be the same as the first preset threshold and / or the second preset threshold, or may be different from the first preset threshold and / or the second preset threshold.
[0079] For example, the third preset threshold included in the preset password policy is 50%, the user terminal identifier included in a certain email sending request is abcdef, and the authentication password is abcdef123, the number of identical characters in the authentication password and the user terminal identifier is 6, and the length of the authentication password is 9, so the similarity can be calculated to be 66.7%, which is greater than the third preset threshold, and it can be determined that the authentication password does not meet the preset password policy. The user terminal identifier included in another email sending request is ABCDEF, and the authentication password is A12345, the number of identical characters in the authentication password and the user terminal identifier is 1, and the length of the authentication password is 6, and the similarity is 16.7%, which is less than the third preset threshold, and it can be determined that the authentication password meets the preset password policy.
[0080] In the embodiment of the present invention, the preset password policy may further include: the password validity period corresponding to the user terminal identifier; at this time, it may be determined whether the usage period of the authentication password is greater than the password validity period to determine whether the authentication password satisfies the preset password policy. If the usage period of the authentication password is greater than the password validity period, it is determined that the authentication password does not satisfy the preset password policy; if the usage period of the authentication password is not greater than the password validity period, it is determined that the authentication password satisfies the preset password policy.
[0081] In the embodiment of the present invention, when it is determined that the authentication password does not satisfy the preset password policy, the sending of the email to be sent may be rejected, and the use of the user terminal may be suspended within a preset third time period.
[0082] In an embodiment of the present invention, when it is determined that the authentication password does not satisfy the preset password policy, the sending of the email to be sent can also be rejected, and a password modification reminder email can be sent to the user terminal. The content of the password modification reminder email includes information that the email to be sent was not sent, and the reason why the authentication password does not satisfy the preset password policy, so that the user terminal can modify the authentication password.
[0083] Step S103: When it is determined that the authentication password satisfies the preset password policy, the email to be sent is identified to determine whether it is a normal email.
[0084] In an embodiment of the present invention, the email to be sent includes content and attachments. When it is determined that the authentication password satisfies the preset password policy, the email to be sent is identified, and the process of judging whether the email to be sent is a normal email includes: parsing the content and attachments of the email to be sent; determining whether the content or attachments of the email to be sent include abnormal links, and if so, determining that the email to be sent is an abnormal email.
[0085] In an embodiment of the present invention, when it is determined that the content of the email to be sent and the attachment do not include abnormal links, it can further include: using a semantic recognition model to determine whether the email to be sent is spam based on the content of the email to be sent, and if so, determining that the email to be sent is an abnormal email.
[0086] In the embodiment of the present invention, when it is determined that the content of the email to be sent and the attachment do not include abnormal links, it can further include: determining whether the attachment of the email to be sent includes a virus, and if so, determining that the email to be sent is an abnormal email.
[0087] Step S104: When it is determined that the email to be sent is an abnormal email, the number of abnormal emails sent by the user terminal within a preset first time period is incremented, and it is determined whether the number is greater than a preset number. If so, the use of the user terminal is suspended within a preset second time period.
[0088] In the embodiment of the present invention, the user terminal has corresponding working hours; and the preset second time period is dynamically set according to the interval between the working hours and the current time. For example, the working hours of a certain user terminal are 8:00-18:00 from Monday to Friday, and the number of abnormal emails sent by the user terminal within the preset first time period is greater than the preset number, and the current time is 22:00 on Wednesday night, then the preset second time period can be set to ten hours, so that the user terminal is suspended from the current time to 8 o'clock in the morning of the next day. Setting the preset second time period in this way can make the management of the mailbox more flexible, especially for enterprises with inconsistent working hours of employees, and can better meet the mailbox management needs of such enterprises.
[0089] In an embodiment of the present invention, when it is determined that the number of abnormal emails sent by the user terminal within a preset first time period is greater than a preset number, a notification email can be further sent to the user terminal. The content of the notification email includes the reason why the user terminal is suspended and the processing method recommended for the user terminal to enable the user terminal to check the mailbox.
[0090] The following is a relatively complete embodiment to explain in more detail a mailbox management method proposed in this solution. Figure 2 Schematic diagram of the main steps of another mailbox management method, which mainly includes the following steps:
[0091] Step S201: receiving an email sending request from a user terminal, wherein the email sending request includes an email to be sent and an authentication password;
[0092] Step S202: Determine whether the authentication password meets the preset password policy, if not, execute step S203, if yes, execute step S205;
[0093] Step S203: Refuse to send the email to be sent;
[0094] Step S204: suspending the use of the user terminal within a preset third time period; and / or sending a password modification reminder email to the user terminal, the content of the password modification reminder email including information that the to-be-sent email has not been sent and the reason why the authentication password does not meet the preset password policy, so that the user terminal can modify the authentication password;
[0095] Step S205: Identify the email to be sent and determine whether it is a normal email. If not, execute step S206; if yes, execute step S209;
[0096] Step S206: Refuse to send the email to be sent, and increment the number of abnormal emails sent by the user terminal within the preset first time period;
[0097] Step S207: Determine whether the number of abnormal emails sent by the user terminal within the preset first time period is greater than the preset number, if yes, execute step S208, if no, execute step S209;
[0098] Step S208: suspending the use of the user terminal within a preset second time period;
[0099] Step S209: forwarding the email to be sent.
[0100] According to a mailbox management method according to an embodiment of the present invention, it can be seen that the method can determine whether the authentication password included in the email sending request sent by the user terminal meets the preset password policy. When it is determined that the authentication password meets the preset password policy, the email to be sent is identified to determine whether the email to be sent is a normal email. If it is an abnormal email, it is determined whether the number of abnormal emails sent by the user terminal within a preset first time period is greater than a preset number. When the user terminal sends more than a preset number of abnormal emails within the preset first time period, the use of the user terminal is suspended within the preset second time period. Therefore, when a user terminal's mailbox is maliciously exploited and continuously sends abnormal emails due to attacks or password leakage, the use of the user terminal can be suspended to avoid excessive occupation of resources by the user terminal, thereby ensuring normal use of the mailbox by other users.
[0101] Figure 3 It is a schematic diagram of main modules of a mailbox management device according to an embodiment of the present invention.
[0102] like Figure 3 As shown, a mailbox management device 300 according to an embodiment of the present invention includes a request receiving module 301, a password determining module 302, an email determining module 303 and a quantity determining module 304; wherein:
[0103] The request receiving module 301 is used to receive an email sending request sent by a user, wherein the email sending request includes the email to be sent and the authentication password;
[0104] A password determination module 302 is used to determine whether the authentication password satisfies a preset password policy;
[0105] The email judgment module 303 is used to identify the email to be sent and judge whether the email to be sent is a normal email when it is determined that the authentication password meets the preset password policy;
[0106] The quantity determination module 304 is used to increment the number of abnormal emails sent by the user terminal within a preset first time period when it is determined that the email to be sent is an abnormal email, and determine whether the number is greater than the preset number. If so, suspend the use of the user terminal within a preset second time period.
[0107] In the embodiment of the present invention, the password determination module 302 is further used to: calculate the simplicity of the authentication password; determine whether the simplicity is greater than a first preset threshold included in the preset password policy, and if not, determine that the authentication password does not meet the preset password policy.
[0108] In an embodiment of the present invention, the preset password policy includes: multiple weak passwords; the password determination module 302 is further used to: determine whether the complexity of the authentication password is greater than a second preset threshold included in the preset password policy, if so, determine whether the authentication password is included in the multiple weak passwords, and if so, determine that the authentication password does not meet the preset password policy.
[0109] In an embodiment of the present invention, the email sending request also includes: a user terminal identifier; the password determination module 302 is further used to: calculate the similarity between the authentication password and the user terminal identifier; determine whether the similarity is greater than a third preset threshold included in the preset password policy, and if so, determine that the authentication password does not meet the preset password policy.
[0110] In an embodiment of the present invention, the preset password policy includes: the password validity period corresponding to the user terminal identifier; the password determination module 302 is further used to: determine whether the usage period of the authentication password is greater than the password validity period, and if so, determine that the authentication password does not meet the preset password policy.
[0111] In an embodiment of the present invention, when it is determined that the authentication password does not satisfy the preset password policy, the password determination module 302 is further used to: refuse to send the email to be sent; suspend the use of the user terminal within a preset third time period; and / or send a password modification reminder email to the user terminal, the content of the password modification reminder email includes information that the email to be sent has not been sent, and the reason why the authentication password does not satisfy the preset password policy, so that the user terminal modifies the authentication password.
[0112] In the embodiment of the present invention, the email judgment module 303 is further used to: parse the content and attachments of the email to be sent; determine whether the content or attachments of the email to be sent include abnormal links, and if so, determine that the email to be sent is an abnormal email.
[0113] In an embodiment of the present invention, when it is determined that the content of the email to be sent and the attachment do not include abnormal links, the email judgment module 303 is further used to: use a semantic recognition model to determine whether the email to be sent is spam based on the content of the email to be sent; if so, determine that the email to be sent is an abnormal email.
[0114] In the embodiment of the present invention, when it is determined that the content of the email to be sent and the attachment do not include abnormal links, the email judgment module 303 is further used to: determine whether the attachment of the email to be sent includes a virus, and if so, determine that the email to be sent is an abnormal email.
[0115] In the embodiment of the present invention, the user terminal corresponds to working time; the preset second duration is dynamically set according to the interval between the working time and the current time.
[0116] In an embodiment of the present invention, when it is determined that the number of abnormal emails sent by the user terminal within a preset first time period is greater than a preset number, the quantity determination module 304 is further used to: send a notification email to the user terminal, the content of the notification email including the reason why the user terminal was suspended and the processing method recommended for the user terminal.
[0117] According to a mailbox management device according to an embodiment of the present invention, it can be seen that the device is able to determine whether the authentication password included in the email sending request sent by the user terminal meets the preset password policy. When it is determined that the authentication password meets the preset password policy, the email to be sent is identified to determine whether the email to be sent is a normal email. If it is an abnormal email, it is determined whether the number of abnormal emails sent by the user terminal within a preset first time period is greater than a preset number. When the user terminal sends more than a preset number of abnormal emails within the preset first time period, the use of the user terminal is suspended within the preset second time period. Therefore, when a user terminal's mailbox is maliciously exploited and continuously sends abnormal emails due to attacks or password leakage, the use of the user terminal can be suspended to avoid excessive occupation of resources by the user terminal, thereby ensuring normal use of the mailbox by other users.
[0118] Figure 4 An exemplary system architecture 400 is shown to which a mailbox management method or a mailbox management device according to an embodiment of the present invention can be applied.
[0119] like Figure 4 As shown, system architecture 400 may include terminal devices 401, 402, 403, network 404 and electronic device 405. Network 404 is used to provide a medium for communication links between terminal devices 401, 402, 403 and electronic device 405. Network 404 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0120] The user can use the terminal devices 401, 402, 403 to interact with the electronic device 405 through the network 404 to receive or send messages, etc. Various communication client applications, such as web browser applications, email clients, etc., can be installed on the terminal devices 401, 402, 403.
[0121] The terminal devices 401 , 402 , and 403 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.
[0122] The electronic device 405 may be a server that provides various services, such as a background management server that provides support for the email client used by the user using the terminal devices 401, 402, and 403. The background management server may analyze and process the received email sending request and other data, and feed back the processing result (such as sending success or failure information) to the terminal device.
[0123] It should be noted that the mailbox management method provided in the embodiment of the present invention is generally executed by the electronic device 405 , and accordingly, a mailbox management device is generally disposed in the electronic device 405 .
[0124] It should be understood that Figure 4 The number of terminal devices, networks and electronic devices in the embodiment is only for illustration. Any number of terminal devices, networks and electronic devices may be provided according to implementation requirements.
[0125] Reference below Figure 5 , which shows a schematic diagram of the structure of a computer system 500 of a terminal device suitable for implementing an embodiment of the present invention. Figure 5 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0126] like Figure 5 As shown, the computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage part 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the system 500 are also stored. The CPU 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0127] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed, so that a computer program read therefrom is installed into the storage section 508 as needed.
[0128] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 509, and / or installed from the removable medium 511. When the computer program is executed by the central processing unit (CPU) 501, the above-mentioned functions defined in the system of the present invention are executed.
[0129] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, 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 above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0130] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0131] The modules involved in the embodiments of the present invention may be implemented by software or hardware. The modules described may also be set in a processor, for example, it may be described as: a processor includes a request receiving module, a password determination module, an email determination module, and a quantity determination module. The names of these modules do not constitute a limitation on the modules themselves in some cases, for example, the request receiving module may also be described as a "module for receiving an email sending request sent by a user end".
[0132] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently and not be assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: receiving an email sending request sent by a user terminal, the email sending request includes the email to be sent and the authentication password; determining whether the authentication password satisfies the preset password policy; when it is determined that the authentication password satisfies the preset password policy, identifying the email to be sent and determining whether the email to be sent is a normal email; when it is determined that the email to be sent is an abnormal email, incrementing the number of abnormal emails sent by the user terminal within a preset first time period, and determining whether the number is greater than the preset number, if so, suspending the use of the user terminal within a preset second time period.
[0133] According to the technical solution of the embodiment of the present invention, it is possible to determine whether the authentication password included in the email sending request sent by the user terminal meets the preset password policy. When it is determined that the authentication password meets the preset password policy, the email to be sent is identified to determine whether the email to be sent is a normal email. If it is an abnormal email, it is determined whether the number of abnormal emails sent by the user terminal within a preset first time period is greater than a preset number. When the user terminal sends more than a preset number of abnormal emails within the preset first time period, the use of the user terminal is suspended within a preset second time period. Therefore, when a user terminal's mailbox is maliciously exploited and continuously sends abnormal emails due to attacks or password leaks, the use of the user terminal can be suspended to avoid excessive occupation of resources by the user terminal, thereby ensuring normal use of the mailbox by other users.
[0134] 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 may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A mailbox management method, characterized in that: Applicable to the backend management server that provides support for email clients, including: Receiving an email sending request from a user terminal, wherein the email sending request includes an email to be sent and an authentication password, wherein the authentication password is one or more of an email login password, an email sending password, and a password for verifying whether the status of the user terminal is normal; Determining whether the authentication password satisfies a preset password policy; When it is determined that the authentication password does not satisfy the preset password policy, refusing to send the email to be sent; when it is determined that the authentication password satisfies the preset password policy, identifying the email to be sent to determine whether the email to be sent is a normal email; When it is determined that the email to be sent is an abnormal email, the number of abnormal emails sent by the user terminal within a preset first time period is incremented, and it is determined whether the number is greater than a preset number. If so, the use of the user terminal is suspended within a preset second time period; Wherein, determining whether the authentication password satisfies a preset password policy includes: Calculating the simplicity of the authentication password, wherein the simplicity refers to the ratio of the number of different characters in the authentication password to the total number of characters; determining whether the simplicity is greater than a first preset threshold included in the preset password policy, and if not, determining that the authentication password does not satisfy the preset password policy; The preset password policy includes: multiple weak passwords; Determining whether the complexity of the authentication password is greater than a second preset threshold included in the preset password policy, and if so, determining whether the authentication password is included in the multiple weak passwords, and if so, determining that the authentication password does not satisfy the preset password policy, wherein the complexity is determined according to the length of the authentication password and the number of types of characters used in the authentication password; The email sending request also includes: a user terminal identifier; Calculating the similarity between the authentication password and the user terminal identifier; determining whether the similarity is greater than a third preset threshold included in the preset password policy, and if so, determining that the authentication password does not satisfy the preset password policy; The preset password policy includes: the validity period of the password corresponding to the user terminal identifier; Determine whether the usage time of the authentication password is greater than the password validity time, and if so, determine that the authentication password does not meet the preset password policy.
2. The method according to claim 1, characterized in that When it is determined that the authentication password does not satisfy the preset password policy, the method further includes: Suspending the use of the user terminal within a preset third time period; and / or sending a password modification reminder email to the user terminal, the content of the password modification reminder email including the information that the to-be-sent email has not been sent, and the reason why the authentication password does not meet the preset password policy, so that the user terminal modifies the authentication password.
3. The method according to claim 1, characterized in that When it is determined that the authentication password satisfies the preset password policy, identifying the email to be sent and judging whether the email to be sent is a normal email includes: Parsing the content and attachments of the email to be sent; Determine whether the content or attachment of the email to be sent includes an abnormal link, and if so, determine that the email to be sent is an abnormal email.
4. The method according to claim 3, characterized in that When it is determined that the content of the email to be sent and the attachment do not contain abnormal links, the method further includes: Using a semantic recognition model, according to the content of the email to be sent, determining whether the email to be sent is a spam, and if so, determining that the email to be sent is an abnormal email; and / or, Determine whether the attachment of the email to be sent contains a virus, and if so, determine that the email to be sent is an abnormal email.
5. The method according to claim 1, characterized in that The user terminal corresponds to working hours; The preset second duration is dynamically set according to the interval between the working time and the current time.
6. The method according to claim 1, characterized in that When it is determined that the number of abnormal emails sent by the user terminal within the preset first time period is greater than the preset number, the method further includes: A notification email is sent to the user terminal, wherein the content of the notification email includes the reason why the user terminal is suspended and a processing method recommended for the user terminal.
7. A mailbox management device, characterized in that: It includes a request receiving module, a password determination module, an email judgment module and a quantity determination module; wherein: The request receiving module is used to receive an email sending request sent by a user terminal, wherein the email sending request includes an email to be sent and an authentication password, wherein the authentication password is one or more of an email login password, an email sending password, and a password used to verify whether the status of the user terminal is normal; The password determination module is used to determine whether the authentication password satisfies a preset password policy; when it is determined that the authentication password does not satisfy the preset password policy, refuse to send the email to be sent; The email judgment module is used to identify the email to be sent and judge whether the email to be sent is a normal email when it is determined that the authentication password meets the preset password policy; The quantity determination module is used to, when determining that the email to be sent is an abnormal email, increment the number of abnormal emails sent by the user terminal within a preset first time period, and determine whether the number is greater than a preset number, and if so, suspend the use of the user terminal within a preset second time period; The password determination module is used to: Calculating the simplicity of the authentication password, wherein the simplicity refers to the ratio of the number of different characters in the authentication password to the total number of characters; determining whether the simplicity is greater than a first preset threshold included in the preset password policy, and if not, determining that the authentication password does not satisfy the preset password policy; Determining whether the complexity of the authentication password is greater than a second preset threshold included in the preset password policy, and if so, determining whether the authentication password is included in a plurality of weak passwords included in the preset password policy, and if so, determining that the authentication password does not satisfy the preset password policy, wherein the complexity is determined according to the length of the authentication password and the number of types of characters used in the authentication password; Calculating the similarity between the authentication password and the user terminal identifier included in the email sending request; determining whether the similarity is greater than a third preset threshold included in the preset password policy, and if so, determining that the authentication password does not satisfy the preset password policy; Determine whether the usage duration of the authentication password is greater than the password validity duration corresponding to the user terminal identifier included in the preset password policy; if so, determine that the authentication password does not satisfy the preset password policy.
8. An electronic device for mailbox management, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.
9. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
