[go: up one dir, main page]

CN115659085A - Interactive resource processing method and device and teaching method and device - Google Patents

Interactive resource processing method and device and teaching method and device Download PDF

Info

Publication number
CN115659085A
CN115659085A CN202211399816.7A CN202211399816A CN115659085A CN 115659085 A CN115659085 A CN 115659085A CN 202211399816 A CN202211399816 A CN 202211399816A CN 115659085 A CN115659085 A CN 115659085A
Authority
CN
China
Prior art keywords
resource
interactive
target interactive
target
rendering
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211399816.7A
Other languages
Chinese (zh)
Inventor
朱宏伟
张欢
魏志强
李静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anhui Xunfeijiecheng Software Technology Co ltd
Original Assignee
Anhui Xunfeijiecheng Software Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anhui Xunfeijiecheng Software Technology Co ltd filed Critical Anhui Xunfeijiecheng Software Technology Co ltd
Priority to CN202211399816.7A priority Critical patent/CN115659085A/en
Publication of CN115659085A publication Critical patent/CN115659085A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application provides an interactive resource processing method and device and a teaching method and device, and relates to the technical field of internet. The interactive resource processing method comprises the following steps: responding to an interactive resource rendering request of a user, and acquiring characteristic information of a target interactive resource corresponding to the interactive resource rendering request; and rendering the target interactive resources based on the characteristic information to obtain resource preview data corresponding to the target interactive resources, so that the target interactive resources are displayed for user preview based on the resource preview data. According to the scheme, the resource preview data is obtained by actually rendering the target interactive resources, so that accurate preview and operation of different types of teaching resources can be adaptively realized on the basis of the resource preview data.

Description

交互式资源处理方法及装置、教学方法及装置Interactive resource processing method and device, teaching method and device

技术领域technical field

本申请涉及互联网技术领域,具体涉及一种交互式资源处理方法及装置、教学方法及装置。The present application relates to the field of Internet technology, in particular to an interactive resource processing method and device, and a teaching method and device.

背景技术Background technique

目前,市面上提供的制作交互式资源的工具之间基本不能互通,而交互式资源本身又缺乏直接的预览能力,所以,用户需要先在本地客户端安装某种具体类型的交互式资源的浏览软件,找到符合需求的目标交互式资源,并下载该资源,然后才能打开交互式资源的实际内容,进而判断该交互式资源是否是符合需求的资源。At present, the tools available on the market for making interactive resources are basically not interoperable, and the interactive resources themselves lack the ability to preview directly. Therefore, users need to install a specific type of interactive resource browser on the local client first. The software finds the target interactive resource that meets the requirement, and downloads the resource, and then opens the actual content of the interactive resource, and then judges whether the interactive resource is a resource that meets the requirement.

也就是说,想要在课堂上展示多个不同的交互式资源,需要在多个浏览软件之间切换,导致用户与交互式资源之间手动交互频繁,用户检索和了解交互式资源内容的过程非常耗时。In other words, if you want to display multiple different interactive resources in the classroom, you need to switch between multiple browsing software, resulting in frequent manual interaction between users and interactive resources, and the process of users searching and understanding the content of interactive resources Very time consuming.

发明内容Contents of the invention

为了解决上述技术问题,提出了本申请。本申请实施例提供了一种交互式资源处理方法及装置、教学方法及装置。In order to solve the above-mentioned technical problems, the present application is proposed. Embodiments of the present application provide an interactive resource processing method and device, and a teaching method and device.

第一方面,本申请一实施例提供了一种交互式资源处理方法,该方法包括:响应于用户的交互式资源渲染请求,获取交互式资源渲染请求对应的目标交互式资源的特征信息;基于特征信息,渲染目标交互式资源,得到目标交互式资源对应的资源预览数据,以便基于资源预览数据,向用户预览展示目标交互式资源。In the first aspect, an embodiment of the present application provides a method for processing interactive resources, the method including: responding to a user's interactive resource rendering request, acquiring feature information of a target interactive resource corresponding to the interactive resource rendering request; Feature information, rendering the target interactive resource, and obtaining the resource preview data corresponding to the target interactive resource, so as to preview and display the target interactive resource to the user based on the resource preview data.

结合第一方面,在第一方面的某些实现方式中,在基于特征信息,渲染目标交互式资源,得到目标交互式资源对应的资源预览数据之前,还包括:确定目标交互式资源所属的资源类型,其中,资源类型包括课件资源以及组成课件资源的素材资源;其中,基于特征信息,渲染目标交互式资源,得到目标交互式资源对应的资源预览数据,包括:基于目标交互式资源所属的资源类型和特征信息,渲染目标交互式资源,得到目标交互式资源对应的资源预览数据。In combination with the first aspect, in some implementations of the first aspect, before rendering the target interactive resource based on the feature information and obtaining the resource preview data corresponding to the target interactive resource, it also includes: determining the resource to which the target interactive resource belongs Type, where the resource type includes courseware resources and the material resources that make up the courseware resources; where, based on feature information, the target interactive resource is rendered to obtain the resource preview data corresponding to the target interactive resource, including: based on the resource to which the target interactive resource belongs Type and feature information, render the target interactive resource, and obtain the resource preview data corresponding to the target interactive resource.

结合第一方面,在第一方面的某些实现方式中,基于目标交互式资源所属的资源类型和特征信息,渲染目标交互式资源,得到目标交互式资源对应的资源预览数据,包括:若目标交互式资源所属的资源类型为课件资源,则基于特征信息,对目标交互式资源进行筛选,得到进行渲染所需的必要课件资源;渲染必要课件资源,得到目标交互式资源对应的资源预览数据;In combination with the first aspect, in some implementations of the first aspect, the target interactive resource is rendered based on the resource type and feature information to which the target interactive resource belongs, and the resource preview data corresponding to the target interactive resource is obtained, including: if the target If the resource type of the interactive resource is a courseware resource, then based on the characteristic information, the target interactive resource is screened to obtain the necessary courseware resource for rendering; the necessary courseware resource is rendered to obtain the resource preview data corresponding to the target interactive resource;

若目标交互式资源所属的资源类型为素材资源,则基于特征信息,渲染目标交互式资源,得到目标交互式资源对应的资源预览数据。If the resource type of the target interactive resource is a material resource, the target interactive resource is rendered based on the characteristic information, and resource preview data corresponding to the target interactive resource is obtained.

结合第一方面,在第一方面的某些实现方式中,素材资源包括图像资源,基于特征信息,渲染目标交互式资源,得到目标交互式资源对应的资源预览数据,包括:确定图像资源的格式;若预设渲染格式集合中不包括图像资源的格式,则基于预设渲染格式集合,对图像资源进行格式转换,以便预设渲染格式集合中包括转换后的图像资源的格式;确定转换后的图像资源的路径信息;基于路径信息和转换后的图像资源的特征信息,渲染转换后的图像资源,得到目标交互式资源对应的资源预览数据。In combination with the first aspect, in some implementations of the first aspect, the material resource includes an image resource, and based on the feature information, the target interactive resource is rendered to obtain resource preview data corresponding to the target interactive resource, including: determining the format of the image resource ; If the format of the image resource is not included in the preset rendering format set, the format of the image resource is converted based on the preset rendering format set, so that the format of the converted image resource is included in the preset rendering format set; determine the converted image resource The path information of the image resource; based on the path information and the feature information of the converted image resource, the converted image resource is rendered to obtain resource preview data corresponding to the target interactive resource.

结合第一方面,在第一方面的某些实现方式中,素材资源包括音频资源,基于特征信息,渲染目标交互式资源,得到目标交互式资源对应的资源预览数据,包括:基于音频资源,生成音频资源对应的缩略图;确定缩略图的路径信息;基于缩略图的路径信息和音频资源的特征信息,渲染音频资源,得到目标交互式资源对应的资源预览数据。In combination with the first aspect, in some implementations of the first aspect, the material resource includes an audio resource, and based on the feature information, rendering the target interactive resource to obtain resource preview data corresponding to the target interactive resource, including: based on the audio resource, generating The thumbnail corresponding to the audio resource; determine the path information of the thumbnail; render the audio resource based on the path information of the thumbnail and the feature information of the audio resource, and obtain resource preview data corresponding to the target interactive resource.

结合第一方面,在第一方面的某些实现方式中,在响应于用户的交互式资源渲染请求,获取交互式资源渲染请求对应的目标交互式资源的特征信息之前,还包括:响应于用户的交互式资源获取请求,将交互式资源添直接加到教学课件。With reference to the first aspect, in some implementation manners of the first aspect, before responding to the user's interactive resource rendering request and obtaining the feature information of the target interactive resource corresponding to the interactive resource rendering request, it also includes: responding to the user's interactive resource rendering request interactive resource acquisition request, and add interactive resources directly to the teaching courseware.

第二方面,本申请一实施例提供了一种教学方法,该方法包括:响应于用户的教学请求,确定教学请求对应的待使用交互式资源;获取待使用交互式资源对应的资源预览数据,其中,待使用交互式资源对应的资源预览数据基于第一方面所述的交互式资源处理方法得到的;基于待使用交互式资源对应的资源预览数据,预览展示待使用交互式资源,以便用户基于待使用交互式资源的预览展示结果执行教学任务。In a second aspect, an embodiment of the present application provides a teaching method, the method comprising: in response to a user's teaching request, determining an interactive resource to be used corresponding to the teaching request; acquiring resource preview data corresponding to the interactive resource to be used, Wherein, the resource preview data corresponding to the interactive resource to be used is obtained based on the interactive resource processing method described in the first aspect; based on the resource preview data corresponding to the interactive resource to be used, the interactive resource to be used is previewed and displayed, so that the user can based on Teaching tasks to be performed using the preview presentation of the interactive resource.

第三方面,本申请一实施例提供了一种交互式资源处理装置,该装置包括:第一获取模块,用于响应于用户的交互式资源渲染请求,获取交互式资源渲染请求对应的目标交互式资源的特征信息;第二获取模块,用于基于特征信息,渲染目标交互式资源,得到目标交互式资源对应的资源预览数据,以便基于资源预览数据,向用户预览展示目标交互式资源。In the third aspect, an embodiment of the present application provides an interactive resource processing device, the device includes: a first acquisition module, configured to respond to a user's interactive resource rendering request, and acquire the target interactive resource corresponding to the interactive resource rendering request The characteristic information of the interactive resource; the second acquisition module is used to render the target interactive resource based on the characteristic information, and obtain resource preview data corresponding to the target interactive resource, so as to preview and display the target interactive resource to the user based on the resource preview data.

第四方面,本申请一实施例提供了一种教学装置,该装置包括:第一确定模块,用于响应于用户的教学请求,确定教学请求对应的待使用交互式资源;第二确定模块,用于获取待使用交互式资源对应的资源预览数据,其中,待使用交互式资源对应的资源预览数据基于第一方面所述的交互式资源处理方法得到的;预览展示模块,用于基于待使用交互式资源对应的资源预览数据,预览展示待使用交互式资源,以便用户基于待使用交互式资源的预览展示结果执行教学任务。In a fourth aspect, an embodiment of the present application provides a teaching device, which includes: a first determining module, configured to respond to a user's teaching request, and determine an interactive resource to be used corresponding to the teaching request; a second determining module, It is used to obtain resource preview data corresponding to interactive resources to be used, wherein the resource preview data corresponding to interactive resources to be used is obtained based on the interactive resource processing method described in the first aspect; the preview display module is used to The resource preview data corresponding to the interactive resource, which previews and displays the interactive resource to be used, so that the user can perform teaching tasks based on the preview display result of the interactive resource to be used.

第五方面,本申请一实施例提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,该计算机程序用于执行第一方面和第二方面所述的方法。In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and the computer program is used to execute the methods described in the first aspect and the second aspect.

第六方面,本申请一实施例提供了一种电子设备,该电子设备包括:处理器;用于存储处理器可执行指令的存储器;该处理器用于执行第一方面和第二方面所述的方法。In a sixth aspect, an embodiment of the present application provides an electronic device, the electronic device comprising: a processor; a memory for storing instructions executable by the processor; the processor is used for executing the instructions described in the first aspect and the second aspect method.

本申请实施例提供的交互式资源处理方法,在接收到用户的交互式资源渲染请求时,获取交互式资源渲染请求对应的目标交互式资源的特征信息。并根据该特征信息,渲染目标交互式资源,得到目标交互式资源对应的资源预览数据,以便基于该资源预览数据,向用户预览展示目标交互式资源。本申请中的方案通过实际地渲染目标交互式资源,得到资源预览数据,以便后续基于资源预览数据自适应地实现不同类型的教学资源的精准预览和操作。The interactive resource processing method provided by the embodiment of the present application acquires feature information of a target interactive resource corresponding to the interactive resource rendering request when receiving the user's interactive resource rendering request. And according to the feature information, the target interactive resource is rendered, and the resource preview data corresponding to the target interactive resource is obtained, so as to preview and display the target interactive resource to the user based on the resource preview data. The solution in this application obtains the resource preview data by actually rendering the target interactive resource, so that the subsequent accurate preview and operation of different types of teaching resources can be adaptively realized based on the resource preview data.

附图说明Description of drawings

通过结合附图对本申请实施例进行更详细的描述,本申请的上述以及其他目的、特征和优势将变得更加明显。附图用来提供对本申请实施例的进一步理解,并且构成说明书的一部分,与本申请实施例一起用于解释本申请,并不构成对本申请的限制。在附图中,相同的参考标号通常代表相同部件或步骤。The above and other objects, features and advantages of the present application will become more apparent through a more detailed description of the embodiments of the present application in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present application, and constitute a part of the specification, and are used together with the embodiments of the present application to explain the present application, and do not constitute limitations to the present application. In the drawings, the same reference numerals generally represent the same components or steps.

图1所示为本申请实施例所适用的一场景示意图。FIG. 1 is a schematic diagram of a scene applicable to this embodiment of the present application.

图2所示为本申请一示例性实施例提供的交互式资源处理方法的流程示意图。Fig. 2 is a schematic flowchart of a method for processing interactive resources provided by an exemplary embodiment of the present application.

图3所示为本申请一示例性实施例提供的得到目标交互式资源对应的资源预览数据的流程示意图。Fig. 3 is a schematic flowchart of obtaining resource preview data corresponding to a target interactive resource provided by an exemplary embodiment of the present application.

图4所示为本申请另一示例性实施例提供的得到目标交互式资源对应的资源预览数据的流程示意图。Fig. 4 is a schematic flowchart of obtaining resource preview data corresponding to a target interactive resource provided by another exemplary embodiment of the present application.

图5所示为本申请又一示例性实施例提供的得到目标交互式资源对应的资源预览数据的流程示意图。Fig. 5 is a schematic flowchart of obtaining resource preview data corresponding to a target interactive resource provided by another exemplary embodiment of the present application.

图6所示为本申请再一示例性实施例提供的得到目标交互式资源对应的资源预览数据的流程示意图。FIG. 6 is a schematic flowchart of obtaining resource preview data corresponding to a target interactive resource provided by yet another exemplary embodiment of the present application.

图7所示为本申请一示例性实施例提供的教学方法的流程示意图。Fig. 7 is a schematic flowchart of a teaching method provided by an exemplary embodiment of the present application.

图8所示为本申请一示例性实施例提供的交互式资源处理装置的结构示意图。Fig. 8 is a schematic structural diagram of an interactive resource processing device provided by an exemplary embodiment of the present application.

图9所示为本申请一示例性实施例提供的教学装置的结构示意图。Fig. 9 is a schematic structural diagram of a teaching device provided by an exemplary embodiment of the present application.

图10所示为本申请一实施例提供的电子设备的结构示意图。FIG. 10 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some, not all, embodiments of the application. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

申请概述Application overview

随着数字化学习越来越受欢迎,交互式资源在教学中的重要性也逐步提升。其中,交互式资源一般带有可操作的交互界面,集形象化、生动化、互动化于一体,解决了实物教具、以及单向教学等无法解决的交互难点问题。目前,市面上提供的制作交互式资源的工具之间基本不能互通,而交互式资源本身缺乏直接的预览能力。用户通常需要先在本地客户端安装某种具体类型的交互式资源的浏览软件,下载该交互式资源,然后才能打开交互式资源的实际内容,同时判断该交互式资源是否是用户所需的资源。用户若想要在一堂课上展示多个不同的交互式资源,需要在多个浏览软件之间切换。从以上过程可以看出,在缺乏统一的交互式资源预览服务的情况下,用户与交互式资源之间产生的交互会更加频繁,并且,用户检索和了解交互式资源内容的过程会更加耗时。As digital learning becomes more popular, so does the importance of interactive resources in teaching. Among them, interactive resources generally have an operable interactive interface, which integrates visualization, vividness, and interaction, and solves the unsolvable interactive difficulties such as physical teaching aids and one-way teaching. At present, the tools for making interactive resources available on the market are basically not interoperable, and the interactive resources themselves lack direct preview capabilities. Users usually need to install a specific type of interactive resource browsing software on the local client first, download the interactive resource, and then open the actual content of the interactive resource, and at the same time judge whether the interactive resource is the resource required by the user . If users want to display multiple different interactive resources in one class, they need to switch between multiple browsing software. From the above process, it can be seen that in the absence of a unified interactive resource preview service, the interaction between users and interactive resources will be more frequent, and the process for users to retrieve and understand the content of interactive resources will be more time-consuming .

相关交互式资源的预览方法中,一般是先获取资源包,然后通过预先设定的某种截图规则对应用界面进行截图,将截图发送给服务器作为该资源的预览效果。该方法虽然也较好地为应用提供了针对运行界面的预览,但是未对资源的具体交互过程生成预览。同时,当截图个数较多时,用户观看所有截图耗费的时间较长。即,方法还只是停留在获取截图的资源信息获取阶段,并没有对资源中的重要部分信息进行提取和拼接,以节省用户的预览时间。In the method of previewing related interactive resources, generally, the resource package is obtained first, and then the application interface is screenshotted according to a preset screenshot rule, and the screenshot is sent to the server as a preview effect of the resource. Although this method also provides the application with a preview of the running interface, it does not generate a preview of the specific interaction process of the resource. At the same time, when the number of screenshots is large, it takes a long time for the user to view all the screenshots. That is, the method is only in the resource information acquisition stage of obtaining screenshots, and does not extract and splice important part of information in the resources, so as to save the user's preview time.

由此可见,目前现有的通过生成目标交互式资源的截图来实现的目标交互式资源的预览,受限于图片的表现形式,只能进行简单的查看,无法获取更深层次的信息。本申请实施例提供的交互式资源处理方法,在接收到用户的交互式资源渲染请求时,获取交互式资源渲染请求对应的目标交互式资源的特征信息。并根据该特征信息,渲染目标交互式资源,得到目标交互式资源对应的资源预览数据,以便基于该资源预览数据,向用户预览展示目标交互式资源。本申请中的方案通过实际地渲染目标交互式资源,以自适应地实现不同类型的教学资源的精准预览和操作,并且可以让用户掌握目标交互式资源的实际信息,了解目标交互式资源的表现效果,进而提升了使用交互式资源时的教学体验。It can be seen that the current preview of the target interactive resource realized by generating a screenshot of the target interactive resource is limited by the representation form of the picture, and can only be viewed simply, but cannot obtain deeper information. The interactive resource processing method provided by the embodiment of the present application acquires feature information of a target interactive resource corresponding to the interactive resource rendering request when receiving the user's interactive resource rendering request. And according to the feature information, the target interactive resource is rendered, and the resource preview data corresponding to the target interactive resource is obtained, so as to preview and display the target interactive resource to the user based on the resource preview data. The solution in this application realizes the accurate preview and operation of different types of teaching resources adaptively by actually rendering the target interactive resources, and allows users to grasp the actual information of the target interactive resources and understand the performance of the target interactive resources effects, thereby enhancing the teaching experience when using interactive resources.

示例性应用场景Exemplary Application Scenarios

本申请实施例提供的交互式资源处理方法可由电子设备执行,该电子设备可以是终端,比如智能手机、平板电脑、台式计算机。或者,该电子设备还可以是服务器,比如独立的物理服务器、由多个服务器组成的服务器集群、或者能进行云计算的云服务器。The interactive resource processing method provided in the embodiment of the present application may be executed by an electronic device, and the electronic device may be a terminal, such as a smart phone, a tablet computer, or a desktop computer. Alternatively, the electronic device may also be a server, such as an independent physical server, a server cluster composed of multiple servers, or a cloud server capable of cloud computing.

图1所示为本申请实施例所适用的一场景示意图。在本申请实施例中,电子设备为服务器。具体地,如图1所示,本实施环境包括终端11和服务器12,终端11和服务器12之间通信连接。FIG. 1 is a schematic diagram of a scene applicable to this embodiment of the present application. In this embodiment of the application, the electronic device is a server. Specifically, as shown in FIG. 1 , the implementation environment includes a terminal 11 and a server 12 , and a communication connection between the terminal 11 and the server 12 .

终端11可以是智能手机、平板电脑、台式计算机等。终端11中部署有资源预览应用,通过该应用接收用户的交互式资源渲染请求,并将该请求发送至服务器12,服务器12获取交互式资源渲染请求对应的目标交互式资源的特征信息。进一步地,根据该特征信息,渲染目标交互式资源,得到目标交互式资源对应的资源预览数据。服务器12将资源预览数据发送至资源预览应用,资源预览应用根据资源预览数据,向用户预览展示目标交互式资源。服务器12可以是实体机,也可以是虚拟机,数量可以是一个或多个,本申请实施例对服务器的类型和数量不做限定。The terminal 11 may be a smart phone, a tablet computer, a desktop computer, and the like. A resource preview application is deployed in the terminal 11, through which the user's interactive resource rendering request is received, and the request is sent to the server 12, and the server 12 acquires feature information of the target interactive resource corresponding to the interactive resource rendering request. Further, according to the feature information, the target interactive resource is rendered to obtain resource preview data corresponding to the target interactive resource. The server 12 sends the resource preview data to the resource preview application, and the resource preview application previews and displays the target interactive resource to the user according to the resource preview data. The server 12 may be a physical machine or a virtual machine, and the number may be one or more. The embodiment of the present application does not limit the type and number of servers.

示例性方法exemplary method

图2所示为本申请一示例性实施例提供的交互式资源处理方法的流程示意图。如图2所示,本申请实施例提供的交互式资源处理方法包括如下步骤。Fig. 2 is a schematic flowchart of a method for processing interactive resources provided by an exemplary embodiment of the present application. As shown in FIG. 2 , the interactive resource processing method provided by the embodiment of the present application includes the following steps.

步骤S210,响应于用户的交互式资源渲染请求,获取交互式资源渲染请求对应的目标交互式资源的特征信息。Step S210, in response to the user's interactive resource rendering request, acquire feature information of a target interactive resource corresponding to the interactive resource rendering request.

示例性地,特征信息包括交互式资源封装包的元数据信息、属性信息、尺寸信息、位置信息和配置项信息中的至少一种信息。Exemplarily, the feature information includes at least one of metadata information, attribute information, size information, location information, and configuration item information of the interactive resource package.

步骤S220,基于特征信息,渲染目标交互式资源,得到目标交互式资源对应的资源预览数据,以便基于资源预览数据,向用户预览展示目标交互式资源。Step S220: Render the target interactive resource based on the feature information, and obtain resource preview data corresponding to the target interactive resource, so as to preview and display the target interactive resource to the user based on the resource preview data.

具体地,在对目标交互式资源进行预览展示前,需要设置预览显示样式,根据预览显示样式和对媒体预览数据,向用户预览展示目标交互式资源。并且,目标交互式资源的特征信息在后续渲染时,会被正常渲染出来。Specifically, before the target interactive resource is previewed and displayed, a preview display style needs to be set, and the target interactive resource is previewed and displayed to the user according to the preview display style and the media preview data. Moreover, the feature information of the target interactive resource will be rendered normally during subsequent rendering.

进一步地,根据目标交互式资源的特征信息,选择与目标交互式资源的特征信息对应的渲染组件,利用渲染组件对目标交互式资源进行渲染,得到目标交互式资源对应的资源预览数据,并将资源预览数据适配到展示终端中,以便展示终端对目标交互式资源进行逼真、实时的展示。Further, according to the characteristic information of the target interactive resource, select the rendering component corresponding to the characteristic information of the target interactive resource, use the rendering component to render the target interactive resource, obtain the resource preview data corresponding to the target interactive resource, and The resource preview data is adapted to the display terminal, so that the display terminal can display the target interactive resource realistically and in real time.

对于交互式目标交互式资源,在对交互式目标交互式资源进行预览展示的同时,也能实时感知用户的各种交互行为,实现交互式目标交互式资源的各种界面的切换。For the interactive target interactive resource, while previewing and displaying the interactive target interactive resource, it can also perceive various interactive behaviors of the user in real time, and realize the switching of various interfaces of the interactive target interactive resource.

此外,还可以利用超文本标记语言(Hyper Text Markup Language 5,HTML5)的生成引擎,在服务器上将交互式资源转换为HTML5,以得到资源预览数据。In addition, a generation engine of Hyper Text Markup Language (Hyper Text Markup Language 5, HTML5) can also be used to convert the interactive resources into HTML5 on the server, so as to obtain resource preview data.

本申请实施例提供的交互式资源处理方法,在接收到用户的交互式资源渲染请求时,获取交互式资源渲染请求对应的目标交互式资源的特征信息。并根据该特征信息,渲染目标交互式资源,得到目标交互式资源对应的资源预览数据,以便基于该资源预览数据,向用户预览展示目标交互式资源。本申请中的方案通过实际地渲染目标交互式资源,得到资源预览数据,以便后续基于资源预览数据自适应地实现不同类型的教学资源的精准预览和操作。The interactive resource processing method provided by the embodiment of the present application acquires feature information of a target interactive resource corresponding to the interactive resource rendering request when receiving the user's interactive resource rendering request. And according to the feature information, the target interactive resource is rendered, and the resource preview data corresponding to the target interactive resource is obtained, so as to preview and display the target interactive resource to the user based on the resource preview data. The solution in this application obtains the resource preview data by actually rendering the target interactive resource, so that the subsequent accurate preview and operation of different types of teaching resources can be adaptively realized based on the resource preview data.

图3所示为本申请一示例性实施例提供的得到目标交互式资源对应的资源预览数据的流程示意图。在图2所示实施例的基础上延伸出图3所示实施例,下面着重叙述图3所示实施例与图2所示实施例的不同之处,相同之处不再赘述。Fig. 3 is a schematic flowchart of obtaining resource preview data corresponding to a target interactive resource provided by an exemplary embodiment of the present application. The embodiment shown in FIG. 3 is extended on the basis of the embodiment shown in FIG. 2 . The difference between the embodiment shown in FIG. 3 and the embodiment shown in FIG. 2 will be mainly described below, and the similarities will not be repeated.

如图3所示,在本申请实施例中,在基于特征信息,渲染目标交互式资源,得到目标交互式资源对应的资源预览数据之前,还包括如下步骤。As shown in FIG. 3 , in the embodiment of the present application, the following steps are further included before rendering the target interactive resource based on the feature information and obtaining resource preview data corresponding to the target interactive resource.

步骤S310,确定目标交互式资源所属的资源类型。Step S310, determining the resource type to which the target interactive resource belongs.

其中,资源类型包括课件资源以及组成课件资源的素材资源。Wherein, the resource type includes courseware resources and material resources constituting the courseware resources.

示例性地,课件资源包括PPT课件、word文本课件、视频课件。素材资源包括课件资源中的图片、思维导图、表格等等。Exemplarily, the courseware resources include PPT courseware, Word text courseware, and video courseware. Material resources include pictures, mind maps, tables, etc. in courseware resources.

其中,基于特征信息,渲染目标交互式资源,得到目标交互式资源对应的资源预览数据(步骤S220),包括如下步骤。Wherein, based on the feature information, the target interactive resource is rendered to obtain resource preview data corresponding to the target interactive resource (step S220), including the following steps.

步骤S320,基于目标交互式资源所属的资源类型和特征信息,渲染目标交互式资源,得到目标交互式资源对应的资源预览数据。Step S320: Render the target interactive resource based on the resource type and characteristic information to which the target interactive resource belongs, and obtain resource preview data corresponding to the target interactive resource.

具体来说,对于课件资源,在对课件资源进行渲染时,需要下载一些对应的插件和模板,而对于素材资源,渲染方式简单。所以,在对目标交互式资源进行渲染时,需要先确定目标交互式资源所属的资源类型,并进一步根据目标交互式资源所属的具体的资源类型、以及目标交互式资源的特征信息,对目标交互式资源进行渲染,以得到目标交互式资源对应的资源预览数据。通过本申请实施例中的方案,可以将目标交互式资源进一步地具象,以根据不同资源类型的目标交互式资源,采用不同的渲染方式,加快目标交互式资源的渲染速度、提高得到的渲染结果的准确性。Specifically, for courseware resources, when rendering courseware resources, some corresponding plug-ins and templates need to be downloaded, while for material resources, the rendering method is simple. Therefore, when rendering the target interactive resource, it is necessary to first determine the resource type to which the target interactive resource belongs, and further, according to the specific resource type to which the target interactive resource belongs and the characteristic information of the target interactive resource, the target interactive Interactive resources are rendered to obtain the resource preview data corresponding to the target interactive resources. Through the solution in the embodiment of this application, the target interactive resource can be further visualized, so that different rendering methods can be adopted according to the target interactive resource of different resource types, so as to speed up the rendering speed of the target interactive resource and improve the obtained rendering result accuracy.

图4所示为本申请另一示例性实施例提供的得到目标交互式资源对应的资源预览数据的流程示意图。在图3所示实施例的基础上延伸出图4所示实施例,下面着重叙述图4所示实施例与图3所示实施例的不同之处,相同之处不再赘述。Fig. 4 is a schematic flowchart of obtaining resource preview data corresponding to a target interactive resource provided by another exemplary embodiment of the present application. The embodiment shown in FIG. 4 is extended on the basis of the embodiment shown in FIG. 3 . The difference between the embodiment shown in FIG. 4 and the embodiment shown in FIG. 3 will be mainly described below, and the similarities will not be repeated.

如图4所示,在本申请实施例中,基于目标交互式资源所属的资源类型和特征信息,渲染目标交互式资源,得到目标交互式资源对应的资源预览数据,包括如下步骤。As shown in FIG. 4 , in the embodiment of the present application, based on the resource type and feature information to which the target interactive resource belongs, the target interactive resource is rendered to obtain resource preview data corresponding to the target interactive resource, including the following steps.

步骤S410,判断目标交互式资源所属的资源类型。Step S410, determining the resource type to which the target interactive resource belongs.

示例性地,在实际应用过程中,若步骤S410的判断结果为课件资源,则执行步骤S420和步骤S430;若步骤S410的判断结果为素材资源,则执行步骤S440。Exemplarily, in an actual application process, if the judgment result of step S410 is a courseware resource, then execute steps S420 and S430; if the judgment result of step S410 is a material resource, then execute step S440.

步骤S420,基于特征信息,对目标交互式资源进行筛选,得到进行渲染所需的必要课件资源。Step S420, based on the feature information, screen the target interactive resources to obtain the necessary courseware resources required for rendering.

具体地,根据特征信息,获取目标交互式资源对应的基本信息。示例性地,基本信息包括基础元素、多媒体、思维导图、课堂活动、学科工具、预览版式等等。并根据特征信息,筛选出支持的数据类型,过滤掉非必要的版式、主题数据等,以得到进行渲染所需的必要课件资源。Specifically, basic information corresponding to the target interactive resource is acquired according to the feature information. Exemplarily, the basic information includes basic elements, multimedia, mind map, classroom activities, subject tools, preview layout and so on. And according to the characteristic information, filter out the supported data types, filter out unnecessary layouts, theme data, etc., so as to obtain the necessary courseware resources required for rendering.

步骤S430,渲染必要课件资源,得到目标交互式资源对应的资源预览数据。Step S430, rendering necessary courseware resources to obtain resource preview data corresponding to the target interactive resource.

同样地,根据必要课件资源的特征信息,选择对应的渲染组件,对必要课件资源进行渲染,以得到目标交互式资源对应的资源预览数据。Similarly, according to the feature information of the necessary courseware resources, a corresponding rendering component is selected to render the necessary courseware resources, so as to obtain resource preview data corresponding to the target interactive resources.

步骤S440,基于特征信息,渲染目标交互式资源,得到目标交互式资源对应的资源预览数据。Step S440, based on the characteristic information, render the target interactive resource, and obtain resource preview data corresponding to the target interactive resource.

此外,素材资源在预览后支持单独导出为文件进行存储,并且导出后的素材资源可作为单独的元素添加到已有的课件资源中。In addition, material resources can be exported as files for storage after previewing, and the exported material resources can be added to existing courseware resources as separate elements.

在本申请实施例中,首先判断目标交互式资源属于课件资源还是素材资源,若属于课件资源,则基于该课件资源的特征信息,对课件资源进行筛选,以得到进行渲染所需的必要课件资源;若为素材资源,则直接基于素材资源的特征信息,渲染素材资源。针对课件资源和素材资源,二者的渲染组件不同,通过将目标交互式资源进行分类,并根据其所属的资源类型,选择不同的渲染组件,可以更精准地实现对目标交互式资源的渲染。此外,若目标交互式资源为课件资源,可以将课件资源中一些不必要的数据过滤掉,以最优和最简的方式渲染必要课件资源,同时也加快必要课件资源的渲染速度。In the embodiment of the present application, it is first determined whether the target interactive resource belongs to a courseware resource or a material resource, and if it belongs to a courseware resource, then based on the feature information of the courseware resource, the courseware resource is screened to obtain the necessary courseware resource for rendering ; If it is a material resource, render the material resource directly based on the feature information of the material resource. For courseware resources and material resources, the rendering components of the two are different. By classifying the target interactive resources and selecting different rendering components according to their resource types, the rendering of the target interactive resources can be achieved more accurately. In addition, if the target interactive resource is a courseware resource, some unnecessary data in the courseware resource can be filtered out, and the necessary courseware resource can be rendered in the optimal and simplest way, and the rendering speed of the necessary courseware resource can also be accelerated.

在本申请一示例性实施例中,目标交互式资源包括PPT资源,对目标多媒资源进行渲染包括:In an exemplary embodiment of the present application, the target interactive resource includes a PPT resource, and rendering the target multimedia resource includes:

解析PPT资源的起始页数据,并将起始页数据的解析结果发送至渲染层,以便渲染层基于起始页数据的解析结果对起始页数据进行渲染;Parse the start page data of the PPT resource, and send the analysis result of the start page data to the rendering layer, so that the rendering layer renders the start page data based on the analysis result of the start page data;

确定PPT资源的第一渲染页数集,解析第一渲染页数集中的每页数据,并将第一渲染页数集中的每页数据的解析结果发送至渲染层,以便渲染层基于第一渲染页数集中的每页数据的解析结果对第一渲染页数集中的每页数据进行渲染;Determine the first rendering page set of the PPT resource, parse the data of each page in the first rendering page set, and send the parsing result of each page data in the first rendering page set to the rendering layer, so that the rendering layer is based on the first rendering The parsing result of each page of data in the page set renders the data of each page in the first rendered page set;

确定PPT资源的第K渲染页数集,并依照第一渲染页数集中的每页数据的解析方式和渲染方式对第K渲染页数集中的每页数据进行渲染,直至将PPT资源包含的所有页数的数据全部渲染完毕。Determine the K-th rendering page set of the PPT resource, and render each page data in the K-th rendering page set according to the analysis method and rendering method of each page data in the first rendering page set, until all the PPT resources included The data of the number of pages are all rendered.

示例性地,PPT资源包含10页数据,分别记为第1页数据、第2页数据、……、第9页数据、第10页数据。Exemplarily, the PPT resource includes 10 pages of data, which are recorded as the first page of data, the second page of data, . . . , the ninth page of data, and the tenth page of data.

进一地,将第1页数据作为起始页数据,对第1页数据进行解析,将第1页数据的解析结果发送至渲染层,以便渲染层对第1页数据进行渲染。Further, the first page data is used as the initial page data, the first page data is analyzed, and the analysis result of the first page data is sent to the rendering layer, so that the rendering layer renders the first page data.

进一步地,将第2页数据、第3页数据、第4页数据作为第一渲染页数集,分别对第2页数据、第3页数据、第4页数据进行解析,并将得到的解析结果发送至渲染层,以便渲染层对第2页数据、第3页数据、第4页数据进行渲染。Further, the second page data, the third page data, and the fourth page data are used as the first rendering page number set, and the second page data, the third page data, and the fourth page data are respectively analyzed, and the obtained analysis The result is sent to the rendering layer, so that the rendering layer can render the data on the second page, the data on the third page, and the data on the fourth page.

进一步地,将第5页数据、第6页数据、第7页数据作为第二渲染页数集,将第8页数据、第9页数据、第10页数据作为第三渲染页数集,并依照第一渲染页数集中的、对每页数据的渲染方式,对第二渲染页数集和第三渲染页数集中的每页数据进行渲染。Further, the 5th page data, the 6th page data, and the 7th page data are used as the second rendering page number set, and the 8th page data, the 9th page data, and the 10th page data are used as the third rendering page number set, and Render each page of data in the second rendering page set and the third rendering page set according to the rendering method for each page of data in the first rendering page set.

示例性地,在对PPT资源中的每页数据进行解析时,可以采用异步解析机制。Exemplarily, when parsing the data of each page in the PPT resource, an asynchronous parsing mechanism may be used.

在本申请实施例中,首先对PPT资源中的起始页数据进行解析和渲染,以便向用户预览展示PPT资源中的起始页。后续,对PPT资源中的所有页数据进行渲染页数集的划分,并对渲染页数集中的每页数据进行渲染,以形成PPT资源中的该渲染页数集对应的每页数据的缩略图,如此,可以加快用户在预览PPT资源时的资源的载入速度,同时可以加快用户对PPT资源的预览速度。In the embodiment of the present application, firstly, the start page data in the PPT resource is parsed and rendered, so as to preview and display the start page in the PPT resource to the user. Subsequently, divide all page data in the PPT resource into rendering page sets, and render each page of data in the rendering page set to form a thumbnail of each page of data corresponding to the rendering page set in the PPT resource In this way, the resource loading speed when the user previews the PPT resource can be accelerated, and at the same time, the user's preview speed of the PPT resource can be accelerated.

图5所示为本申请又一示例性实施例提供的得到目标交互式资源对应的资源预览数据的流程示意图。在图4所示实施例的基础上延伸出图5所示实施例,下面着重叙述图5所示实施例与图4所示实施例的不同之处,相同之处不再赘述。Fig. 5 is a schematic flowchart of obtaining resource preview data corresponding to a target interactive resource provided by another exemplary embodiment of the present application. The embodiment shown in FIG. 5 is extended on the basis of the embodiment shown in FIG. 4 . The difference between the embodiment shown in FIG. 5 and the embodiment shown in FIG. 4 will be mainly described below, and the similarities will not be repeated.

如图5所示,在本申请实施例中,素材资源包括图像资源,基于特征信息,渲染目标交互式资源,得到目标交互式资源对应的资源预览数据,包括如下步骤。As shown in FIG. 5 , in the embodiment of the present application, the material resources include image resources, and based on feature information, the target interactive resource is rendered to obtain resource preview data corresponding to the target interactive resource, including the following steps.

步骤S510,确定图像资源的格式。Step S510, determine the format of the image resource.

图像资源的格式可以为任意格式。示例性地,图像资源的格式为emf格式、jpg格式、png格式、gif格式。The format of the image resource can be any format. Exemplarily, the format of the image resource is emf format, jpg format, png format, gif format.

步骤S520,判断预设渲染格式集合中是否包括图像资源的格式。Step S520, judging whether the preset rendering format set includes the format of the image resource.

示例性地,预设渲染格式集合包括jpg格式和png格式。若图像资源的格式为emf格式,则预设渲染格式集合不包括该图像资源的格式。Exemplarily, the preset rendering format set includes jpg format and png format. If the format of the image resource is emf format, the preset rendering format set does not include the format of the image resource.

示例性地,在实际应用过程中,若步骤S520的判断结果为否,即预设渲染格式集合中不包括图像资源的格式,则执行步骤S530至步骤S550;若步骤S520的判断结果为是,则执行步骤S560。Exemplarily, in the actual application process, if the judgment result of step S520 is no, that is, the format of the image resource is not included in the preset rendering format set, execute steps S530 to S550; if the judgment result of step S520 is yes, Then execute step S560.

步骤S530,基于预设渲染格式集合,对图像资源进行格式转换。Step S530, perform format conversion on the image resource based on the preset rendering format set.

沿用步骤S510和步骤S520中的示例,图像资源的格式为emf格式,需将其格式转化为jpg格式或png格式,以保证转换后的图像资源的格式在预设渲染格式集合内。Following the example in step S510 and step S520, the format of the image resource is emf format, which needs to be converted into jpg format or png format, so as to ensure that the format of the converted image resource is within the preset rendering format set.

步骤S540,确定转换后的图像资源的路径信息。Step S540, determine the path information of the converted image resource.

具体地,路径信息包括相对路径信息和绝对路径信息。示例性地,确定转换后的图像资源的绝对路径信息。Specifically, the path information includes relative path information and absolute path information. Exemplarily, the absolute path information of the converted image resource is determined.

步骤S550,基于路径信息和转换后的图像资源的特征信息,渲染转换后的图像资源,得到目标交互式资源对应的资源预览数据。Step S550: Render the converted image resource based on the path information and the characteristic information of the converted image resource, and obtain resource preview data corresponding to the target interactive resource.

具体地,根据转换后的图像资源的特征信息,选择与该特征信息对应的渲染组件。根据转换后的图像资源的路径信息,得到转换后的图像资源的待渲染数据。进而,利用渲染组件对待渲染数据进行渲染,得到资源预览数据。Specifically, according to the feature information of the converted image resource, a rendering component corresponding to the feature information is selected. Data to be rendered of the converted image resource is obtained according to the path information of the converted image resource. Furthermore, the data to be rendered is rendered by using the rendering component to obtain resource preview data.

步骤S560,基于图像资源的路径信息和图像资源的特征信息,渲染转换后的图像资源,得到目标交互式资源对应的资源预览数据。Step S560, based on the path information of the image resource and the characteristic information of the image resource, render the converted image resource, and obtain resource preview data corresponding to the target interactive resource.

具体地,若图像资源的格式在预设渲染格式集合内,则直接根据该图像资源的路径信息和图像资源的特征信息,选择对应的渲染组件进行渲染,以得到资源预览数据。Specifically, if the format of the image resource is in the preset rendering format set, the corresponding rendering component is selected for rendering directly according to the path information of the image resource and the characteristic information of the image resource, so as to obtain resource preview data.

在本申请实施例中,首先判断图像资源的格式是否在渲染格式集合内,对于不在渲染格式集合内的图像资源,需要根据预设渲染格式集合,转换图像资源的格式,以保证能得到正确的图像资源的资源预览数据。In this embodiment of the application, it is first judged whether the format of the image resource is in the rendering format set. For the image resource not in the rendering format set, it is necessary to convert the format of the image resource according to the preset rendering format set to ensure that the correct Asset preview data for image assets.

图6所示为本申请再一示例性实施例提供的得到目标交互式资源对应的资源预览数据的流程示意图。在图5所示实施例的基础上延伸出图6所示实施例,下面着重叙述图6所示实施例与图5所示实施例的不同之处,相同之处不再赘述。FIG. 6 is a schematic flowchart of obtaining resource preview data corresponding to a target interactive resource provided by yet another exemplary embodiment of the present application. The embodiment shown in FIG. 6 is extended on the basis of the embodiment shown in FIG. 5 . The difference between the embodiment shown in FIG. 6 and the embodiment shown in FIG. 5 will be mainly described below, and the similarities will not be repeated here.

如图6所示,素材资源包括音频资源,基于特征信息,渲染目标交互式资源,得到目标交互式资源对应的资源预览数据,包括如下步骤。As shown in FIG. 6 , the material resources include audio resources, and based on feature information, the target interactive resource is rendered to obtain resource preview data corresponding to the target interactive resource, including the following steps.

步骤S610,基于音频资源,生成音频资源对应的缩略图。Step S610, based on the audio resource, generate a thumbnail corresponding to the audio resource.

步骤S620,确定缩略图的路径信息。Step S620, determine the path information of the thumbnail.

具体地,路径信息包括绝对路径信息和相对路径信息。示例性地,确定缩略图的绝对路径信息。Specifically, the path information includes absolute path information and relative path information. Exemplarily, the absolute path information of the thumbnail is determined.

步骤S630,基于缩略图的路径信息和音频资源的特征信息,渲染音频资源,得到目标交互式资源对应的资源预览数据。Step S630, based on the path information of the thumbnail and the characteristic information of the audio resource, render the audio resource to obtain resource preview data corresponding to the target interactive resource.

具体地,根据音频资源的特征信息,选择与该音频资源对应的渲染组件。根据缩略图的路径信息,确定音频资源的待渲染数据。进一步地,利用音频资源对应的渲染组件对音频资源的待渲染数据进行渲染,以得到目标交互式资源对应的资源预览数据。Specifically, the rendering component corresponding to the audio resource is selected according to the characteristic information of the audio resource. Determine the data to be rendered of the audio resource according to the path information of the thumbnail. Further, the rendering component corresponding to the audio resource is used to render the data to be rendered of the audio resource, so as to obtain resource preview data corresponding to the target interactive resource.

视频缩略图是用户与音频资源进行交互时首先看到的内容,一般包含音频资源中特征较为明显的内容。在本申请实施例中,在目标交互式资源为音频资源时,生成音频资源对应的缩略图,并根据音频资源对应的缩略图的路径信息对音频资源进行渲染,可以为用户提供针对性更强的音频资源的预览内容。此外,也可以加快音频资源的载入速度以及用户预览速度,提升用户的预览体验。The video thumbnail is the first content that the user sees when interacting with the audio resource, and generally contains content with obvious characteristics in the audio resource. In this embodiment of the application, when the target interactive resource is an audio resource, a thumbnail corresponding to the audio resource is generated, and the audio resource is rendered according to the path information of the thumbnail corresponding to the audio resource, which can provide users with more targeted The preview content of the audio resource. In addition, it can also speed up the loading speed of audio resources and the speed of user preview, and improve the user's preview experience.

在本申请一示例性实施例中,在响应于用户的交互式资源渲染请求,获取交互式资源渲染请求对应的目标交互式资源的特征信息之前,还包括:响应于用户的交互式资源获取请求,将交互式资源添直接加到教学课件。In an exemplary embodiment of the present application, before obtaining the feature information of the target interactive resource corresponding to the interactive resource rendering request in response to the user's interactive resource rendering request, further includes: responding to the user's interactive resource acquisition request , add interactive resources directly to the teaching courseware.

具体地,响应于用户的操作,直接导入一个或多个PPT课件、或独立的交互式资源的教学文件。此外,导入的交互式资源的教学文件的封装格式要包含元数据信息、资源类型、默认尺寸信默认位置信息和默认配置项等等。Specifically, in response to user operations, one or more PPT courseware or teaching files of independent interactive resources are directly imported. In addition, the package format of the teaching file of the imported interactive resources should include metadata information, resource type, default size, default position information, default configuration items, and so on.

图7所示为本申请一示例性实施例提供的教学方法的流程示意图。如图7所示,本申请实施例提供的教学方法包括如下步骤。Fig. 7 is a schematic flowchart of a teaching method provided by an exemplary embodiment of the present application. As shown in FIG. 7 , the teaching method provided by the embodiment of the present application includes the following steps.

步骤S710,响应于用户的教学请求,确定教学请求对应的待使用交互式资源。Step S710, in response to the user's teaching request, determine the interactive resources to be used corresponding to the teaching request.

具体地,待使用交互式资源包括PPT资源、excel资源、交互式视频资源。Specifically, the interactive resources to be used include PPT resources, excel resources, and interactive video resources.

步骤S720,获取待使用交互式资源对应的资源预览数据。Step S720, acquiring resource preview data corresponding to the interactive resource to be used.

待使用交互式资源对应的资源预览数据基于本申请任一示例性实施例提供的交互式资源处理方法得到的。The resource preview data corresponding to the interactive resource to be used is obtained based on the interactive resource processing method provided in any exemplary embodiment of the present application.

步骤S730,基于待使用交互式资源对应的资源预览数据,预览展示待使用交互式资源以便用户基于待使用交互式资源的预览展示结果执行教学任务。Step S730, based on the resource preview data corresponding to the interactive resource to be used, preview the interactive resource to be used so that the user can perform the teaching task based on the preview display result of the interactive resource to be used.

具体地,在预览展示待使用交互式资源时,支持在不同的待使用交互式资源之间进行快速切换。此外,在预览展示待使用交互式资源时,用户对待使用交互式资源的操作只会在渲染组件内部留痕,并不会保存到原始的待使用交互式资源的数据中,进而保证了待使用交互式资源的原始数据不被改变。Specifically, when previewing and displaying interactive resources to be used, quick switching between different interactive resources to be used is supported. In addition, when previewing and displaying the interactive resources to be used, the user's operation to use the interactive resources will only leave traces inside the rendering component, and will not be saved to the original data of the interactive resources to be used, thereby ensuring that The original data of the interactive resource is not changed.

通过本申请实施例中的方案,可以自适应地实现不同类型的教学资源的预览和操作,并且可以让用户掌握目标交互式资源的实际信息,了解目标交互式资源的表现效果,提升使用交互式资源的教学体验。Through the scheme in the embodiment of this application, the preview and operation of different types of teaching resources can be realized adaptively, and the user can grasp the actual information of the target interactive resources, understand the performance effect of the target interactive resources, and improve the use of interactive resources. resources for teaching experience.

示例性装置Exemplary device

上文结合图2至图7,详细描述了本申请的方法实施例,下面结合图8和图9,详细描述本申请的装置实施例。应理解,方法实施例的描述与装置实施例的描述相互对应,因此,未详细描述的部分可以参见前面方法实施例。The method embodiment of the present application is described in detail above with reference to FIG. 2 to FIG. 7 , and the device embodiment of the present application is described in detail below in conjunction with FIG. 8 and FIG. 9 . It should be understood that the descriptions of the method embodiments correspond to the descriptions of the device embodiments, therefore, for parts not described in detail, reference may be made to the foregoing method embodiments.

图8所示为本申请一示例性实施例提供的交互式资源处理装置的结构示意图。如图8所示,本申请实施例提供的交互式资源处理装置80包括:Fig. 8 is a schematic structural diagram of an interactive resource processing device provided by an exemplary embodiment of the present application. As shown in FIG. 8, the interactive resource processing device 80 provided in the embodiment of the present application includes:

第一获取模块810,用于:响应于用户的交互式资源渲染请求,获取交互式资源渲染请求对应的目标交互式资源的特征信息;The first acquiring module 810 is configured to: in response to a user's interactive resource rendering request, acquire feature information of a target interactive resource corresponding to the interactive resource rendering request;

第二获取模块820,用于基于特征信息,渲染目标交互式资源,得到目标交互式资源对应的资源预览数据,以便基于资源预览数据,向用户预览展示目标交互式资源。The second acquiring module 820 is configured to render the target interactive resource based on the feature information, and obtain resource preview data corresponding to the target interactive resource, so as to preview and display the target interactive resource to the user based on the resource preview data.

在本申请一实施例中,第二获取模块820还用于,确定目标交互式资源所属的资源类型,其中,资源类型包括课件资源以及组成课件资源的素材资源;其中,基于特征信息,渲染目标交互式资源,得到目标交互式资源对应的资源预览数据,包括:基于目标交互式资源所属的资源类型和特征信息,渲染目标交互式资源,得到目标交互式资源对应的资源预览数据。In an embodiment of the present application, the second acquisition module 820 is also used to determine the resource type to which the target interactive resource belongs, where the resource type includes courseware resources and material resources that make up the courseware resources; where, based on the feature information, the rendering target The interactive resource obtains the resource preview data corresponding to the target interactive resource, including: rendering the target interactive resource based on the resource type and characteristic information to which the target interactive resource belongs, and obtains the resource preview data corresponding to the target interactive resource.

在本申请一实施例中,第二获取模块820还用于,若目标交互式资源所属的资源类型为课件资源,则基于特征信息,对目标交互式资源进行筛选,得到进行渲染所需的必要课件资源;渲染必要课件资源,得到目标交互式资源对应的资源预览数据;In an embodiment of the present application, the second acquiring module 820 is also used to, if the resource type of the target interactive resource is a courseware resource, then based on the feature information, the target interactive resource is screened to obtain the necessary information for rendering. Courseware resources; render the necessary courseware resources, and get the resource preview data corresponding to the target interactive resources;

若目标交互式资源所属的资源类型为素材资源,则基于特征信息,渲染目标交互式资源,得到目标交互式资源对应的资源预览数据。If the resource type of the target interactive resource is a material resource, the target interactive resource is rendered based on the characteristic information, and resource preview data corresponding to the target interactive resource is obtained.

在本申请一实施例中,第二获取模块820还用于,确定图像资源的格式;若预设渲染格式集合中不包括图像资源的格式,则基于预设渲染格式集合,对图像资源进行格式转换,以便预设渲染格式集合中包括转换后的图像资源的格式;确定转换后的图像资源的路径信息;基于路径信息和转换后的图像资源的特征信息,渲染转换后的图像资源,得到目标交互式资源对应的资源预览数据。In an embodiment of the present application, the second acquisition module 820 is also used to determine the format of the image resource; if the format of the image resource is not included in the preset rendering format set, then format the image resource based on the preset rendering format set Convert, so that the format of the converted image resource is included in the preset rendering format set; determine the path information of the converted image resource; render the converted image resource based on the path information and the feature information of the converted image resource, and obtain the target Resource preview data corresponding to interactive resources.

在本申请一实施例中,第二获取模块820还用于,基于音频资源,生成音频资源对应的缩略图;确定缩略图的路径信息;基于缩略图的路径信息和音频资源的特征信息,渲染音频资源,得到目标交互式资源对应的资源预览数据。In an embodiment of the present application, the second acquisition module 820 is also used to generate a thumbnail corresponding to the audio resource based on the audio resource; determine the path information of the thumbnail; and render Audio resource, get the resource preview data corresponding to the target interactive resource.

在本申请一实施例中,第一获取模块810还用于,响应于用户的交互式资源获取请求,将交互式资源添直接加到教学课件。In an embodiment of the present application, the first obtaining module 810 is further configured to directly add interactive resources to the teaching courseware in response to a user's request for obtaining interactive resources.

图9所示为本申请一示例性实施例提供的教学装置的结构示意图。如图9所示,该教学装置90包括:Fig. 9 is a schematic structural diagram of a teaching device provided by an exemplary embodiment of the present application. As shown in Figure 9, the teaching device 90 includes:

第一确定模块910,用于响应于用户的教学请求,确定教学请求对应的待使用交互式资源;The first determining module 910 is configured to, in response to the user's teaching request, determine the interactive resource to be used corresponding to the teaching request;

第二确定模块920,用于获取待使用交互式资源对应的资源预览数据,其中,待使用交互式资源对应的资源预览数据基于第一方面所述的交互式资源处理方法得到的;The second determining module 920 is configured to acquire resource preview data corresponding to interactive resources to be used, wherein the resource preview data corresponding to interactive resources to be used is obtained based on the interactive resource processing method described in the first aspect;

预览展示模块930,用于基于待使用交互式资源对应的资源预览数据,预览展示待使用交互式资源,以便用户基于待使用交互式资源的预览展示结果执行教学任务。The preview display module 930 is configured to preview and display the interactive resource to be used based on the resource preview data corresponding to the interactive resource to be used, so that the user can perform teaching tasks based on the preview display result of the interactive resource to be used.

下面,参考图10来描述根据本申请实施例的电子设备。图10所示为本申请一示例性实施例提供的电子设备的结构示意图。Next, an electronic device according to an embodiment of the present application will be described with reference to FIG. 10 . Fig. 10 is a schematic structural diagram of an electronic device provided by an exemplary embodiment of the present application.

如图10所示,电子设备100包括一个或多个处理器1001和存储器1002。As shown in FIG. 10 , an electronic device 100 includes one or more processors 1001 and a memory 1002 .

处理器1001可以是中央处理单元(CPU)或者具有数据处理能力和/或指令执行能力的其他形式的处理单元,并且可以控制电子设备100中的其他组件以执行期望的功能。The processor 1001 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device 100 to perform desired functions.

存储器1002可以包括一个或多个计算机程序产品,所述计算机程序产品可以包括各种形式的计算机可读存储介质,例如易失性存储器和/或非易失性存储器。所述易失性存储器例如可以包括随机存取存储器(RAM)和/或高速缓冲存储器(cache)等。所述非易失性存储器例如可以包括只读存储器(ROM)、硬盘、闪存等。在所述计算机可读存储介质上可以存储一个或多个计算机程序指令,处理器701可以运行所述程序指令,以实现上文所述的本申请的各个实施例的方法以及/或者其他期望的功能。在所述计算机可读存储介质中还可以存储诸如包括交互式资源渲染请求、交互式资源的特征信息、资源预览数据等各种内容。Memory 1002 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and/or cache memory (cache). The non-volatile memory may include, for example, a read-only memory (ROM), a hard disk, a flash memory, and the like. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 701 may execute the program instructions to implement the methods of the various embodiments of the present application described above and/or other desired Function. Various contents such as an interactive resource rendering request, feature information of interactive resources, resource preview data, etc. may also be stored in the computer-readable storage medium.

在一个示例中,电子设备100还可以包括:输入装置1003和输出装置1004,这些组件通过总线系统和/或其他形式的连接机构(未示出)互连。In an example, the electronic device 100 may further include: an input device 1003 and an output device 1004, and these components are interconnected through a bus system and/or other forms of connection mechanisms (not shown).

该输入装置1003可以包括例如键盘、鼠标等等。The input device 1003 may include, for example, a keyboard, a mouse, and the like.

该输出装置1004可以向外部输出各种信息,包括交互式资源渲染请求、交互式资源的特征信息、资源预览数据等。该输出装置1004可以包括例如显示器、扬声器、打印机、以及通信网络及其所连接的远程输出设备等等。The output device 1004 can output various information to the outside, including interactive resource rendering requests, feature information of interactive resources, resource preview data, and the like. The output device 1004 may include, for example, a display, a speaker, a printer, a communication network and remote output devices connected thereto, and the like.

当然,为了简化,图10中仅示出了该电子设备100中与本申请有关的组件中的一些,省略了诸如总线、输入/输出接口等等的组件。除此之外,根据具体应用情况,电子设备100还可以包括任何其他适当的组件。Of course, for simplicity, only some of the components related to the present application in the electronic device 100 are shown in FIG. 10 , and components such as bus, input/output interface, etc. are omitted. In addition, according to specific application conditions, the electronic device 100 may further include any other appropriate components.

除了上述方法和设备以外,本申请的实施例还可以是计算机程序产品,其包括计算机程序指令,所述计算机程序指令在被处理器运行时使得所述处理器执行本说明书上述描述的根据本申请各种实施例的方法中的步骤。In addition to the above-mentioned methods and devices, embodiments of the present application may also be computer program products, which include computer program instructions that, when executed by a processor, cause the processor to perform the above-described functions according to the present application. Steps in methods of various embodiments.

所述计算机程序产品可以以一种或多种程序设计语言的任意组合来编写用于执行本申请实施例操作的程序代码,所述程序设计语言包括面向对象的程序设计语言,诸如Java、C++等,还包括常规的过程式程序设计语言,诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。The computer program product can be written in any combination of one or more programming languages to execute the program codes for performing the operations of the embodiments of the present application, and the programming languages include object-oriented programming languages, such as Java, C++, etc. , also includes conventional procedural programming languages, such as the "C" language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server to execute.

此外,本申请的实施例还可以是计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令在被处理器运行时使得所述处理器执行本说明书上述描述的根据本申请各种实施例的方法中的步骤。In addition, the embodiment of the present application may also be a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the processor executes the above-mentioned methods according to the present application described in this specification. The steps in the method of a kind of embodiment.

所述计算机可读存储介质可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以包括但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The computer readable storage medium may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may include, but not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: electrical connection with one or more conductors, portable disk, hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

以上结合具体实施例描述了本申请的基本原理,但是,需要指出的是,在本申请中提及的优点、优势、效果等仅是示例而非限制,不能认为这些优点、优势、效果等是本申请的各个实施例必须具备的。另外,上述公开的具体细节仅是为了示例的作用和便于理解的作用,而非限制,上述细节并不限制本申请为必须采用上述具体的细节来实现。The basic principles of the present application have been described above in conjunction with specific embodiments, but it should be pointed out that the advantages, advantages, effects, etc. mentioned in the application are only examples rather than limitations, and these advantages, advantages, effects, etc. Various embodiments of this application must have. In addition, the specific details disclosed above are only for the purpose of illustration and understanding, rather than limitation, and the above details do not limit the application to be implemented by using the above specific details.

本申请中涉及的器件、装置、设备、系统的方框图仅作为例示性的例子并且不意图要求或暗示必须按照方框图示出的方式进行连接、布置、配置。如本领域技术人员将认识到的,可以按任意方式连接、布置、配置这些器件、装置、设备、系统。诸如“包括”、“包含”、“具有”等等的词语是开放性词汇,指“包括但不限于”,且可与其互换使用。这里所使用的词汇“或”和“和”指词汇“和/或”,且可与其互换使用,除非上下文明确指示不是如此。这里所使用的词汇“诸如”指词组“诸如但不限于”,且可与其互换使用。The block diagrams of devices, devices, devices, and systems involved in this application are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, devices, devices, systems may be connected, arranged, configured in any manner. Words such as "including", "comprising", "having" and the like are open-ended words meaning "including but not limited to" and may be used interchangeably therewith. As used herein, the words "or" and "and" refer to the word "and/or" and are used interchangeably therewith, unless the context clearly dictates otherwise. As used herein, the word "such as" refers to the phrase "such as but not limited to" and can be used interchangeably therewith.

还需要指出的是,在本申请的装置、设备和方法中,各部件或各步骤是可以分解和/或重新组合的。这些分解和/或重新组合应视为本申请的等效方案。It should also be pointed out that in the devices, equipment and methods of the present application, each component or each step can be decomposed and/or reassembled. These decompositions and/or recombinations should be considered equivalents of this application.

提供所公开的方面的以上描述以使本领域的任何技术人员能够做出或者使用本申请。对这些方面的各种修改对于本领域技术人员而言是非常显而易见的,并且在此定义的一般原理可以应用于其他方面而不脱离本申请的范围。因此,本申请不意图被限制到在此示出的方面,而是按照与在此公开的原理和新颖的特征一致的最宽范围。The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the application. Thus, the present application is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

为了例示和描述的目的已经给出了以上描述。此外,此描述不意图将本申请的实施例限制到在此公开的形式。尽管以上已经讨论了多个示例方面和实施例,但是本领域技术人员将认识到其某些变型、修改、改变、添加和子组合。The foregoing description has been presented for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of the application to the forms disclosed herein. Although a number of example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.

Claims (11)

1.一种交互式资源处理方法,其特征在于,包括:1. An interactive resource processing method, comprising: 响应于用户的交互式资源渲染请求,获取所述交互式资源渲染请求对应的目标交互式资源的特征信息;In response to a user's interactive resource rendering request, acquire feature information of a target interactive resource corresponding to the interactive resource rendering request; 基于所述特征信息,渲染所述目标交互式资源,得到所述目标交互式资源对应的资源预览数据,以便基于所述资源预览数据,向所述用户预览展示所述目标交互式资源。Rendering the target interactive resource based on the feature information to obtain resource preview data corresponding to the target interactive resource, so as to preview and display the target interactive resource to the user based on the resource preview data. 2.根据权利要求1所述的交互式资源处理方法,其特征在于,在所述基于所述特征信息,渲染所述目标交互式资源,得到所述目标交互式资源对应的资源预览数据之前,还包括:2. The interactive resource processing method according to claim 1, wherein, before rendering the target interactive resource based on the characteristic information and obtaining resource preview data corresponding to the target interactive resource, Also includes: 确定所述目标交互式资源所属的资源类型,其中,所述资源类型包括课件资源以及组成课件资源的素材资源;Determine the resource type to which the target interactive resource belongs, where the resource type includes courseware resources and material resources that make up the courseware resources; 其中,所述基于所述特征信息,渲染所述目标交互式资源,得到所述目标交互式资源对应的资源预览数据,包括:Wherein, the rendering of the target interactive resource based on the feature information to obtain resource preview data corresponding to the target interactive resource includes: 基于所述目标交互式资源所属的资源类型和所述特征信息,渲染所述目标交互式资源,得到所述目标交互式资源对应的资源预览数据。Based on the resource type to which the target interactive resource belongs and the feature information, the target interactive resource is rendered to obtain resource preview data corresponding to the target interactive resource. 3.根据权利要求2所述的交互式资源处理方法,其特征在于,所述基于所述目标交互式资源所属的资源类型和所述特征信息,渲染所述目标交互式资源,得到所述目标交互式资源对应的资源预览数据,包括:3. The interactive resource processing method according to claim 2, wherein the target interactive resource is rendered based on the resource type to which the target interactive resource belongs and the feature information to obtain the target interactive resource. Resource preview data corresponding to interactive resources, including: 若所述目标交互式资源所属的资源类型为所述课件资源,则基于所述特征信息,对所述目标交互式资源进行筛选,得到进行渲染所需的必要课件资源;If the resource type to which the target interactive resource belongs is the courseware resource, then based on the feature information, filter the target interactive resource to obtain the necessary courseware resource required for rendering; 渲染所述必要课件资源,得到所述目标交互式资源对应的资源预览数据;Rendering the necessary courseware resources to obtain resource preview data corresponding to the target interactive resources; 若所述目标交互式资源所属的资源类型为所述素材资源,则基于所述特征信息,渲染所述目标交互式资源,得到所述目标交互式资源对应的资源预览数据。If the resource type to which the target interactive resource belongs is the material resource, render the target interactive resource based on the characteristic information, and obtain resource preview data corresponding to the target interactive resource. 4.根据权利要求3所述的交互式资源处理方法,其特征在于,所述素材资源包括图像资源,所述基于所述特征信息,渲染所述目标交互式资源,得到所述目标交互式资源对应的资源预览数据,包括:4. The interactive resource processing method according to claim 3, wherein the material resource includes an image resource, and the target interactive resource is rendered based on the feature information to obtain the target interactive resource Corresponding resource preview data, including: 确定所述图像资源的格式;determining the format of the image resource; 若预设渲染格式集合中不包括所述图像资源的格式,则基于所述预设渲染格式集合,对所述图像资源进行格式转换,以便所述预设渲染格式集合中包括转换后的图像资源的格式;If the format of the image resource is not included in the preset rendering format set, perform format conversion on the image resource based on the preset rendering format set, so that the converted image resource is included in the preset rendering format set format; 确定所述转换后的图像资源的路径信息;determining path information of the converted image resource; 基于所述路径信息和所述转换后的图像资源的特征信息,渲染所述转换后的图像资源,得到所述目标交互式资源对应的资源预览数据。Based on the path information and the feature information of the converted image resource, the converted image resource is rendered to obtain resource preview data corresponding to the target interactive resource. 5.根据权利要求3所述的交互式资源处理方法,其特征在于,所述素材资源包括音频资源,所述基于所述特征信息,渲染所述目标交互式资源,得到所述目标交互式资源对应的资源预览数据,包括:5. The interactive resource processing method according to claim 3, wherein the material resource includes an audio resource, and the target interactive resource is rendered based on the feature information to obtain the target interactive resource Corresponding resource preview data, including: 基于所述音频资源,生成所述音频资源对应的缩略图;Generate a thumbnail corresponding to the audio resource based on the audio resource; 确定所述缩略图的路径信息;determining path information of the thumbnail; 基于所述缩略图的路径信息和所述音频资源的特征信息,渲染所述音频资源,得到所述目标交互式资源对应的资源预览数据。Based on the path information of the thumbnail and the feature information of the audio resource, the audio resource is rendered to obtain resource preview data corresponding to the target interactive resource. 6.根据权利要求1所述的交互式资源处理方法,其特征在于,在所述响应于用户的交互式资源渲染请求,获取所述交互式资源渲染请求对应的目标交互式资源的特征信息之前,还包括:6. The interactive resource processing method according to claim 1, characterized in that, before the response to the user's interactive resource rendering request, obtaining the feature information of the target interactive resource corresponding to the interactive resource rendering request ,Also includes: 响应于用户的交互式资源获取请求,将所述交互式资源添直接加到教学课件。In response to the user's interactive resource acquisition request, the interactive resource is directly added to the teaching courseware. 7.一种教学方法,其特征在于,包括:7. A teaching method, characterized in that, comprising: 响应于用户的教学请求,确定所述教学请求对应的待使用交互式资源;In response to a user's teaching request, determine an interactive resource to be used corresponding to the teaching request; 获取所述待使用交互式资源对应的资源预览数据,其中,所述待使用交互式资源对应的资源预览数据基于权利要求1至6任一项所述的交互式资源处理方法得到的;Acquiring resource preview data corresponding to the interactive resource to be used, wherein the resource preview data corresponding to the interactive resource to be used is obtained based on the interactive resource processing method described in any one of claims 1 to 6; 基于所述待使用交互式资源对应的资源预览数据,预览展示所述待使用交互式资源,以便所述用户基于所述待使用交互式资源的预览展示结果执行教学任务。Based on the resource preview data corresponding to the interactive resource to be used, the interactive resource to be used is previewed and displayed, so that the user can perform a teaching task based on a preview display result of the interactive resource to be used. 8.一种交互式资源处理装置,其特征在于,包括:8. An interactive resource processing device, comprising: 第一获取模块,用于响应于用户的交互式资源渲染请求,获取所述交互式资源渲染请求对应的目标交互式资源的特征信息;The first acquiring module is configured to, in response to a user's interactive resource rendering request, acquire feature information of a target interactive resource corresponding to the interactive resource rendering request; 第二获取模块,用于基于所述特征信息,渲染所述目标交互式资源,得到所述目标交互式资源对应的资源预览数据,以便基于所述资源预览数据,向所述用户预览展示所述目标交互式资源。The second obtaining module is configured to render the target interactive resource based on the feature information, and obtain resource preview data corresponding to the target interactive resource, so as to preview and display the target interactive resource to the user based on the resource preview data. Target interactive resource. 9.一种教学装置,其特征在于,包括:9. A teaching device, characterized in that it comprises: 第一确定模块,用于响应于用户的教学请求,确定所述教学请求对应的待使用交互式资源;The first determining module is configured to, in response to a user's teaching request, determine an interactive resource to be used corresponding to the teaching request; 第二确定模块,用于获取所述待使用交互式资源对应的资源预览数据,其中,所述待使用交互式资源对应的资源预览数据基于权利要求1至5任一项所述的交互式资源处理方法得到的;The second determination module is configured to acquire resource preview data corresponding to the interactive resource to be used, wherein the resource preview data corresponding to the interactive resource to be used is based on the interactive resource described in any one of claims 1 to 5 obtained by the processing method; 预览展示模块,用于基于所述待使用交互式资源对应的资源预览数据,预览展示所述待使用交互式资源,以便所述用户基于所述待使用交互式资源的预览展示结果执行教学任务。The preview display module is configured to preview and display the interactive resources to be used based on the resource preview data corresponding to the interactive resources to be used, so that the user can perform teaching tasks based on the preview display results of the interactive resources to be used. 10.一种计算机可读存储介质,其特征在于,所述存储介质存储有计算机程序,所述计算机程序用于执行上述权利要求1至7任一项所述的方法。10. A computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute the method according to any one of claims 1 to 7. 11.一种电子设备,其特征在于,包括:11. An electronic device, characterized in that it comprises: 处理器;processor; 用于存储所述处理器可执行指令的存储器;memory for storing said processor-executable instructions; 所述处理器,用于执行上述权利要求1至7任一项所述的方法。The processor is configured to execute the method described in any one of claims 1 to 7 above.
CN202211399816.7A 2022-11-09 2022-11-09 Interactive resource processing method and device and teaching method and device Pending CN115659085A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211399816.7A CN115659085A (en) 2022-11-09 2022-11-09 Interactive resource processing method and device and teaching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211399816.7A CN115659085A (en) 2022-11-09 2022-11-09 Interactive resource processing method and device and teaching method and device

Publications (1)

Publication Number Publication Date
CN115659085A true CN115659085A (en) 2023-01-31

Family

ID=85015277

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211399816.7A Pending CN115659085A (en) 2022-11-09 2022-11-09 Interactive resource processing method and device and teaching method and device

Country Status (1)

Country Link
CN (1) CN115659085A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118152056A (en) * 2024-03-20 2024-06-07 中建八局第一数字科技有限公司 Teaching resource display method and device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339410A (en) * 2016-08-11 2017-01-18 中山大学 Interactive education resource preview generation method and system
MX2021010858A (en) * 2021-01-15 2022-07-18 Beijing Dajia Internet Information Tech Co Ltd Method and device for acquiring virtual resource and storage medium.
CN114895795A (en) * 2022-07-14 2022-08-12 安徽淘云科技股份有限公司 Interaction method, interaction device, interaction platform, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339410A (en) * 2016-08-11 2017-01-18 中山大学 Interactive education resource preview generation method and system
MX2021010858A (en) * 2021-01-15 2022-07-18 Beijing Dajia Internet Information Tech Co Ltd Method and device for acquiring virtual resource and storage medium.
CN114895795A (en) * 2022-07-14 2022-08-12 安徽淘云科技股份有限公司 Interaction method, interaction device, interaction platform, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
寇兴权, 刘兴环, 张威, 刘宏: "远程教育资源的描述、组织和管理系统设计", 控制工程, no. 04, 31 August 2002 (2002-08-31) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118152056A (en) * 2024-03-20 2024-06-07 中建八局第一数字科技有限公司 Teaching resource display method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109863527B (en) Method and system for server-side rendering of rendered local content
CN102193953B (en) desktop application migration system and method
CN102819560B (en) The display methods and device of picture in a kind of webpage
CN111611518B (en) Automatic visual display page publishing method and system based on Html5
JP2020194567A (en) Methods and systems for web content generation
JP5930497B2 (en) Template file processing method and apparatus
CN113608737A (en) Page generation method, device, equipment and medium
CN110968314B (en) Page generation method and device
JP2014524623A5 (en)
TWI435226B (en) A method of reading a system, a terminal, an image server, a computer program product, a terminal, and an image server
CN113407882A (en) Component generation method and device, computer-readable storage medium and electronic equipment
CN108509504A (en) Document online preview method, device, equipment, client and storage medium
CN112329403A (en) Live broadcast document processing method and device
CN113779469A (en) Website page modification method and device, electronic device and storage medium
CN117093386B (en) Page screenshot method, device, computer equipment and storage medium
CN110333853A (en) Activity card application method, device, equipment and readable storage medium
CN115659085A (en) Interactive resource processing method and device and teaching method and device
US11782984B2 (en) Styling a query response based on a subject identified in the query
CN102142004A (en) Service processing method and service engine
US20240281103A1 (en) Interaction method and apparatus based on multimedia content, and device and storage medium
CN112199090B (en) Information stream processing method, device and computer readable storage medium
CN115795149A (en) Search result display method, device, equipment, storage medium and program product
CN115809363A (en) Content push method, device, electronic device and storage medium
CN114117302A (en) Data conversion method and device
CN114579908A (en) Content distribution method, device, electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination