CN106407174A - Method and device for setting e-mail content typesetting - Google Patents

Method and device for setting e-mail content typesetting Download PDF

Info

Publication number
CN106407174A
CN106407174A CN201611025951.XA CN201611025951A CN106407174A CN 106407174 A CN106407174 A CN 106407174A CN 201611025951 A CN201611025951 A CN 201611025951A CN 106407174 A CN106407174 A CN 106407174A
Authority
CN
China
Prior art keywords
mail
content
sub
display format
contents
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.)
Pending
Application number
CN201611025951.XA
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201611025951.XA priority Critical patent/CN106407174A/en
Publication of CN106407174A publication Critical patent/CN106407174A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/189Automatic justification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/34Browsing; Visualisation therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method and device for setting e-mail content typesetting, and belongs to the technical field of internet communications. The method comprises the steps of obtaining mail content of a current e-mail, wherein the mail content comprises at least one piece of mail sub-content; identifying each piece of mail sub-content in the at least one piece of mail sub-content from the mail content; and for each piece of mail sub-content, obtaining a display area and a first display format of the mail sub-content separately and typesetting the mail sub-content according to the display area and the first display format. According to the method and the device, the cumbersome process of manual operation of a user is omitted by automatically typesetting the mail sub-content; and the efficiency of setting e-mail content typesetting is improved.

Description

The method and device of setting Email content typesetting
Technical field
It relates to Internet communication technology field, more particularly, to a kind of method of setting Email content typesetting and Device.
Background technology
With the development of Internet communication technology, communication mode gets more and more;Email is due to efficient, simple, quick The features such as, it has also become user applies wide communication mode in work and life at present.For example, at work, Yong Huchang Usually through sending Email, action is linked up.
At present, user before sending an email, user inputs Mail Contents in the text input frame of Email, Mail Contents generally comprise the sub- contents of multiple mails such as salutation information (for example, XX you good), body matter and signing messages, user Manually the display format of the display format of salutation information and signing messages is set to left-justify, manually by the display of body matter Form is set to 2 characters of first trip indentation etc..
Content of the invention
For overcoming problem present in correlation technique, the disclosure provide a kind of method of setting Email content typesetting and Device, described technical scheme is as follows:
According to the embodiment of the present disclosure in a first aspect, provide a kind of setting Email content typesetting method, described side Method includes:
Obtain the Mail Contents of current e-mail, described Mail Contents include the sub- content of at least one mail;
The sub- content of each mail in the described sub- content of at least one mail is identified from described Mail Contents;
The sub- content for each mail described, obtains viewing area and the first display lattice of the sub- content of described mail respectively Formula, according to described viewing area and described first display format, to described mail, sub- content carries out typesetting.
In the embodiment of the present disclosure, after terminal obtains the Mail Contents of current e-mail, can know from this Mail Contents Do not go out the sub- content of each mail in this sub- content of at least one mail;And for this sub- content of each mail, according to this mail The viewing area of sub- content and this first display format, to this mail, sub- content carries out typesetting automatically;Eliminate user to grasp manually The complicated processes made, improve the efficiency of setting Email content typesetting.
In a kind of possible implementation, described according to described viewing area with described first display format, to described The sub- content of mail carries out typesetting, including:
Sub- for described mail content is shown in described viewing area;
According to described first display format, the display format of sub- for described mail content is set to described first display lattice Formula.
In the embodiment of the present disclosure, terminal first sub- for mail content is shown in viewing area, more sub- for mail content is aobvious Show that form is set to the first display format, be more accurately provided with the typesetting format of the sub- content of each mail in Mail Contents.
In a kind of possible implementation, before the Mail Contents of described acquisition current e-mail, methods described is also Including:
Formated mail button is shown in the toolbar of described current e-mail;
When described formated mail button is detected and being triggered, the described Mail Contents obtaining current e-mail of execution Step.
In the embodiment of the present disclosure, terminal shows formated mail button in the toolbar of current e-mail, and user is only Need to trigger this formated mail button can triggering terminal to this mail, sub- content carries out typesetting automatically, improve setting electronics postal The efficiency of the method for part content typesetting.
In a kind of possible implementation, described according to described typesetting format, described Mail Contents are carried out typesetting it Afterwards, methods described also includes:
Determine from described Mail Contents and meet pre-conditioned target text information;
Described target text information in described Mail Contents is highlighted.
In the embodiment of the present disclosure, terminal the target text information in Mail Contents can be highlighted so that user more Rapidly browse to the target text information in Mail Contents, improve user and browse efficiency during mail.
In a kind of possible implementation, methods described also includes:
The object content of preset data form is determined from described Mail Contents;
Determine the corresponding second display format of described object content, the current display format of described object content is revised as Described second display format.
In the embodiment of the present disclosure, terminal can determine preset data form according to from Mail Contents, and then it is default to arrange this The second display format of the corresponding object content of data form, realizes carrying out typesetting to object content, improves setting electronics postal The accuracy of part typesetting.
In a kind of possible implementation, described current e-mail is Email to be sent or the electricity receiving Sub- mail.
In the embodiment of the present disclosure, when user sends or receives current e-mail, this current e-mail all can be set Typesetting format, improve user and browse reading experience during mail.
According to the second aspect of the embodiment of the present disclosure, provide a kind of device of setting Email content typesetting, described dress Put including:
Acquisition module, for obtaining the Mail Contents of current e-mail, described Mail Contents include at least one mail Sub- content;
Identification module, for identifying each mail in the described sub- content of at least one mail from described Mail Contents Sub- content;
Described acquisition module, is additionally operable to the sub- content for each mail described, obtains the aobvious of the sub- content of described mail respectively Show region and the first display format;
Type-setting module, for according to described viewing area and described first display format, to described mail, sub- content is carried out Typesetting.
In a kind of possible implementation, described type-setting module, it is additionally operable to be shown in sub- for described mail content described In viewing area;According to described first display format, the display format of sub- for described mail content is set to described first display Form.
In a kind of possible implementation, described device also includes:
First display module, for showing formated mail button in the toolbar of described current e-mail;
Described acquisition module, is additionally operable to described formated mail button is detected when being triggered, execution is described obtain current The step of the Mail Contents of Email.
In a kind of possible implementation, described device also includes:
First determining module, meets pre-conditioned target text information for determining from described Mail Contents;
Second display module, for highlighting the described target text information in described Mail Contents.
In a kind of possible implementation, described device also includes:
Second determining module, for determining the object content of preset data form from described Mail Contents;
3rd determining module, for determining the corresponding second display format of described object content,
Modified module, for being revised as described second display format by the current display format of described object content.
In a kind of possible implementation, described current e-mail is Email to be sent or the electricity receiving Sub- mail.
According to the third aspect of the embodiment of the present disclosure, provide a kind of device of setting Email content typesetting, its feature It is, including:
Processor;
For storing the memory of processor executable;
Wherein, described processor is configured to:Obtain current e-mail Mail Contents, described Mail Contents include to The sub- content of a few mail;Identify from described Mail Contents in each mail in the described sub- content of at least one mail Hold;The sub- content for each mail described, obtains viewing area and first display format of the sub- content of described mail respectively, according to Described viewing area and described first display format, to described mail, sub- content carries out typesetting.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:
In the embodiment of the present disclosure, after terminal obtains the Mail Contents of current e-mail, can know from this Mail Contents Do not go out the sub- content of each mail in this sub- content of at least one mail;And for this sub- content of each mail, according to this mail The viewing area of sub- content and this first display format, to this mail, sub- content carries out typesetting automatically;Eliminate user to grasp manually The complicated processes made, improve the efficiency of setting Email content typesetting.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the enforcement meeting the disclosure Example, and be used for explaining the principle of the disclosure together with specification.
Fig. 1 is the flow chart of a kind of method of setting Email content typesetting according to an exemplary embodiment;
Fig. 2 is the flow chart of a kind of method of setting Email content typesetting according to an exemplary embodiment;
Fig. 3 is a kind of block diagram of the device of setting Email content typesetting according to an exemplary embodiment;
Fig. 4 is a kind of block diagram of the device 400 of setting Email content typesetting according to an exemplary embodiment.
Specific embodiment
Purpose, technical scheme and advantage for making the disclosure are clearer, below in conjunction with accompanying drawing to disclosure embodiment party Formula is described in further detail.
Here will in detail exemplary embodiment be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, the disclosure.
In correlation technique, when user sends mail by Mail Clients, after user input Mail Contents, user sets manually Put the typesetting of Email content, for example, user needs manually the display format of body matter to be set to 2 words of first trip indentation Accord with, be set to be shown centered on form etc. by picture format, operating process is loaded down with trivial details, thus leading to arrange Email content typesetting Efficiency is low.
In the embodiment of the present disclosure, after terminal obtains the Mail Contents of current e-mail, can know from this Mail Contents Do not go out the sub- content of each mail in this sub- content of at least one mail;And for this sub- content of each mail, according to this mail The viewing area of sub- content and this first display format, to this mail, sub- content carries out typesetting automatically;Eliminate user to grasp manually The complicated processes made, improve the efficiency of setting Email content typesetting.
Fig. 1 is the flow chart of a kind of method of setting Email content typesetting according to an exemplary embodiment, As shown in figure 1, comprising the following steps.
In a step 101, the Mail Contents of current e-mail are obtained, this Mail Contents is included at least one mail Hold.
In a step 102, identify from this Mail Contents in each mail in this sub- content of at least one mail Hold.
In step 103, for this sub- content of each mail, obtain the viewing area and first of the sub- content of this mail respectively Display format, according to this viewing area and this first display format, to this mail, sub- content carries out typesetting.
Method provided in an embodiment of the present invention, after terminal obtains the Mail Contents of current e-mail, can be from this mail The sub- content of each mail in this sub- content of at least one mail is identified in content;And for this sub- content of each mail, root According to viewing area and this first display format of the sub- content of this mail, to this mail, sub- content carries out typesetting automatically;Eliminate use The manually operated complicated processes in family, improve the efficiency of setting Email content typesetting.
In a kind of possible implementation, this is according to this viewing area and this first display format, interior to this mail Hold and carry out typesetting, including:
Sub- for this mail content is shown in this viewing area;
According to this first display format, the display format of sub- for this mail content is set to this first display format.
In a kind of possible implementation, before the Mail Contents of this acquisition current e-mail, the method also includes:
Formated mail button is shown in this prior in the toolbar of Email;
When this formated mail button is detected and being triggered, execute the step of the Mail Contents of this acquisition current e-mail Suddenly.
In a kind of possible implementation, this is according to this typesetting format, after carrying out typesetting to this Mail Contents, the party Method also includes:
Determine from this Mail Contents and meet pre-conditioned target text information;
This target text information in this Mail Contents is highlighted.
In a kind of possible implementation, the method also includes:
The object content of preset data form is determined from this Mail Contents;
Determine the corresponding second display format of this object content, by the current display format of this object content be revised as this Two display formats.
In a kind of possible implementation, this current e-mail is Email to be sent or the electronics receiving Mail.
Above-mentioned all optional technical schemes, can be using the alternative embodiment arbitrarily combining to form the disclosure, and here is no longer Repeat one by one.
Fig. 2 is a kind of method flow diagram of the setting Email content typesetting according to an exemplary embodiment, should The executive agent of method can be terminal;As shown in Fig. 2 the method comprises the following steps.
In step 201, terminal shows formated mail button in the toolbar of Email in this prior, detects this When formated mail button is triggered, execution step 202.
In the embodiment of the present disclosure, terminal can show in the toolbar of current e-mail that a formated mail is pressed Button, user can click on the typesetting format that this formated mail button triggering terminal arranges Email content.Terminal is examined in real time Survey this formated mail button, when this formated mail button is detected and being triggered, by following steps 202-205, arrange The mail typesetting format of this current e-mail.
Wherein, when this current e-mail is Email to be sent, in the toolbar at electronic mail editing interface Middle display formated mail button;When this current e-mail is Email to be sent, at e-mail text interface Toolbar in show formated mail button.
In a kind of possible implementation that the embodiment of the present disclosure provides, mail typesetting format can include the aobvious of Mail Contents Show region and display format, wherein, viewing area is the viewing area of the sub- content of each mail in Mail Contents;Display format bag Include font size, font style and line space etc..
Terminal can prestore one or more mail typesetting format, is triggered when terminal detects formated mail button When, terminal shows typesetting format selection interface, and this typesetting format selection interface includes one or more mail typesetting format, user A kind of mail typesetting format can be selected as needed, terminal obtains the mail typesetting format that user selects, execution step 202.
In step 202., terminal obtains the Mail Contents of current e-mail, and this Mail Contents includes at least one mail Sub- content.
If this current e-mail is user's Email to be sent, terminal need to identify current e-mail input frame The Mail Contents of middle user input, therefore, in this step, the step that terminal obtains the Mail Contents of current e-mail is permissible For:The Mail Contents input frame of terminal recognition current e-mail, obtains the Mail Contents that this Mail Contents inputs inframe.
In the embodiment of the present disclosure, this Mail Contents can include the sub- content of multiple mails, and the sub- content of mail can be mail Address in content, title, text, signature etc., the embodiment of the present disclosure sub- content being not especially limited to this mail, for example, The sub- content of mail can also be the congratulatory words in Mail Contents, date etc..
If the Email that this current e-mail receives for user, terminal this current e-mail of direct access Mail Contents, therefore, the step that terminal obtains the Mail Contents of current e-mail can be:Terminal recognition current e-mail Mail Contents text box, obtain the Mail Contents of this Mail Contents text inframe.
In step 203, terminal identifies each mail in this sub- content of at least one mail from this Mail Contents Sub- content.
In the embodiment of the present disclosure, after terminal obtains the Mail Contents of current e-mail, by HTML (Hyper Text Markup Language, HTML) this Mail Contents is identified, Mail Contents can include multiple mails Sub- content, the sub- content of each mail corresponding HTML mark, terminal according to the mark of the sub- content of mail corresponding in HTML, really Determine the sub- content of mail that Mail Contents include, wherein, the sub- content of mail can be the address in Mail Contents, title, text, label Name etc..
For example, in HTML, title is corresponding is designated<TITLE>, terminal is by Mail Contents<TITLE>Mark is corresponding The sub- content of mail is defined as title.
In the embodiment of the present disclosure, terminal can also be known to the data form of the sub- content of each mail by HTML Not, the mark according to the sub- content of mail corresponding in HTML, determines the data form of the data that the sub- content of each mail includes.Its In, the data form of the data that the sub- content of each mail includes can be word, picture, form etc..
For example, in HTML, form is corresponding is designated<TABLE>, terminal is by sub- for mail content<TABLE>Mark corresponds to The data form of data be defined as form.
For another example, in HTML, picture is corresponding is designated<IMG>, terminal is by sub- for mail content<IMG>Identify corresponding number According to data form be defined as picture.
In step 204, for this sub- content of each mail, terminal obtain respectively the sub- content of this mail viewing area and First display format, according to this viewing area and this first display format, to this mail, sub- content carries out typesetting.
In the embodiment of the present disclosure, multiple mails such as the address that included due to Mail Contents, title, text, date, signature Content viewing area in the e-mail is different, and, the display format of the sub- content of each mail is also different, and terminal need to be to every The sub- content of individual mail carries out typesetting.Therefore, terminal according to this viewing area and this first display format, to this mail, enter by sub- content The step of row typesetting can be:Sub- for this mail content is shown in this viewing area terminal, and terminal is according to this first display lattice Formula, the display format of sub- for this mail content is set to this first display format.
In the embodiment of the present disclosure, the corresponding relation of terminal storage mail content and viewing area, terminal is by this mail The step that sub- content is shown in this viewing area can be:The sub- content of this mail of terminal recognition in Email input frame or Current location in text box, from the corresponding relation of the sub- content of mail and viewing area, obtains the sub- content of this mail and correspondence Viewing area, whether the current location judging the sub- content of this mail in this viewing area, if not, terminal is by this mail Sub- content is shown in this viewing area;If executed according to this first display format in, terminal, by the display of sub- for mail content The step that form is set to this first display format.
Wherein, viewing area is the area that the sub- content of this mail is located in the input frame or text box of current e-mail Domain, the corresponding viewing area of the sub- content of each mail can need to arrange and change according to user, and the embodiment of the present disclosure is to each The corresponding viewing area of the sub- content of mail is not specifically limited.
For example, when the sub- content of mail is title, the viewing area of the sub- content of this mail can be Email input frame Or the first trip position in text box;For another example, when the sub- content of mail is date or user's signature, the display of the sub- content of this mail Region can be put for three line positions after the inverse in Email input frame or text box.
In the embodiment of the present disclosure, the terminal storage corresponding relation of the sub- content of mail and display format, terminal according to this One display format, the step that the display format of sub- for this mail content is set to this first display format can be:Terminal obtains The current format of the sub- content of this mail, and obtain the sub- content pair of this mail from the corresponding relation of the sub- content of mail and display format The display format answered, corresponding for sub- for this mail content display format is defined as the first display format, judges the sub- content of this mail Current format whether be the first display format, if it is not, the current format of sub- for this mail content is revised as the first display Form.
Wherein, the first display format is typesetting format in Mail Contents for the sub- content of each mail, and different mails is sub Corresponding first display format of content can identical it is also possible to different;First display format can need setting simultaneously according to user Change, the embodiment of the present disclosure to the first display format and is not especially limited.
For example, corresponding first display format of address positioned at Email input frame or text box first trip can be: Left-justify, the Song typeface, No. four words, space after 1 row etc..
For another example, positioned at signature and the date corresponding first display lattice of Email input frame or text box last two rows Formula can be:Right Aligns, the Song typeface, No. four words, space before 1 row etc..
For another example, corresponding first display format of the text between address and date can be:Two ends alignment, first trip contracting Enter 2 characters, single-spaced, the Song typeface, No. four words etc..
In the embodiment of the present disclosure, due to multiple data lattice such as word, picture, form can be included in the sub- content of each mail The data of formula, after arranging the first display format of the sub- content of each mail, can also include according to the sub- content of each mail One or more data form data, the display lattice of the corresponding data of different data format in the sub- content of each mail are set Formula, therefore, this step also includes:Terminal determines the object content of preset data form from this Mail Contents, and terminal determines should The corresponding second display format of object content, the current display format of this object content is revised as this second display format.
Terminal has got the data form of the data that the sub- content of each mail includes in step 203, terminal from In this Mail Contents, the step of the object content of determination preset data form can be:
The data form of the data that terminal includes according to the sub- content of each mail, determines preset data from this Mail Contents The object content of form.
The corresponding relation of data storage form and display format in terminal, accordingly, terminal determines that this object content corresponds to The step of second display format can be:
Terminal, according to preset data form, obtains this object content pair from the corresponding relation of data form and display format The second display format answered.
Preset data form arranges according to the needs of user and changes, and the embodiment of the present disclosure is not made to preset data form Concrete limit, for example, picture that preset data form can include for data form, form etc..
For example, so that preset data form is as picture as a example illustrate, terminal identifies picture identification by HTML<IMG> Corresponding content is picture, if the corresponding second display format of picture is to be shown centered on, terminal is by the display format of this picture It is set to be shown centered on.
For another example, so that preset data is as form as a example illustrate, by HTML, terminal identifies that form identifies<TABLE>Right The content answered be form, if the corresponding second display format of form be shown centered on, wide 3 centimetres, high 1 centimetre, form line thick Thin be 1 pound, the display format of this form is set to be shown centered on by terminal, wide 3 centimetres, high 1 centimetre, form line thickness be 1 pound.
For another example, so that preset data form is for the corresponding form caption of form as a example illustrate, terminal recognition go out form it Afterwards, HTML can be continued through and identify that form caption identifies<CAPTION>Corresponding content is form caption, if form mark Inscribe corresponding second display format to be the Song typeface, No. four words, overstrikings, be shown centered on, the display format of this form caption is set by terminal It is set to the Song typeface, No. four words, overstrikings, be shown centered on.
When this formated mail button is detected and be triggered due to terminal, in the mail that automatically begins to arrange this Email Hold, and this current e-mail can be for Email to be sent or the Email that receives so that between different user Mail Contents uniform format, improve user and browse reading experience during mail.
In step 205, terminal determines from this Mail Contents and meets pre-conditioned target text information, by this mail This target text information in content highlights.
In the embodiment of the present disclosure, user more quickly finds the Word message of needs for convenience, improves user and browses postal Efficiency during part, terminal can highlight meeting pre-conditioned target text information.
Pre-conditioned can be the Word message of preset characters mark in this Mail Contents, and this is pre-conditioned can also to be should The character string of the preset kind in Mail Contents.
When pre-conditioned for this Mail Contents in preset characters mark content when, terminal determines from this Mail Contents expire The step of pre-conditioned target text information can be enough:Terminal determines the word of preset characters mark from this Mail Contents Information, this Word message is defined as target text information.
Preset characters can be configured as needed and change, and in the disclosed embodiments, preset characters are not made have Body limits;For example, preset characters can be reference character, and reference character can be double quotation marks, single quotation marks, punctuation marks used to enclose the title etc..
When preset characters are for reference character, terminal determines that from this Mail Contents meeting pre-conditioned target text believes Breath step can be:Terminal is identified by HTML and whether there is reference identification in the sub- content of mail<BLOCKQUOTE>Corresponding Word message, if it does, the Word message in reference character is defined as target text information by terminal.
When the pre-conditioned character string for preset kind, terminal determines from this Mail Contents and meets pre-conditioned mesh Mark Word message step can be:Terminal determines the character string of preset kind from this Mail Contents, by the word of preset kind Symbol string is defined as target text information.
Preset kind can be configured as needed and change, and in the disclosed embodiments, preset kind is not made have Body limits;For example, preset kind can be numeral etc..
In a possible design, pre-conditioned can also be the annotation in this Mail Contents, punctuation marks used to enclose the title etc..
In the embodiment of the present disclosure, after the Mail Contents typesetting format in terminal-pair current e-mail is configured, such as The Email that fruit current e-mail receives for user, this current e-mail of terminal storage.If current e-mail For Email to be sent, terminal sends this current e-mail.
The step that terminal sends this current e-mail can be:Terminal detects whether the send button in toolbar is touched Send out, if a terminal detects that this send button is triggered, obtain posting address and the outbox address of this Email, to server Send this Email and the corresponding posting address of this Email and outbox address.This electricity that server receiving terminal sends Sub- mail and the corresponding posting address of this Email and outbox address, using this outbox address as sender, to this outbox The corresponding terminal in address sends this Email.
In the embodiment of the present disclosure, after terminal obtains the Mail Contents of current e-mail, can know from this Mail Contents Do not go out the sub- content of each mail in this sub- content of at least one mail;And for this sub- content of each mail, according to this mail The viewing area of sub- content and this first display format, to this mail, sub- content carries out typesetting automatically;And, terminal can determine The object content of preset data form, the current display format of this object content is revised as this object content corresponding second and shows Show form, eliminate the manually operated complicated processes of user, improve the efficiency of setting Email content typesetting.
Fig. 3 is a kind of block diagram of the device of setting Email content typesetting according to an exemplary embodiment.Ginseng According to Fig. 3, this device includes acquisition module 301, identification module 302 and type-setting module 303.
Acquisition module 301, is configured to obtain the Mail Contents of current e-mail, this Mail Contents includes at least one The sub- content of mail;
Identification module 302, is configured to identify each in this sub- content of at least one mail from this Mail Contents The sub- content of mail;
This acquisition module 301, is additionally configured to for this sub- content of each mail, obtains the aobvious of the sub- content of this mail respectively Show region and the first display format;
Type-setting module 303, is configured to according to this viewing area and this first display format, to this mail, sub- content is carried out Typesetting.
In a kind of possible implementation, this type-setting module 303 is additionally configured to for sub- for this mail content to be shown in this In viewing area;According to this first display format, the display format of sub- for this mail content is set to this first display format.
In a kind of possible implementation, this device also includes:
First display module, is configured to show formated mail button in the toolbar of Email in this prior;
This acquisition module 301, is additionally configured to this formated mail button is detected when being triggered, executes this acquisition current The step of the Mail Contents of Email.
In a kind of possible implementation, this device also includes:
First determining module, is configured to determination from this Mail Contents and meets pre-conditioned target text information;
Second display module, is configured to highlight this target text information in this Mail Contents.
In a kind of possible implementation, this device also includes:
Second determining module, is configured to determine the object content of preset data form from this Mail Contents;
3rd determining module, is configured to determine that the corresponding second display format of this object content,
Modified module, is configured to for the current display format of this object content to be revised as this second display format.
In a kind of possible implementation, this current e-mail is Email to be sent or the electronics receiving Mail.
In the embodiment of the present disclosure, after terminal obtains the Mail Contents of current e-mail, can know from this Mail Contents Do not go out the sub- content of each mail in this sub- content of at least one mail;And for this sub- content of each mail, according to this mail The viewing area of sub- content and this first display format, to this mail, sub- content carries out typesetting automatically;And, terminal can determine The object content of preset data form, the current display format of this object content is revised as this object content corresponding second and shows Show form, eliminate the manually operated complicated processes of user, improve the efficiency of setting Email content typesetting.
Above-mentioned all optional technical schemes, can be using the alternative embodiment arbitrarily combining to form the disclosure, and here is no longer Repeat one by one.
It should be noted that:The device of the setting Email content typesetting that above-described embodiment provides is in setting Email During content typesetting, only it is illustrated with the division of above-mentioned each functional module, in practical application, can as desired will be upper State function distribution to be completed by different functional modules, the internal structure of device will be divided into different functional modules, to complete All or part of function described above.In addition, above-described embodiment provide setting Email content typesetting device with The embodiment of the method for setting Email content typesetting belongs to same design, and it implements process and refers to embodiment of the method, this In repeat no more.
Fig. 4 is a kind of block diagram of the device 400 of setting Email content typesetting according to an exemplary embodiment. For example, device 400 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, and flat board sets Standby, Medical Devices, body-building equipment, personal digital assistant etc..
With reference to Fig. 4, device 400 can include following one or more assemblies:Process assembly 402, memory 404, power supply Assembly 406, multimedia groupware 408, audio-frequency assembly 410, input/output (I/O) interface 412, sensor cluster 414, Yi Jitong Letter assembly 416.
The integrated operation of the usual control device 400 of process assembly 402, such as with display, call, data communication, phase Machine operation and record operate associated operation.Process assembly 402 can include one or more processors 420 and refer to execute Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 402 can include one or more modules, just Interaction between process assembly 402 and other assemblies.For example, process assembly 402 can include multi-media module, many to facilitate Interaction between media component 408 and process assembly 402.
Memory 404 is configured to store various types of data to support the operation in device 400.The showing of these data Example includes the instruction for any application program of operation or method on device 400, contact data, telephone book data, disappears Breath, picture, video etc..Memory 404 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 406 provides electric power for the various assemblies of device 400.Power supply module 406 can include power management system System, one or more power supplys, and other generate, manage and distribute, with for device 400, the assembly that electric power is associated.
Multimedia groupware 408 includes the screen of one output interface of offer between described device 400 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sensing touch or sliding action Border, but also detection and described touch or slide related duration and pressure.In certain embodiments, many matchmakers Body assembly 408 includes a front-facing camera and/or post-positioned pick-up head.When device 400 is in operator scheme, such as screening-mode or During video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and Post-positioned pick-up head can be the optical lens system of a fixation or have focusing and optical zoom capabilities.
Audio-frequency assembly 410 is configured to output and/or input audio signal.For example, audio-frequency assembly 410 includes a Mike Wind (MIC), when device 400 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is joined It is set to reception external audio signal.The audio signal being received can be further stored in memory 404 or via communication set Part 416 sends.In certain embodiments, audio-frequency assembly 410 also includes a loudspeaker, for exports audio signal.
, for providing interface between process assembly 402 and peripheral interface module, above-mentioned peripheral interface module can for I/O interface 412 To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 414 includes one or more sensors, for providing the state of various aspects to comment for device 400 Estimate.For example, sensor cluster 414 can detect/the closed mode of opening of device 400, and the relative positioning of assembly is for example described Assembly is display and the keypad of device 400, and sensor cluster 414 can be with detection means 400 or 400 1 assemblies of device Position change, user is presence or absence of with what device 400 contacted, device 400 orientation or acceleration/deceleration and device 400 Temperature change.Sensor cluster 414 can include proximity transducer, is configured to the detection when not having any physical contact The presence of object nearby.Sensor cluster 414 can also include optical sensor, such as CMOS or ccd image sensor, for becoming Use as in application.In certain embodiments, this sensor cluster 414 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between device 400 and other equipment.Device 400 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary enforcement In example, communication component 416 receives broadcast singal or the broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, described communication component 416 also includes near-field communication (NFC) module, to promote junction service.Example As, RF identification (RFID) technology can be based in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, Bluetooth (BT) technology and other technologies are realizing.
In the exemplary embodiment, device 400 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing in above-mentioned setting Email The method holding typesetting.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided As included the memory 404 instructing, above-mentioned instruction can be executed by the processor 420 of device 400 to complete said method.For example, Described non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..When the instruction in described storage medium is by the computing device of terminal so that terminal can be held The method of the above-mentioned setting Email content typesetting of row.
Those skilled in the art, after considering specification and putting into practice invention disclosed herein, will readily occur to its of the disclosure Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations are followed the general principle of the disclosure and are included the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments be considered only as exemplary, the true scope of the disclosure and spirit by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to be described above and precision architecture illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure only to be limited by appended claim.

Claims (13)

1. a kind of method of setting Email content typesetting is it is characterised in that methods described includes:
Obtain the Mail Contents of current e-mail, described Mail Contents include the sub- content of at least one mail;
The sub- content of each mail in the described sub- content of at least one mail is identified from described Mail Contents;
The sub- content for each mail described, obtains viewing area and first display format of the sub- content of described mail, root respectively According to described viewing area and described first display format, to described mail, sub- content carries out typesetting.
2. method according to claim 1 it is characterised in that described according to described viewing area and described first display lattice Formula, to described mail, sub- content carries out typesetting, including:
Sub- for described mail content is shown in described viewing area;
According to described first display format, the display format of sub- for described mail content is set to described first display format.
3. method according to claim 1 is it is characterised in that before the Mail Contents of described acquisition current e-mail, Methods described also includes:
Formated mail button is shown in the toolbar of described current e-mail;
When described formated mail button is detected and being triggered, the step of the described Mail Contents obtaining current e-mail of execution Suddenly.
4. method according to claim 1 it is characterised in that described typesetting is carried out to described Mail Contents after, described Method also includes:
Determine from described Mail Contents and meet pre-conditioned target text information;
Described target text information in described Mail Contents is highlighted.
5. method according to claim 1 is it is characterised in that methods described also includes:
The object content of preset data form is determined from described Mail Contents;
Determine the corresponding second display format of described object content, the current display format of described object content is revised as described Second display format.
6. method according to claim 1 it is characterised in that described current e-mail be Email to be sent or The Email receiving.
7. a kind of device of setting Email content typesetting is it is characterised in that described device includes:
Acquisition module, for obtaining the Mail Contents of current e-mail, described Mail Contents are included at least one mail Hold;
Identification module, for identifying in each mail in the described sub- content of at least one mail from described Mail Contents Hold;
Described acquisition module, is additionally operable to the sub- content for each mail described, obtains the viewing area of the sub- content of described mail respectively Domain and the first display format;
Type-setting module, for according to described viewing area and described first display format, to described mail, sub- content carries out typesetting.
8. device according to claim 7, it is characterised in that described type-setting module, is additionally operable to sub- for described mail content It is shown in described viewing area;According to described first display format, the display format of sub- for described mail content is set to institute State the first display format.
9. device according to claim 7 is it is characterised in that described device also includes:
First display module, for showing formated mail button in the toolbar of described current e-mail;
Described acquisition module, is additionally operable to described formated mail button is detected when being triggered, executes described acquisition Current electronic The step of the Mail Contents of mail.
10. device according to claim 7 is it is characterised in that described device also includes:
First determining module, meets pre-conditioned target text information for determining from described Mail Contents;
Second display module, for highlighting the described target text information in described Mail Contents.
11. devices according to claim 7 are it is characterised in that described device also includes:
Second determining module, for determining the object content of preset data form from described Mail Contents;
3rd determining module, for determining the corresponding second display format of described object content,
Modified module, for being revised as described second display format by the current display format of described object content.
12. devices according to claim 7 are it is characterised in that described current e-mail is Email to be sent Or the Email receiving.
A kind of 13. devices of setting Email content typesetting are it is characterised in that include:
Processor;
For storing the memory of processor executable;
Wherein, described processor is configured to:Obtain the Mail Contents of current e-mail, described Mail Contents include at least one The sub- content of individual mail;The sub- content of each mail in the described sub- content of at least one mail is identified from described Mail Contents; The sub- content for each mail described, obtains viewing area and first display format of the sub- content of described mail, respectively according to institute State viewing area and described first display format, sub- content carries out typesetting to described mail.
CN201611025951.XA 2016-11-17 2016-11-17 Method and device for setting e-mail content typesetting Pending CN106407174A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611025951.XA CN106407174A (en) 2016-11-17 2016-11-17 Method and device for setting e-mail content typesetting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611025951.XA CN106407174A (en) 2016-11-17 2016-11-17 Method and device for setting e-mail content typesetting

Publications (1)

Publication Number Publication Date
CN106407174A true CN106407174A (en) 2017-02-15

Family

ID=58069143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611025951.XA Pending CN106407174A (en) 2016-11-17 2016-11-17 Method and device for setting e-mail content typesetting

Country Status (1)

Country Link
CN (1) CN106407174A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1408094A (en) * 1999-12-06 2003-04-02 Ewt商贸顾问新西兰有限公司 Placing advertisements in publications
CN101989256A (en) * 2009-07-31 2011-03-23 北京大学 Typesetting method of document file and device
CN103678268A (en) * 2012-09-19 2014-03-26 北京大学 Automatic typesetting method and device for official documents
US20150100650A1 (en) * 2013-10-03 2015-04-09 Yandex Europe Ag Method of and system for reformatting an e-mail message based a categorization thereof
CN105787690A (en) * 2016-02-26 2016-07-20 宁波萨瑞通讯有限公司 Method and device facilitating filling of mailing list

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1408094A (en) * 1999-12-06 2003-04-02 Ewt商贸顾问新西兰有限公司 Placing advertisements in publications
CN101989256A (en) * 2009-07-31 2011-03-23 北京大学 Typesetting method of document file and device
CN103678268A (en) * 2012-09-19 2014-03-26 北京大学 Automatic typesetting method and device for official documents
US20150100650A1 (en) * 2013-10-03 2015-04-09 Yandex Europe Ag Method of and system for reformatting an e-mail message based a categorization thereof
CN105787690A (en) * 2016-02-26 2016-07-20 宁波萨瑞通讯有限公司 Method and device facilitating filling of mailing list

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
代前杰等: "《31天学会CRM项目开发》", 31 March 2016, 北京:机械工业出版社 *

Similar Documents

Publication Publication Date Title
CN104375980B (en) Content of text selection method and device
CN105138259B (en) Operation executes method and device
CN106489129A (en) The method and device that a kind of content is shared
CN105337847A (en) Instant messaging information processing method, device and equipment
CN106020784A (en) Method and device for displaying application message, and terminal
EP3038334B1 (en) Method and device for replying to a call
CN104536935B (en) Calculate display methods, calculate edit methods and device
CN105955618A (en) Information display method and device
CN105094814A (en) Method and device for notification information display
CN107066172A (en) The document transmission method and device of mobile terminal
CN104020924B (en) Label creation method, device and terminal
CN104679599A (en) Application program duplicating method and device
CN107516050A (en) Image processing method, device and terminal
CN106202223A (en) Content collection method, device and for collecting the device of content in application program
CN105975540A (en) Information display method and device
CN105447109A (en) Key word searching method and apparatus
CN106775202A (en) A kind of method and device of information transfer
CN104636164A (en) Generating method and device for starting page
CN105095366A (en) Method and device for processing character messages
CN106789551A (en) Conversation message methods of exhibiting and device
CN104917672A (en) E-mail signature setting method and device
CN107239351A (en) Method of attaching and device
CN106528315A (en) Information prompting method and device
CN104681049B (en) The display methods and device of prompt message
CN107360322B (en) Information prompting method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170215