A mail data processing method and related products

By determining the data identification range and importance level based on the sender information when the electronic device receives an email, and only keyword recognition and extraction are performed on the specified content, the problem of low e-mail data identification efficiency in the prior art is solved, and efficient product keyword recognition and storage is achieved.

CN114693255BActive Publication Date: 2025-04-01SHENZHEN XIAOMAN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210282676.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-22
Publication Date
2025-04-01
Estimated Expiration
2042-03-22

AI Technical Summary

Technical Problem

The prior art is difficult to improve the accuracy and efficiency of data identification when processing product information in emails.

Method used

When the electronic device receives the email, it obtains the sender information and determines the importance level and data identification range based on the preset correspondence relationship. Only the content data in the specified range is keyword-recognized and extracted, and stored in the product database.

Benefits of technology

It realizes the screening of email content data and the extraction and identification of product keywords based on sender information, improves the efficiency of email and product keyword recognition, and reduces the need to identify and process all received data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114693255B_ABST
    Figure CN114693255B_ABST
Patent Text Reader

Abstract

The present application provides a mail data processing method and related products, the method comprising: when an electronic device receives an email, obtaining the sender information and content data contained in the email; the content data includes title data, body data and attachment data; obtaining the importance level corresponding to the sender information, and determining the data identification range corresponding to the importance level according to a preset corresponding relationship; determining the data to be identified in the content data of the email according to the data identification range; performing keyword identification on the data to be identified, extracting the product keywords contained in the data to be identified; storing the extracted product keywords in a product database according to a preset format. In this way, there is no need to identify and process all the received data, thereby improving the efficiency of identifying email and product keywords.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a mail data processing method and related products. Background Art

[0002] Electronic devices are increasingly integrated into people's work, life and study, and many functions are increasingly realized through online applications of electronic devices. Email is the most commonly used tool in the office process, and information is usually transmitted through email. Usually, an email contains important information such as the sender, recipient, title, body and attachments.

[0003] For example, in an e-commerce system, some product information is usually transmitted via email. For example, the email may contain product number, model, name, price, quantity, amount, total amount and other product information. Summary of the invention

[0004] The embodiments of the present application provide a mail data processing method and system, which can improve the accuracy of data recognition.

[0005] A mail data processing method, applied to an electronic device, comprising:

[0006] When the electronic device receives an email, obtaining sender information and content data contained in the email; the content data includes title data, body data and attachment data;

[0007] Obtaining the importance level corresponding to the sender information, and determining the data identification range corresponding to the importance level according to a preset corresponding relationship;

[0008] Determining the data to be identified in the content data of the email according to the data identification range;

[0009] Perform keyword recognition on the data to be recognized, and extract product keywords contained in the data to be recognized;

[0010] The extracted product keywords are stored in a product database according to a preset format.

[0011] Furthermore, the sender information includes a sender identification;

[0012] The obtaining of the importance level corresponding to the sender information and determining the data identification range corresponding to the importance level according to a preset corresponding relationship includes:

[0013] matching the sender identifier with identifiers contained in the shipping list;

[0014] When the sender identification successfully matches the identification included in the sending list, the importance level corresponding to the sender information is obtained, and the data identification range corresponding to the importance level is determined according to a preset corresponding relationship.

[0015] Furthermore, the determining of the data identification range corresponding to the importance level according to the preset corresponding relationship includes:

[0016] When the importance level is the first level, determining the data identification range to be the first range;

[0017] When the importance level is the second level, determining the data identification range to be the second range;

[0018] When the importance level is the third level, determining the data identification range to be the third range;

[0019] The step of determining the data to be identified in the content data of the email according to the data identification range includes:

[0020] When the data identification range is the first range, the title data, body data and attachment data of the email are used as the data to be identified;

[0021] When the data identification range is the second range, the title data and the body data of the email are used as the data to be identified;

[0022] When the data identification range is the third range, the title data of the email is used as the data to be identified.

[0023] Furthermore, storing the extracted product keywords in a product database according to a preset format includes:

[0024] When the importance level is the first level, determining whether the extracted product keywords include keywords of a preset type;

[0025] When the product keywords include keywords of a preset type, storing the extracted product keywords in a product database according to a preset format;

[0026] When the product keywords do not contain keywords of a preset type, the extracted product keywords are displayed on the display screen of the electronic device, and input keywords corresponding to the preset type input according to the product keywords are obtained, and the extracted product keywords and the input keywords are stored in a product database according to a preset format.

[0027] Furthermore, the step of displaying the extracted product keywords on a display screen of the electronic device further includes:

[0028] Outputting prompt information of a first intensity through the electronic device, the prompt information being used to prompt a user to input an input keyword corresponding to the preset type according to the product keyword;

[0029] Detecting whether the electronic device obtains an input keyword corresponding to the preset type input according to the product keyword within a first time period;

[0030] If the electronic device fails to obtain the input keyword within the first time period, the electronic device outputs a prompt message of a second intensity, wherein the second intensity is greater than the first intensity.

[0031] Furthermore, the step of performing keyword recognition on the data to be recognized and extracting product keywords contained in the data to be recognized includes:

[0032] Determine the data size of the data to be identified, set a corresponding data identifier for the data to be identified, and store the data identifier in a data queue;

[0033] If the sum of the data sizes corresponding to all the data identifiers contained in the data queue is less than the size threshold, then enter waiting;

[0034] If the sum of the data sizes corresponding to all the data identifiers contained in the data queue is greater than or equal to the size threshold, keyword recognition is performed one by one on the data to be identified corresponding to all the data identifiers contained in the data queue to extract product keywords contained in the data to be identified.

[0035] Furthermore, the method further comprises:

[0036] Calculating an average value of the importance levels corresponding to all data identifiers contained in the data queue to obtain an average importance level;

[0037] According to the corresponding relationship between the average importance level and the size threshold, the size threshold corresponding to the average importance level is determined.

[0038] A mail data processing device, comprising:

[0039] The mail acquisition module is used to acquire sender information and content data contained in the email when the electronic device receives the email; the content data includes title data, body data and attachment data;

[0040] A range acquisition module, used to acquire the importance level corresponding to the sender information, and determine the data identification range corresponding to the importance level according to a preset corresponding relationship;

[0041] A data acquisition module, used to determine the data to be identified in the content data of the email according to the data identification range;

[0042] A data identification module, used to perform keyword identification on the data to be identified, and extract product keywords contained in the data to be identified;

[0043] The data storage module is used to store the extracted product keywords in a product database according to a preset format.

[0044] An electronic device comprises a memory and a processor, wherein the memory stores computer executable instructions, and the processor implements the above method when running the computer executable instructions on the memory.

[0045] A computer-readable storage medium stores a computer program, which implements the above method when executed by a processor.

[0046] The above-mentioned mail data processing method and related products can obtain the sender information and content data contained in the email when the electronic device receives the email. And determine the data recognition range corresponding to the importance level according to the preset corresponding relationship, so as to determine the data to be recognized in the content data of the email according to the data recognition range. Only perform keyword recognition on the data to be recognized, extract the product keywords contained in the data to be recognized, and finally store the extracted product keywords in the product database according to the preset format. Thereby, it is realized to filter the content data according to the sender information, and extract and recognize the product keywords of the filtered data, so as to store the recognized product keywords. In this way, there is no need to recognize and process all the received data, thereby improving the efficiency of email and product keyword recognition. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for describing the embodiments.

[0048] Figure 1 A schematic diagram of a flow chart of a mail data processing method in one embodiment;

[0049] Figure 2 The figure is a schematic diagram of the hardware composition of mail data processing in one embodiment. DETAILED DESCRIPTION

[0050] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0051] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0052] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0053] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0054] As used in this specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.

[0055] Figure 1 FIG. 1 is a flow chart of a mail data processing method in an embodiment. Figure 1 As shown, the mail data processing method includes steps 102 to 110, specifically:

[0056] Step 102: When the electronic device receives an email, obtain the sender information and content data contained in the email; the content data includes title data, body data and attachment data.

[0057] In one embodiment, the electronic device can monitor in real time whether an email is received in the email mailbox. If the email is received in the email mailbox, relevant information corresponding to the received email is obtained. Generally, the email will contain information such as the sender, recipient, title, body and attachments. The sender information refers to the email account information that sends the email, the recipient information refers to the email account information that receives the email, the title data refers to the title of the email, the body data refers to the content contained in the body of the email, and the attachment data refers to the content of the file attached to the email.

[0058] For example, the sender information can be an email address "ywipq@193.com" or a user nickname corresponding to the email, which is not limited here. The body data can generally contain text, characters, pictures and other forms of content, and the attachment data can be files in word, pdf, excel, jpg and other formats, which is not particularly limited here. As long as it can be stored in the form of a file, it can be included in the scope of the attachment data.

[0059] Specifically, the electronic device may detect whether an email has been received in the email mailbox every 1 second, 10 seconds or any other time interval. The refresh detection time may be fixed or may be a variable time. In other embodiments, when an email is sent to the email mailbox, the electronic device where the email mailbox is located may be actively notified to refresh, which is not limited here.

[0060] Step 104, obtaining the importance level corresponding to the sender information, and determining the data identification range corresponding to the importance level according to a preset corresponding relationship.

[0061] The importance level of the sender is used to mark the importance of the sender. For example, the information in the emails sent by some important customers is relatively important. At this time, the emails of the important customers can be rated as relatively important, so that the emails sent by the important customers can be treated as important.

[0062] The electronic device can pre-store the correspondence between the sender and the importance level. When receiving an email, the importance level corresponding to the sender information can be queried through the correspondence. For example, the importance level can include four levels: "confidential", "important", "normal", and "unimportant". If the importance level corresponding to the sender "ywipq@193.com" is "normal", then the sender "ywipq@193.com" is stored in correspondence with the importance level "normal".

[0063] The data recognition scope refers to the content that needs to be recognized in the email. It is understandable that since the amount of data in the email is relatively large, if the content in all emails is recognized, it may consume a relatively large amount of resources and will also lead to relatively low recognition efficiency. Therefore, before recognizing the email, the data recognition scope of the email can be determined to more accurately define the recognition scope and improve the recognition efficiency.

[0064] Step 106: determine the data to be identified in the content data of the email according to the data identification range.

[0065] In one embodiment, the data identification range may refer to any combination of one or more of the title data, body data, and attachment data. For example, the data identification range may be "title data" and "body data". Then, when an electronic device receives an email, it only needs to identify the title data and body data of the email.

[0066] Step 108: perform keyword recognition on the data to be recognized, and extract product keywords contained in the data to be recognized.

[0067] The electronic device can pre-store identification rules for the data to be identified, and extract whether the data to be identified contains product keywords. The product keywords refer to key information related to product information, such as product names, product prices, product specifications, product materials, usage rules, etc.

[0068] In this embodiment, there is no limitation on how to identify product keywords. For example, the data to be identified may be input into a neural network, and the product keywords may be identified through the neural network. It is also possible to pre-set possible product keywords, and then identify whether the data to be identified contains the preset product keywords. It is also possible to extract product keywords through other schemes, which are not limited here.

[0069] Step 110: storing the extracted product keywords in a product database according to a preset format.

[0070] The electronic device will store the extracted product keywords in a product database in a preset format. The product database can be database software on the electronic device, or any file that stores data, which is not limited here. For example, the electronic device can store an Excel table, and the Excel table can have a header. After the electronic device extracts the product keywords, it fills the product keywords in the Excel table in the format of the header for storage.

[0071] The mail data processing method provided in the above embodiment can obtain the sender information and content data contained in the email when the electronic device receives the email. And determine the data recognition range corresponding to the importance level according to the preset corresponding relationship, so as to determine the data to be recognized in the content data of the email according to the data recognition range. Only perform keyword recognition on the data to be recognized, extract the product keywords contained in the data to be recognized, and finally store the extracted product keywords in the product database according to the preset format. Thereby, it is realized to filter the content data according to the sender information, and extract and recognize the product keywords of the filtered data, so as to store the recognized product keywords. In this way, there is no need to recognize and process all the received data, thereby improving the efficiency of email and product keyword recognition.

[0072] For example, the e-commerce product system can realize unified management of e-commerce product information. After the e-commerce product system recognizes that an email has been received, it will identify the product fields in the attachment data in the email. The specific identifiable fields include: product number, product model, product name, product price, product quantity, product amount, total amount and other information.

[0073] Then, the e-commerce product system determines whether the identified product exists in the product library. If so, the existing product information in the e-commerce product system is updated according to the identified product information; if different, a new product is created. Among them, the rule for determining whether the identified product exists in the product library is at least one of the following: if the product number is identified, determine whether the identified product number matches the product number stored in the product library; if the product model is identified but the product number is not identified, determine whether the identified product model matches the product model in the product library; if the product name is identified but the product number and product model are not identified, determine whether the identified product name matches the product name in the product library.

[0074] In one embodiment, the e-commerce product system will perform product creation / product update operations only when it recognizes at least one of the product number, product name, and product model. Among them, the product creation operation is as follows: automatically insert the recognized product number, product name, product description, product model, and system fields added by the user. If the product number is not recognized, the product number is automatically generated according to the rules. The product update operation is as follows: for the update operation of the automatically created product, the update content includes the product number, product name, product description, product model, and system fields added by the user, etc.; the incremental update operation, that is, the existing value of the product field will not be changed, and only the field content will be added.

[0075] In one embodiment of the present application, the e-commerce product system will also automatically update the products, and the update rules are as follows: when the currency of the identified product amount is consistent with the preset currency, the identified product information is automatically added / updated; when at least one of the product number, product name, and product model is identified, the product information will be automatically added / updated; when updating the product information, the corresponding product information in the original system will be cleared first, and then the identified product information will be stored in the product library.

[0076] In one embodiment of the present application, the sender information includes a sender identification; obtaining the importance level corresponding to the sender information and determining the data identification range corresponding to the importance level according to a preset corresponding relationship includes: matching the sender identification with the identification included in the sending list; when the sender identification successfully matches the identification included in the sending list, obtaining the importance level corresponding to the sender information and determining the data identification range corresponding to the importance level according to the preset corresponding relationship.

[0077] Specifically, a sender list can be stored in the electronic device, and a sender whitelist can be managed through the sender list. When the sender identifier in the sender information matches the identifier in the sender list, the sender is considered to be a sender that is allowed to identify product information. When an email corresponding to the sender is received, the content in the email needs to be identified. In this way, senders can be screened by means of a whitelist, thereby further improving the identification efficiency.

[0078] In one embodiment of the present application, determining the data identification range corresponding to the importance level according to a preset corresponding relationship includes: when the importance level is the first level, determining the data identification range as the first range; when the importance level is the second level, determining the data identification range as the second range; when the importance level is the third level, determining the data identification range as the third range; determining the data to be identified in the content data of the email according to the data identification range includes: when the data identification range is the first range, using the title data, body data and attachment data of the email as the data to be identified; when the data identification range is the second range, using the title data and body data of the email as the data to be identified; when the data identification range is the third range, using the title data of the email as the data to be identified.

[0079] In one embodiment, the electronic device pre-stores the correspondence between the importance level and the data identification range, and the correspondence between the importance level and the data identification range specifically includes: the first level corresponds to the first range, the second level corresponds to the second range, and the third level corresponds to the third range. Furthermore, the first range is the title data, the text data, and the attachment data; the second range is the title data and the text data; and the third range is the title data.

[0080] In this way, the electronic device can extract keywords from received emails through the set data recognition range, thereby improving recognition efficiency in a large number of emails.

[0081] In one embodiment of the present application, storing the extracted product keywords in a product database according to a preset format includes: when the importance level is the first level, determining whether the extracted product keywords contain keywords of a preset type; when the product keywords contain keywords of a preset type, storing the extracted product keywords in the product database according to a preset format; when the product keywords do not contain keywords of a preset type, displaying the extracted product keywords through the display screen of the electronic device, obtaining input keywords corresponding to the preset type input according to the product keywords, and storing the extracted product keywords and the input keywords in the product database according to the preset format.

[0082] Furthermore, when the importance level corresponding to the sender information of the email is the first level, the content in the email is considered to be very important. After the electronic device identifies the product keywords for the email, it can further identify whether the identified product keywords contain preset types of keywords. If the product keywords do not contain preset types of keywords, it is considered that the identified product keywords are missing, and the user is further prompted to supplement the missing product information. For example, the identified product keywords and the missing product keyword types are displayed on the display interface, and the user is prompted to enter the missing relevant product information by highlighting, so that the user can complete the missing information to improve the accuracy of the identified product information.

[0083] In one embodiment of the present application, the extracted product keywords are displayed on the display screen of the electronic device, and then further include: outputting prompt information of a first intensity through the electronic device, the prompt information being used to prompt a user to input an input keyword corresponding to the preset type according to the product keyword; detecting whether the electronic device obtains the input keyword corresponding to the preset type input according to the product keyword within a first time length; if the electronic device does not obtain the input keyword within the first time length, outputting prompt information of a second intensity through the electronic device; wherein the second intensity is greater than the first intensity.

[0084] Specifically, after displaying the product keywords, the electronic device can further prompt the user to input the missing product keywords through prompt information. If the input keyword corresponding to the preset type input by the user is detected within the first time length, the extracted product keyword and input keyword are stored in the product database according to the preset format. If the input keyword input by the user is not detected within the first time length, the user is prompted to input the keyword through a prompt information of a second intensity greater than the first intensity. For example, the prompt information of the first intensity can be the prompt information displayed in red, the prompt information of the second intensity can be the second prompt information marked in red and dynamically amplified, or the prompt information of the second intensity can be the prompt information marked in red and input by sound at the same time. In this way, the user can be effectively prompted to input key information.

[0085] In one embodiment, the keyword recognition of the data to be recognized and the extraction of product keywords contained in the data to be recognized include: determining the data size of the data to be recognized, setting a corresponding data identifier for the data to be recognized, and storing the data identifier in a data queue; if the sum of the data sizes corresponding to all the data identifiers contained in the data queue is less than a size threshold, entering a waiting state; if the sum of the data sizes corresponding to all the data identifiers contained in the data queue is greater than or equal to the size threshold, keyword recognition is performed one by one on the data to be recognized corresponding to all the data identifiers contained in the data queue, and the product keywords contained in the data to be recognized are extracted.

[0086] In one embodiment, the method further includes: calculating the average value of the importance levels corresponding to all data identifiers contained in the data queue to obtain the average importance level; and determining the size threshold corresponding to the average importance level based on the correspondence between the average importance level and the size threshold.

[0087] After receiving an email, the data identifier corresponding to the email is determined and the data identifier is included in the data queue. If the sum of the data sizes corresponding to all the data identifiers contained in the data queue exceeds the size threshold, all the data to be identified can be subjected to keyword identification. In this way, the data can be processed in batches to improve the efficiency of data identification. In addition, the size threshold can be dynamically adjusted according to the importance level corresponding to the data identifier, thereby improving the flexibility of data processing.

[0088] The present application provides a mail data processing device, the device comprising:

[0089] The mail acquisition module is used to acquire sender information and content data contained in the email when the electronic device receives the email; the content data includes title data, body data and attachment data;

[0090] A range acquisition module, used to acquire the importance level corresponding to the sender information, and determine the data identification range corresponding to the importance level according to a preset corresponding relationship;

[0091] A data acquisition module, used to determine the data to be identified in the content data of the email according to the data identification range;

[0092] A data identification module, used to perform keyword identification on the data to be identified, and extract product keywords contained in the data to be identified;

[0093] The data storage module is used to store the extracted product keywords in a product database according to a preset format.

[0094] The mail data processing device provided in the above embodiment can obtain the sender information and content data contained in the email when the electronic device receives the email. And determine the data recognition range corresponding to the importance level according to the preset corresponding relationship, so as to determine the data to be recognized in the content data of the email according to the data recognition range. Only perform keyword recognition on the data to be recognized, extract the product keywords contained in the data to be recognized, and finally store the extracted product keywords in the product database according to the preset format. Thereby, it is realized to filter the content data according to the sender information, and extract and recognize the product keywords of the filtered data, so as to store the recognized product keywords. In this way, there is no need to recognize and process all the received data, thereby improving the efficiency of email and product keyword recognition.

[0095] Furthermore, the sender information includes a sender identifier; the above-mentioned range acquisition module is also used to match the sender identifier with the identifier contained in the sending list; when the sender identifier matches the identifier contained in the sending list successfully, the importance level corresponding to the sender information is obtained, and the data identification range corresponding to the importance level is determined according to a preset corresponding relationship.

[0096] Furthermore, the above-mentioned range acquisition module is also used to determine the data identification range as the first range when the importance level is the first level; determine the data identification range as the second range when the importance level is the second level; and determine the data identification range as the third range when the importance level is the third level; the above-mentioned data acquisition module is also used to use the title data, body data and attachment data of the email as the data to be identified when the data identification range is the first range; use the title data and body data of the email as the data to be identified when the data identification range is the second range; and use the title data of the email as the data to be identified when the data identification range is the third range.

[0097] Furthermore, the data storage module is also used to determine whether the extracted product keywords contain keywords of a preset type when the importance level is the first level; when the product keywords contain keywords of a preset type, the extracted product keywords are stored in the product database according to a preset format; when the product keywords do not contain keywords of a preset type, the extracted product keywords are displayed on the display screen of the electronic device, and the input keywords corresponding to the preset type input according to the product keywords are obtained, and the extracted product keywords and the input keywords are stored in the product database according to the preset format.

[0098] Furthermore, the data storage module is also used to output prompt information of a first intensity through the electronic device, wherein the prompt information is used to prompt the user to input an input keyword corresponding to the preset type according to the product keyword; detect whether the electronic device obtains the input keyword corresponding to the preset type input according to the product keyword within a first time length; if the electronic device does not obtain the input keyword within the first time length, output prompt information of a second intensity through the electronic device; wherein the second intensity is greater than the first intensity.

[0099] Furthermore, the above-mentioned data identification module is also used to determine the data size of the data to be identified, set a corresponding data identifier for the data to be identified, and store the data identifier in a data queue; if the sum of the data sizes corresponding to all the data identifiers contained in the data queue is less than the size threshold, then enter waiting; if the sum of the data sizes corresponding to all the data identifiers contained in the data queue is greater than or equal to the size threshold, then keyword identification is performed one by one on the data to be identified corresponding to all the data identifiers contained in the data queue, and product keywords contained in the data to be identified are extracted.

[0100] Furthermore, the above-mentioned data identification module is also used to calculate the average value of the importance levels corresponding to all data identifiers contained in the data queue to obtain the average importance level; based on the correspondence between the average importance level and the size threshold, determine the size threshold corresponding to the average importance level.

[0101] Figure 2 FIG. 1 is a schematic diagram of the hardware components for mail data processing in one embodiment. It can be understood that Figure 2 Only a simplified design of the electronic device is shown. In practical applications, the electronic device may also include other necessary components, including but not limited to any number of input / output systems, processors, controllers, memories, etc., and all electronic devices that can implement the cross-cloud platform big data management method of the embodiment of the present application are within the protection scope of the present application.

[0102] The memory includes, but is not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or compact disc read-only memory (CD-ROM), which is used for related instructions and data.

[0103] The input system is used to input data and / or signals, and the output system is used to output data and / or signals. The output system and the input system may be independent devices or an integrated device.

[0104] The processor may include one or more processors, for example, one or more central processing units (CPUs). When the processor is a CPU, the CPU may be a single-core CPU or a multi-core CPU. The processor may also include one or more dedicated processors, which may include GPUs, FPGAs, etc., for accelerated processing.

[0105] The memory is used to store program codes and data of the network device.

[0106] The processor is used to call the program code and data in the memory to execute the steps in the above method embodiment. For details, please refer to the description in the method embodiment, which will not be repeated here.

[0107] In the several embodiments provided in the present application, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the division of the unit is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. The mutual coupling, direct coupling, or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the system or unit can be electrical, mechanical or other forms.

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

[0109] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable systems. The computer instructions can be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media integrations. The available medium may be a read-only memory (ROM), or a random access memory (RAM), or a magnetic medium, such as a floppy disk, a hard disk, a tape, a disk, or an optical medium, such as a digital versatile disc (DVD), or a semiconductor medium, such as a solid state disk (SSD), etc.

[0110] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A mail data processing method, characterized in that: Applied to electronic equipment, the method comprises: When the electronic device receives an email, obtaining sender information and content data contained in the email; the content data includes title data, body data and attachment data; Obtaining the importance level corresponding to the sender information, and determining the data identification range corresponding to the importance level according to a preset corresponding relationship; the data identification range is a combination of one or more of the title data, the body data, and the attachment data; Determining the data to be identified in the content data of the email according to the data identification range; Perform keyword recognition on the data to be recognized, and extract product keywords contained in the data to be recognized; The extracted product keywords are stored in a product database according to a preset format.

