Embodiment
As previously mentioned, the invention provides a kind of method that has the hand-held mobile communicating apparatus of rich email sending function and handle rich email, it utilizes the Hypertext Markup Language file that extensively is used, the data such as audio-visual literal that one multimedia message is comprised, be integrated in the Hypertext Markup Language file, and with the add file of above-mentioned Hypertext Markup Language file as rich email, by the transmission of above-mentioned Hypertext Markup Language file, make the content of above-mentioned multimedia message can show multimedia messages such as its literal that is comprised is audio-visual in the mode that reception person end merges with picture and text.
Fig. 1 has shown the schematic diagram according to the present embodiment hand-held mobile communicating apparatus.Hand-held mobile communicating apparatus 10 can be personal digital aid (PDA) or mobile phone etc., and it comprises wireless telecommunications module 11, multimedia information editing module 13, multimedia message conversion module 15 and Email making module 17.
Wherein, multimedia information editing module 13 comprises the multimedia message of an at least one lteral data and an image data in order to editor, and above-mentioned multimedia message can also comprise a voice data.
Wherein, multimedia message conversion module 15 is above-mentioned multimedia message to be converted to Hypertext Markup Language (HyperText Markup Language, file HTML) make that above-mentioned lteral data and image data can overlapping merging demonstrations.It utilizes specifies cascading style sheets (CASCADING STYLE SHEET, CSS) attribute, make it possible to above-mentioned lteral data and image data when showing level up and down and the configuration of horizontal vertical position, and then make it possible to show, and can correctly show the configuration relation of literal and picture in the above-mentioned multimedia file in the mode that picture and text merge.
Multimedia message conversion module 15 is reached above-mentioned functions by the running of several times module, and it is: the inferior module 151 of preview, header generation time module 153, heading message generation time module 155, the inferior module 157 of image data layer generation, lteral data layer generate inferior module 158, the sound background layer generates inferior module 159.
Preview time module 151 is that lteral data and image data merging that above-mentioned multimedia message is comprised are shown in above-mentioned hand-held mobile communicating apparatus, makes it possible to the content of the above-mentioned rich email of preview.
It is to produce the basic header of above-mentioned Hypertext Markup Language file that header generates time module 153.Heading message generates the subject information that time module 155 is the above-mentioned multimedia messages of foundation, produces above-mentioned Hypertext Markup Language file title part.
It is according to above-mentioned multimedia message that the image data layer generates time module 157, produce a Hypertext Markup Language picture tag (for example:<IMG〉label) at above-mentioned Hypertext Markup Language file, and specify the cascading style sheets attribute of above-mentioned image data, wherein above-mentioned cascading style sheets attribute comprises position attribution and level attribute.Wherein position attribution is the various settings about above-mentioned picture position on picture, for example: location coordinate kind (absolute position coordinate or relative position coordinate), horizontal level setting, upright position setting etc.Its middle-level attribute is an above-mentioned picture when being presented on the picture, present the hierarchical relationship (representing with the z direction of principal axis) of object with other, that is above-mentioned picture is on bottom or upper strata.Level difference when picture is placed can show different effects owing to the principle of upper strata covering lower floor.
It is according to above-mentioned multimedia message that the lteral data layer generates time module 158, produce a Hypertext Markup Language word tag (for example:<b〉label) at above-mentioned Hypertext Markup Language file, and specify the cascading style sheets attribute of above-mentioned lteral data, wherein above-mentioned cascading style sheets attribute comprises position attribution, level attribute and Style Attributes.Wherein the meaning of position attribution and level attribute as mentioned above, Style Attributes then is the form that presents about above-mentioned lteral data, for example: font, size, color etc.
It is according to above-mentioned multimedia message that the voice data layer generates time module 159, produces a Hypertext Markup Language voice tag (for example:<bgsound〉label) in above-mentioned Hypertext Markup Language file.So, the tut data promptly become the background sound that above-mentioned Hypertext Markup Language file is now.
It is to produce a rich email that Email is made module 17, and the Hypertext Markup Language file that above-mentioned multimedia message conversion is generated is additional to be annex, and utilizes above-mentioned wireless telecommunications module to send above-mentioned rich email.The receiving terminal of above-mentioned rich email can be various electronic installations, no matter be handheld apparatus or similar as devices such as desktop computers, as long as it supports Hypertext Markup Language file, mode that just can the picture and text merging shows multimedia messages such as its literal that comprises is audio-visual.
The present invention also provides a kind of multimedia information processing method, be imposed in hand-held mobile communicating apparatus 10, make and to merge its made and the rich email that sends out the mode that shows with picture and text and correctly be presented on the collection of letters end e-machine of any support Hypertext Markup Language file.Said method at first provides a multimedia message (step S21) as shown in Figure 2, and it comprises at least one lteral data and image data, and it also can comprise at least one voice data.
Secondly, above-mentioned multimedia message is converted to the Hypertext Markup Language file, makes above-mentioned lteral data and image data overlapping merging to show, it is by specifying the cascading style sheets attribute for it.Desire is converted to the Hypertext Markup Language file with above-mentioned multimedia message, need carry out several steps, and the Hypertext Markup Language that is produced is then referring to Fig. 3 and comment thereof.At first produce the basic header (step S231) of above-mentioned Hypertext Markup Language file, the header of this meaning, be the essential information that a Hypertext Markup Language file all has, it relates generally to the basic message such as version declaration of Hypertext Markup Language that above-mentioned Hypertext Markup Language file uses and the basic frame structure of Hypertext Markup Language file.Continue it,, produce the title division (step S233) of above-mentioned Hypertext Markup Language file according to a subject information of above-mentioned multimedia message.Step S235 generates step for the image data layer, it is according to above-mentioned multimedia message, produce a Hypertext Markup Language picture tag (for example:<IMG〉label) in above-mentioned Hypertext Markup Language file, and utilization " style " grammer, specify the cascading style sheets attribute of above-mentioned image data in the Hypertext Markup Language label, wherein above-mentioned cascading style sheets attribute comprises position attribution, level attribute and Style Attributes.Step S237 generates step for the lteral data layer, it is according to above-mentioned multimedia message, produce a Hypertext Markup Language word tag (for example:<b〉label) at above-mentioned Hypertext Markup Language file, and specify the cascading style sheets attribute of above-mentioned lteral data, wherein above-mentioned cascading style sheets attribute comprises position attribution, level attribute and Style Attributes.
If above-mentioned multimedia message comprises voice data, then said method is carried out a voice data layer and is generated step (step S239), it is according to above-mentioned multimedia message, produce a Hypertext Markup Language voice tag (for example:<bgsound〉label) at above-mentioned Hypertext Markup Language file, make that the data that play sound simultaneously were background sound when above-mentioned Hypertext Markup Language file showed.
Continue it, produce a rich email, and be annex (step S25) with above-mentioned Hypertext Markup Language file is additional.At last, send above-mentioned rich email by wireless telecommunications module 11.The receiving terminal of above-mentioned rich email can be various electronic installations, no matter be handheld apparatus or similar as devices such as desktop computers, as long as it supports Hypertext Markup Language file, mode that just can the picture and text merging shows multimedia messages such as its literal that comprises is audio-visual.
Now sending e-greeting card with a mobile phone is example, and enforcement of the present invention is described.
At first, on above-mentioned mobile phone editor's one multimedia message as greeting card, that is, select photo archive and import the theme and the content of greeting card, can also select the background sound of voice files such as a music or voice as above-mentioned greeting card.Shown in Fig. 4 A, selection GCardImgRef.bmp is a background picture.Import theme as " blessing " of greeting card in addition, and the content of greeting card is that " happy new year! ".Also can carry out the setting of display format and effect, for example: text color, size, composing etc. at the lteral data of greeting card content.After editor finishes, can be on above-mentioned mobile phone the effect of preview greeting card.When selecting transmission to edit the greeting card of finishing, above-mentioned mobile phone is about to the Hypertext Markup Language file GreetingCard.html of the standard that is converted to as the content of the above-mentioned multimedia message of greeting card, shown in Fig. 4 B.The process of its conversion at first produces the basic header (referring to Fig. 3 A) of Hypertext Markup Language file, it relates generally to the basic messages (shown in square 31) such as version declaration of Hypertext Markup Language that above-mentioned Hypertext Markup Language file uses, and the version of Hypertext Markup Language is HTML 3.2 Final in this embodiment.Basic header also comprises the basic frame structure (shown in square 32) of Hypertext Markup Language file.<TITLE〉content can when writing, determine by the user, be with the subject information of this multimedia message title in this embodiment as this Hypertext Markup Language file.And<META〉label just is used for illustrating the coding of document, also can change as required.Continue it, the subject information of the above-mentioned multimedia message of foundation (that is, " blessing "), produce the title division (referring among Fig. 3 B shown in the square 33) of above-mentioned Hypertext Markup Language file, input is at this right<TITLE〉...</TITLE〉literal " blessing " in the label, the title of webpage will be become, and when watching, the most upper left part of browser can be appeared at as if the browser that uses general computer.Then, in the automatic above-mentioned multimedia message of judging as greeting card of above-mentioned mobile phone meeting, whether comprise an image data, when it comprises an image data, promptly produce an image data layer, it is according to above-mentioned multimedia message, produce one Hypertext Markup Language<IMG at above-mentioned Hypertext Markup Language file〉label, background picture GCardImgRef.bmp is introduced, and utilization " style " grammer, specify the cascading style sheets attribute of above-mentioned image data in the Hypertext Markup Language label, wherein above-mentioned cascading style sheets attribute comprises position attribution, level attribute and Style Attributes.Referring to square among Fig. 3 35, the configuration of above-mentioned background picture employing absolute position coordinate (that is, the setting of position:absolute); And its horizontal level is for being close to picture left border (that is, the setting of left:0); Its upright position is for being close to picture upper limb (that is, the setting of top:0); And the level of its placement is the bottom (that is, the setting of z-index:0).Continue it, carry out a lteral data layer and generate step, it is according to above-mentioned multimedia message, produce one Hypertext Markup Language<b in above-mentioned Hypertext Markup Language file〉label, and specify the cascading style sheets attribute of above-mentioned lteral data, wherein above-mentioned cascading style sheets attribute comprises position attribution, level attribute and Style Attributes.Referring to square among Fig. 3 37, the size of above-mentioned lteral data is 20 (that is, the setting of font-size:20), color be red (that is, the setting of color:red), the configuration of above-mentioned lteral data is to adopt absolute position coordinate (that is, the setting of position:absolute); And its horizontal level is for being close to picture left border (that is, the setting of left:0); Its upright position is for being close to picture upper limb (that is, the setting of top:0); And the level of its placement is bottom last layer (that is, the setting of z-index:1).Then, in the automatic above-mentioned multimedia message of judging as greeting card of above-mentioned mobile phone meeting, whether comprise a voice data, when it comprises a voice data, promptly produce a voice data layer, it produces one Hypertext Markup Language<bgsound according to above-mentioned multimedia message at above-mentioned Hypertext Markup Language file〉label, make that the data that play sound simultaneously were background sound when above-mentioned Hypertext Markup Language file showed.
At last, produce a rich email, and be its annex with the Hypertext Markup Language file GreetingCard.html that produces is additional, and utilize above-mentioned wireless telecommunications module to send above-mentioned rich email.The receiving terminal of above-mentioned rich email can be various electronic installations, no matter be handheld apparatus or similar as devices such as desktop computers, as long as it supports the Hypertext Markup Language file, the mode that just can picture and text merges shows multimedia messages such as its literal that comprises is audio-visual (that is, the picture shown in Fig. 4 B).
Though the present invention discloses as above with preferred embodiment; right its is not in order to limit the present invention; anyly be familiar with present technique field person; without departing from the spirit and scope of the present invention; when can doing a little change and retouching, so protection scope of the present invention is as the criterion when looking accompanying the claim person of defining.