WO2018090437A1 - 一种离线课件向上兼容的方法、装置及系统 - Google Patents

一种离线课件向上兼容的方法、装置及系统 Download PDF

Info

Publication number
WO2018090437A1
WO2018090437A1 PCT/CN2016/112028 CN2016112028W WO2018090437A1 WO 2018090437 A1 WO2018090437 A1 WO 2018090437A1 CN 2016112028 W CN2016112028 W CN 2016112028W WO 2018090437 A1 WO2018090437 A1 WO 2018090437A1
Authority
WO
WIPO (PCT)
Prior art keywords
courseware
software
version number
screenshot
description
Prior art date
Application number
PCT/CN2016/112028
Other languages
English (en)
French (fr)
Inventor
古意昌
Original Assignee
广州视睿电子科技有限公司
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 广州视睿电子科技有限公司 filed Critical 广州视睿电子科技有限公司
Publication of WO2018090437A1 publication Critical patent/WO2018090437A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/76Adapting program code to run in a different environment; Porting

Definitions

  • the invention belongs to the field of computer data processing, and in particular relates to a method, device and system for upward compatibility of offline courseware.
  • the electronic whiteboard is a product that uses multimedia technology, computer software technology and other technical means to realize multimedia data presentation.
  • the electronic whiteboard is combined with a computer and a projector to project multimedia data on the computer onto the electronic whiteboard screen by the projector.
  • a large screen and an interactive teaching environment can be created.
  • the user creates the courseware through the whiteboard software on the computer in the office or at home.
  • the courseware is opened by the whiteboard software on the computer of the classroom, and the content of the courseware is demonstrated on the electronic whiteboard.
  • General software products will continue to release new versions, which will cause different versions of the software to exist on different users. If users want to use software products on multiple devices, then there will be different software on the device. The version number is inconsistent. If the whiteboard software version number of the courseware is higher than the whiteboard software version number of the demonstration courseware, the whiteboard software of the demonstration courseware may not completely parse the produced courseware, and some elements in the produced courseware are lost, so that the courseware content cannot be properly demonstrated. In addition, if the software of the same device is updated, there may be cases where the updated software cannot open the previously created courseware.
  • the present invention provides a method, device and system for offline courseware upward compatibility, and the technical solution is as follows.
  • a method for upward compatibility of offline courseware includes the following steps:
  • Step S10 defining a version number of the element: defining an element version number of each element supported by each version of the software for making the courseware, and saving the version number of the element in association with the version number of the software;
  • Step S11 creating a courseware: using the first software to make the courseware, and saving the courseware according to the elements and elements used in the production of the courseware and/or the version number of the first software;
  • Step S12 parsing the courseware: parsing the courseware according to the elements and elements used in the courseware and/or the version number of the first software and the element supported by the second software and/or the version number of the second software;
  • the second software is used to open the courseware produced by using the first software.
  • the version of the first software is the same as or different from the version of the second software, and the first software and the second software are installed on the same device or different devices.
  • step S11 saves the courseware according to the elements and elements used in the production of the courseware and/or the version number of the first software.
  • a description of each element used in the courseware and the element are created.
  • the version number is recorded in the description file corresponding to the courseware, and each element is saved as a screenshot, and the description file and the screenshot and the courseware are packaged together into a courseware document;
  • the description of the element includes the position of the element in the courseware. And size;
  • the courseware is parsed according to the elements and elements used to make the courseware and/or the version number of the first software and the element supported by the second software and/or the version number of the second software, including:
  • Step S121 Select the courseware that needs to be opened by the second software
  • Step S122 parsing the courseware according to the elements used in the production of the courseware, and determining, for each element used in the courseware, the element version number corresponding to the version number of the second software and the document record in the courseware document. Whether the element version number is consistent. If it is inconsistent, the screenshot of the unresolvable element is obtained from the courseware document as the content of the element, and the screenshot is added to the corresponding position in the courseware according to the description of the element; if they are consistent, Then the second software directly parses the element;
  • Step S123 When all the elements used in making the courseware are parsed and processed correspondingly, the parsing of the courseware is completed.
  • the step S11 saves the courseware according to the elements and elements used in the production of the courseware and/or the version number of the first software.
  • the version number of the first software of the courseware is created, and the version is created.
  • the description of each element used by the courseware and the version number of the element are recorded in the description file corresponding to the courseware, and each element is saved as a screenshot, and the description file and the screenshot and the courseware are packaged together into a courseware document;
  • the description includes the location and size of the element in the courseware;
  • the courseware is parsed according to the elements and elements used to make the courseware and/or the version number of the first software and the element supported by the second software and/or the version number of the second software, including:
  • Step S121 Select the courseware that needs to be opened by the second software
  • Step S122 determining whether the version number of the second software is consistent with the version number of the first software for creating the courseware recorded in the description file, if the same, directly parsing the courseware; if not, according to the element used to make the courseware
  • the courseware is parsed in turn, and for each element used in the courseware, it is determined whether the version number corresponding to the version number of the second software is consistent with the element version number of the file record in the courseware document, and if they are inconsistent, then
  • the course document obtains a screenshot of the unresolvable element as the content of the element, and in combination with the description of the element, the screenshot is added to the corresponding position in the courseware; if consistent, then The second software directly parses the element;
  • Step S123 When all the elements used in making the courseware are parsed and processed correspondingly, the parsing of the courseware is completed.
  • step S10 the version number of the element is saved in the version number relationship list in association with the version number of the software
  • the step S11 saves the courseware according to the elements and elements used in the production of the courseware and/or the version number of the first software.
  • the version number of the first software of the courseware is created and the courseware is used to create the courseware.
  • the description of each element is recorded in the description file corresponding to the courseware, and each element is saved as a screenshot, and the description file and the screenshot and the courseware are packaged together into a courseware document; the description of the element includes the element in the courseware Location and size;
  • the courseware is parsed according to the elements and elements used to make the courseware and/or the version number of the first software and the element supported by the second software and/or the version number of the second software, including:
  • Step S121 Select the courseware that needs to be opened by the second software
  • Step S122 determining whether the version number of the second software is consistent with the version number of the first software for creating the courseware recorded in the description file, if the same, directly parsing the courseware; if not, according to the element used to make the courseware
  • the courseware is parsed in turn, and each element used in the courseware is determined, and the element version corresponding to the version number of the second software and the version number of the first software saved in the version number relationship list are determined. Whether the numbers are consistent. If they are inconsistent, take a screenshot of the unresolvable element from the courseware document as the content of the element, and combine the description of the element to add the screenshot to the corresponding position in the courseware; if they are consistent, then The second software directly parses the element;
  • Step S123 When all the elements used in making the courseware are parsed and processed correspondingly, the parsing of the courseware is completed.
  • the courseware is a courseware that can be displayed on an electronic whiteboard.
  • An apparatus for implementing an offline courseware upward compatibility method as described above comprising: a first device, a second device, and an electronic whiteboard, wherein the first device creates a courseware through the first software installed thereon; and installs on the second device There is a second software that is the same as or different from the version number of the first software, and the second device opens the courseware through the second software and displays it on the electronic whiteboard.
  • An offline courseware upward compatible system comprising: an element version number definition module, a courseware making module and a courseware parsing module, wherein:
  • Element version number definition module defines an element version number for each element supported by each version of the software used to make the courseware, and saves the version number of the element in association with the version number of the software;
  • a courseware making module using the first software to make the courseware, and saving the courseware according to the elements and elements used in the production of the courseware and/or the version number of the first software;
  • the courseware parsing module parsing the courseware according to the elements and elements used in making the courseware and/or the version number of the first software and the element supported by the second software and/or the version number of the second software;
  • the second software is used to open the courseware produced by using the first software.
  • the version of the first software is the same as or different from the version of the second software, and the first software and the second software are installed on the same device or different devices.
  • the courseware creation module includes: a courseware acquisition module, an element version number acquisition module, an element description acquisition module, an element screenshot acquisition module, and a courseware document preservation module, wherein:
  • the courseware acquisition module is configured to use the first software to create a courseware
  • the element version number obtaining module is configured to obtain a version number of an element used to create the courseware
  • the element description acquisition module is configured to obtain a description of each element used to make the courseware, and the description of the element includes the position and size of the element in the courseware;
  • the element screenshot acquisition module is used to obtain a screenshot of each element used to make the courseware
  • the courseware document saving module is configured to package the courseware acquired by the courseware acquisition module, the element version number obtained by the element version number acquisition module, the element description obtained by the element description acquisition module, and the element screenshot obtained by the element screenshot acquisition module into a courseware document; or
  • the courseware document acquired by the courseware acquisition module, the element version number obtained by the element version number acquisition module, the version number of the first software, the element description obtained by the element description acquisition module, and the element screenshot obtained by the element screenshot acquisition module are packaged into a courseware document; Or used to package the courseware acquired by the courseware acquisition module, the version number of the first software, the element description obtained by the element description acquisition module, and the element screenshot obtained by the element screenshot acquisition module into a courseware document.
  • the courseware parsing module is configured to parse the courseware according to the elements used in the production of the courseware, and determine the version number of the element corresponding to the version number of the second software for each element used in the production of the courseware. Whether the element version number of the file record is consistent in the courseware document. If it is inconsistent, a screenshot of the unresolvable element is obtained from the courseware document as the content of the element, and the screenshot is added to the courseware in combination with the description of the element. Corresponding position; if consistent, the second software directly parses the element; when all the elements used in making the courseware are parsed and processed accordingly, the parsing of the courseware is completed;
  • the courseware parsing module is configured to determine whether the version number is consistent with the version number of the first software for creating the courseware recorded in the description file. If the version number is consistent, the courseware is directly parsed; if not, the courseware is used according to the courseware. The obtained element analyzes the courseware in turn. For each element used in the courseware, it is determined whether the version number corresponding to the version number of the second software is consistent with the element version number of the file record described in the courseware document, if not consistent.
  • the courseware parsing module is configured to determine whether the version number is consistent with the version number of the first software for creating the courseware recorded in the description file. If the version number is consistent, the courseware is directly parsed; if not, the courseware is used according to the courseware.
  • the obtained element analyzes the courseware in turn, and determines, for each element used in the courseware, the element version number corresponding to the version number of the second software and the version number of the first software saved in the version number relationship list. Whether the element version number is consistent.
  • a screenshot of the unresolvable element is obtained from the courseware document as the content of the element, and the screenshot is added to the corresponding position in the courseware according to the description of the element;
  • the second software directly parses the element; when all the elements used in the production of the courseware are parsed and processed accordingly, the parsing of the courseware is completed.
  • system further includes a courseware sending module, wherein the courseware sending module is configured to open the courseware parsed by the courseware parsing module by using the second software, and send the courseware to the electronic whiteboard for display.
  • the invention has the beneficial effects that the invention can deal with compatibility problems when opening the courseware with different software version numbers, and ensures that the elements are always visible when the version numbers are inconsistent, and is not only suitable for preparing lessons on one device, but also teaching on another device.
  • the usage scenario is also suitable for opening courseware scenarios with different versions of software on the same device.
  • FIG. 1 is a flow chart of a method for upward compatibility of an offline courseware according to the present invention
  • FIG. 2 is a schematic structural diagram of an apparatus for upward compatibility of an offline courseware according to the present invention
  • FIG. 3 is a structural block diagram of a system for upward compatibility of offline courseware proposed by the present invention.
  • the invention proposes a method for upward compatibility of offline courseware, as shown in FIG.
  • the method includes the following steps:
  • Step S10 defining the version number of the element:
  • each version of the software may change. For example, the element adds a new attribute, or deletes the attribute, and may also modify the storage method of the original attribute, etc. It is possible to delete this element, which will cause the current software to not fully parse the produced courseware, so in this method, you need to define each element supported by the software of each version number (such as text elements, rectangular elements in whiteboard software). Version number.
  • the supported rectangular elements have width, height, and fill color properties.
  • the version number of the defined rectangular element is v1
  • the version number of the rectangular element is 1. It is stored in the version number relationship list in association with the version number v1 of the software; in the software of version number 2, the functions of the supported rectangular elements may be modified or expanded with new functions (for example, rectangular elements in whiteboard software) The arc of the corner is added), or there may be no modification of the function or expansion of the new function.
  • the function of the rectangular element in version 2 changes and causes software incompatibility, define the version of the rectangle element.
  • the number is a new version number, such as v2, and the version number 2 of the rectangular element is associated with the version number v2 of the software in the version number relationship list.
  • the version number of the software changes the function of the elements it supports, and the change of the element function will cause the software to be incompatible
  • the version number of the element is stored in the version number relationship list in association with the version number of the software.
  • the arrangement of the element version numbers can be numbered in numerical order or in the order in which the software is published.
  • Step S11 creating a courseware, including the following sub-steps:
  • Step S111 Performing a courseware in the software installed by the first client
  • Step S112 When the courseware is created and stored, the description of each element used for the courseware and the version number of the element are recorded in the description file corresponding to the courseware, and each element is saved in a screenshot.
  • the document and the screenshot are packaged together with the courseware to become a courseware document; the description of the element includes the position and size of the element in the courseware;
  • Step S12 Open the courseware, including the following sub-steps:
  • Step S121 Select a courseware to be opened in the second client
  • Step S122 The second client parses the courseware according to the elements used in the creation of the courseware, and determines, for each element used in the courseware, the element version corresponding to the software installed by the second client according to the version number relationship list. The number is the same as the element version number of the file record described in the courseware document. If it is inconsistent, the software installed by the second client cannot parse the element in the courseware, and the screenshot of the unresolvable element is taken from the courseware document as the element.
  • the screenshot is added to the corresponding position in the courseware, wherein the picture format of the screenshot is the picture format supported by the software by default; if consistent, the software installed by the second client can The element is parsed, and the software installed by the second client parses the element;
  • Step S123 When the second client parses and processes all the elements used in the creation of the courseware, the analysis of the courseware is completed, and the courseware is opened and displayed on the electronic whiteboard.
  • the step S122 determines, before the second client parses the courseware according to the elements used to make the courseware, the version number of the second software and the first software for creating the courseware recorded in the description file. Whether the version numbers are consistent. If they are consistent, the courseware is directly parsed; if they are inconsistent, the courseware is parsed in the second client according to the elements used to make the courseware.
  • the step S11 saves the courseware according to the elements and elements used in the production of the courseware and/or the version number of the first software, including: after the courseware is completed, the version number of the first software of the courseware is created, The description of each element used in the courseware and the version number of the element are recorded in the description file corresponding to the courseware, and each element is saved as a screenshot, and the description file and the screenshot are packaged together as the courseware document; The description of the element includes the location and size of the element in the courseware;
  • the courseware is parsed according to the elements and elements used to make the courseware and/or the version number of the first software and the element supported by the second software and/or the version number of the second software, including:
  • Step S121 Select the courseware that needs to be opened by the second software
  • Step S122 determining whether the version number of the second software is consistent with the version number of the first software for creating the courseware recorded in the description file, if the same, directly parsing the courseware; if not, according to the element used to make the courseware The courseware is parsed in turn, and for each element used in the courseware, it is determined whether the version number corresponding to the version number of the second software is consistent with the element version number of the file record in the courseware document, and if they are inconsistent, then Obtaining a screenshot of the unresolvable element in the courseware document as the content of the element, and adding the screenshot to the corresponding position in the courseware according to the description of the element; if consistent, the second software directly parses the element;
  • Step S123 When all the elements used in making the courseware are parsed and processed correspondingly, the parsing of the courseware is completed.
  • the step S11 saves the courseware according to the elements and elements used in the production of the courseware and/or the version number of the first software, including: after the courseware is completed, the version number of the first software of the courseware is created and The description of each element used to make the courseware is recorded in the description file corresponding to the courseware, and each element is saved as a screenshot, and the description file and the screenshot are packaged together as the courseware document; the description of the element includes The yuan The position and size of the courseware;
  • the courseware is parsed according to the elements and elements used to make the courseware and/or the version number of the first software and the element supported by the second software and/or the version number of the second software, including:
  • Step S121 Select the courseware that needs to be opened by the second software
  • Step S122 determining whether the version number of the second software is consistent with the version number of the first software for creating the courseware recorded in the description file, if the same, directly parsing the courseware; if not, according to the element used to make the courseware
  • the courseware is parsed in turn, and each element used in the courseware is determined, and the element version corresponding to the version number of the second software and the version number of the first software saved in the version number relationship list are determined. Whether the numbers are consistent. If they are inconsistent, take a screenshot of the unresolvable element from the courseware document as the content of the element, and combine the description of the element to add the screenshot to the corresponding position in the courseware; if they are consistent, then The second software directly parses the element;
  • Step S123 When all the elements used in making the courseware are parsed and processed correspondingly, the parsing of the courseware is completed.
  • the whiteboard software is taken as an example to describe the scheme.
  • the whiteboard software with version number 1 supports two elements: text and rectangle.
  • the rectangle element contains three attributes: width, height, and fill color.
  • the version number of this rectangle element is defined as v1, and the version number 1 and rectangle element of the whiteboard software are defined.
  • the version number v1 is correspondingly stored in the version number relationship list; likewise, the version number of the text element supported by the whiteboard software defining the version number 1 is v1, and the version number 1 of the whiteboard software is stored correspondingly to the version number v1 of the text element.
  • Version number relationship list ;
  • the whiteboard software with version number 2 supports three elements: text, rectangle, and picture.
  • the format of the image here refers to other image formats other than the default image format supported by the software.
  • the attribute of the text element is compared to the version number of 1.
  • the picture element is a new function in the whiteboard software with version number 2; the whiteboard software with version number 2 can be defined.
  • the version number of the text element is v1 (you can obtain the version number of the text element supported by the whiteboard software with version number 1 by looking up the version number relationship list), the version number of the rectangular element is v2, and the version number of the picture element is v1 And storing the version number 2 of the whiteboard software in the version number relationship list corresponding to the version number v1 of the text element, the version number v2 of the rectangular element, and the version number v1 of the picture element;
  • the courseware contains three elements of text, rectangle and picture.
  • the description of the three elements and the version number of the three elements are recorded to the description.
  • the three elements are also saved as screenshots, wherein the picture format of the screenshot is the image format supported by the software by default, and finally packaged together with the courseware to form a courseware document;
  • the whiteboard software with version number 1 will parse the courseware according to the elements used to create the courseware.
  • the version number v1 of the text element recorded in the courseware document is consistent with the current version number v1 saved in the version number relationship list, and the text element can be parsed normally;
  • the version number v2 of the rectangular element recorded in the courseware document is inconsistent with the current version number v1 saved in the version number relationship list, and the border color and the corner circular radius included in the rectangular element of the v2 version number are two.
  • the attribute cannot be parsed in the whiteboard software with version number 1, so the whiteboard software with version number 1 will take a screenshot of the rectangular element from the courseware document and combine the description of the rectangular element to restore the compatibility of the element;
  • the whiteboard software with version number 1 in the version number relationship list When parsing into a picture element, the whiteboard software with version number 1 in the version number relationship list does not have the version number of the associated picture element, indicating that the whiteboard software with version number 1 cannot parse the picture element, so the whiteboard software with version number 1 will Get a screenshot of the image element in the courseware document and The compatibility of the element is restored in conjunction with the description of the picture element.
  • the present invention proposes an apparatus for implementing the aforementioned offline courseware upward compatibility method, as shown in FIG.
  • the apparatus comprises: a first client 21 for creating courseware using software installed thereon, and a second client 22 for utilizing software installed thereon
  • the courseware created by the first client is opened, and the courseware is displayed on the electronic whiteboard 23.
  • An element version number is defined in the first client 21 and the second client 22 for the elements supported by the software installed thereon.
  • each version of the software may change. For example, the element adds a new attribute, or deletes the attribute, and may also modify the storage method of the original attribute, etc. It is possible to delete this element, which will cause the current software to not fully parse the produced courseware, so in this method, you need to define each element supported by the software of each version number (such as text elements, rectangular elements in whiteboard software). Version number.
  • the supported rectangular elements have width, height, and fill color attributes.
  • the version number of the defined rectangular element is v1
  • the rectangular element is The version number 1 is stored in the version number relationship list in association with the version number v1 of the software; in the software of version number 2, the functions of the supported rectangular elements may be modified or expanded with new functions (for example, whiteboard software)
  • the rectangular element in the rectangle increases the arc of the corner), or there may be no modification of the function or expansion of the new function.
  • the function of the rectangular element in version 2 changes and causes software incompatibility, define The version number of the rectangle element is v2, and the version number 2 of the rectangle element is associated with the version number v2 of the software in the version number relationship list.
  • the version number of the software changes the function of the element it supports, and the change of the element function causes the software to be incompatible
  • the element The version number is associated with the version number of the software and is saved in the version number relationship list.
  • the arrangement of the element version numbers can be numbered in numerical order or in the order of publication time.
  • each element is saved as a screenshot, and the description file and the screenshot are packaged together with the courseware to become a courseware document;
  • the software installed by the second client 22 sequentially parses the courseware according to the elements used in the creation of the courseware, and is used for making the courseware. According to the version number relationship list, it is determined whether the element version number corresponding to the software installed by the second client 22 is consistent with the element version number of the file record described in the courseware document. If not, the software installed by the second client 22 is described.
  • a screenshot of the unresolvable element is obtained from the courseware document as the content of the element, and the screenshot is added to the corresponding position in the courseware in combination with the description of the element, wherein the screenshot image
  • the format is a picture format supported by the software by default; if it is consistent, the software installed by the second client 22 can parse the element, and the element is parsed by the software installed by the second client 22;
  • the invention proposes a system for upward compatibility of offline courseware, as shown in FIG.
  • the system includes: an element version number definition module 30, a courseware acquisition module 31, an element version number acquisition module 32, an element description acquisition module 33, an element screenshot acquisition module 34, a courseware document storage module 35,
  • the courseware parsing module 36 and the courseware sending module 37, the courseware obtaining module 31, the element version number obtaining module 32, the element description obtaining module 33, the element screenshot acquiring module 34, and the courseware document saving module 35 constitute a courseware making module, wherein:
  • the element version number definition module 30 is configured to define a version number of an element supported by the software for creating the courseware, and save the version number of the element in association with the version number of the software for creating the courseware in the version number relationship list;
  • the courseware obtaining module 31 is configured to create a courseware by using software installed by the first client;
  • the element version number obtaining module 32 is configured to obtain a version number of an element used for making the courseware
  • the element description obtaining module 33 is configured to obtain a description of each element used to make the courseware, and the description of the element includes the position and size of the element in the courseware;
  • the element screenshot acquisition module 34 is configured to obtain a screenshot of each element used to make the courseware
  • the courseware document saving module 35 is configured to acquire the element version number obtained by the courseware obtaining module 31, the element version number obtained by the element version number obtaining module 32, the element description obtained by the element description obtaining module 33, and the element screenshot acquiring module 34.
  • the element screenshots are packaged together into a courseware document; or the courseware acquired by the courseware acquisition module, the element version number obtained by the module version number acquisition module, the version number of the first software, the element description obtained by the element description acquisition module, and the element screenshot acquisition
  • the screenshots of the elements obtained by the module are packaged together into a courseware document; or the courseware acquired by the courseware acquisition module, the version number of the first software, the element description obtained by the element description acquisition module, and the element screenshots acquired by the element screenshot acquisition module are packaged into courseware.
  • the courseware parsing module 36 is configured to parse the courseware according to the elements used to make the courseware, and determine the element version number corresponding to the version number of the second software and the description in the courseware document for each element used in the production of the courseware. Whether the element version number of the file record is consistent. If it is inconsistent, a screenshot of the unresolvable element is obtained from the courseware document as the element. Content, and in combination with the description of the element, the screenshot is added to the corresponding position in the courseware; if it is consistent, the second software directly parses the element; when all the elements used in making the courseware are parsed and Correspondingly, the parsing of the courseware is completed;
  • the courseware parsing module is configured to determine whether the version number is consistent with the version number of the first software for creating the courseware recorded in the description file. If the version number is consistent, the courseware is directly parsed; if not, the courseware is used according to the courseware. The obtained element analyzes the courseware in turn. For each element used in the courseware, it is determined whether the version number corresponding to the version number of the second software is consistent with the element version number of the file record described in the courseware document, if not consistent.
  • the courseware parsing module is configured to determine whether the version number is consistent with the version number of the first software for creating the courseware recorded in the description file. If the version number is consistent, the courseware is directly parsed; if not, the courseware is used according to the courseware.
  • the obtained element analyzes the courseware in turn, and determines, for each element used in the courseware, the element version number corresponding to the version number of the second software and the version number of the first software saved in the version number relationship list. Whether the element version number is consistent.
  • a screenshot of the unresolvable element is obtained from the courseware document as the content of the element, and the screenshot is added to the corresponding position in the courseware according to the description of the element; , the second software directly parses the element; when all the elements used in the production of the courseware are parsed and processed correspondingly, the parsing of the courseware is completed;
  • the courseware sending module 37 is configured to open the courseware parsed by the courseware parsing module by using the second software and send the courseware to the electronic whiteboard for display.