2. The mail data processing method according to claim 1, characterized in that: The sender information includes a sender identifier; The obtaining of the importance level corresponding to the sender information and determining the data identification range corresponding to the importance level according to a preset corresponding relationship includes: matching the sender identifier with identifiers contained in the shipping list; When the sender identification successfully matches the identification included in the sending list, the importance level corresponding to the sender information is obtained, and the data identification range corresponding to the importance level is determined according to a preset corresponding relationship.

3. The mail data processing method according to claim 2, characterized in that: The determining of the data identification range corresponding to the importance level according to the preset corresponding relationship includes: When the importance level is the first level, determining the data identification range to be the first range; When the importance level is the second level, determining the data identification range to be the second range; When the importance level is the third level, determining the data identification range to be the third range; The step of determining the data to be identified in the content data of the email according to the data identification range includes: When the data identification range is the first range, the title data, body data and attachment data of the email are used as the data to be identified; When the data identification range is the second range, the title data and the body data of the email are used as the data to be identified; When the data identification range is the third range, the title data of the email is used as the data to be identified.

4. The mail data processing method according to claim 3, characterized in that: The step of storing the extracted product keywords in a product database according to a preset format includes: When the importance level is the first level, determining whether the extracted product keywords include keywords of a preset type; When the product keywords include keywords of a preset type, storing the extracted product keywords in a product database according to a preset format; When the product keywords do not contain keywords of a preset type, the extracted product keywords are displayed on the display screen of the electronic device, and input keywords corresponding to the preset type input according to the product keywords are obtained, and the extracted product keywords and the input keywords are stored in a product database according to a preset format.

5. The mail data processing method according to claim 4, characterized in that: The step of displaying the extracted product keywords on a display screen of the electronic device further comprises: Outputting prompt information of a first intensity through the electronic device, the prompt information being used to prompt a user to input an input keyword corresponding to the preset type according to the product keyword; Detecting whether the electronic device obtains an input keyword corresponding to the preset type input according to the product keyword within a first time period; If the electronic device fails to obtain the input keyword within the first time period, the electronic device outputs a prompt message of a second intensity, wherein the second intensity is greater than the first intensity.

6. The mail data processing method according to any one of claims 1 to 5, characterized in that: The step of performing keyword recognition on the data to be recognized and extracting product keywords contained in the data to be recognized includes: Determine the data size of the data to be identified, set a corresponding data identifier for the data to be identified, and store the data identifier in a data queue; If the sum of the data sizes corresponding to all the data identifiers contained in the data queue is less than the size threshold, then enter waiting; If the sum of the data sizes corresponding to all the data identifiers contained in the data queue is greater than or equal to the size threshold, keyword recognition is performed one by one on the data to be identified corresponding to all the data identifiers contained in the data queue to extract product keywords contained in the data to be identified.

7. The mail data processing method according to claim 6, characterized in that: The method further comprises: Calculating an average value of the importance levels corresponding to all data identifiers contained in the data queue to obtain an average importance level; According to the corresponding relationship between the average importance level and the size threshold, the size threshold corresponding to the average importance level is determined.

8. A mail data processing device, characterized in that: The device comprises: The mail acquisition module is used to acquire sender information and content data contained in the email when the electronic device receives the email; the content data includes title data, body data and attachment data; A range acquisition module, used to acquire the importance level corresponding to the sender information, and determine the data identification range corresponding to the importance level according to a preset corresponding relationship; the data identification range is a combination of one or more of the title data, the body data, and the attachment data; A data acquisition module, used for determining the data to be identified in the content data of the email according to the data identification range; A data identification module, used to perform keyword identification on the data to be identified, and extract product keywords contained in the data to be identified; The data storage module is used to store the extracted product keywords in a product database according to a preset format.

9. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores computer executable instructions, and the processor implements the method according to any one of claims 1 to 7 when executing the computer executable instructions on the memory.

10. A computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • E-commerce platform data updating method based on E-mail

    CN113535741A

  • Mail processing method and electronic equipment

    CN114079642A