CN101867888A - Method and system for sending multimedia message - Google Patents

Method and system for sending multimedia message Download PDF

Info

Publication number
CN101867888A
CN101867888A CN 201010189422 CN201010189422A CN101867888A CN 101867888 A CN101867888 A CN 101867888A CN 201010189422 CN201010189422 CN 201010189422 CN 201010189422 A CN201010189422 A CN 201010189422A CN 101867888 A CN101867888 A CN 101867888A
Authority
CN
China
Prior art keywords
multimedia message
file
setting
message
smil
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
CN 201010189422
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.)
China Agricultural University
Original Assignee
China Agricultural University
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 China Agricultural University filed Critical China Agricultural University
Priority to CN 201010189422 priority Critical patent/CN101867888A/en
Publication of CN101867888A publication Critical patent/CN101867888A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a method and a system for sending a multimedia message. The method comprises the following steps of: editing an object expressing the setting of the multimedia message; converting the edited object into a browsable multimedia message file; converting the browsable multimedia message into a multimedia message service file; and submitting the multimedia message service file and sending. The method and the system adopts the smil language and can be widely applied to various production environments, reduce the difficulty of multimedia message development, improve the development speed of the multimedia messages and further improve the sending efficiency of the multimedia messages.

Description

Method for sending color message and system
Technical field
The present invention relates to the multimedia information dissemination technical field, relate in particular to a kind of method for sending color message and system.
Background technology
Mobile phone has now become the important media that information is propagated, is bringing into play more and more important effect in information is propagated, a kind of form that multimedia message diffuses information as mobile phone, and it uses also more and more widely.
Though in the market manufacture method and the software of some multimedia messages are arranged now, even the company that this service much is provided are arranged.But these softwares or company all are the direct control multimedia message files, and multimedia message files is not fully to user transparent, and the difficulty of understanding that this has increased the software developer has reduced development efficiency.
Secondly, current a lot of service providers all can provide the development interface of a multimedia message, and all need to write the interface of a this language at each language, and this has increased programmer's workload.
The 3rd, a lot of softwares all combine manufacturing process and process of transmitting.When buying software, also to pay the expense that sends software.So both be unfavorable for the division of labor, and also can have increased buyer's cost.
(Synchronized Multimedia Integration Language, synchronous multimedia integrate language are the multimedia manipulation language by 3W (World Wide Web Consortium) organization prescribed to SMIL.The syntax format of the HTML that uses on SMIL and our webpage is closely similar.The latter is primarily aimed at common network media file and handles (machinery of literal, picture, sound, animation, video is piled up), and the former then handles multimedia segment (to organic, the intelligent combination of multimedia segment).
Summary of the invention
(1) technical problem that will solve
The technical problem to be solved in the present invention is: reduce the multimedia message development difficulty, improve the development rate and the transmitting efficiency of multimedia message.
(2) technical scheme
For achieving the above object, the invention provides a kind of method for sending color message, the method comprising the steps of:
S1. editor represents the object of the setting of multimedia message;
S2. the object after will editing is converted to browsable multimedia message files;
S3. described browsable multimedia message is converted to the MMS (Multimedia Message Service) file;
S4. submit to described MMS (Multimedia Message Service) file cocurrent to send.
Wherein, the described browsable multimedia message files file that is the smil form.
Wherein, in step S 1, the attribute of the object of described setting and method are corresponding one by one with the content and the implementation of its represented multimedia message respectively.
Wherein, before step S1, also comprise step: represent multimedia message with the object of setting.
Wherein, represent that with the object of setting multimedia message is to use java or C# language to realize.
Wherein, before step S1, also comprise step: the object that the smil formatted file is converted to the setting of expression multimedia message.
Wherein, be the object of described setting for the method for the object of the setting of expression multimedia message for content unserializing with the file conversion of smil form with the file of smil form.
Wherein, in step S2, the method that the object behind the editor is converted to browsable multimedia message files is for turning to the object sequence behind the described editor file of smil form.
The present invention also provides a kind of multimedia message transmitting system, and this system comprises: representation module is used for representing multimedia message with the object of setting; Editor module is used to edit the object of the setting of representing multimedia message; Preserve module, be used for the object behind the editor is converted to browsable multimedia message files; Modular converter is used for described browsable multimedia message is converted to the MMS (Multimedia Message Service) file; Sending module is used to submit to described MMS (Multimedia Message Service) file cocurrent to send.
(3) beneficial effect
The inventive method and system can be widely used in the various production environments by the smil language; Secondly,, also reduced the multimedia message development difficulty, improved the speed of exploitation because the smil language is simple and convenient; In addition, the file of smil form, reading, editing, sending all is operation smil file, with language independent, the programmer need not worry about the problem of interface, has alleviated programmer's burden; At last, before sending, earlier the smil file is changed into the mms file, send the mms file again, this send mode makes the making of multimedia message separate with process of transmitting, can carry out synchronously, also can asynchronously carry out, promote the division of labor and cooperation, further improved the multimedia message transmitting efficiency.
Description of drawings
The principle schematic that Fig. 1 sends for multimedia message of the present invention;
Fig. 2 is the method for sending color message flow chart according to one embodiment of the present invention.
Embodiment
Method for sending color message and system that the present invention proposes are described in detail as follows in conjunction with the accompanying drawings and embodiments.
Be illustrated in figure 1 as method for sending color message principle schematic of the present invention.The present invention exports as the content of making in the visualization interface by specific programmed method the file of smil form; For the file that has existed, also can be converted into the file of smile form by specific programmed method; By software the file of this smil form is converted into MMS (Multimedia Message Service) (multimedia message service, mms) file; And by the programming method this mms file is submitted to dispensing device, finally send to the user.
Draw together step according to the method for sending color message of one embodiment of the present invention as shown in Figure 2:
S1. editor represents the object of the setting of multimedia message;
S2. the object after will editing is converted to browsable multimedia message files, i.e. the file of smil form;
S3. the file conversion with the smil form is the mms file;
S4. submit to this mms file cocurrent to deliver to the multimedia message dispensing device by network, send to the client by it, this multimedia message dispensing device is a multimedia message cat equipment, and it reads the multimedia message files of submission and finishes process of transmitting.
Wherein, also comprise step before step S1: represent multimedia message with the object of setting, this step realizes by using java or C# language.Perhaps,
Also comprise step before step S1: with the file conversion of smil form is the object of the setting of expression multimedia message.
The present invention is by a kind of intermediate language: the smil language.The smil language is a kind of standardized xml language, can be read and revise by most programming language, and the smil language all supported in language such as java, c#, can be separately or operate the smil file together.Therefore, before step S1, use java or C# language to realize representing multimedia message with the object of setting, the attribute of the object of setting and method are corresponding one by one with the content and the implementation of its represented multimedia message respectively; And be with the object of smil formatted file content unserializing for setting with the file conversion of smil form for the method for the object set.In step S2, the method that the object behind the editor is converted to the file of smil form turns to the smil formatted file for the object series after will editing.The present invention also provides a kind of multimedia message transmitting system, and this system can use said method to realize the transmission of multimedia message, and this system comprises: representation module is used for representing multimedia message with the object of setting; Editor module is used to edit the object of the setting of representing multimedia message; Preserve module, be used for the object behind the editor is converted to browsable multimedia message files; Modular converter is used for described browsable multimedia message is converted to the MMS (Multimedia Message Service) file; Sending module is used to submit to described MMS (Multimedia Message Service) file cocurrent to send.
Embodiment
The multimedia message method of present embodiment may further comprise the steps, and the programming language of wherein using is C#:
At first, represent browsable multimedia message with the object of setting, browsable multimedia message is the file of smil form.
For realizing this step, at first use the self-defined simple unified file format of smil language, the various attributes of the corresponding multimedia message files of the content in the file.
Concrete formal definition is as follows:
<smil〉</smil 〉: the definition label, all MMS contents all must be in these two labels.
<head〉</head〉<body〉</body 〉: the definition label, each smil file all must comprise these two parts.Wherein<head</head in deposit the typesetting format information of some claim information and content;<body〉</body in deposit concrete content.
<head〉</head〉middle definition<meta/〉and<layout〉</layout〉label.
<meta/〉definition multimedia message claim information, only state its title here
<layout〉</layout: the definition label, comprise a pair of<root-layout〉</root-layout label and some right<region/ label.
<root-layout〉</root-layout〉resolution of expression mobile phone, width (width) and (height) two attributes are highly arranged.
<region/ 〉: define various composing patterns, 5 attributes are arranged: reference identification (id), the length (left) on the left hurdle of distance, length (top) apart from the top, highly (height), width (width), Style Attributes (fit), Style Attributes (fit) can be four of following mode: hidden, meet, fill, scroll and slice.Wherein hidden is the property value of acquiescence.Hidden represents to keep the size constancy of multimedia segment, begins from the upper left corner of window to show.Meet be illustrated in keep the multimedia segment wide/constant at high proportion situation under, the size of multimedia segment is carried out convergent-divergent.Fill represents that convergent-divergent multimedia segment makes just in time big or small consistent with window of its size.Scroll represents that what the size of multimedia segment do not made revises, and it shows with normal size.Slice be illustrated in keep the multimedia segment wide/constant at high proportion situation under, the size of multimedia segment is carried out convergent-divergent.
<body〉</body in comprise some right<par</par label.Each right<par〉</par〉label represents a frame.Par has 5 attribute: dur, text, img, audio, video;
Dur: the time span that this frame shows;
Text: the Word message that this frame comprised;
Img: the pictorial information that this frame comprised;
Audio: the audio-frequency information that this frame comprised;
Video: the video information that this frame comprised.
<text/〉<img/〉<audio/〉<video/ 〉: all be customized label, src is arranged, two attributes of region, src represents the source file title, regio represents type-setting mode
Illustrate, describe a simple multimedia message files with following code.
This is a multimedia message, and the composing pattern of acquiescence is adopted in multimedia message, and multimedia message has only two pages, and first page is passage, and the content of literal is kept among the 1.txt, and reproduction time is 7s; Second page is a pictures, and the name of picture is back.jpg, and reproduction time is 5s.
<smil> <head/> <body> <par?dur=″7s″> <text?src=″1.txt″/> </par> <par?dur=″5s″> <img?src=″back.jpg″/> </par> </body> </smil>
Definition is with lower class and smil correspondence
1, class smil:{ attribute 1:head object; Attribute 2:body object }
2, class head:{ attribute 1:meta object; Attribute 2:region object array }
3, class meta:{ attribute 1:name character string; Attribute 2:content character string }
3, class region:{ attribute 1:id; Attribute 2:left; Attribute 3:top; Attribute 4:height; Attribute 5:width}
4, class layout:{ attribute 1:root_layout object; Attribute 2:region object }
5, class root_laygout{ attribute 1: highly; Attribute 2: width }
6, class body{ attribute 1:par object sequence }
7, class par{ attribute 1: time span dur; Attribute 2:text object; Attribute 3:img object; Attribute 4:audio object; Attribute 5:video object }
8, class text{ attribute 1: source file src; Attribute 2: type-setting mode region sign }
9, class img{ attribute 1: source file src; Attribute 2: type-setting mode region sign }
10, class audio{ attribute 1: source file src; Attribute 2: type-setting mode region sign }
11, class video{ attribute 1: source file src; Attribute 2: type-setting mode region sign }
Defined after the above class, described multimedia message files with a big class smil, such as multimedia message noted earlier, an object mysmil represents this multimedia message files with class smil instantiation.Head object among the mysmil (here be empty) and body object, the list<par in the body object〉in two elements are arranged, represent two pages in the multimedia message respectively.Content among the par is exactly a content corresponding in each page of multimedia message.
The interface element that multimedia message is made in the software is associated with the object of class smil, control multimedia message with an object of class smil instantiation and should show in which way on the interface of present software, and each time the result of the operation at interface is returned to this object.So just the effect of What You See Is What You Get can have been reached.
Secondly, the object after the object of the setting of editor's expression multimedia message also will be edited is converted to browsable multimedia message files, i.e. the file of smil form.
The method of finishing this step is that the attribute of the smil object in the last step is made amendment, and after modification is finished, object sequence is turned to the file of smil form.Adopt the serializing function of C# in the present embodiment, but some will be as attribute, some will be as root node.Be the method for expressing of a frame in the multimedia message for example:
<par?dur=″7s″>
<text?src=″1.txt″region=″Text″/>
<img?src=″cover.jpg″region=″Image″/>
<audio?src=″1.amr″/>
</par>
Wherein, dur is the attribute of par, must be placed in the angle brackets "<〉", and text, img, audio are the root nodes of par, be placed between angle brackets "<〉" and the back slash angle brackets "</".
Therefore in definition par, the mark below must adding is to distinguish:
[XmlAttribute(″dur″)]
public?string?Dur
[XmlElement(″text″)]
public?Text?Text
[XmlElement(″img″)]
public?Image?Img
[XmlElement(″audio″)]
public?Audio?Audio
The 3rd, if dissatisfied, need on the basis of existing multimedia message, make an amendment the multimedia message that has completed, then the file of smil form is converted into the object of the setting of expression multimedia message, it is rapid to return the execution previous step, otherwise, continue to carry out next step.
Wherein, the method for conversion is previously defined object for the content unserializing with the smil formatted file, uses the function of the unserializing of C# in the present embodiment.Implementation method and front similar do not cooked detailed description here.
The 4th, by the file of software with the file generation mms form of smil form.
Can use software mmscomp.exe and the cw3230mt.dll of nowsms.Make a hdr file, use mmscomp.exe hdr file and the synthetic mms file of smil file.
At last, the method for submitting to by network is submitted to the processing of multimedia message dispensing device with the mms file.
In the nowsms software that configures, as long as with the number that sends, on the webpage of submitting to setting in the path of the mms file of transmission, nowsms will handle this multimedia message automatically.
Above execution mode only is used to illustrate the present invention; and be not limitation of the present invention; the those of ordinary skill in relevant technologies field; under the situation that does not break away from the spirit and scope of the present invention; can also make various variations and modification; therefore all technical schemes that are equal to also belong to category of the present invention, and scope of patent protection of the present invention should be defined by the claims.

Claims (9)

1. method for sending color message, the method comprising the steps of:
S1. editor represents the object of the setting of multimedia message;
S2. the object after will editing is converted to browsable multimedia message files;
S3. described browsable multimedia message is converted to the MMS (Multimedia Message Service) file;
S4. submit to described MMS (Multimedia Message Service) file cocurrent to send.
2. method for sending color message as claimed in claim 1 is characterized in that, described browsable multimedia message files is the file of smil form.
3. method for sending color message as claimed in claim 2 is characterized in that, in step S1, the attribute of the object of described setting and method are corresponding one by one with the content and the implementation of its represented multimedia message respectively.
4. method for sending color message as claimed in claim 2 is characterized in that, also comprises step before step S1: represent multimedia message with the object of setting.
5. method for sending color message as claimed in claim 4 is characterized in that, represents that with the object of setting multimedia message is to use java or C# language to realize.
6. method for sending color message as claimed in claim 2 is characterized in that, also comprises step before step S1: the object that the smil formatted file is converted to the setting of expression multimedia message.
7. method for sending color message as claimed in claim 6 is characterized in that, is the object of described setting for the method for the object of the setting of expression multimedia message for the content unserializing with the file of smil form with the file conversion of smil form.
8. method for sending color message as claimed in claim 2 is characterized in that, in step S2, the method that the object behind the editor is converted to browsable multimedia message files is for turning to the object sequence behind the described editor file of smil form.
9. a multimedia message transmitting system is characterized in that, this system comprises:
Representation module is used for representing multimedia message with the object of setting;
Editor module is used to edit the object of the setting of representing multimedia message;
Preserve module, be used for the object behind the editor is converted to browsable multimedia message files;
Modular converter is used for described browsable multimedia message is converted to the MMS (Multimedia Message Service) file;
Sending module is used to submit to described MMS (Multimedia Message Service) file cocurrent to send.
CN 201010189422 2010-05-24 2010-05-24 Method and system for sending multimedia message Pending CN101867888A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010189422 CN101867888A (en) 2010-05-24 2010-05-24 Method and system for sending multimedia message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010189422 CN101867888A (en) 2010-05-24 2010-05-24 Method and system for sending multimedia message

Publications (1)

Publication Number Publication Date
CN101867888A true CN101867888A (en) 2010-10-20

Family

ID=42959397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010189422 Pending CN101867888A (en) 2010-05-24 2010-05-24 Method and system for sending multimedia message

Country Status (1)

Country Link
CN (1) CN101867888A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006288A (en) * 2010-11-12 2011-04-06 中兴通讯股份有限公司 Transmission system and transmission method of multipage multimedia messages, session initiation protocol (SIP) terminal and multimedia message proxy server
CN102387481A (en) * 2011-10-08 2012-03-21 中兴通讯股份有限公司 Multimedia message editing method and device
WO2012151879A1 (en) * 2011-09-14 2012-11-15 中兴通讯股份有限公司 Method and system for transmitting 3d picture in multimedia message

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193337A (en) * 2006-11-20 2008-06-04 中兴通讯股份有限公司 MMS coding device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193337A (en) * 2006-11-20 2008-06-04 中兴通讯股份有限公司 MMS coding device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《计算机应用与软件》 20100218 林韬 《基于C#的SMIL多媒体融合编辑系统》 第76-78页 1-9 第27卷, 第2期 *
《黑龙江科技信息》 20071231 胡燕飞 《彩信MMS的设计与应用》 第88页 1-9 , 第23期 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006288A (en) * 2010-11-12 2011-04-06 中兴通讯股份有限公司 Transmission system and transmission method of multipage multimedia messages, session initiation protocol (SIP) terminal and multimedia message proxy server
WO2012151879A1 (en) * 2011-09-14 2012-11-15 中兴通讯股份有限公司 Method and system for transmitting 3d picture in multimedia message
CN102387481A (en) * 2011-10-08 2012-03-21 中兴通讯股份有限公司 Multimedia message editing method and device

Similar Documents

Publication Publication Date Title
CN105786526B (en) A kind of efficient flow figure drawing system and method based on Web
CN103970737B (en) A kind of data configuration method and apparatus
CN104932889B (en) Page visualized generation method and device
CN101388969B (en) On-line playbill driven multiple channel subtitle editing and playing method
CN102360296A (en) WEB-based online form development tool
CN102073502B (en) Method for rendering page frame by WEB primary layout and device thereof
US20140304307A1 (en) Framework for Media Presentation Playback
CN102141985B (en) A kind of manuscript online editor
CN109933752A (en) A kind of method and apparatus exporting electronic document
KR101760777B1 (en) System of Building Responsive Website And Method there-of
CN102495735A (en) Web end UI (user interface) component application frame system
CN111079047A (en) Web-oriented page construction system
CN105183475A (en) Method and system for customizing individuality pages of portal website by user himself
CN109697064A (en) A kind of generation method and device of the customized page
CN115712413B (en) Low code development method, device, equipment and storage medium
CN102663198A (en) Method and system for designing and manufacturing printed matter on line by combining background and foreground of web
CN110276057A (en) A kind of user&#39;s design drawing generating method and device for short video production
CN101009128A (en) Template multi-media interaction editor and its editing method
CN107644019A (en) A kind of hypermedia eBook content manufacturing system
CN107644027A (en) A kind of hypermedia metadata synthesis and converting system
CN108681454A (en) A kind of webpage visualization component development method
CN110007924A (en) The automated construction method and system of YANG model configuration interface
CN105117234A (en) Web control combination method
CN101674423A (en) Method for generating caption broadcasting list driven by on-line program
CN101867888A (en) Method and system for sending multimedia message

Legal Events

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

Application publication date: 20101020