Mail intelligent editing method, device and computer readable storage medium

By locking emails and generating editable object functions, it solves the problems of information tampering and storage pressure in email communication, realizes efficient and intelligent email processing, prevents tampering and reduces server load.

CN111428449BActive Publication Date: 2024-10-25CHINA PING AN LIFE INSURANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010138801.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-03-02
Publication Date
2024-10-25
Estimated Expiration
2040-03-02

AI Technical Summary

Technical Problem

Existing email communication methods have problems with information tampering and excessive storage pressure, leading to misunderstandings and information asymmetry, and the email server is overloaded.

Method used

Perform lock operation by receiving emails sent by the sender client, generate locked status emails, and create editable object functions, allowing recipients to edit content in the editable window, combine and optimize emails, prevent tampering and reduce storage pressure.

Benefits of technology

Effectively prevent email text tampering, reduce information asymmetry, reduce email server load, and achieve efficient and intelligent email communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111428449B_ABST
    Figure CN111428449B_ABST
Patent Text Reader

Abstract

The present invention relates to an artificial intelligence technology, and discloses an intelligent email editing method, including: receiving an email sent by a sender client, locking the email to obtain a locked email, using the locked email to generate function parameters, creating an editable object function according to the function parameters, prompting the recipient client to reply to the email sent by the sender client, running the editable object function to generate an editable window, receiving the email content edited by the recipient client in the editable window, combining and optimizing the email content and the email sent by the sender client to obtain an optimized combined email, and sending the optimized combined email to the next recipient client, thereby completing the intelligently edited email processing method. The present invention also proposes an intelligent email editing device and a computer-readable storage medium. The present invention can realize an efficient and intelligent email intelligent editing function.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a method, device and computer-readable storage medium for intelligent email editing. Background Art

[0002] Email is an important communication tool at work. An email is generally based on a topic for discussion. However, due to the poor timeliness of email communication, there are often frequent replies to an email because the sender appends new information to the old email each time. There are three defects in this way of appending new information: 1. There are more than a dozen reply emails under the same topic. When communicating closely, the email list will be filled up and other emails will not be paid attention to; 2. It puts exponential pressure on the storage (mail server or local); 3. When the sender replies to the email, the body of the email can be tampered with, which is easy to cause misunderstandings and information asymmetry after the email is sent out in bulk. Based on the above, there is currently a blockchain-based email defect solution that can effectively improve defect 1, but defects 2 and 3 still need to be improved. Therefore, an efficient and intelligent email communication method is urgently needed. Summary of the invention

[0003] The present invention provides an intelligent email editing method, device and computer-readable storage medium, the main purpose of which is to prevent email text tampering and solve the problem of excessive storage pressure on the email server.

[0004] To achieve the above object, the present invention provides an intelligent email editing method, comprising:

[0005] Receive an email sent by a sender client, and lock the email to obtain a locked email;

[0006] Generate function parameters using the locked state email, and create an editable object function according to the function parameters;

[0007] Sending the editable object function to the recipient client, and prompting the recipient client whether it needs to reply to the email sent by the sender client;

[0008] If the recipient client does not need to reply to the email sent by the sender client, the email sending and receiving tasks are completed and the email is received again;

[0009] If the recipient client needs to reply to the email sent by the sender client, the editable object function is run to generate an editable window, and the email content edited by the recipient client in the editable window is received;

[0010] The email content and the email sent by the sender client are combined to generate a combined email, the combined email is keyword optimized to obtain an optimized combined email, and the optimized combined email is sent to the next recipient client, thereby completing the intelligent editing email processing method.

[0011] Optionally, the locking operation of the email to obtain a locked email includes:

[0012] Use shell script to create email lock program;

[0013] Placing the location index information of the email in the email locking program;

[0014] The email locking program is run to lock the email process, and a locked email is obtained.

[0015] Optionally, the generating function parameters by using the locked state email and creating an editable object function according to the function parameters includes:

[0016] Use the Text Edit Object Generator to generate editable text objects;

[0017] Creating an editable text function in the editable text object;

[0018] The resource identifier of the locked state email is read, and the resource identifier of the locked state email is used as a function parameter of the editable text function to generate the editable object function.

[0019] Optionally, the running the editable object function to generate an editable window includes:

[0020] Inputting the preset attribute information of the editable window into the editable object function;

[0021] Run the program where the editable object function is located;

[0022] The program where the editable object function is located calls the visual component of the editable window to generate the editable window.

[0023] Optionally, the combining operation of the email content and the email sent by the sender client to generate a combined email includes:

[0024] Extracting the editable object function where the edited content is located, and traversing the parameter set and edited content of the editable object function;

[0025] The parameter set of the editable object function and the edited content are regarded as resource identifiers and input into the HTML of the email sent by the sender client to obtain a combined email.

[0026] In addition, to achieve the above-mentioned purpose, the present invention further provides an intelligent email editing device, which includes a memory and a processor, wherein the memory stores an intelligent email editing program that can be run on the processor, and when the intelligent email editing program is executed by the processor, the following steps are implemented:

[0027] Receive an email sent by a sender client, and lock the email to obtain a locked email;

[0028] Generate function parameters using the locked state email, and create an editable object function according to the function parameters;

[0029] Sending the editable object function to the recipient client, and prompting the recipient client whether it needs to reply to the email sent by the sender client;

[0030] If the recipient client does not need to reply to the email sent by the sender client, the email sending and receiving tasks are completed and the email is received again;

[0031] If the recipient client needs to reply to the email sent by the sender client, the editable object function is run to generate an editable window, and the email content edited by the recipient client in the editable window is received;

[0032] The email content and the email sent by the sender client are combined to generate a combined email, the combined email is input into a pre-built email content optimization model for optimization processing to obtain an optimized combined email, and the optimized combined email is sent to the next recipient client, completing the intelligent editing email processing method.

[0033] Optionally, the locking operation of the email to obtain a locked email includes:

[0034] Use shell script to create email lock program;

[0035] Placing the location index information of the email in the email locking program;

[0036] The email locking program is run to lock the email process, and a locked email is obtained.

[0037] Optionally, the generating function parameters by using the locked state email and creating an editable object function according to the function parameters includes:

[0038] Use the Text Edit Object Generator to generate editable text objects;

[0039] Creating an editable text function in the editable text object;

[0040] The resource identifier of the locked state email is read, and the resource identifier of the locked state email is used as a function parameter of the editable text function to generate the editable object function.

[0041] Optionally, the running the editable object function to generate an editable window includes:

[0042] Inputting the preset attribute information of the editable window into the editable object function;

[0043] Run the program where the editable object function is located;

[0044] The program where the editable object function is located calls the visual component of the editable window to generate the editable window.

[0045] In addition, to achieve the above objectives, the present invention also provides a computer-readable storage medium, on which an email intelligent editing program is stored. The email intelligent editing program can be executed by one or more processors to implement the steps of the email intelligent editing method as described above.

[0046] The present invention receives an email sent by a sender client, performs a locking operation on the email to obtain a locked email, prevents the body of the email from being maliciously tampered with, reduces misunderstandings and information asymmetry, and simultaneously creates an editable object function, runs the editable object function to generate an editable window, and further performs combination operations and email content optimization. Because the combination and optimization of the email are performed on the editable window generated by the editable object function, when the combination operation and content optimization are not needed, the editable window can be actively removed, so that it will not cause a large storage pressure on the email server or the local server, and reduce the amount of calculation. Therefore, the email intelligent editing method, device and computer-readable storage medium proposed by the present invention can realize efficient and intelligent email communication functions. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 A schematic diagram of a flow chart of an intelligent email editing method provided by an embodiment of the present invention;

[0048] Figure 2 A schematic diagram of the internal structure of an intelligent email editing device provided by an embodiment of the present invention;

