Cloud-based digital teaching material online editing and viewing platform and editing method
Through the online editing and viewing platform for digital textbooks based on the cloud, the compatibility, update and customization of digital textbooks are solved, and the support and personalized reading of various resource forms is achieved, which improves the popularization and learning effect of textbooks.
Patent Information
- Application Number
- CN202510483205.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-17
- Publication Date
- 2025-08-29
AI Technical Summary
The existing digital textbooks have shortcomings in technology integration and compatibility, and it is difficult to integrate a variety of new digital technologies, limited equipment compatibility, difficult content updates and customization, and a single resource form, which cannot meet the diverse teaching needs.
It provides a cloud-based digital textbook online editing and viewing platform, supports uploading and automatic conversion of multiple file formats, realizes cross-platform compatibility through a web browser, allows users to directly create and edit textbook content, supports a variety of resource forms, including text, pictures, videos, three-dimensional models and interactive resources, generates QR codes and combines paper-based textbooks, and provides personalized reading methods and textbook management platforms.
It improves the cross-platform compatibility and accessibility of digital textbooks, realizes timely updates and personalized customization of textbooks, enhances the learning experience, and promotes the popularization and teaching effect of textbooks.
Smart Images

Figure CN120561402A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of digital teaching materials, and in particular relates to a cloud-based online editing and viewing platform and editing method for digital teaching materials. Background Art
[0002] As we all know, digital textbooks use digital technology to transform traditional paper textbooks into teaching resources that can be read and interacted with on electronic devices. Primarily used in education and training, they aim to enhance teaching effectiveness, expand the reach of high-quality educational resources, and support personalized and lifelong learning through digital means. The concept of digital textbooks encompasses a variety of formats, including e-books, multimedia resources, and interactive content, and is a crucial tool for advancing educational modernization.
[0003] Currently, digital textbooks on the market are primarily based on e-books and accompanying images of printed textbooks. These textbooks typically require specific software to use and are primarily designed for reading on mobile phones and computers. Some digital textbooks also incorporate new technologies such as virtual simulation and virtual reality to enrich teaching content and enhance the learning experience.
[0004] However, during the use process, it was found that the existing digital teaching materials still have the following defects in reading and content editing:
[0005] First, existing digital textbooks have obvious deficiencies in technology integration and compatibility: digital integration is poor, making it difficult to effectively integrate various new digital technologies, such as virtual simulation and virtual reality; device compatibility is limited, making it difficult to adapt to new digital products such as VR all-in-one machines, MR all-in-one machines, and large-space solutions, which limits the application of textbooks on multiple devices; many digital textbook systems often require the installation of special software, which is inconvenient to use and difficult to promote, greatly reducing the accessibility and popularity of textbooks.
[0006] Second, digital textbooks face huge challenges in content updating and customization: modifying and updating textbook content is often difficult and costly, which is not conducive to the timely iteration and keeping pace with the times of textbooks; the lack of personalized customization functions makes it difficult to meet the specific needs of different teachers and students, and it is impossible to flexibly adjust the content according to actual teaching situations; the resource format is single, mostly e-books or paper textbooks plus images, which makes it difficult to meet diverse teaching needs and cannot fully utilize the teaching potential brought by new technologies.
[0007] To this end, the present invention provides an online platform for editing and viewing digital teaching materials that is multi-terminal compatible, content customized, resource-rich, and updated in real time. Summary of the Invention
[0008] The purpose of the present invention is to provide a cloud-based online editing and viewing platform and editing method for digital textbooks, so as to solve the technical problems raised in the above background technology, such as the lack of flexible cross-platform compatibility, difficulty in content updating, insufficient personalized customization capabilities, and single resource form of existing digital textbooks.
[0009] In order to achieve the above object, the present invention provides the following technical solutions:
[0010] A cloud-based online editing and viewing platform for digital textbooks, comprising a cloud server and a web client; wherein the cloud server comprises:
[0011] The digital teaching material storage module receives uploaded digital teaching materials and teaching documents, identifies the format of the teaching documents, converts the teaching documents into a standard format and saves them;
[0012] The digital textbook printing module first generates a unique printing QR code for the digital textbook, then obtains the digital textbook by scanning, and finally sends the digital textbook to the printer for printing;
[0013] The web client includes:
[0014] A digital teaching material editing module, which uses the teaching documents to create digital teaching materials or edit existing digital teaching materials as needed;
[0015] The digital textbook reading module uses a Web server or Metaverse device to read digital textbooks.
[0016] Preferably, the teaching documents include pictures, videos, three-dimensional model resources, two-dimensional interactive resources, three-dimensional interactive resources, test questions and test papers.
[0017] Preferably, the two-dimensional interactive resources include Flash resources and HTML5 resources, and the three-dimensional interactive resources include Web browser-based WebGL resources and independent application resources.
[0018] Preferably, converting the teaching document into a standard format includes: converting the video document into MP4 format, converting the text data into PDF and / or JPG format, converting the three-dimensional model data into GLB format, and converting the online resource data into ZIP format.
[0019] Preferably, the digital teaching material printing module converts the digital teaching material to be printed into PDF format and sends it to the printer.
[0020] Preferably, the digital teaching material editing module includes:
[0021] A resource embedding unit, used for embedding teaching documents stored in the digital teaching material storage module into the digital teaching material;
[0022] A resource editing module is embedded to read the teaching documents in the digital teaching materials and edit the teaching documents.
[0023] Preferably, in the embedded resource editing module, editing the teaching document includes:
[0024] Adjust the position, size, color, and material of teaching documents;
[0025] Adjust the rotation angle of the teaching document;
[0026] Modify the content in the teaching document.
[0027] Preferably, the digital teaching material editing module includes:
[0028] The automatic typesetting unit organizes the text content and teaching resources in the digital textbook into text pages with a unified format according to the user-defined typesetting parameters;
[0029] A directory generation unit generates a directory based on the titles in the textbook content and the page numbers where the titles are located;
[0030] The cover production unit is used to create the cover of the textbook, and the cover includes a cover, a spine, and a back cover.
[0031] A second object of the present invention is to provide a cloud-based online editing method for digital teaching materials, which utilizes the cloud-based online editing and viewing platform for digital teaching materials to complete the following editing process:
[0032] S1, receiving uploaded digital teaching materials and teaching documents, identifying the format of the teaching documents, converting the teaching documents into a standard format and saving them;
[0033] S2, creating a digital teaching material using the teaching document or editing an existing digital teaching material as needed;
[0034] S3, generates a unique printed QR code for each digital teaching material and each unrecognizable teaching document in the digital teaching material.
[0035] Preferably, S1 is specifically:
[0036] First, collect digital teaching materials and teaching documents to build a basic database;
[0037] Then identify the format of each teaching document and determine whether the format of the teaching document is consistent with the standard format. If the two are consistent, save the teaching document to the database. If the two are inconsistent, convert the teaching document to the standard format and then save it to the database.
[0038] Preferably, in S2, creating digital teaching materials includes:
[0039] S21, set basic information of the textbook, including determining the textbook name, writing the textbook introduction, selecting the textbook category, and setting the training level;
[0040] S22, setting the textbook appearance information, including setting the textbook layout, designing the textbook cover, configuring the textbook spine and textbook back cover;
[0041] S23, editing the text of the textbook content, including input, insert, delete, copy, and paste operations;
[0042] S24, embedding teaching resources into the teaching material content through the resource embedding unit, and performing size adjustment, deletion, copy and paste operations;
[0043] S25, automatically typeset the text input by the user and the embedded teaching resources by an automatic typesetting unit to obtain a textbook page with a unified format;
[0044] S26, generating a directory of the teaching material by a directory generating unit;
[0045] S27, generating the cover of the teaching material through the cover making unit.
[0046] Preferably, S2 also includes: S28, after the user completes the creation of the digital textbook, the digital textbook is uploaded to the digital textbook mall module, and the administrator reviews the digital textbook. After the review is passed, the digital textbook is put on the shelves in the digital textbook mall module.
[0047] Preferably, S3 includes:
[0048] S31, identifying all teaching resource information of digital teaching materials;
[0049] S32, processing of teaching resources that cannot be printed; including:
[0050] For video files, take the first frame or key frame of the video as the thumbnail;
[0051] For 3D model resource files, use Three.js to render the model preview;
[0052] For 2D and 3D interactive resources, generate static preview images;
[0053] S33, automatically generating corresponding QR codes for teaching resources that cannot be printed;
[0054] S34, calling the automatic typesetting unit to calculate the positions of the thumbnail and the QR code on the page;
[0055] S35 generates and saves a PDF file of the digital teaching material, including the text content, pictures, cover design, content page layout, spine information, back cover design, and thumbnails and QR codes of teaching resources that cannot be printed.
[0056] Compared with the prior art, the present invention has the following beneficial effects:
[0057] The present invention provides a cloud-based online editing and viewing platform and editing method for digital textbooks, which solves the technical problems of existing digital textbooks, such as lack of flexible cross-platform compatibility, difficulty in content updating, insufficient personalized customization capabilities, and single resource form.
[0058] To address the issues of technology integration and compatibility, the digital textbook storage module supports uploading and automatic conversion of multiple file formats, improving the platform's compatibility and flexibility. The resource embedding unit can embed various types of teaching resources, realizing the effective integration of multimedia technology; users can interact with the web client and the cloud server through a web browser, without the need to install special software, and can operate through web links, improving cross-device compatibility and accessibility. Secondly, in response to the difficulties in content updating and customization, the digital textbook editing module allows users to directly create and edit textbook content, facilitating timely updates and iterations. The automatic typesetting unit automatically organizes content according to user-defined typesetting parameters and provides personalized customization functions. The catalog generation unit and cover production unit further enhance the customization capabilities of textbooks.
[0059] To address the issue of single resource formats, this platform supports multiple resource formats, including text, images, videos, 3D models, and 2D and 3D interactive resources, to meet diverse teaching needs. The digital textbook printing module achieves an organic combination of paper and digital versions by generating resource thumbnails and QR codes. To enhance user experience and teaching effectiveness, the digital textbook reading module provides personalized reading methods, including single / double-page reading, full-screen reading, directory / thumbnail jumps, bookmarks, notes, and other functions. It supports direct viewing of embedded resources, such as video playback and 3D model interaction, enhancing the learning experience. The digital textbook printing module achieves an organic combination of paper and digital versions of textbooks. By scanning the resource's QR code, you can directly access and view the corresponding digital teaching resources, easily obtaining a wealth of digital teaching resources, such as videos, 3D models, interactive content, etc., thereby enhancing the learning experience and improving learning effectiveness. In terms of optimizing textbook management and distribution, the cloud server's storage and processing mechanism facilitates collaboration and data management. The digital textbook mall module provides a platform for textbook listing and delisting, facilitating textbook distribution and management. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1This is a structural block diagram of a cloud-based online digital teaching material editing and viewing platform in a preferred embodiment of the present invention;
[0061] Figure 2 Flowchart of a cloud-based online editing method for digital teaching materials in a preferred embodiment of the present invention;
[0062] Figure 3 A schematic diagram of a digital teaching material editing page in a preferred embodiment of the present invention;
[0063] Figure 4 A schematic diagram of a printed page of a digital teaching material in a preferred embodiment of the present invention;
[0064] Figure 5 This is a schematic diagram of a digital teaching material reading page in a preferred embodiment of the present invention. DETAILED DESCRIPTION
[0065] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative work shall fall within the scope of protection of the present invention.
[0066] like Figure 1 As shown:
[0067] First preferred embodiment:
[0068] A cloud-based online editing and viewing platform for digital textbooks, comprising a cloud server and a web client; wherein the cloud server comprises:
[0069] The digital teaching material storage module receives uploaded digital teaching materials and teaching documents, identifies the format of the teaching documents, converts the teaching documents into a standard format and saves them;
[0070] The digital textbook printing module first generates a unique printing QR code for the digital textbook, then obtains the digital textbook by scanning, and finally sends the digital textbook to the printer for printing;
[0071] The web client includes:
[0072] A digital teaching material editing module, which uses the teaching documents to create digital teaching materials or edit existing digital teaching materials as needed;
[0073] The digital textbook reading module uses a Web server or Metaverse device to read digital textbooks.
[0074] In the above preferred embodiment,
[0075] The digital teaching material storage module first receives the digital teaching materials and teaching documents uploaded by users, then automatically identifies the format of the teaching documents, and finally converts the teaching documents into a standard format and saves them in the database;
[0076] In the digital textbook printing module, a unique printable QR code is first generated for the digital textbook. When the digital textbook contains teaching resources that cannot be printed (such as videos and 3D models), a separate printable QR code is generated for each teaching resource that cannot be printed. The digital textbook is then converted into a directly printable PDF format.
[0077] The digital textbook editing module uses teaching documents to create new digital textbooks or edit existing digital textbooks. The editing process includes resource embedding, automatic typesetting, catalog generation, and cover production.
[0078] The digital textbook reading module supports single / double-page reading interface, full-screen reading interface, directory / thumbnail jump, bookmarks, notes, and viewing embedded teaching resources; including:
[0079] Users use web browsers or metaverse devices to implement data interaction between the web client and the cloud server. All data processing and storage generated by the interaction are completed on the cloud server.
[0080] The present invention may also include:
[0081] The digital textbook mall module is where user-created digital textbooks are put on the shelves after being reviewed.
[0082] The cloud server stores teaching documents, including images, videos, 3D model resources, 2D interactive resources, 3D interactive resources, test questions, and test papers. The 2D interactive resources include Flash resources and HTML5 resources, and the 3D interactive resources include Web browser-based WebGL resources and independent application resources.
[0083] Specifically, Flash, HTML5, and WebGL resources are parsed and executed directly by the browser; independent application resources (including .exe and .apk files) are loaded and run through a virtual machine to ensure resource compatibility and operational stability. The platform employs a dynamic resource allocation strategy, automatically adjusting virtual machine configuration based on current load conditions. In high-concurrency scenarios, load balancing technology distributes user requests to different virtual machine instances to ensure stable system operation. Furthermore, virtual machine snapshot technology enables rapid recovery to normal status in the event of resource anomalies.
[0084] The implementation of this dynamic resource allocation strategy is based on the fact that this server is a cloud server. Cloud computing technology enables dynamic resource allocation, load balancing, and snapshot management. For example, as system load increases, the number of CPU cores, memory capacity, and storage space can be quickly expanded without modifying the physical hardware. Furthermore, the load balancing service provided by the cloud platform automatically distributes user requests across multiple server instances and supports the rapid creation and restoration of server snapshots.
[0085] The digital textbook storage module supports uploading teaching documents in formats including PDF, doc, docx, xls, xlsx, xlsm, ppt, pptx, csv, tsv, dotm, xlt, xltm, dot, dotx, xlam, xla, xmind, dwg, dxf, visio, dcm, drawio, ofd, epub, wps, vsdx, xml, md.jsp, and ison. This allows users to upload teaching documents in various formats, increasing the platform's flexibility and user-friendliness; ensuring that all teaching materials are stored in the same format for unified processing; and providing a standardized foundation for subsequent functions such as automatic typesetting and resource embedding.
[0086] Converting teaching documents into standard formats includes: converting video documents into MP4 format, converting text data into PDF and / or JPG format, converting 3D model data into GLB format, and converting online resource data into ZIP format.
[0087] In order to ensure the printing effect, the digital teaching material printing module first converts the digital teaching material to be printed into PDF format and then sends it to the printer.
[0088] The digital textbook editing module may include a resource embedding unit, an automatic typesetting unit, a catalog generation unit, and a cover production unit; wherein:
[0089] A resource embedding unit, used for embedding teaching documents stored in the digital teaching material storage module into the digital teaching material;
[0090] Specifically, the resource embedding unit calls the database API to obtain a list of available resources, collects the resources selected by the user and their location information in the textbook, inserts the processed resource data into the textbook content data structure, and saves the updated textbook content to the database;
[0091] For images, the resource embedding unit embeds the images directly into the textbook content, or stores the link and loads it at rendering time;
[0092] For videos, the resource embedding unit calls the video player, so that the video can be watched directly in the digital textbook;
[0093] For 3D models, the resource embedding unit calls the model viewer, through which the model and exploded demonstration can be viewed in the digital teaching materials;
[0094] For test questions and test papers, the resource embedding unit calls the test questions and test papers in the database and loads them according to a predetermined format.
[0095] A resource editing module is embedded to read the teaching documents in the digital teaching materials and edit the teaching documents.
[0096] In the embedded resource editing module, editing the teaching document includes:
[0097] Adjust the position, size, color, and material of teaching documents;
[0098] Adjust the rotation angle of the teaching document;
[0099] Modify the content in the teaching documents;
[0100] The automatic typesetting unit organizes the text content and teaching resources in the digital textbook into a unified format text page according to the user-defined typesetting parameters; the automatic typesetting unit can automatically organize the user-entered text and embedded elements into a unified format and beautiful textbook text page according to the user-defined typesetting parameters.
[0101] Specifically, the automatic typesetting unit calls the preset page layout template and style sheet to obtain user-defined typesetting parameters, such as page size, margins, and fonts; parses text content, identifies structures such as paragraphs, titles, and lists, and analyzes the size and format of pictures, videos, etc.; calculates the available space based on the page size and margins, calculates the optimal position of text and pictures, handles text wrapping, paging, orphan lines, and widowed lines to ensure a harmonious layout with the text.
[0102] A directory generation unit generates a directory based on the titles in the textbook content and the page numbers where the titles are located;
[0103] Specifically, the directory generation unit scans the entire textbook content, identifies titles of all levels and the page numbers corresponding to each title; sorts the collected titles, and builds a hierarchical structure of the directory according to the order in which they appear in the textbook and the hierarchical relationship of the titles; then generates directory data containing title text, hierarchy and corresponding page numbers and saves it in the database, and finally calls the automatic typesetting unit to typeset the directory to obtain the page display effect of the directory.
[0104] The cover creation unit is used to create the cover of the textbook, which includes the cover, spine, and back cover. The directory generation unit is used to automatically generate the directory of the textbook;
[0105] Specifically, the cover production unit obtains the textbook title, author, publishing information, etc., calls the preset cover template or the background image uploaded by the user, and obtains the page number information of the textbook; generates the cover layout based on the textbook information and the selected template, and calculates the spine width based on the number of pages and paper thickness; generates image files of the cover, spine and back cover containing the position and style information of all cover elements and saves them in the database.
[0106] The digital textbook printing module can automatically process teaching resources that cannot be printed and convert digital textbooks into PDF format that can be directly printed;
[0107] Specifically, the digital textbook printing module identifies all resource information of the digital textbook, automatically processes the teaching resources that cannot be printed, and converts the teaching resources that cannot be printed into thumbnails; automatically generates corresponding QR codes for the teaching resources that cannot be printed, and places them below the thumbnails; calls the automatic typesetting unit to calculate the optimal position of the thumbnail and QR code on the page to ensure that it does not affect the overall typesetting, generates a PDF file of the digital textbook and saves it in the database. The PDF file content includes the textbook's text content, pictures, cover design, content page layout, spine information, back cover design, and thumbnails and QR codes of the teaching resources that cannot be printed.
[0108] For video files, the first frame or key frame of the video is taken as the thumbnail. For 3D model resource files, Three.js is used to render the model preview image. For 2D and 3D interactive resources, static preview images are generated.
[0109] The digital textbook printing module seamlessly integrates print and digital textbooks. While using print textbooks, students can scan these QR codes to directly access and view the corresponding digital teaching resources. This design cleverly addresses the limitations of print textbooks, which often prevent them from directly presenting multimedia content. By scanning the QR codes, students can easily access a wealth of digital teaching resources, such as videos, 3D models, 2D interactive resources, and 3D interactive resources, enhancing their learning experience and improving learning outcomes. This approach not only retains the traditional advantages of print textbooks but also seamlessly incorporates the convenience of digital teaching resources, providing students with a more comprehensive and interactive learning experience. It effectively bridges the gap between traditional print textbooks and modern digital educational resources, providing strong support for blended learning.
[0110] The digital textbook reading module provides users with personalized reading methods, including single / double-page reading interface, full-screen reading interface, directory / thumbnail jump, search, bookmarks, notes, and viewing embedded resources;
[0111] Specifically, users can browse the textbook content by flipping pages left and right or sliding, quickly jump to the required page using the table of contents or page numbers, adjust the reading ratio or switch to single or double page display mode as needed. For easy subsequent reference, users can add bookmarks to mark important content. During the reading process, users can add accompanying notes or full-text notes at any time to record their thoughts and understanding. In addition, the reader also supports full-screen mode, providing a more immersive reading experience. Users can quickly preview the entire textbook content through thumbnails and quickly jump to the page by clicking on the thumbnails. For specific resources in the textbook, users can also zoom in to view them for more detailed information.
[0112] After the user opens the digital textbook through the digital textbook reading module, the digital textbook reading module obtains the user's reading history. If the reading history of the textbook exists, it loads the last reading position. If not, it starts loading from the textbook cover. The digital textbook reading module loads the page position and requests the corresponding content data from the server. After receiving the data, it parses and renders the page content, including text, pictures, embedded resources, etc., and preloads the content of several adjacent pages to improve the page turning response speed. Figure 5 shown.
[0113] During the user's browsing process, the reading module continuously monitors the user's touch or click events. When a page turning operation is detected, it calculates the new page position, loads and displays the corresponding content, updates the reading progress, and synchronizes the new reading position to the server's reading history.
[0114] When the user changes the reading ratio or switches to single-page or double-page mode, this module recalculates the page layout, re-renders the current page content to adapt to the new display settings, and saves the user's preferences to the server;
[0115] When the user jumps to a directory, this module loads and displays the directory structure. When the user selects a directory, it calculates the target page location, requests and loads the target page content, updates the display, and updates the reading progress and synchronizes it to the server.
[0116] When a user uses the search function, this module receives the keywords entered by the user, performs a full-text search within the textbook content, and displays the search results to the user in order of relevance, including information such as the page number where the keyword is located and a contextual preview of the paragraph in which it is located. When the user clicks on a search result, this module automatically jumps to the corresponding page and highlights the search keyword. The search history is saved locally and can be synchronized to the server to facilitate the user's tracing of previous search records.
[0117] When a user adds a bookmark, this module records the current page location and timestamp, synchronizes the bookmark data to the server, and displays the bookmark mark on the interface;
[0118] When a user adds a note, this module captures the note content entered by the user, records the page location or text selection associated with the note, synchronizes the note data to the server, and displays the note icon or highlights at the corresponding location;
[0119] When a user views embedded teaching resources through the digital textbook reading module, when the user clicks on the teaching resource (such as a video or a 3D model), this module identifies the resource type, loads the corresponding resource viewer, player, or virtual machine, requests the complete resource data (such as a high-definition video stream or 3D model data) from the cloud server, and displays the resource content in the corresponding resource viewer, player, or virtual machine;
[0120] When the user exits the reader, this module records the last reading position and time, sends unsynchronized data (such as newly added notes and bookmarks) to the server, and then cleans up unnecessary local cache data;
[0121] Throughout the reading process, this module continuously monitors network status, temporarily using locally cached data when offline, and automatically syncing updates upon reconnection. During extended periods of network disconnection, this module restricts access to features that require a real-time network connection, such as viewing high-definition videos or large 3D models. Furthermore, this module collects user reading behavior data (such as reading time and page-turning frequency) for subsequent personalized recommendations and instructional analysis.
[0122] like Figure 2 As shown:
[0123] Second preferred embodiment:
[0124] A cloud-based online editing method for digital teaching materials, comprising:
[0125] S1, receiving uploaded digital teaching materials and teaching documents through the digital teaching material storage module, automatically identifying the format of the teaching documents, converting the teaching documents into a standard format and saving them; specifically:
[0126] First, collect digital teaching materials and teaching documents to build a basic database;
[0127] Then identify the format of each teaching document and determine whether the format of the teaching document is consistent with the standard format. If the two are consistent, save the teaching document to the database. If the two are inconsistent, convert the teaching document to the standard format and then save it to the database.
[0128] S2, using the teaching document to create a digital teaching material or edit an existing digital teaching material as needed; wherein, editing the digital teaching material through the digital teaching material editing module includes: setting basic information and appearance information of the teaching material, editing the text of the teaching material content, embedding teaching resources in the teaching material content, typesetting the teaching material content and generating a table of contents and cover; the specific steps include:
[0129] S21, set basic information of the textbook, including determining the textbook name, writing the textbook introduction, selecting the textbook category, and setting the training level;
[0130] S22, setting the textbook appearance information, including setting the textbook layout, designing the textbook cover, configuring the textbook spine, and making the textbook back cover;
[0131] S23, editing the text of the textbook content, including input, insertion, deletion, copy, paste and other operations;
[0132] S24, embedding teaching resources into the teaching material content through the resource embedding unit, and performing size adjustment, deletion, copy and paste operations; including:
[0133] S241, embed image resources, select image files, adjust image size and position, and add image description text;
[0134] S242, embed video resources, upload video files or enter video links, set the video player size and position, and configure video playback parameters such as automatic play and loop play;
[0135] S243, embed 3D model resources, import 3D model files, and set model display parameters, such as initial viewing angle, zoom ratio, etc.; specifically:
[0136] S244, embed the two-dimensional interactive resource, import the two-dimensional interactive resource file, and configure the size and position of the interactive area.
[0137] S245, embed 3D interactive resources, import 3D interactive resource files, and configure the size and position of the interactive area.
[0138] Specifically, the resource embedding unit calls the database API to obtain a list of available resources, collects the resources selected by the user and their location information in the textbook, inserts the processed resource data into the textbook content data structure, and saves the updated textbook content to the database;
[0139] For images, the resource embedding unit embeds the images directly into the textbook content, or stores the link and loads it at rendering time;
[0140] For videos, the resource embedding unit calls the video player, so that the video can be watched directly in the digital textbook;
[0141] For 3D models, the resource embedding unit calls the model viewer, through which the model and exploded demonstration can be viewed in the digital teaching materials;
[0142] For 2D interactive resources and 3D interactive resources, the resource embedding unit calls the built-in virtual machine, and independent application resources can be viewed through the virtual machine in the digital teaching materials.
[0143] S25, automatically typeset the text input by the user and the embedded teaching resources through the automatic typesetting unit to obtain a textbook page with a unified format; specifically:
[0144] The automatic typesetting unit calls preset page layout templates and style sheets to obtain user-defined typesetting parameters such as page size, margins, and fonts; parses text content, identifies structures such as paragraphs, titles, and lists, and analyzes the size and format of images and videos; calculates available space based on page size and margins, calculates the optimal position of text and images, and handles text wrapping, pagination, orphan lines, and widowed lines to ensure a harmonious layout with the text.
[0145] S26, generating a directory of the teaching material through a directory generating unit; specifically:
[0146] The catalog generation unit is used to identify all levels of titles in the digital textbook and the page numbers corresponding to each title; the collected titles are sorted, and the hierarchical structure of the catalog is constructed according to the order in which the titles appear in the textbook and the hierarchical relationship of the titles. Then, the catalog data containing the title text, hierarchy and corresponding page numbers is generated and saved in the database. Finally, the automatic typesetting unit is called to typeset the catalog to obtain the page display effect of the catalog.
[0147] S27, generating the textbook cover through the cover making unit. Specifically:
[0148] Obtain the basic information of the textbook set in S21 and the appearance information of the textbook set in S22 as well as the page number information of the textbook; generate a cover layout based on the textbook information and the selected template; calculate the spine width based on the number of pages and paper thickness; generate an image file of the cover, spine and back cover containing the position and style information of all cover elements; save the generated cover image file in the database.
[0149] S28, after the user completes the production of digital textbooks, upload the textbooks to the digital textbook mall module, the administrator reviews the digital textbooks, and after the review is passed, the digital textbooks are put on the shelves in the digital textbook mall module. Figure 3 As shown:
[0150] S2 also includes several trigger conditions to achieve automatic synchronization of the editing content in the 3D model editing module with the cloud server. The trigger conditions include the number of teaching resource insertion operations, interaction settings, importance of teaching material editing operations, layout adjustments, time intervals, user manual save instructions, and network status.
[0151] The trigger conditions for the teaching resource insertion operation include: triggering synchronization when inserting large files, such as when the video file size exceeds the preset value (such as 100MB), when the 3D model file is imported, and when the number of batch inserted pictures exceeds the preset value (such as 20);
[0152] Trigger conditions based on interaction settings include: triggering synchronization when configuring key interaction parameters, such as after setting the online resource interaction mode, modifying the trigger condition configuration, and updating the test answer settings;
[0153] Document editing-based trigger conditions include: triggering synchronization after important document operations, such as completing long text input (e.g., more than 500 words), inserting or modifying complex formulas, and completing chart data updates;
[0154] Trigger conditions based on layout adjustments include: triggering synchronization after important layout changes, such as: completing the resizing of teaching resources, batch modifying font styles, and updating the theme color configuration.
[0155] Time interval-based trigger conditions include: automatically triggering synchronization at fixed time intervals (such as every 15 minutes), forcibly triggering synchronization when continuous editing exceeds a preset time (such as 30 minutes), and triggering synchronization when the system idle time reaches a preset value (such as 5 minutes).
[0156] The trigger conditions based on the user's manual save command include: triggering synchronization immediately when clicking the Save button, forcibly triggering synchronization before performing the export operation, and prompting to trigger synchronization when switching editing units.
[0157] Trigger conditions based on network status include: automatically triggering synchronization after detecting that the network has recovered from a disconnection, executing unfinished synchronization tasks when the network status is good, and automatically synchronizing large files when there is sufficient bandwidth.
[0158] S2 also includes a data security assurance mechanism, which includes:
[0159] Perform exception handling; the system enables local storage when the network is disconnected; provides data recovery after the browser is unexpectedly closed; and provides users with error prompts and handling suggestions when synchronization fails.
[0160] Provide user feedback; the system displays the progress of the synchronization process; displays the time information of the most recent synchronization; provides configurable auto-save options; and displays feedback information on the synchronization status in real time.
[0161] S3, generating a unique printable QR code for each digital textbook and each unrecognizable teaching document in the digital textbook, and generating a PDF file of the digital textbook for printing through the digital textbook printing module;
[0162] S31, identifying all resource information of digital teaching materials;
[0163] S32, processing teaching resources that cannot be printed. For video files, take the first frame or key frame of the video as a thumbnail; for 3D model resource files, use Three.js to render the model preview; for 2D interactive resources and 3D interactive resources, generate a static preview;
[0164] S33, automatically generating corresponding QR codes for teaching resources that cannot be printed;
[0165] S34, calling the automatic typesetting unit to calculate the optimal position of the thumbnail and the QR code on the page;
[0166] S35, generates a PDF file of the digital textbook and saves it in the database, including the textbook's text content, pictures, cover design, content page layout, spine information, back cover design, and thumbnails and QR codes of teaching resources that cannot be printed. The printed page is as follows Figure 4 shown.
[0167] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware, or any combination thereof. When implemented in whole or in part in the form of a computer program product, the computer program product includes one or more computer instructions. When the computer program instructions are loaded or executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL) or wireless (e.g., infrared, wireless, microwave, etc.)) method. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)).
[0168] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A cloud-based online editing and viewing platform for digital teaching materials, characterized by: The cloud server includes a web client and a cloud server. The digital teaching material storage module receives uploaded digital teaching materials and teaching documents, identifies the format of the teaching documents, converts the teaching documents into a standard format and saves them; The digital textbook printing module first generates a unique printing QR code for the digital textbook, then obtains the digital textbook by scanning, and finally sends the digital textbook to the printer for printing; The web client includes: A digital teaching material editing module, which uses the teaching documents to create digital teaching materials or edit existing digital teaching materials as needed; The digital textbook reading module uses a Web server or Metaverse device to read digital textbooks.
2. The cloud-based online digital teaching material editing and viewing platform according to claim 1 is characterized in that: The teaching documents include pictures, videos, three-dimensional model resources, two-dimensional interactive resources, three-dimensional interactive resources, test questions and test papers.
3. The cloud-based online digital teaching material editing and viewing platform according to claim 2 is characterized in that: The two-dimensional interactive resources include Flash resources and HTML5 resources, and the three-dimensional interactive resources include WebGL resources based on a Web browser and independent application resources.
4. The cloud-based online digital teaching material editing and viewing platform according to claim 1 is characterized in that: Converting teaching documents into standard formats includes: converting video documents into MP4 format, converting text data into PDF and / or JPG format, converting 3D model data into GLB format, and converting online resource data into ZIP format.
5. The cloud-based online digital teaching material editing and viewing platform according to claim 1 is characterized in that: The digital teaching material printing module converts the digital teaching material to be printed into PDF format and sends it to the printer.
6. The cloud-based online digital teaching material editing and viewing platform according to claim 1 is characterized in that: The digital teaching material editing module includes: A resource embedding unit, used for embedding teaching documents stored in the digital teaching material storage module into the digital teaching material; A resource editing module is embedded to read the teaching documents in the digital teaching materials and edit the teaching documents.
7. The cloud-based online digital teaching material editing and viewing platform according to claim 6 is characterized in that: In the embedded resource editing module, editing the teaching document includes: Adjust the position, size, color, and material of teaching documents; Adjust the rotation angle of the teaching document; Modify the content in the teaching document.
8. The cloud-based online digital teaching material editing and viewing platform according to claim 1 is characterized in that: The digital teaching material editing module includes: The automatic typesetting unit organizes the text content and teaching resources in the digital textbook into text pages with a unified format according to the user-defined typesetting parameters; A directory generation unit generates a directory based on the titles in the textbook content and the page numbers where the titles are located; The cover production unit is used to create the cover of the textbook, and the cover includes a cover, a spine, and a back cover.
9. A cloud-based online editing method for digital teaching materials, characterized in that: The following editing process is completed by using the cloud-based digital teaching material online editing and viewing platform described in any one of claims 1 to 8: S1, receiving uploaded digital teaching materials and teaching documents, identifying the format of the teaching documents, converting the teaching documents into a standard format and saving them; S2, creating a digital teaching material using the teaching document or editing an existing digital teaching material as needed; S3, generates a unique printed QR code for each digital teaching material and each unrecognizable teaching document in the digital teaching material.
10. The cloud-based online editing method for digital teaching materials according to claim 9, characterized in that: S1 is specifically: First, collect digital teaching materials and teaching documents to build a basic database; Then identify the format of each teaching document and determine whether the format of the teaching document is consistent with the standard format. If the two are consistent, save the teaching document to the database. If the two are inconsistent, convert the teaching document to the standard format and then save it to the database.
11. The cloud-based online editing method for digital teaching materials according to claim 9, characterized in that: In S2, creating digital teaching materials includes: S21, set basic information of the textbook, including determining the textbook name, writing the textbook introduction, selecting the textbook category, and setting the training level; S22, setting the textbook appearance information, including setting the textbook layout, designing the textbook cover, configuring the textbook spine and textbook back cover; S23, editing the text of the textbook content, including input, insert, delete, copy, and paste operations; S24, embedding teaching resources into the teaching material content through the resource embedding unit, and performing size adjustment, deletion, copy and paste operations; S25, automatically typeset the text input by the user and the embedded teaching resources by an automatic typesetting unit to obtain a textbook page with a unified format; S26, generating a directory of the teaching material by a directory generating unit; S27, generating the cover of the teaching material through the cover making unit.
12. The cloud-based online editing method for digital teaching materials according to claim 11, characterized in that: S2 also includes: S28, after the user completes the creation of the digital textbook, the digital textbook is uploaded to the digital textbook mall module, and the administrator reviews the digital textbook. After the review is passed, the digital textbook is put on the shelf in the digital textbook mall module.
13. The cloud-based online editing method for digital teaching materials according to claim 9, characterized in that: S3 includes: S31, identifying all teaching resource information of digital teaching materials; S32, processing of teaching resources that cannot be printed; including: For video files, take the first frame or key frame of the video as the thumbnail; For 3D model resource files, use Three.js to render the model preview; For 2D and 3D interactive resources, generate static preview images; S33, automatically generating corresponding QR codes for teaching resources that cannot be printed; S34, calling the automatic typesetting unit to calculate the positions of the thumbnail and the QR code on the page; S35 generates and saves a PDF file of the digital teaching material, including the text content, pictures, cover design, content page layout, spine information, back cover design, and thumbnails and QR codes of teaching resources that cannot be printed.