3 panes courseware implant system and method towards Linux
Technical field
The invention belongs to computer application field, it is related to 3 panes courseware under windows platform to Linux platform
Smooth implantation technique scheme.
Background technology
In soft project, transplanting refers to the original normal under certain circumstances software running is allowed in another kind of ring
The technology correctly run under border.At present, cross-platform implantation technique is broadly divided into two classes:Based on operating system virtual machine technique and
Based on code refactoring technology.
Virtual machine (Virtual Machine, VM) refers to there is complete hardware system function, operation by what software was simulated
Complete computer in a completely isolated environment.Using virtual machine technique can realize multiple application systems across flat
Platform is it is not necessary to change the source code of application system.At present, many virtual machine products have been released, wherein more main flow is virtual
Machine product has:VMWare, Win4lin and Wine etc..However, these products are without departing from Windows system, and some products
Product high cost, the performance also having is not perfect.
Code refactoring is exactly on the basis of not changing software existing capability, and the source code of software is adjusted, changes,
To meet the service requirement of target platform.The implantation technique that code refactoring technology completely solves based on virtual machine technique relies on
The problem of windows platform, is to transplant the most thoroughly in cross-platform implantation method, but the workload reprograming is very
Greatly.
3 panes Courseware Resource is a kind of compound resource, and its master file form is HTML, and its web page contents is broadly divided into
Three parts, instructional video, lecture notes and navigation, it is associated by synchronization mechanism between three, form complete Courseware Resource.
3 panes courseware form under Windows mainly includes:(1) the 3 panes courseware based on XML and video.Its architectural feature is:
Lecture video form such as WMV, ASF etc., lecture notes prompting point information is in the head object of this video file;Lecture content is one group of sequence
Row file, such as continuous picture (* .jpg) or webpage;Distinctive title configuration file leaves in XML file, is mainly used in interior
The navigation held;(2) the 3 panes courseware based on TXT.Its architectural feature is:Lecture video form is ASF, WMV etc.;Lecture content
For one group of continuous webpage or picture, such as * .htm;Text TXT houses navigation synchronous point information and lecture notes prompting point letter
Breath;(3) the 3 panes courseware based on video file and info web.Its resource structures is characterized as:Lecture video form be ASF,
WMV etc., lecture notes prompting point information is in the head object of this ASF file;Lecture content saves as one group of continuous picture or webpage;
The navigation synchronous point information of video presentation leaves in web page files HTM.
The Synchronization Control of 3 panes courseware, controls including both sides:One is the control to lecture notes for the video, i.e. with regarding
Frequency playing progress rate, lecture notes show corresponding content;Two is the control to video for the navigation, i.e. when certain navigation is chosen, video shows
Corresponding picture, due to the control to lecture notes for the video, lecture notes also can show corresponding contents.Learner can be navigated by selection or adjust
Save video progress to control whole study schedule.In navigation, video and the triangular Synchronization Control of lecture notes, most crucial attribute is just
It is time point (as 11000000 microseconds).Therefore relate generally to following two information:
Navigation synchronous point information:Refer to the navigation title (as chapters and sections or knowledge point) and corresponding included in Present navigation
The information such as the time point of instructional video.Navigation is set up with video by time point information and is associated, and realizes between navigation and video
Synchronous.
Lecture notes prompting point information:Refer to leave in time point in video (ASF/WMV) head object or TXT file and its right
The outside lecture notes fileinfo (as picture, webpage etc.) answered, makes to pass through prompting point information holding synchronization between video and lecture notes.
To sum up, polymorphic 3 panes courseware is classified as two kinds of fundamental types, point out point synchronized navigation in video three minutes
Screen courseware and the 3 panes courseware of external file synchronized navigation.The general principle that these 3 panes coursewares run is to adopt plug-in unit
Play video, using script such as Vbscript, the same of lecture notes content, lecture video and content navigation is realized in the execution such as Jscript
Step controls, and forms complete courseware content and shows.
Existing 3 panes Courseware Resource mainly runs on Windows system environments, because the systems such as Linux shortage is right
The support of the scripts such as ActiveX plug-in unit, VBScript, part html tag and video format, when in the system environments such as Linux fortune
When row, 3 panes Courseware Resource is unable to normal play and use.At present, existing 3 panes Courseware Resource lacks unification
Standard, existing resource form is different, does not still have a kind of conversion of effective language scripts and implantation method and instrument both at home and abroad
It is specifically designed for the conversion of 3 panes Courseware Resource and transplant.In addition, the software resource of home-make Linux operating system is relatively deficient, shadow
The popularization and application of home-make Linux operating system and the demand of the cross-platform study of user are rung.
Content of the invention
Present invention aim at for the 3 panes courseware problem that cross-platform transplanting exists from Windows to Linux, proposing
One 3 panes courseware from windows platform to Linux platform in implantation technique scheme it is achieved that under windows three
Split screen courseware is to the smooth migration of Linux environment and conversion.
Technical solution of the present invention provides a kind of 3 panes courseware implant system towards Linux, including Courseware Resource conversion
Engine section and the courseware bringing engine section towards Linux,
Described Courseware Resource transform engine part, for according to the corresponding Courseware Resource bag of former 3 panes courseware bringing, courseware
Resource transform engine further includes with lower module,
Context resolution module, for being analyzed to the file of former 3 panes courseware, specifies the file of former 3 panes courseware
Structure composition, determines the method for synchronization of former 3 panes courseware;
Synch information extraction module, for extracting saying of former 3 panes courseware according to the Context resolution module gained method of synchronization
Original text prompting point information and navigation synchronous point information, generate the corresponding synchronizing information file of former 3 panes courseware and are stored in courseware money
In the bag of source;
Media format conversion module, for carrying out transcoding and being stored in Courseware Resource to the video file of former 3 panes courseware
Bao Zhong, and the lecture content asset file of former 3 panes courseware is moved in Courseware Resource bag;
The described courseware bringing engine section towards Linux, for according to Courseware Resource transform engine gained Courseware Resource
Bag obtains 3 panes courseware under Linux, and the courseware bringing engine towards Linux further includes with lower module,
Courseware Template customized module, for arranging the template of 3 panes courseware under Linux;
Synchronization policy generation module, for realizing Synchronization Control association according to the synchronizing information file in Courseware Resource bag;
Content packaging mod-ule, for by the template of 3 panes courseware, courseware description and Courseware Resource encapsulation under Linux being
3 panes courseware exporting under one complete Linux.
And, the method for synchronization of described former 3 panes courseware be in video prompting point synchronized navigation or external file carry out with
Step navigation.
And, the synchronizing information file that described synch information extraction module generates adopts xml form,
Lecture notes prompting point information in synchronizing information file includes multiple nodes, and each node has lecture notes to say accordingly
Original text file name attribute and time point attribute;
Navigation synchronous point information in synchronizing information file includes multiple nodes, and each node has a corresponding chapter of navigation
Section or knowledge point name attribute and time point attribute.
And, described synchronization policy generation module, from synchronizing information file, extraction lecture notes prompting point information and navigation are same
Point information, is that video adds timestamp, and adds Synchronization Control event, by timestamp and corresponding time point set up video,
Synchronized relation between lecture notes and navigation three, described interpolation Synchronization Control event realization is as follows,
Add event for each timestamp, event is the lecture notes area of substrate interface when video playback is to certain timestamp
Show corresponding lecture notes;
For each interpolation event of navigating, event is that video playback head moves to this navigation when user selects certain navigation
Time value;The broadcasting of video triggers the event of corresponding timestamp.
The present invention correspondingly provides a kind of 3 panes courseware implantation method towards Linux, converted including Courseware Resource
Journey and the courseware bringing process towards Linux,
Described Courseware Resource transfer process, including for according to the corresponding Courseware Resource bag of former 3 panes courseware bringing, courseware
Resource transfer process further includes procedure below,
Context resolution process, is analyzed including to the file of former 3 panes courseware, specifies the file of former 3 panes courseware
Structure composition, determines the method for synchronization of former 3 panes courseware;
Synch information extraction process, extracts saying of former 3 panes courseware including according to the Context resolution process gained method of synchronization
Original text prompting point information and navigation synchronous point information, generate the corresponding synchronizing information file of former 3 panes courseware and are stored in courseware money
In the bag of source;
Media format conversion process, carries out transcoding and is stored in Courseware Resource including to the video file of former 3 panes courseware
Bao Zhong, and the lecture content asset file of former 3 panes courseware is moved in Courseware Resource bag;
The described courseware bringing process towards Linux, obtains including according to Courseware Resource transfer process gained Courseware Resource bag
The 3 panes courseware under Linux, the courseware bringing process towards Linux further includes procedure below,
Courseware Template customization procedure, including the template of 3 panes courseware under setting Linux;
Synchronization policy generating process, realizes Synchronization Control association including according to the synchronizing information file in Courseware Resource bag;
Content packaging process, including by the template of 3 panes courseware, courseware description and Courseware Resource encapsulation under Linux be
3 panes courseware exporting under one complete Linux.
And, the method for synchronization of described former 3 panes courseware be in video prompting point synchronized navigation or external file carry out with
Step navigation.
And, the synchronizing information file that described synch information extraction process generates adopts xml form,
Lecture notes prompting point information in synchronizing information file includes multiple nodes, and each node has lecture notes to say accordingly
Original text name attribute and time point attribute;
Navigation synchronous point information in synchronizing information file includes multiple nodes, and each node has a corresponding chapter of navigation
Section or knowledge point name attribute and time point attribute.
And, described synchronization policy generating process, from synchronizing information file, extraction lecture notes prompting point information and navigation are same
Point information, is that video adds timestamp, and adds Synchronization Control event, by timestamp and corresponding time point set up video,
Synchronized relation between lecture notes and navigation three, described interpolation Synchronization Control event realization is as follows,
Add event for each timestamp, event is the lecture notes area of substrate interface when video playback is to certain timestamp
Show corresponding lecture notes;
For each interpolation event of navigating, event is that video playback head moves to this navigation when user selects certain navigation
Time value;The broadcasting of video triggers the event of corresponding timestamp.
The present invention proposes a kind of 3 panes courseware implantation technique scheme towards Linux.This technical scheme by using
Courseware Resource transform engine, towards the courseware bringing engine of Linux and Courseware Resource bag, realize 3 panes courseware under Windows
3 panes courseware smooth conversion under Linux, keeps the relevance of original courseware.The present invention is with existing using based on operation
The mode of system virtual machine technology is compared, and realizes simple and reliable, has saved great amount of cost;With existing based on code refactoring technology
Mode is compared, and need not manually participate in, automatically complete, convenience and high-efficiency.The present invention is to rely on national " core Gao Ji " key special subjects class
Topic " the adaptation research in digital education field for the domestic basic software and major application are demonstrated " (2010ZX01045-001-005)
Achievement acquired by research contents.
Brief description
Fig. 1 is the system structure diagram of the embodiment of the present invention;
Fig. 2 is the Courseware Resource transform engine workflow schematic diagram of the visual prompts point of the embodiment of the present invention;
Fig. 3 is the Courseware Resource transform engine workflow schematic diagram of the file synchronization navigation of the embodiment of the present invention;
Fig. 4 is the new 3 panes Courseware Template schematic diagram of the embodiment of the present invention;
Fig. 5 is the courseware bringing engine workflow schematic diagram towards Linux of the embodiment of the present invention;
Fig. 6 is that the mapping schematic diagram on FLV video time axle is put in the prompting of the embodiment of the present invention;
Fig. 7 is each corresponding lecture notes file schematic diagram of prompting point of the embodiment of the present invention;
Fig. 8 is the mapping relations schematic diagram on video time axle that navigates of the embodiment of the present invention;
Fig. 9 is the navigation of the embodiment of the present invention, lecture notes, mapping relations schematic diagram on video time axle for the prompting point.
Specific embodiment
Describe technical solution of the present invention below in conjunction with drawings and Examples in detail.
The 3 panes courseware implant system structure chart of the present invention is as shown in figure 1, include:
(1) Courseware Resource transform engine part, for according to the corresponding Courseware Resource bag of former 3 panes courseware bringing, including real
Under existing Windows, the Context resolution of 3 panes courseware, courseware synch information extraction and media format conversion, obtain Courseware Resource
Bag, the content of Courseware Resource bag storage include lecture notes content, the lecture video after form conversion, courseware navigation information and courseware with
Step information.
Courseware Resource transform engine part further includes with lower module:
Context resolution module, for being analyzed to the file of former 3 panes courseware, specifies the file of former 3 panes courseware
Structure composition, determines the method for synchronization of former 3 panes courseware;
Synch information extraction module, for extracting saying of former 3 panes courseware according to the Context resolution module gained method of synchronization
Original text prompting point information and navigation synchronous point information, generate the corresponding synchronizing information file of former 3 panes courseware and are stored in courseware money
In the bag of source;
Media format conversion module, for carrying out transcoding and being stored in Courseware Resource to the video file of former 3 panes courseware
Bao Zhong, and the lecture content asset file of former 3 panes courseware is moved in Courseware Resource bag.
(2) towards the courseware bringing engine section of Linux, for according to Courseware Resource transform engine gained Courseware Resource bag
Obtain 3 panes courseware under Linux.Generate and content packaging including by Courseware Template customization, lecture contents synchronization policy
Deng the content realizing Courseware Resource bag is synchronously play under linux.
Courseware bringing engine section towards Linux further includes with lower module:
Courseware Template customized module, for arranging the template of 3 panes courseware under Linux;
Synchronization policy generation module, for realizing Synchronization Control association according to the synchronizing information file in Courseware Resource bag;
Content packaging mod-ule, for by the template of 3 panes courseware, courseware description and Courseware Resource encapsulation under Linux being
3 panes courseware exporting under one complete Linux.
Using the Courseware Resource transform engine in system, towards Linux courseware bringing engine, realize three under Windows
The 3 panes courseware smooth conversion under Linux for the split screen courseware, keeps the relevance of original courseware.
Technical solution of the present invention system architecture each several part can be realized using computer software mode, certainly starts building when being embodied as
Run.The course of work of the provided system of embodiment is described as follows:
(1) using the Context resolution module of " Courseware Resource transform engine ", the file of former 3 panes courseware is analyzed,
Specify 3 panes file structure composition, determine the method for synchronization of former 3 panes courseware, point out point synchronized navigation in video still
External file synchronizes navigation.
Embodiment is passed through to read video flowing, parses video file, judges to whether there is prompting in the head object of video file
Point information (with or without);The file structure of parsing 3 panes courseware, judges file type and the structure of navigation file.
If having prompting point information in the head object of video file, and navigation information being stored in XML file, then be assessed as
Based on the 3 panes courseware of XML and video, belong to prompting point synchronized navigation in video;
If there being prompting point information in the head object of video file, and navigation information is stored in web page files HTM, then
It is assessed as the 3 panes courseware based on video file and info web, belong to prompting point synchronized navigation in video;
If not pointing out an information in the head object of video file, and navigation information is stored in text TXT,
Then it is assessed as the 3 panes courseware based on TXT, belong to external file and synchronize navigation.
(2) using the synch information extraction module of " Courseware Resource transform engine ", synchronous according to Context resolution module gained
Mode, generates the corresponding synchronizing information file of former 3 panes courseware and is stored in Courseware Resource bag.For prompting point in video
The 3 panes courseware of synchronized navigation, in its video, the extraction of prompting point synchronized navigation information, is carried using video decoding process
Take, and extract navigation information from the files such as HTM, XML, will be synchronous to the prompting point information extracted and navigation synchronous point information synthesis
Message file, if being designated as config.xml, its principle is as shown in Figure 2.For the 3 panes courseware of external file synchronized navigation, adopt
Extract lecture notes prompting point information and navigation synchronous point information with the mode of text resolution from TXT file, ultimately produce synchronization
Message file, if being designated as config.xml, its principle is as shown in Figure 3.
The synch information extraction module of embodiment can automatically extract each media lattice in the 3 panes courseware of three kinds of typical types
The synchronizing information of formula.Including:(1) Class1:3 panes courseware based on XML and WMV.Resource structures are characterized as:Video format is
WMV (e.g., certain WMV video file stream.wmv), points out point information in the head object of this WMV file;PPT saves as one group
Continuous picture (as a series of pictures pic/*.jpg);Distinctive title configuration file is XML (e.g., certain XML file
Title_new.xml), deposit navigation synchronous point information;(2) type 2:3 panes courseware based on TXT.Resource structures feature
For:Video format is ASF (e.g., certain ASF video file Openedu.asf);PPT saves as (e.g., one group of one group of continuous webpage
Webpage * .htm);Distinctive synchronous documents TXT (generic-document name form is * .txt) houses navigation synchronous point information and lecture notes
Prompting point information;(3) type 3:3 panes courseware based on ASF and info web.Resource structures are characterized as:Video format is
ASF (e.g., certain ASF video file test.asf), points out point information in the head object of this ASF file;PPT saves as one group even
Continuous picture (e.g., one group of picture Slides/*.jpg);Video presentation information is in HTM file (e.g., certain HTM file IView_
In 1.htm).(1) (3) belong to the type of prompting point in video, synthesize synchronizing information file config.xml, as shown in Figure 2;
(2) belong to the type of external file, synthesize synchronizing information file config.xml, as shown in Figure 3.
(3) using the media format conversion module of " Courseware Resource transform engine ", transcoding is carried out to video file, mainly adopt
Use media format conversion device, realize the video formats such as WMV, ASF, AVI and be converted into FLV file format, store Courseware Resource bag
In, if being designated as stream.flv file;Lecture content asset file in former 3 panes courseware is moved in Courseware Resource bag.
Media format conversion module plays Content Transformation effect, is also responsible for for the lecture content asset file of former 3 panes courseware moving to class
In part resource bag, lecture notes content some can directly migrate to Courseware Resource bag, such as JPG;Some then need to change, and such as HTML turns
Migrate after changing TXT into.
Referring to Fig. 2, former 3 panes courseware obtains lecture video such as WMV, ASF through Context resolution, and title/video presentation is such as
HTML, XML, lecture notes content such as JPG, HTML;During synch information extraction, obtain lecture notes prompting point information (in figure from lecture video
Point pointed out by abbreviation lecture notes), from title/video presentation (the title configuration file of Class1 3 panes courseware or type 33 panes class
Part deposits the HTM file of video presentation information) obtain synchronous point information (in figure referred to as navigation synchronous point) of navigating, generate synchronization and believe
Breath file such as config.xml;During media format conversion, lecture video is carried out with Content Transformation and obtains lecture video such as FLV, and
By lecture notes content migration in Courseware Resource bag;Then Courseware Resource bag includes synchronizing information file such as config.xml, lecture
Video such as FLV, (the lecture notes content of such as html format is extracted from webpage lecture content such as JPG, TXT, is formed and corresponds to
Text).If the lecture notes prompting 1 corresponding time of point in video is 11000000 (microseconds), close in this prompting point
The lecture notes file of connection is " 1.jpg ";Temporal information in " navigation 1 " script is 11000000 (microseconds).When click " navigation 1 "
When, video council jumps to the moment (time of lecture notes prompting point 1) of 11000000 microseconds, and video council calls this to point out point automatically
Corresponding lecture notes file (1.jpg).
In the same manner, referring to Fig. 3, former 3 panes courseware obtains lecture video such as WMV, ASF through Context resolution, and synchronous documents are such as
TXT, lecture notes content such as JPG, HTML;During synch information extraction, obtain lecture notes prompting point information from TXT file and navigation is synchronous
Point information, generates synchronizing information file such as config.xml;During media format conversion, Content Transformation is carried out to lecture video and obtains
Lecture video such as FLV, and by lecture notes content migration in Courseware Resource bag;Then Courseware Resource bag includes synchronizing information file such as
Config.xml, lecture video such as FLV, lecture content such as JPG, TXT.
Synchronizing information file (config.xml) structure based on timeline in 3 panes courseware can be pre-defined, according to
The syntax format of XML file, becomes XML file required relevant information according to certain structure organization, as template file.Three points
In screen courseware transfer process, synchronizing information, based on this template file, synchronizing information is write according to the form of template file.
Based on synchronizing information file basic structure, realize lecture video content in media format conversion module transcoding gained lecture video
In (as stream.flv), the lecture content file of former 3 panes courseware, lecture text/image content is (as JPG, TXT and HTML
Deng) and synch information extraction module gained synchronizing information file in navigation information content etc. associative combination it is ensured that " Flash+
The execution of XML " operational mode.
The Courseware Resource bag content of embodiment as shown in figures 2 and 3, including synchronized navigation content, lecture video content, such as
Stream.flv, and lecture text/image content, such as JPG, TXT and HTML etc..Those skilled in the art can self-defining with
Step message file structure, for the sake of implementing reference, provides in embodiment, the synchronizing information file of 3 panes courseware
Config.xml structure is defined as follows:
Inside 3 panes courseware, for the ease of controlling, typically a picture/webpage is made a lecture notes file.More than
In synchronizing information file structure, the lecture notes prompting point information in synchronizing information file includes multiple nodes, and each node has one
Lecture notes corresponding lecture notes file name attribute and time point attribute;Navigation synchronous point information in synchronizing information file includes multiple
Node, each node has navigate corresponding chapters and sections or knowledge point name attribute and a time point attribute;
(4) generate mould using the Courseware Template customized module in " towards the courseware bringing engine of Linux " and synchronization policy
Block, realizes the synchronization of lecture video in Courseware Resource bag, synchronizing information file config.xml and lecture content file etc.
Relating operation.
The courseware bringing engine implementation towards Linux of embodiment mainly includes:1. adopt the Courseware Template of Flash+XML
(index.html) and Flash ActionScript2.0 technology, using the synchronizing information file in Courseware Resource bag
(config.xml), realize lecture notes (* .jpg, * .txt, * .htm etc.), video file (stream.flv) and navigation content to be equal to
Step relating operation.2. realize 3 panes courseware synchronous operation controlling mechanism under Linux, control lecture notes, navigation content including video
Control video and lecture notes.3. realize the 3 panes courseware packaging of standard.
The Courseware Template customized module of embodiment and synchronization policy generation module are described as follows:
1) Linux 3 panes Courseware Template adopts the pattern of Flash+XML.3 panes Courseware Template provides the main body of a court verdict of courseware
Part, (for example with html file index.html) realizes being using Flash ActionScript2.0 technology, using courseware money
Source bag content, such as synchronous message file config.xml, lecture notes (* .jpg, * .txt, * .htm etc.), video file
Stream.flv etc. realizes synchronization association and runs.When running index.html, Flash reads synchronous letter from config.xml
Breath, Synchronization Control navigation, lecture notes (* .jpg/*.txt), the broadcasting of video (stream.flv), formation can cross-platform operation
New 3 panes courseware.Those skilled in the art can pre-set template form, such as shown in Fig. 4, lower three points of Linux in embodiment
Interface is divided into 4 regions by screen courseware:①Shi video playback area, is 2. navigation area, is 3. PPT demonstration area, and 4. expansion area is used for
Display course relevant information.
2) Linux 3 panes courseware synchronous operation controlling mechanism is as shown in Figure 5.ActionScript2.0 is from synchronizing information
Read lecture notes prompting point information and navigation synchronous point information in XML file (config.xml), and point out point information according to lecture notes
Obtain prompting point information table (i.e. the lecture notes title of all nodes, time point), be video (as media format conversion module gained
FLV video stream.flv) add timestamp, and add Synchronization Control event, by navigation, lecture notes, prompting point in video
Mapping relations on countershaft and event are realizing Synchronization Control.Synchronized relation between video, lecture notes and navigation three passes through to say
Original text prompting point, navigation synchronous point and timestamp three have identical time value to realize, as shown in following synchronous information table:Lead
Boat synchronous point information has chapters and sections or knowledge point title and two attributes of time point, and such as in table, navigation 1, navigation 2 time respectively belong to
Property be 11000000 delicate and 261000000 microseconds, in figure 6 on FLV video time axle unit be the second (s), that is, 11s with
261s;Lecture notes prompting point information has lecture notes title and two attributes of time point, as the 1 corresponding lecture notes 1.jpg that in table, navigates, says
Original text 2.jpg ..., navigation 2 corresponding lecture notes m1.jpg, lecture notes m2.jpg ..., there is corresponding time point attribute respectively;Timestamp information
There are timestamp title and two attributes of time point;The time point set of navigation synchronous point information is the time of lecture notes prompting point information
In the subset of point set, such as table, navigation 1, navigation 2 are corresponding respectively with the time attribute of lecture notes 1.jpg, m1.jpg;Timestamp information
The time point set of time point set and lecture notes prompting point information correspond, such as timestamp title cp1, cp2 ... in table
Cpm1, cpm2 ... are corresponding respectively with the time point attribute of lecture notes 1.jpg, 2.jpg ... m1.jpg, m2.jpg ....
Synchronizing information table
Based on above-mentioned synchronous operation controlling mechanism, in 3 panes courseware under the generated Linux of embodiment, video controls lecture notes
Implementation method as follows:
Add timestamp using ActionScript2.0 for video from outside, (unit is each timestamp according to its time point
Second) be bundled on the time shaft of FLV video, mapping on FLV video time axle for the timestamp is as shown in fig. 6, timestamp title
Cp1, cp2 ... cpm1, cpm2 ... map on FLV video time axle respectively.Add following event for each timestamp:Work as teaching
When video playback is to certain timestamp, lecture notes area shows corresponding lecture notes, and schematic diagram is as shown in fig. 7, timestamp cp1, cp2 ...
Cpm1, cpm2 ... place shows lecture notes 1.jpg, 2.jpg ... m1.jpg, m2.jpg ... respectively.
Based on above-mentioned synchronous operation controlling mechanism, Navigation Control video in 3 panes courseware under the generated Linux of embodiment
As follows with the implementation method of lecture notes:
For each interpolation event of navigating, when user selects certain navigation, video playback head moves to the time of this navigation
Value.Navigation is in the mapping on FLV video time axle as shown in figure 8, navigation 1, navigation 2 map on FLV video time axle respectively.
Due to the time point in the corresponding video of each navigation, when user selects certain navigation, trigger navigation event and then touch
Send out the event of corresponding timestamp, it is achieved thereby that the control to video, lecture notes for the navigation.Navigation, lecture notes, timestamp are in FLV
Mapping relations on video time axle are as shown in Figure 9.
(5) realized Courseware Resource bag using the content packaging mod-ule in " towards the courseware bringing engine of Linux " and send out
The configuration processor (index.htm) of cloth is packaged into the 3 panes courseware of standard.Wherein, the 3 panes template under Flash environment is beaten
Bag is output as index.htm, and courseware description can be described to Courseware Resource using CELTSC standard criterion, forms description literary composition
Part, and with Courseware Resource encapsulation in a file, form 3 panes that are complete, running towards Linux environment
Courseware.
The present invention correspondingly provides a kind of 3 panes courseware implantation method towards Linux, converted including Courseware Resource
Journey and the courseware bringing process towards Linux,
(1) described Courseware Resource transfer process, including for according to the corresponding Courseware Resource bag of former 3 panes courseware bringing, class
Part resource transfer process further includes procedure below,
(1.1) Context resolution process, is analyzed including to the file of former 3 panes courseware, specifies former 3 panes courseware
File structure forms, and determines the method for synchronization of former 3 panes courseware;
(1.2) synch information extraction process, extracts former 3 panes class including according to the Context resolution process gained method of synchronization
The lecture notes prompting point information of part and navigation synchronous point information, generate the corresponding synchronizing information file of former 3 panes courseware and are stored in
In Courseware Resource bag;Media format conversion process, carries out transcoding and is stored in class including to the video file of former 3 panes courseware
In part resource bag, and the lecture content asset file of former 3 panes courseware is moved in Courseware Resource bag;
(2) the described courseware bringing process towards Linux, including according to Courseware Resource transfer process gained Courseware Resource bag
Obtain 3 panes courseware under Linux, the courseware bringing process towards Linux further includes procedure below,
(2.1) Courseware Template customization procedure, including the template of 3 panes courseware under setting Linux;Synchronization policy generated
Journey, realizes Synchronization Control association including according to the synchronizing information file in Courseware Resource bag;
(2.2) content packaging process, describes and Courseware Resource bag including by the template of 3 panes courseware, courseware under Linux
It is encapsulated as under a complete Linux 3 panes courseware and export.
When being embodied as, automatic operation method flow process can be realized using computer software technology, each process implement with
System module work is realized accordingly, and it will not go into details for the present invention.
Specific embodiment described herein is only explanation for example to present invention spirit.The affiliated technology of the present invention is led
The technical staff in domain can be made various modifications or supplement or replaced using similar mode to described specific embodiment
Generation, but the spirit without departing from the present invention or surmount scope defined in appended claims.