[0049] Figure 3 A schematic diagram of modules of an intelligent email editing program in an intelligent email editing device according to an embodiment of the present invention.

[0050] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0051] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0052] The present invention provides a method for intelligently editing mail. Figure 1 FIG. 1 is a flow chart of a method for intelligently editing mails provided by an embodiment of the present invention. The method can be executed by a device, and the device can be implemented by software and / or hardware.

[0053] In this embodiment, the email intelligent editing method includes:

[0054] S1. Receive an email sent by a sender client, and lock the email to obtain a locked email.

[0055] The email sent by the sender client is an email message that the sender has edited in the sender client, and the edited email message is sent to the recipient client. For example, sender A edits an email about the current research on the insurance strategy for vehicle insurance in the sender client, and sends the email about the research on the insurance strategy to the recipient client of recipient B.

[0056] In detail, the locking operation of the email to obtain a locked email includes: using a shell script to create an email locking program, placing the location index information of the email in the email locking program, running the email locking program to lock the email process, and completing the locking operation.

[0057] Furthermore, the shell script may be a command interpreter under a Linux system, having a loop structure and a branch control structure, etc.

[0058] The location index information of the email includes website information, email processing server address information, the IP address of the sender's client, etc. The email locking program is run according to the location index information of the email, thereby closing the process in the email and preventing others from arbitrarily changing the email content. For example, the sender's client sends the email to the email processing server according to the email processing server address information. At this time, after running the email locking program, the email processing server stops operating on the email, thereby completing the locking operation.

[0059] S2. Generate function parameters using the locked state email, and create an editable object function according to the function parameters.

[0060] Preferably, the method of utilizing the locked-state email to generate function parameters and creating an editable object function based on the function parameters includes: using a text editing object generator to generate an editable text object, creating an editable text function within the editable text object, reading the resource identifier of the locked-state email, and using the resource identifier of the locked-state email as a function parameter of the editable text function to generate the editable object function.

[0061] Furthermore, the text editing object generator is an editing tool that provides text editing object generation function for other application systems (such as the optimized communication email of the present invention), such as PyCharm, Eclipse, etc. The editable text object is a class created by the text editing object generator (a class is a proper noun unique to programming software), so the editable text object of the present invention is an editable text object class, such as in the JAVA programming language, the editable text object class is expressed as Class Edited (editable text object class) {}.

[0062] Preferably, the editable text function is within the editable text object class, as shown below:

[0063] Class Edited (editable text object class) {

[0064] Void editable function (editable text function) {

[0065] Contents of editable text function

[0066] }

[0067] }

