Embodiments of the present disclosure relate to computer data processing technology and, in particular, to a mail processing method and apparatus, a device, a medium, a computer program product, and a computer program.
Email and instant messaging (IM) software are commonly used collaboration software at present. With collaboration work becoming normality, the email and the IM software both assume a function of information interaction.
Embodiments of the present disclosure provide a mail processing method and apparatus, a device, a medium, a computer program product, and a computer program, so as to improve functional integration of email and IM software, thereby providing richer collaborative office functions.
In a first aspect, an embodiment of the present disclosure provides a mail processing method, including:
In a second aspect, an embodiment of the present disclosure further provides a mail processing method, including:
In a third aspect, an embodiment of the present disclosure further provides a mail processing apparatus, including:
In a fourth aspect, an embodiment of the present disclosure further provides a mail processing apparatus, including:
In a fifth aspect, an embodiment of the present disclosure provides a device, including:
In a sixth aspect, an embodiment of the present disclosure further provides a medium, where the medium stores a computer program which, when executed by a processor, implements the mail processing method according to any one of the embodiments of the present disclosure.
In a seventh aspect, an embodiment of the present disclosure further provides a computer program product having stored thereon a computer program which, when executed by a processor, implements the mail processing method according to any one of the embodiments of the present disclosure.
In an eighth aspect, an embodiment of the present disclosure further provides a computer program which, when executed by a processor, implements the mail processing method according to any one of the embodiments of the present disclosure.
The present disclosure provides the mail processing method and apparatus, the device, the medium, the computer program product, and the computer program, where the method includes: receiving a to-be-sent mail; obtaining, if it is identified that the to-be-sent mail includes an instant messaging group identifier, a group mail address corresponding to the instant messaging group identifier; and taking the group mail address as a recipient address and performing a sending operation on the to-be-sent mail. In the present disclosure, in the case of receiving a mail sent by a mail client, if it is identified that the recipient includes an instant messaging group name, the mail is sent to a group address corresponding to the group name, which improves functional integration of email and IM software, thereby providing richer collaborative office functions.
With reference to accompanying drawings and following specific implementations, the above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent. The same or similar reference numbers throughout the accompanying drawings indicate the same or similar elements. It should be understood that the accompanying drawings are schematic and the components and elements are not necessarily drawn to scale.
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms, and should not be construed as limited to the embodiments set forth herein. On the contrary, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the accompanying drawings and embodiments of the present disclosure are for exemplary purposes only, and are not intended to limit the scope of protection of the present disclosure.
It should be understood that the steps described in the method embodiments of the present disclosure may be performed in a different order, and/or concurrently. Furthermore, method embodiments may include additional steps and/or may not perform the steps shown, and the scope of the present disclosure is not limited in this regard.
As used herein, the term “including” and variations thereof mean including without limitation, which is the same thing as “including, but not limited to”. The term “based on” means “based at least in part on.” The term “an embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one additional embodiment”; and the term “some embodiments” means “at least some embodiments.” Relevant definitions of other terms will be given below.
It should be noted that concepts such as “first” and “second” used in the present disclosure are only intended to distinguish different apparatuses, modules or units, and are not meant to limit order or interdependence of the functions performed by these apparatuses, modules or units.
It should be noted that “one” and “multiple” used in the present disclosure are illustrative rather than limiting, and those skilled in the art should understand that they should be understood as “one or more” unless otherwise clearly indicated in the context.
Names of messages or of information exchanged between multiple apparatuses in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of these messages or information.
As shown in
In this embodiment, with the continuous development of the Internet, instant messaging applications have become most widely used communication methods, and are increasingly used in daily mobile office. Therefore, functional integration of the instant messaging application and email is conducive to the mobile development of enterprise work and management, and the user can seamlessly switch between the instant messaging and mail delivery. The to-be sent mail refers to an email that needs to be sent to the recipient, and for example, it may be sent by a mail client.
Instant messaging is also known as real-time communication, which refers to services that can instantly send and receive Internet messages, etc. Instant messaging is generally implemented by instant messaging applications, which may be an enterprise instant messaging (Enterprise Instant Messaging, EIM), and may also be a personal instant messaging software, which is not limited in this embodiment.
The instant messaging group may refer to a messaging group that includes multiple group members in the instant messaging software. The instant messaging group identifier can be an identifier used to uniquely represent the group, for example, a group name that can be distinguished from other groups in the same IM application, or, a group ID (Identification), etc.
In this embodiment, the number of the above instant messaging group identifiers may be determined according to the input from the mail client. There may be one or multiple instant messaging group identifiers, and the multiple instant messaging group identifiers indicate that it is required to send the to-be-sent mail to the member mail addresses of members of multiple instant messaging group identifiers.
In some optional implementations, identifying that the to-be-sent mail includes an instant messaging group identifier includes: identifying, at a specified position of the to-be-sent mail, whether the instant messaging group identifier is added to the specified position; if the instant messaging group identifier is added to the specified position, it is determined that the to-be-sent mail includes the instant messaging group identifier. The above specified position can be in a packet header of the to-be-sent mail, and can also be any position such as a subject of the mail, a body of the mail, and a recipient of the mail. In this embodiment, the position of the instant messaging group identifier is only described, not limited.
In some optional implementations, identifying that the to-be-sent mail includes an instant messaging group identifier includes: after identifying a specified identifier, determining the group identifier following the specified identifier to be the messaging group identifier. The above specified identifier can be set as required, for example: in the case that the specified identifier is a first state, the group identifier following the specified identifier is determined as the messaging group identifier. Specifically, the specified identifier may be “1”, or may be a preset specified character. In this embodiment, the specified identifier is only described, not limited.
In this embodiment, the instant messaging group identifier and the group mail address correspond to each other, that is, each instant messaging group corresponds to (only) one group mail address. For example, the group mail address corresponding to the instant messaging group whose group identifier is a “first project department” is diyixiangmubu@xx.com. A correspondence between the instant messaging group identifier and the group mail address may be created when the group mail is sent for the first time, or is created by a manager of the instant messaging group, or is generated when the group is established. Where it is created when the group mail is sent for the first time, which may be understood that the received mail includes the instant messaging group identifier, but there is no corresponding group mail address for the instant messaging group identifier, so the group mail address corresponding to the instant messaging group identifier is created. In this way, in the case that the instant messaging group identifier is detected and there is no corresponding group mail address, a group mail address is created, thereby avoiding waste of mail addresses caused by creating group mail addresses for each group identifier.
Further, the correspondence between the instant messaging group identifier and the group mail address can also be modified during subsequent use by the administrator of the group or the like.
When the above correspondence is created by a mail server, a group mail address of the same type as the mail address provided by the mail server can be created. The above type can be represented by a suffix name of the mail address. The same type refers to having the same suffix name of the mail address. For example, when the mail address is 12345 @xx.com, a suffix is “xx.com”.
In some optional implementations, the group mail address is a hash address which refers to an address directly obtained by a hash function according to a keyword. That is to say, the hash address can be quickly found through a mapping relationship between the keyword and the hash address. Specifically, the keyword may be determined based on the group identifier. In this way, the group mail address can be quickly queried by the group identifier, thereby improving search speed of the group mail address.
Obtaining the group mail address corresponding to the instant messaging group identifier may be the case that the mail server performs a query based on the instant messaging group identifier to obtain the queried group mail address. If the group mail address corresponding to the instant messaging group identifier is not found, it may indicate that no group mail address is created for the group. In this case, a corresponding group mail address may be created for the above instant messaging group identifier. In this way, creating a group mail address when it is necessary to distribute a mail to members of a group, is referred to as a creation as required, which can save resources (mail address resources, storage resources, etc.), and can also improve query efficiency at the same time.
Further, if it is identified that the to-be-sent mail does not include the instant messaging group identifier, the to-be-sent mail is just an ordinary mail and does not need to be sent in a group, and can be sent based on the recipient address of the to-be-sent mail.
In some optional implementations, the sending the to-be-sent mail to the recipient address indicated by the recipient identifier includes: in response to a case that a sender is a group member of the instant messaging group, blocking sending the to-be-sent mail to the sender. In this case, if the sender is also a member of the instant messaging group of the recipient and already knows content of the mail, additional interruptions to the sender can be avoided.
The mail processing method provided by the present disclosure includes: receiving a to-be-sent mail; obtaining, if it is identified that the to-be-sent mail includes an instant messaging group identifier, a group mail address corresponding to the instant messaging group identifier; and taking the group mail address as a recipient address and performing a sending operation on the to-be-sent mail In the present disclosure, in the case of receiving a mail sent by a mail client, if it is identified that the recipient includes an instant messaging group name, the mail is sent to a group address corresponding to the group name, which improves functional integration of email and IM software, thereby providing richer collaborative office functions.
In some embodiments, the obtaining the group mail address corresponding to the instant messaging group identifier may include: querying whether the group mail address corresponding to the instant messaging group identifier exists; if the group mail address corresponding to the instant messaging group identifier does not exist, creating a corresponding group mail address for the instant messaging group.
In this embodiment, if it is identified that the to-be-sent mail includes the instant messaging group identifier, it is required to firstly query whether the group mail address corresponding to the instant messaging group identifier exists; if the group mail address corresponding to the instant messaging group identifier exists, the group mail address corresponding to the instant messaging group identifier is obtained directly; if the group mail address corresponding to the instant messaging group identifier does not exist, the corresponding group mail address for the instant messaging group identifier is created, and the correspondence between the instant messaging group identifier and the group mail address is stored. In this way, in the next time when mass mail of the group is performed, the group mail address corresponding to the instant messaging group identifier can be quickly queried, which avoids the problem that the group mail address is required to be created every time a group mail is sent, thereby reducing operating pressure of the mail server. And the group mail addresses for members of the group are only created when it is required to distribute mails for the members of the group is a creation as required, and can save resources (mail address resources, storage resources, etc.).
In this embodiment, the member mail addresses refer to respective email address of each member in the instant messaging group. In this embodiment, there is no limitation on the types of member mail addresses, any legal mail address that is bound to the user by the user can be used as a member mail address. Where the mail address bound to the user by the user may be the mail address bound by the user himself, it may also be assigned by a group administrator, or it may be automatically generated by a system and then notified to the user.
The member mail address can be registered and created by the user on the mail server, and its type can be represented by the suffix of the mail address. The member mail address can also be the mail address that is received by the server and is bound to the member by the member himself. In this way, compatibility with various types of mail addresses can improve freedom of decision for the user and enable the user to get a better experience.
In an optional implementation, the member mail address bound to the group member is the mail address corresponding to the mail server associated with the IM group server, for example, a provider of the IM service is just the provider of the mail service, so that it may be ensured that all mails sent to the IM group can be automatically sent to the mailboxes corresponding to specific mail servers, thereby ensuring information security. For example, the mails are all sent to the company mailbox, not to the personal mailbox, where the member mail address can be automatically assigned by the IM server to the group member, or it may be an existing mail address of a group member whose type is consistent with the type of the mail server.
In an instance, determining the member mail addresses of the members in the instant messaging group may be: requesting, based on the instant messaging group identifier, member identifiers of all members in the group from the instant messaging server, and then determining the member mail address of each member based on the above member identifier. Therefore, the member identifiers in the group can be obtained in real time, and it is possible to ensure that the obtained group member information is up to date.
In another instance, determining the member mail addresses of the members in the instant messaging group may be: querying, by the mail server, the member mail address of each member in the instant messaging group that are stored locally in advance. Specifically, based on the instant messaging group identifier, member identifiers of all members in the group are requested from the instant messaging server at the mail server, and the member mail address of each member is determined based on the above member identifier, and then the mail addresses of all members of the group are saved in groups, so that the next time a group mail is sent, the member mail addresses of the group can be obtained directly.
Further, when the group members are updated, the instant messaging server synchronizes the member update with the mail server, so that the mail server can update the member mail addresses of the group according to the above member update situation.
In this embodiment, after determining the member mail address, the mails received at the group mail address are distributed to each member mail address, so that all members of the group can receive the mail.
In this regard, the distributing the mail received at the group mail address to each member mail address may be understood as “delivering” the mail from the group mail address to the group member mail address. In the distribution process, none of the information in the mail will be modified, that is, the sender of the mail is still an original sender's mail address, and the recipient of the mail is still the group mail address.
In this embodiment, by distributing mails to member mail addresses via a group mail address, information of the original sender can be preserved, so that after the group members receive the mail, they can clearly know the specific information of the sender, thereby preventing members from being unable to get the information of the sender of the mail.
On the basis of the above embodiments, the determining, according to the instant messaging group identifier corresponding to the group mail address carried in the mail, at least one member mail address corresponding to the instant messaging group includes: initiating, according to the instant messaging group identifier corresponding to the group mail address carried in the mail, a group member query request to an instant messaging server; receiving a member identifier included in the instant messaging group fed back by the instant messaging server; and determining, according to the member identifier, a member mail address of a member in the instant messaging group.
In this embodiment, after the mail server determines the instant messaging group identifier carried in the mail, it is necessary to initiate a group member query request to the instant messaging server, so as to determine specific members included in the group, that is, to whom the to-be-sent mail is required to be sent. After the instant messaging server receives the member query request sent by the mail server, the member identifiers of all members corresponding to the instant messaging group identifiers are obtained, and are then fed back to the mail server.
The mail server can determine the member mail address of each member according to the received member identifier, and then sends the mail to each member mail address. In this embodiment, a group member query request is initiated to the instant messaging server, and then the member mail address is determined according to the member identifier, so that every time a mail is sent, it can be sent to all members in the current group, thereby avoiding the problem of missing some members who join the group just now, or the problem of sending the mail to members who are no longer in the group, which improves accuracy of the mail recipient.
As shown in
In this embodiment, the recipient identifier can be used to uniquely identify the recipient of a mail, the recipient identifier may be one or more messaging group identifiers, or the recipient identifier may be composed of one or more messaging group identifiers and a personal mail address.
In this embodiment, if there are multiple recipient identifiers, the mail servers to which the recipient identifiers belong are the same or are different. In this embodiment, if there are multiple personal mail addresses for the recipient identifier, there is no limitation on the type of personal mail address, any legal mail address that is bound to the user himself by the user can be used as a member mail address.
In an embodiment, receiving an input recipient identifier may be to receive a full instant messaging group identifier or a personal mail address input by the user in the recipient address box.
In this embodiment, the recipient identifier is carried in the mail; and the recipient identifier includes multiple instant messaging group identifiers, or the recipient identifier includes a personal mail address and at least one instant messaging group identifier.
In an optional implementation, the recipient identifier includes multiple instant messaging group identifiers, and the sending, based on the recipient identifier, the mail to the recipient indicated by the recipient identifier includes: sending the mail to the group mailbox indicated by the instant messaging group identifier, so as to distribute, by the group mailbox, mails to the member mail addresses of the instant messaging group.
In an optional implementation, the sending the mail to the recipient indicated by the recipient identifier includes: in response to a case that a sender is a group member of the instant messaging group, blocking sending the mail to the sender. In this case, if the sender is also a member of the instant messaging group of the recipient and already knows the content of the mail, additional interruptions to the sender can be avoided.
For the method for sending a mail to the recipient indicated by the recipient identifier, please refer to the mail processing methods described in Embodiment I and Embodiment II, which will not be repeated in this embodiment. For the method for sending a mail, at the mail server, based on personal mail addresses, please refer to an existing mail sending method, which will not be repeated in this embodiment.
The mail processing method provided by the present disclosure includes: obtaining the input recipient identifier, where the recipient identifier includes multiple instant messaging group identifiers, or the recipient identifier includes a personal mail address and at least one instant messaging group identifier; and sending the mail to the recipient through the mail server; receiving, by the mail receiver, the to-be-sent mail transmitted by the mail client; obtaining, if it is identified that the to-be-sent mail includes an instant messaging group identifier, a group mail address corresponding to the instant messaging group identifier; and taking the group mail address as a recipient address and performing a sending operation on the to-be-sent mail. In the present disclosure, in the case of receiving a mail sent by a mail client, if it is identified that the recipient includes an instant messaging group name, the mail is sent to a group address corresponding to the group name, which improves functional integration of email and IM software, thereby providing richer collaborative office functions.
In an implementation, the sending, based on the recipient identifier, the mail to the recipient indicated by the recipient identifier includes: sending, based on the recipient identifier, the mail to the group member indicated by the group identifier in the multiple instant messaging group identifiers, or sending, based on the recipient identifier, the mail to the group member indicated by the at least one instant messaging group identifier and to the personal mail address; and sending, based on the recipient identifier, the mail to the group members respectively indicated by the multiple instant messaging group identifiers.
In an optional implementation, the sending, based on the recipient identifier, the mail to the group members indicated respectively by the multiple instant messaging group identifiers may be understood as performing concurrently mail sending for more than two single IM groups.
In an optional implementation, the mails are sent, based on the recipient identifier, to the group member indicated by the instant messaging group identifier and the recipient indicated by the personal mail address. In this embodiment, the mail sending process of the IM group is carried out at the same time as the sending process of the personal mail address, that is to say, there are two program branches are executed in background, which makes it convenient for the user to send mails to different types of recipients at one time, thereby reducing operating costs.
In an implementation, the sending the mail to the group mailbox indicated by the instant messaging group identifier, to enable the group mailbox to distribute the mail to the member mail address of the instant messaging group includes: sending the mail to the mail server, so that the mail server determines a group mail address according to the instant messaging group identifier, sends the mail to the group mail address, and distributes the mail to the member mail address of the instant messaging group.
The character of the recipient identifier may refer to any character in the recipient identifier, for example, it can be any character in a personal mail address, and it can also be any character in the instant messaging group identifier, which is not limited in this embodiment.
Further, the character of the recipient identifier input in the recipient box by the user through the input apparatus of the mail client is obtained.
In this embodiment, based on the character input by the user, a real-time request is made to the instant messaging server, to query all group identifiers or user identifiers that include the character. The instant messaging server feeds back a queried group identifier or a queried user identifier to the mail client.
The mail client is based on the group identifier or the user identifier fed back by the instant messaging server, and displays it in association with the user input position for the user to select.
The selection indication of the user may refer to the group identifier or the user identifier displayed after being clicked by the user. Obtaining the selection indication of the user may refer to: obtaining a group identifier or a user identifier clicked by the user and taking the group identifier or the user identifier clicked by the user as the recipient identifier.
If the selection indication of the user is not obtained, the character of the recipient identifier subsequently input by the user is obtained and then combined with the character of the recipient identifier that was input before, and then an operation of requesting the instant messaging server to perform identifier query is performed.
In this embodiment, if the selection indication of the user is not obtained, it indicates that the group identifier or the user identifier fed back the instant messaging server does not contains the recipient that the user wants to send the mail to, thus it is required to continue to obtain the character of the identifier subsequently input by the user and combine the above character with the character of the recipient identifier that was input before, and then return back to perform the operation of requesting the instant messaging server to perform identifier query.
If it is detected that no character is input by the user for a preset period of time, and the instant messaging server also fails to feed back the group identifier or the user identifier according to the character input, the user will be reminded that the group identifier or the user identifier is not identified and whether the input character is continued to be used as the recipient identifier. If it is detected that the user determines to continue to use the input character as the recipient identifier, an operation of mail sending is performed.
In this embodiment, the user inputs the character of the group name into the recipient column using an association input method; a query request can be sent to the IM server in real time according to some characters input by the user, to query a group name or personal name that meets some characters, and such group name or personal name can be fed back to the mail client for display, for the user to select and input. Further, the automatic recommendation component may be invoked in response to the case of inputting a specific prompt by the user, and the candidate group identifier is automatically recommended, by the automatic recommendation component, based on what is input by the user, for the user to select and input. This can help the user to input the recipient identifier quickly and accurately, reduce the time for the user to input the complete recipient identifier, and improve the input speed.
Based on the above embodiment, the method further includes: obtaining a group mail address corresponding to the instant messaging group identifier, and displaying the group mail address in the mail.
In this embodiment, the mail server is requested to obtain the group mail address corresponding to the instant messaging group identifier; after obtaining the group mail address that corresponds to the instant messaging group identifier and is sent by the mail server, the group mail address is displayed in the mail. In this way, the user can clearly see the group mail address corresponding to the group, so that the user can check whether the group mail address is correct, which avoids the problem of wrong mail sending caused by the wrong group mail address, thereby improving using experience of the user.
On the basis of the above embodiment, another mail processing method is provided. The mail processing method provided by this embodiment performs a deduplication operation on duplicate recipient addresses. The deduplication operation can be performed by the mail server or by the mail client.
In this embodiment, the sending, based on the recipient identifier, the mail to the recipient address indicated by the recipient identifier includes: performing a deduplication operation on the recipient address indicated by the recipient identifier, and sending the mail to a deduplicated recipient address.
The deduplication operation refers to the case where there are multiple identical recipient addresses, and mail is sent to only one of the recipient addresses.
In this embodiment, if the recipient identifier includes multiple instant massaging group identifiers, the same group members may exist in the multiple instant massaging groups, that is, one group member may be in multiple instant massaging groups at the same time.
When a group member exists in multiple instant messaging groups, in order to prevent each group mail from distributing mails to its corresponding member mail addresses, a deduplication operation is required. That is, when a group member exists in multiple instant messaging groups, there is only one group mail address that distributes the mail to the group member.
Further, the group mail address for distributing mails can be set as required. For example, the group mail address for distributing mails may correspond to a group mail address with fewer members in the group. For another example, the group mail address for distributing mails may also correspond to the top group identifiers in the recipient identifier.
In an optional implementation, the performing the deduplication operation on the recipient address indicated by the recipient identifier includes: determining, according to the instant messaging group identifier, a member included in the instant messaging group; and determining, based on the member identifier of the member, a member mail address; and performing the deduplication operation on the member mail address to obtain a deduplicated member mail address.
In this embodiment, performing the deduplication operation based on the determined member mail addresses refers to: since the determined member mail addresses are duplicated, only one of them is selected to send a mail.
In an optional implementation, the performing the deduplication operation on the recipient address indicated by the recipient identifier includes: determining a member included in the instant messaging group according to the instant messaging group identifier; performing the deduplication operation based on the member identifier of the member; and determining a member mail address based on a deduplicated member identifier.
In this embodiment, the deduplication operation is performed based on the member identifier fed back by the IM server. If there are duplicate member identifiers in the feedback, only one member identifier is reserved.
The member mail address is determined according to the deduplicated member identifier, which can avoid repeated determination of the member mail address with the same member identifier. In this way, the time for determining the member mail and the waste of resources can be reduced.
On the basis of the above embodiments, an interactive process of a mail processing method is provided.
The instant messaging group identifier may be obtained through feedback by the IM server after the request by the mail client and the IM server.
The mail processing method provided by the present disclosure, including: receiving, by the mail server, the to-be-sent mail sent by the mail client; obtaining, if it is identified that the to-be-sent mail includes an instant messaging group identifier, a group mail address corresponding to the instant messaging group identifier; and taking the group mail address as a recipient address and performing a sending operation on the to-be-sent mail. In the present disclosure, in the case of receiving a mail sent by a mail client, if it is identified that the recipient includes an instant messaging group name, the mail is sent to a group address corresponding to the group name, which improves functional integration of email and IM software, thereby providing richer collaborative office functions.
For any of the above embodiments, in some optional implementations, if the instant messaging group identifier is included in body of the mail, the group mail address indicated by the instant messaging group identifier is added to the recipient address. In the embodiments of the present application, the position of the instant messaging group identifier is only described, but not limited.
For any of the above embodiments, in some optional implementations, during a user input process, a candidate instant messaging group identifier may be automatically recommended according to what is input by the user. Further, an automatic recommendation component can be invoked in response to a specific prompt input by the user. Further, the automatic recommendation component may be invoked in response to the case of inputting a specific prompt by the user, and the candidate group identifier is automatically recommended, by the automatic recommendation component, based on what is input by the user, for the user to select and input.
For any of the above embodiments, in some optional implementations, the candidate instant messaging group identifier has display information representing the instant messaging group. The display information representing the instant messaging group can further distinguish the instant messaging group from other recipients (such as a single recipient and a mail group). Specifically, in some application scenarios, if an identity of a recipient user (such as a name) is input in the recipient (such as a subject of the mail, a body of the mail, a recipient of the mail, etc.), the mail address of the recipient user and the instant messaging group including the recipient user may be presented via the recommendation component. At this point, because of the display information representing the instant messaging group, individual can be distinguished from the group.
For any of the above embodiments, the instant messaging group identifier may be associated with the sender. The association can be interpreted as having certain operation rights for corresponding groups (including but not limited to a group member, a group owner, a group administrator, etc.).
For any of the above embodiments, in some optional implementations, the group mail address can be a hash (randomly generated) address, a keyword corresponding to the group identifier, or a combination of the two.
For any of the above embodiments, in some optional implementations, the group mail address may correspond to the instant messaging group identifier one-to-one, and it may also be a set of mail addresses of group members obtained based on the instant messaging group identifier. If the group mail address corresponds to the instant messaging group identifier one-to-one, the personal mail addresses of other group members in the group that is not exposed to the recipient can be obtained, which is beneficial to achieve the technical effect of privacy protection.
For any of the above embodiments, in some optional implementations, the recipient identifier includes multiple instant messaging group identifiers, and the sending, based on the recipient identifier, a mail to the recipient indicated by the recipient identifier includes: querying, based on the instant messaging group identifier, a group member identifier; determining, according to the group member identifier obtained based on query, a group member mail address; and sending the mail to the group member mail address.
For any of the above embodiments, receiving a to-be-sent mail may refer to: the mail client receives, during a process of editing the mail by the user, edited contents, or the mail client receives mails sent by others.
For any of the above embodiments, identification time for the “it is identified that the to-be-sent mail includes an instant messaging group identifier” is not limited, and the identification may be performed following the receiving process, after editing, or in response to a triggering operation. If it is a scenario of receiving mails sent by others, whether it includes a group identifier can be determined by identifying a preset position (body, title, etc.) of the mail.
As shown in
The receiving module 61 is configured to receive a to-be-sent mail;
The mail processing apparatus provided by the present disclosure includes: the mail server receives the to-be-sent mail by the mail client; obtains, if it is identified that the to-be-sent mail includes an instant messaging group identifier, a group mail address corresponding to the instant messaging group identifier; sends the to-be-sent mail to the recipient address indicated by the recipient identifier, where the recipient address includes the group mail address. In the present disclosure, in the case of receiving a mail sent by a mail client, if it is identified that the recipient includes an instant messaging group name, the mail is sent to a group address corresponding to the group name, which improves functional integration of email and IM software, thereby providing richer collaborative office functions.
In an embodiment, the apparatus further includes: a member mail determining module and a mail distribution module;
In an embodiment, the apparatus further includes: an address replacing module, configured to: before the distribution operation is performed by using the member mail address as the recipient address and using the received mail as the mail to be distributed, replace a mail address of a distributor of the mail to be distributed with the mail address of the sender of the to-be-sent mail.
In an embodiment, the member mail determining module includes:
In an embodiment, the address obtaining module 62 includes:
In an embodiment, the apparatus further includes a deduplication module, which is configured to perform a deduplication operation on the recipient address indicated by the recipient identifier, and send the mail to a deduplicated recipient address.
In an optional implementation, the deduplication module is further configured to: determine a member included in the instant messaging group according to the instant messaging group identifier; perform the deduplication operation based on a member identifier of the member; and determine a member mail address according to a deduplicated member identifier (ID).
In an optional implementation, the deduplication module is further configured to: determine, according to the instant messaging group identifier, a member included in the instant messaging group; determine, based on the member identifier of the member, a member mail address; and perform the deduplication operation on the member mail address to obtain a deduplicated member mail address.
As shown in
The identifier obtaining module 71 is configured to obtain a recipient identifier, where the recipient identifier includes multiple instant messaging group identifiers, or the recipient identifier includes a personal mail address and at least one instant messaging group identifier; and
In an embodiment, the second sending module 72 is specifically configured to send, based on the recipient identifier, the mail to the group member indicated by the group identifier in the multiple instant messaging group identifiers, or send, based on the recipient identifier, the mail to the group member indicated by the at least one instant messaging group identifier and to the personal mail address.
In an embodiment, the identifier obtaining module 71 includes:
In an embodiment, the identifier obtaining module 71 further includes:
In an embodiment, if there are multiple recipient identifiers, the mail servers to which the recipient identifiers belong are the same or different.
In an embodiment, if the recipient identifier includes an instant messaging group identifier, the second sending module is specifically configured to send the mail to a group mailbox indicated by the instant messaging group identifier, to enable the group mailbox to distribute the mail to a member mail address of the instant messaging group.
In an embodiment, the second sending module is further configured to: send the mail to a mail server, to enable the mail server to determine a group mail address according to the instant messaging group identifier; send the mail to the group mail address, and distribute the mail to member mail address of the instant messaging group.
In an embodiment, the apparatus further includes: a group mail address display module, configured to obtain a group mail address corresponding to the instant messaging group identifier, and display the group mail address in the mail.
In an embodiment, the apparatus further includes: a deduplication module, configured to perform a deduplication operation on the recipient address indicated by the recipient identifier, and send the mail to a deduplicated recipient address.
In an optional implementation, the deduplication module is further configured to: determine a member included in the instant messaging group according to the instant messaging group identifier; perform the deduplication operation based on a member identifier of the member; and determine a member mail address based on a deduplicated member identifier (ID).
In an optional implementation, the deduplication module is further configured to: determine, according to the instant messaging group identifier, a member included in the instant messaging group; determine, based on the member identifier of the member, a member mail address; and perform the deduplication operation on the member mail address to obtain a deduplicated member mail address.
Please refer to
As shown in
In general, the following apparatuses may be connected to the I/O interface 805: an input apparatus 806, such as a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output apparatus 807 such as a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage apparatus 808, such as a magnetic tape, a hard disk, etc.; and a communication apparatus 809. The communication apparatus 809 may allow electronic device 800 to communicate wirelessly or by wire with other devices to exchange data. Although
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as a computer software program. For example, the embodiment of the present disclosure include a computer program product including a computer program carried on a non-transitory computer readable medium, where the computer program contains program code for performing the method illustrated in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication apparatus 809, or the computer program can be installed from the storage apparatus 808, or the computer program can be installed from the ROM 802. When the computer program is executed by the processing apparatus 801, the above functions defined in the methods of the embodiments of the present disclosure are performed.
It should be noted that the computer-readable medium above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or a combination of the above two. The computer-readable storage medium can be, but not limited to, an electrical, a magnetic, an optical, an electromagnetic, an infrared, or a semiconductor system, an apparatus, or a component, or any combination of the above. A more specific example of the computer-readable storage medium may include, but not limited to: an electronic connection with one or more cables, a portable computer magnetic disk, a hard disk, a random access memory (RAM), a read only memory (ROM), an erasable programmable read only memory (EPROM or a flash memory), an optical fiber, a portable compact disk-read only memory (Compact Disk ROM, CD-ROM), an optical storage component, a magnetic storage component, or any suitable combination of the above. In the present disclosure, the computer-readable storage medium can be any tangible mediums including or storing a program, where the program can be used by an instruction-executing system, an apparatus or a component, or be used in combination with them. In the present disclosure, the computer-readable signal medium can include a data signal propagating in a baseband or as a part of a carrier wave, which carries a computer-readable program code. The data signal can be propagated by adopting various forms, which includes, but not limited to, an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, where the computer-readable signal medium can send, propagate or transmit a program used by or in combination with an instruction-executing system, an apparatus or a component. The program code included on the computer-readable medium can be transmitted by any suitable medium, which includes, but not limited to: a cable, an optical cable, RF (radio frequency), etc., or any suitable combination of the above.
In some implementations, the client and the server can communicate by using any currently known or future developed network protocols such as the HTTP (HyperText Transfer Protocol), and can be interconnected with digital data communication of any form or of any medium, for example, communication network. Examples of communication networks include the local area network (LAN), wide area network (WAN), Internet such as internetwork and end-to-end network, for example, Adaptive Heuristic for Opponent Classification, ad hoc end-to-end network, as well as any currently known or future developed network.
The above computer-readable medium may be contained in the above electronic device; and it may also exist alone without being assembled into the electronic device.
The above computer-readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receive a to-be-sent mail; obtain, if it is identified that the to-be-sent mail includes an instant messaging group identifier, a group mail address corresponding to the instant messaging group identifier; and send the to-be-sent mail to a recipient address indicated by a recipient identifier, where the recipient address includes the group mail address.
Alternatively, the above computer-readable medium carries one or more programs which, when executed by an electronic device, cause the electronic device to: obtain a recipient identifier, where the recipient identifier includes multiple instant messaging group identifiers, or the recipient identifier includes a personal mail address and at least one instant messaging group identifier; and send, based on the recipient identifier, a mail to a recipient indicated by the recipient identifier.
The computer program code for executing the operation of the present disclosure can be written in one or more programming languages or the combination thereof, and the above programming languages include, but not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as “C” language, or similar programming languages. The program code can be completely executed on a user computer, partially executed on a user computer, executed as an independent software package, partially executed on a user computer and partially executed on a remote computer, or completely executed on a remote computer or a server. In cases involving remote computers, the remote computers can be connected to user computers through any kind of networks, which includes a local area network (LAN) or a wide area network (WAN), or can be connected to external computers, for example, using Internet service providers to connect through the Internet.
The flowcharts and block diagrams in the drawings illustrate the architecture, functions and operations of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code containing one or more executable instructions for implementing specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks may also occur in an order different from those noted in the drawings. For example, two blocks represented in succession may actually be executed substantially in parallel, and they may sometimes be executed in a reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts, can be implemented by a dedicated hardware-based system that performs specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
The units involved in the embodiments of the present disclosure can be implemented by software or hardware. Where the name of the unit does not define the unit itself in some cases. For example, the receiving module can also be described as “a unit that receives the to-be-sent mail”.
The above functions described herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that can be used include a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), an application specific standard product (ASSP), a system-on-chip (SOC), a complex programmable logic device (CPLD), etc.
In the context of the present disclosure, a machine-readable medium may be a tangible medium that may include or store a program used by or in connection with an instruction execution system, an apparatus or a device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any suitable combination of the above. More specific examples of the machine-readable storage medium include one or more wire-based electrical connections, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or a flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
According to one or more embodiments of the present disclosure, there is provided a mail processing method, apparatus, and system, and the method includes:
According to one or more embodiments of the present disclosure, there is provided a mail processing method, apparatus, and system, and the method includes:
According to one or more embodiments of the present disclosure, there is provided a mail processing method, apparatus, and system, and the method includes:
According to one or more embodiments of the present disclosure, there is provided a mail processing method, apparatus, and system. In the above method, the sending the to-be-sent mail to the recipient address indicated by the recipient identifier includes: performing a deduplication operation on the recipient address indicated by the recipient identifier, and sending the mail to a deduplicated recipient address.
According to one or more embodiments of the present disclosure, there is provided a mail processing method, apparatus, and system. In the above method, the performing the deduplication operation on the recipient address indicated by the recipient identifier includes:
According to one or more embodiments of the present disclosure, there is provided a mail processing method, apparatus, and system. In the above method, the performing the deduplication operation on the recipient address indicated by the recipient identifier includes:
According to one or more embodiments of the present disclosure, there is provided a mail processing method, apparatus, and system. In the above method, the obtaining the group mail address corresponding to the instant messaging group identifier includes:
According to one or more embodiments of the present disclosure, there is provided a mail processing method, apparatus, and system, and the method includes:
According to one or more embodiments of the present disclosure, there is provided a mail processing method, apparatus, and system. In the above method, the sending based on the recipient identifier, the mail to the recipient indicated by the recipient identifier includes:
According to one or more embodiments of the present disclosure, there is provided a mail processing method, apparatus, and system. In the above method, the obtaining the input recipient identifier includes:
According to one or more embodiments of the present disclosure, there is provided a mail processing method, apparatus, and system. In the above method, after displaying the group identifier or the user identifier in association with the user input position, the method further includes:
According to one or more embodiments of the present disclosure, there is provided a mail processing method, apparatus, and system. In the above method, if there are multiple recipient identifiers, the mail servers to which the recipient identifiers belong are the same or different.
According to one or more embodiments of the present disclosure, there is provided a mail processing method, apparatus, and system. In the above method, the recipient identifier includes an instant messaging group identifier, and the sending, based on the recipient identifier, the mail to the recipient indicated by the recipient identifier includes:
According to one or more embodiments of the present disclosure, there is provided a mail processing method, apparatus, and system. In the above method, the sending the mail to the group mailbox indicated by the instant messaging group identifier, to enable the group mailbox to distribute the mail to the member mail addresses of the instant messaging group includes:
According to one or more embodiments of the present disclosure, there is provided a mail processing method, apparatus, and system, and the method further includes: obtaining a group mail address corresponding to the instant messaging group identifier, and displaying the group mail address in the mail.
According to one or more embodiments of the present disclosure, there is provided a mail processing method, apparatus, and system. In the above method, the sending, based on the recipient identifier, the mail to the recipient address indicated by the recipient identifier includes:
According to one or more embodiments of the present disclosure, there is provided a mail processing method, apparatus, and system. In the above method, the performing the deduplication operation on the recipient address indicated by the recipient identifier includes:
According to one or more embodiments of the present disclosure, there is provided a mail processing method, apparatus, and system. In the above method, the performing the deduplication operation on the recipient address indicated by the recipient identifier includes:
The above description is only a description of preferred embodiments of the present disclosure and applied technical principles. It should be understood by those skilled in the art that the disclosure scope involved in the present disclosure is not limited to the technical solution formed by the specific combination of the above technical features, but also covers other technical solutions formed by any combination of the above technical features or equivalent features thereof without departing from the above disclosure concept. For example, the technical solution formed by replacing the above features with the technical features with similar functions disclosed in, but not limited to, the present disclosure.
In addition, although the operations are depicted in a particular order, this should not be understood as requiring that the operations are performed in the particular order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although several specific implementation details are included in the above discussion, these should not be interpreted as limitations on the scope of the present disclosure. Certain features described in the context of separate embodiment may also be implemented in a single embodiment in combination. On the contrary, various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination.
Although the subject matter has been described in language specific to structural features and/or logical acts of methods, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. On the contrary, the specific features and actions described above are merely exemplary forms for implementing the claims.
Number | Date | Country | Kind |
---|---|---|---|
202010600626.1 | Jun 2020 | CN | national |
This application is a continuation of U.S. patent application Ser. No. 17/726,810 filed on Apr. 22, 2022, which is a continuation of International Application No. PCT/CN2021/101337, filed on Jun. 21, 2021. Claims of PCT/CN2021/101337 priority to Chinese patent application No. 202010600626.1, filed to China National Intellectual Property Administration on Jun. 28, 2020, and entitled “Mail Processing Method and Apparatus, Device and Medium”. The disclosures of the above applications are incorporated by reference in their entireties.
Number | Name | Date | Kind |
---|---|---|---|
20060168038 | Lin | Jul 2006 | A1 |
20080183822 | Cai et al. | Jul 2008 | A1 |
20090037542 | Chen et al. | Feb 2009 | A1 |
20100250693 | Zheng | Sep 2010 | A1 |
20100299397 | Sambrani | Nov 2010 | A1 |
20120231770 | Clarke et al. | Sep 2012 | A1 |
20130212200 | Dennis et al. | Aug 2013 | A1 |
20140359133 | Tian | Dec 2014 | A1 |
20140365505 | Clark et al. | Dec 2014 | A1 |
20160057095 | Fox et al. | Feb 2016 | A1 |
20160366077 | Dong et al. | Dec 2016 | A1 |
20180004965 | Gawali et al. | Jan 2018 | A1 |
20180004967 | Gawali et al. | Jan 2018 | A1 |
Number | Date | Country |
---|---|---|
101072192 | Nov 2007 | CN |
102891791 | Jan 2013 | CN |
104935502 | Sep 2015 | CN |
105376145 | Mar 2016 | CN |
109921985 | Jun 2019 | CN |
110113249 | Aug 2019 | CN |
110460509 | Nov 2019 | CN |
110768804 | Feb 2020 | CN |
110928428 | Mar 2020 | CN |
111339776 | Jun 2020 | CN |
111798207 | Oct 2020 | CN |
2003281042 | Oct 2003 | JP |
2004252614 | Sep 2004 | JP |
2005339121 | Dec 2005 | JP |
Entry |
---|
International Search Report issued Sep. 23, 2021 in International Patent Application No. PCT/CN2021/101337. |
First Office Action mailed Dec. 10, 2021 in Chinese Patent Application No. 202010600626.1 with English translation. |
Notice of Reasons for Refusal issued Dec. 26, 2023 in JP Appl. No. 2022-573224, English translation (8 pages). |
Number | Date | Country | |
---|---|---|---|
20230379277 A1 | Nov 2023 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 17726810 | Apr 2022 | US |
Child | 18230743 | US | |
Parent | PCT/CN2021/101337 | Jun 2021 | WO |
Child | 17726810 | US |