The multimedia file transmission terminal of server-side tape format pulls method and deviceTechnical field
The present invention relates to fields of communication technology, the specially multimedia file of server-side tape format, rich-media content transmissionMethod and device is pulled with terminal.
Background technique
The prior art:
1, normal short message teletext maximum is no more than 140 characters, that is, 70 in existing mobile phone terminal inboxA Chinese character;
2, multimedia messages, technical restriction are transmitted by multimedia message in existing mobile phone terminal inbox, file size does not surpassIt crosses 300K, format supported to show;
3, mobile phone has become everybody indispensable life tool, can also be passed by modes such as APP, wechat, onlineIt is defeated, but require the network environment of WIFI or high bandwidth;
4, it is directed to existing Short Message Service Gateway, the biography of large capacity multimedia messages may be implemented by Rich Media's mode for serverIt is defeated, but band can not be issued there are many multimedia contents files and message of user-defined format, it is sent to the multiple format of terminalCommand information also can not be identified and be shown;
5, there are many under the file that the format content that display requires has format order for multimedia content user-defined format, bandHair transmission cannot achieve transmission by Short Message Service Gateway and communication network and issue;
6, the file information with multiple format is issued by server-side editor, formatted file is restricted in transmission processIt can not issue.
Analyzing prior art, there are the following problems:
1, MMS center transmitting multimedia information, size limitation is maximum no more than 300K, does not also support that tape format is aobviousShow;
2, server is directed to multiple format file by Short Message Service Gateway, video file, web page files with format order,Program file, report file etc. all can not be issued and be transmitted in communication network;
3, past down sending content is not emphasized with display format, but recent years is due to the development and use of network technologyThe frequent use of family smart phone has further reading requirement for the information being connected to;
4, especially sender needs customized plurality of kinds of contents display format, for display format instruction message, first withoutMethod is issued and is transmitted in communication network, can not also open identification to terminating format message;
5, multimedia file is played out by SMIL format player for mobile phone terminal in the prior art, but SMILFile size is also restricted;
6, suitability of the terminal phone inbox for a variety of display formats.
For this purpose, it is proposed that a kind of multimedia file transmission terminal of server-side tape format pulls method and device.
Summary of the invention
The purpose of the present invention is to provide a kind of multimedia file transmission terminals of server-side tape format to pull method and dressIt sets, directly solves the problems mentioned above in the background art from the angle of terminal user.
To achieve the above object, the invention provides the following technical scheme: the multimedia file transmission of server-side tape format is wholeEnd pulls method and device, including server-side editor module, server-side issue module, SDK is pulled and parsing module and mobile phone terminalDisplay module;
The server-side editor module: it is carried out by this module according to the edit mode of different selections in background serverThe server-side of content is updated, is encoded, and is generated and multiple pulled address or different marks;
The server-side issues module: short by number according to Rich Media's mode for passing through edited content, addressLetter channel transfer is issued to mobile phone terminal inbox;
The terminal SDK is pulled and parsing module: different identification can be correctly differentiated in the mobile phone terminal SDK of user,It selects different to pull address and method is downloaded and parses;
The mobile phone terminal display module: intelligent terminal is able to carry out terminal and parses and be adapted to, and restores the aobvious of multimedia fileShow format, in conjunction with multiple multimedia file contents, is shown according to terminal is carried out with formatted mode.
Preferably, including method one:
Multiaddress hold-up interception method:
A, select this mode, first server-side needs are sent content, multimedia content, rich-media content attachmentEtc. rich media informations carry out unformatted editor and with formatted editor, and be respectively stored in without on position and generating correspondenceDownload address will accordingly generate multiple downloadings ground if the customized multiple format of sender, had with formatted contentLocation;
B, it sends in content transmission transmitting multimedia content with judgement label is pulled in notice, terminal SDK is being receivedIt can actively carry out judging to send whether content has format after to notice;
C, the content of tape format is displayed without for label, a download address for automatically selecting wherein not tape format carries outMultimedia content pulls downloading;
If d, label is detected with formatted content, terminal SDK can actively carry out a first address and intercept, and convertFormatted file encoder server end address is namely had at another address to carry out pulling downloading, and is stored in mobile phone terminalInbox;
If e, network condition is not so good, terminal SDK meeting Auto Observation System network situation, the background monitoring situation good in networkUnder be automatically performed the downloading of tape format content;
F, the tape format content after downloading can be shown in the way of tape format at the terminal.
Preferably, including method two:
UA identification methods:
A, know since the different terminals of different manufacturers are respectively provided with different UA leaders, different mobile phone terminals passes through UA headAttribute mark can from distinguish support downloading content whether the display of tape format;
B, server-side detects mark for different UA heads, such as by the corresponding terminal attribute of phone number before issuingFruit detection, which can be supported to receive, shows that tape format content, server-side actively construct numeric messaging content, the rich media information of tape formatContent, the information such as multimedia content, formatted file, attachment with transmission in need, terminal can pull and store terminal;
If c, detecting terminal UA can only support to receive the content for showing not tape format, what that server-side actively constructed isThe not multimedia content and attachment of tape format;
D, terminal can pull, and server-side constructs, Rich Media's short message that terminal active pull server-side constructs to terminal;And it is stored in local short message inbox;
E, mobile phone terminal inbox opens downloading content, and terminal SDK actively parses corresponding format, script, customized wantsIt asks, the content of transmission is then shown according to call format tape format mode.
Compared with prior art, the beneficial effects of the present invention are:
The present invention completes to combine network technology by this terminal pull technology implementation method from mobile phone terminal angle,The on-demand formatting editing multimedia content of enterprise customer's server-side tape format content can not only be completed, tape format downloading is gone backDifferent terminal users can be precisely served on demand, and construction pulls arrival in mobile phone terminal with formatted multimedia contentThe tape format content of mobile phone is shown, to be designed and issue from the angle of user to the greatest extent.
Detailed description of the invention
Fig. 1 is this prior-art illustration;
Fig. 2 is technical solution of the present invention schematic diagram;
Fig. 3 is module connection diagram of the present invention;
Fig. 4 is technical solution of the present invention flow chart one;
Fig. 5 is technical solution of the present invention flowchart 2;
Fig. 6 is one flow chart of the method for the present invention;
Fig. 7 is two flow chart of the method for the present invention.
In figure: 1- server-side editor module;2- server-side issues module;3-SDK is pulled and parsing module;4- mobile phone terminal exhibitionShow module.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, completeSite preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based onEmbodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every otherEmbodiment shall fall within the protection scope of the present invention.
Fig. 1-7 is please referred to, the present invention provides a kind of technical solution: the multimedia file transmission terminal of server-side tape format is drawnMethod and device is taken, including server-side editor module 1, server-side issue module 2, SDK is pulled and parsing module 3 and mobile phone terminal exhibitionShow module 4;
The server-side editor module 1: in background server by this module according to the edit mode of different selectionsUpdating, encoding for server-side content is carried out, and generates different marks;
The server-side issues module 2: logical by numeric messaging according to Rich Media's mode for passing through edited contentRoad is issued to mobile phone terminal inbox;
The terminal SDK is pulled and parsing module 3: different identification can be correctly differentiated in the mobile phone terminal SDK of user,Different file content and file format is selected to carry out pulling downloading and parsing;
The mobile phone terminal display module 4: intelligent terminal is able to carry out terminal and parses and be adapted to, and restores the aobvious of multimedia fileShow format, in conjunction with multiple multimedia file contents, is shown according to terminal is carried out with formatted mode.
Terminal is cooperated by network technology, can be transmitted in communication network by server-side Short Message Service Gateway and transmitting multimediaA variety of display format informations of content, display format file, various definitions display format message, including customized lattice of userFormula, terminal phone inbox can be properly received.
A variety of communication networks such as existing short message, multimedia message, rich-media content, numeric messaging are sent and the multimedia messages of transmissionIt, can be with there are many display format command files, a variety of displays in the case where including the files such as video, audio, picture in contentFormatted file coding issues, and intelligent terminal correctly can parse and identify the format order message of transmission, then according to correspondenceFormat shows multimedia messages.
Transmission to this formatting component: the method proposed in this technology invention is from the angle of terminal, in conjunction with Internet resources,Communication network and internet are combined and come together to complete solution, can reset and encode in the server, againAfter definition mark assembling, by supporting the short message channel that issues of Rich Media, the transmitting multimedia contents in communication network, for havingDisplay format file, display format message, display format instruction etc., the then active in the environment for having network using the mode of networkPull terminal and store, then terminal can arbitrarily open multimedia content at any time and mobile phone terminal be properly received andIt is parsed by format order and shows content.
In the case where not destroying multi-media SMS raw content, display format, display lattice are reached using the method that pulls of networkFormula transmission, the use for being allowed to the terminal property of can choose specify display format to show numeric messaging.
The method of use includes:
Method one: multiaddress hold-up interception method:
A, this mode is selected, first the content, multimedia content, rich-media content, attached that sends for needs of server-sideThe rich media informations such as part carry out unformatted editor and with formatted editors, and are respectively stored on different positions and generateCorresponding address, if the customized multiple format of sender, having and will have more download address with formatted content;
B, sent in content transmission transmitting multimedia content in notice with judging label, terminal SDK receive it is logicalIt can actively carry out judging to send whether content has format after knowing;
C, for the content of no label analysis tape format, terminal SDK automatically selects a download address of not tape formatCarry out multimedia content pulls downloading;
If d, label is detected with formatted content, terminal SDK can actively carry out intercepting first address, and turnIt is melted into another address and namely has formatted file encoder server end address and carry out pulling downloading, and be stored in mobile phone terminalInbox;
If e, network condition is not so good, terminal SDK meeting Auto Observation System network situation, the background monitoring situation good in networkUnder be automatically performed the downloading of tape format content;
F, the tape format content after downloading can be shown in terminal in the way of tape format.
UA identification methods:
A, know since the different terminals of different manufacturers are respectively provided with different UA leaders, different mobile phone terminals passes through UA headAttribute mark can from distinguish support downloading content whether the display of tape format;
B, server-side detects mark for different UA heads, such as by the corresponding terminal judgement of phone number before issuingFruit detection can support display to receive tape format content, and server-side actively constructs the numeric messaging of tape format, rich media information, hasThe information such as the multimedia content, formatted file, the attachment that need to send, terminal can pull;
Display can only be supported to receive the content of not tape format if c, detecting terminal UA, what that server-side actively constructed isThe not multimedia content and attachment of tape format;
D, terminal can pull, and server-side constructs, the Rich Media that terminal active pull server-side constructs to cell phone customerEnd;And it is stored in local short message inbox;
E, mobile phone terminal inbox opens downloading content, and SDK parses corresponding format, script, customized requirement, then pressesThe content for issuing transmission is shown according to tape format mode.
It goes to consider from the angle of cell phone client, intelligent mobile phone terminal SDK first has this energy differentiated and identifiedPower, server-side is as requested for the display format file of the multimedia content to transmitting multimedia content and with display format pointNot carry out the processing of various ways, the mark that updates, and can identify according to mobile phone terminal SDK carry out address mark,UA leader knows attributive analysis, is then encoded according still further to the binary stream mode that numeric messaging channel can be supported, passes through numberWord short message channel is issued.
Intelligent mobile phone terminal SDK is checked and is differentiated, and carries out judging the more of downloading according to the judgment rule made an appointmentWhether media content has format, and formatted downloading mark progress address interception pulls and be stored in this with tape format contentMachine inbox carries out displaying and presentation with formatted multimedia file by terminal inbox.
The technical program proposes the method that a Terminal Type pulls to solve the completely new Implementation Technology of problem above,The cooperation of network technology is combined by this technology, the on-demand formatting that can not only complete enterprise customer's server-side content is compiledCollect multimedia content, additionally it is possible to precisely serve different mobilephone terminal users on demand, it is seen that oneself enterprise construction has latticeThe tape format content that the multimedia content of formula pulls arrival mobile phone user end is shown, thus to the greatest extent from the angle of userIt is designed and issues.
Terminal SDK can be mobile phone user oneself and download installation, be also possible to the included parsing of selected mobile phone terminalAnd monitoring function, user only need directly to open information, content that short message inbox is connected to, it will be able to the exhibition in the form of tape formatShow.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a realityBody or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operationIn any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended toNon-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including thoseElement, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipmentIntrinsic element.
It although an embodiment of the present invention has been shown and described, for the ordinary skill in the art, can be withA variety of variations, modification, replacement can be carried out to these embodiments without departing from the principles and spirit of the present invention by understandingAnd modification, the scope of the present invention is defined by the appended.