[0068] Preferably, the editable text function is to independently generate a text editing window in order to prevent users from arbitrarily tampering with the old text in the email (such as sender A edits the email on the current research on vehicle insurance coverage strategy in the sender's client, and the email content includes text information on the research on vehicle insurance coverage strategy, which is the old text in the email). Therefore, a text editing window is generated to independently generate new editing content, and when the new editing content is completed, it is combined into the email sent from the sender's client.

[0069] Furthermore, the resource identifier may be HTML information, because HTML information includes parameters of various editable text functions, such as the editing window size of the email, the editing window position, whether the editing window has a border, whether the email has attachments, and other parameters.

[0070] S3: Send the editable object function to the recipient client, and prompt the recipient client whether it needs to reply to the email sent by the sender client.

[0071] Preferably, if sender A edits the email about the current vehicle insurance policy research plan and sends the email about the policy research plan to recipient B, after recipient B receives the email about the policy research plan, the present invention will prompt recipient B whether he needs to reply to the email about the policy research plan. If necessary, he can directly click the Yes button. If not, he can ignore it or click the No button.

[0072] S4. If the recipient client does not need to reply to the email sent by the sender client, the email sending and receiving tasks are completed, and the email is received again.

[0073] For example, after the recipient B receives the email about the insurance strategy research plan, if he feels that he needs to discuss it further immediately, he can contact the sender A by phone directly. He does not need to reply to the email sent by the sender and completes the sending and receiving of the entire email.

[0074] S5. If the recipient client needs to reply to the email sent by the sender client, the editable object function is run to generate an editable window, and the email content edited by the recipient client in the editable window is received.

[0075] As mentioned above, after recipient B receives the email about the insurance strategy research plan, recipient B thinks the plan is perfect, so the reply content needs to be: The insurance strategy research plan is perfect, thank you for your hard work.

[0076] Preferably, running the editable object function to generate an editable window includes: inputting property information of a preset editable window into the editable object function, running the program where the editable object function is located, and the program calling the visualization component of the editable window to generate the editable window.

[0077] Preferably, the preset attributes of the editable window include the size, position, border, etc. of the editable window. Further, when the editable window is generated, the position of the edited content, the current cursor position, the number of words per line of the edited content, the maximum allowed edited content, etc. are also included.

[0078] S6, combining the email content and the email sent by the sender client to generate a combined email, performing keyword optimization processing on the combined email to obtain an optimized combined email, and sending the optimized combined email to the next recipient client, thereby completing the intelligent editing email processing method.

[0079] Preferably, the combination operation is to place the edited content and the email sent by the sender in the same email storage container and perform a unified locking operation.

[0080] Preferably, the email content and the email sent by the sender's client are combined to generate a combined email, including: extracting the editable object function where the edited content is located, and traversing the parameter set and edited content of the editable object function, and placing the parameter set and edited content of the editable object function as resource identifiers in the HTML of the email sent by the sender to obtain a combined email.

[0081] Furthermore, the editable object function for extracting the edit content may adopt a keyword traversal method, such as the editable object function may be written as:

[0082] Edit_function (parameter set) {edited content};

[0083] When the keyword matches the above Edit_function, the Edit_function and all the contents after (), {} are extracted.

[0084] Furthermore, by identifying the () keyword, the parameter set of the editable object function is traversed, and by identifying the {} keyword, the edited content of the editable object function is traversed.

[0085] Preferably, HTML is a web page editing and visualization program, and an area belonging to the parameter set and the edited content is opened up in advance in HTML, and mail assembly can be realized by running HTML.

[0086] Preferably, the keyword optimization process is to simplify redundant text information in the email, and the present invention is to achieve the purpose of simplifying the email. Preferably, the keyword optimization process is based on keyword comparison technology for identification and judgment, and the keyword recognition technology includes three steps: word vectorization, comparison, and removal:

[0087] Preferably, the word vectorization is to represent the words in the combined email with an N-dimensional matrix vector, where N is the number of words in the combined email. In this case, the following formula is used to perform initial vectorization on the words:

[0088]

[0089] Wherein, i represents the number of the word in the combined email, v i represents the N-dimensional matrix vector of word i in the combined email. Assuming there are s words in total, v j is the j-th element of the N-dimensional matrix vector.

[0090] Furthermore, the comparison is to compare and calculate the generated N-dimensional matrix vectors, and if they are the same, they are eliminated, so as to achieve the purpose of optimizing the email. The comparison first establishes a forward probability model and a backward probability model, and then compares the forward probability model and the backward probability model to obtain a comparison solution, the comparison solution.

[0091] Furthermore, the forward probability model and the backward probability model are respectively:

[0092]

[0093]

[0094] Optimizing the forward probability model and the backward probability model:

[0095]

[0096] Among them, max represents the contrast solution, represents partial derivative, v i An N-dimensional matrix vector representing word i, wherein the combined email has a total of s words. Further, after calculating the comparative solutions of the forward probability model and the backward probability model, the text content of the email that can be eliminated is obtained, thereby achieving the purpose of simplifying the email.

[0097] The present invention also provides an intelligent email editing device. Figure 2 FIG. 1 is a schematic diagram of the internal structure of an intelligent email editing device provided by an embodiment of the present invention.

[0098] In this embodiment, the email intelligent editing device 1 can be a PC (Personal Computer), or a terminal device such as a smart phone, a tablet computer, a portable computer, or a server, etc. The email intelligent editing device 1 at least includes a memory 11, a processor 12, a communication bus 13, and a network interface 14.

[0099] The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory 11 may be an internal storage unit of the mail intelligent editing device 1, such as a hard disk of the mail intelligent editing device 1. In other embodiments, the memory 11 may also be an external storage device of the mail intelligent editing device 1, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card, etc. equipped on the mail intelligent editing device 1. Further, the memory 11 may also include both an internal storage unit and an external storage device of the mail intelligent editing device 1. The memory 11 may not only be used to store application software and various types of data installed in the mail intelligent editing device 1, such as the code of the mail intelligent editing program 01, etc., but also be used to temporarily store data that has been output or is to be output.

[0100] In some embodiments, the processor 12 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor or other data processing chip, and is used to run program codes or process data stored in the memory 11, such as executing the email intelligent editing program 01.

[0101] The communication bus 13 is used to realize the connection and communication between these components.

[0102] The network interface 14 may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), and is generally used to establish a communication connection between the device 1 and other electronic devices.

