SCORM 2004 4th Edition
https://scorm.com/scorm-explained/technical-scorm/scorm-2004-overview-for-developers
SCORM标准概述
什么是SCORM?
SCORM(可共享内容对象参考模型)是由美国高级分布式学习计划(ADL)制定的一套网络教育技术标准,旨在实现学习资源的跨平台共享与复用。该模型通过结构化封装教材、标准化元数据描述及运行环境规范,解决教育资源重复开发、管理系统互操作性差等问题。
SCORM包含内容聚合模型(CAM)、运行时间环境(RTE)和排序导航(SN)三大核心组件,定义了学习资源打包、传输及交互的规则。其特性涵盖可获取性、可沟通性、耐久性和可再使用性,支持学习者在不同平台调用标准化课程。当前主流版本为2006年发布的SCORM 2004 3rd Edition。
SCORM的发展背景
该标准起源于1997年美国国防部主导的ADL计划,整合了IMS、AICC、IEEE等组织的现有规范,强调"不重复发明轮子"原则。通过融合航空、计算机等领域的技术标准,形成统一模型以促进军事、教育和企业间的协作学习系统构建。
SCORM的核心价值
网络教育是当今国际国内教育的主流发展方向,其开发性、协同学习、共享资源、无时空限制为学习者构建了一个随时随地自主学习的终身学习环境。目前网络教育资源的共享基本上停留在简单的HTML网页和其他常用文件共享的基础上,缺少统一的结构,课件开发重复严重,资源管理共享难度大,学习资源在教学平台间难以交互。SCORM提供了强有力的支持,提供了基于现有标准的可共享、互操作的模式。
SCORM的主要功能
- 可获取性(Accessibility):学习者可在任何时间或地点,透过网络获取所需的教材。
- 可沟通性(Interoperability):教材可以在任何开发系统及教学平台上使用。
- 耐久性(Durability):科技提升或改变时,不须重新修改应用程序或教材。
- 可再使用性(Reusability):在不同应用环境下,教材可以重复使用。
SCORM的技术架构
主要标准和规范
SCORM 2004主要包括以下三个方面的标准和规范:
- SCORM内容聚合模型 (CAM)
- SCORM运行时间环境(RTE)
- SCORM 排序和导航(SN)
CAM(Content Aggregation Model)内容整合模式
规定单独的学习内容如何描述、内容如何组成可共享和互操作的课程,依照一门课程应涵盖的范围,将特定的学习资源(Learning Resource)包裹在一起,以便于LMS可以启动此课程。
RTE(Run-time Environment)课程执行环境
一套标准的方法,让LMS 启动学习资源以及让学习资源与平台之间可以互相沟通信息,让学习资源能够在不同的学习管理平台内也可以重复使用。
Content Package内容包裹
课程内容包裹的目的是提供一套标准的包裹作业方式,使得课程制作工具可依此包裹出一套标准的课程储存在课程宝库(repository),并提供给不同的LMS读取。
经过包裹后的课程将形成几个重要的档案叙述,coursename.html(读取课程的主要档案)、coursename.xml(记录课程一般性的metadata)、imsmanifest.xml(记录一个课程的组成结构、各种学习资源的存放位置,以及其它相关的metadata,这个档案也可记录SCO或Assets的读取顺序)。
SCORM的应用场景
SCORM标准广泛应用于e-Learning领域,越来越多的在线教育服务公司采用SCORM标准,如上海汇旌。它解决了教育资源重复开发、管理系统互操作性差等问题,支持学习者在不同平台调用标准化课程。
SCORM标准教材制作步骤
- 整个课程结构的设计:根据内容和学习的需要,进行章节内容的分配。
- 课程中SCO的分割:在SCORM中,所谓的SCO可以是教材中的:章、节、主题、单元,也可以是任何大小,端看需求而定。
- SCO的制作:在具体页面中加入跟踪代码。
- 课程结构的实现
- 课程内容的scorm打包
- **标准课程的测试"
API Signature
- Initialize( “” ) : bool – Begins a communication session with the LMS.
- Terminate( “” ) : bool – Ends a communication session with the LMS.
- GetValue( element : CMIElement ) : string – Retrieves a value from the LMS.
- SetValue( element : CMIElement, value : string) : string – Saves a value to the LMS.
- Commit( “” ) : bool – Indicates to the LMS that all data should be persisted (not required).
- GetLastError() : CMIErrorCode – Returns the error code that resulted from the last API call.
- GetErrorString( errorCode : CMIErrorCode ) : string – Returns a short string describing the specified error code.
- GetDiagnostic( errorCode : CMIErrorCode ) : string – Returns detailed information about the last error that occurred.
Data Model
- cmi._version (characterstring, RO) Represents the version of the data model
- cmi.comments_from_learner._children (comment,location,timestamp, RO) Listing of supported data model elements
- cmi.comments_from_learner._count (non-negative integer, RO) Current number of learner comments
- cmi.comments_from_learner.n.comment (localized_string_type (SPM: 4000), RW) Textual input
- cmi.comments_from_learner.n.location (characterstring (SPM: 250), RW) Point in the SCO to which the comment applies
- cmi.comments_from_learner.n.timestamp (time (second,10,0), RW) Point in time at which the comment was created or most recently changed
- cmi.comments_from_lms._children (comment,location,timestamp, RO) Listing of supported data model elements
- cmi.comments_from_lms._count (non-negative integer, RO) Current number of comments from the LMS
- cmi.comments_from_lms.n.comment (localized_string_type (SPM: 4000), RO) Comments or annotations associated with a SCO
- cmi.comments_from_lms.n.location (characterstring (SPM: 250), RO) Point in the SCO to which the comment applies
- cmi.comments_from_lms.n.timestamp (time(second,10,0), RO) Point in time at which the comment was created or most recently changed
- cmi.completion_status (“completed”, “incomplete”, “not attempted”, “unknown”, RW) Indicates whether the learner has completed the SCO
- cmi.completion_threshold (real(10,7) range (0..1), RO) Used to determine whether the SCO should be considered complete
- cmi.credit (“credit”, “no-credit”, RO) Indicates whether the learner will be credited for performance in the SCO
- cmi.entry (ab_initio, resume, “”, RO) Asserts whether the learner has previously accessed the SCO
- cmi.exit (timeout, suspend, logout, normal, “”, WO) Indicates how or why the learner left the SCO
- cmi.interactions._children (id,type,objectives,timestamp,correct_responses,weighting,learner_response,result,latency,description, RO) Listing of supported data model elements
- cmi.interactions._count (non-negative integer, RO) Current number of interactions being stored by the LMS
- cmi.interactions.n.id (long_identifier_type (SPM: 4000), RW) Unique label for the interaction
- cmi.interactions.n.type (“true-false”, “choice”, “fill-in”, “long-fill-in”, “matching”, “performance”, “sequencing”, “likert”, “numeric” or “other”, RW) Which type of interaction is recorded
- cmi.interactions.n.objectives._count (non-negative integer, RO) Current number of objectives (i.e., objective identifiers) being stored by the LMS for this interaction
- cmi.interactions.n.objectives.n.id (long_identifier_type (SPM: 4000), RW) Label for objectives associated with the interaction
- cmi.interactions.n.timestamp (time(second,10,0), RW) Point in time at which the interaction was first made available to the learner for learner interaction and response
- cmi.interactions.n.correct_responses._count (non-negative integer, RO) Current number of correct responses being stored by the LMS for this interaction
- cmi.interactions.n.correct_responses.n.pattern (format depends on interaction type, RW) One correct response pattern for the interaction
- cmi.interactions.n.weighting (real (10,7), RW) Weight given to the interaction relative to other interactions
- cmi.interactions.n.learner_response (format depends on interaction type, RW) Data generated when a learner responds to an interaction
- cmi.interactions.n.result (“correct”, “incorrect”, “unanticipated”, “neutral”) or a real number with values that is accurate to seven significant decimal figures real. , RW) Judgment of the correctness of the learner response
- cmi.interactions.n.latency (timeinterval (second,10,2), RW) Time elapsed between the time the interaction was made available to the learner for response and the time of the first response
- cmi.interactions.n.description (localized_string_type (SPM: 250), RW) Brief informative description of the interaction
- cmi.launch_data (characterstring (SPM: 4000), RO) Data provided to a SCO after launch, initialized from the dataFromLMS manifest element
- cmi.learner_id (long_identifier_type (SPM: 4000), RO) Identifies the learner on behalf of whom the SCO was launched
- cmi.learner_name (localized_string_type (SPM: 250), RO) Name provided for the learner by the LMS
- cmi.learner_preference._children (audio_level,language,delivery_speed,audio_captioning, RO) Listing of supported data model elements
- cmi.learner_preference.audio_level (real(10,7), range (0..*), RW) Specifies an intended change in perceived audio level
- cmi.learner_preference.language (language_type (SPM 250), RW) The learner’s preferred language for SCOs with multilingual capability
- cmi.learner_preference.delivery_speed (real(10,7), range (0..*), RW) The learner’s preferred relative speed of content delivery
- cmi.learner_preference.audio_captioning (“-1”, “0”, “1”, RW) Specifies whether captioning text corresponding to audio is displayed
- cmi.location (characterstring (SPM: 1000), RW) The learner’s current location in the SCO
- cmi.max_time_allowed (timeinterval (second,10,2), RO) Amount of accumulated time the learner is allowed to use a SCO
- cmi.mode (“browse”, “normal”, “review”, RO) Identifies one of three possible modes in which the SCO may be presented to the learner
- cmi.objectives._children (id,score,success_status,completion_status,description, RO) Listing of supported data model elements
- cmi.objectives._count (non-negative integer, RO) Current number of objectives being stored by the LMS
- cmi.objectives.n.id (long_identifier_type (SPM: 4000), RW) Unique label for the objective
- cmi.objectives.n.score._children (scaled,raw,min,max, RO) Listing of supported data model elements
- cmi.objectives.n.score.scaled (real (10,7) range (-1..1), RW) Number that reflects the performance of the learner for the objective
- cmi.objectives.n.score.raw (real (10,7), RW) Number that reflects the performance of the learner, for the objective, relative to the range bounded by the values of min and max
- cmi.objectives.n.score.min (real (10,7), RW) Minimum value, for the objective, in the range for the raw score
- cmi.objectives.n.score.max (real (10,7), RW) Maximum value, for the objective, in the range for the raw score
- cmi.objectives.n.success_status (“passed”, “failed”, “unknown”, RW) Indicates whether the learner has mastered the objective
- cmi.objectives.n.completion_status (“completed”, “incomplete”, “not attempted”, “unknown”, RW) Indicates whether the learner has completed the associated objective
- cmi.objectives.n.progress_measure (real (10,7) range (0..1), RW) Measure of the progress the learner has made toward completing the objective
- cmi.objectives.n.description (localized_string_type (SPM: 250), RW) Provides a brief informative description of the objective
- cmi.progress_measure (real (10,7) range (0..1), RW) Measure of the progress the learner has made toward completing the SCO
- cmi.scaled_passing_score (real(10,7) range (-1 .. 1), RO) Scaled passing score required to master the SCO
- cmi.score._children (scaled,raw,min,max, RO) Listing of supported data model elements
- cmi.score.scaled (real (10,7) range (-1..1), RW) Number that reflects the performance of the learner
- cmi.score.raw (real (10,7), RW) Number that reflects the performance of the learner relative to the range bounded by the values of min and max
- cmi.score.min (real (10,7), RW) Minimum value in the range for the raw score
- cmi.score.max (real (10,7), RW) Maximum value in the range for the raw score
- cmi.session_time (timeinterval (second,10,2), WO) Amount of time that the learner has spent in the current learner session for this SCO
- cmi.success_status (“passed”, “failed”, “unknown”, RW) Indicates whether the learner has mastered the SCO
- cmi.suspend_data (characterstring (SPM: 64000), RW) Provides space to store and retrieve data between learner sessions
- cmi.time_limit_action (“exit,message”, “continue,message”, “exit,no message”, “continue,no message”, RO) Indicates what the SCO should do when cmi.max_time_allowed is exceeded
- cmi.total_time (timeinterval (second,10,2), RO) Sum of all of the learner’s session times accumulated in the current learner attempt
- adl.nav.request (request(continue, previous, choice, jump, exit, exitAll, abandon, abandonAll, suspendAll none), RW) Navigation request to be processed immediately following Terminate()
- adl.nav.request_valid.continue (state (true, false, unknown), RO) Used by a SCO to determine if a Continue navigation request will succeed.
- adl.nav.request_valid.previous (state (true, false, unknown), RO) Used by a SCO to determine if a Previous navigation request will succeed.
- adl.nav.request_valid.choice.{target=} (state (true, false, unknown), RO) Used by a SCO to determine if a Choice navigation request for the target activity will succeed.
- adl.nav.request_valid.jump.{target=} (state (true, false, unknown), RO) Used by a SCO to determine if a Jump navigation request for the target activity will succeed.
Error Codes
- No Error (0) No error occurred, the previous API call was successful.
- General Exception (101) No specific error code exists to describe the error. Use GetDiagnostic for more information.
- General Initialization Failure (102) Call to Initialize failed for an unknown reason.
- Already Initialized (103) Call to Initialize failed because Initialize was already called.
- Content Instance Terminated (104) Call to Initialize failed because Terminate was already called.
- General Termination Failure (111) Call to Terminate failed for an unknown reason.
- Termination Before Initialization (112) Call to Terminate failed because it was made before the call to Initialize.
- Termination After Termination (113) Call to Terminate failed because Terminate was already called.
- Retrieve Data Before Initialization (122) Call to GetValue failed because it was made before the call to Initialize.
- Retrieve Data After Termination (123) Call to GetValue failed because it was made after the call to Terminate.
- Store Data Before Initialization (132) Call to SetValue failed because it was made before the call to Initialize.
- Store Data After Termination (133) Call to SetValue failed because it was made after the call to Terminate.
- Commit Before Initialization (142) Call to Commit failed because it was made before the call to Initialize.
- Commit After Termination (143) Call to Commit failed because it was made after the call to Terminate.
- General Argument Error (201) An invalid argument was passed to an API method (usually indicates that Initialize, Commit or Terminate did not receive the expected empty string argument.
- General Get Failure (301) Indicates a failed GetValue call where no other specific error code is applicable. Use GetDiagnostic for more information.
- General Set Failure (351) Indicates a failed SetValue call where no other specific error code is applicable. Use GetDiagnostic for more information.
- General Commit Failure (391) Indicates a failed Commit call where no other specific error code is applicable. Use GetDiagnostic for more information.
- Undefined Data Model Element (401) The data model element name passed to GetValue or SetValue is not a valid SCORM data model element.
- Unimplemented Data Model Element (402) The data model element indicated in a call to GetValue or SetValue is valid, but was not implemented by this LMS. In SCORM 2004, this error would indicate an LMS that is not fully SCORM conformant.
- Data Model Element Value Not Initialized (403) Attempt to read a data model element that has not been initialized by the LMS or through a SetValue call. This error condition is often reached during normal execution of a SCO.
- Data Model Element Is Read Only (404) SetValue was called with a data model element that can only be read.
- Data Model Element Is Write Only (405) GetValue was called on a data model element that can only be written to.
- Data Model Element Type Mismatch (406) SetValue was called with a value that is not consistent with the data format of the supplied data model element.
- Data Model Element Value Out Of Range (407) The numeric value supplied to a SetValue call is outside of the numeric range allowed for the supplied data model element.
- Data Model Dependency Not Established (408) Some data model elements cannot be set until another data model element was set. This error condition indicates that the prerequisite element was not set before the dependent element.
