note/smartedu国家智慧教育平台结构.md

22 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 国家智慧教育平台结构
1. 总的结构文件: `https://s-file-2.ykt.cbern.com.cn/zxx/ndrs/prepare_lesson/teachingmaterials/parts.json`
1. 这个文件会结下出来多个part_100.json part_101.json part.102.json
2. 再继续解析
2. 再继续解析到每一本书的part_100.json: 以高中数学A必修第一册为例
1. 书本id也可以称teachingmaterialId85c19ef2-23a4-43b6-94dd-8c7898639b5d
2. 拼接成资源文件url`https://s-file-2.ykt.cbern.com.cn/zxx/ndrs/prepare_lesson/teachingmaterials/85c19ef2-23a4-43b6-94dd-8c7898639b5d/resources/part_100.json`
3. 拼接成课本结构章节url`https://s-file-2.ykt.cbern.com.cn/zxx/ndrv2/national_lesson/trees/85c19ef2-23a4-43b6-94dd-8c7898639b5d.json`
3. 每一本书的part_100.json含有所有的资源索引。接下来继续解析
1.
## smartedu 下载json和创建目录
1. 目录结构:
1. 最上层根目录parts_100.json;parts_101.json;parts_102.json;
2. 第二层目录:学段,分为:小学 初中 高中
3. 第三层目录:学科,如:数学、英语、化学等;
4. 第四层目录教科书人教版第一册、苏教版第二册等文件part_100.json trees.json; all_classroom_links.json;
5. 第五层目录:以章为单位的,如:第三章 函数的概念与性质、第四章 指数函数与对数函数;文件details.json; 小节_detail.json; 小节_小小节_detail.json;
2.