A kind of full media online editing instrument
Technical field
The present invention relates to a kind of edit tool, belong to full media file process field, be specifically related to a kind of full media online editing instrument.
Background technology
Along with the high speed development of modern science and technology, under the promotion of computer, network, digital technology, the connotation and extension of the four great tradition media being representative with newpapers and periodicals, magazine, broadcast, TV all there occurs great variety, medium kind increases sharply, and the new media being particularly different from traditional media continues to bring out.Take a broad view of the developing stage residing for current media, we can find to have defined New Media and traditional media plays a role jointly, and move towardss in mutual new era---" the full Media Era " of fusion.Taking information technology as intermediary, today of the Internet, Internet of Things high speed development, full media, from carrier diffusion form, have enumerated all kinds of media such as TV, phonotape and videotape, film, broadcast, network, books, newspaper, magazine, satellite communication; From sign and the mode of propagation of content, then can be divided into again the information that the sense organ such as image, vision, the sense of hearing, sense of touch accepts; Information transmission channel, full media include tradition based on the paper media of printing technology, and the emerging Internet based on digital technology, local area network (LAN) and mobile Internet etc.The development of full medium technique make the various information content TV, computer, mobile phone etc. various have compatible digitlization INVENTIONMedia terminal achieve flowing share, allowed Information Communication step into the New Times.
In this case, traditional media editing pattern is faced with huge charge and challenge.On the other hand, universal along with Internet technology development and application, China's digital publishing scale expands further, and the mode of publication is varied, and content is more rich and varied.But digital publishing industry is an emerging field, is still in the junior stage, have much new problems demand to solve, wherein most important and most critical is exactly the design and development of powerful and easy easy-to-use online editing instrument.
Under the condition that the comprehensive degree of depth of various media format merges, full media online editing becomes the prevailing model of digital publishing especially media editing business, and has development prospect.The design and development of full media online editing instrument becomes a technological core and the innovation fulcrum of digital publishing industry development.How for digital publishing provides online editing instrument based on full media and corresponding reference template, become one of key technology of the full Media Convergence development of restriction.
Summary of the invention
The present invention mainly solves the above-mentioned technical problem existing for prior art, provides a kind of full media online editing instrument.This full media online editing instrumental function is complete, utilizes it to can be good at realizing utilization and the restructuring of resource; Fail safe is good, can realize data reliable communication; System has extensibility, can carry out selecting and creating according to the needs of oneself and hobby, and the secondary realizing resource utilizes.
Above-mentioned technical problem of the present invention is mainly solved by following technical proposals:
A kind of full media online editing instrument, comprising:
One application server: based on the JQuery framework of HTML5 technology, for the treatment of online editing, and can the good template of Generation Edit;
One cloud server: create and the template that can directly call and the resource for editing for storing in application server, and rear browse displays can be called based on web;
The applying template of one cross-platform cross terminal: can the terminal of self adaptation different platform different model.
Optimize, above-mentioned one full media online editing instrument, described application server comprises:
One creation editing device, realizes based on GEF and/or WTP framework, for providing the edit operation of editing interface and reception user;
One read module device, for providing external equipment access interface, comprises PC terminal interface, PAD terminal interface, one or more in mobile phone terminal interface;
One expansion supportive device, for providing third-party secondary development Demand and service, includes the service modes such as self-defined Action support, self-defined logic support, three square bearer supports.
Optimize, above-mentioned one full media online editing instrument, described creation editing device comprises:
One Online Video editor module: comprise the resource stored in the server called based on high in the clouds, or user carries out online editing based on after terminal access reading assembly transmission of video resource;
One online audio editing module: comprise the resource stored in the server called based on high in the clouds, or user carries out online editing based on after terminal access reading assembly transmission of audio resource;
One online copy editor's module: comprise the resource stored in the server called based on high in the clouds, or user carries out Rich Media's online editings such as image, word, animation based on terminal access reading assembly.
Optimize, above-mentioned one full media online editing instrument, described Online Video editor module comprises:
One Online Video recording elements: based on HTTP, first all pending video resources are uploaded to Resource Server, store after video format is unified boil down to flv Streaming Media by change server by all videos, compression factor is divided into three phases, wherein high definition is 1080P standard, SD 720P standard, general clear 480P standard, for the online preview of user, editor, compression and output;
One Online Video interception unit: when video playback, determines the initial time that user marks and end time by user to playing progress bar operation, when generating new software resource list for later stage preview and synthesis;
One Online Video merge cells: by multiple different video resource, show by video editing story line and again output is compressed to video resource, again according to the video compression algorithm in resource edit module, carry out compression to the resource on existing video editing line to export, generate new resource entries, be stored as new resource for the later stage;
One online caption editing unit: for carrying out captions making to video, when video playback, by the subtitle file finished writing on time countershaft sequence time sequencing; Add caption information and fine setting temporal information for revising simultaneously, thus allow the time that captions energy and the audio video synchronization of skew occur;
One adds word and picture watermark unit online: adopt PNG form lossless compressiong, for using User Defined word or picture as watermark, and watermark is added on position that the picture of specifying specifies, wherein, size, color, position etc. the parameter of font can be set freely by user.
Optimize, above-mentioned one full media online editing instrument, described online audio editing module comprises:
One on-line recording unit: for enrolling the sound of microphone and the audio stream by sound card, supports audio frequency process special efficacy;
One online interception unit: support that the MP3 of harmless cutting shears and merge, for cutting into audio fragment by MP3 and various video or audio format;
One online merge cells: for supporting harmless shear voice frequency file, and for multiple audio file is merged into a file.
Optimize, above-mentioned one full media online editing instrument, described online copy editor's module comprises:
One online copy editor and typesetting unit: for realizing the online html editor of What You See Is What You Get based on browser; Traditional multiline text input frame is replaced with visual rich text input frame, makes the web page contents finally supporting visual issue html format;
One online equation editing and scientific and technological symbol of element unit: for providing equation editing ability, inputs according to user and generates complicated formula picture, provides gif picture to collect, downloads, user-friendly;
One online cartoon making unit: for supporting flash cartoon making, and provide subject matter storehouse.
Optimize, above-mentioned one full media online editing instrument, described cloud server comprises further:
Buffer server, based on L2 cache and the query caching of Hibernate, for after first time database access, leaves access speed in higher than in the buffer memory of database object, and when again ought get identical data, returns from buffer memory with regard to direct;
Resource Server, for storing the file resource that should not deposit in database and providing file system service; Wherein, the described file resource should not deposited in database comprises one or more in temporary homepage, static Web page, log daily record, magnetic disk of virtual machine reflection;
Load bridging server, for by service arrangement to multiple stage machine, make every platform machine can externally provide identical function, multiple stage machine being formed a colony externally provides service;
Web server, sing on web Service provides the solution of cross-platform cross terminal, the details realizing service is hidden, makes service independent of hardware or software platform, and the programming language allowing the service of writing used uses service;
Cloud storage server, comprise the request processing module for the treatment of customer service request, the cache module for increasing template resource request read or write speed, for storing the user record data module of data.
Therefore, tool of the present invention has the following advantages: (1) complete function, utilizes it to can be good at realizing utilization and the restructuring of resource; Resource can be made to be utilized more fully by online reading and editting function; (2) fail safe is good, can realize data reliable communication; (3) system has extensibility, can carry out selecting and creating according to the needs of oneself and hobby, and the secondary realizing resource utilizes.
Accompanying drawing explanation
Fig. 1 is structural representation of the present invention.
Fig. 2 is application server structure of the present invention intention.
Fig. 3 is creation editing device structural representation of the present invention.
Embodiment
Below by embodiment, and by reference to the accompanying drawings, technical scheme of the present invention is described in further detail.
Embodiment:
As shown in Figure 1, a kind of full media online editing instrument, comprising:
One application server: based on the JQuery framework of HTML5 technology, for the treatment of online editing, and can the good template of Generation Edit;
One cloud server: create and the template that can directly call and the resource for editing for storing in application server, and rear browse displays can be called based on web;
The applying template of one cross-platform cross terminal: can the terminal of self adaptation different platform different model.
As shown in Figure 2, application server comprises: creation editing device, read module device, expansion supportive device.First the design of full media online editing instrument needs technically to carry out skill modeling in demand analysis.Based on the technical need of digital publishing industry to online editing instrument, we think that online editing instrument mainly comprises creation editing device, reading device, expansion supportive device and template resource devices.Creation editing device mainly processes the operation flow of online editing, adopts GEF framework and WTP framework.Reading device only has external equipment access interface module, main containing PC terminal interface, PAD terminal interface, mobile phone terminal interface.Expansion support module mainly meets the Demand and service that third party develops secondary development, containing service modes such as self-defined Action support, self-defined logic support, three square bearer supports.Native system, mainly based on HMTL5 frame structure, supports the Governance framework of user oneself definition UI control and full media resource.
Read module device is supported to generate by server end the page being applicable to reading terminal according to request, downloads to terminal and shows in terminal.Browsing fast of partial content or browsing of full content can be provided.The tears of its all book page dyer do all to complete at server end, and client terminal does not need to install any ocr software.For PC or the mobile terminal that possesses compared with large-screen, server end generates original space of a whole page figure and realizes downloading for the general browser of terminal.Download in units of the page.In this case, what reader saw remains original format, therefore has good reading experience.For the mobile terminal of the small screen, server end generates the html page of rearrangement fast based on the streaming stored and structural data, reads online to client.The granularity downloaded can be knowledge point or the page is unit.Due to transmission is html, and therefore the re format ability of general browser itself can provide good reading experience.Due to the issue of HTML5, the parsing of mobile phone browser and the parsing of pc client browser very nearly the same.
As shown in Figure 3, create editing device to comprise:
One Online Video editor module: comprise the resource stored in the server called based on high in the clouds, or user carries out online editing based on after terminal access reading assembly transmission of video resource;
One online audio editing module: comprise the resource stored in the server called based on high in the clouds, or user carries out online editing based on after terminal access reading assembly transmission of audio resource;
One online copy editor's module: comprise the resource stored in the server called based on high in the clouds, or user carries out Rich Media's online editings such as image, word, animation based on terminal access reading assembly.
Online Video editor module comprises:
One Online Video recording elements: based on HTTP, first all pending video resources are uploaded to Resource Server, store after video format is unified boil down to flv Streaming Media by change server by all videos, compression factor is divided into three phases, wherein high definition is 1080P standard, SD 720P standard, general clear 480P standard, for the online preview of user, editor, compression and output;
One Online Video interception unit: when video playback, determines the initial time that user marks and end time by user to playing progress bar operation, when generating new software resource list for later stage preview and synthesis;
One Online Video merge cells: by multiple different video resource, show by video editing story line and again output is compressed to video resource, again according to the video compression algorithm in resource edit module, carry out compression to the resource on existing video editing line to export, generate new resource entries, be stored as new resource for the later stage;
One online caption editing unit: for carrying out captions making to video, when video playback, by the subtitle file finished writing on time countershaft sequence time sequencing; Add caption information and fine setting temporal information for revising simultaneously, thus allow the time that captions energy and the audio video synchronization of skew occur;
One adds word and picture watermark unit online: adopt PNG form lossless compressiong, for using User Defined word or picture as watermark, and watermark is added on position that the picture of specifying specifies, wherein, size, color, position etc. the parameter of font can be set freely by user.
Online audio editing module comprises:
One on-line recording unit: for enrolling the sound of microphone and the audio stream by sound card, supports audio frequency process special efficacy;
One online interception unit: support that the MP3 of harmless cutting shears and merge, for cutting into audio fragment by MP3 and various video or audio format;
One online merge cells: for supporting harmless shear voice frequency file, and for multiple audio file is merged into a file.
Online copy editor's module comprises:
One online copy editor and typesetting unit: for realizing the online html editor of What You See Is What You Get based on browser; Traditional multiline text input frame is replaced with visual rich text input frame, makes the web page contents finally supporting visual issue html format;
One online equation editing and scientific and technological symbol of element unit: for providing equation editing ability, inputs according to user and generates complicated formula picture, provides gif picture to collect, downloads, user-friendly;
One online cartoon making unit: for supporting flash cartoon making, and provide subject matter storehouse.
Cloud server of the present invention is divided into that namely infrastructure serve (IaaS), namely platform serves (PaaS) and namely software serve (SaaS) structure, wherein:
One PaaS layer: PaaS development platform is abstract unified product platform, form platform, product, assembly, source code, multiplexing for product line, wherein server comprises:
Buffer server: L2 cache and query caching with Hibernate: after first time database access, object is left in access speed higher than in the buffer memory of database, when getting identical data, returns from buffer memory with regard to direct next time.
Resource Server: for the server of stored data base and actual resource.Some content, both need not leave lane database in, was also not suitable for depositing in the buffer, such as temporary homepage, static Web page, log and magnetic disk of virtual machine reflection.Just file system service is used in this situation.When needing when there being huge volumes of content to leave in file system, use memory device to meet these demands before one, for the feature of current internet, applications, a file is as static Web page, seldom, access is a lot, as a Static Hot Node resource in change, certainly have thousands of user to access, and these access are often assigned on different machines and complete.
Load bridging server: for elevator system availability, more scheme is used to be exactly cluster and load balancing, on the one hand can single fault point in elimination system (single fault point refers to that a certain service in platform only exists portion, such as be deployed on single machine, its failure just causes thrashing), improve the extended capability of system on the one hand.By by service arrangement on multiple stage machine, every platform machine can externally provide identical function, and a such multiple stage machine just composition colony externally provides service.
SaaS layer: the web services comprised for the treatment of online browse device browsing data is applied, mainly solves the solution of cross-platform cross terminal.
SaaS system allows client oneself customization, the template that client can select oneself to like, can combine flexibly function, need flexibly system architecture to adapt to the demand of customization.In addition, software service is once reach the standard grade, and system is just always uninterrupted in operation, in order to meet new user's request, upgrades to system, when upgrading version, software service can not be interrupted.So, software systems under SaaS pattern, should not be subject to the restriction of time and region, the user being distributed in various places should be able to enjoy identical good service at any time, and the everyways such as this fail safe to system, availability, compatibility, expandability, maintainability have higher requirement.
The support of cross-terminal editor is generated the page being applicable to editor terminal according to request by server end, download to terminal and show in terminal.Browsing fast of partial content or browsing of full content can be provided.The restructuring of its all resource and synthetic work all complete at server end, and client terminal does not need to process most of resource and plays up work.
Specific embodiment described herein is only to the explanation for example of the present invention's spirit.Those skilled in the art can make various amendment or supplement or adopt similar mode to substitute to described specific embodiment, but can't depart from spirit of the present invention or surmount the scope that appended claims defines.