Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the first embodiment flow chart of multimedia information service MMS processing method provided by the invention, the present embodiment not only supports layout type MMS but also support that the MMS of mixed type is described for receiving terminal MT, as shown in Figure 1, the multimedia information service MMS processing method that the present embodiment provides comprises:
The MMS that step S110, receiving end/sending end MT send, wherein, MMS comprises more than one annex;
Specifically, receiving terminal MT can receiving end/sending end MT send MMS.
In general, this MMS can comprise one or more dissimilar annex, it can be such as the annex of the traditional file such as picture, audio or video type, also can be the annex of newly-increased file type, such as Vcard file, calendar coding protocol (hereinafter referred to as Vcalendar) file or notes coding protocol (hereinafter referred to as Vnotes) file etc.
If step S120 MMS is the MMS of layout type and there is the annex of newly-increased file type in the annex that comprises of MMS, then determine the descriptor whether comprising the annex of newly-increased file type in the SMIL file that MMS comprises;
The packing manner of MMS can comprise mixed type application/vnd.wap.multipart.mixed and layout type application/vnd.wap.multipart.related, and the MMS that corresponding packing manner generates is the MMS of mixed type and the MMS of layout type.
Inventor has carried out labor to prior art, finds that the MT of current different vendor is when sending MMS, basically identical to the annex packing manner of traditional file type, but is not quite similar for the packing manner of the annex of newly-increased file type.But, for the MMS of mixed type, because receiving terminal MT can directly resolve the MMS of mixed type, all annexes at one time in mixed display MMS, therefore, even if comprise the annex of newly-increased file type in the annex of the MMS that transmitting terminal MT sends, receiving terminal MT still can correctly resolve, thus can correctly show this MMS.And for the MMS of layout type, receiving terminal MT must do corresponding Graphics Processing according to the descriptor of the annex comprised in the SMIL file in MMS to each annex.The descriptor of the annex comprised in SMIL file can be such as command information annex being carried out to Graphics Processing, or the out of Memory such as time, position of annex display, and the embodiment of the present invention is not restricted this.The MT of current different vendor is when sending MMS, basically identical to the annex packing manner of traditional file type, but is not quite similar for the packing manner of the annex of newly-increased file type.The MMS of the layout type of the MT transmission of such as A manufacturer, although include the annex of newly-increased file type, but SMIL file does not comprise the descriptor of the annex of newly-increased file type, and other packing manner is adopted for the annex of this newly-increased file type, correct Graphics Processing can be done according to the annex of analytic method to newly-increased file type that A manufacturer internal is general after the MT being all A manufacturer receives this MMS, but after the MT of other manufacturer receives this MMS as receiving terminal, if do not comprise the descriptor of the annex of this newly-increased file type in the SMIL file of this MMS, then normally cannot show the annex of newly-increased file type wherein.Therefore, the MMS process Plays that the MT just because of different vendor is packaged into layout type at the annex for this newly-increased file type differs, and makes the descriptor of the annex may not comprising this newly-increased file type in SMIL file.And for receiving terminal MT, as long as the descriptor in the annex in MMS and SMIL file matches, then one normally shows this MMS surely.
In view of this, the processing procedure that the present embodiment receives the MMS of layout type for receiving terminal MT is improved.Specifically, no matter how transmitting terminal MT packs generates the MMS of layout type, in the present embodiment, receiving terminal MT can determine whether the MMS received is layout type but also can determines whether to comprise in all annexes comprised in this MMS the annex of newly-increased file type.If this MMS is the MMS of layout type and the MMS of this layout type comprises the annex of newly-increased file type, then receiving terminal MT can determine the descriptor whether containing the annex of this newly-increased file type in the SMIL file of this MMS further.
To comprise Vcard file, receiving terminal MT can determine to comprise Vcard file in the annex of this MMS, and then receiving terminal MT can determine the descriptor that whether contains in the SMIL file comprised in MMS Vcard file further.
If step S130 does not comprise the descriptor of the annex of newly-increased file type, then in SMIL file, add descriptor;
Such as, there is Vcard file in annex, but do not comprise descriptor corresponding to this Vcard file in SMIL file, so receiving terminal MT can add the command information that this Vcard file should be shown process in receiving terminal MT in SMIL file, can add the similar descriptor such as the displaying time of this Vcard file in receiving terminal MT, display position simultaneously.
For the annex of the similar newly-increased type such as most Vcard file, its displaying time in receiving terminal MT or display position little for the impact of receiving terminal user, the descriptor that Vcard file is corresponding in SMIl file can only include command information Vcard file being carried out to Graphics Processing, omits the descriptor such as displaying time, display position that Vcard file is corresponding.
Suppose when the displaying time of a certain Vcard file in receiving terminal MT or display position more important time, displaying time corresponding to this Vcard file and display position can be pre-defined, when not comprising descriptor corresponding to this Vcard file in SMIL file, receiving terminal MT can be corresponding according to this Vcard file predefined the information such as displaying time and display position, in SMIL file, add the descriptor such as displaying time or display position of this Vcard file.Certainly can also comprise other descriptors for this Vcard file, the embodiment of the present invention is not restricted this.
Simultaneously can in the part(accessories list of SMIL file) add the descriptor of same Vcard file in label, to point out receiving terminal MT to know in annex have Vcard file to exist when resolving MMS, avoid Lou parsing.
Step S140, according to adding the SMIL file after descriptor, Graphics Processing is carried out to the annex that MMS comprises.
With the addition of the descriptor for a Vcard file in SMIL file after, the SMIL file according to the descriptor that with the addition of this Vcard file carries out Graphics Processing to the MMS containing this Vcard file, just normally can show this Vcard file.
The multimedia information service MMS processing method that the embodiment of the present invention provides fail in the SMIL file that the layout type MMS received comprises the descriptor of the annex comprising all newly-increased file types time, the descriptor of this annex is added in SMIL file, match to make the descriptor in the annex in MMS and SMIL file, SMIL file according to the descriptor that with the addition of newly-increased file type attachment carries out Graphics Processing to the annex that MMS comprises, the MT that just can show different vendor adopts the rear MMS comprising the annex of newly-increased file type sent of arbitrary standards packing.
Fig. 2 is the second embodiment flow chart of multimedia information service MMS processing method provided by the invention, for receiving terminal MT, the present embodiment only supports that the MMS of layout type is described, as shown in Figure 2, the multimedia information service processing method that the present embodiment provides comprises:
The MMS that step S202, receiving end/sending end MT send, wherein, MMS comprises more than one annex;
The MMS that the transmitting terminal mobile terminal MT received sends can comprise dissimilar annex usually; annex can be the traditional media file such as picture, audio or video; also can be the annex of newly-increased file type, such as Vcard file, Vcalendar file or Vnotes file etc.
Step S204, judge that whether the MMS that receives is the MMS of layout type, if the MMS of layout type, perform step S206, if the MMS received is not the MMS of layout type, perform step S214.
Step S206, judge the annex that whether there is newly-increased file type in the annex that the MMS of layout type comprises, such as Vcard file, if there is the annex of newly-increased file type, perform step S208, if there is no then perform step S212.
Step S208, judge the descriptor whether comprising the annex of newly-increased file type in the SMIL file that comprises in MMS, if do not comprise the descriptor of the annex of newly-increased file type in SMIL file, so perform step S210, if contain the descriptor that the annex of newly-increased file type is corresponding in SMIL file, then perform step S212;
Such as, contain Vcard file in MMS annex, then judge the descriptor whether comprising the displaying time and/or display position etc. of this Vcard file in receiving terminal MT in SMIL file, if do not comprise the descriptor of Vcard file in SMIL file, so perform step S210, if contain the descriptor of Vcard file in SMIL file, then perform step S212.
Step S210, in SMIL file, add the descriptor of newly-increased file type attachment, the such as descriptor of Vcard file.The descriptor of same newly-increased file type attachment can be added simultaneously in the part label of SMIL file, to point out receiving terminal MT to know in annex have Vcard file to exist when resolving MMS, avoid Lou resolving.
Step S212, basis contain the SMIL file of the descriptor of the annex of the newly-increased file type comprised in MMS, carry out Graphics Processing, just normally can show the annex such as Vcard file of newly-increased file type to the annex that MMS comprises.
Step S214, when the MMS judging in step S204 to receive be not the MMS of layout type, but during the MMS of mixed type, receiving terminal cannot resolve the MMS of mixed type, first need in MMS, create the MMS that the MMS of mixed type is converted to layout type by SMIL file, if there is the annex of newly-increased file type in the annex comprised in this MMS, such as Vcard file, so needs the descriptor of the annex of this newly-increased file type to be added in the new SMIL file created.And then perform step S212, according to the SMIL file of descriptor of annex containing the newly-increased file type comprised in MMS, Graphics Processing is carried out normally to show the annex such as Vcard file of newly-increased file type to the annex that MMS comprises.
The multimedia information service MMS processing method that the embodiment of the present invention provides fail in the SMIL file that the layout type MMS received comprises the descriptor of the annex comprising all newly-increased file types time, in SMIL file, add the annex descriptor of newly-increased file type; Or when not comprising SMIL file in the mixed type MMS received, re-create the SMIL file of the annex descriptor containing newly-increased file type, match to make the descriptor in the annex in MMS and SMIL file, SMIL file according to the descriptor that with the addition of newly-increased file type attachment carries out Graphics Processing to the annex that MMS comprises, thus the MMS comprising the annex of newly-increased file type that the MT that can show different vendor sends after adopting arbitrary standards packing.
Fig. 3 A is the first example structure schematic diagram of mobile terminal provided by the invention, and as shown in Figure 3A, the mobile terminal 300 that the present embodiment provides comprises: receiver module 310, determination module 320, processing module 330 and display module 340.
Wherein, receiver module 310, for the multimedia information service MMS that receiving end/sending end mobile terminal MT sends, wherein, MMS comprises more than one annex; Determination module 320, if be the MMS of layout type for described MMS and there is the annex of newly-increased file type in the annex that comprises of described MMS, then determine the descriptor whether comprising the annex of described newly-increased file type in the synchronous multimedia integrate language SMIL file that described MMS comprises; If processing module 330 is not for comprising, then in described SMIL file, add described descriptor; Display module 340, for according to the SMIL file added after described descriptor, carries out Graphics Processing to the annex that described MMS comprises.
The mobile terminal of the present embodiment may be used for the technical scheme performing embodiment of the method shown in Fig. 1, and it realizes principle and technique effect is similar, repeats no more herein.
Fig. 3 B is the second example structure schematic diagram of mobile terminal provided by the invention, as shown in Figure 3 B, the mobile terminal 300 that the present embodiment provides comprises: memory 301, chip 302, RF circuit 303, external interface 304, voicefrequency circuit 305 and I/O (I/O) subsystem 306.Wherein, chip 302 comprises: Memory Controller, processing unit CPU and Peripheral Interface; Memory 301 comprises: other modules such as receiver module 310, determination module 320, processing module 330, display module 340 and operating system.
Said modules is communicated by one or more communication bus or holding wire, and mobile terminal 300 can include but not limited to mobile phone or panel computer etc.Each assembly shown in Fig. 3 B can realize with the combination of hardware, software or software and hardware, comprises one or more signal transacting and/or application-specific integrated circuit (ASIC).Memory 301 can comprise high-speed random access memory, non-volatile solid state memory device etc.Memory Controller can control other assembly of the such as CPU and Peripheral Interface and so on of mobile terminal 300 to the access of memory 301, performs corresponding function with each module called in memory 301.
Processor CPU by the modules in run memory 301 for realizing the technical scheme in Fig. 1.Particularly, the receiver module 310 that memory 301 comprises, for the multimedia information service MMS that receiving end/sending end mobile terminal MT sends, wherein, MMS comprises more than one annex; Determination module 320, if be the MMS of layout type for described MMS and there is the annex of newly-increased file type in the annex that comprises of described MMS, then determine the descriptor whether comprising the annex of described newly-increased file type in the synchronous multimedia integrate language SMIL file that described MMS comprises; If processing module 330 is not for comprising, then in described SMIL file, add described descriptor; Display module 340, for according to the SMIL file added after described descriptor, carries out Graphics Processing to the annex that described MMS comprises.
The mobile terminal of the present embodiment also may be used for the technical scheme performing embodiment of the method shown in Fig. 1, and it realizes principle and technique effect is similar, repeats no more herein.
Fig. 4 A is the 3rd example structure schematic diagram of mobile terminal provided by the invention, and as shown in Figure 4 A, the mobile terminal 400 that the present embodiment provides comprises: receiver module 410, determination module 420, processing module 430, display module 440 and modular converter 450.
Wherein, receiver module 410, for the multimedia information service MMS that receiving end/sending end mobile terminal MT sends, wherein, MMS comprises more than one annex; Determination module 420, if be the MMS of layout type for MMS and there is the annex of newly-increased file type in the annex that comprises of MMS, then determines the descriptor whether comprising the annex of newly-increased file type in the synchronous multimedia integrate language SMIL file that MMS comprises; Processing module 430, if for not comprising, then adds descriptor in SMIL file; Display module 440, for according to the SMIL file added after descriptor, carries out Graphics Processing to the annex that MMS comprises.
Further, processing module 430, specifically for adding descriptor in the part label of SMIL file.
Further, modular converter 450, if be the MMS of mixed type for MMS and there is the annex of newly-increased file type in the annex that comprises of the MMS of mixed type, then create SMIL file, the MMS of mixed type is converted to the MMS of layout type, in this SMIL file, comprises the descriptor of the annex of newly-increased file type.
The mobile terminal of the present embodiment may be used for the technical scheme performing embodiment of the method shown in Fig. 2, and it realizes principle and technique effect is similar, repeats no more herein.
Fig. 4 B is the 4th example structure schematic diagram of mobile terminal provided by the invention, as shown in Figure 4 B, the mobile terminal 400 that the present embodiment provides comprises: memory 401, chip 402, RF circuit 403, external interface 404, voicefrequency circuit 405 and I/O (I/O) subsystem 406.Wherein, chip 402 comprises: Memory Controller, processing unit CPU and Peripheral Interface; Memory 401 comprises: receiver module 410, determination module 420, processing module 430, display module 440 and modular converter 450.
Said modules is communicated by one or more communication bus or holding wire, and mobile terminal 400 can include but not limited to mobile phone or panel computer etc.Each assembly shown in Fig. 4 B can realize with the combination of hardware, software or software and hardware, comprises one or more signal transacting and/or application-specific integrated circuit (ASIC).Memory 401 can comprise high-speed random access memory, non-volatile solid state memory device etc.Memory Controller can control other assembly of the such as CPU and Peripheral Interface and so on of mobile terminal 400 to the access of memory 401, performs corresponding function with each module called in memory 401.
Processor CPU by the modules in run memory 301 for realizing the technical scheme in Fig. 1.Particularly, the receiver module 410 that memory 401 comprises, for the multimedia information service MMS that receiving end/sending end mobile terminal MT sends, wherein, MMS comprises more than one annex; Determination module 420, if be the MMS of layout type for MMS and there is the annex of newly-increased file type in the annex that comprises of MMS, then determines the descriptor whether comprising the annex of newly-increased file type in the synchronous multimedia integrate language SMIL file that MMS comprises; Processing module 430, if for not comprising, then adds descriptor in SMIL file; Display module 440, for according to the SMIL file added after descriptor, comprises annex to MMS and carries out Graphics Processing.Further, processing module 430, specifically for adding descriptor in the part label of SMIL file.Further, modular converter 450, if be the MMS of mixed type for MMS and there is the annex of newly-increased file type in the annex that comprises of the MMS of mixed type, then create SMIL file, the MMS of mixed type is converted to the MMS of layout type, in this SMIL file, comprises the descriptor of the annex of newly-increased file type.
The mobile terminal of the present embodiment may be used for the technical scheme performing embodiment of the method shown in Fig. 2, and it realizes principle and technique effect is similar, repeats no more herein.
In sum, the multimedia information service processing method that the embodiment of the present invention provides and mobile terminal, fail in the SMIL file that the MMS received comprises the descriptor of the annex comprising all newly-increased file types time, the annex descriptor of newly-increased file type is added in SMIL file, or when not comprising SMIL file in the MMS received, re-create the SMIL file of the annex descriptor containing newly-increased file type, and according to SMIL file, Graphics Processing is carried out to the annex that MMS comprises, thus the MMS comprising the annex of newly-increased file type that the MT that can show different vendor sends.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can have been come by the hardware that program command is relevant.Aforesaid program can be stored in a computer read/write memory medium.This program, when performing, performs the step comprising above-mentioned each embodiment of the method; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.