CN105608559A - Generation method and system of multi-language mail - Google Patents

Generation method and system of multi-language mail Download PDF

Info

Publication number
CN105608559A
CN105608559A CN201510999918.6A CN201510999918A CN105608559A CN 105608559 A CN105608559 A CN 105608559A CN 201510999918 A CN201510999918 A CN 201510999918A CN 105608559 A CN105608559 A CN 105608559A
Authority
CN
China
Prior art keywords
mail
configuration
code
language
template
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
CN201510999918.6A
Other languages
Chinese (zh)
Other versions
CN105608559B (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.)
Goertek Inc
Original Assignee
Goertek Inc
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 Goertek Inc filed Critical Goertek Inc
Priority to CN201510999918.6A priority Critical patent/CN105608559B/en
Publication of CN105608559A publication Critical patent/CN105608559A/en
Application granted granted Critical
Publication of CN105608559B publication Critical patent/CN105608559B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/107Computer-aided management of electronic mailing [e-mailing]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/42Mailbox-related aspects, e.g. synchronisation of mailboxes

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Data Mining & Analysis (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides a generation method and system of a multi-language e-mail. The method comprises a mail configuration stage and a mail creation stage. The mail configuration stage comprises the steps of configuring a mail subject and a mail content through a mail configuration center, forming a mail template, and carrying out the configuration of a language code, a department code and a function code on the mail subject and the mail content in the process of forming the mail template. The mail creation stage comprises the steps of loading a mail template from the mail configuration center, and substituting the dynamically loaded content by pre-defined content, wherein the language used in the created mail is loaded according to the language code, a department which creates the mail is loaded according to the department code, and the functions realized in the mail by the function module corresponding to the function code is loaded according to the function code. By using the method and the system, the re-editing of a program to carry out compile deployment in generating the mail is not needed.

Description

The generation method and system of multilingual mail
Technical field
The present invention relates to mail generation technique field, more specifically, relate to a kind of life of multilingual mailBecome method and system.
Background technology
In the enterprise software of manufacturing industry type, supplier management module can be used different from country variantThe supplier of language links up, for example: inquiry, competitive bidding, order reply, friendship phase reply etc., postalThe content of part notice need to be presented to the other side in the mode of different language. Existing method is to generate mailTime carry out redirect according to language, generate the mail of different language, the shortcoming of this method is, mailTitle and content all write in program, change each time mail format, and the action needs such as content remodifyProgram compiles deployment, and supplier management module management gets up very inconvenient.
Summary of the invention
In view of the above problems, the object of this invention is to provide a kind of generation method and system of multilingual mail,To solve the problem of pointing out in above-mentioned background technology.
A kind of generation method that the invention provides multilingual mail, comprises mail configuration phase and mail creationStage; Wherein,
Mail configuration phase, comprising:
By mail configuration center configuration mail matter topics and Mail Contents, form mail template, wherein,Form in the process of mail template, respectively mail matter topics and Mail Contents are carried out to language codes, department's generationThe configuration of code and function code;
In the mail creation stage, comprising:
Load mail template from mail configuration center; Wherein, load according to language codes the mail institute creatingThe language using, loads the department that creates this mail according to division code, load and merit according to function codeThe function that the corresponding functional module of energy code realizes in mail;
Be predefined content by the content replacement of dynamic load in mail template.
The present invention also provides a kind of generation system of multilingual mail, comprising:
Mail template configuration unit, for configuring mail matter topics and Mail Contents by mail configuration center,Form mail template, wherein, mail template configuration unit comprises: language codes configuration module, and for dividingOther mail matter topics and Mail Contents are carried out to the configuration of language codes; Division code configuration module, for dividingOther mail matter topics and Mail Contents are carried out to the configuration of division code; Function code configuration module, for dividingOther mail matter topics and Mail Contents are carried out to the configuration of function code;
Mail template loading unit, for loading mail template from mail configuration center; Wherein, mail mouldPlate loading unit comprises: language load-on module, uses for loading according to language codes the mail creatingLanguage; Department's load-on module, for loading the department that creates this mail according to division code; Function addsCarry module, real in mail institute for load the functional module corresponding with function code according to function codeExisting function;
Content information replacement unit, for by the content replacement of mail matter topics and Mail Contents dynamic loadFor predefined content.
Utilize the generation method and system of the multilingual mail of the invention described above, by configuration mail templateMode realizes the transmission of multilingual mail, in the time that needs are modified to mail matter topics or Mail Contents, onlyNeed to replace the part of the dynamic load in mail template, and compile deployment without the program of remodifying.
In order to realize above-mentioned and relevant object, one or more aspects of the present invention comprise below will be in detailThe feature that illustrates and particularly point out in the claims. Explanation and accompanying drawing below describe this in detailSome bright illustrative aspects. But what indicated these aspects only can use principle of the present inventionSome modes in variety of way. In addition, the present invention be intended to comprise all these aspects and they etc.Jljl.
Brief description of the drawings
By reference to the content below in conjunction with the description of the drawings and claims, and along with to the present inventionUnderstanding more comprehensively, other object of the present invention and result will more be understood and should be readily appreciated that. In the accompanying drawings:
Fig. 1 is according to the schematic flow sheet of the generation method of the multilingual mail of the embodiment of the present invention;
Fig. 2 is the logical construction schematic diagram according to the generation system of the multilingual mail of the embodiment of the present invention.
In institute's drawings attached, identical label is indicated similar or corresponding feature or function.
Detailed description of the invention
In the following description, for purposes of illustration, for complete to one or more embodiment is providedFoliation solution, has set forth many details. But, clearly, can there is no these details yetSituation under realize these embodiment. In other example, one or more embodiment for convenience of description,Known structure and equipment illustrate with the form of block diagram.
For the problem proposing in background technology, the present invention passes through a general mail template of configuration,In the time setting up new mail, load mail template, mail template is obtained and is loaded according to applied environment and need to makeWith language, and mail template comprises fixing loading content and dynamic load content, by dynamic load contentReplace with predefined content, complete the establishment of new mail, the language that the content of new mail is required useShow.
Fig. 1 shows according to the flow process of the generation method of the multilingual mail of the embodiment of the present invention.
As shown in Figure 1, the generation method of the multilingual mail that the embodiment of the present invention provides, comprises that mail joinsPut stage and mail creation stage; Mail configuration phase is used for configuring mail template, and the mail creation stageFor loading the mail template of configuration, obtain the language that will use according to mail template, and will be dynamicallyThe content replacement loading is the predefined actual content of wanting loading.
At mail configuration phase, comprising:
Step S101: by mail configuration center configuration mail matter topics and Mail Contents, form mail template,Wherein, forming in the process of described mail template, respectively mail matter topics and Mail Contents are carried out to languageThe configuration of code, division code and function code.
Mail template comprises two-part content, is respectively mail matter topics and Mail Contents, mail matter topics andMail Contents comprises the content of dynamic load and the content of static loading, and the content of dynamic load is to createWhen every envelope mail, replace with according to actual needs corresponding content, the content of static loading is static loadingPattern,, in the time creating every envelope mail, the content of static loading can not change.
Mail matter topics and Mail Contents comprise respectively the configuration of three aspects:, language codes, division code andFunction code. The language that configuration language code will use for identifying the mail of establishment, for example: ifSupplier is German company, identifies supplier by language codes according to supplier's relevant informationUse German, need to use German to create mail. Configuration section gate code is which department sends for markMail. And configuration feature code is which function of functional module for what determine use, creatingBefore one envelope mail, just know which function that uses functional module, therefore, function code is creating postalJust definite before part, directly definition just can be used.
It should be noted that, functional module is the module that mailing system creates, taking competitive bidding module as example, competingMark module comprises establishment bidding documents, issues the functions such as bidding documents. Function code is equally taking competitive bidding module as example, competingThe issue bidding projects function code Publish of mark module, the cancellation issuing function code of competitive bidding moduleCanclePublish, the supplier of the competitive bidding module function code SupplierBidSubmit that offered.
In addition, identifiable language is an independent processing logic, needs to carry out difference different in the situation thatAnalysis judgment, can or join by supplier's currency system, contact phone, contact name, locationThe information analysis such as putting obtains.
In order to facilitate look facility module, mail matter topics and Mail Contents are also carried out to the configuration of block code,Block code is the code information of functional module in mailing system, and configuration module code is for identification function mouldPiece, as the identity ID of functional module. Block code is defined in residing file, obtains rear directUse.
In a specific embodiment of the present invention, the form of the mail matter topics of configuration is:
EmailSubject_[language codes] _ [block code] _ [function code] _ [division code]
It should be noted that, in form, the order of code is not necessarily arranged according to said sequence.
For example: Human Resource Department's competitive bidding module is issued the Chinese theme format name of bidding projects function and can be joinedBe set to:
EmailSubject_CN_BID_Publish_HR
Wherein: CN is Chinese language code;
BID is the block code of competitive bidding module;
Publish is the function code that bidding projects are issued;
HR is division code.
The form of the mail matter topics of configuration is:
EmailContent_[language codes] _ [block code] _ [function code] _ [division code]
For example: Human Resource Department's competitive bidding module is issued the Chinese content format name of bidding projects function and can be joinedBe set to:
EmailContent_CN_BID_Publish_HR
Wherein: CN is Chinese language code;
BID is the block code of competitive bidding module;
Publish is bidding projects issuing function code;
HR is division code.
In example of the present invention,
The mail header of competitive bidding is: " [Business Name] [department name] [project name] bid invitation " mailContent is:
[vendor name]
This mail is specially invited and please the relevant director of your company be logined supplier's cooperation platform, participates in [project name]The bid of project.
The bid time be [project time started] to [project end time], be on time participate in. Below clickChained address login after enter " competitive bidding management---competitive bidding hall " and participate in submitting a tender: after login, click left sideMenu " help document---supplier's operation manual " can be checked bid operating process.
[entry address]
[Business Name]
[system data]
Wherein, the content that the content in [] is dynamic load, the actual demand need to send according to mail timeThe content of replacing generates complete mail matter topics and mail according to actual content replacement in the time that mail sendsContent.
If language codes identifies two kinds or two kinds of following language, use respectively the language wound of identificationBuild mail. Taking English email as example: English email corresponding to above-mentioned Chinese email as:
[Business Name] [department name] [project name] InvitationtoBid.
[vendor name], [project name] hasstarted.Pleaseloginthebiddingsystemtotakepartinthebid.
The Thebiddingtime:[project time started]-[project end time], Pleaseattendontime,thankyou!Clickthelinkbellowandloginthesystemtoenterthemenu.BiddingManagement---BiddingHalltobid:
[entry address]
[system data]
It should be noted that, Mail Contents is preserved according to form entirety, comprises line feed, spacing,Inscription position etc.
In the mail creation stage, comprising:
Step S102: load mail template from mail configuration center; Wherein, load wound according to language codesThe language that the mail of building uses, loads the department that creates this mail, according to function generation according to division codeCode loads the function that the functional module corresponding with function code realizes in mail.
In the time creating mail, load the mail template of configuration from mail configuration center, to the portion of mail templatePoint content is changed accordingly. Load mail template actual in loading in the mail matter topics and mail of configurationHold the function that namely load language code, function code, block code and division code are realized.That is, the language going out according to language codes load identification, loads the department that creates this mail according to division code,Load according to function code the function that the functional module corresponding with function code realizes in mail.
Step S103: be predefined content by the content replacement of dynamic load in mail template.
For the content of dynamic load in mail template, that is, and dynamic load in mail matter topics and Mail ContentsContent, more predefined contents, become predefined by the content replacement of dynamic load according to actual needsContent, completes the establishment of new mail. The implementation of replacing content is: call a Replace function,Be the content in real scene by the content replacement in " [] ". For example: content=Content.Replace (" [vendor name] ", " * * "tibco software, inc." "TIBCO Software)
Creating after mail, Mail Contents is sent in mail queue and be set to state to be sent, postalPart sends service and can start always, is the mail of state to be sent in poll mail queue; Mail is being sent outAfter seeing off, mail state is revised as and is sent. When leading because of targeted mails address failure or other reasonsWhen causing mail and sending unsuccessfully, mail is sent to failed reason and send to mailbox management person and phase as mailAnswer the keeper of module, mail is sent to failed issue handling and solve.
Foregoing is described the generation method of multilingual mail provided by the invention in detail. With said methodCorresponding, the present invention also provides a kind of generation system of multilingual mail.
Fig. 2 shows according to the logical construction of the generation system of the multilingual mail of the embodiment of the present invention.
As shown in Figure 2, the generation system 200 of the multilingual mail that the embodiment of the present invention provides, comprises mailTemplate configuration unit 210, mail template loading unit 220 and content information replacement unit 230.
Wherein, mail template configuration unit 210 is for configuring mail matter topics and postal by mail configuration centerPart content, forms mail template, and wherein, mail template configuration unit 210 comprises: language codes configurationModule 211, for carrying out the configuration of language codes to mail matter topics and Mail Contents respectively; Division code is joinedPut module 212, for respectively mail matter topics and Mail Contents being carried out to the configuration of division code; Function codeConfiguration module 213, for carrying out the configuration of function code to mail matter topics and Mail Contents respectively.
Mail template loading unit 220 is for loading mail template from mail configuration center; Wherein, mailTemplate loading unit 220 comprises: language load-on module 221, and for load the postal creating according to language codesThe language that part uses; Department's load-on module 222, for loading the portion that creates this mail according to division codeDoor; Function load-on module 223, for loading the functional module corresponding with function code according to function codeThe function realizing in mail.
Content information replacement unit 230 for by the content replacement of mail template dynamic load for predefinedContent.
In addition, mail template configuration unit 210 also comprises block code configuration module 214, for right respectivelyMail matter topics and Mail Contents carry out the configuration of block code, and block code is for marking functional moduleKnow, as the identity ID of functional module.
In addition, language load-on module 221 by language codes analyze supplier currency system, contact phone,Or contact name loads the language that described mail uses.
Moreover mail template loading unit 220 also comprises code information load-on module 224, for according to mouldThe code information of block code value-added tax function module.
The above be only the specific embodiment of the present invention, but protection scope of the present invention is not limited toIn this, any be familiar with those skilled in the art the present invention disclose technical scope in, can be easilyExpect changing or replacing, within all should being encompassed in protection scope of the present invention. Therefore, protection of the present inventionScope should described be as the criterion with the protection domain of claim.

Claims (8)

1. a generation method for multilingual mail, comprises mail configuration phase and mail creation stage; ItsIn,
Described mail configuration phase, comprising:
By mail configuration center configuration mail matter topics and Mail Contents, form mail template, wherein,Form in the process of described mail template, respectively described mail matter topics and described Mail Contents are carried out to languageThe configuration of code, division code and function code;
In the described mail creation stage, comprising:
Load described mail template from described mail configuration center; Wherein, load according to described language codesThe language that the mail creating uses, loads the department that creates described mail, root according to described division codeLoad the functional module corresponding with described function code according to described function code realizes in described mailFunction;
Be predefined content by the content replacement of dynamic load in described mail template.
2. the generation method of multilingual mail as claimed in claim 1, wherein, in described mail configurationIn the stage, also comprise:
Respectively described mail matter topics and described Mail Contents are carried out to the configuration of block code, described module generationCode is for identifying described functional module, as the identity ID of described functional module.
3. the generation method of multilingual mail as claimed in claim 2, wherein, is loading described mailIn the process of template, also load the code information of described functional module according to described block code.
4. the generation method of the multilingual mail as described in any one in claim 1-3, described in basisIn the process of the language that the mail that language codes loading creates uses,
Currency system, contact phone or the contact name of analyzing supplier by described language codes loadThe language that described mail uses.
5. a generation system for multilingual mail, comprising:
Mail template configuration unit, for configuring mail matter topics and Mail Contents by mail configuration center,Form mail template, wherein, described mail template configuration unit comprises: language codes configuration module, useIn respectively described mail matter topics and described Mail Contents being carried out to the configuration of language codes; Division code configurationModule, for carrying out the configuration of division code to described mail matter topics and described Mail Contents respectively; FunctionCode configuration module, for carrying out joining of function code to described mail matter topics and described Mail Contents respectivelyPut;
Mail template loading unit, for loading described mail template from described mail configuration center; Wherein,Mail template loading unit comprises: language load-on module, and for what create according to described language codes loadingThe language that mail uses; Department's load-on module, for loading and create described postal according to described division codeThe department of part; Function load-on module, for loading relative with described function code according to described function codeThe function that the functional module of answering realizes in described mail;
Content information replacement unit, for by the content replacement of described mail template dynamic load for predeterminedThe content of justice.
6. the generation system of multilingual mail as claimed in claim 5, wherein,
Described mail template configuration unit also comprises block code configuration module, for respectively to described mailTheme and described Mail Contents carry out the configuration of block code, and described block code is used for described function mouldPiece identifies, as the identity ID of described functional module.
7. the generation system of multilingual mail as claimed in claim 6, wherein,
Described mail template loading unit also comprises code information load-on module, for according to described module generationCode loads the code information of described functional module.
8. the generation system of the multilingual mail as described in any one in claim 5-7, wherein,
Described language load-on module by described language codes analyze supplier currency system, contact phone,Or contact name loads the language that described mail uses.
CN201510999918.6A 2015-12-28 2015-12-28 Method and system for generating multi-language mail Active CN105608559B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510999918.6A CN105608559B (en) 2015-12-28 2015-12-28 Method and system for generating multi-language mail

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510999918.6A CN105608559B (en) 2015-12-28 2015-12-28 Method and system for generating multi-language mail

Publications (2)

Publication Number Publication Date
CN105608559A true CN105608559A (en) 2016-05-25
CN105608559B CN105608559B (en) 2021-02-23

Family

ID=55988482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510999918.6A Active CN105608559B (en) 2015-12-28 2015-12-28 Method and system for generating multi-language mail

Country Status (1)

Country Link
CN (1) CN105608559B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109104360A (en) * 2018-09-19 2018-12-28 平安科技(深圳)有限公司 E-mail sending method, system, computer equipment and storage medium
CN117196558A (en) * 2023-09-25 2023-12-08 杭州龙席网络科技股份有限公司 Client mining method, system, server and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103426079A (en) * 2012-06-20 2013-12-04 中兴通讯股份有限公司 Mail sending method and device
CN104657419A (en) * 2014-12-26 2015-05-27 盈世信息科技(北京)有限公司 Processing method and system for customized letter paper templates
CN104935492A (en) * 2014-03-18 2015-09-23 阿里巴巴集团控股有限公司 E-mail verification method, device and system
CN104954238A (en) * 2015-07-17 2015-09-30 上海斐讯数据通信技术有限公司 Email template management method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103426079A (en) * 2012-06-20 2013-12-04 中兴通讯股份有限公司 Mail sending method and device
CN104935492A (en) * 2014-03-18 2015-09-23 阿里巴巴集团控股有限公司 E-mail verification method, device and system
CN104657419A (en) * 2014-12-26 2015-05-27 盈世信息科技(北京)有限公司 Processing method and system for customized letter paper templates
CN104954238A (en) * 2015-07-17 2015-09-30 上海斐讯数据通信技术有限公司 Email template management method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109104360A (en) * 2018-09-19 2018-12-28 平安科技(深圳)有限公司 E-mail sending method, system, computer equipment and storage medium
CN117196558A (en) * 2023-09-25 2023-12-08 杭州龙席网络科技股份有限公司 Client mining method, system, server and storage medium

Also Published As

Publication number Publication date
CN105608559B (en) 2021-02-23

Similar Documents

Publication Publication Date Title
US7895278B2 (en) Method for automatically modifying electronic distribution lists using predefined rules
US9098834B2 (en) Task management using electronic mail
JP2007511920A (en) Method, system, and program product for automatically formatting email
US20130282842A1 (en) Process for sending an electronic file to at least one contact of a user
US20080307058A1 (en) Message handling for user interfaces
JP4593615B2 (en) Information processing system, information processing method, and program
WO2010132125A2 (en) Electronic communication clarification system
JP6902913B2 (en) Email automatic classification method and system
CN105608559A (en) Generation method and system of multi-language mail
Berli et al. Terravis-large scale business process integration between public and private partners
US20140229826A1 (en) System and method for providing content using dynamic action templates
US9454737B2 (en) Solution that leverages an instant messaging system to manage ad hoc business process workflows
US20160253623A1 (en) System and method for creating managing and verifying postal correspondences
US8898626B2 (en) System and method for managing a software asset for inclusion in a software library
Palomares et al. PABRE-Man: Management of a requirement patterns catalogue
CN113762908B (en) Method and device for generating information
US20210349885A1 (en) Document aggregation in a digital transaction management platform
CN116128263B (en) Method and device for determining flight guarantee task, electronic equipment and storage medium
CN110266596B (en) Message processing method, device, equipment and computer readable storage medium
US8230028B2 (en) Propagation control system and method
US10860793B2 (en) Method and system for an electronic document framework
US9268514B2 (en) Formatting data
Popović GETTING ISO 9001 CERTIFIED FOR SOFTWARE DEVELOPMENT USING SCRUM AND OPEN SOURCE TOOLS: A CASE STUDY.
US20110231500A1 (en) System and method for integrating support case or ticket management systems via email
CN114118686A (en) Sub-account management method and system applied to enterprise customer acquisition management software

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 261031 Dongfang Road, Weifang high tech Industrial Development Zone, Shandong, China, No. 268

Applicant after: Goertek Inc.

Address before: 261031 Dongfang Road, Weifang high tech Industrial Development Zone, Shandong, China, No. 268

Applicant before: Goertek Inc.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant