Mail management method and system based on bypass forwarding

By adopting bypass forwarding and word segmentation indexing technology in the email management system, the problem of low email retrieval efficiency in the existing technology is solved, and rapid and accurate email retrieval and management efficiency is improved.

CN119652860AActive Publication Date: 2025-03-18AGRICULTURAL BANK OF CHINA
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411738857.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-03-18
Estimated Expiration
2044-11-29

AI Technical Summary

Technical Problem

The existing email management system searches through complete or fuzzy matching, with strict rules and cannot quickly and accurately retrieve target emails, resulting in low email management efficiency.

Method used

Using the bypass forwarding email management method, the email search system receives search requests from the management side, performs word segmentation processing, generates target word segmentation results, including original text, pinyin, radicals and radical indexes, and querys the matching target email ID.

Benefits of technology

It improves the hit rate of email retrieval, quickly and accurately retrieves target emails, improves email management efficiency, adapts to complex search needs, and avoids bypassing search methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119652860A_ABST
    Figure CN119652860A_ABST
Patent Text Reader

Abstract

The invention discloses a mail management method and system based on bypass forwarding, the method is applied to a mail management system, the mail management system comprises a server side, a management side and a mail retrieval system, and the mail retrieval system receives a retrieval request sent by the management side; the mail retrieval system performs word segmentation processing on retrieval content of the retrieval request to obtain a target word segmentation result; and the mail retrieval system queries a target mail ID corresponding to the target word segmentation index matched with the target word segmentation result so as to call a mail management background to process a target mail corresponding to the target mail ID. Thus, retrieval is conducted on the at least one word segmentation index according to the target word segmentation result through the mail retrieval system, the target word segmentation index matched with the target word segmentation result is obtained, and due to the fact that the at least one word segmentation index comprises the pinyin index, the radical index and the radical index, compared with complete matching or fuzzy matching in the prior art, the matching efficiency is improved. Complex retrieval requirements can be met, the retrieval hit rate is increased, and the mail management efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a mail management method and system based on bypass forwarding. Background Art

[0002] The email management system plays an indispensable role in the process of enterprise informatization. It is mainly used to provide email communication services to employees and external customers. Many companies have built their own email management systems.

[0003] The normal operation of an enterprise is inseparable from communication with the outside world. Therefore, even the internal email management system of an enterprise will face the challenge of an unsafe Internet environment during use, such as risky emails containing phishing content. Identifying and promptly handling such risky emails can help avoid unnecessary losses.

[0004] However, the current email management system performs retrieval through exact matching or fuzzy matching, and the exact matching or fuzzy matching rules are relatively strict. For example, the rule "content" can be successfully fuzzily matched with "email body", but cannot be successfully matched with "email body". The target email cannot be retrieved quickly and accurately, resulting in low email management efficiency. Summary of the invention

[0005] The present application provides a mail management method and system based on bypass forwarding, which can quickly and accurately retrieve target mails and improve mail management efficiency.

[0006] In a first aspect, the present application provides an email management method based on bypass forwarding, which is applied to an email management system, wherein the email management system includes a server, a management terminal, and an email retrieval system, wherein the server includes an email backend and an email management backend, and the method includes:

[0007] The mail retrieval system receives a retrieval request sent by the management terminal;

[0008] The mail retrieval system performs word segmentation processing on the search content of the search request to obtain a target word segmentation result; the target word segmentation result includes the original text, pinyin, radicals and radicals of the Chinese text after the word segmentation processing of the search content; the mail retrieval system stores at least one word segmentation index corresponding to the mail forwarded by the mail backend bypass, and the value of at least one word segmentation index is a mail identifier ID; at least one word segmentation index includes an original text index, a pinyin index, a radical index and a radical index;

[0009] The mail retrieval system queries the target mail ID corresponding to the target word segmentation index matching the target word segmentation result, so that the management end calls the mail management backend to process the target mail corresponding to the target mail ID.

[0010] Optionally, the email retrieval system performs word segmentation processing on the search content of the search request to obtain a target word segmentation result, including:

[0011] The mail retrieval system performs word segmentation processing on the search content to obtain an initial word segmentation result;

[0012] The email retrieval system obtains the Chinese text in the initial word segmentation result;

[0013] The mail retrieval system obtains the original text, pinyin, radicals and components of the Chinese text;

[0014] The target word segmentation result obtained by the mail retrieval system includes the original text, pinyin, radicals and radicals of the Chinese text.

[0015] Optionally, the email retrieval system queries a target email identifier ID corresponding to a target word segmentation index matching the target word segmentation result, including:

[0016] The mail retrieval system queries the target word segmentation index that matches the target word segmentation result;

[0017] The email retrieval system obtains the value corresponding to the target word segmentation index as the target email ID.

[0018] Optionally, the server further includes a mail database, and the method further includes:

[0019] The mail management backend receives a first query request sent by the management terminal;