Abstract

一种离线课件向上兼容的方法、装置及系统,其中方法包括如下步骤:定义元素的版本号(S10):对用于制作课件的软件的每个版本所支持的每个元素定义其元素版本号,并将元素的版本号与软件的版本号相关联地保存;制作课件(S11):在第一客户端安装的软件中进行课件的制作(S111),存储制作完毕的课件(S112);打开课件(S12):在第二客户端选择需要打开的课件(S121),第二客户端安装的软件根据制作该课件使用到的元素依次对该课件进行解析(S122),打开解析完的课件(S123)。该方法能够处理不同软件版本号打开课件时出现的兼容性问题,在版本号不一致时能够确保元素始终可见。

Description

一种离线课件向上兼容的方法、装置及系统 技术领域
本发明属于计算机数据处理领域,具体涉及一种离线课件向上兼容的方法、装置及系统。
背景技术
电子白板是一种利用电子技术、计算机软件技术等多种技术手段来实现多媒体资料演示的产品。电子白板与计算机和投影机结合,可以将计算机上的多媒体资料利用投影机投影到电子白板屏幕上,在计算机白板软件的支持下,可以营造出大屏幕、交互式的教学环境。
用户在办公室或家里的计算机上通过白板软件制作课件,授课时,在教室的计算机上通过白板软件打开该课件,并在电子白板上演示该课件的内容。一般软件产品都会不停的发布新的版本,这样就会造成了不同版本的软件存在于不同的用户端上,如果用户要在多个设备上使用软件产品,那么就会存在不同的设备上软件版本号不一致的情况。如果制作课件的白板软件版本号高于演示课件的白板软件版本号,则可能会造成演示课件的白板软件无法完全解析制作的课件,制作的课件中某些元素丢失导致课件内容不能正常演示。另外,如果同一设备的软件进行了更新,也可能会出现更新后的软件无法正常打开之前已制作的课件的情况。
发明内容
为了解决上述技术问题,本发明提出了一种离线课件向上兼容的方法、装置及系统,技术方案如下。
一种离线课件向上兼容的方法,包括如下步骤:
步骤S10、定义元素的版本号:对用于制作课件的软件的每个版本所支持的每个元素定义其元素版本号,并将元素的版本号与软件的版本号相关联地保存;
步骤S11、制作课件:利用第一软件进行课件的制作,并根据制作课件使用到的元素及元素和/或第一软件的版本号保存该课件;
步骤S12、解析课件:根据制作该课件使用到的元素及元素和/或第一软件的版本号以及第二软件所支持的元素和/或第二软件的版本号对该课件进行解析;
其中,第二软件用于打开利用第一软件制作的课件,第一软件的版本与第二软件的版本相同或者不同,第一软件与第二软件安装在相同设备或不同设备上。
进一步地,所述步骤S11中根据制作课件使用到的元素及元素和/或第一软件的版本号保存该课件包括:课件制作完毕后,将制作该课件使用到的各个元素的描述及该元素的版本号记录到与该课件对应的描述文件中,同时将各个元素进行截图保存,将该描述文件和截图以及该课件一同打包成为课件文档;所述元素的描述包括该元素在课件中的位置和大小;
所述步骤S12中,根据制作该课件使用到的元素及元素和/或第一软件的版本号以及第二软件所支持的元素和/或第二软件的版本号对该课件进行解析包括:
步骤S121:选择需要第二软件打开的该课件;
步骤S122:按照制作该课件使用到的元素依次对该课件进行解析,对于制作该课件使用到的每个元素,判断第二软件的版本号所对应的元素版本号与课件文档中描述文件记录的元素版本号是否一致,如果不一致,则从课件文档中获取不能解析的元素的截图作为该元素的内容,并结合该元素的描述,将该截图补充在所述课件中的相应位置;如果一致,则第二软件直接对该元素进行解析;
步骤S123:当对制作该课件使用到的所有元素进行了解析及相应处理,则该课件的解析完成。
进一步地,所述步骤S11中根据制作课件使用到的元素及元素和/或第一软件的版本号保存该课件包括:课件制作完毕后,将制作该课件的第一软件的版本号、制作该课件使用到的各个元素的描述及元素的版本号记录到与该课件对应的描述文件中,同时将各个元素进行截图保存,将该描述文件和截图以及该课件一同打包成为课件文档;所述元素的描述包括该元素在课件中的位置和大小;
所述步骤S12中,根据制作该课件使用到的元素及元素和/或第一软件的版本号以及第二软件所支持的元素和/或第二软件的版本号对该课件进行解析包括:
步骤S121:选择需要第二软件打开的该课件;
步骤S122:判断第二软件的版本号与描述文件中记录的制作该课件的第一软件的版本号是否一致,如果一致,则直接解析该课件;如果不一致,则按照制作该课件使用到的元素依次对该课件进行解析,对于制作该课件使用到的每个元素,判断第二软件的版本号所对应的元素版本号与课件文档中描述文件记录的元素版本号是否一致,如果不一致,则从课件文档中获取不能解析的元素的截图作为该元素的内容,并结合该元素的描述,将该截图补充在所述课件中的相应位置;如果一致,则第 二软件直接对该元素进行解析;
步骤S123:当对制作该课件使用到的所有元素进行了解析及相应处理,则该课件的解析完成。
进一步地,步骤S10中将元素的版本号与软件的版本号相关联地保存在版本号关系列表中;
所述步骤S11中根据制作课件使用到的元素及元素和/或第一软件的版本号保存该课件包括:课件制作完毕后,将制作该课件的第一软件的版本号以及制作该课件使用到的各个元素的描述记录到与该课件对应的描述文件中,同时将各个元素进行截图保存,将该描述文件和截图以及该课件一同打包成为课件文档;所述元素的描述包括该元素在课件中的位置和大小;
所述步骤S12中,根据制作该课件使用到的元素及元素和/或第一软件的版本号以及第二软件所支持的元素和/或第二软件的版本号对该课件进行解析包括:
步骤S121:选择需要第二软件打开的该课件;
步骤S122:判断第二软件的版本号与描述文件中记录的制作该课件的第一软件的版本号是否一致,如果一致,则直接解析该课件;如果不一致,则按照制作该课件使用到的元素依次对该课件进行解析,对于制作该课件使用到的每个元素,判断第二软件的版本号所对应的元素版本号与版本号关系列表中保存的第一软件的版本号所对应的元素版本号是否一致,如果不一致,则从课件文档中获取不能解析的元素的截图作为该元素的内容,并结合该元素的描述,将该截图补充在所述课件中的相应位置;如果一致,则第二软件直接对该元素进行解析;
步骤S123:当对制作该课件使用到的所有元素进行了解析及相应处理,则该课件的解析完成。
进一步地,所述课件为能够在电子白板上显示的课件。
一种实现如前所述的离线课件向上兼容方法的装置,包括:第一设备、第二设备和电子白板,其中,第一设备通过其上安装的第一软件制作课件;第二设备上安装有与第一软件的版本号相同或不同的第二软件,第二设备通过第二软件打开该课件并将其显示在电子白板上。
一种离线课件向上兼容的系统,该系统包括:元素版本号定义模块、课件制作模块和课件解析模块,其中:
元素版本号定义模块:对用于制作课件的软件的每个版本所支持的每个元素定义其元素版本号,并将元素的版本号与软件的版本号相关联地保存;
课件制作模块;利用第一软件进行课件的制作,并根据制作课件使用到的元素及元素和/或第一软件的版本号保存该课件;
课件解析模块:根据制作该课件使用到的元素及元素和/或第一软件的版本号以及第二软件所支持的元素和/或第二软件的版本号对该课件进行解析;
其中,第二软件用于打开利用第一软件制作的课件,第一软件的版本与第二软件的版本相同或者不同,第一软件与第二软件安装在相同设备或不同设备上。
进一步地,所述课件制作模块包括:课件获取模块、元素版本号获取模块、元素描述获取模块、元素截图获取模块和课件文档保存模块,其中:
课件获取模块用于利用第一软件制作课件;
元素版本号获取模块用于获取制作所述课件用到的元素的版本号;
元素描述获取模块用于获取制作该课件使用到的各个元素的描述,所述元素的描述包括该元素在课件中的位置和大小;
元素截图获取模块用于获取制作该课件使用到的各个元素的截图;
课件文档保存模块用于将课件获取模块获取的课件、元素版本号获取模块获取的元素版本号、元素描述获取模块获取的元素描述以及元素截图获取模块获取的元素截图一同打包成课件文档;或者用于将课件获取模块获取的课件、元素版本号获取模块获取的元素版本号、第一软件的版本号、元素描述获取模块获取的元素描述以及元素截图获取模块获取的元素截图一同打包成课件文档;或者用于将课件获取模块获取的课件、第一软件的版本号、元素描述获取模块获取的元素描述以及元素截图获取模块获取的元素截图一同打包成课件文档。
进一步地,所述课件解析模块用于按照制作该课件使用到的元素依次对该课件进行解析,对于制作该课件使用到的每个元素,判断第二软件的版本号所对应的元素版本号与课件文档中描述文件记录的元素版本号是否一致,如果不一致,则从课件文档中获取不能解析的元素的截图作为该元素的内容,并结合该元素的描述,将该截图补充在所述课件中的相应位置;如果一致,则第二软件直接对该元素进行解析;当对制作该课件使用到的所有元素进行了解析及相应处理,则该课件的解析完成;
或者,所述课件解析模块用于判断其版本号与描述文件中记录的制作该课件的第一软件的版本号是否一致,如果一致,则直接解析该课件;如果不一致,则按照制作该课件使用到的元素依次对该课件进行解析,对于制作该课件使用到的每个元素,判断第二软件的版本号所对应的元素版本号与课件文档中描述文件记录的元素版本号是否一致,如果不一致,则从课件文档中获取不能解析的元素的截图作为该元素的内容,并结合该元素的描述,将该截图补充在所述课件中的相应位置;如果一致,则第二软件直接对该元素进行解析;当对制作该课件使用到的所有元素进行了解析及相应处理,则该课件的解析完成;
或者,所述课件解析模块用于判断其版本号与描述文件中记录的制作该课件的第一软件的版本号是否一致,如果一致,则直接解析该课件;如果不一致,则按照制作该课件使用到的元素依次对该课件进行解析,对于制作该课件使用到的每个元素,判断第二软件的版本号所对应的元素版本号与版本号关系列表中保存的第一软件的版本号所对应的元素版本号是否一致,如果不一致,则从课件文档中获取不能解析的元素的截图作为该元素的内容,并结合该元素的描述,将该截图补充在所述课件中的相应位置;如果一致,则第二软件直接对该元素进行解析;当对制作该课件使用到的所有元素进行了解析及相应处理,则该课件的解析完成。
进一步地,所述系统还包括课件发送模块,所述课件发送模块用于通过第二软件打开课件解析模块解析完的课件并将该课件发送给电子白板进行显示。
本发明的有益效果:本发明能够处理不同软件版本号打开课件时出现的兼容性问题,在版本号不一致时能够确保元素始终可见,不仅适合在一台设备上备课,在另一台设备上授课的使用场景,也适合在同一台设备上利用不同版本的软件打开课件的场景。
附图说明
图1是本发明提出的离线课件向上兼容的方法流程图;
图2是本发明提出的离线课件向上兼容的装置的结构示意图;
图3是本发明提出的离线课件向上兼容的系统的结构框图。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体 实施例,并参照附图,对本发明进一步详细说明。但本领域技术人员知晓,本发明并不局限于附图和以下实施例。
本发明提出了一种离线课件向上兼容的方法,如图1所示。该方法包括的步骤如下:
步骤S10、定义元素的版本号:
随着软件版本的不断发布,每个版本号的软件所支持的元素功能可能会发生变化,例如,元素新增加了属性,或者删除了属性,也有可能修改了原有属性的存储方式等,甚至可能删去了该元素,会造成当前的软件无法完全解析制作的课件,因此在该方法中,需要定义每个版本号的软件所支持的每个元素(例如白板软件中的文本元素、矩形元素)的版本号。
以矩形元素为例,例如在版本号为1的软件中,其所支持的矩形元素具有宽、高、填充色属性,此时定义矩形元素的版本号为v1,并将矩形元素的版本号1与软件的版本号v1关联保存在版本号关系列表中;在版本号2的软件中,其所支持的矩形元素的功能可能有了修改或者进行了新功能的扩充(例如白板软件中的矩形元素增加了边角的圆弧度),也可能功能上没有修改或没有新功能的扩充,如果版本号2中矩形元素的功能发生变化并且会导致出现软件不兼容的问题,则定义矩形元素的版本号为新的版本号,例如v2,并将矩形元素的版本号2与软件的版本号v2关联保存在版本号关系列表中。
依此类推,软件的版本号变化引起其所支持的元素的功能发生变化,并且元素功能的变化会导致软件出现不兼容的问题,则需要定义元素在该版本号软件中的版本号,并将元素的版本号与软件的版本号关联保存在版本号关系列表中。元素版本号的编排方式可以按照数字大小顺序编号,也可以按照软件的发布时间顺序编号。
步骤S11、制作课件,包括如下子步骤:
步骤S111、在第一客户端安装的软件中进行课件的制作;
步骤S112、课件制作完毕进行存储时,将制作该课件使用到的各个元素的描述及该元素的版本号等内容记录到与该课件对应的描述文件中,同时将各个元素进行截图保存,该描述文件和截图以及该课件一同打包成为课件文档;所述元素的描述包括该元素在课件中的位置和大小;
步骤S12、打开课件,包括如下子步骤:
步骤S121:在第二客户端选择需要打开的课件;
步骤S122:第二客户端按照制作该课件使用到的元素依次对该课件进行解析,对于制作该课件使用到的每个元素,根据版本号关系列表判断第二客户端安装的软件对应的元素版本号与课件文档中描述文件记录的元素版本号是否一致,如果不一致,说明第二客户端安装的软件不能解析课件中的该元素,则从课件文档中获取不能解析的元素的截图作为该元素的内容,并结合该元素的描述,将该截图补充在所述课件中的相应位置,其中截图的图片格式为该软件默认支持的图片格式;如果一致,说明第二客户端安装的软件能够对该元素进行解析,则第二客户端安装的软件对该元素进行解析;
步骤S123:当第二客户端对制作该课件使用到的所有元素进行了解析及相应处理,则完成对该课件的解析,打开该课件,在电子白板上进行显示。
可替代地,所述步骤S122在第二客户端按照制作该课件使用到的元素依次对该课件进行解析之前,判断第二软件的版本号与描述文件中记录的制作该课件的第一软件的版本号是否一致,如果一致,则直接解析该课件;如果不一致,则在第二客户端按照制作该课件使用到的元素依次对该课件进行解析。
再可替代地,所述步骤S11中根据制作课件使用到的元素及元素和/或第一软件的版本号保存该课件包括:课件制作完毕后,将制作该课件的第一软件的版本号、制作该课件使用到的各个元素的描述及元素的版本号记录到与该课件对应的描述文件中,同时将各个元素进行截图保存,将该描述文件和截图以及该课件一同打包成为课件文档;所述元素的描述包括该元素在课件中的位置和大小;
所述步骤S12中,根据制作该课件使用到的元素及元素和/或第一软件的版本号以及第二软件所支持的元素和/或第二软件的版本号对该课件进行解析包括:
步骤S121:选择需要第二软件打开的该课件;
步骤S122:判断第二软件的版本号与描述文件中记录的制作该课件的第一软件的版本号是否一致,如果一致,则直接解析该课件;如果不一致,则按照制作该课件使用到的元素依次对该课件进行解析,对于制作该课件使用到的每个元素,判断第二软件的版本号所对应的元素版本号与课件文档中描述文件记录的元素版本号是否一致,如果不一致,则从课件文档中获取不能解析的元素的截图作为该元素的内容,并结合该元素的描述,将该截图补充在所述课件中的相应位置;如果一致,则第二软件直接对该元素进行解析;
步骤S123:当对制作该课件使用到的所有元素进行了解析及相应处理,则该课件的解析完成。
再可替代地,所述步骤S11中根据制作课件使用到的元素及元素和/或第一软件的版本号保存该课件包括:课件制作完毕后,将制作该课件的第一软件的版本号以及制作该课件使用到的各个元素的描述记录到与该课件对应的描述文件中,同时将各个元素进行截图保存,将该描述文件和截图以及该课件一同打包成为课件文档;所述元素的描述包括该元 素在课件中的位置和大小;
所述步骤S12中,根据制作该课件使用到的元素及元素和/或第一软件的版本号以及第二软件所支持的元素和/或第二软件的版本号对该课件进行解析包括:
步骤S121:选择需要第二软件打开的该课件;
步骤S122:判断第二软件的版本号与描述文件中记录的制作该课件的第一软件的版本号是否一致,如果一致,则直接解析该课件;如果不一致,则按照制作该课件使用到的元素依次对该课件进行解析,对于制作该课件使用到的每个元素,判断第二软件的版本号所对应的元素版本号与版本号关系列表中保存的第一软件的版本号所对应的元素版本号是否一致,如果不一致,则从课件文档中获取不能解析的元素的截图作为该元素的内容,并结合该元素的描述,将该截图补充在所述课件中的相应位置;如果一致,则第二软件直接对该元素进行解析;
步骤S123:当对制作该课件使用到的所有元素进行了解析及相应处理,则该课件的解析完成。
下面以白板软件为例,对该方案进行描述。
版本号为1的白板软件支持文本和矩形两种元素,其中,矩形元素包含宽、高、填充色3个属性,定义此矩形元素的版本号为v1,将白板软件的版本号1与矩形元素的版本号v1对应存储在版本号关系列表中;同样,定义版本号为1的白板软件支持的文本元素的版本号为v1,将白板软件的版本号1与文本元素的版本号v1对应存储在版本号关系列表中;
版本号为2的白板软件支持文本、矩形和图片三种元素,这里的图片的格式是指软件默认支持的图片格式之外的其他图片格式,其中,文本元素的属性相比版本号为1的白板软件支持的文本元素的属性未发生 变化,矩形元素包含宽、高、填充色、边框色、边角圆形半径5个属性,图片元素是在版本号为2的白板软件中新增的功能;可以定义版本号为2的白板软件中,文本元素的版本号为v1(可以通过查找版本号关系列表获取版本号为1的白板软件所支持的文本元素的版本号),矩形元素的版本号为v2,图片元素的版本号为v1,将白板软件的版本号2与文本元素的版本号v1、矩形元素的版本号v2和图片元素的版本号v1对应存储在版本号关系列表中;
如果采用版本号为2的白板软件中制作课件,课件中包含文本、矩形和图片三种元素,课件制作完毕进行存储时,将这三种元素的描述及这三种元素的版本号记录到描述文件中,同时将这三个元素进行截图保存,其中截图的图片格式为该软件默认支持的图片格式,最后和课件一起打包形成课件文档;
当在版本号为1的白板软件打开版本号为2的白板软件制作的课件时,版本号为1的白板软件会对课件根据制作该课件使用到的元素进行解析。
解析到文本元素时,课件文档中记录的文本元素的版本号v1与版本号关系列表中保存的当前版本号v1一致,则文本元素可以正常解析;
解析到矩形元素时,课件文档中记录的矩形元素的版本号v2与版本号关系列表中保存的当前版本号v1不一致,v2版本号的矩形元素中包含的边框色、边角圆形半径两个属性在版本号为1的白板软件中不能解析,因此版本号为1的白板软件会从课件文档中获取矩形元素的截图并结合矩形元素的描述进行该元素的兼容性还原;
解析到图片元素时,版本号关系列表中版本号为1的白板软件没有关联的图片元素的版本号,说明版本号为1的白板软件不能解析图片元素,因此版本号为1的白板软件会从课件文档中获取图片元素的截图并 结合图片元素的描述进行该元素的兼容性还原。
当版本号为2的白板软件所支持的三种元素均被解析完毕,则实现了该课件的向上兼容。
本发明提出了一种实现前述离线课件向上兼容方法的装置,如图2所示。该装置包括:第一客户端21、第二客户端22和电子白板23,其中第一客户端21用于利用其上安装的软件制作课件,第二客户端22用于利用其上安装的软件打开第一客户端制作的课件,并将该课件显示在电子白板23上。
在第一客户端21和第二客户端22中均对其上安装的所述软件所支持的元素定义元素版本号。
随着软件版本的不断发布,每个版本号的软件所支持的元素功能可能会发生变化,例如,元素新增加了属性,或者删除了属性,也有可能修改了原有属性的存储方式等,甚至可能删去了该元素,会造成当前的软件无法完全解析制作的课件,因此在该方法中,需要定义每个版本号的软件所支持的每个元素(例如白板软件中的文本元素、矩形元素)的版本号。
以白板软件中的矩形元素为例,例如在版本号为1的软件中,其所支持的矩形元素具有宽、高、填充色属性,此时定义矩形元素的版本号为v1,并将矩形元素的版本号1与软件的版本号v1关联保存在版本号关系列表中;在版本号2的软件中,其所支持的矩形元素的功能可能有了修改或者进行了新功能的扩充(例如白板软件中的矩形元素增加了边角的圆弧度),也可能功能上没有修改或没有新功能的扩充,如果版本号2中矩形元素的功能发生变化并且会导致出现软件不兼容的问题,则定义矩形元素的版本号为v2,并将矩形元素的版本号2与软件的版本号v2关联保存在版本号关系列表中。
依次类推,软件的版本号变化引起其所支持的元素的功能发生变化,并且元素功能的变化会导致软件出现不兼容的问题,则需要定义元素在该版本号软件中的版本号,并将元素的版本号与软件的版本号关联保存在版本号关系列表中。元素版本号的编排方式可以按照数字大小顺序编号,也可以按照发布时间顺序编号。
在第一客户端21利用第一客户端21上安装的软件制作完课件进行存储时,将制作该课件使用到的各个元素的描述及各个元素的版本号等内容记录到与该课件对应的描述文件中,同时将各个元素进行截图保存,该描述文件和截图连同课件一同打包成为课件文档;
在第二客户端22利用第二客户端22上安装的软件打开该课件时,第二客户端22安装的软件按照制作该课件使用到的元素依次对该课件进行解析,对于制作该课件使用到的每个元素,根据版本号关系列表判断第二客户端22安装的软件对应的元素版本号与课件文档中描述文件记录的元素版本号是否一致,如果不一致,说明第二客户端22安装的软件不能解析课件中的该元素,则从课件文档中获取不能解析的元素的截图作为该元素的内容,并结合该元素的描述,将该截图补充在所述课件中的相应位置,其中截图的图片格式为该软件默认支持的图片格式;如果一致,说明第二客户端22安装的软件能够对该元素进行解析,则利用第二客户端22安装的软件对该元素进行解析;
当第二客户端22安装的软件对制作该课件使用到的所有元素进行了对比判断和处理,则完成对该课件的解析,打开该制作的课件在电子白板23上显示。
本发明提出了一种离线课件向上兼容的系统,如图3所示。该系统包括:元素版本号定义模块30、课件获取模块31、元素版本号获取模块32、元素描述获取模块33、元素截图获取模块34、课件文档保存模块35、 课件解析模块36和课件发送模块37,课件获取模块31、元素版本号获取模块32、元素描述获取模块33、元素截图获取模块34、课件文档保存模块35构成课件制作模块,其中:
元素版本号定义模块30用于定义制作课件的软件所支持的元素的版本号,并将元素的版本号与制作所述课件的软件的版本号关联保存在版本号关系列表中;
课件获取模块31用于利用第一客户端安装的软件制作课件;
元素版本号获取模块32用于获取制作该课件用到的元素的版本号;
元素描述获取模块33用于获取制作该课件使用到的各个元素的描述,所述元素的描述包括该元素在课件中的位置和大小;
元素截图获取模块34用于获取制作该课件使用到的各个元素的截图;
课件文档保存模块35用于将课件获取模块31获取的课件、元素版本号获取模块32获取的制作该课件用到的元素版本号、元素描述获取模块33获取的元素描述以及元素截图获取模块34获取的元素截图一同打包成课件文档;或者用于将课件获取模块获取的课件、元素版本号获取模块获取的元素版本号、第一软件的版本号、元素描述获取模块获取的元素描述以及元素截图获取模块获取的元素截图一同打包成课件文档;或者用于将课件获取模块获取的课件、第一软件的版本号、元素描述获取模块获取的元素描述以及元素截图获取模块获取的元素截图一同打包成课件文档;
课件解析模块36用于按照制作该课件使用到的元素依次对该课件进行解析,对于制作该课件使用到的每个元素,判断第二软件的版本号所对应的元素版本号与课件文档中描述文件记录的元素版本号是否一致,如果不一致,则从课件文档中获取不能解析的元素的截图作为该元素的 内容,并结合该元素的描述,将该截图补充在所述课件中的相应位置;如果一致,则第二软件直接对该元素进行解析;当对制作该课件使用到的所有元素进行了解析及相应处理,则该课件的解析完成;
或者,所述课件解析模块用于判断其版本号与描述文件中记录的制作该课件的第一软件的版本号是否一致,如果一致,则直接解析该课件;如果不一致,则按照制作该课件使用到的元素依次对该课件进行解析,对于制作该课件使用到的每个元素,判断第二软件的版本号所对应的元素版本号与课件文档中描述文件记录的元素版本号是否一致,如果不一致,则从课件文档中获取不能解析的元素的截图作为该元素的内容,并结合该元素的描述,将该截图补充在所述课件中的相应位置;如果一致,则第二软件直接对该元素进行解析;当对制作该课件使用到的所有元素进行了解析及相应处理,则该课件的解析完成;
或者,所述课件解析模块用于判断其版本号与描述文件中记录的制作该课件的第一软件的版本号是否一致,如果一致,则直接解析该课件;如果不一致,则按照制作该课件使用到的元素依次对该课件进行解析,对于制作该课件使用到的每个元素,判断第二软件的版本号所对应的元素版本号与版本号关系列表中保存的第一软件的版本号所对应的元素版本号是否一致,如果不一致,则从课件文档中获取不能解析的元素的截图作为该元素的内容,并结合该元素的描述,将该截图补充在所述课件中的相应位置;如果一致,则第二软件直接对该元素进行解析;当对制作该课件使用到的所有元素进行了解析及相应处理,则该课件的解析完成;
课件发送模块37用于通过第二软件打开课件解析模块解析完的课件并将该课件发送给电子白板进行显示。
以上,对本发明的实施方式进行了说明。但是,本发明不限定于上 述实施方式。凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (10)

  1. 一种离线课件向上兼容的方法,其特征在于,包括如下步骤:
    步骤S10、定义元素的版本号:对用于制作课件的软件的每个版本所支持的每个元素定义其元素版本号,并将元素的版本号与软件的版本号相关联地保存;
    步骤S11、制作课件:利用第一软件进行课件的制作,并根据制作课件使用到的元素及元素和/或第一软件的版本号保存该课件;
    步骤S12、解析课件:根据制作该课件使用到的元素及元素和/或第一软件的版本号以及第二软件所支持的元素和/或第二软件的版本号对该课件进行解析;
    其中,第二软件用于打开利用第一软件制作的课件,第一软件的版本与第二软件的版本相同或者不同,第一软件与第二软件安装在相同设备或不同设备上。
  2. 根据权利要求1所述的方法,其特征在于,所述步骤S11中根据制作课件使用到的元素及元素和/或第一软件的版本号保存该课件包括:课件制作完毕后,将制作该课件使用到的各个元素的描述及该元素的版本号记录到与该课件对应的描述文件中,同时将各个元素进行截图保存,将该描述文件和截图以及该课件一同打包成为课件文档;所述元素的描述包括该元素在课件中的位置和大小;
    所述步骤S12中,根据制作该课件使用到的元素及元素和/或第一软件的版本号以及第二软件所支持的元素和/或第二软件的版本号对该课件进行解析包括:
    步骤S121:选择需要第二软件打开的该课件;
    步骤S122:按照制作该课件使用到的元素依次对该课件进行解析,对于制作该课件使用到的每个元素,判断第二软件的版本号所对应的元素版本号与课件文 档中描述文件记录的元素版本号是否一致,如果不一致,则从课件文档中获取不能解析的元素的截图作为该元素的内容,并结合该元素的描述,将该截图补充在所述课件中的相应位置;如果一致,则第二软件直接对该元素进行解析;
    步骤S123:当对制作该课件使用到的所有元素进行了解析及相应处理,则该课件的解析完成。
  3. 根据权利要求1所述的方法,其特征在于,所述步骤S11中根据制作课件使用到的元素及元素和/或第一软件的版本号保存该课件包括:课件制作完毕后,将制作该课件的第一软件的版本号、制作该课件使用到的各个元素的描述及元素的版本号记录到与该课件对应的描述文件中,同时将各个元素进行截图保存,将该描述文件和截图以及该课件一同打包成为课件文档;所述元素的描述包括该元素在课件中的位置和大小;
    所述步骤S12中,根据制作该课件使用到的元素及元素和/或第一软件的版本号以及第二软件所支持的元素和/或第二软件的版本号对该课件进行解析包括:
    步骤S121:选择需要第二软件打开的该课件;
    步骤S122:判断第二软件的版本号与描述文件中记录的制作该课件的第一软件的版本号是否一致,如果一致,则直接解析该课件;如果不一致,则按照制作该课件使用到的元素依次对该课件进行解析,对于制作该课件使用到的每个元素,判断第二软件的版本号所对应的元素版本号与课件文档中描述文件记录的元素版本号是否一致,如果不一致,则从课件文档中获取不能解析的元素的截图作为该元素的内容,并结合该元素的描述,将该截图补充在所述课件中的相应位置;如果一致,则第二软件直接对该元素进行解析;
    步骤S123:当对制作该课件使用到的所有元素进行了解析及相应处理,则该课件的解析完成。
  4. 根据权利要求1所述的方法,其特征在于,步骤S10中将元素的版本号与软件的版本号相关联地保存在版本号关系列表中;
    所述步骤S11中根据制作课件使用到的元素及元素和/或第一软件的版本号保存该课件包括:课件制作完毕后,将制作该课件的第一软件的版本号以及制作该课件使用到的各个元素的描述记录到与该课件对应的描述文件中,同时将各个元素进行截图保存,将该描述文件和截图以及该课件一同打包成为课件文档;所述元素的描述包括该元素在课件中的位置和大小;
    所述步骤S12中,根据制作该课件使用到的元素及元素和/或第一软件的版本号以及第二软件所支持的元素和/或第二软件的版本号对该课件进行解析包括:
    步骤S121:选择需要第二软件打开的该课件;
    步骤S122:判断第二软件的版本号与描述文件中记录的制作该课件的第一软件的版本号是否一致,如果一致,则直接解析该课件;如果不一致,则按照制作该课件使用到的元素依次对该课件进行解析,对于制作该课件使用到的每个元素,判断第二软件的版本号所对应的元素版本号与版本号关系列表中保存的第一软件的版本号所对应的元素版本号是否一致,如果不一致,则从课件文档中获取不能解析的元素的截图作为该元素的内容,并结合该元素的描述,将该截图补充在所述课件中的相应位置;如果一致,则第二软件直接对该元素进行解析;
    步骤S123:当对制作该课件使用到的所有元素进行了解析及相应处理,则该课件的解析完成。
  5. 根据权利要求1-4中任一项所述的方法,其特征在于,所述课件为能够在电子白板上显示的课件。
  6. 一种实现如权利要求1-5中任一项所述的离线课件向上兼容方法的装置,其特征在于,包括:第一设备、第二设备和电子白板,其中,第一设备通过其上安装的第一软件制作课件;第二设备上安装有与第一软件的版本号相同或不同的第二软件,第二设备通过第二软件打开该课件并将其显示在电子白板上。
  7. 一种离线课件向上兼容的系统,其特征在于,该系统包括:元素版本号定义模块、课件制作模块和课件解析模块,其中:
    元素版本号定义模块:对用于制作课件的软件的每个版本所支持的每个元素定义其元素版本号,并将元素的版本号与软件的版本号相关联地保存;
    课件制作模块;利用第一软件进行课件的制作,并根据制作课件使用到的元素及元素和/或第一软件的版本号保存该课件;
    课件解析模块:根据制作该课件使用到的元素及元素和/或第一软件的版本号以及第二软件所支持的元素和/或第二软件的版本号对该课件进行解析;
    其中,第二软件用于打开利用第一软件制作的课件,第一软件的版本与第二软件的版本相同或者不同,第一软件与第二软件安装在相同设备或不同设备上。
  8. 根据权利要求7所述的系统,其特征在于,所述课件制作模块包括:课件获取模块、元素版本号获取模块、元素描述获取模块、元素截图获取模块和课件文档保存模块,其中:
    课件获取模块用于利用第一软件制作课件;
    元素版本号获取模块用于获取制作所述课件用到的元素的版本号;
    元素描述获取模块用于获取制作该课件使用到的各个元素的描述,所述元素 的描述包括该元素在课件中的位置和大小;
    元素截图获取模块用于获取制作该课件使用到的各个元素的截图;
    课件文档保存模块用于将课件获取模块获取的课件、元素版本号获取模块获取的元素版本号、元素描述获取模块获取的元素描述以及元素截图获取模块获取的元素截图一同打包成课件文档;或者用于将课件获取模块获取的课件、元素版本号获取模块获取的元素版本号、第一软件的版本号、元素描述获取模块获取的元素描述以及元素截图获取模块获取的元素截图一同打包成课件文档;或者用于将课件获取模块获取的课件、第一软件的版本号、元素描述获取模块获取的元素描述以及元素截图获取模块获取的元素截图一同打包成课件文档。
  9. 根据权利要求8所述的系统,其特征在于,所述课件解析模块用于按照制作该课件使用到的元素依次对该课件进行解析,对于制作该课件使用到的每个元素,判断第二软件的版本号所对应的元素版本号与课件文档中描述文件记录的元素版本号是否一致,如果不一致,则从课件文档中获取不能解析的元素的截图作为该元素的内容,并结合该元素的描述,将该截图补充在所述课件中的相应位置;如果一致,则第二软件直接对该元素进行解析;当对制作该课件使用到的所有元素进行了解析及相应处理,则该课件的解析完成;
    或者,所述课件解析模块用于判断其版本号与描述文件中记录的制作该课件的第一软件的版本号是否一致,如果一致,则直接解析该课件;如果不一致,则按照制作该课件使用到的元素依次对该课件进行解析,对于制作该课件使用到的每个元素,判断第二软件的版本号所对应的元素版本号与课件文档中描述文件记录的元素版本号是否一致,如果不一致,则从课件文档中获取不能解析的元素的截图作为该元素的内容,并结合该元素的描述,将该截图补充在所述课件中的相 应位置;如果一致,则第二软件直接对该元素进行解析;当对制作该课件使用到的所有元素进行了解析及相应处理,则该课件的解析完成;
    或者,所述课件解析模块用于判断其版本号与描述文件中记录的制作该课件的第一软件的版本号是否一致,如果一致,则直接解析该课件;如果不一致,则按照制作该课件使用到的元素依次对该课件进行解析,对于制作该课件使用到的每个元素,判断第二软件的版本号所对应的元素版本号与版本号关系列表中保存的第一软件的版本号所对应的元素版本号是否一致,如果不一致,则从课件文档中获取不能解析的元素的截图作为该元素的内容,并结合该元素的描述,将该截图补充在所述课件中的相应位置;如果一致,则第二软件直接对该元素进行解析;当对制作该课件使用到的所有元素进行了解析及相应处理,则该课件的解析完成。
  10. 根据权利要求7-9中任一项所述的系统,其特征在于,所述系统还包括课件发送模块,所述课件发送模块用于通过第二软件打开课件解析模块解析完的课件并将该课件发送给电子白板进行显示。
PCT/CN2016/112028 2016-11-21 2016-12-26 一种离线课件向上兼容的方法、装置及系统 WO2018090437A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611042942.1A CN106776490B (zh) 2016-11-21 2016-11-21 一种离线课件向上兼容的方法、装置及系统
CN201611042942.1 2016-11-21

Publications (1)

Publication Number Publication Date
WO2018090437A1 true WO2018090437A1 (zh) 2018-05-24

Family

ID=58975040

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/112028 WO2018090437A1 (zh) 2016-11-21 2016-12-26 一种离线课件向上兼容的方法、装置及系统

Country Status (2)

Country Link
CN (1) CN106776490B (zh)
WO (1) WO2018090437A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108958834A (zh) * 2018-06-15 2018-12-07 广州视源电子科技股份有限公司 文件播放方法和装置、文件处理方法和装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101539903A (zh) * 2008-03-18 2009-09-23 北京书生国际信息技术有限公司 一种兼容不同格式文档的软件实现方法
CN103384346A (zh) * 2012-12-28 2013-11-06 深圳海联讯科技股份有限公司 一种ppt文件处理的方法及装置
CN105022749A (zh) * 2014-04-28 2015-11-04 上海未达数码科技有限公司 一种基于安卓平台的文档演示实现方法
CN105630459A (zh) * 2014-10-25 2016-06-01 上海未达数码科技有限公司 一种将ppt转换为html页面的方法
CN106021343A (zh) * 2016-05-09 2016-10-12 杭州施强教育科技有限公司 一种应用于移动终端的ppt文件处理方法

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631579A (zh) * 2013-10-28 2014-03-12 华中师范大学 一种插件式的教学软件平台
CN106055475A (zh) * 2016-05-24 2016-10-26 广州视睿电子科技有限公司 一种版本兼容性检测方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101539903A (zh) * 2008-03-18 2009-09-23 北京书生国际信息技术有限公司 一种兼容不同格式文档的软件实现方法
CN103384346A (zh) * 2012-12-28 2013-11-06 深圳海联讯科技股份有限公司 一种ppt文件处理的方法及装置
CN105022749A (zh) * 2014-04-28 2015-11-04 上海未达数码科技有限公司 一种基于安卓平台的文档演示实现方法
CN105630459A (zh) * 2014-10-25 2016-06-01 上海未达数码科技有限公司 一种将ppt转换为html页面的方法
CN106021343A (zh) * 2016-05-09 2016-10-12 杭州施强教育科技有限公司 一种应用于移动终端的ppt文件处理方法

Also Published As

Publication number Publication date
CN106776490A (zh) 2017-05-31
CN106776490B (zh) 2019-07-16

Similar Documents

Publication Publication Date Title
US11769419B2 (en) Methods and systems for dynamically generating a training program
US20210258357A1 (en) Method and device for recording and transmitting courseware, interactive white board and storage medium
US9836437B2 (en) Screencasting for multi-screen applications
US9049482B2 (en) System and method for combining computer-based educational content recording and video-based educational content recording
US11676587B2 (en) Method, apparatus and device for implementing voice application, computer readable storage medium
WO2017063287A1 (zh) 一种网络教学录播方法及系统
WO2020192451A1 (en) Real-time picture projection method and apparatus of ar glasses screen, controller and medium
US8374923B2 (en) Web service for generating portable multimedia presentations
CN109164997B (zh) 分布式画面渲染和画面播放控制方法、装置及设备
CN107391119B (zh) 一种横竖屏实现方法及装置
CN105824517A (zh) 一种桌面的实现方法和装置
KR101446112B1 (ko) 3차원 모델 통합 관리 시스템 및 방법
US11500604B2 (en) Presenting a document on a computer
WO2018090437A1 (zh) 一种离线课件向上兼容的方法、装置及系统
JP6686578B2 (ja) 情報処理装置及び情報処理プログラム
WO2018059037A1 (zh) 移动终端上传文件的方法及装置
CN105451065A (zh) 多种媒体的同步录制方法
US9047913B2 (en) Media bundle overlays
US9552404B2 (en) Data model definition display and modification
EP3164818A1 (en) Networking cooperation method and machine using such method
US11188213B2 (en) Edit experience for transformation of digital content
US20170149578A1 (en) Networking cooperation method and machine using such method
CN113554904A (zh) 一种多模式协同教育智能处理方法和系统
JP5949393B2 (ja) システム、端末装置および画像取得方法
US20190149782A1 (en) Projection apparatus, for constituting projection of whole content by combining projection of plurality of partial content, control method for the same, and projection system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16921465

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 30/07/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16921465

Country of ref document: EP

Kind code of ref document: A1