CN105516737A - Multimedia format file conversion method - Google Patents

Multimedia format file conversion method Download PDF

Info

Publication number
CN105516737A
CN105516737A CN201510875091.8A CN201510875091A CN105516737A CN 105516737 A CN105516737 A CN 105516737A CN 201510875091 A CN201510875091 A CN 201510875091A CN 105516737 A CN105516737 A CN 105516737A
Authority
CN
China
Prior art keywords
file
multimedia
format
described multimedia
conversion method
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
CN201510875091.8A
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.)
Hangzhou Shi Qiang Network Technology Co Ltd
Original Assignee
Hangzhou Shi Qiang Network 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 Hangzhou Shi Qiang Network Technology Co Ltd filed Critical Hangzhou Shi Qiang Network Technology Co Ltd
Priority to CN201510875091.8A priority Critical patent/CN105516737A/en
Publication of CN105516737A publication Critical patent/CN105516737A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234336Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by media transcoding, e.g. video is transformed into a slideshow of still pictures or audio is converted into text
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440236Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by media transcoding, e.g. video is transformed into a slideshow of still pictures, audio is converted into text

Abstract

The invention discloses a multimedia format file conversion method, comprising following steps: obtaining a file of which format needs to be converted; judging whether the format of the file is multimedia format; initializing the multimedia format file; sending the multimedia format file to a multimedia conversion node; carrying out format conversion to the multimedia format file. According to the multimedia format file conversion method disclosed by the invention, the multimedia format file is converted by a P2P (peer to peer) node; the file format conversion speed is effectively improved; and the processing load of the server and the user terminal is reduced.

Description

A kind of conversion method of multimedia form file
Technical field
The present invention relates to computer documents process field, and in particular to a kind of conversion method of multimedia form file.
Background technology
Along with the development of the Internet, utilize network to carry out live or program request and become a kind of trend gradually, slowly be dissolved in daily life, form focus in work, study and the various aspects such as amusement, be video conference, that online education or Web TV, video website are all applied is more and more extensive.Particularly under the universal overall background of computer, intelligent mobile terminal and WIFI, 3G, 4G wireless network, user to watch activity that is live or program request online by computer or intelligent mobile terminal equipment and user will be made to obtain relevent information become more convenient in any place having network to connect.The activity such as online education, video conference is able to present to end user preferably by multimedia form by live or order program service.
The application such as existing online education, video conference often can use interactive electronic blackboard as demo platform; very important effect has been served in raising quality of presentation and efficiency; in interactive electronic blackboard, the use of shared document is more and more frequent; presentation file (as office document, PDF document, multimedia file etc.) can be uploaded to demo platform and open by user, can carry out annotating and commenting on and the operation such as explanation in presentation process.When the presentation file of different-format is uploaded to demo platform, the interactive demonstration file format that it is supported can be converted to.
Described file format transfer process is usually put on user terminal or server and completes, when file format conversion is carried out at user terminal, general principle due to transcoding is first decoded to file, then encode by the coded system of the form that will change, need to carry out a large amount of data processing work, thus need to carry out the longer time, the home computer general for cpu performance or intelligent mobile terminal equipment, burden is heavier, conversion efficiency is lower, relatively large file is when carrying out format conversion, wait for that the time that format conversion completes becomes and cannot stand, the overlong time of file format conversion can make Consumer's Experience poor.And when file format conversion is carried out on the server, the user terminal of serving due to it is more, and the task of carrying out file format conversion also can be more simultaneously simultaneously, this can cause larger burden to server, thus affects providing of other services.
Peer-to-peer network is emerging network technology recent years, relative to traditional C/S model, the feature of a P2P pattern highly significant be exactly node without the need to Dependency Set Chinese style server resource, each node can directly communicate.P2P is the abbreviation of peer to peer connection peertopeer pattern.P2P technology is a kind of between different terminals user, without the technology of the direct swap data of trunking or service.It has broken traditional Client/Server pattern, and in a peer-to-peer network, the status of each node is identical, possesses client and server double grading, can simultaneously as service user and ISP.The core of P2P utilizes user resources, carries out file transfer by Peer, and this is different from traditional client server computation model completely.P2P, by the design of " decentralization " and multicast communication mechanism, achieves not reliance server and swap file fast.
How in Appropriate application P2P network, the idling-resource of subscriber terminal equipment carries out file format conversion, is technical problem solved by the invention.
Summary of the invention
The present invention proposes a kind of conversion method of multimedia form file, and P2P node can be utilized to carry out multimedia form file transform, effectively improves the speed of file format conversion, and reduces the processing load of server and user terminal.
In order to achieve the above object, the present invention proposes a kind of conversion method of multimedia form file, comprises the following steps:
Obtain and need the file carrying out format conversion;
Whether the form judging described file is multimedia form;
Initialization process is carried out to described multimedia form file;
Described multimedia form file is sent to multimedia switching node;
Format conversion processing is carried out to described multimedia form file.
Further, described multimedia form determination methods is for judge according to file suffixes name.
Further, when described file is document format, sends it to document subject feature vector node and carry out format conversion.
Further, the initialization process of described multimedia form file, for judge that described file is picture format or audio frequency and video form, judges that when it does not belong to this two classes form described file is as illegal file and announcement server.
Further, when described multimedia form file is picture format, judge whether it is JPG form, GIF form or BMP form, and judge whether to need to process file size and resolution.
Further, when described multimedia form file is audio frequency and video form, judge that it is audio format or video format, when described multimedia file is audio format, described multimedia switching node is converted into MP3 format file, when described multimedia file is video format, after described multimedia switching node is first converted into FLV formatted file, be converted to MP4 formatted file again.
Further, described multimedia form file transform task is distributed according to following principle:
When distributing convert task first, described multimedia form file is distributed successively according to multimedia switching node order;
When described multimedia switching node often receives a convert task, marked and subtracted 1;
When described multimedia switching node often completes a convert task, marked and added 1;
When needing when there being newly-increased convert task to distribute, distributed to the most much higher media conversion node of current scoring, the scoring initial value of wherein said each multimedia switching node is 100.
Further, described multimedia switching node is the node server in P2P network.
Further, described multimedia switching node is the server or virtual machine disposed in advance.
The conversion method of the multimedia form file that the present invention proposes, the server utilizing P2P node or service provider to dispose in advance or virtual machine carry out format conversion to multimedia form file, by the mode that multimedia switching node dynamic grading is sorted, conversion subtask is reasonably distributed, effectively improve the efficiency of file format conversion, avoid simultaneously and adopt server or user terminal to carry out file format conversion, reduce the processing load of server or user terminal.
Accompanying drawing explanation
Figure 1 shows that the conversion method flow chart of the multimedia form file of present pre-ferred embodiments.
Embodiment
Provide the specific embodiment of the present invention below in conjunction with accompanying drawing, but the invention is not restricted to following execution mode.According to the following describes and claims, advantages and features of the invention will be clearer.It should be noted that, accompanying drawing all adopts the form that simplifies very much and all uses non-ratio accurately, only for object that is convenient, the aid illustration embodiment of the present invention lucidly.
Please refer to Fig. 1, Figure 1 shows that the conversion method flow chart of the multimedia form file of present pre-ferred embodiments.The present invention proposes a kind of conversion method of multimedia form file, comprises the following steps:
Step S100: obtain and need the file carrying out format conversion;
Step S200: whether the form judging described file is multimedia form;
Step S300: initialization process is carried out to described multimedia form file;
Step S400: described multimedia form file is sent to multimedia switching node;
Step S500: format conversion processing is carried out to described multimedia form file.
According to present pre-ferred embodiments, described multimedia form determination methods is for judge according to file suffixes name.When described file is document format, sends it to document subject feature vector node and carry out format conversion.The suffix name of described document format file comprises the file suffixes name corresponding to document files that ppt file, word file, excel file, pdf file and system are supported.When the suffix name of file belong to above-mentioned support document files suffix name one of them time, judge that it is document format file.Such as, when file suffixes is called .doc or .docx, judge that it is word file.When the suffix name of described file does not belong to document format or the multimedia form of system support, judge that it is illegal file and announcement server.It should be noted that when judging file actual types, the actual types of such as file is BMP, and the suffix of file is called JPG, although support the type file, still thinks that this file is illegal file.
Further, the initialization process of described multimedia form file, for judge that described file is picture format or audio frequency and video form, judges that when it does not belong to this two classes form described file is as illegal file and announcement server.Such as when the suffix of described file is called JPG, GIF or BMP, judge that it is picture format file, when the suffix of described file is called MP3, MP4 or ASF, judge that it is audio frequency and video formatted file.
When carrying out the initialization process of multimedia form file, when described multimedia form file is picture format, judge whether it is JPG form, GIF form or BMP form, and judge whether to need to process file size and resolution, to adapt to dimension of picture needed for demo platform size or user.When judging that described file format is JPG or GIF, do not need to carry out processing direct unloading picture, when judging that described file is BMP form, needing described file transform is JPG form.If file is greater than 8M, then equal proportion convergent-divergent file, if file is longer or wider than 2000 pixels, then equal proportion convergent-divergent file.
When described multimedia form file is audio frequency and video form, judge that it is audio format or video format, when described multimedia file is audio format, described multimedia switching node is converted into MP3 format file, when described multimedia file is video format, after described multimedia switching node is first converted into FLV formatted file, be converted to MP4 formatted file again.The actual types of some audio-video document may be ASF, then these files are used as normal file process.
According to present pre-ferred embodiments, described multimedia form file transform task is distributed according to following principle:
When distributing convert task first, described multimedia form file is distributed successively according to multimedia switching node order;
When described multimedia switching node often receives a convert task, marked and subtracted 1;
When described multimedia switching node often completes a convert task, marked and added 1;
When needing when there being newly-increased convert task to distribute, distributed to the most much higher media conversion node of current scoring, the scoring initial value of wherein said each multimedia switching node is 100.
Such as, current have 20 multimedia form files to need to carry out format conversion, and the quantity of multimedia switching node is 5, when distributing convert task first, be followed successively by 5 multimedia switching nodes according to node order and distribute a multimedia form file format convert task, after the scoring of described 5 multimedia switching nodes is all subtracted 1, become 99 points, then remaining multimedia form file format convert task is distributed, the scoring of whole 5 multimedia switching nodes is judged in assigning process, the most much higher media conversion node of current scoring is selected to carry out task matching, if multiple multimedia switching node has identical best result, distribute according to node sequence, if 5 convert task of such as now front sub-distribution all do not complete, then the scoring of 5 multimedia switching nodes is all 99 points, follow-up 5 convert task distribute to this 5 multimedia switching nodes according to node order successively, and become 98 points after their scoring is all subtracted 1,
Marked after convert task if certain multimedia switching node has taken the lead in and added 1, namely the scoring of this multimedia switching node adds 1 and becomes 99 points, then an ensuing convert task just distributes to this multimedia switching node, again the scoring of this multimedia switching node is subtracted 1 and become 98 points, subsequent conversion task is carried out judgement according to above principle equally and is distributed, until all multimedia convert task is assigned.
Described multimedia switching node is the node server in P2P network.Further, described multimedia switching node is the server or virtual machine disposed in advance.Described multiple servers or virtual machine composition server cluster carry out distribution processor to file format conversion subtask, and the server that service provider adopts oneself to dispose or virtual machine can strengthen the stability of Transformation Service.
The conversion method of the multimedia form file that the present invention proposes, the server utilizing P2P node or service provider to dispose in advance or virtual machine carry out format conversion to multimedia form file, by the mode that multimedia switching node dynamic grading is sorted, conversion subtask is reasonably distributed, effectively improve the efficiency of file format conversion, avoid simultaneously and adopt server or user terminal to carry out file format conversion, reduce the processing load of server or user terminal.
Although the present invention with preferred embodiment disclose as above, so itself and be not used to limit the present invention.Persond having ordinary knowledge in the technical field of the present invention, without departing from the spirit and scope of the present invention, when being used for a variety of modifications and variations.Therefore, protection scope of the present invention is when being as the criterion depending on those as defined in claim.

Claims (9)

1. a conversion method for multimedia form file, is characterized in that, comprises the following steps:
Obtain and need the file carrying out format conversion;
Whether the form judging described file is multimedia form;
Initialization process is carried out to described multimedia form file;
Described multimedia form file is sent to multimedia switching node;
Format conversion processing is carried out to described multimedia form file.
2. the conversion method of multimedia form file according to claim 1, is characterized in that, described multimedia form determination methods is for judge according to file suffixes name.
3. the conversion method of multimedia form file according to claim 1, is characterized in that, when described file is document format, sends it to document subject feature vector node and carries out format conversion.
4. the conversion method of multimedia form file according to claim 1, it is characterized in that, the initialization process of described multimedia form file, for judge that described file is picture format or audio frequency and video form, judges that when it does not belong to this two classes form described file is as illegal file and announcement server.
5. the conversion method of multimedia form file according to claim 4, it is characterized in that, when described multimedia form file is picture format, judge whether it is JPG form, GIF form or BMP form, and judge whether to need to process file size and resolution.
6. the conversion method of multimedia form file according to claim 4, it is characterized in that, when described multimedia form file is audio frequency and video form, judge that it is audio format or video format, when described multimedia file is audio format, described multimedia switching node is converted into MP3 format file, when described multimedia file is video format, is converted to MP4 formatted file again after described multimedia switching node is first converted into FLV formatted file.
7. the conversion method of multimedia form file according to claim 1, is characterized in that, described multimedia form file transform task is distributed according to following principle:
When distributing convert task first, described multimedia form file is distributed successively according to multimedia switching node order;
When described multimedia switching node often receives a convert task, marked and subtracted 1;
When described multimedia switching node often completes a convert task, marked and added 1;
When needing when there being newly-increased convert task to distribute, distributed to the most much higher media conversion node of current scoring, the scoring initial value of wherein said each multimedia switching node is 100.
8. the conversion method of multimedia form file according to claim 1, is characterized in that, described multimedia switching node is the node server in P2P network.
9. the conversion method of multimedia form file according to claim 1, is characterized in that, described multimedia switching node is the server or virtual machine disposed in advance.
CN201510875091.8A 2015-12-03 2015-12-03 Multimedia format file conversion method Pending CN105516737A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510875091.8A CN105516737A (en) 2015-12-03 2015-12-03 Multimedia format file conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510875091.8A CN105516737A (en) 2015-12-03 2015-12-03 Multimedia format file conversion method

Publications (1)

Publication Number Publication Date
CN105516737A true CN105516737A (en) 2016-04-20

Family

ID=55724327

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510875091.8A Pending CN105516737A (en) 2015-12-03 2015-12-03 Multimedia format file conversion method

Country Status (1)

Country Link
CN (1) CN105516737A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107465845A (en) * 2017-08-02 2017-12-12 郑州云海信息技术有限公司 The methods, devices and systems of shared screen picture
CN108322818A (en) * 2018-02-28 2018-07-24 北京酷我科技有限公司 A kind of audio play in audio format processing strategy
CN111475477A (en) * 2019-01-23 2020-07-31 北京二六三企业通信有限公司 File format conversion method, client and format conversion server

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1929462A (en) * 2006-07-25 2007-03-14 中山大学 Device and method for digital household network media format transcoding
CN102609400A (en) * 2011-01-19 2012-07-25 上海中信信息发展股份有限公司 Method for converting file formats and conversion tool
CN103002274A (en) * 2011-09-16 2013-03-27 腾讯科技(深圳)有限公司 Mobile multimedia real-time transcoding play system and method based on offline download
CN103237037A (en) * 2013-05-08 2013-08-07 华迪计算机集团有限公司 Media format conversion method and system based on cloud computing architecture
CN103309946A (en) * 2013-05-16 2013-09-18 华为技术有限公司 Method, device and system for processing multimedia file
US20140074981A1 (en) * 2000-04-17 2014-03-13 Circadence Corporation System and method for implementing application functionality within a network infrastructure
CN104469370A (en) * 2013-09-17 2015-03-25 中国普天信息产业股份有限公司 Video transcode method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140074981A1 (en) * 2000-04-17 2014-03-13 Circadence Corporation System and method for implementing application functionality within a network infrastructure
CN1929462A (en) * 2006-07-25 2007-03-14 中山大学 Device and method for digital household network media format transcoding
CN102609400A (en) * 2011-01-19 2012-07-25 上海中信信息发展股份有限公司 Method for converting file formats and conversion tool
CN103002274A (en) * 2011-09-16 2013-03-27 腾讯科技(深圳)有限公司 Mobile multimedia real-time transcoding play system and method based on offline download
CN103237037A (en) * 2013-05-08 2013-08-07 华迪计算机集团有限公司 Media format conversion method and system based on cloud computing architecture
CN103309946A (en) * 2013-05-16 2013-09-18 华为技术有限公司 Method, device and system for processing multimedia file
CN104469370A (en) * 2013-09-17 2015-03-25 中国普天信息产业股份有限公司 Video transcode method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
望超: "基于P2P的分布式网络计算平台的原理与应用研究", 《中国优秀硕士学位论文全文数据库工程科技II辑,2007年第05期》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107465845A (en) * 2017-08-02 2017-12-12 郑州云海信息技术有限公司 The methods, devices and systems of shared screen picture
CN108322818A (en) * 2018-02-28 2018-07-24 北京酷我科技有限公司 A kind of audio play in audio format processing strategy
CN108322818B (en) * 2018-02-28 2020-10-09 北京酷我科技有限公司 Audio format processing method in audio playing
CN111475477A (en) * 2019-01-23 2020-07-31 北京二六三企业通信有限公司 File format conversion method, client and format conversion server

Similar Documents

Publication Publication Date Title
US10911525B2 (en) Multimedia aware cloud for mobile device computing
CN103237037B (en) Based on the media format conversion method and system of cloud computing framework
CN105224510B (en) Method for converting file in document format
TW201010360A (en) Multimedia broadcast system and method for use in peer-to-peer network coordinative code-transfer
CN103650458A (en) Transmission method, device and system of media streams
CN104349177B (en) It is a kind of to turn to method, virtual machine and the system for playing multimedia file under desktop cloud
Kovachev et al. Building mobile multimedia services: a hybrid cloud computing approach
CN113489805B (en) Butt joint method, device, equipment and storage medium of cloud desktop system
Cheng et al. A cloud-based transcoding framework for real-time mobile video conferencing system
Chen et al. Performance modeling and evaluation of peer-to-peer live streaming systems under flash crowds
CN105516737A (en) Multimedia format file conversion method
CN104834649B (en) It can realize the smart machine and multiple-equipment team working method of more equipment collaborations
CN104394221B (en) Utilize edge service node for Stream Media Application carry out accelerate process method and system
CN110035128B (en) Live broadcast scheduling method and device, live broadcast system and storage medium
KR20110041194A (en) Cloud computing network system and file distrubuting method of the same
CN112637626A (en) Plug flow method, system, device, electronic equipment and storage medium
CN115002497B (en) Live broadcast source-returning scheduling method and system and source-returning server
CN108712434A (en) A kind of implementation method based on the HD video live streaming recorded broadcast meeting consultation of doctors
CN101800751B (en) Distributed real-time data-coding transmission method
KR20110109610A (en) Cloud computing network system and file distribution method of the same
CN114844870A (en) Media stream acquisition method and device, electronic equipment and storage medium
AT&T
CN111147543A (en) Shared edge computing system applied to cloud service and using method thereof
CN112953944A (en) Audio-video transcoding method based on MapReduce
CN105354254A (en) Method for converting document file format by using node server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
CB02 Change of applicant information
CB02 Change of applicant information

Address after: No. 1168, Binjiang District Road, Binjiang District, Hangzhou, Zhejiang

Applicant after: Hangzhou Strong Education Technology Co., Ltd.

Address before: No. 1168, Binjiang District Road, Binjiang District, Hangzhou, Zhejiang

Applicant before: Hangzhou Shi Qiang network technology Co., Ltd

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160420