CN103685319A - Management method and device for email customization - Google Patents

Management method and device for email customization Download PDF

Info

Publication number
CN103685319A
CN103685319A CN201310752004.0A CN201310752004A CN103685319A CN 103685319 A CN103685319 A CN 103685319A CN 201310752004 A CN201310752004 A CN 201310752004A CN 103685319 A CN103685319 A CN 103685319A
Authority
CN
China
Prior art keywords
task
mail
information
time
pool
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.)
Granted
Application number
CN201310752004.0A
Other languages
Chinese (zh)
Other versions
CN103685319B (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.)
Shuguang Cloud Computing Group Co ltd
Original Assignee
SHUGUANG CLOUD COMPUTING TECHNOLOGY 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 SHUGUANG CLOUD COMPUTING TECHNOLOGY Co Ltd filed Critical SHUGUANG CLOUD COMPUTING TECHNOLOGY Co Ltd
Priority to CN201310752004.0A priority Critical patent/CN103685319B/en
Publication of CN103685319A publication Critical patent/CN103685319A/en
Application granted granted Critical
Publication of CN103685319B publication Critical patent/CN103685319B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a management method and device for email customization. The management method for email customization comprises the following steps: receiving email customization information transmitted by a user side, and generating an email task which corresponds to the email customization information according to the email customization information; revolving the email task to obtain execution time information which corresponds to the email task; judging whether the current time of a system is accordant with the execution time information or not according to the execution time information; under the condition that a judgment result indicates that the current time of the system is accordant with the execution time information, scheduling the email task and transmitting the email task to an email server to drive the email server to execute corresponding email operation according to the email task. According to the management method and device, functions of automatically and flexibly creating and managing emails according to the email customization information transmitted by the user side are realized, and a user and/or an administrator do not need to waste time in learning the customization of emails, thereby avoiding costs on learning and training.

Description

Management method and the device of mail customization
Technical field
The present invention relates to computer realm, specifically, relate to a kind of management method and device of mail customization.
Background technology
Existing PaaS(Platform-as-a-Service, platform serves) platform service, as an operation platform, concerning operator, can help him to carry out product diversification and product customization.And product diversification and customization in this huge benefit, also brought diversification and the customization of mode of the mail of customization behind.
Yet, at present, because the customization of mail does not also have unified method, therefore, operator need to spend a large amount of human and material resources and the time is carried out complicated training (time complexity is O (n^2), and space complexity is O (n^2)) to final user, makes user can understand or grasp the method for the corresponding mail customization of its product of wanting customization, and this is undoubtedly for having increased operator and/or user's trouble, reduced user's experience property.
For the problem in correlation technique, effective solution is not yet proposed at present.
Summary of the invention
For the problems referred to above in correlation technique, the present invention proposes a kind of management method and device of mail customization, the mail customized information that can send according to user's side, automatically create flexibly and manage the transmission of mail, avoid user and/or administrative staff need to spend the customization that long time removes to learn a little mails, saved and learned cost a little and training, also improved user's experience property simultaneously.
Technical scheme of the present invention is achieved in that
A kind of management method of mail customization is provided according to an aspect of the present invention.
The management method of this mail customization comprises:
Receive the mail customized information that user's side sends, and according to mail customized information, generate the mail task corresponding with this mail customized information;
Mail task is resolved, obtain the corresponding time of implementation information of mail task;
According to time of implementation information, the current time in system is judged, judge whether the current time in system conforms to time of implementation information;
In the situation that judgment result is that the current time in system, information conformed to the time of implementation, scheduling mail task, and mail task is sent to mail server, impel the mail action that mail server is corresponding according to mail tasks carrying.
In addition, the management method of this mail customization also comprises: after generating mail task, mail task is stored in pre-configured task pool; And, in the situation that judgment result is that the current time in system, information conformed to the time of implementation, during scheduling mail task, can, in the situation that judgment result is that the current time in system, information conformed to the time of implementation, from task pool, dispatch mail task.
In addition, the management method of this mail customization also comprises: dispatch mail task from task pool after, and to analyzing in task pool, the residual mail task quantity setting the tasks in pond; And according to residual mail task quantity, judge whether to obtain the mail task not depositing in task pool.
Wherein, according to residual mail task quantity, while judging whether to obtain the mail task not depositing in task pool, can, according to pre-configured threshold value, judge whether residue task quantity conforms to threshold value; And in the situation that judgment result is that residue task amount does not conform to threshold value, obtain the mail task not depositing in task pool.
A kind of management devices of mail customization is provided according to a further aspect in the invention.
The management devices of this mail customization comprises:
Generation module, the mail customized information sending for receiving user's side, and according to mail customized information, generate the mail task corresponding with this mail customized information;
Parsing module, for mail task is resolved, obtains the corresponding time of implementation information of mail task;
Judge module, for according to time of implementation information, judges the current time in system, judges whether the current time in system conforms to time of implementation information;
Sending module, in the situation that judgment result is that the current time in system, information conformed to the time of implementation, scheduling mail task, and mail task is sent to mail server, impel the mail action that mail server is corresponding according to mail tasks carrying.
In addition, the management devices of this mail customization also comprises: memory module, for after generating mail task, is stored to mail task in pre-configured task pool.
And sending module, in the situation that judgment result is that the current time in system, information conformed to the time of implementation, is dispatched mail task from task pool.
In addition, the management devices of this mail customization also comprises: analysis module, and for after dispatching mail task from task pool, to analyzing in task pool, the residual mail task quantity setting the tasks in pond; Acquisition module, for according to residual mail task quantity, judges whether to obtain the mail task not depositing in task pool.
Wherein, acquisition module can comprise: judgement submodule, for according to pre-configured threshold value, judges whether residue task quantity conforms to threshold value; Obtain submodule, in the situation that judgment result is that residue task amount does not conform to threshold value, obtain the mail task not depositing in task pool.
The mail customized information that the present invention sends by receiving user's side, automatically generate mail task, and this mail task is resolved, obtain the corresponding time of implementation information of this mail task, and meet this information in the situation that in the current time in system time of implementation, this mail task of Automatic dispatching, and this mail task is sent to mail server, impel the mail action that mail server is corresponding according to this mail tasks carrying, thereby realized the mail customized information sending according to user's side, automatically create and manage flexibly the function of mail, avoided user and/or administrative staff need to spend the customization that long time removes to learn a little mails, and then the cost of having avoided study and having trained, simultaneously, because user's side only need to send mail customized information, and without carrying out other operation, therefore, also facilitated user's operation, improved user's experience property.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is according to the schematic flow sheet of the management method of the mail customization of the embodiment of the present invention;
Fig. 2 is according to the structural representation of the management devices of the mail customization of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, the every other embodiment that those of ordinary skills obtain, belongs to the scope of protection of the invention.
According to embodiments of the invention, provide a kind of management method of mail customization.
As shown in Figure 1, according to the management method of the mail customization of the embodiment of the present invention, comprise:
Step S101, receives the mail customized information that user's side sends, and according to mail customized information, generates the mail task corresponding with this mail customized information;
Step S103, resolves mail task, obtains the corresponding time of implementation information of mail task;
Step S105, according to time of implementation information, judges the current time in system, judges whether the current time in system conforms to time of implementation information;
Step S107, in the situation that judgment result is that the current time in system, information conformed to the time of implementation, scheduling mail task, and mail task is sent to mail server, impel the mail action that mail server is corresponding according to mail tasks carrying.
In addition, the management method of this mail customization also comprises: after generating mail task, mail task is stored in pre-configured task pool; And, in the situation that judgment result is that the current time in system, information conformed to the time of implementation, during scheduling mail task, can, in the situation that judgment result is that the current time in system, information conformed to the time of implementation, from task pool, dispatch mail task.
In addition, the management method of this mail customization also comprises: dispatch mail task from task pool after, and to analyzing in task pool, the residual mail task quantity setting the tasks in pond; And according to residual mail task quantity, judge whether to obtain the mail task not depositing in task pool.
Wherein, according to residual mail task quantity, while judging whether to obtain the mail task not depositing in task pool, can, according to pre-configured threshold value, judge whether residue task quantity conforms to threshold value; And in the situation that judgment result is that residue task amount does not conform to threshold value, obtain the mail task not depositing in task pool.
According to embodiments of the invention, also provide a kind of management devices of mail customization.
As shown in Figure 2, according to the management devices of the mail customization of the embodiment of the present invention, comprise:
Generation module 21, the mail customized information sending for receiving user's side, and according to mail customized information, generate the mail task corresponding with this mail customized information;
Parsing module 22, for mail task is resolved, obtains the corresponding time of implementation information of mail task;
Judge module 23, for according to time of implementation information, judges the current time in system, judges whether the current time in system conforms to time of implementation information;
Sending module 24, in the situation that judgment result is that the current time in system, information conformed to the time of implementation, scheduling mail task, and mail task is sent to mail server, impel the mail action that mail server is corresponding according to mail tasks carrying.
In addition, the management devices of this mail customization also comprises: memory module (not shown), for after generating mail task, is stored to mail task in pre-configured task pool.
And sending module 24, in the situation that judgment result is that the current time in system, information conformed to the time of implementation, is dispatched mail task from task pool.
In addition, the management devices of this mail customization also comprises: analysis module (not shown), and for after dispatching mail task from task pool, to analyzing in task pool, the residual mail task quantity setting the tasks in pond; Acquisition module (not shown), for according to residual mail task quantity, judges whether to obtain the mail task not depositing in task pool.
Wherein, acquisition module can comprise: judgement submodule (not shown), for according to pre-configured threshold value, judges whether residue task quantity conforms to threshold value; Obtain submodule (not shown), in the situation that judgment result is that residue task amount does not conform to threshold value, obtain the mail task not depositing in task pool.
For convenient understanding technique scheme of the present invention, from the angle of basic principle, technique scheme of the present invention is described below.
When practical application, technique scheme of the present invention can be divided into the registration of mail task, generation timer, timed task scheduling, timing mail transmission processing four-stage part.Concrete is as follows:
1) mail task registration, in this stage, system can be registered as task by the request of transmission, and leave in mail task thin in, as long as mail task is registrated successfully, just can informs that operating personnel ask successfully to be accepted, otherwise just to operating personnel, return and process failed reason.A mail task of single request registration, a plurality of mail tasks are registered in request in batches, and each task only represents the request of a mail task, and asks corresponding business datum associated with this.This stage does not have remote communication, there is no complicated service logic yet, and processing procedure is not only stable but also efficient.
2) generate timer, in this stage, system can generate timer to task automatically according to the information of mail task registration and clearly defined rule.Complete year, the moon, week, day, time, graduate timer generation.For example, within every five minutes, trigger, trigger at ten two o'clock at noon every day, the 10:15 of 59 minutes once triggerings, each Monday, Tuesday, Wednesday, Thursday, a Friday per minute every day since 2 pm to 2 triggers, the 10:15 triggering of monthly last Friday of 2002 to 2005 etc.Generate timer and also can be subdivided into three phases: the first stage is from mail task grade, parameter regularly to be taken out; Second stage is according to parameter, to generate the timing expression formula of timed task; Phase III is to generate timer according to timing expression formula.
3) timed task scheduling, in this stage, is responsible for carrying out the concrete service logic associated with task by task processor.And obtain task dispatcher and when start (), create out a task and obtain thread and started, when stop (), stop that task is obtained thread and by its destruction; Simultaneously by maintenance task pond, provide to task pool and add a collection of task and from task pool, take out the method for a task; And when receiving the notice that new task is created (this requires will to send notice in interpolation task to obtaining task dispatcher to time in book), the task of waking up is immediately obtained thread; And notifier processes task dispatcher wakes task processing threads up immediately when having new task to be added in task pool; And when having task to take out from task pool, check task pool current task quantity, if this quantity is less than task quantity lower limit, the task of waking up is immediately obtained thread.In addition, in the stage, also can carry out scheduling and controlling task processing threads by Processing tasks scheduler, and being responsible for handling postal matter and sending by task processor of task.
4) timing mail transmission processing, in this stage, system can arrange mail service configuration, uses mail server to complete the transmission task of mail, wherein, mail service configuration is set and comprises: the attribute that the mail server that sends mail is set; 2. authorize (namely have the verification of name in an account book and password, could pass through like this checking).3. load sender address, address of the addressee (one or more), title; 4. load content of text and the annex of mail; 5. use mail server to carry out mail transmission.
As can be seen here, by means of technique scheme of the present invention, the mail customized information sending by receiving user's side, automatically generate mail task, and this mail task is resolved, obtain the corresponding time of implementation information of this mail task, and meet this information in the situation that in the current time in system time of implementation, this mail task of Automatic dispatching, and this mail task is sent to mail server, impel the mail action that mail server is corresponding according to this mail tasks carrying, thereby realized the mail customized information sending according to user's side, automatically create and manage flexibly the function of mail, avoided user and/or administrative staff need to spend the customization that long time removes to learn a little mails, and then the cost of having avoided study and having trained, simultaneously, because user's side only need to send mail customized information, and without carrying out other operation, therefore, also facilitated user's operation, improved user's experience property.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (8)

