CN100579126C - A mail subscription method and server - Google Patents

A mail subscription method and server Download PDF

Info

Publication number
CN100579126C
CN100579126C CN200710151977A CN200710151977A CN100579126C CN 100579126 C CN100579126 C CN 100579126C CN 200710151977 A CN200710151977 A CN 200710151977A CN 200710151977 A CN200710151977 A CN 200710151977A CN 100579126 C CN100579126 C CN 100579126C
Authority
CN
China
Prior art keywords
mail
subscription
booking reader
information
sign
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
CN200710151977A
Other languages
Chinese (zh)
Other versions
CN101127773A (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 CN200710151977A priority Critical patent/CN100579126C/en
Publication of CN101127773A publication Critical patent/CN101127773A/en
Application granted granted Critical
Publication of CN100579126C publication Critical patent/CN100579126C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The utility model discloses a mail subscription method and a mail subscription server. The mail subscription server divides subscription users into active users and inactive users by comparing the last time when subscription users gained subscription mails with the current time, and neatly chooses to give up sending information mails to the inactive users provisionally, only sends the corresponding subscription mails to the active users. The utility model has the advantages that lightening the running load of sending subscription mails of the mail subscription server, and synchronously avoiding the problem of impropriating network resources caused by vast information mails piping up in the mailboxes of users.

Description

A kind of mail subscription method and server
Technical field
The present invention relates to computer, the communications field, particularly a kind of mail subscription method and server.
Background technology
The mail subscription business is a kind of by a kind of business of the Internet (Internet) mail to fixing colony's transmission network information, and the user can subscribe to the multiclass information column that provides by the mail subscription system, as topical news, entertainment video, fashion information etc.
At present mail subscription realize be mailing system according to the booking reader, with all kinds of information that the user subscribes to, issue the booking reader by mailbox.Create the mail subscription file among booking reader's mailbox, as long as new information issue is arranged, the mail subscription system just is sent to mail subscription file in booking reader's mailbox to the mail that comprises relevant information.Present mail subscription system also provides deletion easily to subscribe to, has newly-increasedly subscribed to, revised the function of subscribing to, and add, the subscription of deletion can come into force, need not to go again to confirm in the mailbox.
The structure of mail subscription system (its structure may be not limited thereto) as shown in Figure 1 in the prior art, form by following three parts:
The mail user end: can be the software that receives mail, such as Outlook, Foxmail etc., also can be based on the mailbox of Web, the user only need open software or sign in to the Web mailbox and just can receive all kinds of news of subscription or the mail of other information;
Subscribe to the Web interface module of mail, the interface that provides the user to subscribe to information to the Internet allows the user select to subscribe to the classification of news or information.Also provide user's modification, newly-increased, deletion is subscribed to and quit the subscription of or the interface of logging off users;
Mail service module, mail delivery module are responsible for the news that the mail subscription administrative staff are subscribed to according to the user or the classification of information, and news in the corresponding mail tabulation or information mail are sent to corresponding mail subscription user.
In the existing mail subscription business, the mail subscription system will constantly send up-to-date news and the information mail mailbox to each booking reader according to news and the information classification that the user subscribes to, up-to-date news and the information mail that ordering system adds even not login once more for a long time after some mail subscription user subscribes to once, its mailbox also can constantly get the mail.In the face of the huge day by day mail subscription user of quantity, the live load of mail subscription system tends to very heavy, even can cause the server machine of delaying, simultaneously because some booking reader does not login its mailbox for a long time yet, there is a large amount of mails to pile up in its mailbox, even fill up whole subscriber mailbox, greatly wasted Internet resources.
Summary of the invention
The invention provides a kind of mail subscription method and server, send the flood tide mail and cause the delay problem of machine and network resources waste of server in order to solve the mail subscription server that exists in the prior art.
A kind of mail subscription implementation method comprises:
The mail subscription server is made as first category with booking reader's initial category;
Described mail subscription server calculates its interval duration apart from the current time, the size of the duration threshold value of more described interval duration and setting according to the temporal information that the booking reader of record obtains ordered mail the last time; When described interval duration less than or during smaller or equal to described duration threshold value, determine that classification is described first category under this booking reader; When described interval duration more than or equal to or during greater than described duration threshold value, determine that classification is second classification under this booking reader;
Described mail subscription server only sends the subscription mail to described first category booking reader.
Mail subscription server record booking reader obtain the last time ordered mail temporal information, specifically comprise:
Obtain when subscribing to mail when the booking reader logins mailbox, the mail subscription server obtains the temporal information of ordering mail the last time with this booking reader of current time information updated stored.
Store user subscription information table in the mail subscription server; For generating one, each booking reader subscribes to record, subscribe in the record and comprise at least: information program logo, the booking reader that booking reader's sign, booking reader's name, booking reader subscribe to obtains the classification logotype of the temporal information and the affiliated classification of booking reader of ordered mail the last time, and classification logotype comprises the first category sign and second classification logotype.
The mail subscription server only sends the subscription mail to the first category booking reader, specifically comprises:
The mail subscription server obtains each the bar record in the user subscription information table, when preserving the first category sign in this record, according to the information program logo of preserving in this record, obtain corresponding information content and generate and subscribe to mail, and send the corresponding mailbox of the subscriber mailbox name of the subscription mail that the generates preservation to this record.
The mail subscription server is carried out the following step after each first category booking reader is sent the subscription mail:
Obtain the temporal information of ordering mail the last time according to this booking reader who writes down in the user subscription information table, calculate its interval duration apart from the current time;
The size of the duration threshold value of comparison interval duration and setting;
When the interval duration less than or during smaller or equal to the duration threshold value, keep this booking reader's corresponding class and be designated the first category sign; When the interval duration more than or equal to or during greater than the duration threshold value, the corresponding classification logotype that upgrades this booking reader's correspondence is second classification logotype.
When the mail subscription server obtains the subscription mail the booking reader at every turn, also comprise:
Judge whether this booking reader's corresponding class sign is second classification logotype in the user subscription information table; If then be the first category sign with this booking reader's corresponding class identification renewal.
After the mail subscription server with booking reader's corresponding class identification renewal is the first category sign, also comprise:
Whether the prompting booking reader acquisition request subscription mail out of date; When booking reader's acquisition request, the subscription mail out of date of booking reader's acquisition request is sent to this user's mailbox.
The booking reader of first category sign obtains when subscribing to mail at every turn, also comprises:
Determine described booking reader when the mail subscription server and subscribed to two or more information columns, and when unread mail has reached preset threshold in this subscriber mailbox, each information field purpose unread mail that calculates its subscription accounts for the ratio of all unread mails, impose a condition if there is the ratio of information column unread mail to satisfy, then point out the booking reader whether to quit the subscription of this information column; And after the booking reader agrees to quit the subscription of, carry out this information column and quit the subscription of flow process.
The present invention also provides a kind of mail subscription server, comprising: interface unit, memory cell, updating block, transmission performance element and judging unit;
Interface unit, be used for and the booking reader between realize mail subscription, obtain user subscription information and send to updating block; User subscription information comprises the information program logo of booking reader's sign, booking reader's name, booking reader's subscription and the temporal information that the booking reader obtains ordered mail the last time at least;
Memory cell is used to store the affiliated classification logotype of user subscription information and booking reader, and classification logotype comprises the first category sign and second classification logotype; Each booking reader's initial category sign is made as the first category sign; Also be used to store the information content corresponding with the information program logo;
Updating block is used to receive the also user subscription information of updating interface unit transmission; Also be used to receive the update notification message that judging unit sends, the classification logotype that identifies corresponding booking reader according to the booking reader who carries in the update notification message is updated to second classification logotype;
Send performance element, be used for obtaining the first category sign of user subscription information,, from memory cell, obtain corresponding information content and generate the subscription mail according to corresponding information program logo, the subscription mail that sends generation is to the respective user mailbox, and the startup judging unit;
Judging unit, the booking reader who is used for preserving according to memory cell obtains the temporal information of ordered mail the last time, calculates its interval duration apart from the current time, the size of the duration threshold value of comparison interval duration and setting; When the interval duration more than or equal to or during greater than the duration threshold value, send update notification message to updating block, carry booking reader's sign in the update notification.
Sending performance element also comprises and obtains subelement, generates subelement and send subelement;
Obtain subelement, be used for obtaining user subscription information and the classification logotype that memory cell is preserved, from memory cell, obtain the information content of the information program logo correspondence that the user of preservation subscribes to, the information content that gets access to is sent to the generation subelement;
Generate subelement, be used for to obtain the column content that subelement sends, subscribe to mail according to the pattern generation of mail, and send to the transmission subelement;
Send subelement, the subscription mail that is used for generating the subelement generation is sent to booking reader's corresponding mailbox, and starts judging unit.
Interface unit also sends login and is notified to updating block when the booking reader obtains the subscription mail, carry booking reader's sign of current login in the login notice;
After updating block receives the login notice that interface unit sends, judge that classification logotype that this user subscribes to is second classification logotype after, this booking reader's classification logotype is updated to the first category sign.
Beneficial effect of the present invention is as follows: use mail subscription method provided by the invention and server, the mail subscription server can be distinguished active booking reader and sluggish booking reader neatly, temporarily abandon sending the information mail to logining sluggish booking reader, alleviate the operating load of mail subscription server, also avoided a large amount of information mails to be piled up in booking reader's mailbox and to cause the problem that takies Internet resources simultaneously.
Description of drawings
Fig. 1 is the structural representation of mail subscription system in the prior art;
Fig. 2 sends the flow chart of subscribing to mail for the mail subscription server that the embodiment of the invention provides to the booking reader;
The mail subscription server sent the flow chart of subscribing to mail to it when the current sluggish booking reader that Fig. 3 provides for the embodiment of the invention logined;
When many information column booking reader that Fig. 4 provides for the embodiment of the invention logins it is not often browsed the handling process of column;
The structural representation of the mail subscription server that Fig. 5 provides for the embodiment of the invention;
Send the internal structure schematic diagram of performance element in the mail subscription server that Fig. 6 provides for the embodiment of the invention.
Embodiment
Mail subscription method generally includes following steps, the user logins its mailbox by inputing user name and password, after selecting to subscribe to relevant column and submitting to successfully, just become the booking reader, the column that the mail subscription server is subscribed to according to the booking reader, constantly carry out and subscribe to the mail transmission flow, all kinds of columns according to booking reader's subscription, generate the corresponding mailbox of subscribing to mail and sending to the booking reader, the booking reader just can browse to all kinds of column information contents of subscription as long as the login mailbox is opened the subscription mail.
The implementation of above-mentioned mail subscription method can have multiple, the embodiment of the invention provides a kind of method of preferable mail subscription, the flow process that sends mail in the existing mail subscription method is improved, the mail subscription server obtains the time of ordered subscription mail the last time according to the booking reader and the interval duration of current time is divided into the booking reader " enlivening " user and " inactive " user, and handles the flow process that sends mail in different ways respectively.Below in conjunction with accompanying drawing, a kind of mail subscription method provided by the invention is explained in detail.
At first the mail subscription server is according to predetermined framework and form, various information classification are generated various columns and save as the column tabulation (also can be other forms such as database, for illustrative ease, embodiment of the invention unification is called " column tabulation ", the present invention does not do qualification to this), these column tabulations comprise each bar column information that program logo, line type (daily magazine or weekly) and each information column comprise.For example comprise " news headlines " in the column tabulation, " popular video ", " fashion science and technology ", " finance and economics news flash " be totally 4 columns, below each column again sequence arrangement the column information of numbering is arranged by date, for example have under the daily magazine column " fashion science and technology " in this column tabulation and be numbered 0807 column information, after 0807 column information, also have 0808 in regular turn, the column information of 0809 or the like numbering, the content of 0807 column information is exactly the up-to-date fashion science and technology information of issue on same day August 7, and the content of these column information comprises literal, picture, the link of specifying informations such as video or these information.As long as new news information dissemination is arranged, the mail subscription server will upgrade the column information in the above-mentioned column tabulation, constantly generates up-to-date column information, and daily magazine upgrades every day, and weekly upgrades weekly.Because the mail subscription method that provides of embodiment of the invention method and flow process for daily magazine or weekly is similar, the following embodiment of the invention is an example with the subscription of daily magazine column all, and the subscription of weekly column is repeated no more.
When the booking reader logins its mailbox, use the mail subscription server to offer booking reader's interface, the booking reader can freely select interested column, the column perhaps newly-increased, that deletion has been subscribed to, even quit the subscription of or logging off users.
A series of information that the mail subscription server will be subscribed to each booking reader subscribes to and the login behavior is relevant are generated as user subscription information table according to the form of database or tabulation, and the table 1 with a simplification is that example is described below:
Figure C20071015197700121
Table 1
Suppose that the current date is August 11, information program logo, the booking reader that as above shown in the table 1, user subscription information table comprises that the booking reader identifies, booking reader's name, booking reader are subscribed to obtains time and booking reader's " liveness " identification information of ordered mail the last time.The mail subscription server changes according to the renewal of booking reader's login behavior and the passing of time, column information the corresponding content in the above-mentioned user subscription information table is upgraded dynamically.
In the user subscription information table, the mail subscription server is divided into any active ues and inactive user with the booking reader, preestablish: if the interval duration of the time that the booking reader obtains ordered mail the last time and current time less than (smaller or equal to) n days be any active ues, otherwise, if the time that the booking reader obtains ordered mail the last time and the interval duration of current time greater than (more than or equal to) n days be inactive user, wherein n is that mail server preestablishes a fixed numeric values, and meaning is the threshold value that the booking reader obtains the interval duration of time of subscribing to mail and current time the last time.In the specific embodiment of the invention, the value of n is 3, and the embodiment of the invention provides a preferable differentiation any active ues and inactive user's identification method, " liveness " sign of enlivening the booking reader is set to " 1 ", and inactive booking reader " liveness " sign is set to " 0 ".
When all users also successfully subscribe at the login mailbox, the mail subscription server will this booking reader " liveness " sign " 1 " that is set to give tacit consent to, the C user in the table 1 for example, he finished the user who just finishes registration and success subscription August 11 at current date, and the mail subscription server is designated " 1 " with its " liveness ";
Simultaneously, the mail subscription server moves the flow process that sends the subscription mail to the booking reader every day, and its flow process as shown in Figure 2.
Step 201, mail subscription server constantly obtain every information in the user subscription information table successively, inquire about time (numbering of the column information of the subscription of obtaining for the last time with this user is corresponding) and booking reader's " liveness " identification information of program logo that each booking reader orders, subscription mail that the last time obtains;
Step 202, according to each booking reader's who gets access in the step 201 information, according to " liveness " sign of each booking reader, judge whether it is sent and subscribe to mail;
The mail subscription server is designated " 1 " at " liveness " that get access to the booking reader, and then execution in step 204, sends to subscribe to mail in this booking reader's mailbox;
Otherwise, if getting access to booking reader " liveness ", the mail subscription server is designated " 0 ", the booking reader Z as in the table 1 then turns to step 203;
Step 203, mail subscription server are abandoned " liveness " is designated the relevant subscription mail that sends its subscription in booking reader's the mailbox of " 0 ";
The column information numbering of the time correspondence of the subscription mail that step 204, mail subscription server are obtained according to this booking reader in the above-mentioned user subscription information table the last time, the tabulation of inquiry column, obtain the up-to-date column information after this column information numbering under the relevant programs, these column information that get access to are subscribed to mail according to the pattern generation of mail, be sent to then in this booking reader's the mailbox;
Step 205, after the mail subscription server is designated " 1 " to " liveness " booking reader sends ordered subscription mail, judge whether and need upgrade its " liveness " sign;
The mail subscription server is by obtaining the time that each booking reader who preserves in the user subscription information table obtains ordered mail the last time, calculate interval duration T with the current time, judge the magnitude relationship of this interval duration and n, thereby judge whether " liveness " sign of this user is upgraded, concrete deterministic process is as follows:
First kind of situation, if the mail subscription server reads the subscription information that " liveness " is designated the party A-subscriber of " 1 ", the time (August 10) that the mail subscription server obtains this booking reader the last time ordered mail compares with current date (August 11), both time interval T are 1 day, less than the threshold value of the predefined interval of mail server duration 3 days, then turn to step 207, be that the mail subscription server does not upgrade its " liveness ", its " liveness " sign remains " 1 ";
Second kind of situation, if the mail subscription server reads the subscription information that " liveness " sign is similarly another booking reader B of " 1 ", because its last time was obtained the time (August 8) of ordered mail and threshold value that the time interval duration between the current date (August 11) just in time equals the predefined interval of mail server duration 3 days, after then the mail subscription server sends the subscription mail of its subscription in the mailbox of booking reader B, can execution in step 206, " liveness " sign of booking reader B is updated to " 0 " by " 1 ", also can execution in step 207, its " liveness " sign is not done renewal.
The third situation, equal in the duration of predefined interval the mail subscription server and its " liveness " do not done more under the news if the user obtains time of ordered mail and the time interval duration between the current date in the last time, in case this user obtains time of ordered mail and the time interval duration between the current date the last time greater than predefined interval duration, and this user obtains between time of subscribing to mail and the current date and never logins its mailbox the last time, then the mail subscription server at first sends up-to-date subscription mail according to its " liveness " sign (still " 1 ") in its mailbox, execution in step 206 then, and " liveness " sign of this user is upgraded.For example " liveness " in the table 1 be designated " 1 " user D (since the mail subscription server August 10 to this user send subscribe to mail after, its " liveness " sign is not upgraded), to when August 11, the mail subscription server was polled to this user's information once more, the mail subscription server sends after the up-to-date subscription mail in its mailbox according to its " liveness " sign, judge its last time and obtain that time interval duration is 4 days between time (August 7) of ordered mail and the current date (August 11), greater than the threshold value of the predefined interval of mail server duration 3 days, then " liveness " sign with booking reader D was updated to " 0 " by " 1 ".
Step 206, with booking reader's current identification renewal, be updated to " 0 " by " 1 ";
Step 207, keep the current sign of booking reader, do not upgrade.
The mail subscription server is exactly according to above-mentioned flow process the information of each booking reader in the user subscription information table to be carried out poll, and according to each booking reader's concrete condition, one by one each booking reader is carried out the flow process of above-mentioned steps 201 to 207, if what read is that " liveness " is designated the booking reader of " 1 ", it is sent ordered subscription mail, judge whether then and need upgrade, carry out and upgrade or updating steps not its " liveness " sign; Then read the next item down user's subscription information again,, then abandon it is sent ordered information mail, then read next booking reader's subscription information again if " liveness " is designated the user of " 0 ".So repeatedly, until all booking readers of traversal.
In above-mentioned steps 201 to the flow process of step 207, the mail subscription server is carried out the booking reader is sent in the process of subscribing to mail, the user also might occur and login the situation that its mailbox obtains the subscription mail randomly, because the behavior of booking reader's login is at random, so the mail subscription server preestablishes, as long as the booking reader logins the subscription mail that its mailbox is checked its subscription, its " liveness " sign is " 1 ", when therefore the booking reader logins randomly, as shown in Figure 3, the mail subscription server will be carried out flow process according to booking reader's difference " liveness " sign:
Step 301, user login its mailbox, check ordered subscription mail;
Step 302, judge current booking reader " liveness " sign whether be " 0 ", if, execution in step 303, if not, turn to step 306;
Step 303, mail subscription server upgrade this booking reader's subscription information, and its " liveness " sign is updated to " 1 " by " 0 ", and execution in step 304 then;
Step 304, since this booking reader's the last time be updated in " 0 " time afterwards by the booking reader that " liveness " is designated " 1 ", the mail subscription server no longer sends up-to-date subscription mail to it, so in the column tabulation the expired historical column information that is not sent to this booking reader's mailbox is arranged, this moment this booking reader of mail subscription server prompts, the historical column information that has this booking reader not receive in the column tabulation inquires whether this booking reader needs to obtain; If the user selects to obtain historical column information, then turn to step 305, otherwise, if the booking reader selects not obtain historical column information, then the mail subscription server is abandoned sending its historical column information that does not receive of this user to this booking reader, turns to step 306;
The all or part of historical column information that step 305, mail subscription server are selected the booking reader generates and subscribes to mail, sends in this booking reader's the mailbox, turns to step 306 then;
Step 306, process ends.
In the flow process of reality, also following situation may appear, when the booking reader logins its mailbox and browses, since dissatisfied to a certain information field purpose actual content, send this information field purpose mail later on again and also often do not go to browse, and initiatively do not quit the subscription of this column, its mailbox tends to exist is piling up a large amount of these information field purpose unread mails, occupies server resource for fear of the uninterested unread mail of a large number of users, carries out following flow process, as shown in Figure 4, specifically comprise:
Step 401, user login its mailbox, check ordered subscription mail;
" liveness " that step 402, mail subscription server are judged current booking reader is designated " 1 ";
Step 403, mail subscription server judge whether this booking reader has subscribed to two and plural information column, if, execution in step 404, if not, execution in step 408, process ends;
Step 404, mail subscription server judge whether the quantity of unread mail in its mailbox reaches preset threshold, if execution in step 405, if not, process ends;
Step 405, mail subscription server are by calculating the ratio that each information field purpose unread mail in its mailbox accounts for all unread mails, judge whether that information field purpose unread mail has reached the ratio of setting and (has been generally a higher ratio, such as 90 percent etc.), if have, then execution in step 406; If there is not process ends;
A large amount of certain information field purpose unread mail are arranged in step 406, its mailbox of this booking reader of mail subscription server prompts, and whether inquiry needs to quit the subscription of this information column; If the user selects to quit the subscription of, then execution in step 407;
Step 407, mail server are carried out this information field purpose and are quit the subscription of flow process, no longer this user are sent this information field purpose and subscribe to mail; If the user selects not quit the subscription of, then execution in step 408;
Step 408, process ends.
According to the mail subscription method that the foregoing description provides, the embodiment of the invention also provides a kind of mail subscription server, as shown in Figure 5, comprises interface unit 501, updating block 502, memory cell 503, sends performance element 504, judging unit 505;
Interface unit 501, be used for and the booking reader between realize mail subscription, obtain user subscription information and send to updating block 502; User subscription information comprises the information program logo of booking reader's sign, booking reader's name, booking reader's subscription and the temporal information that the booking reader obtains ordered mail the last time at least;
Updating block 502 is used to receive the also user subscription information of updating interface unit 501 transmissions; Also be used to receive the update notification message that judging unit 505 sends, the classification logotype that identifies corresponding booking reader according to the booking reader who carries in the update notification message is updated to second classification logotype; In embodiments of the present invention, two class booking readers have been defined: active booking reader and sluggish booking reader, and further classification logotype is defined as booking reader's " liveness " sign, first category is designated " 1 ", represent any active ues, and define second classification logotype for " 0 ", represent inactive user;
Memory cell 503 is used to store the affiliated classification logotype of user subscription information and booking reader, and classification logotype comprises the first category sign and second classification logotype; Each booking reader's initial category sign is made as the first category sign; Also be used to store the information content corresponding with the information program logo;
Send performance element 504, be used for obtaining the first category sign of user subscription information, information program logo according to this booking reader's correspondence, from memory cell 503, obtain corresponding information content and generate the subscription mail, send the extremely corresponding booking reader's mailbox of subscription mail that generates, and start judging unit 505;
Judging unit 505, the booking reader who is used for preserving according to memory cell obtains the temporal information of ordered mail the last time, calculates the interval duration apart from the current time, the size of the duration threshold value of comparison interval duration and setting; When the interval duration more than or equal to or during greater than described duration threshold value, send update notification messages to updating block 502, carry booking reader's sign in this update notification.
As shown in Figure 5, above-mentioned transmission performance element 504 specifically comprises and obtains subelement 601, generates subelement 602, sends subelement 603;
Obtain subelement 601, be used for obtaining user subscription information and the classification logotype that memory cell 503 is preserved, from memory cell 503, obtain the information content of the information program logo correspondence that the user of preservation subscribes to, the information content that gets access to is sent to generate subelement 602;
Generate subelement 602, be used for to obtain the column content that subelement 601 sends, subscribe to mail according to the pattern generation of mail, and send to described transmission subelement 603;
The subscription mail that sends subelement 603, is used for generating subelement 602 generations is sent to booking reader's corresponding mailbox, and starts judging unit 505.
In above-mentioned mail subscription server, interface unit 501 also sends login and is notified to updating block 502 when the booking reader obtains the subscription mail, carries booking reader's sign of current login in this login notice;
After updating block 502 receives the login notice that interface unit 501 sends, and after judging that classification logotype that this user subscribes to is described second classification logotype, this booking reader's classification logotype is updated to the first category sign.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (11)

1, a kind of mail subscription implementation method is characterized in that, comprising:
The mail subscription server is made as first category with booking reader's initial category;
Described mail subscription server calculates its interval duration apart from the current time, the size of the duration threshold value of more described interval duration and setting according to the temporal information that the booking reader of record obtains ordered mail the last time; When described interval duration less than or during smaller or equal to described duration threshold value, determine that classification is described first category under this booking reader; When described interval duration more than or equal to or during greater than described duration threshold value, determine that classification is second classification under this booking reader;
Described mail subscription server only sends the subscription mail to described first category booking reader.
2, the method for claim 1 is characterized in that, described mail subscription server record booking reader obtains the temporal information of ordered mail the last time, specifically comprises:
Obtain when subscribing to mail when described booking reader logins mailbox, described mail subscription server obtains the temporal information of ordering mail the last time with this booking reader of current time information updated stored.
3, as the arbitrary described method of claim 1 to 2, it is characterized in that, store user subscription information table in the described mail subscription server; For generating one, each booking reader subscribes to record, at least comprise in the described subscription record: information program logo, the booking reader that booking reader's sign, booking reader's name, booking reader subscribe to obtains the classification logotype of the temporal information and the affiliated classification of described booking reader of ordered mail the last time, and described classification logotype comprises the first category sign and second classification logotype.
4, method as claimed in claim 3 is characterized in that, described mail subscription server only sends the subscription mail to described first category booking reader, specifically comprises:
Described mail subscription server obtains each the bar record in the described user subscription information table, when preserving the first category sign in this record, according to the information program logo of preserving in this record, obtain corresponding information content and generate and subscribe to mail, and send the corresponding mailbox of the subscriber mailbox name of the subscription mail that the generates preservation to this record.
5, method as claimed in claim 4 is characterized in that, described mail subscription server is carried out the following step after each described first category booking reader is sent the subscription mail:
Obtain the temporal information of ordering mail the last time according to this booking reader who writes down in the described user subscription information table, calculate its interval duration apart from the current time;
The size of the duration threshold value of more described interval duration and setting;
When described interval duration less than or during smaller or equal to described duration threshold value, keep this booking reader's corresponding class and be designated described first category sign; When the interval duration more than or equal to or during greater than described duration threshold value, the corresponding classification logotype that upgrades this booking reader's correspondence is described second classification logotype.
6, method as claimed in claim 3 is characterized in that, when described mail subscription server obtains the subscription mail the booking reader at every turn, also comprises:
Judge whether this booking reader's corresponding class sign is described second classification logotype in the described user subscription information table; If then be described first category sign with this booking reader's corresponding class identification renewal.
7, method as claimed in claim 6 is characterized in that, after described mail subscription server with described booking reader's corresponding class identification renewal is described first category sign, also comprises:
Point out described booking reader whether acquisition request subscription mail out of date; When described booking reader's acquisition request, the subscription mail out of date of described booking reader's acquisition request is sent to this user's mailbox.
8, method as claimed in claim 3 is characterized in that, the booking reader of described first category sign obtains when subscribing to mail at every turn, also comprises:
Determine described booking reader when described mail subscription server and subscribed to two or more information columns, and when unread mail has reached preset threshold in this subscriber mailbox, each information field purpose unread mail that calculates its subscription accounts for the ratio of all unread mails, impose a condition if there is the ratio of information column unread mail to satisfy, then point out described booking reader whether to quit the subscription of this information column; And after described booking reader agrees to quit the subscription of, carry out this information column and quit the subscription of flow process.
9, a kind of mail subscription server is characterized in that, comprising: interface unit, memory cell, updating block, transmission performance element and judging unit;
Described interface unit, be used for and the booking reader between realize mail subscription, obtain user subscription information and send to described updating block; Described user subscription information comprises the information program logo of booking reader's sign, booking reader's name, booking reader's subscription and the temporal information that the booking reader obtains ordered mail the last time at least;
Described memory cell is used to store the affiliated classification logotype of described user subscription information and described booking reader, and described classification logotype comprises the first category sign and second classification logotype; Each booking reader's initial category sign is made as the first category sign; Also be used to store and the corresponding information content of described information program logo;
Described updating block is used to receive and upgrade the user subscription information that described interface unit sends; Also be used to receive the update notification message that described judging unit sends, the classification logotype that identifies corresponding booking reader according to the booking reader who carries in the update notification message is updated to described second classification logotype;
Described transmission performance element, be used for obtaining the first category sign of described user subscription information,, from described memory cell, obtain corresponding information content and generate the subscription mail according to corresponding information program logo, the subscription mail that send to generate is to the respective user mailbox, and starts described judging unit;
Described judging unit, the booking reader who is used for preserving according to described memory cell obtains the temporal information of ordered mail the last time, calculates its interval duration apart from the current time, the size of the duration threshold value of more described interval duration and setting; When the interval duration more than or equal to or during greater than described duration threshold value, send update notification message to described updating block, carry booking reader's sign in the described update notification.
10, mail subscription server as claimed in claim 9 is characterized in that, described transmission performance element also comprises and obtains subelement, generates subelement and send subelement;
The described subelement that obtains, be used for obtaining user subscription information and the classification logotype that described memory cell is preserved, from described memory cell, obtain the information content of the information program logo correspondence that the user of preservation subscribes to, the described information content that gets access to is sent to described generation subelement;
Described generation subelement is used for obtaining the column content that subelement sends with described, generates according to the pattern of mail and subscribes to mail, and send to described transmission subelement;
Described transmission subelement is used for the subscription mail that described generation subelement generates is sent to booking reader's corresponding mailbox, and starts described judging unit.
As claim 9 or 10 described mail subscription servers, it is characterized in that 11, described interface unit also sends login and is notified to described updating block when the booking reader obtains the subscription mail, carry booking reader's sign of current login in the described login notice;
After described updating block receives the login notice that described interface unit sends, judge that classification logotype that this user subscribes to is described second classification logotype after, this booking reader's classification logotype is updated to described first category sign.
CN200710151977A 2007-09-21 2007-09-21 A mail subscription method and server Active CN100579126C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710151977A CN100579126C (en) 2007-09-21 2007-09-21 A mail subscription method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710151977A CN100579126C (en) 2007-09-21 2007-09-21 A mail subscription method and server

Publications (2)

Publication Number Publication Date
CN101127773A CN101127773A (en) 2008-02-20
CN100579126C true CN100579126C (en) 2010-01-06

Family

ID=39095694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710151977A Active CN100579126C (en) 2007-09-21 2007-09-21 A mail subscription method and server

Country Status (1)

Country Link
CN (1) CN100579126C (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780723B (en) * 2011-05-11 2016-04-27 联想(北京)有限公司 A kind of information obtaining method and information obtaining device
CN103207880A (en) * 2012-01-17 2013-07-17 阿里巴巴集团控股有限公司 Behavior tag value capturing method and device
CN105099894B (en) * 2015-08-28 2018-10-19 广州酷狗计算机科技有限公司 Information push method, apparatus and system
CN110100426B (en) * 2017-09-18 2023-05-26 深圳市欢太科技有限公司 Method and device for subscribing message, computer equipment and computer storage medium
CN110535943B (en) * 2019-08-29 2022-04-26 广州方硅信息技术有限公司 Data processing method and device, electronic equipment and storage medium
CN113940037B (en) * 2019-11-26 2023-09-05 Oppo广东移动通信有限公司 Resource subscription method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN101127773A (en) 2008-02-20

Similar Documents

Publication Publication Date Title
CN108196961B (en) Asynchronous message processing method, terminal, system and storage medium
CN100579126C (en) A mail subscription method and server
CN105138592B (en) A kind of daily record data storage and search method based on distributed structure/architecture
CN101009670B (en) A method and system for implementing the group communication based on the instant communication
CN101739453B (en) Method and device for carrying out condition query on database table
CN100462977C (en) Capture server, distribution server, method and system for generating webpage capture
US8150889B1 (en) Parallel processing framework
CN101083633B (en) Information searching system and searching method
CN103310329A (en) Schedule information adding system and method thereof, and mobile phone and schedule information adding method thereof
CN101383839A (en) Data distribution system based on data server and implementation method
CN114124861A (en) Message group sending method and device, computer equipment and storage medium
CN110851248A (en) Asynchronous task data processing method and device and computer readable storage medium
CN101115180B (en) Electronic program menu system and functional module dynamic load operating method
CN104869048A (en) Grouping processing method, device and system of MicroBlog data
CN111460038A (en) Quasi-real-time data synchronization method and device
CN100452704C (en) Method and method for issuing blog articles
CN109582439A (en) DCN dispositions method, device, equipment and computer readable storage medium
WO2021073405A1 (en) Data distribution method, electronic device, and storage medium
CN102609494A (en) Method for processing data of machine account and device
CN104113509B (en) Pushing method for media files and server
CN112235367B (en) Method, system, terminal and storage medium for subscribing entity behavior relation message
CN114006938A (en) Message routing issuing method, device, equipment and storage medium of distributed cluster
CN110061902B (en) Method, device and storage medium for sending messages regularly
CN116263717A (en) Order service processing method and device based on event
CN100498765C (en) Method and device for making electric newspaper printing plate

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant