CN106161193B - Mail processing method, device and system - Google Patents

Mail processing method, device and system Download PDF

Info

Publication number
CN106161193B
CN106161193B CN201510169426.4A CN201510169426A CN106161193B CN 106161193 B CN106161193 B CN 106161193B CN 201510169426 A CN201510169426 A CN 201510169426A CN 106161193 B CN106161193 B CN 106161193B
Authority
CN
China
Prior art keywords
mail
system mail
user
index information
index
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510169426.4A
Other languages
Chinese (zh)
Other versions
CN106161193A (en
Inventor
张研
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510169426.4A priority Critical patent/CN106161193B/en
Publication of CN106161193A publication Critical patent/CN106161193A/en
Application granted granted Critical
Publication of CN106161193B publication Critical patent/CN106161193B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a mail processing method, which comprises the following steps: the application server carries out sharing operation of a system mail index database, and the sharing operation is applied to the application server which belongs to the same application with the application server; the system mail index database comprises a system mail index set of a corresponding user, and the system mail index set comprises system mail index information of the corresponding user; wherein, each application server stores the system mail content of the application; after the application server obtains an instruction, the instruction is used for providing a system mail list for a user, searching the system mail index database according to a user identifier, and obtaining a system mail index set of the corresponding user; and generating a system mail list of the corresponding user according to the system mail index information in the system mail index set, and returning the system mail list to the client of the corresponding user. The invention also discloses a mail processing device and a mail processing system.

Description

Mail processing method, device and system
Technical Field
The invention relates to the technical field of mail functions of internet application, in particular to a mail processing method, device and system.
Background
At present, mail functions are embedded in many applications of the internet to realize mail receiving and sending among users, system mail sending and the like, and the mail functions are a mode for effectively solving the transmission of messages and the contents of prop articles. The mail can be provided with or without attachments, and the attachments can be used for carrying the contents of prop objects. The existing mail function mostly has the following problems:
1. the system mail is stored redundantly, which wastes storage space.
In the prior art, the same system mail needs to be stored in the suitable mailboxes of all users, the same content repeatedly occupies the mailbox space of the users, and unnecessary storage space waste is generated.
2. The upper storage limit is easily reached due to the limited mailbox capacity of the user.
The user mailbox generally takes the number of mails or the storage size of the content as an upper limit value, and the user mailbox easily reaches the storage upper limit value under the condition that each user stores the complete system mail.
3. The mail list has a single function, and the processing cost for sorting, filtering, deleting and the like of the mails is higher.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide a method, an apparatus, and a system for processing an email.
The embodiment of the invention provides a mail processing method, which comprises the following steps:
the application server carries out sharing operation of a system mail index database, and the sharing operation is applied to the application server which belongs to the same application with the application server;
the system mail index database comprises a system mail index set of a corresponding user, and the system mail index set comprises system mail index information of the corresponding user;
wherein, the application server stores the system mail content of the application;
after the application server obtains an instruction, the instruction is used for providing a system mail list for a user, searching the system mail index database according to a user identifier, and obtaining a system mail index set of the corresponding user;
and generating a system mail list of the corresponding user according to the system mail index information in the system mail index set, and returning the system mail list to the client of the corresponding user.
In the above scheme, the method further comprises:
after the application server searches the system mail index database and obtains the system mail index set of the corresponding user,
comparing the system mail index information in the system mail index set with the stored system mail content, and judging whether a newly added system mail of a corresponding user exists;
when judging that a newly added system mail exists, judging whether a corresponding user meets the issuing condition of the newly added system mail, and when judging that the user meets the issuing condition, generating corresponding newly added system mail index information according to the newly added system mail;
updating the index information of the newly added system mail to a system mail index set of a corresponding user of the system mail index database;
and generating a system mail list of the corresponding user according to the updated system mail index information in the system mail index set, and returning the system mail list to the client of the corresponding user.
In the above scheme, the system mail index information is composed of at least one of the following information items: system mail ID, whether the system mail is read or not, whether the attachment is taken or not and mail time.
In the above scheme, the method further comprises:
when the application server receives a system mail detail request message from a client of a user, the application server searches system mail content matched with the mail ID in the system mail content locally stored by the application server according to the mail ID carried in the request message, and returns the searched system mail content to the client of the user.
In the above scheme, the method further comprises: and the application server detects the user operation of the client, and correspondingly modifies the mark setting in the system mail index information of the corresponding user in the system mail index database when the content of the mark is determined to be changed.
In the above scheme, the method further comprises: carrying out expiration processing on the system mail index information in the system mail index database by the following steps:
periodically or aperiodically checking system mail index information in a system mail index set of all users in the system mail index database, judging whether the system mail index information is expired according to mail time in the system mail index information, and deleting the expired system mail index information; and/or the presence of a gas in the gas,
after an instruction for providing a system mail list for a user is obtained, the system mail index database is searched according to a user identifier, and a system mail index set of a corresponding user is obtained, system mail index information in the system mail index set is checked, whether the system mail index information is overdue or not is judged according to mail time in the system mail index information, and the overdue system mail index information is deleted.
In the above scheme, the method further comprises:
the application server, upon receiving an operation request message from a client of a user and indexing information with respect to a system mail,
according to the operation prompt information in the operation request message and the information items in the system mail index information, executing corresponding operation on the system mail index information, and returning an operation result to the client of the user;
wherein the operations comprise: deleting the system mail index information, sorting the system mail index information and filtering the system mail index information.
In the above scheme, the method further comprises: the system mail content stored in the application server is from a specific system mail storage database, and the system mail index database supports the system mail management end to update the stored system mail content;
correspondingly, the application server periodically or aperiodically accesses the system mail storage database and correspondingly updates the system mail content stored locally by the application server when the update is determined compared with the system mail content stored by the application server, so as to keep the system mail content stored by the application server consistent with the system mail content in the system mail storage database.
The embodiment of the invention also provides a mail processing device, wherein an application server carries out sharing operation of the system mail index database, and the sharing operation is applied to the application server which belongs to the same application with the application server;
the system mail index database comprises a system mail index set of a corresponding user, and the system mail index set comprises system mail index information of the corresponding user;
wherein, the application server stores the system mail content of the application;
the device comprises:
the storage unit is used for storing the system mail content of the application;
the instruction acquisition unit is used for acquiring an instruction for providing a system mail list for a user;
and the mail processing unit is used for searching the system mail index database according to the user identification after obtaining the instruction, obtaining a system mail index set of the corresponding user, generating a system mail list of the corresponding user according to the system mail index information in the system mail index set, and returning the system mail list to the client of the corresponding user.
In the above solution, the mail processing unit is further configured to, after searching the system mail index database and obtaining a system mail index set of a corresponding user, compare system mail index information in the system mail index set with the stored system mail content, and determine whether a new system mail of the corresponding user exists in the application server;
when judging that a newly added system mail exists, judging whether a corresponding user meets the issuing condition of the newly added system mail, and when judging that the condition is met, generating corresponding newly added system mail index information according to the newly added system mail and updating the information into a system mail index set of the corresponding user of the system mail index database;
and generating a system mail list of the corresponding user according to the updated system mail index information in the system mail index set, and returning the system mail list to the client of the corresponding user.
In the above scheme, the system mail index information is composed of at least one of the following information items: system mail ID, whether the system mail is read or not, whether the attachment is taken or not and mail time.
In the above scheme, the apparatus further comprises: a message receiving unit for receiving a system mail detail request message from a client of a user;
the mail processing unit is further configured to, when the message receiving unit receives a system mail detail request message from a client of a user, search, in the storage unit, a system mail content matching the mail ID according to the mail ID carried in the request message, and return the searched system mail content to the client of the user.
In the foregoing solution, the mail processing unit is further configured to detect a user operation of the client, and when it is determined that the content of the tag changes, correspondingly modify the tag setting in the system mail index information of the corresponding user in the system mail index database.
In the above solution, the mail processing unit is further configured to perform expiration processing on the system mail index information in the system mail index database in the following manner:
periodically or aperiodically checking system mail index information in a system mail index set of all users in the system mail index database, judging whether the system mail index information is expired according to mail time in the system mail index information, and deleting the expired system mail index information; and/or the presence of a gas in the gas,
after an instruction for providing a system mail list for a user is obtained, the system mail index database is searched according to a user identifier, and a system mail index set of a corresponding user is obtained, system mail index information in the system mail index set is checked, whether the system mail index information is overdue or not is judged according to mail time in the system mail index information, and the overdue system mail index information is deleted.
In the above scheme, the apparatus further comprises: the device further comprises: a message receiving unit, configured to receive an operation request message, where the operation request message is from a client of a user and indexes information for a system mail;
the mail processing unit is further configured to execute a corresponding operation on the system mail index information according to the operation prompt information in the operation request message and the information item in the system mail index information, and return an operation result to the client of the user;
wherein the operations comprise: deleting the system mail index information, sorting the system mail index information and filtering the system mail index information.
In the above scheme, the system mail content stored in the application server is from a specific system mail storage database, and the system mail index database supports the system mail management end to update the stored system mail content;
the mail processing unit is further used for periodically or non-periodically accessing the system mail storage database and correspondingly updating the system mail content in the storage unit when the update is determined compared with the system mail content in the storage unit so as to keep the system mail content in the storage unit consistent with the system mail content in the system mail storage database.
The embodiment of the invention also provides a mail processing system, which comprises an application server belonging to the same application and a system mail index database shared by the application server, wherein the system mail index database comprises a system mail index set of each user of the application, and each system mail index set comprises system mail index information of a corresponding user; each application server stores the system mail content of the application; the application server comprises the mail processing device provided by the embodiment of the invention.
In the above solution, the system further includes:
the system mail storage database is used for storing the system mail content of the application;
the system mail management terminal is used for managing and updating the system mail content stored in the system mail storage database;
the system mail storage database is also used for receiving periodic or aperiodic access of the application server so as to update the system mail content stored in the application server and keep the system mail content stored in the application server consistent with the system mail content in the system mail storage database.
According to the mail processing method, the device and the system provided by the embodiment of the invention, by introducing a system mail index database and a mechanism of locally caching all system mail contents by an application server, only one part of system mail details is stored in a system mail storage database, and the method is different from the method that in the prior art, one part of complete system mail details of each user is respectively stored in a mailbox of each user (a large number of repeated system mail details exist), so that the redundant storage problem caused by storing the complete system mail contents in the mailbox of the user is effectively avoided, the mail storage consumption of the user is reduced to the greatest extent, and the mail storage space of the user is greatly saved; meanwhile, the operation of the system mail content in the prior art is replaced by the operation of the system mail index, such as: the operations of pulling, marking and modifying, deleting and sequencing the system mail list are only needed by operating the system mail index information, and the operation and storage of the detailed content of the system mail in the prior art are not related, so that the operation cost of sequencing, filtering, deleting and the like in the process of the system mail list is effectively reduced, and the operation efficiency is also improved.
Drawings
FIG. 1 is a flowchart of a mail processing method according to a first embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a mail processing apparatus according to a second embodiment of the present invention;
FIG. 3 is a first schematic structural diagram of a mail processing system according to a third embodiment of the present invention;
FIG. 4 is a second schematic structural diagram of a mail processing system according to a third embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a mail processing system in a network game according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a mail processing system in an online game according to a fifth embodiment of the present invention.
Detailed Description
The technical solution of the present invention is further elaborated below with reference to the drawings and the specific embodiments.
Example one
In the method, at least one application server belonging to the same application shares a system mail index database, that is, the application server performs sharing operation of the system mail index database, and the sharing operation is applied to an application server belonging to the same application as the application server; the system mail index database comprises a system mail index set of each user of the application, and each system mail index set comprises system mail index information of a corresponding user; each application server stores the system mail content of the application; as shown in fig. 1, the method includes:
in step 101, an application server obtains an instruction for providing a system mailing list to a user.
In practical application, a plurality of application servers are usually provided for the same application to provide services, and the application servers share the same system mail index database in the embodiment of the invention; the embodiment of the invention constructs a system mail index set aiming at each user of the application in a system mail index database, wherein the system mail index set of each user comprises system mail index information of the corresponding user. That is, for each system mail of the user, a corresponding system mail index message is generated according to the system mail content, and the system mail index message includes at least one of the following information items: system mail Identification (ID), whether the system mail is read or not, whether the attachment is taken or not and mail time; the system mail ID is a unique identifier of a system mail, whether the system mail is read or not is used for identifying whether the system mail is read by a user or not, whether an attachment drawing mark is used for identifying whether an attachment in the system mail is drawn by the user or not is used, and the mail time is used for recording the generation time of the system mail. All the above information items can be extracted from the mail content of a piece of system mail.
Therefore, the system mail index database in the embodiment of the present invention stores and maintains the system mail index set of each user having the corresponding application, and the system mail index set of each user includes the system mail index information of the corresponding user, and each piece of system mail index information in the system mail index set of each user corresponds to one piece of system mail content of the user (equivalent to one piece of system mail content in the mailbox of the user in the prior art). Each piece of system mail index information is identified by a system mail ID, and each piece of system mail index information at least comprises information such as whether a system mail is read, whether an attachment is picked up, mail time and the like. The system mail index information in the system mail index set of the user may exist in a list form, and the system mail index set of each user may be uniquely identified by the user ID of the user.
The application server can obtain an instruction for providing a system mail list for the user when the user logs in through the client; alternatively, the application server may obtain an instruction to provide the system mailing list to the user when the user logs in through the client and sends a system mailing list request message to the application server.
And 102, the application server searches the system mail index database according to the user identification to obtain a system mail index set of the corresponding user, generates a system mail list of the corresponding user according to the system mail index information in the system mail index set, and returns the system mail list to the client of the corresponding user.
After obtaining an instruction for providing a system mail list for a user, an application server searches a system mail index database according to a corresponding user ID to obtain a system mail index set corresponding to the user ID, and if system mail index information in the system mail index set exists in a list form, the system mail index information list in the system mail index set can be directly returned to a client of the corresponding user; if the system mail index information in the system mail index set does not exist in the form of a list, a system mail list of the corresponding user can be generated according to the system mail index information in the system mail index set and returned to the client of the corresponding user.
In one embodiment, after searching the system mail index database to obtain a system mail index set of a corresponding user, an application server compares system mail index information in the system mail index set with the system mail content stored by the application server to determine whether a newly added system mail of the corresponding user exists in the application server;
when judging that a newly added system mail exists, judging whether a corresponding user meets the issuing condition of the newly added system mail, and updating the index information of the newly added system mail into a system mail index set of the corresponding user in the system mail index database when judging that the newly added system mail exists; correspondingly, a system mail list of the corresponding user is generated according to the updated system mail index information in the system mail index set and returned to the client of the corresponding user.
The system mail refers to a mail which is issued by an application system to all users or a user group in a specific range, such as a system notification mail, a system down-link mail, and the like.
When judging that a newly added system mail exists, further judging whether a corresponding user meets the issuing condition of the newly added system mail (generally, the issuing condition of the newly added system mail is correspondingly stored in an application server along with the newly added system mail), wherein the issuing condition can be the ID range, age, gender and the like of the user, and the issuing condition is not limited in the embodiment of the invention; when the sending condition is judged to be met, generating corresponding newly-added system mail index information according to the newly-added system mail, and updating the information into a system mail index set of a corresponding user of the system mail index database, namely extracting the corresponding system mail index information according to the newly-added system mail, and adding the extracted system mail index information into the system mail index set of the corresponding user of the system mail index database to serve as a piece of new system mail index information in the system mail index set; when the sending condition is judged not to be met, keeping the system mail index information in the system mail index set of the corresponding user in the system mail index database unchanged;
and when judging that no newly added system mail exists, keeping the system mail index information in the system mail index set of the corresponding user in the system mail index database unchanged.
Correspondingly, when a new system mail exists and the system mail index information of the new system mail is added into the system mail index set of the corresponding user of the system mail index database, after updating, the application server generates a system mail list of the corresponding user according to the system mail index information in the updated system mail index set and returns the system mail list to the client of the corresponding user.
In an embodiment, the method further comprises: when the application server receives a system mail detail request message from a client of a user, the application server searches system mail content matched with the mail ID in the system mail content locally stored by the application server according to the mail ID carried in the request message, and returns the searched system mail content to the client of the user.
Specifically, a user not only has a requirement for acquiring a system mail list, but also has a requirement for acquiring corresponding system mail details, after a client of the user acquires the system mail list of the corresponding user, the user can initiate a request message for acquiring certain system mail details to an application server through the client, the request message can carry a requested mail ID, and the mail ID is acquired from the acquired system mail list by the client; when receiving a system mail detail request message of a user, the application server searches matched system mail content in locally stored system mail content according to the mail ID carried in the request message, thereby returning the searched system mail content to the client of the user.
In an embodiment, the method may further include: and the application server detects the user operation of the client, and correspondingly modifies the mark setting in the system mail index information of the corresponding user in the system mail index database when determining that the content marked in the system mail index information (such as whether the system mail is marked as read or not and whether an attachment receives the mark or not) is changed.
Specifically, after the application server returns the system mail list of the corresponding user to the client of the corresponding user, the user operation of the client is detected, and when the fact that the user reads unread system mail index information is found, whether a system mail read mark in the system mail index information of the corresponding user in the system mail index database is set to be read or not is correspondingly set to be read; and/or when finding that the user receives the attachment of the system mail, correspondingly setting whether the attachment receiving mark in the system mail index information of the corresponding user in the system mail index database is received.
In an embodiment, the method further comprises: the application server performs expiration processing on the system mail index information in the system mail index database in the following way:
in the system mail index database, periodically or aperiodically checking system mail index information in a system mail index set of all users, judging whether the system mail index information is expired or not according to mail time in the system mail index information (the mail time can be compared with the current time, if the difference is greater than or equal to a preset threshold value, judging that the system mail index information is expired, otherwise, judging that the system mail index information is not expired), and deleting the expired system mail index information; and/or the presence of a gas in the gas,
after an instruction for providing a system mail list for a user is acquired, a system mail index database is searched according to a user identifier to obtain a system mail index set of a corresponding user, system mail index information in the system mail index set is checked, whether the system mail index set is expired or not is judged according to mail time in the system mail index information (the mail time can be compared with the current time, if the difference is larger than or equal to a preset threshold value, the system mail index set is expired, otherwise, the system mail index set is not expired), and the expired system mail index information is deleted; in this case, the system mail list returned to the user client is generated according to the system mail index information in the system mail index set after the expiration processing.
In an embodiment, the method further comprises:
when the application server receives an operation request message aiming at system mail index information from a client of a user, the application server executes corresponding operation on the system mail index information according to operation prompt information in the operation request message and information items in the system mail index information, and returns an operation result to the client of the user;
wherein the operations comprise: deleting the system mail index information, sorting the system mail index information and filtering the system mail index information.
Specifically, when receiving a deletion request message from a client of a user for system mail index information, the application server searches system mail index information in a system mail index set of a corresponding user in the system mail index database according to a user ID and a mail ID in the deletion request message, and deletes the system mail index information;
when the application server receives a sorting request message of system mail index information from a client of a user, according to a user ID and a sorting condition in the sorting request message, searching corresponding system mail index information in a system mail index set of a corresponding user in the system mail index database, and sorting the corresponding system mail index information according to the sorting condition;
when the application server receives a filtering request message of system mail index information from a client of a user, the application server searches the system mail index information in the system mail index set of the corresponding user in the system mail index database according to the user ID in the filtering request message, and obtains a result obtained after the corresponding system mail index information is filtered according to the filtering condition.
In an embodiment, the method further comprises: the system mail content stored in each application server is from a specific system mail storage database, and the system mail index database supports the system mail management end to update the system mail content stored in the database;
correspondingly, the application server periodically or aperiodically accesses the system mail storage database and correspondingly updates the system mail content locally stored by the application server when the update is determined compared with the system mail content locally stored by the application server, so as to keep the system mail content locally stored by the application server consistent with the system mail content in the system mail storage database.
Specifically, in the embodiment of the present invention, a specific system mail storage database stores all system mail contents of an application, and each application server stores copies of the system mail contents in the system mail storage database; that is, the system mail storage database and each application server only store one complete system mail, and there is no duplicate system mail, which greatly reduces the space occupied by the system mail storage (in the prior art, one system mail needs to be stored in each user mailbox, resulting in duplicate storage).
In summary, the first embodiment of the present invention effectively avoids the problem of redundant storage caused by storing complete system mail content in a user mailbox by introducing a system mail index database and a mechanism for locally caching all system mail content in an application server, thereby reducing the user mail storage consumption to the maximum extent and greatly saving the user mail storage space; meanwhile, the operation of the system mail index replaces the operation of the system mail content in the prior art, so that the operation cost of sequencing, filtering, deleting and the like in the process of the system mail list is effectively reduced.
Example two
Corresponding to the first embodiment of the present invention, the second embodiment of the present invention further provides a mail processing apparatus, which is applied to an application server, where at least one application server belonging to the same application shares a system mail index database, that is, the application server performs a sharing operation of the system mail index database, and the sharing operation is applied to an application server belonging to the same application as the application server; the system mail index database comprises a system mail index set of each user of the application, and each system mail index set comprises system mail index information of a corresponding user; each application server stores the system mail content of the application; as shown in fig. 2, the apparatus includes:
a storage unit 10, configured to store system mail content of the application;
an instruction obtaining unit 20 for obtaining an instruction to provide a system mail list to a user;
and the mail processing unit 30 is configured to, after the instruction is obtained, search the system mail index database according to the user identifier to obtain a system mail index set of the corresponding user, generate a system mail list of the corresponding user according to the system mail index information in the system mail index set, and return the system mail list to the client of the corresponding user.
In an embodiment, the mail processing unit 30 is further configured to, after searching the system mail index database to obtain a system mail index set of a corresponding user, compare system mail index information in the system mail index set with the system mail content stored by the application server, and determine whether a new system mail of the corresponding user exists in the application server;
when judging that a newly added system mail exists, judging whether a corresponding user meets the issuing condition of the newly added system mail, and when judging that the condition is met, generating corresponding newly added system mail index information according to the newly added system mail and updating the information into a system mail index set of the corresponding user of the system mail index database; correspondingly, a system mail list of the corresponding user is generated according to the updated system mail index information in the system mail index set, and the system mail list is returned to the client of the corresponding user.
The system mail refers to a mail which is issued by an application system to all users or a user group in a specific range, such as a system notification mail, a system down-link mail, and the like.
When determining that a newly added system mail exists, the mail processing unit 30 further determines whether the corresponding user meets an issuing condition of the newly added system mail (generally, the issuing condition of the newly added system mail is correspondingly stored in the application server along with the newly added system mail), where the issuing condition may be an ID range, an age, a gender, and the like to which the user belongs, and the issuing condition is not limited in the embodiment of the present invention; when the sending condition is judged to be met, generating corresponding newly-added system mail index information according to the newly-added system mail, and updating the information into a system mail index set of a corresponding user of the system mail index database, namely extracting the corresponding system mail index information according to the newly-added system mail, and adding the extracted system mail index information into the system mail index set of the corresponding user of the system mail index database to serve as a piece of new system mail index information in the system mail index set; when the sending condition is judged not to be met, keeping the system mail index information in the system mail index set of the corresponding user in the system mail index database unchanged;
and when judging that no newly added system mail exists, keeping the system mail index information in the system mail index set of the corresponding user in the system mail index database unchanged.
Correspondingly, when there is a newly added system mail and the system mail index information of the newly added system mail is added to the system mail index set of the corresponding user in the system mail index database, and after updating, the mail processing unit 30 will generate a system mail list of the corresponding user according to the system mail index information in the updated system mail index set and return the system mail list to the client of the corresponding user.
In one embodiment, the system mail index information is composed of at least one of the following information items: system mail ID, whether the system mail is read or not, whether the attachment is taken or not and mail time. The system mail ID is a unique identifier of a system mail, whether the system mail is read or not is used for identifying whether the system mail is read by a user or not, whether an attachment drawing mark is used for identifying whether an attachment in the system mail is drawn by the user or not is used, and the mail time is used for recording the generation time of the system mail. All the above information items can be extracted from the mail content of a piece of system mail.
In one embodiment, the apparatus further comprises: a message receiving unit 40 for receiving a system mail detail request message from a client of a user;
the mail processing unit 30 is further configured to, when the message receiving unit 40 receives a system mail detail request message from a client of a user, search, according to a mail ID carried in the request message, a system mail content matching the mail ID in the storage unit, and return the searched system mail content to the client of the user.
Specifically, a user not only has a requirement for acquiring a system mail list, but also has a requirement for acquiring corresponding system mail details, after a client of the user acquires the system mail list of the corresponding user, the user can initiate a request message for acquiring certain system mail details to an application server through the client, the request message can carry a requested mail ID, and the mail ID is acquired from the acquired system mail list by the client; when the message receiving unit 40 of the application server receives the system mail detail request message of the user, the mail processing unit 30 searches the matched system mail content in the locally stored system mail content according to the mail ID carried in the request message, so as to return the searched system mail content to the client of the user.
In an embodiment, the mail processing unit 30 is further configured to detect a user operation of the client, and when it is determined that the content of the flag (e.g., whether the system mail has been read, whether the attachment is picked up, etc.) is changed, modify the flag setting in the system mail index information of the corresponding user in the system mail index database accordingly.
Specifically, after the mail processing unit 30 returns the system mail list of the corresponding user to the client of the corresponding user, the user operation of the client is detected, and when it is found that the user reads an unread system mail index information, the system mail processing unit correspondingly sets a flag indicating whether the system mail in the system mail index information of the corresponding user in the system mail index database is read or not as read; and/or when finding that the user receives the attachment of the system mail, correspondingly setting whether the attachment receiving mark in the system mail index information of the corresponding user in the system mail index database is received.
In an embodiment, the mail processing unit 30 is further configured to perform expiration processing on the system mail index information in the system mail index database by:
periodically or aperiodically checking system mail index information in a system mail index set of all users in the system mail index database, judging whether the system mail index information is expired according to mail time in the system mail index information, and deleting the expired system mail index information; and/or the presence of a gas in the gas,
after an instruction for providing a system mail list for a user is obtained, the system mail index database is searched according to a user identifier, and a system mail index set of a corresponding user is obtained, system mail index information in the system mail index set is checked, whether the system mail index information is overdue or not is judged according to mail time in the system mail index information, and the overdue system mail index information is deleted; in this case, the system mail list returned to the user client is generated according to the system mail index information in the system mail index set after the expiration processing.
In one embodiment, the apparatus further comprises: a message receiving unit 50 for receiving an operation request message for the system mail index information from a client of a user;
the mail processing unit 50 is further configured to execute a corresponding operation on the system mail index information according to the operation prompt information in the operation request message and the information item in the system mail index information, and return an operation result to the client of the user;
wherein the operations comprise: deleting the system mail index information, sorting the system mail index information and filtering the system mail index information.
In one embodiment, the system mail content stored in each application server is from a specific system mail storage database, and the system mail index database supports the system mail management end to update the system mail content stored in the database;
the mail processing unit 50 is further configured to periodically or aperiodically access the system mail storage database, and when it is determined that there is an update compared with the system mail content in the storage unit 10, correspondingly update the system mail content in the storage unit 10 to keep the system mail content in the storage unit 10 consistent with the system mail content in the system mail storage database.
Specifically, in the embodiment of the present invention, a specific system mail storage database stores all system mail contents of an application, and the storage unit 10 of each application server stores copies of the system mail contents in the system mail storage database; especially for the system mails, the system mail storage database and the storage unit 10 of each application server only store one complete system mail, and no repeated system mails exist, which greatly reduces the storage space of the system mails (in the prior art, one system mail needs to be stored in each mailbox of each user, which causes repeated storage).
In a word, the second embodiment of the invention effectively avoids the problem of redundant storage caused by storing complete system mail contents in a user mailbox by introducing a mail index database and a mechanism of locally caching all system mail contents by an application server, reduces the storage consumption of the user mail to the greatest extent, and greatly saves the storage space of the user mail; meanwhile, the operation of the system mail index replaces the operation of the system mail content in the prior art, so that the operation cost of sequencing, filtering, deleting and the like in the process of the system mail list is effectively reduced.
EXAMPLE III
A third embodiment of the present invention further provides a mail processing system, as shown in fig. 3, where the system includes at least one application server belonging to the same application, and a system mail index database shared by the application servers, where the system mail index database includes a system mail index set of each user of the application, and each system mail index set includes system mail index information of a corresponding user; each application server stores the system mail content of the application; the application server comprises the mail processing device shown in the second embodiment.
In one embodiment, the system further comprises:
the system mail storage database is used for storing the system mail content of the application;
the system mail management terminal is used for managing and updating the system mail content stored in the system mail storage database;
the system mail storage database is also used for receiving periodic or aperiodic access of the application server so as to update the system mail content stored in the application server and keep the system mail content stored in the application server consistent with the system mail content in the system mail storage database.
That is to say, in the embodiment of the present invention, the system mail storage database stores all the system mail contents of the application, and each application server stores copies of the system mail contents in the system mail storage database; each application server periodically or aperiodically accesses the system mail storage database, and when the system mail content in the application server is determined to be updated, the system mail content in the application server is correspondingly updated so as to keep the system mail content in the application server consistent with the system mail content in the system mail storage database. And the system mail management terminal executes management and updating of the system mail storage database, wherein the management and updating comprises operations of editing, adding, modifying, deleting the content of the system mail and the like.
A third embodiment of the present invention further provides another mail processing system, as shown in fig. 4, where a difference between the system structure shown in fig. 4 and the system structure shown in fig. 3 is:
the system shown in fig. 4 does not use a system mail storage database, but the system mail management end directly performs management operation on the system mail copy of the application server; when a new system mail needs to be issued or changed, the system mail management end directly updates the system mail copy content on each application server. Then the process of periodically or aperiodically accessing the system mail storage database by the application server to keep the system mail copy local to the application server consistent with the system mail content in the system mail storage database in the system structure shown in fig. 3 is omitted.
The method, apparatus and system of the embodiments of the present invention are further described in detail below by taking the application as an online game and performing index-related processing only for the system mail of the online game as an example.
Example four
A mail processing system according to a fourth embodiment of the present invention is shown in fig. 5, and the system includes:
the game server: the network game server is communicated with the game client through the network and is used for processing game logic; the game server accesses the system mail index database to obtain the system mail index list of the user.
System mail index database: a server storing a system mail index of each user; the system mail index information of each user records information such as mail ID, whether the mail is read, whether the attachment is picked up, mail time and the like; according to the index, operations such as sorting, filtering, marking and the like can be conveniently carried out on the user mail list, and mail details in the local system mail copy of the corresponding game server can be obtained according to the index. The purpose of using the index is: the server cost of a user mail system is reduced, and only the user mail index is required to be operated for the requirements of addition, deletion, sequencing, filtering and the like, and the mail is not required to be operated; for reading mails or obtaining attachments in the mails, only the flag bit in the corresponding index needs to be modified, the mails do not need to be operated, and meanwhile, in the scenes of processing overdue mails and the like, no matter cleaning operation is executed regularly or cleaning is triggered by a user, the cost of the server can be greatly reduced for the index operation, so that the cost of the server is greatly saved, and the performance of the server is improved. And secondly, the storage cost of a user mail system is reduced, compared with the mail, the mail index information can save a large amount of storage space, each user does not need to store all contents of the mail, and only needs to store the ID and part of the mark bits of the mail as the index information, so that the condition that the detailed contents of the mail are redundantly stored in each user is avoided, and the system storage resources are greatly saved.
System mail storage database: the server of the system mail original storage will be synchronized to the local copy of each game server at regular time after the modification is determined according to the change requirement, so that the system mail copy on each game server is consistent with the system mail storage database.
The system mail management end: and the tool program set is provided for game operation staff to edit, add, modify, delete and the like the system mails.
Wherein, the system mail copy: copying the system mail content locally in the game server, namely copying the system mail storage database locally to the game server; because the mail content of the system is not large, the mail can be directly stored in the memory of the game server as read-only content, so that the use of a disk is avoided, and the access efficiency is improved.
In the mail index information of the user, the state information of the system mail is recorded, including attributes such as whether the mail is read, whether the attachment is picked up, the mail time and the like. Calculated by 1 hundred million users (namely 100M), 100M multiplied by 100 mails per user multiplied by the index size of 13B per mail is 130G, namely 1 hundred million users, only 130G is needed for storing 100 system mails per user, and thus the storage cost is extremely low.
The stored data structure in the system mail index database is as follows (described using the xml protocol):
Uin 1 total number of indexes Index latest update time T1 System mail index list
Uin 2 Total number of indexes Index latest update time T2 System mail index list
Uin 3 Total number of indexes Index latest update time T3 System mail index list
...... ......
In this embodiment, the user has a plurality of system mails corresponding to the number of total pieces of index information, and the system mail index list is a system mail index information set of the user stored in a list form.
The data structure of the system mail index information is briefly described as follows:
Figure GDA0001558658840000191
the following explains the implementation process of the system:
1. obtaining a system mail list
The system mail list is acquired in a scene with the most requirements of the user, because the user logs in the game and clicks the mailbox button, the system mail list of the user is displayed firstly, and because the system mail list of the embodiment of the invention does not need to display the detailed content of the system mail, a large amount of server overhead can be saved by using the system mail index, and the performance is improved.
Meanwhile, users often have sorting and filtering requirements for pulling the system mail list, for example, the default system mail list is arranged according to the time sequence from new to old, and certainly, users can also pull the sorting requirements of the list according to the sequence from old to new; and if the user wants to obtain an unread system mail list, a read system mail list, or a system mail list with attachments, the user needs to filter the system mail and then generate the list. Aiming at the sorting and filtering requirements of users, the system mail index information contains relevant parameters, for example, the sorting requirements of a user mail list can be met by adding mail generating time into the system mail index information, for example, the requirements of the user for filtering the read and unread mail lists can be met by adding a mark bit for judging whether the read mail is read or not into the system mail index information, and for example, the requirements of the user for filtering the system mail list with a prop attachment can be met by adding a mark bit for judging whether the available prop attachment is added into the system mail index information or not.
2. Adding and updating system mail
The game operator updates the system mails, including adding new mails and updating old mails, modifies the system mails through a management tool (namely a system mail management end) and finally stores the system mails in a system mail storage database, the game server periodically or aperiodically accesses the system mail storage database to determine whether the system mails are updated, and if so, pulls the latest system mails to store in a system mail copy local to the game server.
3. User obtaining new system mail
When a user logs in a game to access the game server after a new system mail is stored in the system mail storage database and updated to a local system mail copy by the game server, the game server pulls a system mail index of the user from the system mail index database, judges whether user information meets the issuing condition of the new system mail when the user information is compared with the local system mail copy of the game server and finds that the local system mail copy of the game server contains the new system mail, generates new user mail index information by the information of the new system mail such as mail ID, mail generation time and the like if the user information meets the issuing condition of the new system mail, and updates the new user mail index information into the system mail index database, so that the new system mail of the user is successfully added; otherwise, keeping the mail index of the user system unchanged.
4. Obtaining system mail details
The system mail index information records the mail ID, the mail generation time and part of mark bit information, but when the user needs the detailed condition of the system mail, the user needs to access the details of the system mail; the game server accesses the system mail copy stored locally according to the mail ID to obtain the detailed content of the corresponding system mail, including the detailed content of the title, the body, the attachment and the like.
The detailed structure of the system mail is briefly described as follows:
constant definition:
Figure GDA0001558658840000211
Figure GDA0001558658840000221
it should be noted that the constants defined in the structure are obtained by empirical values, and the values used in different games may be different. The system mail is system unique, and the system mail ID is also required to be system-wide unique. SystemMail is a description of system mail details. The Condition in the structure represents the issuing Condition of the system mail, including the conditions of user uin range, gender Condition, game age and the like, when a new system mail exists, whether the user information meets the mail Condition needs to be judged, and if the user information meets the mail Condition, the user mail index can be added into the system mail index database.
5. Setting of extracted mark of attachment and mail read
After the user mail is read and the mail attachment is extracted, the game server needs to set the mark bit of the corresponding user mail index information in the system mail index database.
6. Handling of expired mail
The old mails of the users need to be overdue, and the method has two modes: checking user mail index information at a game server regularly, and deleting overdue system mail index information; and secondly, when the user logs in the game to pull the mail list, checking the system mail index information of the user and deleting the overdue system mail index information.
The first method can effectively clean the user mail index storage occupied by the overdue system mail index information in a timed manner and timely release the user mail index storage occupied by the overdue system mail index information, but has certain resource consumption on the game server; and the second method can be used for cleaning the game server only when the user logs in, so that the expense of the game server can be reduced.
EXAMPLE five
Fig. 6 shows a mail processing system according to a fifth embodiment of the present invention, and the difference between the system structure shown in fig. 6 and the system structure shown in the fourth embodiment is:
a system mail storage database is not adopted, but a system mail management end directly performs management operation on the system mail copy of the game server; when a new system mail needs to be issued or changed, the system mail management end directly updates the system mail copy content on each game server. The process of periodically or aperiodically accessing the system mail storage database by the game server to keep the system mail copy local to the game server consistent with the system mail content in the system mail storage database, as described in the fourth embodiment of the present invention, is omitted.
In addition, it should be noted that the application server in the embodiments of the present invention may adopt cluster deployment, and when a user logs in, the corresponding application server is allocated according to Uin modulo, and since the application server obtains the system mail index list of the user by accessing the mail index database, the application server is preferably deployed close to the mail index database, so as to ensure that network latency is small. Furthermore, the application server local deployment related process supports the existence and updating of the mail copy of the local system.
The system mail copy of the embodiment of the invention is stored locally in the application server as read-only content, and because the content of the system mail is not large, the system mail copy can be preferably stored in a memory, so that the use of a disk memory is avoided, and the access efficiency is improved. The application server adopts a special process to take charge of timely updating of mail content.
For the mail index database of the embodiment of the present invention, because of no requirement of Structured Query Language (SQL), a NoSQL (meaning a non-relational database) storage scheme with high concurrent read-write efficiency can be used, hot data (such as data with high access frequency) is stored in a system memory, cold data can be settled to a disk backup at regular time, and data is separated in cold and hot to improve the system utilization rate. Daily backups of data in the mail index database may also be made, such as by keeping a daily backup of the mail index database for a week.
For the system mail storage database of the embodiment of the invention, a NoSQL storage scheme with high concurrent reading and writing efficiency can be used because of no SQL requirement. Because the application server stores the system mail copy, the system mail storage database does not need to carry out disaster tolerance in a short time, and even if the server of the system mail storage database fails, other services cannot be influenced in a short time, so that the rationality of the architecture design of the embodiment of the invention is reflected.
For the system mail management terminal of the embodiment of the invention, a web system can be used for providing a convenient and efficient operation management interface.
In summary, by introducing a mechanism of locally caching all system mail contents in a mail index database and an application server, and only one copy of system mail details is stored in a system mail storage database, which is different from the prior art that a complete system mail detail (a large number of repeated system mail details) of each user is respectively stored in a mailbox of each user, the problem of redundant storage caused by storing the complete system mail contents in the mailbox of the user is effectively avoided, the mail storage consumption of the user is reduced to the greatest extent, and the mail storage space of the user is greatly saved; meanwhile, the operation of the system mail content in the prior art is replaced by the operation of the system mail index, such as: the operations of pulling, marking and modifying, deleting and sequencing the system mail list are only needed by operating the system mail index information, and the operation and storage of the detailed content of the system mail in the prior art are not related, so that the operation cost of sequencing, filtering, deleting and the like in the process of the system mail list is effectively reduced, and the operation efficiency is also improved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (19)

1. A method of mail processing, the method comprising:
the application server carries out sharing operation of a system mail index database, and the sharing operation is applied to the application server which belongs to the same application with the application server;
the system mail is a mail which is issued by the applied system to all users or a user group in a specific range;
the system mail index database comprises a system mail index set of a corresponding user, and the system mail index set comprises system mail index information of the corresponding user;
the system mail content of the application is stored in a specific system mail storage database, and a copy of the system mail content of the application is stored in the application server;
after the application server obtains an instruction, the instruction is used for providing a system mail list for a user, searching the system mail index database according to a user identifier, and obtaining a system mail index set of the corresponding user;
and generating a system mail list of the corresponding user according to the system mail index information in the system mail index set, and returning the system mail list to the client of the corresponding user.
2. The mail processing method according to claim 1, wherein the method further comprises:
after the application server searches the system mail index database and obtains the system mail index set of the corresponding user,
comparing the system mail index information in the system mail index set with the stored system mail content, and judging whether a newly added system mail of a corresponding user exists;
when judging that a newly added system mail exists, judging whether a corresponding user meets the issuing condition of the newly added system mail, and when judging that the user meets the issuing condition, generating corresponding newly added system mail index information according to the newly added system mail;
updating the index information of the newly added system mail to a system mail index set of a corresponding user of the system mail index database;
and generating a system mail list of the corresponding user according to the updated system mail index information in the system mail index set, and returning the system mail list to the client of the corresponding user.
3. The mail processing method according to claim 1 or 2,
the system mail index information is composed of at least one of the following information items: system mail ID, whether the system mail is read or not, whether the attachment is taken or not and mail time.
4. The mail processing method according to claim 3, wherein the method further comprises:
the application server upon receiving a system mail detail request message from a client of a user,
and searching the system mail content matched with the mail ID in the system mail content locally stored by the application server according to the mail ID carried in the request message, and returning the searched system mail content to the client of the user.
5. The mail processing method according to claim 3, wherein the method further comprises:
and the application server detects the user operation of the client, and correspondingly modifies the mark setting in the system mail index information of the corresponding user in the system mail index database when the content of the mark is determined to be changed.
6. The mail processing method according to claim 3, wherein the method further comprises:
carrying out expiration processing on the system mail index information in the system mail index database by the following steps:
periodically or aperiodically checking system mail index information in a system mail index set of all users in the system mail index database, judging whether the system mail index information is expired according to mail time in the system mail index information, and deleting the expired system mail index information; and/or the presence of a gas in the gas,
after an instruction for providing a system mail list for a user is obtained, the system mail index database is searched according to a user identifier, and a system mail index set of a corresponding user is obtained, system mail index information in the system mail index set is checked, whether the system mail index information is overdue or not is judged according to mail time in the system mail index information, and the overdue system mail index information is deleted.
7. The mail processing method according to claim 3, wherein the method further comprises:
the application server, upon receiving an operation request message from a client of a user and indexing information with respect to a system mail,
according to the operation prompt information in the operation request message and the information items in the system mail index information, executing corresponding operation on the system mail index information, and returning an operation result to the client of the user;
wherein the operations comprise: deleting the system mail index information, sorting the system mail index information and filtering the system mail index information.
8. A mail processing method according to claim 1 or 2, characterized in that the method further comprises:
the system mail content stored in the application server is from a specific system mail storage database, and the system mail index database supports the system mail management end to update the stored system mail content;
correspondingly, the application server periodically or aperiodically accesses the system mail storage database and correspondingly updates the system mail content stored locally by the application server when the update is determined compared with the system mail content stored by the application server, so as to keep the system mail content stored by the application server consistent with the system mail content in the system mail storage database.
9. The mail processing device is applied to an application server, and is characterized in that the application server carries out sharing operation of a system mail index database, and the sharing operation is applied to the application server belonging to the same application as the application server;
the system mail is a mail which is issued by the applied system to all users or a user group in a specific range;
the system mail index database comprises a system mail index set of a corresponding user, and the system mail index set comprises system mail index information of the corresponding user;
the system mail content of the application is stored in a specific system mail storage database, and a copy of the system mail content of the application is stored in the application server;
the device comprises:
a storage unit for saving a copy of the system mail content of the application;
the instruction acquisition unit is used for acquiring an instruction for providing a system mail list for a user;
and the mail processing unit is used for searching the system mail index database according to the user identification after obtaining the instruction, obtaining a system mail index set of the corresponding user, generating a system mail list of the corresponding user according to the system mail index information in the system mail index set, and returning the system mail list to the client of the corresponding user.
10. Mail processing apparatus according to claim 9,
the mail processing unit is further used for comparing the system mail index information in the system mail index set with the stored system mail content after searching the system mail index database and obtaining the system mail index set of the corresponding user, and judging whether a newly added system mail of the corresponding user exists in the application server;
when judging that a newly added system mail exists, judging whether a corresponding user meets the issuing condition of the newly added system mail, and when judging that the condition is met, generating corresponding newly added system mail index information according to the newly added system mail and updating the information into a system mail index set of the corresponding user of the system mail index database;
and generating a system mail list of the corresponding user according to the updated system mail index information in the system mail index set, and returning the system mail list to the client of the corresponding user.
11. Mail processing apparatus according to claim 9 or 10,
the system mail index information is composed of at least one of the following information items: system mail ID, whether the system mail is read or not, whether the attachment is taken or not and mail time.
12. Mail processing apparatus according to claim 11,
the device further comprises: a message receiving unit for receiving a system mail detail request message from a client of a user;
the mail processing unit is further configured to, when the message receiving unit receives a system mail detail request message from a client of a user, search, in the storage unit, a system mail content matching the mail ID according to the mail ID carried in the request message, and return the searched system mail content to the client of the user.
13. Mail processing apparatus according to claim 11,
the mail processing unit is further configured to detect a user operation of the client, and when it is determined that the content of the tag changes, modify a tag setting in system mail index information of a corresponding user in the system mail index database, correspondingly.
14. Mail processing apparatus according to claim 11,
the mail processing unit is further used for carrying out expiration processing on the system mail index information in the system mail index database by the following method:
periodically or aperiodically checking system mail index information in a system mail index set of all users in the system mail index database, judging whether the system mail index information is expired according to mail time in the system mail index information, and deleting the expired system mail index information; and/or the presence of a gas in the gas,
after an instruction for providing a system mail list for a user is obtained, the system mail index database is searched according to a user identifier, and a system mail index set of a corresponding user is obtained, system mail index information in the system mail index set is checked, whether the system mail index information is overdue or not is judged according to mail time in the system mail index information, and the overdue system mail index information is deleted.
15. Mail processing apparatus according to claim 11,
the device further comprises: a message receiving unit, configured to receive an operation request message, where the operation request message is from a client of a user and indexes information for a system mail;
the mail processing unit is further configured to execute a corresponding operation on the system mail index information according to the operation prompt information in the operation request message and the information item in the system mail index information, and return an operation result to the client of the user;
wherein the operations comprise: deleting the system mail index information, sorting the system mail index information and filtering the system mail index information.
16. Mail processing apparatus according to claim 9 or 10,
the system mail content stored in the application server is from a specific system mail storage database, and the system mail index database supports the system mail management end to update the stored system mail content;
the mail processing unit is further used for periodically or non-periodically accessing the system mail storage database and correspondingly updating the system mail content in the storage unit when the update is determined compared with the system mail content in the storage unit so as to keep the system mail content in the storage unit consistent with the system mail content in the system mail storage database.
17. A mail processing system comprises application servers belonging to the same application and a system mail index database shared by the application servers, wherein the system mail index database comprises a system mail index set of each user of the application, and each system mail index set comprises system mail index information of a corresponding user; the application server stores a copy of the system mail content of the application; the application server comprising the mail processing apparatus of any of claims 9-16; the system mail is a mail which is issued by the applied system to all users or a user group in a specific range.
18. The mail processing system of claim 17, the system further comprising:
the system mail storage database is used for storing the system mail content of the application;
the system mail management terminal is used for managing and updating the system mail content stored in the system mail storage database;
the system mail storage database is also used for receiving periodic or aperiodic access of the application server so as to update the system mail content stored in the application server and keep the system mail content stored in the application server consistent with the system mail content in the system mail storage database.
19. A computer storage medium having computer-executable instructions stored thereon for performing the mail processing method of any of claims 1 to 8.
CN201510169426.4A 2015-04-10 2015-04-10 Mail processing method, device and system Active CN106161193B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510169426.4A CN106161193B (en) 2015-04-10 2015-04-10 Mail processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510169426.4A CN106161193B (en) 2015-04-10 2015-04-10 Mail processing method, device and system

Publications (2)

Publication Number Publication Date
CN106161193A CN106161193A (en) 2016-11-23
CN106161193B true CN106161193B (en) 2020-05-08

Family

ID=57336086

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510169426.4A Active CN106161193B (en) 2015-04-10 2015-04-10 Mail processing method, device and system

Country Status (1)

Country Link
CN (1) CN106161193B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108418746B (en) * 2018-02-13 2020-06-12 论客科技(广州)有限公司 Mail synchronization method and device and computer readable storage medium
CN109600240A (en) * 2018-12-21 2019-04-09 北京云中融信网络科技有限公司 Group Communications method and device
CN110266799B (en) * 2019-06-21 2022-07-05 国网山西省电力公司忻州供电公司 Method for realizing idempotency based on cache
CN112866087B (en) * 2021-01-11 2022-02-11 腾讯科技(深圳)有限公司 Information receiving method and computer readable storage medium
CN117331946A (en) * 2023-11-28 2024-01-02 彩讯科技股份有限公司 Method, device, equipment and computer readable storage medium for constructing mail index

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581188A (en) * 2004-05-18 2005-02-16 中兴通讯股份有限公司 Storage managment method and system for large capacity electronic mail
CN101072200A (en) * 2007-05-11 2007-11-14 腾讯科技(深圳)有限公司 Method and device for obtaining electronic mail reply and relay state
CN101179523A (en) * 2007-12-04 2008-05-14 中兴通讯股份有限公司 System and method for storing media information unitedly
CN102904795A (en) * 2011-07-29 2013-01-30 彭涛 Mail synchronous system and synchronous method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8938474B2 (en) * 2006-08-07 2015-01-20 International Business Machines Corporation Securing application information in system-wide search engines

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581188A (en) * 2004-05-18 2005-02-16 中兴通讯股份有限公司 Storage managment method and system for large capacity electronic mail
CN101072200A (en) * 2007-05-11 2007-11-14 腾讯科技(深圳)有限公司 Method and device for obtaining electronic mail reply and relay state
CN101179523A (en) * 2007-12-04 2008-05-14 中兴通讯股份有限公司 System and method for storing media information unitedly
CN102904795A (en) * 2011-07-29 2013-01-30 彭涛 Mail synchronous system and synchronous method thereof

Also Published As

Publication number Publication date
CN106161193A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
US9792340B2 (en) Identifying data items
CN106161193B (en) Mail processing method, device and system
US7685106B2 (en) Sharing of full text index entries across application boundaries
US8775374B2 (en) Data synchronization system and data synchronization method
CN103678556B (en) The method and processing equipment of columnar database processing
US20180011861A1 (en) Managing storage of individually accessible data units
CN111459985B (en) Identification information processing method and device
US20120203745A1 (en) System and method for range search over distributive storage systems
CN103795811B (en) Information storage and data statistical management method based on meta data storage
CN109299157B (en) Data export method and device for distributed big single table
US7634517B1 (en) System and method for dynamically updating a document repository without interrupting concurrent querying
CN111460023A (en) Service data processing method, device, equipment and storage medium based on elastic search
WO2017096892A1 (en) Index construction method, search method, and corresponding device, apparatus, and computer storage medium
CN109726177A (en) A kind of mass file subregion indexing means based on HBase
CN109669925B (en) Management method and device of unstructured data
CN109284273B (en) Massive small file query method and system adopting suffix array index
CN111858760B (en) Data processing method and device for heterogeneous database
CN110399348A (en) File deletes method, apparatus, system and computer readable storage medium again
US7536512B2 (en) Method and apparatus for space efficient identification of candidate objects for eviction from a large cache
CN106202416A (en) Table data write method and device, table data read method and device
CN112148680B (en) File system metadata management method based on distributed graph database
CN104423982A (en) Request processing method and device
US9111261B2 (en) Method and system for management of electronic mail communication
CN103365987A (en) Clustered database system and data processing method based on shared-disk framework
CN117472854A (en) Acceleration batch file search model

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant