WO2021093673A1 - 邮件发送方法、装置、设备及计算机可读存储介质 - Google Patents
邮件发送方法、装置、设备及计算机可读存储介质 Download PDFInfo
- Publication number
- WO2021093673A1 WO2021093673A1 PCT/CN2020/126825 CN2020126825W WO2021093673A1 WO 2021093673 A1 WO2021093673 A1 WO 2021093673A1 CN 2020126825 W CN2020126825 W CN 2020126825W WO 2021093673 A1 WO2021093673 A1 WO 2021093673A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- result set
- value
- content parser
- preset
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/42—Mailbox-related aspects, e.g. synchronisation of mailboxes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/06—Message adaptation to terminal or network requirements
- H04L51/066—Format adaptation, e.g. format conversion or compression
Definitions
- This application relates to the technical field of financial technology (Fintech), and in particular to a method, device, device, and computer-readable storage medium for sending emails.
- E-mail (referred to as E-mail) is a communication method that uses electronic means to provide information exchange. It is the most widely used service on the Internet and has the characteristics of simplicity and speed. Through the way of e-mail, various information transmission, reception, storage and other processing can be realized, and the mail can be sent to all corners of the world. Therefore, email has become an important way of communication in people's daily work and life.
- the application first obtains the application data to be sent, and then converts the application data in the original format into structured data that can be received by the mail client to obtain the mail content, and then according to the mail service in the deployment environment
- the mail delivery information and mail content are transmitted to the mail client through the specified interface in the specified format. Since the data formats that can be received by each mail client are not the same, when format conversion of application data, although there are more general format centralized conversion tools, considering that the data types actually used by an application are extremely limited, the introduction General-purpose tools make the logic of the application more complicated. Therefore, the corresponding logic is generally implemented repeatedly by the application program, which causes a waste of development manpower and low development efficiency.
- the main purpose of this application is to provide a mail sending method, device, equipment, and computer-readable storage medium, aiming to solve the problem of low development efficiency in the development process of the existing mail sending function.
- the present application provides an email sending method, and the email sending method includes:
- the mail body is sent based on the basic information of the mail.
- the step of obtaining email content and basic information of the email according to the email sending request when the email sending request is received includes:
- a result set path is generated according to the job ID, the user name, and a pre-configured root directory, and the mail content is obtained according to the result set path.
- the step of determining the corresponding target content parser according to the data type in the metadata information, and analyzing the value of the result set through the target content parser to obtain an intermediate object include:
- the data type in the metadata information is a picture, it is determined that the corresponding target content parser is a picture content parser;
- a corresponding picture tag is generated, and the picture tag is used as an intermediate object.
- the step of determining the corresponding target content parser according to the data type in the metadata information, and analyzing the value of the result set through the target content parser to obtain an intermediate object include:
- the data type in the metadata information is Hypertext Markup Language HTML, it is determined that the corresponding target content parser is an HTML content parser;
- the step of determining the corresponding target content parser according to the data type in the metadata information, and analyzing the value of the result set through the target content parser to obtain an intermediate object include:
- the data type in the metadata information is a table, it is determined that the corresponding target content parser is a table content parser;
- the text in the nested preset table header tag is merged with the text in the nested row tag, and nested into the preset table tag to obtain an intermediate object.
- the step of determining the corresponding target content parser according to the data type in the metadata information, and analyzing the value of the result set through the target content parser to obtain an intermediate object include:
- the data type in the metadata information is a file, it is determined that the corresponding target content parser is a file content parser;
- the value of the result set is multiple lines, the value of the result set is processed by line, and the intermediate object is obtained based on the result of the line branch processing, the preset paragraph tag and the preset line break tag.
- the step of determining the corresponding target content parser according to the data type in the metadata information, and analyzing the value of the result set through the target content parser to obtain an intermediate object include:
- the data type in the metadata information is a link, it is determined that the corresponding target content parser is a link content parser;
- the value of the result set is a single line, the value of the result set is converted into a first hyperlink label, and the file name of the result set corresponding to the email content is used as the prompt information of the first hyperlink label , Get the intermediate object;
- the second hyperlink label is merged, and the file name of the result set corresponding to the email content is used as the prompt information of the merged second hyperlink label to obtain an intermediate object.
- the step of sending the mail body based on the basic information includes:
- the mail body and the basic information of the mail are filled into the mail object, and the filled mail object is submitted to a preset mail client for sending.
- the present application also provides a mail sending device, the mail sending device includes:
- the obtaining module is configured to obtain the email content and basic email information according to the email sending request when the email sending request is received, the email content including the metadata information and the value of the result set;
- a parsing module configured to determine a corresponding target content parser according to the data type in the metadata information, and perform parsing processing on the value of the result set through the target content parser to obtain an intermediate object;
- the merging module is used for merging the intermediate objects in the order of analysis, and inserting the merged intermediate objects into the preset structure to obtain the mail body;
- the sending module is used to send the mail body based on the basic information.
- the present application also provides a mail sending device, the mail sending device includes: a memory, a processor, and a mail sending program stored on the memory and running on the processor, so The steps of the mail sending method described above are realized when the mail sending program is executed by the processor.
- the present application also provides a computer-readable storage medium with a mail sending program stored on the computer-readable storage medium, and when the mail sending program is executed by a processor, the mail sending as described above is realized. Method steps.
- This application provides an email sending method, device, equipment, and computer-readable storage medium.
- the email content and basic email information can be obtained according to the email sending request; then, according to the data type in the metadata information Determine the corresponding target content parser, and parse the result set value through the target content parser to obtain intermediate objects; then merge the intermediate objects in the order of analysis, and insert the merged intermediate objects into the preset structure, Get the body of the email, and send the body of the email based on the basic information of the email.
- this application defines corresponding standard parsing and processing methods for different data types, and can uniformly convert the format of the mail content into a standard intermediate format to obtain the mail content, and then send it.
- the application program does not need to repeatedly implement the corresponding logic. Therefore, the application can improve the development efficiency in the development process of the mail sending function.
- FIG. 1 is a schematic diagram of the device structure of the hardware operating environment involved in the solution of the embodiment of the application;
- FIG. 2 is a schematic flowchart of the first embodiment of the mail sending method of this application
- FIG. 3 is a schematic diagram of functional modules of the first embodiment of the mail sending device of this application.
- FIG. 1 is a schematic diagram of the device structure of the hardware operating environment involved in the solution of the embodiment of the application.
- the mail sending device in the embodiment of this application can be a smart phone or a PC (Personal Computer, personal computer), tablet computer, portable computer and other terminal equipment.
- the mail sending device may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005.
- the communication bus 1002 is used to implement connection and communication between these components.
- the user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
- the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a Wi-Fi interface).
- the memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a magnetic disk memory.
- the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
- the structure of the mail sending device shown in FIG. 1 does not constitute a limitation on the mail sending device, and may include more or less components than shown in the figure, or a combination of certain components, or different components Layout.
- the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a mail sending program.
- the network interface 1004 is mainly used to connect to a back-end server and communicate with the back-end server;
- the user interface 1003 is mainly used to connect to a client and communicate with the client;
- the processor 1001 can be used to Call the mail sending program stored in the memory 1005 and perform the following operations:
- the mail body is sent based on the basic information of the mail.
- processor 1001 may call the mail sending program stored in the memory 1005, and also perform the following operations:
- a result set path is generated according to the job ID, the user name, and a pre-configured root directory, and the mail content is obtained according to the result set path.
- processor 1001 may call the mail sending program stored in the memory 1005, and also perform the following operations:
- the data type in the metadata information is a picture, it is determined that the corresponding target content parser is a picture content parser;
- a corresponding picture tag is generated, and the picture tag is used as an intermediate object.
- processor 1001 may call the mail sending program stored in the memory 1005, and also perform the following operations:
- the data type in the metadata information is Hypertext Markup Language HTML, it is determined that the corresponding target content parser is an HTML content parser;
- processor 1001 may call the mail sending program stored in the memory 1005, and also perform the following operations:
- the data type in the metadata information is a table, it is determined that the corresponding target content parser is a table content parser;
- the text in the nested preset table header tag is merged with the text in the nested row tag, and nested into the preset table tag to obtain an intermediate object.
- processor 1001 may call the mail sending program stored in the memory 1005, and also perform the following operations:
- the data type in the metadata information is a file, it is determined that the corresponding target content parser is a file content parser;
- the value of the result set is multiple lines, the value of the result set is processed by line, and the intermediate object is obtained based on the result of the line branch processing, the preset paragraph tag and the preset line break tag.
- processor 1001 may call the mail sending program stored in the memory 1005, and also perform the following operations:
- the data type in the metadata information is a link, it is determined that the corresponding target content parser is a link content parser;
- the value of the result set is a single line, the value of the result set is converted into a first hyperlink label, and the file name of the result set corresponding to the email content is used as the prompt information of the first hyperlink label , Get the intermediate object;
- the second hyperlink label is merged, and the file name of the result set corresponding to the email content is used as the prompt information of the merged second hyperlink label to obtain an intermediate object.
- processor 1001 may call the mail sending program stored in the memory 1005, and also perform the following operations:
- the mail body and the basic information of the mail are filled into the mail object, and the filled mail object is submitted to a preset mail client for sending.
- This application provides an email sending method.
- FIG. 2 is a schematic flowchart of a first embodiment of a mail sending method according to this application.
- the mail sending method includes:
- Step S10 when receiving the email sending request, obtain email content and basic email information according to the email sending request, where the email content includes metadata information and the value of the result set;
- the mail sending method of this embodiment is implemented by a mail sending device, which is equipped with a mail sender and various types of content parsers.
- mail sending is placed in the workflow as a node, so that in a series of logic, it can be simply and flexibly defined to send mail after certain steps, without the need for specific implementations for specific situations.
- the preset node in the workflow can trigger the corresponding email sending request after executing the task.
- the email sender receives the email sending request, it can obtain the email content and basic email information according to the email sending request.
- the email content includes metadata information and the value of the result set.
- the metadata information includes data types (such as pictures, tables, texts, links, etc.) and basic data information (such as size, field names, field types, etc.).
- step S10 includes:
- Step a1 when receiving the email sending request, obtain the job ID, user name and basic email information according to the email sending request;
- Step a2 Generate a result set path according to the job ID, the user name and the pre-configured root directory, and obtain the mail content according to the result set path.
- the job ID (Identity ID) is obtained according to the email sending request through the email sender. document, number), user name and basic email information, where the job ID is the job ID of the pre-node of the node where the mail sender is located in the workflow, and also the job ID of the node that triggered the email sending request.
- the basic email information includes But not limited to the sender, recipient, mail title, etc. Then, the result set path is generated according to the job ID, user name and the pre-configured root directory.
- the method of generating the result path path can be generated in a preset format, where the preset format can be ⁇ pre-configured root directory + user name + job ID ⁇ , after getting the result set path, get the email content according to the result set path.
- the mail content is the result set obtained according to the result set path, which is the execution result of the pre-node.
- Step S20 Determine a corresponding target content parser according to the data type in the metadata information, and perform parsing processing on the value of the result set through the target content parser to obtain an intermediate object;
- the corresponding target content parser is determined according to the data type in the metadata information, and the value of the result set is analyzed through the target content parser to obtain the intermediate object.
- data types include but are not limited to pictures, HTML (HyperText Markup Language (Hyper Text Markup Language), tables, files, and links have different parsing processes for different data types.
- HTML HyperText Markup Language
- tables, files, and links have different parsing processes for different data types.
- the specific parsing process please refer to the following second embodiment, which will not be repeated here.
- step S30 the intermediate objects are merged in the order of analysis, and the merged intermediate objects are inserted into the preset structure to obtain the mail body;
- the intermediate objects are merged in the order of analysis, and the merged intermediate objects are inserted into the preset structure to obtain the mail body.
- merging it simply merges the intermediate objects into a complete HTML structure (ie, simple String+String) in the order of parsing.
- the default structure is ⁇ html> ⁇ body> ⁇ /body> ⁇ in one embodiment.
- /html> the merged intermediate object can be inserted between ⁇ body> and ⁇ /body> of the preset structure to obtain a complete structure as the final mail body.
- Step S40 Send the mail body based on the basic information of the mail.
- step S40 includes:
- Step b1 Obtain the types of mail clients that can be supported by the current environment, and create a corresponding type of mail object according to the types of mail clients that can be supported by the current environment and a preset mapping relationship;
- Step b2 filling the mail body and the basic information of the mail into the mail object, and submitting the filled mail object to a preset mail client for sending.
- the mail client types supported by the current environment After obtaining the mail body, obtain the mail client types supported by the current environment, and create corresponding types of mail objects according to the mail client types supported by the current environment and the preset mapping relationship, where the preset mapping relationship includes the mail client
- the mapping relationship between the type and the mail object type For example, when the mail client type is SpringJavaMail (that is, when mail is sent through the JavaMailSender interface provided by Spring), MIME (Multipurpose Internet Mail Extensions, multi-purpose Internet mail extension) object; when the mail client type is HTTP mail client (that is, mail client that realizes mail sending based on HTTP protocol), Json (JavaScript) can be created Object Notation, JS object notation, lightweight data exchange format) object.
- the mail body and basic information of the mail are filled into the mail object, and the filled mail object is submitted to the preset mail client for sending.
- the preset mapping relationship can provide support for a variety of common mail clients, while leaving corresponding expansion space for other clients, so as to realize the flexibility of supporting the expansion of the mail client.
- the embodiment of the application provides an email sending method.
- the email content and basic email information can be obtained according to the email sending request; then, the corresponding target content parser is determined according to the data type in the metadata information, The value of the result set is parsed by the target content parser to obtain the intermediate object; then the intermediate objects are merged in the order of analysis, and the merged intermediate objects are inserted into the preset structure to obtain the mail body, based on the basic information of the mail Send the message body.
- the embodiments of this application define corresponding standard parsing and processing methods for different data types, and can uniformly convert the format of the mail content into a standard intermediate format to obtain the mail content, and then proceed Sending, through the above method, the unified conversion of the data format can be realized, without the application program repeatedly implementing the corresponding logic, therefore, the development efficiency in the development process of the mail sending function can be improved, and the manpower can be saved.
- step S20 may include:
- Step c11 If the data type in the metadata information is a picture, it is determined that the corresponding target content parser is a picture content parser;
- Step c12 Obtain a picture format from the metadata information through the picture content parser, and restore the value of the result set to picture data corresponding to the picture format;
- Step c13 calling a preset constructor to process the picture data to obtain a processing object
- Step c14 based on the processing object and the preset picture tag format, generate a corresponding picture tag, and use the picture tag as an intermediate object.
- the process of processing picture data is introduced.
- the specific process is as follows: if the data type in the metadata information is a picture, the corresponding target content parser is determined to be a picture content parser; then, the picture content parser is used to obtain the picture format (such as png, jpg, etc.) from the metadata information ), and restore the value of the result set to the image data corresponding to the image format; and then call the preset constructor to process the image data to obtain the processing object, where the preset constructor can be selected as the BufferedImage constructor, by calling BufferedImage
- the constructor can realize the scaling and gray-scale processing of the image data.
- the corresponding image tag is generated, and the image tag is used as an intermediate object.
- the preset picture format tag is the ⁇ img> tag
- step S20 may also include:
- Step c21 If the data type in the metadata information is Hypertext Markup Language HTML, determine that the corresponding target content parser is an HTML content parser;
- Step c22 verifying whether the value of the result set conforms to the preset email HTML specification through the HTML content parser
- step c23 if it matches, extract the sub-HTML in the body tag from the value of the result set, and use the sub-HTML as an intermediate object.
- This embodiment introduces the processing process of HTML data.
- the specific process is as follows: if the data type in the metadata information is HTML (HyperText Markup Language), the corresponding target content parser is determined to be an HTML content parser; then, the result set is verified by the HTML content parser Whether the value of is in compliance with the default email HTML specification, where the preset email HTML specification can include but is not limited to: has a complete ⁇ html> ⁇ body> ⁇ /body> ⁇ /html> structure, the tags are closed, and the HTML-supported tags, JavaScript scripts are not nested, etc. If it conforms to the preset email HTML specification, the sub-HTML in the body tag is extracted from the value of the result set, and the sub-HTML is used as an intermediate object. Among them, the body tag is the ⁇ body> tag.
- step S20 may also include:
- Step c31 If the data type in the metadata information is a table, it is determined that the corresponding target content parser is a table content parser;
- Step c32 Read the field name in the metadata information through the form content parser, generate a corresponding first cell label based on the field name, and nest the first cell label in a preset In the header label;
- Step c33 Obtain the number of table rows and the value of each column in each row of the table according to the value of the result set, and generate the same number of row labels as the number of rows of the table;
- Step c34 generating a corresponding second cell label according to the value of each column in each row of the table, and nesting the second cell label in the corresponding row label;
- Step c35 Combine the text in the nested preset table header tag with the text in the nested row tag, and nest it in the preset table tag to obtain an intermediate object.
- This embodiment introduces the processing procedure of table data.
- the specific process is as follows: If the data type in the metadata information is a table, the corresponding target content parser is determined to be a table content parser; then, the field name in the metadata information is read through the table content parser and generated based on the field name Corresponding to the first cell label, and nest the first cell label in the preset header label.
- the first cell table is generated based on the field name and the preset cell label (which is the ⁇ td> label), and the default header label is the ⁇ th> label.
- the corresponding first cell tags can be generated as ⁇ td>name ⁇ /td> and ⁇ td>score ⁇ /td>. After the first cell tag is nested in the preset header tag, The following results can be obtained:
- the intermediate objects can be obtained as follows:
- step S20 may also include:
- Step c41 If the data type in the metadata information is a file, it is determined that the corresponding target content parser is a file content parser;
- Step c42 detecting, by the file content parser, whether the value of the result set is a single line or multiple lines;
- Step c43 if the value of the result set is a single line, use the value of the result set as the content of the preset paragraph tag to obtain an intermediate object;
- step c44 if the value of the result set is multiple lines, the value of the result set is subjected to branch processing, and an intermediate object is obtained based on the branch processing result, the preset paragraph tag and the preset line break tag.
- the process of processing file data is introduced.
- the specific process is as follows: if the data type in the metadata information is a file, the corresponding target content parser is determined to be a file content parser; then, the file content parser is used to detect whether the value of the result set is single or multi-line; if the result set The value of is a single line, the value of the result set is directly used as the content of the preset paragraph tag to obtain an intermediate object, where the preset paragraph tag can be a ⁇ p> tag; if the value of the result set is multiple lines, the result set The value of is subjected to branch processing, and then the intermediate object is obtained based on the branch processing result, the preset paragraph tag and the preset line break tag.
- the value of the result set can be split according to the newline character ( ⁇ n), and multiple lines of text can be split.
- the text content of each line is used as the content of a preset paragraph tag to obtain multiple paragraph tags.
- the preset line break tag ( ⁇ br> tag) as the spacer to merge the multiple paragraph tags obtained by the above processing to obtain the corresponding intermediate object.
- step S20 may also include:
- Step c51 If the data type in the metadata information is a link, it is determined that the corresponding target content parser is a link content parser;
- Step c52 detecting, by the link content parser, whether the value of the result set is a single line or multiple lines;
- Step c53 If the value of the result set is a single line, the value of the result set is converted into a first hyperlink label, and the file name of the result set corresponding to the email content is used as the first hyperlink label To get the intermediate object;
- Step c54 If the value of the result set is multiple rows, perform branch processing on the value of the result set, and convert the values of the branched result set into corresponding second hyperlink labels;
- step c55 the second hyperlink tags are merged, and the file name of the result set corresponding to the email content is used as the prompt information of the merged second hyperlink tag to obtain an intermediate object.
- This embodiment introduces the processing procedure of link data.
- the specific process is as follows: if the data type in the metadata information is a link (URL link), the corresponding target content parser is determined to be a link content parser; then, the value of the result set is detected by the link content parser as a single line or multiple lines .
- the value of the result set is a single line
- the value of the result set is converted into the first hyperlink label
- the file name of the result set corresponding to the email content is used as the prompt information of the first hyperlink label to obtain the intermediate object.
- the generation process of the first hyperlink label is: according to the value of the result set directly as the href (Hypertext label) of the preset hyperlink label Reference, hypertext reference) attribute, where the preset hyperlink tag can be an ⁇ a> tag.
- the value of the result set is multiple rows, the value of the result set will be processed in rows, and the value of the result set after the branch will be converted into the corresponding second hyperlink label.
- the line can be changed according to The character ( ⁇ n) divides the value of the result set to obtain multiple lines of text, and use the text content of each line as the href attribute of a preset hyperlink label to obtain multiple hyperlink labels. Then, the second hyperlink label is merged, and the file name of the result set corresponding to the email content is used as the prompt information of the merged second hyperlink label to obtain the intermediate object.
- This application also provides a mail sending device.
- FIG. 3 is a schematic diagram of the functional modules of the first embodiment of the mail sending device of this application.
- the mail sending device includes:
- the obtaining module 10 is configured to obtain email content and basic email information according to the email sending request when a email sending request is received, where the email content includes metadata information and the value of the result set;
- the parsing module 20 is configured to determine a corresponding target content parser according to the data type in the metadata information, and perform parsing processing on the value of the result set through the target content parser to obtain an intermediate object;
- the merging module 30 is used for merging the intermediate objects in the order of analysis, and inserting the merged intermediate objects into the preset structure to obtain the mail body;
- the sending module 40 is configured to send the body of the mail based on the basic information.
- the acquisition module 10 includes:
- the first obtaining unit is configured to obtain the job ID, user name, and basic email information according to the email sending request when the email sending request is received;
- the second obtaining unit is configured to generate a result set path according to the job ID, the user name, and a pre-configured root directory, and obtain the mail content according to the result set path.
- the analysis module 20 includes a first analysis unit for:
- the data type in the metadata information is a picture, it is determined that the corresponding target content parser is a picture content parser;
- a corresponding picture tag is generated, and the picture tag is used as an intermediate object.
- analysis module 20 includes a second analysis unit for:
- the data type in the metadata information is Hypertext Markup Language HTML, it is determined that the corresponding target content parser is an HTML content parser;
- analysis module 20 includes a third analysis unit for:
- the data type in the metadata information is a table, it is determined that the corresponding target content parser is a table content parser;
- the text in the nested preset table header tag is merged with the text in the nested row tag, and nested into the preset table tag to obtain an intermediate object.
- analysis module 20 includes a fourth analysis unit for:
- the data type in the metadata information is a file, it is determined that the corresponding target content parser is a file content parser;
- the value of the result set is multiple lines, the value of the result set is processed by line, and the intermediate object is obtained based on the result of the line branch processing, the preset paragraph tag and the preset line break tag.
- parsing module 20 includes a fifth parsing unit for:
- the data type in the metadata information is a link, it is determined that the corresponding target content parser is a link content parser;
- the value of the result set is a single line, the value of the result set is converted into a first hyperlink label, and the file name of the result set corresponding to the email content is used as the prompt information of the first hyperlink label , Get the intermediate object;
- the second hyperlink label is merged, and the file name of the result set corresponding to the email content is used as the prompt information of the merged second hyperlink label to obtain an intermediate object.
- the sending module 40 includes:
- the creation unit is configured to obtain the types of mail clients that can be supported by the current environment, and create corresponding types of mail objects according to the types of mail clients that can be supported by the current environment and the preset mapping relationship;
- the sending unit is configured to fill the mail body and the basic information of the mail into the mail object, and submit the filled mail object to a preset mail client for sending.
- each module in the above-mentioned mail sending device corresponds to each step in the above-mentioned embodiment of the mail sending method, and the function and realization process thereof will not be repeated here.
- the present application also provides a computer-readable storage medium having a mail sending program stored on the computer-readable storage medium, and when the mail sending program is executed by a processor, the mail sending method as described in any of the above embodiments is implemented step.
- the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM) as described above. , Magnetic disks, optical disks), including several instructions to make a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present application.
- a terminal device which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本申请涉及金融科技技术领域,公开了一种邮件发送方法、装置、设备及计算机可读存储介质。该邮件发送方法包括:在接收到邮件发送请求时,根据所述邮件发送请求获取邮件内容和邮件基本信息,所述邮件内容包括元数据信息和结果集的值;根据所述元数据信息中的数据类型确定对应的目标内容解析器,并通过所述目标内容解析器对所述结果集的值进行解析处理,得到中间对象;按解析顺序对所述中间对象进行合并,并将合并后的中间对象***预设结构中,得到邮件正文;基于所述邮件基本信息对所述邮件正文进行发送。
Description
本申请要求于2019年11月12日申请的、申请号为201911103307.3、名称为“邮件发送方法、装置、设备及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及金融科技(Fintech)技术领域,尤其涉及一种邮件发送方法、装置、设备及计算机可读存储介质。
随着计算机技术的发展,越来越多的技术应用在金融领域,传统金融业正在逐步向金融科技(Fintech)转变,但由于金融行业的安全性、实时性要求,也对技术提出了更高的要求。
电子邮件(简称E-mail)是一种用电子手段提供信息交换的通信方式,是互联网应用最广的服务,具有简易、快速的特点。通过电子邮件的方式,可以实现各类信息的传送、接收、存贮等处理,将邮件送到世界的各个角落。因此,邮件已经成为人们日常工作和生活中一个重要的沟通方式。
目前,应用程序在发送邮件的过程中,会先获取需发送的应用数据,然后将原始格式的应用数据转换成邮件客户端可接收的结构化数据,得到邮件内容,进而根据部署环境中邮件服务提供方的实际情况,将邮件投递信息和邮件内容以规定的格式通过规定的接口传输给邮件客户端。由于各邮件客户端可接收的数据格式不尽相同,在对应用数据进行格式转换时,虽然有较为通用的格式集中转换的工具,但考虑到一个应用程序真正使用到的数据类型极为有限,引入通用的工具反而使应用的逻辑更加复杂,因此目前一般还是由应用程序反复实现相应的逻辑,从而造成开发人力的浪费、开发效率也较低。
本申请的主要目的在于提供一种邮件发送方法、装置、设备及计算机可读存储介质,旨在解决现有的邮件发送功能开发过程中、开发效率较低的问题。
为实现上述目的,本申请提供一种邮件发送方法,所述邮件发送方法包括:
在接收到邮件发送请求时,根据所述邮件发送请求获取邮件内容和邮件基本信息,所述邮件内容包括元数据信息和结果集的值;
根据所述元数据信息中的数据类型确定对应的目标内容解析器,并通过所述目标内容解析器对所述结果集的值进行解析处理,得到中间对象;
按解析顺序对所述中间对象进行合并,并将合并后的中间对象***预设结构中,得到邮件正文;
基于所述邮件基本信息对所述邮件正文进行发送。
在一实施例中,所述在接收到邮件发送请求时,根据所述邮件发送请求获取邮件内容和邮件基本信息的步骤包括:
在接收到邮件发送请求时,根据所述邮件发送请求获取作业编号ID、用户名和邮件基本信息;
根据所述作业ID、所述用户名和预先配置的根目录生成结果集路径,并根据所述结果集路径获取邮件内容。
在一实施例中,所述根据所述元数据信息中的数据类型确定对应的目标内容解析器,并通过所述目标内容解析器对所述结果集的值进行解析处理,得到中间对象的步骤包括:
若所述元数据信息中的数据类型为图片,则确定对应的目标内容解析器为图片内容解析器;
通过所述图片内容解析器从所述元数据信息中获取图片格式,并将所述结果集的值还原成与所述图片格式对应的图片数据;
调用预设构造函数对所述图片数据进行处理,得到处理对象;
基于所述处理对象和预设图片标签格式,生成对应的图片标签,并将所述图片标签作为中间对象。
在一实施例中,所述根据所述元数据信息中的数据类型确定对应的目标内容解析器,并通过所述目标内容解析器对所述结果集的值进行解析处理,得到中间对象的步骤包括:
若所述元数据信息中的数据类型为超文本标记语言HTML,则确定对应的目标内容解析器为HTML内容解析器;
通过所述HTML内容解析器校验所述结果集的值是否符合预设邮件HTML规范;
若符合,则从所述结果集的值中提取出正文体标签内的子HTML,并将所述子HTML作为中间对象。
在一实施例中,所述根据所述元数据信息中的数据类型确定对应的目标内容解析器,并通过所述目标内容解析器对所述结果集的值进行解析处理,得到中间对象的步骤包括:
若所述元数据信息中的数据类型为表格,则确定对应的目标内容解析器为表格内容解析器;
通过所述表格内容解析器读取所述元数据信息中的字段名称,基于所述字段名称生成对应的第一单元格标签,并将所述第一单元格标签嵌套在预设表头标签内;
根据所述结果集的值获取表格行数及表格各行内部各列的值,生成与所述表格行数相同数量的行标签;
根据所述表格各行内部各列的值生成对应的第二单元格标签,并将所述第二单元格标签嵌套在对应的行标签内;
将嵌套后的预设表头标签内的文本与嵌套后的行标签内的文本进行合并,并嵌套至预设表格标签内,得到中间对象。
在一实施例中,所述根据所述元数据信息中的数据类型确定对应的目标内容解析器,并通过所述目标内容解析器对所述结果集的值进行解析处理,得到中间对象的步骤包括:
若所述元数据信息中的数据类型为文件,则确定对应的目标内容解析器为文件内容解析器;
通过所述文件内容解析器检测所述结果集的值为单行还是多行;
若所述结果集的值为单行,则将所述结果集的值作为预设段落标签的内容,得到中间对象;
若所述结果集的值为多行,则对所述结果集的值进行分行处理,基于分行处理结果、所述预设段落标签和预设换行标签,得到中间对象。
在一实施例中,所述根据所述元数据信息中的数据类型确定对应的目标内容解析器,并通过所述目标内容解析器对所述结果集的值进行解析处理,得到中间对象的步骤包括:
若所述元数据信息中的数据类型为链接,则确定对应的目标内容解析器为链接内容解析器;
通过所述链接内容解析器检测所述结果集的值为单行还是多行;
若所述结果集的值为单行,则将所述结果集的值转换成第一超链接标签,并将所述邮件内容对应的结果集的文件名作为所述第一超链接标签的提示信息,得到中间对象;
若所述结果集的值为多行,则对所述结果集的值进行分行处理,将分行后的结果集的值分别转换成对应的第二超链接标签;
对所述第二超链接标签进行合并,并将所述邮件内容对应的结果集的文件名作为合并后的第二超链接标签的提示信息,得到中间对象。
在一实施例中,所述基于所述基本信息对所述邮件正文进行发送的步骤包括:
获取当前环境可支持的邮件客户端类型,并根据所述当前环境可支持的邮件客户端类型和预设映射关系创建对应类型的邮件对象;
将所述邮件正文和所述邮件基本信息填充至所述邮件对象中,并将填充后的邮件对象提交至预设邮件客户端进行发送。
此外,为实现上述目的,本申请还提供一种邮件发送装置,所述邮件发送装置包括:
获取模块,用于在接收到邮件发送请求时,根据所述邮件发送请求获取邮件内容和邮件基本信息,所述邮件内容包括元数据信息和结果集的值;
解析模块,用于根据所述元数据信息中的数据类型确定对应的目标内容解析器,并通过所述目标内容解析器对所述结果集的值进行解析处理,得到中间对象;
合并模块,用于按解析顺序对所述中间对象进行合并,并将合并后的中间对象***预设结构中,得到邮件正文;
发送模块,用于基于所述基本信息对所述邮件正文进行发送。
此外,为实现上述目的,本申请还提供一种邮件发送设备,所述邮件发送设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的邮件发送程序,所述邮件发送程序被所述处理器执行时实现如上所述的邮件发送方法的步骤。
此外,为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有邮件发送程序,所述邮件发送程序被处理器执行时实现如上所述的邮件发送方法的步骤。
本申请提供一种邮件发送方法、装置、设备及计算机可读存储介质,在接收到邮件发送请求时,可根据邮件发送请求获取邮件内容和邮件基本信息;然后,根据元数据信息中的数据类型确定对应的目标内容解析器,并通过目标内容解析器对结果集的值进行解析处理,得到中间对象;进而按解析顺序对中间对象进行合并,并将合并后的中间对象***预设结构中,得到邮件正文,基于邮件基本信息对邮件正文进行发送。本申请为了适配各种邮件客户端的数据格式,针对不同的数据类型定义了对应的标准解析处理方式,可统一将邮件内容的格式转换成一标准的中间格式,以得到邮件内容,进而进行发送,从而实现了数据格式的统一转换,无需应用程序反复实现相应的逻辑,因此,本申请可提高邮件发送功能开发过程中的开发效率。
图1为本申请实施例方案涉及的硬件运行环境的设备结构示意图;
图2为本申请邮件发送方法第一实施例的流程示意图;
图3为本申请邮件发送装置第一实施例的功能模块示意图。
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
参照图1,图1为本申请实施例方案涉及的硬件运行环境的设备结构示意图。
本申请实施例邮件发送设备可以是智能手机,也可以是PC(Personal
Computer,个人计算机)、平板电脑、便携计算机等终端设备。
如图1所示,该邮件发送设备可以包括:处理器1001,例如CPU,通信总线1002,用户接口1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如Wi-Fi接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。
本领域技术人员可以理解,图1中示出的邮件发送设备结构并不构成对邮件发送设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作***、网络通信模块、用户接口模块以及邮件发送程序。
在图1所示的终端中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端,与客户端进行数据通信;而处理器1001可以用于调用存储器1005中存储的邮件发送程序,并执行以下操作:
在接收到邮件发送请求时,根据所述邮件发送请求获取邮件内容和邮件基本信息,所述邮件内容包括元数据信息和结果集的值;
根据所述元数据信息中的数据类型确定对应的目标内容解析器,并通过所述目标内容解析器对所述结果集的值进行解析处理,得到中间对象;
按解析顺序对所述中间对象进行合并,并将合并后的中间对象***预设结构中,得到邮件正文;
基于所述邮件基本信息对所述邮件正文进行发送。
进一步地,处理器1001可以调用存储器1005中存储的邮件发送程序,还执行以下操作:
在接收到邮件发送请求时,根据所述邮件发送请求获取作业编号ID、用户名和邮件基本信息;
根据所述作业ID、所述用户名和预先配置的根目录生成结果集路径,并根据所述结果集路径获取邮件内容。
进一步地,处理器1001可以调用存储器1005中存储的邮件发送程序,还执行以下操作:
若所述元数据信息中的数据类型为图片,则确定对应的目标内容解析器为图片内容解析器;
通过所述图片内容解析器从所述元数据信息中获取图片格式,并将所述结果集的值还原成与所述图片格式对应的图片数据;
调用预设构造函数对所述图片数据进行处理,得到处理对象;
基于所述处理对象和预设图片标签格式,生成对应的图片标签,并将所述图片标签作为中间对象。
进一步地,处理器1001可以调用存储器1005中存储的邮件发送程序,还执行以下操作:
若所述元数据信息中的数据类型为超文本标记语言HTML,则确定对应的目标内容解析器为HTML内容解析器;
通过所述HTML内容解析器校验所述结果集的值是否符合预设邮件HTML规范;
若符合,则从所述结果集的值中提取出正文体标签内的子HTML,并将所述子HTML作为中间对象。
进一步地,处理器1001可以调用存储器1005中存储的邮件发送程序,还执行以下操作:
若所述元数据信息中的数据类型为表格,则确定对应的目标内容解析器为表格内容解析器;
通过所述表格内容解析器读取所述元数据信息中的字段名称,基于所述字段名称生成对应的第一单元格标签,并将所述第一单元格标签嵌套在预设表头标签内;
根据所述结果集的值获取表格行数及表格各行内部各列的值,生成与所述表格行数相同数量的行标签;
根据所述表格各行内部各列的值生成对应的第二单元格标签,并将所述第二单元格标签嵌套在对应的行标签内;
将嵌套后的预设表头标签内的文本与嵌套后的行标签内的文本进行合并,并嵌套至预设表格标签内,得到中间对象。
进一步地,处理器1001可以调用存储器1005中存储的邮件发送程序,还执行以下操作:
若所述元数据信息中的数据类型为文件,则确定对应的目标内容解析器为文件内容解析器;
通过所述文件内容解析器检测所述结果集的值为单行还是多行;
若所述结果集的值为单行,则将所述结果集的值作为预设段落标签的内容,得到中间对象;
若所述结果集的值为多行,则对所述结果集的值进行分行处理,基于分行处理结果、所述预设段落标签和预设换行标签,得到中间对象。
进一步地,处理器1001可以调用存储器1005中存储的邮件发送程序,还执行以下操作:
若所述元数据信息中的数据类型为链接,则确定对应的目标内容解析器为链接内容解析器;
通过所述链接内容解析器检测所述结果集的值为单行还是多行;
若所述结果集的值为单行,则将所述结果集的值转换成第一超链接标签,并将所述邮件内容对应的结果集的文件名作为所述第一超链接标签的提示信息,得到中间对象;
若所述结果集的值为多行,则对所述结果集的值进行分行处理,将分行后的结果集的值分别转换成对应的第二超链接标签;
对所述第二超链接标签进行合并,并将所述邮件内容对应的结果集的文件名作为合并后的第二超链接标签的提示信息,得到中间对象。
进一步地,处理器1001可以调用存储器1005中存储的邮件发送程序,还执行以下操作:
获取当前环境可支持的邮件客户端类型,并根据所述当前环境可支持的邮件客户端类型和预设映射关系创建对应类型的邮件对象;
将所述邮件正文和所述邮件基本信息填充至所述邮件对象中,并将填充后的邮件对象提交至预设邮件客户端进行发送。
基于上述硬件结构,提出本申请邮件发送方法的各实施例。
本申请提供一种邮件发送方法。
参照图2,图2为本申请邮件发送方法第一实施例的流程示意图。
在本实施例中,该邮件发送方法包括:
步骤S10,在接收到邮件发送请求时,根据所述邮件发送请求获取邮件内容和邮件基本信息,所述邮件内容包括元数据信息和结果集的值;
本实施例的邮件发送方法是由邮件发送设备实现的,该设备中搭载有邮件发送器和各种类型的内容解析器。在本实施例中,是将邮件发送作为一个节点置于工作流中,使得在一系列逻辑中、能够简单灵活的定义在某些步骤之后进行邮件的发送,无需针对具体情况做相应的特定实现。具体的,工作流中的预设节点在执行完任务后,可触发对应的邮件发送请求,此时,邮件发送器在接收到邮件发送请求时,可根据邮件发送请求获取邮件内容和邮件基本信息,其中,邮件内容包括元数据信息和结果集的值,元数据信息包括数据类型(如图片、表格、文本、链接等)和数据基本信息(如大小、字段名称、字段类型等)。具体的,步骤S10包括:
步骤a1,在接收到邮件发送请求时,根据所述邮件发送请求获取作业编号ID、用户名和邮件基本信息;
步骤a2,根据所述作业ID、所述用户名和预先配置的根目录生成结果集路径,并根据所述结果集路径获取邮件内容。
在接收到邮件发送请求时,通过邮件发送器根据邮件发送请求获取作业ID(Identity
document,编号)、用户名和邮件基本信息,其中,作业ID即为工作流上邮件发送器所在节点的前置节点的作业ID,同时也是触发该邮件发送请求的节点的作业ID,邮件基本信息包括但不限于发件人、收件人、邮件标题等。然后,根据作业ID、用户名和预先配置的根目录生成结果集路径,其中,结果路路径的生成方式可以预设格式进行生成,其中预设格式可以为{预先配置的根目录+用户名+作业ID},在得到结果集路径后,根据结果集路径获取邮件内容。其中,邮件内容即为根据结果集路径获取到的结果集,为前置节点的执行结果。通过上述方式,可以将工作流中的前置节点作为邮件内容进行发送,并通过工作流的上下文共享机制,以统一的方式来获取节点的执行结果作为邮件内容。
步骤S20,根据所述元数据信息中的数据类型确定对应的目标内容解析器,并通过所述目标内容解析器对所述结果集的值进行解析处理,得到中间对象;
然后,根据元数据信息中的数据类型确定对应的目标内容解析器,并通过目标内容解析器对结果集的值进行解析处理,得到中间对象。其中,数据类型包括但不限于图片、HTML(HyperText
Markup Language,超级文本标记语言)、表格、文件和链接,不同的数据类型对应有不同的解析处理过程,具体的解析处理过程可参照下述第二实施例,此处不作赘述。通过针对不同的数据类型定义对应的标准解析处理方式,可统一将邮件内容的格式转换成一标准的中间格式,从而无需应用反复实现相应逻辑,可避免开发人力的浪费,提高邮件发送功能的开发效率。
步骤S30,按解析顺序对所述中间对象进行合并,并将合并后的中间对象***预设结构中,得到邮件正文;
在得到中间对象之后,按解析顺序对中间对象进行合并,并将合并后的中间对象***预设结构中,得到邮件正文。在合并时,只是简单地按照解析顺序将中间对象合并为一个完整的HTML结构(即简单的String+String),预设结构,在一实施例中为<html><body></body></html>,可将合并后的中间对象***预设结构的<body>和</body>之间,以得到一完整结构,作为最终的邮件正文。
步骤S40,基于所述邮件基本信息对所述邮件正文进行发送。
在得到邮件正文之后,基于邮件基本信息对邮件正文进行发送。具体的,步骤S40包括:
步骤b1,获取当前环境可支持的邮件客户端类型,并根据所述当前环境可支持的邮件客户端类型和预设映射关系创建对应类型的邮件对象;
步骤b2,将所述邮件正文和所述邮件基本信息填充至所述邮件对象中,并将填充后的邮件对象提交至预设邮件客户端进行发送。
在得到邮件正文之后,获取当前环境可支持的邮件客户端类型,并根据当前环境可支持的邮件客户端类型和预设映射关系创建对应类型的邮件对象,其中,预设映射关系包括邮件客户端类型与邮件对象类型之间的映射关系,例如,邮件客户端类型为SpringJavaMail(即指通过Spring提供的JavaMailSender接口实现邮件发送)时,可创建MIME(Multipurpose Internet
Mail Extensions,多用途互联网邮件扩展)对象;邮件客户端类型为HTTP邮件客户端(即指基于HTTP协议实现邮件发送的邮件客户端)时,可创建Json(JavaScript
Object Notation,JS对象简谱,轻量级的数据交换格式)对象。然后,将邮件正文和邮件基本信息填充至邮件对象中,并将填充后的邮件对象提交至预设邮件客户端进行发送。当然,可以理解,预设映射关系中可提供多种常见邮件客户端的支持,同时可留有对应的扩展空间给其他客户端,以实现可支持邮件客户端扩展的灵活性。通过上述方式,可实现多种客户端接口的适配。
本申请实施例提供一种邮件发送方法,在接收到邮件发送请求时,可根据邮件发送请求获取邮件内容和邮件基本信息;然后,根据元数据信息中的数据类型确定对应的目标内容解析器,并通过目标内容解析器对结果集的值进行解析处理,得到中间对象;进而按解析顺序对中间对象进行合并,并将合并后的中间对象***预设结构中,得到邮件正文,基于邮件基本信息对邮件正文进行发送。本申请实施例为了适配各种邮件客户端的数据格式,针对不同的数据类型定义了对应的标准解析处理方式,可统一将邮件内容的格式转换成一标准的中间格式,以得到邮件内容,进而进行发送,通过上述方式,可实现数据格式的统一转换,无需应用程序反复实现相应的逻辑,因此,可提高邮件发送功能开发过程中的开发效率,节省人力。
进一步的,基于上述第一实施例,提出本申请邮件发送方法的第二实施例。
在本实施例中,步骤S20可以包括:
步骤c11,若所述元数据信息中的数据类型为图片,则确定对应的目标内容解析器为图片内容解析器;
步骤c12,通过所述图片内容解析器从所述元数据信息中获取图片格式,并将所述结果集的值还原成与所述图片格式对应的图片数据;
步骤c13,调用预设构造函数对所述图片数据进行处理,得到处理对象;
步骤c14,基于所述处理对象和预设图片标签格式,生成对应的图片标签,并将所述图片标签作为中间对象。
本实施例中介绍了图片类数据的处理过程。具体过程如下:若元数据信息中的数据类型为图片,则确定对应的目标内容解析器为图片内容解析器;然后,通过图片内容解析器从元数据信息中获取图片格式(如png、jpg等),并将结果集的值还原成与图片格式对应的图片数据;进而调用预设构造函数对图片数据进行处理,得到处理对象,其中,预设构造函数可选为BufferedImage构造函数,通过调用BufferedImage构造函数,可实现对图片数据的缩放处理、灰度处理等。最后,基于处理对象和预设图片标签格式,生成对应的图片标签,并将图片标签作为中间对象。其中,预设图片格式标签为<img>标签,最终生成的图片标签的格式可以为:<imgsrc=’data:image/jpeg;base64,{图片的base64编码}’></img>。
进一步地,步骤S20还可以包括:
步骤c21,若所述元数据信息中的数据类型为超文本标记语言HTML,则确定对应的目标内容解析器为HTML内容解析器;
步骤c22,通过所述HTML内容解析器校验所述结果集的值是否符合预设邮件HTML规范;
步骤c23,若符合,则从所述结果集的值中提取出正文体标签内的子HTML,并将所述子HTML作为中间对象。
本实施例中介绍了HTML类数据的处理过程。具体过程如下:若元数据信息中的数据类型为HTML(HyperText Markup Language,超文本标记语言),则确定对应的目标内容解析器为HTML内容解析器;然后,通过HTML内容解析器校验结果集的值是否符合预设邮件HTML规范,其中,预设邮件HTML规范可以包括但不限于:具有完整的<html><body></body></html>结构,标签均有闭合,使用的是HTML支持的标签,没有嵌套使用JavaScript脚本等。若符合预设邮件HTML规范,则从结果集的值中提取出正文体标签内的子HTML,并将子HTML作为中间对象。其中,正文体标签为<body>标签。
进一步地,步骤S20还可以包括:
步骤c31,若所述元数据信息中的数据类型为表格,则确定对应的目标内容解析器为表格内容解析器;
步骤c32,通过所述表格内容解析器读取所述元数据信息中的字段名称,基于所述字段名称生成对应的第一单元格标签,并将所述第一单元格标签嵌套在预设表头标签内;
步骤c33,根据所述结果集的值获取表格行数及表格各行内部各列的值,生成与所述表格行数相同数量的行标签;
步骤c34,根据所述表格各行内部各列的值生成对应的第二单元格标签,并将所述第二单元格标签嵌套在对应的行标签内;
步骤c35,将嵌套后的预设表头标签内的文本与嵌套后的行标签内的文本进行合并,并嵌套至预设表格标签内,得到中间对象。
本实施例中介绍了表格类数据的处理过程。具体过程如下:若元数据信息中的数据类型为表格,则确定对应的目标内容解析器为表格内容解析器;然后,通过表格内容解析器读取元数据信息中的字段名称,基于字段名称生成对应的第一单元格标签,并将第一单元格标签嵌套在预设表头标签内。其中,第一单元格表格是基于字段名称和预设单元格标签(为<td>标签)生成的,预设表头标签为<th>标签,例如针对下表1中的表格,其字段名称包括name和score,可生成对应的第一单元格标签为<td>name</td>和<td>score</td>,将第一单元格标签嵌套在预设表头标签内之后,可得到如下结果:
<th>
<td>name</td>
<td>score</td>
</th>
然后,根据结果集的值获取表格行数及表格各行内部各列的值,生成与表格行数相同数量的行标签,其中,行标签为<tr>标签;进而根据表格各行内部各列的值生成对应的第二单元格标签,并将第二单元格标签嵌套在对应的行标签内;最后,将嵌套后的预设表头标签内的文本与嵌套后的行标签内的文本进行合并,并嵌套至预设表格标签内,得到中间对象,其中,预设表格表内为<table>标签。例如上述例中,可得到中间对象如下:
<table>
<th>
<td>name</td>
<td>score</td>
</th>
<tr>
<td>xiaoming</td>
<td>90</td>
<tr>
<tr>
<td>xiaowang</td>
<td>80</td>
<tr>
</table>
表1 表格结果集
name | score |
xiaoming | 90 |
xiaowang | 80 |
进一步地,步骤S20还可以包括:
步骤c41,若所述元数据信息中的数据类型为文件,则确定对应的目标内容解析器为文件内容解析器;
步骤c42,通过所述文件内容解析器检测所述结果集的值为单行还是多行;
步骤c43,若所述结果集的值为单行,则将所述结果集的值作为预设段落标签的内容,得到中间对象;
步骤c44,若所述结果集的值为多行,则对所述结果集的值进行分行处理,基于分行处理结果、所述预设段落标签和预设换行标签,得到中间对象。
本实施例中介绍了文件类数据的处理过程。具体过程如下:若元数据信息中的数据类型为文件,则确定对应的目标内容解析器为文件内容解析器;然后,通过文件内容解析器检测结果集的值为单行还是多行;若结果集的值为单行,则将结果集的值直接作为预设段落标签的内容,得到中间对象,其中,预设段落标签可以为<p>标签;若结果集的值为多行,则对结果集的值进行分行处理,进而基于分行处理结果、预设段落标签和预设换行标签,得到中间对象。具体的,在进行分行处理时,可根据换行符(\n)对结果集的值进行分割,可分割得到多行文本,各行文本内容分别作为一预设段落标签的内容,得到多个段落标签,进而以预设换行标签(<br>标签)为间隔符对上述处理得到的多个段落标签进行合并,即可得到对应的中间对象。
进一步地,步骤S20还可以包括:
步骤c51,若所述元数据信息中的数据类型为链接,则确定对应的目标内容解析器为链接内容解析器;
步骤c52,通过所述链接内容解析器检测所述结果集的值为单行还是多行;
步骤c53,若所述结果集的值为单行,则将所述结果集的值转换成第一超链接标签,并将所述邮件内容对应的结果集的文件名作为所述第一超链接标签的提示信息,得到中间对象;
步骤c54,若所述结果集的值为多行,则对所述结果集的值进行分行处理,将分行后的结果集的值分别转换成对应的第二超链接标签;
步骤c55,对所述第二超链接标签进行合并,并将所述邮件内容对应的结果集的文件名作为合并后的第二超链接标签的提示信息,得到中间对象。
本实施例中介绍了链接类数据的处理过程。具体过程如下:若元数据信息中的数据类型为链接(URL链接),则确定对应的目标内容解析器为链接内容解析器;然后,通过链接内容解析器检测结果集的值为单行还是多行。
若结果集的值为单行,则将结果集的值转换成第一超链接标签,并将邮件内容对应的结果集的文件名作为第一超链接标签的提示信息,得到中间对象。其中,第一超链接标签的生成过程为:根据将结果集的值直接作为预设超链接标签的href(Hypertext
Reference,超文本引用)属性,其中,预设超链接标签可以为<a>标签。
若结果集的值为多行,则对结果集的值进行分行处理,将分行后的结果集的值分别转换成对应的第二超链接标签,具体的,在进行分行处理时,可根据换行符(\n)对结果集的值进行分割,可分割得到多行文本,将各行文本内容分别作为一预设超链接标签的href属性,得到多个超链接标签。然后,对第二超链接标签进行合并,并将邮件内容对应的结果集的文件名作为合并后的第二超链接标签的提示信息,得到中间对象。
本申请还提供一种邮件发送装置。
参照图3,图3为本申请邮件发送装置第一实施例的功能模块示意图。
如图3所示,所述邮件发送装置包括:
获取模块10,用于在接收到邮件发送请求时,根据所述邮件发送请求获取邮件内容和邮件基本信息,所述邮件内容包括元数据信息和结果集的值;
解析模块20,用于根据所述元数据信息中的数据类型确定对应的目标内容解析器,并通过所述目标内容解析器对所述结果集的值进行解析处理,得到中间对象;
合并模块30,用于按解析顺序对所述中间对象进行合并,并将合并后的中间对象***预设结构中,得到邮件正文;
发送模块40,用于基于所述基本信息对所述邮件正文进行发送。
进一步地,所述获取模块10包括:
第一获取单元,用于在接收到邮件发送请求时,根据所述邮件发送请求获取作业编号ID、用户名和邮件基本信息;
第二获取单元,用于根据所述作业ID、所述用户名和预先配置的根目录生成结果集路径,并根据所述结果集路径获取邮件内容。
进一步地,所述解析模块20包括第一解析单元,用于:
若所述元数据信息中的数据类型为图片,则确定对应的目标内容解析器为图片内容解析器;
通过所述图片内容解析器从所述元数据信息中获取图片格式,并将所述结果集的值还原成与所述图片格式对应的图片数据;
调用预设构造函数对所述图片数据进行处理,得到处理对象;
基于所述处理对象和预设图片标签格式,生成对应的图片标签,并将所述图片标签作为中间对象。
进一步地,所述解析模块20包括第二解析单元,用于:
若所述元数据信息中的数据类型为超文本标记语言HTML,则确定对应的目标内容解析器为HTML内容解析器;
通过所述HTML内容解析器校验所述结果集的值是否符合预设邮件HTML规范;
若符合,则从所述结果集的值中提取出正文体标签内的子HTML,并将所述子HTML作为中间对象。
进一步地,所述解析模块20包括第三解析单元,用于:
若所述元数据信息中的数据类型为表格,则确定对应的目标内容解析器为表格内容解析器;
通过所述表格内容解析器读取所述元数据信息中的字段名称,基于所述字段名称生成对应的第一单元格标签,并将所述第一单元格标签嵌套在预设表头标签内;
根据所述结果集的值获取表格行数及表格各行内部各列的值,生成与所述表格行数相同数量的行标签;
根据所述表格各行内部各列的值生成对应的第二单元格标签,并将所述第二单元格标签嵌套在对应的行标签内;
将嵌套后的预设表头标签内的文本与嵌套后的行标签内的文本进行合并,并嵌套至预设表格标签内,得到中间对象。
进一步地,所述解析模块20包括第四解析单元,用于:
若所述元数据信息中的数据类型为文件,则确定对应的目标内容解析器为文件内容解析器;
通过所述文件内容解析器检测所述结果集的值为单行还是多行;
若所述结果集的值为单行,则将所述结果集的值作为预设段落标签的内容,得到中间对象;
若所述结果集的值为多行,则对所述结果集的值进行分行处理,基于分行处理结果、所述预设段落标签和预设换行标签,得到中间对象。
进一步地,所述解析模块20包括第五解析单元,用于:
若所述元数据信息中的数据类型为链接,则确定对应的目标内容解析器为链接内容解析器;
通过所述链接内容解析器检测所述结果集的值为单行还是多行;
若所述结果集的值为单行,则将所述结果集的值转换成第一超链接标签,并将所述邮件内容对应的结果集的文件名作为所述第一超链接标签的提示信息,得到中间对象;
若所述结果集的值为多行,则对所述结果集的值进行分行处理,将分行后的结果集的值分别转换成对应的第二超链接标签;
对所述第二超链接标签进行合并,并将所述邮件内容对应的结果集的文件名作为合并后的第二超链接标签的提示信息,得到中间对象。
进一步地,所述发送模块40包括:
创建单元,用于获取当前环境可支持的邮件客户端类型,并根据所述当前环境可支持的邮件客户端类型和预设映射关系创建对应类型的邮件对象;
发送单元,用于将所述邮件正文和所述邮件基本信息填充至所述邮件对象中,并将填充后的邮件对象提交至预设邮件客户端进行发送。
其中,上述邮件发送装置中各个模块的功能实现与上述邮件发送方法实施例中各步骤相对应,其功能和实现过程在此处不再一一赘述。
本申请还提供一种计算机可读存储介质,该计算机可读存储介质上存储有邮件发送程序,所述邮件发送程序被处理器执行时实现如以上任一项实施例所述的邮件发送方法的步骤。
本申请计算机可读存储介质的具体实施例与上述邮件发送方法各实施例基本相同,在此不作赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者***不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者***所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者***中还存在另外的相同要素。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。
Claims (11)
- 一种邮件发送方法,其中,所述邮件发送方法包括:在接收到邮件发送请求时,根据所述邮件发送请求获取邮件内容和邮件基本信息,所述邮件内容包括元数据信息和结果集的值;根据所述元数据信息中的数据类型确定对应的目标内容解析器,并通过所述目标内容解析器对所述结果集的值进行解析处理,得到中间对象;按解析顺序对所述中间对象进行合并,并将合并后的中间对象***预设结构中,得到邮件正文;基于所述邮件基本信息对所述邮件正文进行发送。
- 如权利要求1所述的邮件发送方法,其中,所述在接收到邮件发送请求时,根据所述邮件发送请求获取邮件内容和邮件基本信息的步骤包括:在接收到邮件发送请求时,根据所述邮件发送请求获取作业编号ID、用户名和邮件基本信息;根据所述作业ID、所述用户名和预先配置的根目录生成结果集路径,并根据所述结果集路径获取邮件内容。
- 如权利要求1所述的邮件发送方法,其中,所述根据所述元数据信息中的数据类型确定对应的目标内容解析器,并通过所述目标内容解析器对所述结果集的值进行解析处理,得到中间对象的步骤包括:若所述元数据信息中的数据类型为图片,则确定对应的目标内容解析器为图片内容解析器;通过所述图片内容解析器从所述元数据信息中获取图片格式,并将所述结果集的值还原成与所述图片格式对应的图片数据;调用预设构造函数对所述图片数据进行处理,得到处理对象;基于所述处理对象和预设图片标签格式,生成对应的图片标签,并将所述图片标签作为中间对象。
- 如权利要求1所述的邮件发送方法,其中,所述根据所述元数据信息中的数据类型确定对应的目标内容解析器,并通过所述目标内容解析器对所述结果集的值进行解析处理,得到中间对象的步骤包括:若所述元数据信息中的数据类型为超文本标记语言HTML,则确定对应的目标内容解析器为HTML内容解析器;通过所述HTML内容解析器校验所述结果集的值是否符合预设邮件HTML规范;若符合,则从所述结果集的值中提取出正文体标签内的子HTML,并将所述子HTML作为中间对象。
- 如权利要求1所述的邮件发送方法,其中,所述根据所述元数据信息中的数据类型确定对应的目标内容解析器,并通过所述目标内容解析器对所述结果集的值进行解析处理,得到中间对象的步骤包括:若所述元数据信息中的数据类型为表格,则确定对应的目标内容解析器为表格内容解析器;通过所述表格内容解析器读取所述元数据信息中的字段名称,基于所述字段名称生成对应的第一单元格标签,并将所述第一单元格标签嵌套在预设表头标签内;根据所述结果集的值获取表格行数及表格各行内部各列的值,生成与所述表格行数相同数量的行标签;根据所述表格各行内部各列的值生成对应的第二单元格标签,并将所述第二单元格标签嵌套在对应的行标签内;将嵌套后的预设表头标签内的文本与嵌套后的行标签内的文本进行合并,并嵌套至预设表格标签内,得到中间对象。
- 如权利要求1所述的邮件发送方法,其中,所述根据所述元数据信息中的数据类型确定对应的目标内容解析器,并通过所述目标内容解析器对所述结果集的值进行解析处理,得到中间对象的步骤包括:若所述元数据信息中的数据类型为文件,则确定对应的目标内容解析器为文件内容解析器;通过所述文件内容解析器检测所述结果集的值为单行还是多行;若所述结果集的值为单行,则将所述结果集的值作为预设段落标签的内容,得到中间对象;若所述结果集的值为多行,则对所述结果集的值进行分行处理,基于分行处理结果、所述预设段落标签和预设换行标签,得到中间对象。
- 如权利要求1所述的邮件发送方法,其中,所述根据所述元数据信息中的数据类型确定对应的目标内容解析器,并通过所述目标内容解析器对所述结果集的值进行解析处理,得到中间对象的步骤包括:若所述元数据信息中的数据类型为链接,则确定对应的目标内容解析器为链接内容解析器;通过所述链接内容解析器检测所述结果集的值为单行还是多行;若所述结果集的值为单行,则将所述结果集的值转换成第一超链接标签,并将所述邮件内容对应的结果集的文件名作为所述第一超链接标签的提示信息,得到中间对象;若所述结果集的值为多行,则对所述结果集的值进行分行处理,将分行后的结果集的值分别转换成对应的第二超链接标签;对所述第二超链接标签进行合并,并将所述邮件内容对应的结果集的文件名作为合并后的第二超链接标签的提示信息,得到中间对象。
- 如权利要求1至7中任一项所述的邮件发送方法,其中,所述基于所述基本信息对所述邮件正文进行发送的步骤包括:获取当前环境可支持的邮件客户端类型,并根据所述当前环境可支持的邮件客户端类型和预设映射关系创建对应类型的邮件对象;将所述邮件正文和所述邮件基本信息填充至所述邮件对象中,并将填充后的邮件对象提交至预设邮件客户端进行发送。
- 一种邮件发送装置,其中,所述邮件发送装置包括:获取模块,用于在接收到邮件发送请求时,根据所述邮件发送请求获取邮件内容和邮件基本信息,所述邮件内容包括元数据信息和结果集的值;解析模块,用于根据所述元数据信息中的数据类型确定对应的目标内容解析器,并通过所述目标内容解析器对所述结果集的值进行解析处理,得到中间对象;合并模块,用于按解析顺序对所述中间对象进行合并,并将合并后的中间对象***预设结构中,得到邮件正文;发送模块,用于基于所述基本信息对所述邮件正文进行发送。
- 一种邮件发送设备,其中,所述邮件发送设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的邮件发送程序,所述邮件发送程序被所述处理器执行时实现如权利要求1至8中任一项所述的邮件发送方法的步骤。
- 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有邮件发送程序,所述邮件发送程序被处理器执行时实现如权利要求1至8中任一项所述的邮件发送方法的步骤。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911103307.3 | 2019-11-12 | ||
CN201911103307.3A CN110855555B (zh) | 2019-11-12 | 2019-11-12 | 邮件发送方法、装置、设备及计算机可读存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021093673A1 true WO2021093673A1 (zh) | 2021-05-20 |
Family
ID=69601484
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/126825 WO2021093673A1 (zh) | 2019-11-12 | 2020-11-05 | 邮件发送方法、装置、设备及计算机可读存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110855555B (zh) |
WO (1) | WO2021093673A1 (zh) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115499405A (zh) * | 2022-09-14 | 2022-12-20 | 天翼数字生活科技有限公司 | 一种自定义生成邮件的方法和*** |
CN116938610A (zh) * | 2023-09-19 | 2023-10-24 | 北京傲星科技有限公司 | 基于拟态架构的邮件*** |
CN117478670A (zh) * | 2023-12-28 | 2024-01-30 | 彩讯科技股份有限公司 | 基于pst文件协议解析的Exchange数据迁移方法、***和介质 |
CN118170462A (zh) * | 2024-05-14 | 2024-06-11 | 北京国专知识产权有限责任公司 | 用于案件管理***的函件发送方法及装置 |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110855555B (zh) * | 2019-11-12 | 2023-04-07 | 深圳前海微众银行股份有限公司 | 邮件发送方法、装置、设备及计算机可读存储介质 |
CN114676124B (zh) * | 2022-05-27 | 2022-08-23 | 航天信息(广东)有限公司 | 基于配置式的数据字段差异解决方法、装置、设备及介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010105521A1 (zh) * | 2009-03-17 | 2010-09-23 | 联想(北京)有限公司 | 邮件处理方法及设备 |
CN103034937A (zh) * | 2010-04-23 | 2013-04-10 | 微软公司 | 电子邮件视图 |
CN109902113A (zh) * | 2019-01-17 | 2019-06-18 | 平安科技(深圳)有限公司 | 征信反馈报告处理方法及装置、存储介质、计算机设备 |
CN110855555A (zh) * | 2019-11-12 | 2020-02-28 | 深圳前海微众银行股份有限公司 | 邮件发送方法、装置、设备及计算机可读存储介质 |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014170447A (ja) * | 2013-03-05 | 2014-09-18 | Nec Corp | メールファイル管理装置、方法及びプログラム |
CN106713109A (zh) * | 2015-11-13 | 2017-05-24 | 北京奇虎科技有限公司 | 一种html邮件发送、接收方法及装置 |
CN109995643B (zh) * | 2017-12-29 | 2022-04-08 | ***通信集团河南有限公司 | 业务邮件推送方法及装置 |
CN109039876B (zh) * | 2018-09-19 | 2021-01-08 | 天津字节跳动科技有限公司 | 邮件处理方法和装置 |
CN110351182B (zh) * | 2019-05-31 | 2022-06-17 | 平安科技(深圳)有限公司 | 邮件发送方法、装置、设备及计算机可读存储介质 |
CN110223044A (zh) * | 2019-06-12 | 2019-09-10 | 深圳市网心科技有限公司 | 一种邮件推送方法、***及电子设备和存储介质 |
-
2019
- 2019-11-12 CN CN201911103307.3A patent/CN110855555B/zh active Active
-
2020
- 2020-11-05 WO PCT/CN2020/126825 patent/WO2021093673A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010105521A1 (zh) * | 2009-03-17 | 2010-09-23 | 联想(北京)有限公司 | 邮件处理方法及设备 |
CN103034937A (zh) * | 2010-04-23 | 2013-04-10 | 微软公司 | 电子邮件视图 |
CN109902113A (zh) * | 2019-01-17 | 2019-06-18 | 平安科技(深圳)有限公司 | 征信反馈报告处理方法及装置、存储介质、计算机设备 |
CN110855555A (zh) * | 2019-11-12 | 2020-02-28 | 深圳前海微众银行股份有限公司 | 邮件发送方法、装置、设备及计算机可读存储介质 |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115499405A (zh) * | 2022-09-14 | 2022-12-20 | 天翼数字生活科技有限公司 | 一种自定义生成邮件的方法和*** |
CN115499405B (zh) * | 2022-09-14 | 2024-04-30 | 天翼数字生活科技有限公司 | 一种自定义生成邮件的方法和*** |
CN116938610A (zh) * | 2023-09-19 | 2023-10-24 | 北京傲星科技有限公司 | 基于拟态架构的邮件*** |
CN116938610B (zh) * | 2023-09-19 | 2023-11-17 | 北京傲星科技有限公司 | 基于拟态架构的邮件*** |
CN117478670A (zh) * | 2023-12-28 | 2024-01-30 | 彩讯科技股份有限公司 | 基于pst文件协议解析的Exchange数据迁移方法、***和介质 |
CN117478670B (zh) * | 2023-12-28 | 2024-04-26 | 彩讯科技股份有限公司 | 基于pst文件协议解析的Exchange数据迁移方法、***和介质 |
CN118170462A (zh) * | 2024-05-14 | 2024-06-11 | 北京国专知识产权有限责任公司 | 用于案件管理***的函件发送方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
CN110855555B (zh) | 2023-04-07 |
CN110855555A (zh) | 2020-02-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021093673A1 (zh) | 邮件发送方法、装置、设备及计算机可读存储介质 | |
CN108920659B (zh) | 数据处理***及其数据处理方法、计算机可读存储介质 | |
US10437907B2 (en) | Link expansion service | |
JP5247983B2 (ja) | アクション可能な電子メールドキュメント | |
US20110185024A1 (en) | Embeddable metadata in electronic mail messages | |
US8346878B2 (en) | Flagging resource pointers depending on user environment | |
CN108737252B (zh) | 基于区块链的信息推送方法及装置 | |
CA3061623C (en) | File sending in instant messaging applications | |
US20130232424A1 (en) | User operation detection system and user operation detection method | |
US9348811B2 (en) | Obtaining data from electronic documents | |
CN112311654A (zh) | 即时通讯消息的处理方法、装置、介质及电子设备 | |
CN112631557A (zh) | 生成接口代码和/或接口文档的方法、装置及存储介质 | |
TW200524381A (en) | Multi-language wireless email transmission method for mobile communication | |
CN112286815A (zh) | 一种接口测试脚本的生成方法及其相关设备 | |
CN113159970A (zh) | 数据格式转换方法、装置、***、电子设备及存储介质 | |
CN106453582B (zh) | 异步消息推送方法及*** | |
US20140074814A1 (en) | Method and apparatus for switching search engine to repeat search | |
US9813524B2 (en) | Dynamic sharing and updating of an electronic form | |
AU2018390863B2 (en) | Computer system and method for extracting dynamic content from websites | |
WO2010105521A1 (zh) | 邮件处理方法及设备 | |
JP2009211278A (ja) | 携帯端末を利用した検索システムおよびその検索方法 | |
US20210273900A1 (en) | Methods and systems for processing electronic messages | |
JP4885678B2 (ja) | コンテンツ作成装置及びコンテンツ作成方法 | |
US9584695B2 (en) | Information processing apparatus and information processing system | |
US9071571B2 (en) | Interaction via short message service messages with wireless markup language based websites |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20888509 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20888509 Country of ref document: EP Kind code of ref document: A1 |