CN107635014A - A kind of file transmission and rendering method, server and mobile terminal - Google Patents

A kind of file transmission and rendering method, server and mobile terminal Download PDF

Info

Publication number
CN107635014A
CN107635014A CN201710990001.9A CN201710990001A CN107635014A CN 107635014 A CN107635014 A CN 107635014A CN 201710990001 A CN201710990001 A CN 201710990001A CN 107635014 A CN107635014 A CN 107635014A
Authority
CN
China
Prior art keywords
transmitted
file destination
file
smil files
picture
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.)
Granted
Application number
CN201710990001.9A
Other languages
Chinese (zh)
Other versions
CN107635014B (en
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 zhongyingtong Information Technology Co.,Ltd.
Original Assignee
Tianjin Jump Frog Technology 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 Tianjin Jump Frog Technology Co Ltd filed Critical Tianjin Jump Frog Technology Co Ltd
Publication of CN107635014A publication Critical patent/CN107635014A/en
Application granted granted Critical
Publication of CN107635014B publication Critical patent/CN107635014B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a kind of transmission of file and rendering method, server and terminal, including:When it is determined that the size of file destination is more than predetermined threshold value, judge whether include at least one in picture to be transmitted, video to be transmitted and audio to be transmitted in file destination;If it is, enter edlin to file destination, using by the format editing of picture to be transmitted, video to be transmitted and audio to be transmitted as same form;Enter edlin to the code in the file destination after editor according to preset rules, and the file destination after editor is converted into the first smil files;First smil files are sent to target terminal by digital channel in the form of numeric messaging.In the present invention, by the different types of Content Transformation in file destination into same type, and, edlin is entered to the code of file destination according to preset rules, in this manner it is achieved that the breakpoint transmission of file, the transmission of larger file is realized, reduces the phenomenon of file bust this.

Description

A kind of file transmission and rendering method, server and mobile terminal
Technical field
The present invention relates to communication technical field, in particular to a kind of transmission of file and rendering method, server and shifting Dynamic terminal.
Background technology
With the improvement of living standards, proportion of the electronic product in people live is increasing.Such as mobile phone etc. is eventually End equipment brings great convenience to the life of people, and people carry out video, picture commonly using terminal devices such as mobile phones Deng the transmission of file.
In the prior art, when message transmission is carried out between smart mobile phone, the transfer mode of message have short message, multimedia message or The various ways such as Internet protocol address (Internet Protocol Address, IP) network are transmitted, still, every kind of Transmission means is required to specific network, under carrier network, can only be transmitted by way of short message or multimedia message, but It is that short message maximum can accommodate 70 Chinese characters (140 characters), and multimedia message maximum can accommodate 300K, if wrapped in the message transmitted Big video file, audio file or plurality of picture are contained, have thus occurred that message can not be transmitted or downloaded after transmitting The problem of failure.
In summary, transmission means of the prior art, when larger file be present, the feelings of transmission failure often occur Condition.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of file transmission and rendering method, server and end End, to solve or attempt to alleviate in the prior art, when carrying out file transmission, when file is excessive, often there is file transmission The problem of failure.
In a first aspect, the embodiments of the invention provide a kind of document transmission method, wherein, methods described includes:
When server determines that the size of file destination is more than predetermined threshold value, judge whether include treating in the file destination Transmit at least one in picture, video to be transmitted and audio to be transmitted;
If it is, enter edlin to the file destination, by the picture to be transmitted, the video to be transmitted and described The format editing of audio to be transmitted is same form;
Enter edlin to the code in the file destination after editor according to preset rules, and the file destination after editor is turned Change the first multimedia integrating language smil files into;
The first smil files are handled, and obtained data will be handled by digital channel with numeric messaging Form is sent to target terminal.
With reference in a first aspect, the embodiments of the invention provide the possible implementation of the first of above-mentioned first aspect, its In, when the file destination includes picture to be transmitted, and when the video to be transmitted and/or the audio to be transmitted,
It is described that edlin is entered to the file destination, including:
Edlin is entered to the form of the video to be transmitted and/or the audio to be transmitted, by the video to be transmitted And/or the form of the audio to be transmitted is converted into the form identical lattice with preassigned picture in the picture to be transmitted Formula.
With reference to the first possible implementation of first aspect, the embodiments of the invention provide the of above-mentioned first aspect Two kinds of possible implementations, wherein, described that edlin is entered to the code in the file destination after editor according to preset rules, bag Include:
By the generation in the video to be transmitted after the audio and editing and processing to be transmitted after the picture to be transmitted, the editor Code is encoded, and is compressed in the file destination after the editor in a preassigned picture.
With reference in a first aspect, the embodiments of the invention provide the possible implementation of the third of above-mentioned first aspect, its In, it is described that the first smil files are handled, and obtained data will be handled by digital channel with numeric messaging Form is sent to target terminal, including:
The first smil files are converted into binary data file;
The binary data is sent to the digital channel so that the digital channel by the binary number according to this The form of numeric messaging is sent to the target terminal.
With reference in a first aspect, the embodiments of the invention provide the possible implementation of the 4th of above-mentioned first aspect kind, its In, it is described that the first smil files are handled, and obtained data will be handled by digital channel with numeric messaging Form is sent to target terminal, including:
The first smil files are stored in the predetermined position of the server, and determine the first smil files Storage address;
The storage address is converted into the 2nd smil files;
The 2nd smil files are converted into binary data, and by the binary data;Pass through the digital channel The target terminal is handed down in the form of numeric messaging.
Any one of the 4th kind of possible implementation with reference to first aspect to first aspect, the embodiment of the present invention provide 4th kind of possible implementation of above-mentioned first aspect, wherein, it is described when the size for determining file destination is more than default threshold During value, it at least one of is judged in the file destination whether to include in picture to be transmitted, video to be transmitted and audio to be transmitted Before, methods described also includes:
The file transmission request that first terminal is sent is received, file destination and target are carried in the file transmission request The phone number of terminal;
Or receive user and request is transmitted by the file of server editor, carry target in this document transmission request The phone number of file and target terminal.
Second aspect, the embodiments of the invention provide a kind of file presentation method, wherein, methods described includes:
After the data that the server received is issued by digital channel, the addressee that passes through mobile terminal according to the data Case obtains smil files;
The smil files are parsed, and the smil files after parsing are presented.
With reference to second aspect, the embodiments of the invention provide the possible implementation of the first of above-mentioned second aspect, its In, when the data are binary data,
It is described that smil files are obtained by the inbox of mobile terminal according to the data, including:
The binary data is converted into smil files;
By in the inbox of the smil file downloads to the mobile terminal.
The third aspect, the embodiments of the invention provide a kind of server, wherein, the server includes:
Judge module, it is in the file destination for when it is determined that the size of file destination is more than predetermined threshold value, judging It is no including at least one of in picture to be transmitted, video to be transmitted and audio to be transmitted;
First editor module, for if it is, enter edlin to the file destination, by the picture to be transmitted, institute The format editing for stating video to be transmitted and the audio to be transmitted is same form;
Second editor module, for entering edlin to the code in the file destination after editor according to preset rules, and will File destination after editor is converted into the first multimedia integrating language smil files;
Sending module, for handling the first smil files, and it is logical by numeral by obtained data are handled Road is sent to target terminal in the form of numeric messaging.
Fourth aspect, the embodiments of the invention provide a kind of mobile terminal, wherein, the mobile terminal includes:
Acquisition module, after the data issued for the server that receives by digital channel, passed through according to the data The inbox of mobile terminal obtains smil files;
Module is presented, for being parsed to the smil files, and the smil files after parsing are presented.
In file provided in an embodiment of the present invention transmission and rendering method, server and terminal, by file destination Different types of Content Transformation enters edlin into same type, also, according to preset rules to the code of file destination, this Sample, it is possible to achieve the breakpoint transmission of file, realize the transmission of larger file, reduce the phenomenon of file bust this.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by embodiment it is required use it is attached Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore be not construed as pair The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 shows the flow chart for the document transmission method that the embodiment of the present invention 1 is provided;
Fig. 2 shows the flow chart for the file presentation method that the embodiment of the present invention 2 is provided;
Fig. 3 shows the structural representation for the server that the embodiment of the present invention 3 is provided;
Fig. 4 shows the structural representation for the terminal that the embodiment of the present invention 4 is provided.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention Middle accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only It is part of the embodiment of the present invention, rather than whole embodiments.The present invention being generally described and illustrated herein in the accompanying drawings is real Applying the component of example can be configured to arrange and design with a variety of.Therefore, it is of the invention to what is provided in the accompanying drawings below The detailed description of embodiment is not intended to limit the scope of claimed invention, but is merely representative of the selected reality of the present invention Apply example.Based on embodiments of the invention, institute that those skilled in the art are obtained on the premise of creative work is not made There is other embodiment, belong to the scope of protection of the invention.
In view of in the prior art, between mobile phone terminal when carrying out message transmission, when larger file be present, often There is the situation of file bust this.Based on this, the embodiments of the invention provide a kind of transmission of file and rendering method, server And mobile terminal, it is described below by embodiment.
Embodiment 1
The embodiments of the invention provide a kind of document transmission method, this method is applied to the transmission of big file, mainly for When carrying out message transmission by short message between mobile terminal, the message is included in larger video, larger audio and picture etc. Rong Shi, how to avoid due to the problem of inbox capacity limit causes file bust this.The executive agent of this method is service Device, before file transmission is carried out using this method, server needs to receive the file destination for needing to transmit, specific server File destination is received to realize in the following way:
The file transmission request that first terminal is sent is received, file destination is carried in this document transmission request and target is whole The phone number at end;
Or receive user and request is transmitted by the file of server editor, this document transmission request carries target text The phone number of part and target terminal.
Above-mentioned first terminal can be mobile phone.
Further, in embodiments of the present invention, touch-screen is provided with the server, and user can directly pass through touch Shield into edlin, file transmission request is uploaded onto the server.
In addition, being also provided with USB interface on the server, file destination can be stored in advance in storage and set by user In standby, when needing to upload onto the server, the storage device is connected with the USB interface on server, by the storage device Content objective file uploads onto the server.
After server receives file transmission request, start to perform document transmission method provided in an embodiment of the present invention, With reference to shown in figure 1, the method comprising the steps of S110-S140 is specific as follows:
S110, when server determines that the size of file destination is more than predetermined threshold value, judge whether include in file destination At least one of in picture to be transmitted, video to be transmitted and audio to be transmitted.If it is, perform step S120.
Above-mentioned file destination can be multimedia file, rich media file or web page files.Wherein, above-mentioned figure to be transmitted Piece is multiple.
Specifically, predetermined threshold value is pre-set, the setting of the threshold value can be according to the capacity of the inbox of terminal Size is configured, and can be configured according to practical application scene, and the embodiment of the present invention is not to the tool of above-mentioned predetermined threshold value Body size is defined.
It is above-mentioned to judge whether above-mentioned file destination includes at least one in picture to be transmitted, video to be transmitted and audio to be transmitted , specifically include following three kinds of situations:
Judge whether file destination includes any one in picture to be transmitted, video to be transmitted and audio to be transmitted;
Judge whether file destination includes any two in picture to be transmitted, video to be transmitted and audio to be transmitted;
Judge file destination whether and meanwhile including picture to be transmitted, video to be transmitted and audio to be transmitted.
S120, edlin is entered to file destination, by the lattice of above-mentioned picture to be transmitted, video to be transmitted and audio to be transmitted Formula is compiled as same form.
Due to polytype file in above-mentioned file destination, may be included, such as, while including picture and video; Or while including picture and audio;Or include the polytypes such as picture, video, audio simultaneously, in order to realize big text The breakpoint transmission of part, it is therefore desirable to be converted into above-mentioned polytype file same type of.
Wherein, the above-mentioned format editing by picture to be transmitted, video to be transmitted and audio to be transmitted is same form, can To be that the form of above-mentioned video to be transmitted and audio to be transmitted is compiled as into the form consistent with the form of picture to be transmitted, tool Body, because picture to be transmitted is multiple, therefore, before above-mentioned editor is carried out, a pictures can be preassigned, will be above-mentioned Video to be transmitted and the form of audio to be transmitted are compiled as the form consistent with the form of preassigned picture.
Specifically, working as above-mentioned file destination includes picture to be transmitted, and when video to be transmitted and/or audio to be transmitted,
It is above-mentioned to enter edlin to file destination, including:
The form that video and/or audio to be transmitted are transmitted to above-mentioned band enters edlin, by above-mentioned band transmit video and/or The form of audio to be transmitted is converted into the form identical form with preassigned picture in above-mentioned picture to be transmitted.
In embodiments of the present invention, binary-coded mode can be used by above-mentioned audio to be transmitted and/or to be transmitted The form of video is converted into the form identical form of preassigned picture in picture to be transmitted.
Wherein, above-mentioned file destination includes picture to be transmitted, and video to be transmitted and/or audio to be transmitted including following several Kind situation:Above-mentioned file destination includes video to be transmitted and multiple pictures to be transmitted;Above-mentioned file destination includes audio to be transmitted With multiple pictures to be transmitted;Above-mentioned file destination includes video to be transmitted, audio to be transmitted and multiple pictures to be transmitted.
S130, enter edlin to the code in the file destination after editor according to preset rules, and by the target after editor File is converted into the first smil files.
Due in embodiments of the present invention, video to be transmitted and/or the form of audio to be transmitted being compiled as to be transmitted The form of preassigned picture in picture, therefore, only included in the file destination obtained after above-mentioned steps S120 codings The file of picture format to be transmitted, this document include being largely used to characterize video, audio to be transmitted and figure to be transmitted to be transmitted The code of piece.
It is above-mentioned that edlin is entered to the code in the file destination after editor according to preset rules, specifically include:
Code in audio to be transmitted after above-mentioned picture to be transmitted, editor and the video to be transmitted after editor is compiled Code, and compress in file destination in the edited in a preassigned picture.
Specifically, an above-mentioned preassigned picture can be any one picture in above-mentioned file destination.
In embodiments of the present invention, the file destination after above-mentioned editor includes plurality of picture, therefore above-mentioned target is literary All codes in part are upset, and are compressed in file destination in a preassigned pictures, so, the institute in file destination There is code to upset, obtain stealthy file corresponding to file destination.
File destination after above-mentioned editor is recompiled according to .smil form, obtained corresponding to file destination Smil (multimedia integrating language) file.
S140, above-mentioned first smil files are handled, and obtained data will be handled by digital channel with numeral The form of short message is sent to target terminal.
Specifically, in step S140, including the following two kinds situation:
The first situation, above-mentioned first smil files are sent to target end by digital channel in the form of numeric messaging End is achieved by the steps of:
Above-mentioned first smil files are converted into binary data;Above-mentioned binary data is sent to digital channel, with Make digital channel that the form of above-mentioned binary number numeric messaging according to this is sent into target terminal.
In embodiments of the present invention, above-mentioned digital channel is entered for user in the carrier networks such as mobile, UNICOM or telecommunications The passage of row SMS message transmission.
Wherein, it is above-mentioned first smil files are converted into binary data to refer in above-mentioned first smil files Appearance is converted into binary data.
After the form of above-mentioned binary number numeric messaging according to this is sent into target terminal, target terminal can pass through inbox The binary data is received, and does not need IP network can to complete the transmission of file, network signal is avoided and file is passed Defeated influence.
Above-mentioned target terminal includes mobile phone.
Second of situation:
Above-mentioned first smil files are stored in the predetermined position of server, and determine the storage of the binary data Location;Above-mentioned storage address is converted into the 2nd smil files;Above-mentioned 2nd smil files are converted into binary data, and should Binary data is handed down to target terminal by digital channel in the form of numeric messaging.
Specifically, the file destination after above-mentioned editor can be stored in the optional position of server, the position can basis Actual conditions are configured, and make editor after target storage address, the address can be IP address, network address or Person's domain name etc..
It is above-mentioned that the address conversion determined is converted into binary number into the 2nd smil files, and by the 2nd smil files According to the binary data to be issued to the inbox of target terminal by digital channel in the form of numeric messaging, so, is passed through This method, is handed down to a simply address for the inbox of target terminal, and such user can select suitable opportunity to open State address.
Document transmission method provided in an embodiment of the present invention, by the different types of Content Transformation in file destination into same Type, also, edlin is entered to the code of file destination according to preset rules, in this manner it is achieved that the breakpoint transmission of file, The transmission of larger file is realized, and improves the success rate of big file transmission, reduces the phenomenon of big file bust this.
Embodiment 2
The embodiments of the invention provide a kind of file presentation method, this method passes through mainly between mobile terminal device As shown in Fig. 2 the method comprising the steps of S210-S220, specific as follows:
S210, after the data that the server received is issued by digital channel, pass through mobile terminal according to the data Inbox obtain smil files;
S220, above-mentioned smil files are parsed, and the smil files after parsing are presented.
In embodiments of the present invention, above-mentioned steps S210 includes two kinds of situations:
The first situation, the data that server issues for processing after file destination corresponding to binary data when, it is above-mentioned Smil files are obtained by the inbox of terminal device according to the data, including:
Above-mentioned binary data is converted into smil files;By the inbox of above-mentioned smil file downloads to mobile terminal It is interior.
In embodiments of the present invention, enter when the inbox of mobile terminal receives two that server issued by digital channel After data processed, the binary data is converted into original smil files first.And by the receipts of the smil file downloads to terminal In part case.
Be provided with the terminal of the embodiment of the present invention SDK (Software Development Kit, SDK), the file that terminal receives can be downloaded, parsed and is played, realize broadcasting of the smil files in terminal.
Second of situation, above-mentioned data are binary system corresponding to the file destination storage address on the server after processing Data;
It is above-mentioned that smil files are obtained by the inbox of mobile terminal according to above-mentioned data, specifically include:
The storage address pair for the file destination after above-mentioned processing on the server that the inbox of mobile terminal receives The binary data answered, the address can be IP address, network address or domain name etc., and the embodiment of the present invention does not limit above-mentioned The concrete form of storage address.So, after mobile terminal receives address above mentioned, the ground directly can be opened by inbox Location, and the smil files (file destination after processing) of address storage are downloaded, and by installing SDK works on mobile terminals Tool opens the smil files.In addition to this it is possible to being linked to remote server opens this document.
After the inbox on mobile terminal gets smil files, by installing SDK instruments pair on mobile terminals The smil files are parsed, and this document is presented into user.Specifically, SDK when carrying out the presentation of file, it is necessary to according to connecing The information received judges whether this document needs to show, only presenting needs the file that shows, for the file that need not show then Hide.
In order to introduce above-mentioned file transmission and rendering method in more detail, will be carried out below by taking two specific embodiments as an example Explanation.
The step of first specific embodiment includes is specific as follows:
1) server obtains the file destination that user edits, and the phone number of target terminal;
2) server judges whether the size of the file destination is more than predetermined threshold value, if it is, determining whether the mesh Whether mark includes at least one in multiple pictures to be transmitted, video to be transmitted and audio to be transmitted in file;
3) if it is determined that storing video to be transmitted and/or audio to be transmitted in above-mentioned file destination, and it is multiple to be transmitted During picture, by the form of above-mentioned video to be transmitted and/or audio to be transmitted be converted into in multiple above-mentioned pictures to be transmitted in advance The form identical form for the picture specified;
4) by the code in the audio to be transmitted after above-mentioned picture to be transmitted, editor and/or the video to be transmitted after editor Encoded, and compressed in first picture in file destination in the edited, and the file destination after above-mentioned editor is turned Change the first smil files into;
5) above-mentioned first smil files are converted into binary data, and sent the binary data by digital channel To target terminal;
6) after target terminal receives the binary data that server issues, download the binary data, and by this two Binary data is reduced to the first original smil files;
7) when user, which clicks on, to open, the first smil files are carried out by the SDK instruments installed on a target terminal Parsing, and the first smil files after parsing are presented.
The step of second specific embodiment includes is as follows:
1) 1) server obtains the file destination that user edits, and the phone number of target terminal;
2) server judges whether the size of the file destination is more than predetermined threshold value, if it is, determining whether the mesh Whether mark includes at least one in multiple pictures to be transmitted, video to be transmitted and audio to be transmitted in file;
3) if it is determined that storing video to be transmitted and/or audio to be transmitted in above-mentioned file destination, and it is multiple to be transmitted During picture, by the form of above-mentioned video to be transmitted and/or audio to be transmitted be converted into in multiple above-mentioned pictures to be transmitted in advance The form identical form for the picture specified;
4) by the code in the audio to be transmitted after above-mentioned picture to be transmitted, editor and/or the video to be transmitted after editor Encoded, and compressed in first picture in file destination in the edited, and the file destination after above-mentioned editor is turned Change the first smil files into;
5) smil obtained after above-mentioned editor is stored in its predetermined position by server, and determines the first smil files Storage address, the address can be IP address, network address or domain name etc.;
6) storage address of above-mentioned first smil files is converted into the 2nd smil files by server, and by the 2nd smil File is converted into binary data, and the binary data is sent in the inbox of target terminal by digital channel;
7) after target terminal receives binary data corresponding to the storage address that server issues, this can be presented Binary data corresponding to storage address, after user's point opens the storage address, the storage address can be opened by inbox, And download the first smil files;
8) the first smil files are parsed by the SDK instruments installed on a target terminal, by the first smil File is presented to user.
File presentation method provided in an embodiment of the present invention, numeral can be passed through by the inbox the reception server of terminal The file that passage issues, and correctly parse and present this document.
Embodiment 3
The embodiments of the invention provide a kind of server, the server is used to perform the file that above-described embodiment 1 is provided Transmission method, with reference to shown in figure 3, the server includes judge module 310, the first editor module 320, the second editor module 330 With sending module 340, wherein,
Above-mentioned judge module 310, for when it is determined that the size of file destination is more than predetermined threshold value, judging above-mentioned target text Whether include at least one in picture to be transmitted, video to be transmitted and audio to be transmitted in part;
First editor module 320, if including picture, video to be transmitted and sound to be transmitted to be transmitted for file destination When at least one of in frequency, edlin is entered to above-mentioned file destination, by above-mentioned picture, video to be transmitted and sound to be transmitted to be transmitted The format editing of frequency is same form;
Above-mentioned second editor module 330, for being compiled according to preset rules to the code in the file destination after editor Volume, and the file destination after editor is converted into the first multimedia integrating language smil files;
Above-mentioned sending module 340, for handling above-mentioned first smil files, and the data that processing is obtained pass through Digital channel is sent to target terminal in the form of numeric messaging.
Wherein, as one embodiment, when above-mentioned judge module 340 judges that file destination includes picture to be transmitted, also Including video to be transmitted and/or during audio to be transmitted,
Above-mentioned first editor module 320 includes:
Edit cell, for entering edlin to the form of above-mentioned video to be transmitted and/or audio to be transmitted, treated above-mentioned Transmission video and/or the form of audio to be transmitted are converted into the form identical lattice with preassigned picture in picture to be transmitted Formula.
Wherein, as one embodiment, above-mentioned second editor module 330 is according to preset rules to the file destination after editor In code enter edlin, be to be realized by compression unit, specifically include:
Above-mentioned compression unit, for will be treated after the audio to be transmitted after above-mentioned picture to be transmitted, above-mentioned editor and editor Code in transmission video is encoded, and is compressed in file destination in the edited in a preassigned picture.
Wherein, obtained as one embodiment, above-mentioned sending module 340 after handling above-mentioned first smil files Data target terminal is sent in the form of numeric messaging by digital channel, be by the first converting unit and first send What unit was realized, specifically include:
Above-mentioned first converting unit, for above-mentioned first smil files to be converted into binary data;Above-mentioned first sends Unit, for above-mentioned binary data to be sent into digital channel, so that above-mentioned digital channel counts above-mentioned binary number according to this The form of word short message is sent to target terminal.
Specifically, above-mentioned sending module is handled above-mentioned first smil files, and the data obtained after processing are led to Cross digital channel and target terminal is sent in the form of numeric messaging, determining unit, the second converting unit and can also be passed through Two transmitting elements are realized, are specifically included:
Above-mentioned determining unit, for above-mentioned first smil files to be stored in the predetermined position of server, and determine to be somebody's turn to do The storage address of first smil files;Above-mentioned second converting unit, for the storage address to be converted into the 2nd smil files;Also For the 2nd smil files to be converted into binary data;Above-mentioned second transmitting element, for the binary data to be passed through Above-mentioned digital channel is handed down to target terminal in the form of numeric messaging.
Wherein, receiving module is also included as one embodiment, server provided in an embodiment of the present invention;
Above-mentioned receiving module, the file for receiving first terminal transmission transmit request, carried in this document transmission request There is the phone number of file destination and target terminal;
Or the file transmission request of user's input is received, this document transmission request carries file destination and target is whole The phone number at end.
Server provided in an embodiment of the present invention, by the different types of Content Transformation in file destination into one species Type, also, edlin is entered to the code of file destination according to preset rules, in this manner it is achieved that the breakpoint transmission of file, is realized The transmission of larger file, and the success rate of big file transmission is improved, reduce the phenomenon of big file bust this.
Embodiment 4
The embodiments of the invention provide a kind of mobile terminal, the mobile terminal is used to perform the offer of the embodiment of the present invention 2 File presentation method, the terminal can be mobile phones, as shown in figure 4, the mobile terminal includes acquisition module 410 and module is presented 420;Wherein,
Above-mentioned acquisition module 410, after the data issued for the server that receives by digital channel, according to the data Smil files are obtained by the inbox of mobile terminal;
Above-mentioned presentation module 420, for being parsed to above-mentioned smil files, and the smil files after parsing are presented.
Specifically, when above-mentioned data are binary data corresponding to file destination, above-mentioned acquisition module 410 passes through movement The inbox of terminal obtains smil files, is to be realized by converting unit and download unit, specifically includes:
Above-mentioned converting unit, for above-mentioned binary data to be converted into smil files;Above-mentioned download unit, for by Smil file downloads are stated in the inbox of mobile terminal.
Specifically, above-mentioned presentation module presentation can be smil files corresponding to file destination or target text Smil files corresponding to the storage address of part on the server.
Terminal provided in an embodiment of the present invention, it can be issued by the inbox the reception server of terminal by digital channel File, and correctly parse and present this document.
The server and mobile terminal that the embodiment of the present invention is provided, its realization principle and caused technique effect and foregoing Embodiment of the method is identical, and to briefly describe, server and terminal embodiment part do not refer to part, refer to preceding method implementation Corresponding contents in example.It is apparent to those skilled in the art that for convenience and simplicity of description, it is described above The specific work process of system, device and unit, the corresponding process in above method embodiment is may be referred to, it is no longer superfluous herein State.
In embodiment provided by the present invention, it should be understood that disclosed apparatus and method, can be by others side Formula is realized.Device embodiment described above is only schematical, for example, the division of the unit, only one kind are patrolled Function division is collected, there can be other dividing mode when actually realizing, in another example, multiple units or component can combine or can To be integrated into another system, or some features can be ignored, or not perform.Another, shown or discussed is mutual Coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some communication interfaces, device or unit Connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in embodiment provided by the invention can be integrated in a processing unit, also may be used To be that unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined, then it further need not be defined and explained in subsequent accompanying drawing in individual accompanying drawing, in addition, term " the One ", " second ", " the 3rd " etc. are only used for distinguishing description, and it is not intended that instruction or hint relative importance.
Finally it should be noted that:Embodiment described above, it is only the embodiment of the present invention, to illustrate the present invention Technical scheme, rather than its limitations, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, it will be understood by those within the art that:Any one skilled in the art The invention discloses technical scope in, it can still modify to the technical scheme described in previous embodiment or can be light Change is readily conceivable that, or equivalent substitution is carried out to which part technical characteristic;And these modifications, change or replacement, do not make The essence of appropriate technical solution departs from the spirit and scope of technical scheme of the embodiment of the present invention.The protection in the present invention should all be covered Within the scope of.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (10)

1. a kind of document transmission method, it is characterised in that methods described includes:
When server determines that the size of file destination is more than predetermined threshold value, whether judge in the file destination including to be transmitted At least one of in picture, video to be transmitted and audio to be transmitted;
If it is, enter edlin to the file destination, by the picture to be transmitted, the video to be transmitted and described to be passed The format editing of defeated audio is same form;
Enter edlin to the code in the file destination after editor according to preset rules, and the file destination after editor is converted into First multimedia integrating language smil files;
First smil files are handled, and obtained data will be handled and sent by digital channel in the form of numeric messaging To target terminal.
2. according to the method for claim 1, it is characterised in that when the file destination includes picture to be transmitted, and institute When stating video to be transmitted and/or the audio to be transmitted,
It is described that edlin is entered to the file destination, including:
Edlin is entered to the form of the video to be transmitted and/or the audio to be transmitted, by the video to be transmitted and/or The form of the audio to be transmitted is converted into the form identical form with preassigned picture in the picture to be transmitted.
3. according to the method for claim 2, it is characterised in that it is described according to preset rules in the file destination after editor Code enter edlin, including:
Code in video to be transmitted after audio and editing and processing to be transmitted after the picture to be transmitted, the editor is entered Row coding, and be compressed in the preassigned picture in the file destination after the editor.
4. according to the method for claim 1, it is characterised in that it is described that the first smil files are handled, and will Handle obtained data and target terminal is sent in the form of numeric messaging by digital channel, including:
The first smil files are converted into binary data;
The binary data is sent to the digital channel, so that the digital channel is digital according to this by the binary number The form of short message is sent to the target terminal.
5. according to the method for claim 1, it is characterised in that it is described that the first smil files are handled, and will Handle obtained data and target terminal is sent in the form of numeric messaging by digital channel, including:
The first smil files are stored in the predetermined position of the server, and determine depositing for the first smil files Store up address;
The storage address is converted into the 2nd smil files;
The 2nd smil files are converted into binary data, and by the binary data by the digital channel with numeral The form of short message is handed down to the target terminal.
6. according to the method described in claim any one of 1-5, it is characterised in that described when the size for determining file destination is more than During predetermined threshold value, judge whether include in the file destination in picture to be transmitted, video to be transmitted and audio to be transmitted at least Before one, methods described also includes:
The file transmission request that first terminal is sent is received, file destination and target terminal are carried in the file transmission request Phone number;
Or receive user and request is transmitted by the file of server editor, carry file destination in this document transmission request With the phone number of target terminal.
7. a kind of file presentation method, it is characterised in that methods described includes:
After receiving the data that server is issued by digital channel, the inbox for passing through mobile terminal according to the data obtains Smil files;
The smil files are parsed, and the smil files after parsing are presented.
8. according to the method for claim 7, it is characterised in that when the data are binary data,
It is described that smil files are obtained by the inbox of mobile terminal according to the data, including:
The binary data is converted into smil files;
By in the inbox of the smil file downloads to the mobile terminal.
9. a kind of server, it is characterised in that the server includes:
Judge module, for when it is determined that the size of file destination is more than predetermined threshold value, judging whether wrapped in the file destination At least one of include in picture to be transmitted, video to be transmitted and audio to be transmitted;
First editor module, for if it is, enter edlin to the file destination, by the picture to be transmitted, described treat The format editing for transmitting video and the audio to be transmitted is same form;
Second editor module, for entering edlin to the code in the file destination after editor according to preset rules, and will editor File destination afterwards is converted into the first multimedia integrating language smil files;
Sending module, for handling the first smil files, and will handle obtained data by digital channel with The form of numeric messaging is sent to target terminal.
10. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
Acquisition module, after the data issued by digital channel for receiving server, according to the data pass through it is mobile eventually The inbox at end obtains smil files;
Module is presented, for being parsed to the smil files, and the smil files after parsing are presented.
CN201710990001.9A 2017-07-19 2017-10-23 File transmission and presentation method, server and mobile terminal Active CN107635014B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2017105916304 2017-07-19
CN201710591630 2017-07-19

Publications (2)

Publication Number Publication Date
CN107635014A true CN107635014A (en) 2018-01-26
CN107635014B CN107635014B (en) 2020-10-27

Family

ID=61104576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710990001.9A Active CN107635014B (en) 2017-07-19 2017-10-23 File transmission and presentation method, server and mobile terminal

Country Status (1)

Country Link
CN (1) CN107635014B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108235265A (en) * 2018-04-13 2018-06-29 中卓信(北京)科技有限公司 Short message issue and rendering method, server and mobile terminal
CN109067928A (en) * 2018-10-30 2018-12-21 天津跳跳蛙科技有限公司 The multimedia file transmission terminal of server-side tape format pulls method and device
CN109257708A (en) * 2018-10-30 2019-01-22 天津跳跳蛙科技有限公司 Emitting/receiving method and device under a kind of tape format multimedia content message based on short message
CN109451448A (en) * 2018-10-30 2019-03-08 天津跳跳蛙科技有限公司 Transmission and receiving device and method of the multi-media SMS content with definition format file
CN111953709A (en) * 2020-08-25 2020-11-17 中卓信(北京)科技有限公司 Multimedia content transmission method, multimedia content display device and electronic equipment
CN115297108A (en) * 2022-08-11 2022-11-04 青岛美迪康数字工程有限公司 Diagnosis and treatment quality control file transmission method and device based on piano syllables

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030009452A1 (en) * 2001-06-26 2003-01-09 Microsoft Corporation Dynamic streaming media management
CN101572740A (en) * 2008-04-28 2009-11-04 三星电子株式会社 Method for adjusting picture size in multimedia message
CN101583090A (en) * 2008-05-13 2009-11-18 中国移动通信集团公司 Method, server and system for realizing multimedia information signature
CN102045662A (en) * 2010-10-11 2011-05-04 深圳市仙童传奇科技有限公司 Quick multimedia message recognition method based on media coding
CN102238494A (en) * 2011-07-08 2011-11-09 中兴通讯股份有限公司 Multimedia messaging service transmission method, device and terminal
CN102868984A (en) * 2012-09-21 2013-01-09 广州市久邦数码科技有限公司 Short-message transmission system and transmission method thereof
CN103347126A (en) * 2013-06-27 2013-10-09 苏州创智宏云信息科技有限公司 Short message system
CN106790657A (en) * 2017-01-19 2017-05-31 卓望信息技术(北京)有限公司 A kind of multimedia message sending, receiving method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030009452A1 (en) * 2001-06-26 2003-01-09 Microsoft Corporation Dynamic streaming media management
CN101572740A (en) * 2008-04-28 2009-11-04 三星电子株式会社 Method for adjusting picture size in multimedia message
CN101583090A (en) * 2008-05-13 2009-11-18 中国移动通信集团公司 Method, server and system for realizing multimedia information signature
CN102045662A (en) * 2010-10-11 2011-05-04 深圳市仙童传奇科技有限公司 Quick multimedia message recognition method based on media coding
CN102238494A (en) * 2011-07-08 2011-11-09 中兴通讯股份有限公司 Multimedia messaging service transmission method, device and terminal
CN102868984A (en) * 2012-09-21 2013-01-09 广州市久邦数码科技有限公司 Short-message transmission system and transmission method thereof
CN103347126A (en) * 2013-06-27 2013-10-09 苏州创智宏云信息科技有限公司 Short message system
CN106790657A (en) * 2017-01-19 2017-05-31 卓望信息技术(北京)有限公司 A kind of multimedia message sending, receiving method and device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108235265A (en) * 2018-04-13 2018-06-29 中卓信(北京)科技有限公司 Short message issue and rendering method, server and mobile terminal
CN109067928A (en) * 2018-10-30 2018-12-21 天津跳跳蛙科技有限公司 The multimedia file transmission terminal of server-side tape format pulls method and device
CN109257708A (en) * 2018-10-30 2019-01-22 天津跳跳蛙科技有限公司 Emitting/receiving method and device under a kind of tape format multimedia content message based on short message
CN109451448A (en) * 2018-10-30 2019-03-08 天津跳跳蛙科技有限公司 Transmission and receiving device and method of the multi-media SMS content with definition format file
CN109067928B (en) * 2018-10-30 2021-07-16 中卓信(北京)科技有限公司 Method and device for pulling multimedia file transmission terminal with format at server side
CN109257708B (en) * 2018-10-30 2022-02-22 中卓信(北京)科技有限公司 Short message-based sending and receiving method and device for formatted multimedia content message
CN109451448B (en) * 2018-10-30 2022-08-05 中卓信(北京)科技有限公司 Device and method for sending and receiving multimedia short message content band definition format file
CN111953709A (en) * 2020-08-25 2020-11-17 中卓信(北京)科技有限公司 Multimedia content transmission method, multimedia content display device and electronic equipment
CN115297108A (en) * 2022-08-11 2022-11-04 青岛美迪康数字工程有限公司 Diagnosis and treatment quality control file transmission method and device based on piano syllables
CN115297108B (en) * 2022-08-11 2023-08-25 青岛美迪康数字工程有限公司 Diagnosis and treatment quality control file transmission method and device based on piano syllables

Also Published As

Publication number Publication date
CN107635014B (en) 2020-10-27

Similar Documents

Publication Publication Date Title
CN107635014A (en) A kind of file transmission and rendering method, server and mobile terminal
CN102571726B (en) Method, system and the state judgment server that multi-medium data is shared
CN107666619B (en) Live data transmission method, device, electronic equipment, server and storage medium
CN106657197A (en) File uploading method and device
CN108200447A (en) Live data transmission method, device, electronic equipment, server and storage medium
CN101854371A (en) Method and device for calling and processing JavaScript object
CN104837057A (en) Video file playing method, device and system
CN105430534A (en) Intelligent device reporting data method and system
CN107800734A (en) A kind of burst method for down loading, apparatus and system
CN101009743A (en) Method and device for providing brief information on data broadcasting service
CN105959732A (en) Method and device for pushing television program
CN107911424A (en) A kind of read-on-command function interacted with client realizes system, method and intelligent watch
CN109451448B (en) Device and method for sending and receiving multimedia short message content band definition format file
CN101098498A (en) Method for receiving, transmitting and displaying length-increased short message
CN101594583B (en) Multimedia message processing method, equipment and system
EP1229535A3 (en) System and method of contents distribution, and contents distribution apparatus
CN110113298A (en) Data transmission method, device, signal server and computer-readable medium
CN108337529A (en) A kind of exchange method and live streaming client of the net cast median surface based on ios systems
CN110995577B (en) Multi-channel adaptation method and device for message and storage medium
CN105516933A (en) Message processing method, message processing device, mobile terminal and server
CN105245514A (en) Plug-in identification method, device and system
CN106664432A (en) Multimedia information play methods and systems, acquisition equipment, standardized server
CN104469393B (en) Obtain the method and system of high in the clouds simulator audio
CN101141639B (en) Method and device for identifying stream media video frame boundary
CN101577861A (en) Method for determining complementary data, method for transmitting said complementary data, associated processing device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220325

Address after: Room 403-030, 4th floor, building 6, yard 1, Shangdi 10th Street, Haidian District, Beijing 100085

Patentee after: Beijing zhongyingtong Information Technology Co.,Ltd.

Address before: Room 101, 111 Nanguan street, Baodi District, Tianjin

Patentee before: TIANJIN TIAOTIAOWA TECHNOLOGY CO.,LTD.