[0020] The mail management backend retrieves the first mail corresponding to the first query request from the mail database;

[0021] The email management backend sends the first email to the management end.

[0022] Optionally, the email management system further includes a client, the server further includes an email database, and the method further includes:

[0023] The mail backend receives a second query request sent by the client;

[0024] The mail backend retrieves the second mail corresponding to the second query request from the mail database;

[0025] The mail backend sends the second mail to the client.

[0026] Optionally, the server further includes a mail database, and the method further includes:

[0027] The mail backend generates a mail ID corresponding to the initial mail; compresses and encrypts the initial mail to obtain the mail to be stored; the initial mail is sent to the mail backend after the security check of the gateway system;

[0028] The mail backend stores the mail IDs of the mail to be stored and the initial mail in the mail database;

[0029] The mail backend forwards the initial mail and the mail ID of the initial mail to the mail retrieval system based on the simple mail transfer protocol SMTP.

[0030] Optionally, the email management system further includes a gateway system, which generates an email ID corresponding to the initial email in the email background; compresses and encrypts the initial email, and before obtaining the email to be stored, the method further includes:

[0031] The gateway system checks the initial email and obtains a check result;

[0032] When the checking result indicates that the initial email is not a spam email, the gateway system sends the initial email to the email backend.

[0033] Optionally, the method further comprises:

[0034] The email retrieval system obtains the initial and the initial email ID;

[0035] The mail retrieval system performs word segmentation processing according to the text content of the initial mail to obtain the initial word segmentation result;

[0036] The email retrieval system establishes at least one segmentation index for the initial segmentation result; the value of at least one segmentation index is the email ID of the initial email; at least one segmentation index includes an original text index, a pinyin index, a radical index or a radical index;

[0037] The mail retrieval system stores at least one of the word segmentation indexes.

[0038] Optionally, the email retrieval system establishes at least one word segmentation index for the initial word segmentation result, including:

[0039] The mail retrieval system obtains the initial Chinese text in the initial word segmentation result;

[0040] The mail retrieval system obtains the original text, pinyin, radicals and components of the initial Chinese text;

[0041] The email retrieval system constructs an original text index, a pinyin index, a radical index and a component index respectively; the key of the original text index is the original text, and the value of the original text index is the email ID of the initial email; the key of the pinyin index is the pinyin, and the value of the pinyin index is the email ID of the initial email; the key of the radical index is the radical, and the value of the radical index is the email ID of the initial email; the key of the radical index is the radical, and the value of the radical index is the email ID of the initial email.

[0042] In a second aspect, the present application further provides an email management system based on bypass forwarding, the email management system comprising a server, a management terminal and an email retrieval system, the server comprising an email backend and an email management backend;

[0043] The mail retrieval system is used to receive the retrieval request sent by the management terminal;

[0044] The mail retrieval system is further used to perform word segmentation processing on the search content of the search request to obtain a target word segmentation result; the target word segmentation result includes the original text, pinyin, radicals and radicals of the Chinese text after the word segmentation processing of the search content; the mail retrieval system stores at least one word segmentation index corresponding to the mail forwarded by the mail backend bypass, and the value of at least one word segmentation index is a mail identifier ID; at least one word segmentation index includes an original text index, a pinyin index, a radical index and a radical index;

[0045] The mail retrieval system is also used to query the target mail ID corresponding to the target word segmentation index matching the target word segmentation result, so that the management end calls the mail management background to process the target mail corresponding to the target mail ID.

[0046] It can be seen that this application has the following beneficial effects:

[0047] The present application provides a mail management method and system based on bypass forwarding, which are applied to a mail management system. The mail management system includes a server, a management end and a mail retrieval system. The server includes a mail backend and a mail management backend. In the method, the mail retrieval system receives a retrieval request sent by the management end; the mail retrieval system performs word segmentation processing on the retrieval content of the retrieval request to obtain a target word segmentation result; the target word segmentation result includes the original text, pinyin, radical and radical of the Chinese text after the word segmentation processing of the retrieval content; the mail retrieval system stores at least one word segmentation index corresponding to the mail forwarded by the mail backend bypass, and the value of at least one word segmentation index is a mail identifier ID; the at least one word segmentation index includes an original text index, a pinyin index, a radical index and a radical index; the mail retrieval system queries a target mail ID corresponding to the target word segmentation index matching the target word segmentation result, so that the management end calls the mail management backend to process the target mail corresponding to the target mail ID. In this way, the search content of the search request is segmented through the email retrieval system, and a search is performed in at least one segmentation index according to the target segmentation result to obtain a target segmentation index that matches the target segmentation result. Because the at least one segmentation index includes a pinyin index, a radical index, and a radical index, compared with the complete match or fuzzy match in the prior art, it can adapt to complex retrieval needs, improve the hit rate of retrieval, and to a certain extent avoid bypassing the retrieval method, quickly and accurately retrieve the target email, and thus improve the email management efficiency; in addition, the email retrieval system in the embodiment of the present application includes at least one segmentation index corresponding to the email content in the bypass forwarded email, covering the retrieval function including non-original storage data, improving the hit rate of retrieval, and thus improving the email management efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0049] Figure 1 A schematic diagram of the structure of an email management system in the prior art provided in an embodiment of the present application;

[0050] Figure 2 A schematic diagram of the structure of an email management system based on bypass forwarding provided in an embodiment of the present application;

[0051] Figure 3 A flowchart of an email management method based on bypass forwarding provided in an embodiment of the present application. DETAILED DESCRIPTION

[0052] The multiple involved in the embodiments of the present application means greater than or equal to two. It should be noted that in the description of the embodiments of the present application, the words "first", "second", etc. are only used for the purpose of distinguishing the description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying an order.

[0053] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the embodiments of the present application are further described in detail below in conjunction with the accompanying drawings and specific implementation methods. It is understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. In addition, it should be noted that, for ease of description, only the parts related to the present application are shown in the accompanying drawings, not all structures.

[0054] First, some of the terms used in the examples of this application are explained:

[0055] 1) Client / Server (C / S) architecture: the server is responsible for data management, and the client completes the interaction with the user.

[0056] 2) Exact match means that the searched field is exactly the same as the search rule field.

[0057] 3) Fuzzy matching means that the searched field contains the search rule field and may also contain other content. For example, the rule "email body" can be successfully fuzzy matched with "*email body*", where "*" means a wildcard and can represent any value.

[0058] 4) Lexical segmentation, also known as word segmentation, is the process of dividing a text into several words. For example, the word segmentation result of "email body" is four words: "mail", "item", "body", and "text". It can also be divided into two words: "email" and "body". The segmentation result depends on the specific rules.

[0059] The normal operation of an enterprise is inseparable from communication with the outside world. Therefore, even the internal email management system of an enterprise will face the challenge of an unsafe Internet environment during use, such as risky emails containing phishing content. Identifying and promptly handling such risky emails can help avoid unnecessary losses.

[0060] When enterprises are trying to solve the problem of risky email prevention, they usually consider building a gateway system. When risky emails arrive at the Internet entrance of the enterprise network, the gateway system is used to identify and filter risky emails and promptly prevent such emails from entering the organization. However, the gateway system cannot guarantee 100% correct identification and interception of risky emails, and it is inevitable that some of them slip through the net.

[0061] Consider the following scenario: If a risky email is not correctly intercepted by the gateway system and has entered the company's internal email management system, the user will identify the risky content after reading the email and report it to the administrator. The administrator intends to conduct a comprehensive investigation within the company to see if there are similar risky emails to prevent other users who receive similar risky emails from suffering losses. How to locate risky emails among a large number of emails has become an inevitable problem in the company's information security construction.

[0062] See also Figure 1 , is a structural diagram of an email management system in the prior art provided in an embodiment of the present application. In the process of the administrator querying the data in the email database through the email management background, when the email system receives an Internet email, it generally saves the sender's email address, email subject and even part of the email body and other key information in the database. The database system provides a complete match or fuzzy match retrieval capability. The administrator can query the database for all the above data within a specified time, and check one by one whether other emails have the same or similar content as the risk email. If the match is successful, it means that the risk email has been retrieved. In the process of the user client obtaining the email of the logged-in user from the email background, after obtaining the user's email, the text data in the email is segmented, and an index is established based on the segmentation results, so as to provide a retrieval capability that is better than a complete match or fuzzy match.

[0063] The applicant has found that the email management system in the prior art has the following problems:

[0064] First, the search function of the existing email management system is to search through complete matching or fuzzy matching, and the rules of complete matching or fuzzy matching are relatively strict. For example, the rule "the content of the message" can be successfully fuzzily matched with the "body of the email", but cannot be successfully matched with the "body of the email", which makes the email management efficiency low.

[0065] Second, existing email management systems usually only store the sender address, email subject and other data in the original text. In order to reduce the operating costs of the email management system and improve the security of the email management system, the email body is generally compressed and encrypted when storing emails. In other words, the email body, which takes up the most storage space and is the most sensitive, needs to be compressed and encrypted before storage. However, compression and encryption will change the format of the data. The compressed and encrypted data is completely inconsistent with the original text. Therefore, it is impossible to retrieve the data in the email body based on key information matching in the database.

[0066] Third, in order to circumvent security and air defense measures such as gateway system interception, risky emails will also be misleading in their data. For example, a risky email contains a phishing link titled "Subsidy". It may use homophones, radicals, or characters with similar radicals to change the link title to "Bu Tie" to circumvent the interception of the gateway system, but it can still play a certain role in luring users. In this example, the rule "Subsidy" cannot be successfully matched with "Bu Tie". Therefore, the full match or fuzzy match functions provided by the database cannot meet more complex retrieval requirements.

