A kind of online production method of the courseware for meeting SCORM standards based on Web
Technical field
The present invention relates to network technique field, more particularly to a kind of courseware for meeting SCORM standards based on Web is made online
Make method.
Background technology
SCORM refers to sharable content object reference model, is a kind of standard on on-line study, is related to learning management
Two aspects of platform and courseware content.Before the appearance of SCORM standards, courseware content and platform binding are very dead, and courseware inconvenience exists
Shared between platform, the learning process of learner is difficult to track.SCORM standards have then liberated productivity so that on-line study welcomes
One big development.But the courseware that making complies fully with SCORM standards is not easy, manual operations is time-consuming and laborious easily to malfunction, and shows
Have courseware development tool only based on standalone version, and only few part is with the function of supporting SCORM standards, it is difficult to for
In line Courseware Development.
The content of the invention
The present invention proposes a kind of online production method of the courseware for meeting SCORM standards based on Web, solves the prior art
In can only by standalone version courseware development tool make meet the courseware of SCORM standards the problem of.
The technical proposal of the invention is realized in this way:
A kind of online production method of the courseware for meeting SCORM standards based on Web, foreground using JSP, html, CSS and
The DOM model of JavaScript, from the background using Servlet, J2EE and MySQL database, comprises the following steps:
Step (a), sets SCORM versions, selects the contents directory and SCO unit levels to be issued of courseware;
Step (b), the operation in step (a) determines the organizational structure dendrogram of the manifest of this courseware, each
Node represents an item;
Step (c), by clicking on any node, carries out this SCORM property parameters and Metadata files
Editor, system verify the data of input according to the requirement of SCORM Version Specs;
Step (d), after completing above-mentioned editor, system, which sequentially generates, needs interactive SCORM data elements
Javascript codes, are inserted into the courseware content file at place, and according to the SCORM attributes setting and metadata
Parameter item generate standard compliant imsmanifest.xml files and the xml document of metadata;
Step (e), generates the SCORM api interface files of Javascript;
Step (f), is added to all the schema files and imsmanifest.xml files required by SCORM standards
Under the top-level directory of courseware file, a zip courseware bag is suppressed into together with other courseware content files.
Alternatively, in the step (c), for SCORM1.2 versions, the step of further including the prerequisite of editor's sequence.
Alternatively, in the step (c), for SCORM2004 versions, further include the condition of editing various ordering requirements and
The step of control model.
Alternatively, in the step (c), for SCORM2004 versions, the conditions of the ordering requirements include precondition,
Postcondition, exit criteria and above push away condition.
The beneficial effects of the invention are as follows:
(1) xml documents such as manifest, metadata and schema are generated, and with supporting the study pipe of SCORM standards
The Javascript interface documents of platform communication, and they and alternative document are suppressed into a Standard Courseware zip bag automatically;
(2) according to courseware content catalogue, the level and the category of each of the organizational structure item of setting shared cell SCO
Property, and study sequence, navigation and prerequisite etc.;
(3) the Javascript codes of the various SCORM data elements for needing interaction are generated, such as label, study duration, are surveyed
Try problem answers and achievement etc.;
(4) interface for editing various metadata files is provided, whether verification input data meets defined specification;
(5) according to contents directory option, whole courseware is split into one or more shared cell SCO bags, so that gently
Pine is created that the reusable component for different courseware sharings.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow chart of the courseware for the meeting SCORM standards online production method of the invention based on Web.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work
Embodiment, belongs to the scope of protection of the invention.
Existing courseware development tool is only based on standalone version, and only few function of the part with support SCORM standards,
It is difficult to use in online Courseware Development.The present invention use Java Web technological development, foreground use JSP, html, CSS and
The DOM model (Document Object Mode, document dbject model) of JavaScript, from the background using Servlet, J2EE and
MySQL database, realizes and meets the coursewares of SCORM standards and make online.Below in conjunction with the accompanying drawings to the present invention based on Web's
The online production method of courseware for meeting SCORM standards is described in detail.
The method of the present invention is operated at courseware issuing interface, as shown in Figure 1, specifically including following steps:
Step (a), the contents directory and SCO that the SCORM versions and selection courseware that setting to be met to be issued are mono-
First level.
Step (b), by the operation in above-mentioned steps (a), so that it is determined that the organizational structure tree of the manifest of this courseware
Shape figure, each node represent an item.
Step (c), clicks on any above-mentioned node on courseware issuing interface, then can to this SCORM property parameters and
Metadata files are into edlin, if the prerequisite of SCORM1.2 also editable sequences, if SCORM2004 then editables
The condition and control model of various ordering requirements, including precondition, postcondition, exit criteria and above push away condition etc., system pair
The data of input are verified according to the requirement of SCORM Version Specs, to ensure completely compatible SCORM standards.
Step (d), after aforesaid operations and editor are completed, clicks on the issue button on courseware issuing interface, system will
Sequentially generate it is various need interaction SCORM data elements Javascript codes, such as student's name, label, study duration,
Test problem answer and achievement etc., and be inserted into the courseware content file at place;And set according to above-mentioned SCORM attributes and
The parameter item of metadata generates standard compliant imsmanifest.xml files and the xml document of various metadata.
Step (e), next, the SCORM api interface files of generation Javascript.
Step (f), finally adds all the schema files and imsmanifest.xml files required by SCORM standards
Enter under the top-level directory of courseware file, a zip courseware bag is suppressed into together with other courseware content files.
The online production method of the courseware for meeting SCORM standards based on Web of the present invention, generation manifest,
The xml documents such as metadata and schema, and with supporting the Javascript of the learning management platform of SCORM standards communication to connect
Mouth file, and they and alternative document are suppressed into a Standard Courseware zip bag;According to courseware content catalogue, can arbitrarily set
The level and the attribute of each of the organizational structure item of shared cell SCO, and study sequence, navigation and prerequisite etc.;
The Javascript codes of the various SCORM data elements for needing interaction are generated, such as label, study duration, test problem answer
With achievement etc.;The interface for editing various metadata files is provided, whether verification input data meets defined specification;According to
Contents directory option, is split into one or more shared cell SCO bags, so as to easily be created that for difference by whole courseware
The reusable component of courseware sharing.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
With within principle, any modification, equivalent replacement, improvement and so on, should all be included in the protection scope of the present invention god.