[0103] Optionally, the device 1 may also include a user interface, which may include a display (Display), an input unit such as a keyboard (Keyboard), and the optional user interface may also include a standard wired interface and a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device, etc. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the mail intelligent editing device 1 and to display a visual user interface.

[0104] Figure 2 Only the mail intelligent editing device 1 having components 11-14 and the mail intelligent editing program 01 is shown. It can be understood by those skilled in the art that Figure 1The structure shown does not constitute a limitation on the mail intelligent editing device 1, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0105] exist Figure 2 In the embodiment of the device 1 shown, the memory 11 stores an email intelligent editing program 01; when the processor 12 executes the email intelligent editing program 01 stored in the memory 11, the following steps are implemented:

[0106] Step 1: Receive an email sent by a sender client, and lock the email to obtain a locked email.

[0107] The email sent by the sender client is an email message that the sender has edited in the sender client, and the edited email message is sent to the recipient client. For example, sender A edits an email about the current research on the insurance strategy for vehicle insurance in the sender client, and sends the email about the research on the insurance strategy to the recipient client of recipient B.

[0108] In detail, the locking operation of the email to obtain a locked email includes: using a shell script to create an email locking program, placing the location index information of the email in the email locking program, running the email locking program to lock the email process, and completing the locking operation.

[0109] Furthermore, the shell script may be a command interpreter under a Linux system, having a loop structure and a branch control structure, etc.

[0110] The location index information of the email includes website information, email processing server address information, the IP address of the sender's client, etc. The email locking program is run according to the location index information of the email, thereby closing the process in the email and preventing others from arbitrarily changing the email content. For example, the sender's client sends the email to the email processing server according to the email processing server address information. At this time, after running the email locking program, the email processing server stops operating on the email, thereby completing the locking operation.

[0111] Step 2: Generate function parameters using the locked state email, and create an editable object function according to the function parameters.

[0112] Preferably, the method of utilizing the locked-state email to generate function parameters and creating an editable object function based on the function parameters includes: using a text editing object generator to generate an editable text object, creating an editable text function within the editable text object, reading the resource identifier of the locked-state email, and using the resource identifier of the locked-state email as a function parameter of the editable text function to generate the editable object function.

[0113] Furthermore, the text editing object generator is an editing tool that provides text editing object generation function for other application systems (such as the optimized communication email of the present invention), such as PyCharm, Eclipse, etc. The editable text object is a class created by the text editing object generator (a class is a proper noun unique to programming software), so the editable text object of the present invention is an editable text object class, such as in the JAVA programming language, the editable text object class is expressed as Class Edited (editable text object class) {}.

[0114] Preferably, the editable text function is within the editable text object class, as shown below:

[0115] Class Edited (editable text object class) {

[0116] Void editable function (editable text function) {

[0117] Contents of editable text function

[0118] }

[0119] }

[0120] Preferably, the editable text function is to independently generate a text editing window in order to prevent users from arbitrarily tampering with the old text in the email (such as sender A edits the email on the current research on vehicle insurance coverage strategy in the sender's client, and the email content includes text information on the research on vehicle insurance coverage strategy, which is the old text in the email). Therefore, a text editing window is generated to independently generate new editing content, and when the new editing content is completed, it is combined into the email sent from the sender's client.

[0121] Furthermore, the resource identifier may be HTML information, because HTML information includes parameters of various editable text functions, such as the editing window size of the email, the editing window position, whether the editing window has a border, whether the email has attachments, and other parameters.

[0122] Step 3: Send the editable object function to the recipient client, and prompt the recipient client whether it needs to reply to the email sent by the sender client.

[0123] Preferably, if sender A edits the email about the current vehicle insurance policy research plan and sends the email about the policy research plan to recipient B, after recipient B receives the email about the policy research plan, the present invention will prompt recipient B whether he needs to reply to the email about the policy research plan. If necessary, he can directly click the Yes button. If not, he can ignore it or click the No button.

[0124] Step 4: If the recipient client does not need to reply to the email sent by the sender client, the email sending and receiving tasks are completed and the email is received again.

[0125] For example, after the recipient B receives the email about the insurance strategy research plan, if he feels that he needs to discuss it further immediately, he can contact the sender A by phone directly. He does not need to reply to the email sent by the sender and completes the sending and receiving of the entire email.

[0126] Step 5: If the recipient client needs to reply to the email sent by the sender client, the editable object function is run to generate an editable window, and the email content edited by the recipient client in the editable window is received.

[0127] As mentioned above, after recipient B receives the email about the insurance strategy research plan, recipient B thinks the plan is perfect, so the reply content needs to be: The insurance strategy research plan is perfect, thank you for your hard work.

[0128] Preferably, running the editable object function to generate an editable window includes: inputting property information of a preset editable window into the editable object function, running the program where the editable object function is located, and the program calling the visualization component of the editable window to generate the editable window.

[0129] Preferably, the preset attributes of the editable window include the size, position, border, etc. of the editable window. Further, when the editable window is generated, the position of the edited content, the current cursor position, the number of words per line of the edited content, the maximum allowed edited content, etc. are also included.

[0130] Step 6: Combine the email content and the email sent by the sender client to generate a combined email, perform keyword optimization processing on the combined email to obtain an optimized combined email, and send the optimized combined email to the next recipient client to complete the intelligent editing email processing method.

[0131] Preferably, the combination operation is to place the edited content and the email sent by the sender in the same email storage container and perform a unified locking operation.

[0132] Preferably, the email content and the email sent by the sender's client are combined to generate a combined email, including: extracting the editable object function where the edited content is located, and traversing the parameter set and edited content of the editable object function, and placing the parameter set and edited content of the editable object function as resource identifiers in the HTML of the email sent by the sender to obtain a combined email.

[0133] Furthermore, the editable object function for extracting the edit content may adopt a keyword traversal method, such as the editable object function may be written as:

[0134] Edit_function (parameter set) {edited content};

[0135] When the keyword matches the above Edit_function, the Edit_function and all the contents after (), {} are extracted.

[0136] Furthermore, by identifying the () keyword, the parameter set of the editable object function is traversed, and by identifying the {} keyword, the edited content of the editable object function is traversed.

[0137] Preferably, HTML is a web page editing and visualization program, and an area belonging to the parameter set and the edited content is opened up in advance in HTML, and mail assembly can be realized by running HTML.

[0138] Preferably, the keyword optimization process is to simplify redundant text information in the email, and the present invention is to achieve the purpose of simplifying the email. Preferably, the keyword optimization process is based on keyword comparison technology for identification and judgment, and the keyword recognition technology includes three steps: word vectorization, comparison, and removal:

[0139] Preferably, the word vectorization is to represent the words in the combined email with an N-dimensional matrix vector, where N is the number of words in the combined email. In this case, the following formula is used to perform initial vectorization on the words:

[0140]

[0141] Wherein, i represents the number of the word in the combined email, v i represents the N-dimensional matrix vector of word i in the combined email. Assuming there are s words in total, v j is the j-th element of the N-dimensional matrix vector.

[0142] Furthermore, the comparison is to compare and calculate the generated N-dimensional matrix vectors, and if they are the same, they are eliminated, so as to achieve the purpose of optimizing the email. The comparison first establishes a forward probability model and a backward probability model, and then compares the forward probability model and the backward probability model to obtain a comparison solution, the comparison solution.

[0143] Furthermore, the forward probability model and the backward probability model are respectively:

[0144]

[0145]

[0146] Optimizing the forward probability model and the backward probability model:

[0147]

[0148] Among them, max represents the contrast solution, represents partial derivative, v i An N-dimensional matrix vector representing word i, wherein the combined email has a total of s words. Further, after calculating the comparative solutions of the forward probability model and the backward probability model, the text content of the email that can be eliminated is obtained, thereby achieving the purpose of simplifying the email.

[0149] Optionally, in other embodiments, the email intelligent editing program can also be divided into one or more modules, one or more modules are stored in the memory 11, and are executed by one or more processors (processor 12 in this embodiment) to complete the present invention. The module referred to in the present invention refers to a series of computer program instruction segments that can perform specific functions, and is used to describe the execution process of the email intelligent editing program in the email intelligent editing device.

[0150] For example, refer to Figure 3 FIG. 1 is a schematic diagram of program modules of an email intelligent editing program in an embodiment of an email intelligent editing device of the present invention. In this embodiment, the email intelligent editing program can be divided into an email receiving and locking module 10, an editable object function generating module 20, an email reply judging module 30, and an email combining and optimizing module 40. For example:

[0151] The mail receiving and locking module 10 is used to receive mails sent by a sender client, and lock the mails to obtain locked mails.

[0152] The editable object function generating module 20 is used to generate function parameters using the locked state email, and create an editable object function according to the function parameters.

[0153] The email reply judgment module 30 is used to: send the editable object function to the recipient client, and prompt the recipient client whether it needs to reply to the email sent by the sender client. If the recipient client does not need to reply to the email sent by the sender client, the email sending and receiving tasks are completed, and the email is received again.

[0154] The email combination and optimization module 40 is used for: if the recipient client needs to reply to the email sent by the sender client, running the editable object function to generate an editable window, receiving the email content edited by the recipient client in the editable window, combining the email content with the email sent by the sender client to generate a combined email, performing keyword optimization processing on the combined email to obtain an optimized combined email, and sending the optimized combined email to the next recipient client, thereby completing the intelligent editing email processing method.

[0155] The functions or operation steps implemented when the above-mentioned program modules such as the email receiving and locking module 10, the editable object function generating module 20, the email reply judging module 30, the email combining and optimizing module 40 are executed are substantially the same as those in the above-mentioned embodiments and will not be repeated here.

[0156] In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which a mail intelligent editing program is stored. The mail intelligent editing program can be executed by one or more processors to implement the following operations:

[0157] An email sent by a sender client is received, and the email is locked to obtain a locked email.

[0158] The locked state email is used to generate function parameters, and an editable object function is created according to the function parameters.

[0159] The editable object function is sent to the recipient client, and the recipient client is prompted whether it needs to reply to the email sent by the sender client. If the recipient client does not need to reply to the email sent by the sender client, the email sending and receiving tasks are completed, and the email is received again.

[0160] If the recipient client needs to reply to the email sent by the sender client, run the editable object function to generate an editable window, receive the email content edited by the recipient client in the editable window, combine the email content and the email sent by the sender client to generate a combined email, perform keyword optimization processing on the combined email to obtain an optimized combined email, and send the optimized combined email to the next recipient client, thereby completing the intelligent editing email processing method.

[0161] It should be noted that the serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. And the terms "including", "comprising" or any other variants thereof in this article are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "including a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.

[0162] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0163] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for intelligently editing mail, characterized in that: The method comprises: Receive the email sent by the sender client, use the shell script to create an email locking program, place the location index information of the email in the email locking program, run the email locking program to lock the email process, and obtain the locked state email; Generate function parameters using the locked state email, and create an editable object function according to the function parameters; Sending the editable object function to the recipient client, and prompting the recipient client whether it needs to reply to the email sent by the sender client; If the recipient client does not need to reply to the email sent by the sender client, the email sending and receiving tasks are completed and the email is received again; If the recipient client needs to reply to the email sent by the sender client, the editable object function is run to generate an editable window, and the email content edited by the recipient client in the editable window is received; Combining the email content with the email sent by the sender client to generate a combined email, performing keyword optimization processing on the combined email to obtain an optimized combined email, and sending the optimized combined email to the next recipient client to complete the intelligent editing email processing method; The keyword optimization process is based on keyword recognition technology for identification and judgment. The keyword recognition technology includes word vectorization and comparison. The word vectorization adopts the following formula: in, represents the number of the words in the combined mail, Indicates the words in the combined email N-dimensional matrix vector; Assume that there is a words, is the jth element of the N-dimensional matrix vector. The comparison is to first establish a forward probability model and a backward probability model, and then compare the forward probability model and the backward probability model to obtain a comparison solution. The forward probability model and the backward probability model are respectively: ) ) Optimizing the forward probability model and the backward probability model: in represents the comparative solution, represents partial derivative, Expressive words N-dimensional matrix vector, the combined mail has word.

2. The intelligent email editing method according to claim 1, characterized in that: The step of generating function parameters by using the locked state email and creating an editable object function according to the function parameters includes: Use the Text Edit Object Generator to generate editable text objects; Creating an editable text function in the editable text object; The resource identifier of the locked state email is read, and the resource identifier of the locked state email is used as a function parameter of the editable text function to generate the editable object function.

3. The intelligent email editing method according to claim 1, characterized in that: The running of the editable object function to generate an editable window comprises: Inputting the preset attribute information of the editable window into the editable object function; Run the program where the editable object function is located; The program where the editable object function is located calls the visual component of the editable window to generate the editable window.

4. The mail intelligent editing method according to any one of claims 1 to 3, characterized in that: The step of combining the email content with the email sent by the sender client to generate a combined email includes: Extracting the editable object function where the edited content is located, and traversing the parameter set and edited content of the editable object function; The parameter set of the editable object function and the edited content are regarded as resource identifiers and input into the HTML of the email sent by the sender client to obtain a combined email.

5. An intelligent email editing device, used to implement the intelligent email editing method according to any one of claims 1 to 4, characterized in that: The device includes a memory and a processor, wherein the memory stores an email intelligent editing program that can be run on the processor, and when the email intelligent editing program is executed by the processor, the following steps are implemented: Receive an email sent by a sender client, and lock the email to obtain a locked email; Generate function parameters using the locked state email, and create an editable object function according to the function parameters; Sending the editable object function to the recipient client, and prompting the recipient client whether it needs to reply to the email sent by the sender client; If the recipient client does not need to reply to the email sent by the sender client, the email sending and receiving tasks are completed and the email is received again; If the recipient client needs to reply to the email sent by the sender client, the editable object function is run to generate an editable window, and the email content edited by the recipient client in the editable window is received; The email content and the email sent by the sender client are combined to generate a combined email, the combined email is keyword optimized to obtain an optimized combined email, and the optimized combined email is sent to the next recipient client, thereby completing the intelligent editing email processing method.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a mail intelligent editing program, and the mail intelligent editing program can be executed by one or more processors to implement the mail intelligent editing method according to any one of claims 1 to 4.