[0067] Fourth, the word segmentation search function based on user data is a word segmentation index on the user device when the user client obtains the email data of the logged-in user. The word segmentation index only contains the data of the current user and can only retrieve the emails of the current user, but not the emails of other users.

[0068] Based on this, an embodiment of the present application provides a mail management method and system based on bypass forwarding, which is applied to a mail management system. The mail management system includes a server, a management end and a mail retrieval system. The server includes a mail backend and a mail management backend. In the method, the mail retrieval system receives a retrieval request sent by the management end; the mail retrieval system performs word segmentation processing on the retrieval content of the retrieval request to obtain a target word segmentation result; the target word segmentation result includes the original text, pinyin, radicals and radicals of the Chinese text after the word segmentation processing of the retrieval content; the mail retrieval system stores at least one word segmentation index corresponding to the mail forwarded by the mail backend bypass, and the value of at least one word segmentation index is a mail identifier ID; at least one word segmentation index includes an original text index, a pinyin index, a radical index and a radical index; the mail retrieval system queries the target mail ID corresponding to the target word segmentation index that matches the target word segmentation result, so that the management end calls the mail management backend to process the target mail corresponding to the target mail ID.

[0069] In this way, the search content of the search request is segmented by the mail retrieval system, and the target segmentation result is retrieved in at least one segmentation index to obtain the target segmentation index that matches the target segmentation result. Because at least one segmentation index includes a pinyin index, a radical index, and a radical index, compared with the complete match or fuzzy match in the prior art, it can adapt to complex retrieval needs, improve the hit rate of retrieval, and to a certain extent avoid the method of bypassing the retrieval, thereby improving the efficiency of mail management; in addition, the mail retrieval system in the embodiment of the present application includes at least one segmentation index corresponding to the mail content in the bypass forwarded mail, covering the retrieval function including non-original storage data, improving the hit rate of retrieval, quickly and accurately retrieving the target mail, thereby improving the efficiency of mail management. In addition, the mail retrieval system in the embodiment of the present application can provide a retrieval function covering the mail data of all users, and the management end can retrieve the mails of all other users through the mail retrieval system. Compared with the prior art, in the embodiment of the present application, the index content is generally the ID of an email, and the presence of an email ID in the index of a certain word segmentation means that the content of the email contains the word. Users can search whether there is risky content in the user's email based on the key words in the risky email.

[0070] To facilitate understanding of the specific implementation of the email management method based on bypass forwarding provided in the embodiment of the present application, it will be described below with reference to the accompanying drawings.

[0071] It should be noted that the subject implementing the email management method based on bypass forwarding can be carried in an electronic device or a functional module of an electronic device. The electronic device in the embodiment of the present application can be any device that can implement the email management method based on bypass forwarding in the embodiment of the present application, such as an email management system based on bypass forwarding.

[0072] The email management system based on bypass forwarding can be, for example, an email management system based on bypass forwarding 1, see Figure 2 , is a structural diagram of a mail management system 1 based on bypass forwarding provided in an embodiment of the present application.

[0073] The email management system 1 based on bypass forwarding includes a server 11, a management terminal 12 and an email retrieval system 13, wherein the server includes an email backend 111 and an email management backend 112;

[0074] The mail retrieval system 13 is used to receive the retrieval request sent by the management terminal 12;

[0075] The email retrieval system 13 is further used to perform word segmentation processing on the search content of the search request to obtain a target word segmentation result; the target word segmentation result includes the original text, pinyin, radicals and radicals of the Chinese text after the word segmentation processing of the search content; the email retrieval system 13 stores at least one word segmentation index corresponding to the email forwarded by the email backend 111, and the value of at least one word segmentation index is an email identifier ID; at least one word segmentation index includes an original text index, a pinyin index, a radical index and a radical index;

[0076] The email retrieval system 13 is also used to query the target email ID corresponding to the target word segmentation index matching the target word segmentation result;

[0077] The management terminal 12 is used to call the mail management backend 112 to process the target mail corresponding to the target mail ID.

[0078] In a possible implementation, the management terminal 12 is further configured to send a retrieval request to the mail retrieval system 13 .

[0079] In a possible implementation, the mail retrieval system 13 is specifically used for:

[0080] Performing word segmentation processing on the search content to obtain an initial word segmentation result;

[0081] Obtaining Chinese text from the initial word segmentation result;

[0082] Obtaining the original text, pinyin, radicals and components of the Chinese text;

[0083] The target word segmentation result obtained includes the original text, pinyin, radicals and radicals of the Chinese text.

[0084] In a possible implementation, the mail retrieval system 13 is specifically used for:

[0085] Querying the target word segmentation index that matches the target word segmentation result;

[0086] The value corresponding to the target word segmentation index is obtained as the target email ID.

[0087] In a possible implementation, the server 11 further includes a mail database 113;

[0088] The mail management backend 112 is used to receive the first query request sent by the management terminal 12;

[0089] The email management backend 112 is further used to retrieve the first email corresponding to the first query request in the email database 113;

[0090] The email management backend 112 is also used to send the first email to the management end.

[0091] In a possible implementation, the email management system 13 further includes a client 14, and the server 11 further includes an email database 113;

[0092] The mail backend 111 is used to receive the second query request sent by the client 14;

[0093] The mail backend 111 is further used to retrieve the second mail corresponding to the second query request from the mail database 113;

[0094] The mail backend 111 is further configured to send the second mail to the client 14 .

[0095] In a possible implementation, the server 11 further includes a gateway system 114 and a mail database 113;

[0096] The mail backend 111 is also used to generate a mail ID corresponding to an initial mail; compress and encrypt the initial mail to obtain a mail to be stored; the initial mail is sent to the mail backend after a security check by the gateway system 114;

[0097] The mail backend 111 is further used to store the mail IDs of the mails to be stored and the initial mails in the mail database;

[0098] The mail backend 111 is also used to forward the initial mail and the mail ID of the initial mail to the mail retrieval system 13 based on the simple mail transfer protocol SMTP.

[0099] In a possible implementation, the email management system further includes a gateway system 114;

[0100] The gateway system 114 is used to check the initial email and obtain a check result;

[0101] The gateway system 114 is further configured to send the initial email to the email backend 111 when the checking result indicates that the initial email is not a spam email.

[0102] In one possible implementation,

[0103] The email retrieval system 13 is also used to obtain the initial and the initial email ID;

[0104] The email retrieval system 13 is further used to perform word segmentation processing according to the text content of the initial email to obtain the initial word segmentation result;

[0105] The email retrieval system 13 is further used to establish at least one segmentation index for the initial segmentation result; the value of at least one segmentation index is the email ID of the initial email; at least one segmentation index includes an original text index, a pinyin index, a radical index or a radical index;

[0106] The email retrieval system 13 is further configured to store at least one word segmentation index.

[0107] In a possible implementation, the mail retrieval system 13 is specifically used for:

[0108] Obtaining the initial Chinese text in the initial word segmentation result;

[0109] Obtaining the original text, pinyin, radicals and components of the initial Chinese text;

[0110] Construct an original text index, a pinyin index, a radical index and a component index respectively; the key of the original text index is the original text, and the value of the original text index is the email ID of the initial email; the key of the pinyin index is the pinyin, and the value of the pinyin index is the email ID of the initial email; the key of the radical index is the radical, and the value of the radical index is the email ID of the initial email; the key of the radical index is the radical, and the value of the radical index is the email ID of the initial email.

[0111] In this way, a new mail retrieval system is added to the mail management system provided by the embodiment of the present application, and the original data of the mail is obtained by bypass forwarding, and a word segmentation index for all users in the whole mail management system is established, providing a retrieval function that can cover all users and non-original storage data, so that other user data that cannot be queried in the mail database can be retrieved in the mail retrieval system through the management end, thereby improving the hit rate of retrieval and improving the efficiency of mail management to a certain extent. In addition, the embodiment of the present application reuses the common architecture of the existing mail management system, and there is no need to transform the original mail system on a large scale, reducing the transformation cost. In addition, the mail background only needs to bypass forwarding mail to the mail retrieval system, and the complexity of the mail retrieval system is lower. In addition, the functions of bypass forwarding, establishing a word segmentation index, and retrieving mails according to the mail ID are not limited by the gateway system. If a certain mail system does not contain a gateway system, the solution provided by the embodiment of the present application can also be implemented.

[0112] See also Figure 3 , Figure 3 A flowchart of an email management method based on bypass forwarding provided in an embodiment of the present application.

[0113] In the embodiment of the present application, for example, the following steps may be included:

[0114] S11, the mail retrieval system receives a retrieval request sent by the management terminal.

[0115] S12, the email retrieval system performs word segmentation processing on the search content of the search request to obtain a target word segmentation result.

[0116] Among them, the target word segmentation result includes the original text, pinyin, radicals and radicals of the Chinese text after the search content is segmented; the email retrieval system stores at least one word segmentation index corresponding to the email forwarded by the email background bypass, and the value of at least one word segmentation index is the email identifier ID; at least one word segmentation index includes an original text index, a pinyin index, a radical index and a radical index.

[0117] In a possible implementation, S12 may include:

[0118] S121, the email retrieval system performs word segmentation processing on the search content to obtain an initial word segmentation result.

[0119] S122, the email retrieval system obtains the Chinese text in the initial word segmentation result.

[0120] S123, the email retrieval system obtains the original text, pinyin, radicals and components of the Chinese text.

[0121] S124, the email retrieval system obtains the target word segmentation result including the original text, pinyin, radicals and radicals of the Chinese text.

[0122] It should be noted that when searching for emails, the search content in the search request is segmented using a word segmentation method, and the pinyin, radicals and components of the Chinese characters in the search content are segmented to retrieve the email ID containing the corresponding segmented words.

[0123] S13 The email retrieval system queries the target email ID corresponding to the target word segmentation index that matches the target word segmentation result, so that the management end calls the email management backend to process the target email corresponding to the target email ID.

[0124] In a possible implementation, S13 may include: the email retrieval system searches for a target word segmentation index that matches the target word segmentation result; and the email retrieval system obtains a value corresponding to the target word segmentation index as a target email ID.

[0125] In the embodiment of the present application, after retrieving the target email ID, the administrator can further process the target email through the email management background to achieve the purpose of risk avoidance.

[0126] On the basis of the above embodiment, the server also includes a mail database, so the method provided in the embodiment of the present application may also include:

[0127] S21, the mail backend generates a mail ID corresponding to the initial mail; compresses and encrypts the initial mail to obtain the mail to be stored; the initial mail is sent to the mail backend after the security check of the gateway system.

[0128] In the embodiment of the present application, after the email backend receives the initial email that has passed the gateway system check, it generates an email ID for the initial email.

[0129] S22, the mail backend stores the mail IDs of the mail to be stored and the initial mail in the mail database.

[0130] In the embodiment of the present application, the email backend stores the encrypted and compressed email together with the email ID into the email database.

[0131] S23, the mail backend forwards the initial mail and the mail ID of the initial mail to the mail retrieval system based on the simple mail transfer protocol SMTP.

[0132] It should be noted that the mail backend first copies a copy of the initial mail, and forwards the initial mail to the mail retrieval system based on the Simple Mail Transfer Protocol (SMTP), so that the mail system can establish a word segmentation index for the content of the initial mail.

[0133] In a possible implementation, the method provided in the embodiment of the present application may further include:

[0134] S24, the email retrieval system obtains the initial email and the email ID of the initial email.

[0135] S25, the email retrieval system performs word segmentation processing according to the text content of the initial email to obtain an initial word segmentation result.

[0136] It should be noted that the text content is content that does not contain images, audio or video and other non-text formats. Usually, at least one initial word segmentation result can be obtained by performing word segmentation processing on the text content.

[0137] S26, the email retrieval system creates at least one word segmentation index for the initial word segmentation result.

[0138] It should be noted that the value of at least one word segmentation index is the email ID of the initial email; at least one word segmentation index includes an original text index, a pinyin index, a radical index or a radical index;.

[0139] S27, the email retrieval system stores at least one word segmentation index.

[0140] In a possible implementation, S26 provided in the embodiment of the present application may include:

[0141] S261, the email retrieval system obtains the initial Chinese text in the initial word segmentation result.

[0142] S262, the email retrieval system obtains the original text, pinyin, radicals and components of the initial Chinese text.

[0143] S263, the email retrieval system constructs an original text index, a pinyin index, a radical index and a radical index respectively.

[0144] It should be noted that the key of the original text index is the original text, and the value of the original text index is the email ID of the initial email; the key of the pinyin index is the pinyin, and the value of the pinyin index is the email ID of the initial email; the key of the radical index is the radical, and the value of the radical index is the email ID of the initial email; the key of the radical index is the radical, and the value of the radical index is the email ID of the initial email.

[0145] That is, the original text index is {original text: email ID}, the pinyin index is {pinyin, email ID}, the radical index is {radical, email ID}, and the radical index is {radical, email ID}.

[0146] In an embodiment of the present application, the email retrieval system performs word segmentation on the text content in the initial email (excluding non-text content such as images, audio and video). If Chinese text is involved, when establishing a word segmentation index for the original text of the Chinese text, multiple word segmentation indexes are also established for the pinyin, radicals and components of the Chinese text. The keys of each word segmentation index are the original text, pinyin, radicals and components, and the index value is the ID of the initial email.

[0147] As an example, the mail retrieval system receives the initial mail A forwarded by the mail background bypass, and the mail ID of the initial mail A is 111. It obtains the text content in the initial mail A (for example, the text content "補帖"), first performs word segmentation on the text content, and obtains multiple initial word segmentation results ["補"] and ["帖"]. For each initial word segmentation result, at least one word segmentation index is established. Then establishing at least one word segmentation index includes the original text index {補, 111} {帖, 111}, the pinyin index {bǔ, 111} {tiē, 111}, the radical index {衤, 111} {刂, 111}, and the radical index {衤, 111} {刂, 111}. Another example is that the mail retrieval system receives the initial mail B forwarded by the mail background bypass, and the mail ID of the initial mail B is 222. It obtains the text content in the initial mail B (for example, the text content "补贴"), first performs word segmentation on the text content, and obtains multiple initial word segmentation results ["补"] and ["贴"]. For each initial word segmentation result, at least one word segmentation index is established. Then establishing at least one word segmentation index includes {补, 222} {贴, 222} {bǔ, 222} {tiē, 222}, the radical index {衤, 222} {贝, 222}, and the radical index {衤, 222} {贝, 222}.

[0148] Based on the above embodiments, the mail retrieval system stores the obtained word segmentation indexes for retrieving in response to the retrieval requests sent by the management terminal. S27 provided in the embodiments of the present application may include: the mail retrieval system stores the original text index, the pinyin index, the radical index, and the radical index.

[0149] It should be noted that the premise for the embodiments of the present application to execute is that the mail background supports the bypass forwarding function, can forward the original mail to other systems, each mail has a unique mail ID, and the mail management background supports querying mail data from the mail database according to the mail ID and can perform further operations (such as viewing the original mail, querying the recipients of the mail, or deleting the mail, etc.).

[0150] First, the embodiments of the present application use a retrieval method based on word segmentation indexes to retrieve mail content, and establish word segmentation indexes for the pinyin, radicals, and radicals of Chinese texts when constructing word segmentation indexes, which is beneficial to improving the retrieval hit rate, avoiding bypassing retrieval, improving mail management efficiency, and improving the security of the mail management system to a certain extent.

[0151] Moreover, the mail retrieval system of the embodiments of the present application is built on the basis of all users, supports retrieving data within the scope of all users, including content such as the mail body, etc., has a wider retrieval range, is beneficial to improving the retrieval hit rate, and improves the management efficiency of the mail management system to a certain extent.

[0152] Then, the SMTP-based mail bypass forwarding function is a common function of mail management systems, and most mail management systems already support it. Retrieving data based on a unique mail ID is a basic function of the system, and most mail management systems support querying specified mails based on mail IDs. The embodiment of the present application reuses the original mail management system, adds a mail retrieval system based on the original mail management system, and uses the existing functions of the original mail management system to achieve the purpose of retrieval and processing, without the need for large-scale transformation of the original associated mail system, thereby reducing the transformation cost.

[0153] In a possible implementation, the mail management system further includes a gateway system. Then, before S21, the method provided in the embodiment of the present application may further include:

[0154] S20, the gateway system checks the initial email and obtains a check result; when the check result indicates that the initial email is not a spam email, the gateway system sends the initial email to the email backend.

[0155] In the embodiment of the present application, the email first arrives at the gateway system in the email management system, and after being checked by the gateway system, the email arrives at the email backend.

[0156] In a possible implementation, the server also includes a mail database, and the method provided in the embodiment of the present application may further include:

[0157] S31, the mail management backend receives a first query request sent by the management terminal;

[0158] S32, the email management backend searches the email database for a first email corresponding to the first query request;

[0159] S33, the email management background sends the first email to the management end.

[0160] In the embodiment of the present application, the administrator can send a query request to the email management backend through the management terminal to match the email data of all users stored in the email database to the email database.

[0161] In a possible implementation, the email management system further includes a client, the server further includes an email database, and the method provided in the embodiment of the present application further includes:

[0162] S41, the mail backend receives a second query request sent by the client;

[0163] S42, the mail backend retrieves a second mail corresponding to the second query request in the mail database;

[0164] S43, the mail backend sends the second mail to the client.

[0165] In the embodiment of the present application, the user initiates a query request such as viewing emails to the email backend through the client, and the email backend retrieves and returns the user's email data from the email database and displays it to the user through the client.

[0166] In an embodiment of the present application, the email backend supports a bypass forwarding function, which can forward emails to an email retrieval system. Each email has a unique ID identifier. The email management backend supports querying email data in the email database based on the email ID, and can perform further operations (such as viewing the original text of the email, querying the recipient of the email, or deleting the email, etc.).

[0167] In this way, the embodiment of the present application improves on the commonly used architecture of the email management system, adds an email retrieval system, obtains the original email data through bypass forwarding, and establishes a system-wide, user-level word segmentation index, providing a retrieval function that covers all users and non-original stored data.

[0168] Through the description of the above implementation methods, it can be known that those skilled in the art can clearly understand that all or part of the steps in the above-mentioned embodiment method can be implemented by means of software plus a general hardware platform. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a storage medium, such as a read-only memory (ROM) / RAM, a magnetic disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network communication device such as a router) to execute the methods described in each embodiment of the present application or some parts of the embodiments.

[0169] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described above is only schematic, in which the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the goals of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.

[0170] The above is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. It should be noted that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the present application, and these improvements and modifications should also be regarded as the protection scope of the present application.

Claims

1. A mail management method based on bypass forwarding, characterized in that: Applied to an email management system, the email management system includes a server, a management terminal and an email retrieval system, the server includes an email backend and an email management backend, and the method includes: The mail retrieval system receives a retrieval request sent by the management terminal; The mail retrieval system performs word segmentation processing on the search content of the search request to obtain a target word segmentation result; the target word segmentation result includes the original text, pinyin, radicals and radicals of the Chinese text after the word segmentation processing of the search content; the mail retrieval system stores at least one word segmentation index corresponding to the mail forwarded by the mail backend bypass, and the value of at least one word segmentation index is a mail identifier ID; at least one word segmentation index includes an original text index, a pinyin index, a radical index and a radical index; The mail retrieval system queries the target mail ID corresponding to the target word segmentation index matching the target word segmentation result, so that the management end calls the mail management backend to process the target mail corresponding to the target mail ID.

2. The method according to claim 1, characterized in that The mail retrieval system performs word segmentation processing on the retrieval content of the retrieval request to obtain a target word segmentation result, including: The mail retrieval system performs word segmentation processing on the search content to obtain an initial word segmentation result; The email retrieval system obtains the Chinese text in the initial word segmentation result; The mail retrieval system obtains the original text, pinyin, radicals and components of the Chinese text; The target word segmentation result obtained by the mail retrieval system includes the original text, pinyin, radicals and radicals of the Chinese text.

3. The method according to claim 2, characterized in that The mail retrieval system queries the target mail identifier ID corresponding to the target word segmentation index matching the target word segmentation result, including: The mail retrieval system queries the target word segmentation index that matches the target word segmentation result; The email retrieval system obtains the value corresponding to the target word segmentation index as the target email ID.

4. The method according to claim 1, characterized in that: The server also includes a mail database, and the method further includes: The mail management backend receives a first query request sent by the management terminal; The mail management backend retrieves the first mail corresponding to the first query request from the mail database; The email management backend sends the first email to the management end.

5. The method according to claim 1, characterized in that The mail management system further includes a client, the server further includes a mail database, and the method further includes: The mail backend receives a second query request sent by the client; The mail backend retrieves the second mail corresponding to the second query request from the mail database; The mail backend sends the second mail to the client.

6. The method according to claim 1, characterized in that The server also includes a mail database, and the method further includes: The mail backend generates a mail ID corresponding to the initial mail; compresses and encrypts the initial mail to obtain the mail to be stored; the initial mail is sent to the mail backend after the security check of the gateway system; The mail backend stores the mail IDs of the mail to be stored and the initial mail in the mail database; The mail backend forwards the initial mail and the mail ID of the initial mail to the mail retrieval system based on the simple mail transfer protocol SMTP.

7. The method according to claim 6, characterized in that The email management system also includes a gateway system, which generates an email ID corresponding to the initial email in the email background; Before compressing and encrypting the initial email to obtain the email to be stored, the method further includes: The gateway system checks the initial email and obtains a check result; When the checking result indicates that the initial email is not a spam email, the gateway system sends the initial email to the email backend.

8. The method according to claim 6, characterized in that The method further comprises: The email retrieval system obtains the initial and the initial email ID; The mail retrieval system performs word segmentation processing according to the text content of the initial mail to obtain the initial word segmentation result; The email retrieval system establishes at least one segmentation index for the initial segmentation result; the value of at least one segmentation index is the email ID of the initial email; at least one segmentation index includes an original text index, a pinyin index, a radical index or a radical index; The mail retrieval system stores at least one of the word segmentation indexes.

9. The method according to claim 8, characterized in that The email retrieval system establishes at least one word segmentation index for the initial word segmentation result, including: The mail retrieval system obtains the initial Chinese text in the initial word segmentation result; The mail retrieval system obtains the original text, pinyin, radicals and components of the initial Chinese text; The email retrieval system constructs an original text index, a pinyin index, a radical index and a component index respectively; the key of the original text index is the original text, and the value of the original text index is the email ID of the initial email; the key of the pinyin index is the pinyin, and the value of the pinyin index is the email ID of the initial email; the key of the radical index is the radical, and the value of the radical index is the email ID of the initial email; the key of the radical index is the radical, and the value of the radical index is the email ID of the initial email.

10. A mail management system based on bypass forwarding, characterized in that: The email management system includes a server, a management terminal and an email retrieval system, wherein the server includes an email backend and an email management backend; The mail retrieval system is used to receive the retrieval request sent by the management terminal; The mail retrieval system is further used to perform word segmentation processing on the search content of the search request to obtain a target word segmentation result; the target word segmentation result includes the original text, pinyin, radicals and radicals of the Chinese text after the word segmentation processing of the search content; the mail retrieval system stores at least one word segmentation index corresponding to the mail forwarded by the mail backend bypass, and the value of at least one word segmentation index is a mail identifier ID; at least one word segmentation index includes an original text index, a pinyin index, a radical index and a radical index; The mail retrieval system is also used to query the target mail ID corresponding to the target word segmentation index matching the target word segmentation result, so that the management end calls the mail management background to process the target mail corresponding to the target mail ID.

Citation Information

Patent Citations

  • Design of mail retrieval system on basis of mobile intelligent platform

    CN108132938A

  • Vertical search method and device, computer system and readable storage medium

    CN111177532A

  • Business content searching method and device, equipment and storage medium

    CN115840851A

  • Retrieving system for electronic mail system

    JP1993216930A

  • Chinese character input method, apparatus, and associated memory medium

    WO2011143808A1