1. a management method for mail customization, is characterized in that, comprising:
Receive the mail customized information that user's side sends, and according to described mail customized information, generate the mail task corresponding with this mail customized information;
Described mail task is resolved, obtain the corresponding time of implementation information of described mail task;
According to described time of implementation information, the current time in system is judged, judge whether the current time in system conforms to described time of implementation information;
In the situation that judgment result is that the current time in system and the described time of implementation, information conformed to, dispatch described mail task, and described mail task is sent to mail server, impel mail server according to mail action corresponding to described mail tasks carrying.
2. management method according to claim 1, is characterized in that, further comprises:
After generating described mail task, described mail task is stored in pre-configured task pool;
And, in the situation that judgment result is that the current time in system and the described time of implementation, information conformed to, dispatch described mail task and comprise:
In the situation that judgment result is that the current time in system and the described time of implementation, information conformed to, from described task pool, dispatch described mail task.
3. management method according to claim 2, is characterized in that, further comprises:
Dispatch described mail task from described task pool after, to analyzing in described task pool, determine the residual mail task quantity in described task pool;
According to described residual mail task quantity, judge whether to obtain the mail task not depositing in described task pool.
4. management method according to claim 3, is characterized in that, according to described residual mail task quantity, judges whether to obtain the mail task not depositing in described task pool and comprises:
According to pre-configured threshold value, judge whether described residue task quantity conforms to described threshold value;
In the situation that judgment result is that described residue task amount does not conform to described threshold value, obtain the mail task not depositing in described task pool.
5. a management devices for mail customization, is characterized in that, comprising:
Generation module, the mail customized information sending for receiving user's side, and according to described mail customized information, generate the mail task corresponding with this mail customized information;
Parsing module, for described mail task is resolved, obtains the corresponding time of implementation information of described mail task;
Judge module, for according to described time of implementation information, judges the current time in system, judges whether the current time in system conforms to described time of implementation information;
Sending module, for in the situation that judgment result is that the current time in system and the described time of implementation, information conformed to, dispatch described mail task, and described mail task is sent to mail server, impel mail server according to mail action corresponding to described mail tasks carrying.
6. management devices according to claim 5, is characterized in that, further comprises:
Memory module, for after generating described mail task, is stored to described mail task in pre-configured task pool;
And described sending module, in the situation that judgment result is that the current time in system and the described time of implementation, information conformed to, is dispatched described mail task from described task pool.
7. management devices according to claim 6, is characterized in that, further comprises:
Analysis module, for after dispatching described mail task from described task pool, to analyzing in described task pool, determines the residual mail task quantity in described task pool;
Acquisition module, for according to described residual mail task quantity, judges whether to obtain the mail task not depositing in described task pool.
8. management devices according to claim 7, is characterized in that, described the second judge module further comprises:
Judgement submodule, for according to pre-configured threshold value, judges whether described residue task quantity conforms to described threshold value;
Obtain submodule, in the situation that judgment result is that described residue task amount does not conform to described threshold value, obtain the mail task not depositing in described task pool.
CN201310752004.0A 2013-12-31 2013-12-31 Management method and device for email customization Active CN103685319B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310752004.0A CN103685319B (en) 2013-12-31 2013-12-31 Management method and device for email customization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310752004.0A CN103685319B (en) 2013-12-31 2013-12-31 Management method and device for email customization

Publications (2)

Publication Number Publication Date
CN103685319A true CN103685319A (en) 2014-03-26
CN103685319B CN103685319B (en) 2017-01-11

Family

ID=50321633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310752004.0A Active CN103685319B (en) 2013-12-31 2013-12-31 Management method and device for email customization

Country Status (1)

Country Link
CN (1) CN103685319B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1305168A (en) * 2000-12-28 2001-07-25 英业达集团(南京)电子技术有限公司 Method for automatic timing transmission of e-mails
CN101035094A (en) * 2003-11-04 2007-09-12 株式会社Ntt都科摩 Mail severs, mobile communication system and program thereof
CN101142567A (en) * 2004-11-19 2008-03-12 福伦特布里奇技术股份有限公司 System and method for disaster recovery and management of an email system
CN101316243A (en) * 2008-07-04 2008-12-03 宇龙计算机通信科技(深圳)有限公司 Mail transmitting and receiving method, mail receiving and sending system
CN101442498A (en) * 2007-11-19 2009-05-27 上海新纳广告传媒有限公司 Method for self-timing transmission of e-mail
CN101951349A (en) * 2010-10-09 2011-01-19 安和创新科技(北京)有限公司 Agent mail gateway, system and method for supporting receiving and sending mails of multiple email boxes
US8521907B2 (en) * 2004-02-25 2013-08-27 Teamon Systems, Inc. Communications system using hierarchical queue structure for email message delivery and related methods

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1305168A (en) * 2000-12-28 2001-07-25 英业达集团(南京)电子技术有限公司 Method for automatic timing transmission of e-mails
CN101035094A (en) * 2003-11-04 2007-09-12 株式会社Ntt都科摩 Mail severs, mobile communication system and program thereof
US8521907B2 (en) * 2004-02-25 2013-08-27 Teamon Systems, Inc. Communications system using hierarchical queue structure for email message delivery and related methods
CN101142567A (en) * 2004-11-19 2008-03-12 福伦特布里奇技术股份有限公司 System and method for disaster recovery and management of an email system
CN101442498A (en) * 2007-11-19 2009-05-27 上海新纳广告传媒有限公司 Method for self-timing transmission of e-mail
CN101316243A (en) * 2008-07-04 2008-12-03 宇龙计算机通信科技(深圳)有限公司 Mail transmitting and receiving method, mail receiving and sending system
CN101951349A (en) * 2010-10-09 2011-01-19 安和创新科技(北京)有限公司 Agent mail gateway, system and method for supporting receiving and sending mails of multiple email boxes

Also Published As

Publication number Publication date
CN103685319B (en) 2017-01-11

Similar Documents

Publication Publication Date Title
US6976007B1 (en) Method and system for multi-carrier package tracking
CN109698787A (en) A method of realizing Edge position control in gateway of internet of things
CN106331150B (en) For dispatching the method and apparatus of Cloud Server
CN109543992A (en) Intelligent polling method, device, intelligent terminal and server
CN102201087A (en) Device and method for automatically extracting and prompting task in product data management (PDM) system
CN105808778B (en) A kind of mass data extracts, conversion, loading method and device
CN105138598B (en) The method and system of remote timing task
CN103761629A (en) Management system and method used for concrete batching plant
CN101452404A (en) Task scheduling apparatus and method for embedded operating system
CN103906013B (en) A kind of information push method and device based on mobile device
CN110611707B (en) Task scheduling method and device
CN104035780A (en) Method and device for publishing APK file
CN101923684A (en) Automatic reminding system and method
CN104050540A (en) Method and system for team cooperation task management
CN107704315A (en) A kind of timed task dispatch service framework and method based on Quartz
CN107248324B (en) Flight guarantee resource scheduling management system and method of linkage collaborative decision-making system
CN110569113A (en) Method and system for scheduling distributed tasks and computer readable storage medium
CN103020810A (en) System and method for sharing schedule plans
CN104023311A (en) Travel reminding system
CN110868338B (en) Early warning monitoring method
CN104574035A (en) Control method and system for short-message timed reminding of to-be-done work
CN115829538A (en) Terminal operation and maintenance service management system
CN103685319A (en) Management method and device for email customization
CN107819823A (en) A kind of information processing method, server and computer-readable recording medium
CN103327062A (en) A system and method for providing enterprise information technology lifecycle tools synchronization platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 100193 Beijing, Haidian District, northeast Wang West Road, building 8, building 36, floor 5

Patentee after: Shuguang Cloud Computing Group Co.,Ltd.

Address before: 100193 Beijing, Haidian District, northeast Wang West Road, building 8, building 36, floor 5

Patentee before: DAWNING CLOUD COMPUTING TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder
CP03 Change of name, title or address

Address after: 100193 5 floor, 36 building, No. 8 Northeast Road, Haidian District, Beijing.

Patentee after: Shuguang Cloud Computing Group Co.,Ltd.

Country or region after: China

Address before: 100193 5 floor, 36 building, No. 8 Northeast Road, Haidian District, Beijing.

Patentee before: Shuguang Cloud Computing Group Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address