CN106484759B - Method and device for analyzing storage file of interactive electronic whiteboard - Google Patents

Method and device for analyzing storage file of interactive electronic whiteboard Download PDF

Info

Publication number
CN106484759B
CN106484759B CN201610648900.6A CN201610648900A CN106484759B CN 106484759 B CN106484759 B CN 106484759B CN 201610648900 A CN201610648900 A CN 201610648900A CN 106484759 B CN106484759 B CN 106484759B
Authority
CN
China
Prior art keywords
format
data structure
page
attribute
storage
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.)
Active
Application number
CN201610648900.6A
Other languages
Chinese (zh)
Other versions
CN106484759A (en
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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201610648900.6A priority Critical patent/CN106484759B/en
Publication of CN106484759A publication Critical patent/CN106484759A/en
Application granted granted Critical
Publication of CN106484759B publication Critical patent/CN106484759B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/116Details of conversion of file system types or formats
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses an interactive electronic whiteboard storage file analyzing method and device. The method for analyzing the interactive electronic whiteboard storage file comprises the following steps: reading a storage file based on the interactive electronic whiteboard; wherein the storage file comprises a first page storage element defined by a first format; the first page storage elements comprise first storage elements defined by the first format; the first storage element comprises a first attribute and a second attribute defined by the first format; the second attribute comprises a sub-attribute defined by a second format; the first format is an IWB format; parsing the first page storage element into a first page data structure; and rendering according to the first page data structure and the first data structure to generate a corresponding display page and a corresponding display element. By adopting the embodiment of the invention, the complexity of the process of analyzing the stored file can be reduced, and the efficiency of analyzing the stored file can be improved.

Description

Method and device for analyzing storage file of interactive electronic whiteboard
Technical Field
The invention relates to the technical field of computers, in particular to an interactive electronic whiteboard storage file analyzing method and device.
Background
Interactive electronic whiteboard based storage files are typically described in the IWB format. When it is necessary to extend elements or attributes described by a non-IWB format in the storage file to add elements or attributes described by an IWB format thereto, a problem may arise in that the process of parsing the storage file is complicated because the distribution of attributes in the storage file is too dispersed.
SVG (scalable vector graphics) is a graphics format for describing two-dimensional vector graphics based on an extensible markup language, taking as an example the extension of elements or attributes described by the SVG format in a storage file. Because many attributes of a graphic in an interactive electronic whiteboard cannot be described in an SVG format, in a storage format of an existing interactive electronic whiteboard mainly described in the SVG format, an IWB (interactive electronic whiteboard) format element needs to be newly created outside an SVG format element to expand the attributes of the graphic, so that the attributes of the same graphic in the storage format are distributed dispersedly, and when the storage format is analyzed, the SVG format element and the IWB format element need to be respectively analyzed and then merged.
For example, assuming that an ellipse and a magnifying glass are displayed on the same interactive whiteboard at the same time, the storage format is:
Figure DEST_PATH_GDA0001142708030000021
in the above storage format, the basic attribute of an ellipse is described in an SVG element in the SVG format. Since the SVG format has no description about the locked attribute, when the locked attribute needs to be added to the ellipse, an IWB: element in the IWB format needs to be newly created outside the SVG element, and the attribute of the SVG element is extended by the IWB: element, that is, the locked attribute is given to the SVG element, so that the ellipse has the locked attribute. In the above storage format, the attribute of the magnifier is described by a magnifier element. Since the SVG format itself has no description about the magnifying glass, an IWB: Magnifier element in the IWB format needs to be created in addition to the SVG element to describe the attributes of the magnifying glass.
When the storage format is analyzed, the computer firstly analyzes the svg element part into a tree which takes circle as a root and takes id, cx, cy and r attributes as nodes, analyzes the iwb: element part into a tree which takes iwb: element as a root and takes reference and locked attributes as nodes, and analyzes the iwb: magnifier element part into a tree which takes iwb: magnifier as a root and takes the attribute of the magnifier as a node; then, the iwb: element-rooted tree is found, the corresponding circle-rooted tree is found according to the value of the reference attribute, and the locked attribute in the iwb: element-rooted tree is added to the circle-rooted tree; and finally, respectively analyzing and rendering the tree taking circle as a root and the tree taking iwb: magnifier as a root, and simultaneously displaying the ellipses and the magnifying lenses which respectively correspond to the circle and the tree on the same interactive electronic whiteboard.
Therefore, in the storage format of the interactive electronic whiteboard in the prior art, the distribution of the attributes of the same graph is too dispersed, so that the complexity of the process of analyzing the storage format is increased, and the efficiency of analyzing the storage format is reduced.
Disclosure of Invention
The invention provides an interactive electronic whiteboard storage file analyzing method and device, which can reduce the complexity of a process of analyzing a storage file and improve the efficiency of analyzing the storage file.
The invention provides an interactive electronic whiteboard storage file analysis method, which specifically comprises the following steps:
reading a storage file based on the interactive electronic whiteboard; wherein the storage file comprises a first page storage element defined by a first format; the first page storage elements comprise first storage elements defined by the first format; the first storage element comprises a first attribute and a second attribute defined by the first format; the second attribute comprises a sub-attribute defined by a second format; the first format is an IWB format; the second format is a format different from the IWB format;
parsing the first page storage element into a first page data structure; the first page data structure comprises a first data structure obtained by correspondingly analyzing the first storage element; the first data structure comprises a first subdata structure obtained by correspondingly analyzing the first attribute and a second subdata structure obtained by correspondingly analyzing the second attribute; and the first sub-data structure and the second sub-data structure have a common parent node;
and rendering according to the first page data structure and the first data structure to generate a corresponding display page and a corresponding display element.
Further, the first page storage elements further comprise second storage elements defined by the first format;
the first page data structure further includes a second data structure obtained by correspondingly analyzing the second storage element; the first data structure and the second data structure have a common parent node.
Further, a second page storage element defined by the first format is also included in the storage file.
Further, the first attribute is an extended attribute of the second attribute.
Further, the second format is an SVG format.
Correspondingly, the invention also provides an analysis device for the interactive electronic whiteboard storage file, which specifically comprises the following steps:
the storage file reading module is used for reading a storage file based on the interactive electronic whiteboard; wherein the storage file comprises a first page storage element defined by a first format; the first page storage elements comprise first storage elements defined by the first format; the first storage element comprises a first attribute and a second attribute defined by the first format; the second attribute comprises a sub-attribute defined by a second format; the first format is an IWB format; the second format is a format different from the IWB format;
the page storage element analysis module is used for analyzing the first page storage element into a first page data structure; the first page data structure comprises a first data structure obtained by correspondingly analyzing the first storage element; the first data structure comprises a first subdata structure obtained by correspondingly analyzing the first attribute and a second subdata structure obtained by correspondingly analyzing the second attribute; and the first sub-data structure and the second sub-data structure have a common parent node; and the number of the first and second groups,
and the rendering display module is used for rendering according to the first page data structure and the first data structure so as to generate a corresponding display page and a corresponding display element.
Further, the first page storage elements further comprise second storage elements defined by the first format;
the first page data structure further includes a second data structure obtained by correspondingly analyzing the second storage element; the first data structure and the second data structure have a common parent node.
Further, a second page storage element defined by the first format is also included in the storage file.
Further, the first attribute is an extended attribute of the second attribute.
Further, the second format is an SVG format.
The implementation of the invention has the following beneficial effects:
according to the method and the device for analyzing the storage file of the interactive electronic whiteboard, the storage file which contains the attributes of the same element to be displayed in different formats in the same storage element is analyzed, so that a corresponding data structure is obtained, and the element to be displayed is rendered into a display screen of the interactive electronic whiteboard to be displayed according to the data structure. In the analyzed storage file, the attributes of the same to-be-displayed element in different formats are stored as the attributes of the same storage element, so that each storage element in the storage file can be directly analyzed into a corresponding data structure corresponding to the to-be-displayed element one by one in the analyzing process, and the attributes of the same to-be-displayed element do not need to be associated and integrated, so that the time for scanning and establishing association in the analyzing process is saved, the complexity of the process of analyzing the storage file can be reduced, and the efficiency of analyzing the storage file is improved. Because the data structures corresponding to different storage elements have common father nodes in the page data structure obtained by analysis, the complexity of the subsequent recursive analysis process can be reduced, and the rendering and displaying efficiency can be improved. In addition, because the format of the storage file is compact, and the attributes of the same element to be displayed in the storage file are concentrated, the attributes defined by the first format can be expanded in different formats only by adding the attributes defined by the first format in the corresponding storage element, so that the expandability of the display content of the interactive electronic whiteboard can be improved.
Drawings
Fig. 1 is a schematic flowchart of an embodiment of a method for parsing an interactive electronic whiteboard storage file according to the present invention;
fig. 2 is a schematic diagram of a page data structure corresponding to a storage file having a page storage element according to an embodiment of the method for parsing an interactive electronic whiteboard storage file provided in the present invention;
fig. 3 is a schematic diagram of another page data structure corresponding to a storage file with a page storage element according to an embodiment of the method for parsing an interactive electronic whiteboard storage file provided in the present invention;
fig. 4 is a schematic diagram of a page data structure corresponding to a storage file having two page storage elements according to an embodiment of the method for parsing an interactive electronic whiteboard storage file provided in the present invention;
fig. 5 is a schematic structural diagram of an embodiment of an apparatus for parsing an interactive electronic whiteboard storage file according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, which is a schematic flow chart of an embodiment of the method for parsing an interactive electronic whiteboard storage file provided by the present invention, includes steps S11 to S13, which are specifically as follows:
s11: reading a storage file based on the interactive electronic whiteboard; wherein the storage file comprises a first page storage element defined by a first format; the first page storage elements comprise first storage elements defined by the first format; the first storage element comprises a first attribute and a second attribute defined by the first format; the second attribute comprises a sub-attribute defined by a second format; the first format is an IWB format; the second format is a format different from the IWB format;
s12: parsing the first page storage element into a first page data structure; the first page data structure comprises a first data structure obtained by correspondingly analyzing the first storage element; the first data structure comprises a first subdata structure obtained by correspondingly analyzing the first attribute and a second subdata structure obtained by correspondingly analyzing the second attribute; and the first sub-data structure and the second sub-data structure have a common parent node;
s13: and rendering according to the first page data structure and the first data structure to generate a corresponding display page and a corresponding display element.
It should be noted that an interactive electronic whiteboard (IWB) is an input/output device with a human-computer interaction function based on a PC, and is formed by integrating a hardware electronic sensing whiteboard and a software whiteboard operating system. When a certain page needs to be displayed on the screen of the interactive electronic whiteboard, the operating system of the interactive electronic whiteboard reads the storage file corresponding to the page, and analyzes the storage file into a corresponding data structure, so that rendering is performed according to the data structure, and the page is displayed on the screen of the interactive electronic whiteboard.
In a preferred embodiment, when a first page to be displayed and a first element to be displayed located in the first page to be displayed need to be displayed on a screen of an interactive electronic whiteboard, an operating system of the interactive electronic whiteboard reads a storage file corresponding to the first page to be displayed. The storage file comprises a first page storage element defined by a first format, and the first page storage element is uniquely corresponding to the first page to be displayed. The first page storage element comprises a first storage element defined by a first format, the first storage element is contained in the attribute of the first page storage element, and the first storage element is uniquely corresponding to the first element to be displayed. The first storage element comprises a first attribute and a second attribute defined by a first format, the first attribute is the attribute defined by the first format in the first display element, the second attribute comprises the attribute defined by the second format in the first display element, and the attributes defined by the second format are contained in the second attribute in the form of the sub-attribute of the second attribute. The first format is an IWB format, the IWB format is a storage format for storing files in the interactive electronic whiteboard based on the xml format, and the second format is a format different from the IWB format.
And then calling a corresponding format parser to parse the first page storage element in the storage file into a first page data structure. In the analysis process, correspondingly analyzing a first storage element in the first page storage elements into a first data structure in the first page data structure; correspondingly analyzing a first attribute in the first storage element into a first sub-data structure in the first data structure, and correspondingly analyzing a second attribute in the first storage element into a second sub-data structure in the first data structure, wherein the first sub-data structure and the second sub-data structure have a common father node; and the child attributes in the second attributes are correspondingly analyzed into a grandchild data structure in the second child data structure. The first page data structure, the first sub data structure and the second sub data structure may be data structures such as a tree, an array, a linked list and the like.
And finally, carrying out recursive analysis on the first page data structure, so that the first page to be displayed and the first element to be displayed in the first page to be displayed are rendered and displayed on the screen of the interactive electronic whiteboard.
For example, the page storage elements corresponding to a certain page to be displayed in a certain storage file are as follows:
Figure DEST_PATH_GDA0001142708030000071
wherein < IWB: slide > represents the page storage element and is defined by adopting an IWB format; < elements > represent the attribute of the page storage element, and are defined by adopting an IWB format; the < elements > attribute comprises a < IWB: shape > storage element defined by IWB format and used for describing an ellipse in the page to be displayed; the < IWB: shape > storage element comprises a locked attribute defined by IWB format and a geometry attribute, wherein the locked attribute is used for describing a locking attribute in the ellipse, and the geometry attribute comprises three sub-attributes described by SVG format, namely an abscissa attribute cx, an ordinate attribute cy and a radius attribute r in the ellipse.
When the page to be displayed needs to be displayed in the display screen of the interactive electronic whiteboard, the operating system of the interactive electronic whiteboard reads the storage file, and invokes an xml parser to parse the page storage element in the storage file, so as to obtain the tree-structured page data structure shown in fig. 2.
The storage element of < iwb: shape > is correspondingly analyzed to be a data structure which takes a node named by iwb: shape as a root node in the page data structure, a locked attribute is correspondingly analyzed to be a sub-data structure which takes a node named by locked as a root node in the data structure, a geometric attribute is correspondingly analyzed to be a sub-data structure which takes a node named by geometric as a root node in the data structure, and the sub-data structure obtained by analyzing the locked attribute and the sub-data structure obtained by analyzing the geometric attribute have a common parent node. The cx sub-attribute, the cy sub-attribute and the r sub-attribute in the geometry attribute are correspondingly analyzed to be nodes in the sub-data structure obtained by analyzing the geometry attribute.
And then, recursively analyzing the page data structure, and rendering and displaying the page to be displayed and the ellipse therein on a display screen of the interactive electronic whiteboard.
In this embodiment, the storage files containing the attributes of the same to-be-displayed element in different formats in the same storage element are analyzed, so as to obtain a corresponding data structure, and the to-be-displayed element is rendered into the display screen of the interactive electronic whiteboard for display according to the data structure. In the analyzed storage file, the attributes of the same to-be-displayed element in different formats are stored as the attributes of the same storage element, so that each storage element in the storage file can be directly analyzed into a corresponding data structure corresponding to the to-be-displayed element one by one in the analyzing process, and the attributes of the same to-be-displayed element do not need to be associated and integrated, so that the time for scanning and establishing association in the analyzing process is saved, the complexity of the process of analyzing the storage file can be reduced, and the efficiency of analyzing the storage file is improved.
Further, the first page storage elements further comprise second storage elements defined by the first format;
the first page data structure further includes a second data structure obtained by correspondingly analyzing the second storage element; the first data structure and the second data structure have a common parent node.
It should be noted that the first page storage element in the storage file further includes a second storage element defined by the first format. Therefore, in the process of resolving the first page storage element into the first page data structure, the second storage element is correspondingly resolved into a second data structure in the first page data structure, and the first data structure and the second data structure have a common parent node. The second data structure may be a tree, an array, a linked list, or other data structure.
For example, if a magnifying glass is added to the page to be displayed in the above example, so that an ellipse and a magnifying glass can be simultaneously displayed in the page to be displayed, the page storage elements corresponding to the page to be displayed in the storage file are as follows:
Figure DEST_PATH_GDA0001142708030000091
Figure DEST_PATH_GDA0001142708030000101
the < IWB: identifier > is a storage element describing the magnifier, is contained in the < elements > attribute of the page storage element, and is defined by adopting an IWB format. The properties of the magnifying glass are described by the properties of < iwb: identifier > storage elements.
When the page to be displayed needs to be displayed in the display screen of the interactive electronic whiteboard, the operating system of the interactive electronic whiteboard reads the storage file, and invokes an xml parser to parse the page storage element in the storage file, so as to obtain the tree-structured page data structure shown in fig. 3.
The < iwb: identifier > storage element is correspondingly analyzed to be a data structure which takes a node named iwb: identifier as a root node in the page data structure, and the data structure obtained by analyzing the < iwb: identifier > storage element and the data structure obtained by analyzing the < iwb: shape > storage element have a common parent node. And (3) correspondingly resolving the attribute in the < iwb: identifier > storage element into a sub-data structure in the data structure obtained by resolving the < iwb: identifier > storage element.
And then, carrying out recursive analysis on the page data structure, so as to render and display the page to be displayed, the ellipse therein and the magnifier therein onto the display screen of the interactive electronic whiteboard. Because the data structures corresponding to different storage elements have common father nodes in the page data structure obtained by analysis, the complexity of the subsequent recursive analysis process can be reduced, and the rendering and displaying efficiency can be improved.
Further, a second page storage element defined by the first format is also included in the storage file.
It should be noted that the storage file further includes a second page storage element defined by the first format. The second page storage element uniquely corresponds to a second page to be displayed. In the process of analyzing the page storage elements in the storage file, the first page storage element is analyzed, and the second page storage element is analyzed, so that a corresponding first page data structure and a corresponding second page data structure are generated respectively, wherein the first page data structure and the second page data structure have a common father node. The second page data structure may be a tree, an array, a linked list, or other data structure. When a first page to be displayed needs to be displayed, performing recursive analysis on the first page data structure, and rendering the first page to be displayed and elements to be displayed in the first page to be displayed to a display screen of the interactive electronic whiteboard for display. And when a second page to be displayed needs to be displayed, carrying out recursive analysis on the second page data structure, and rendering the second page to be displayed and elements to be displayed in the second page to be displayed to a display screen of the interactive electronic whiteboard for display.
For example, the storage form of the first page to be displayed and the second page to be displayed in the same storage file is as follows:
Figure DEST_PATH_GDA0001142708030000111
and the < iwb: slide1> is a first page storage element, is defined by a first format and uniquely corresponds to a first page to be displayed. And the < iwb: slide2> is a storage element of the second page, is defined by the first format and uniquely corresponds to the second page to be displayed.
After parsing the first page memory element and the second page memory element, the resulting data structure is shown in fig. 4.
The first page storage element is correspondingly analyzed into a first page data structure taking a node named as iwb: slide1 as a root node, the second page storage element is correspondingly analyzed into a second page data structure taking a node named as iwb: slide2 as a root node, and the first page data structure and the second page data structure have a common father node.
And when the first page to be displayed needs to be displayed, performing recursive analysis on the first page data structure, so as to render and display the first page to be displayed and the elements to be displayed in the first page to be displayed in the display screen of the interactive electronic whiteboard. And when a second page to be displayed needs to be displayed, carrying out recursive analysis on the second page data structure, so as to render and display the second page to be displayed and the elements to be displayed in the second page to be displayed in the display screen of the interactive electronic whiteboard.
Further, the first attribute is an extended attribute of the second attribute.
It should be noted that, when the sub-attribute defined by the second format in the second attribute needs to be expanded to add the attribute defined by the first format to the first element to be displayed, the attribute defined by the first format, that is, the first attribute, is added to the first storage element. Because the format of the storage file is compact, the attributes of the same element to be displayed in the storage file are concentrated, and therefore, the attributes defined by the second format can be expanded in different formats only by adding the attributes defined by the first format in the corresponding storage element, so that the expandability of the display content of the interactive electronic whiteboard can be improved.
Further, the second format is an SVG format.
It should be noted that SVG (scalable vector graphics) is a graphics format based on the extensible markup language xml for describing two-dimensional vector graphics. Since attributes of most display elements based on the interactive electronic whiteboard cannot be described in the SVG format, the attributes described in the SVG format need to be extended in the IWB format.
According to the method for analyzing the storage file of the interactive electronic whiteboard, the storage file which contains the attributes of the same element to be displayed in different formats in the same storage element is analyzed, so that a corresponding data structure is obtained, and the element to be displayed is rendered into the display screen of the interactive electronic whiteboard to be displayed according to the data structure. In the analyzed storage file, the attributes of the same to-be-displayed element in different formats are stored as the attributes of the same storage element, so that each storage element in the storage file can be directly analyzed into a corresponding data structure corresponding to the to-be-displayed element one by one in the analyzing process, and the attributes of the same to-be-displayed element do not need to be associated and integrated, so that the time for scanning and establishing association in the analyzing process is saved, the complexity of the process of analyzing the storage file can be reduced, and the efficiency of analyzing the storage file is improved. Because the data structures corresponding to different storage elements have common father nodes in the page data structure obtained by analysis, the complexity of the subsequent recursive analysis process can be reduced, and the rendering and displaying efficiency can be improved. In addition, because the format of the storage file is compact, and the attributes of the same element to be displayed in the storage file are concentrated, the attributes defined by the first format can be expanded in different formats only by adding the attributes defined by the first format in the corresponding storage element, so that the expandability of the display content of the interactive electronic whiteboard can be improved.
Correspondingly, the invention also provides an analysis device for the interactive electronic whiteboard storage file, which can realize all the processes of the analysis method for the interactive electronic whiteboard storage file in the embodiment.
Fig. 5 is a schematic structural diagram of an embodiment of an apparatus for parsing an interactive electronic whiteboard storage file provided by the present invention, which is specifically as follows:
a storage file reading module 51, configured to read a storage file based on an interactive electronic whiteboard; wherein the storage file comprises a first page storage element defined by a first format; the first page storage elements comprise first storage elements defined by the first format; the first storage element comprises a first attribute and a second attribute defined by the first format; the second attribute comprises a sub-attribute defined by a second format; the first format is an IWB format; the second format is a format different from the IWB format;
a page storage element parsing module 52 configured to parse the first page storage element into a first page data structure; the first page data structure comprises a first data structure obtained by correspondingly analyzing the first storage element; the first data structure comprises a first subdata structure obtained by correspondingly analyzing the first attribute and a second subdata structure obtained by correspondingly analyzing the second attribute; and the first sub-data structure and the second sub-data structure have a common parent node;
and a rendering display module 53, configured to perform rendering according to the first page data structure and the first data structure to generate a corresponding display page and a corresponding display element.
Further, the first page storage elements further comprise second storage elements defined by the first format;
the first page data structure further includes a second data structure obtained by correspondingly analyzing the second storage element; the first data structure and the second data structure have a common parent node.
Further, a second page storage element defined by the first format is also included in the storage file.
Further, the first attribute is an extended attribute of the second attribute.
Further, the second format is an SVG format.
According to the device for analyzing the storage file of the interactive electronic whiteboard, which is provided by the embodiment of the invention, the storage file which contains the attributes of the same element to be displayed in different formats in the same storage element is analyzed, so that a corresponding data structure is obtained, and the element to be displayed is rendered into the display screen of the interactive electronic whiteboard for display according to the data structure. In the analyzed storage file, the attributes of the same to-be-displayed element in different formats are stored as the attributes of the same storage element, so that each storage element in the storage file can be directly analyzed into a corresponding data structure corresponding to the to-be-displayed element one by one in the analyzing process, and the attributes of the same to-be-displayed element do not need to be associated and integrated, so that the time for scanning and establishing association in the analyzing process is saved, the complexity of the process of analyzing the storage file can be reduced, and the efficiency of analyzing the storage file is improved. Because the data structures corresponding to different storage elements have common father nodes in the page data structure obtained by analysis, the complexity of the subsequent recursive analysis process can be reduced, and the rendering and displaying efficiency can be improved. In addition, because the format of the storage file is compact, and the attributes of the same element to be displayed in the storage file are concentrated, the attributes defined by the first format can be expanded in different formats only by adding the attributes defined by the first format in the corresponding storage element, so that the expandability of the display content of the interactive electronic whiteboard can be improved.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (8)

1. An interactive electronic whiteboard storage file analysis method is characterized by comprising the following steps:
reading a storage file based on the interactive electronic whiteboard; wherein the storage file comprises a first page storage element defined by a first format; the first page storage elements comprise first storage elements defined by the first format; the first storage element comprises a first attribute and a second attribute defined by the first format; the second attribute comprises a sub-attribute defined by a second format; the first format is an IWB format; the second format is a format different from the IWB format; the first attribute is an extended attribute of the second attribute;
parsing the first page storage element into a first page data structure; the first page data structure comprises a first data structure obtained by correspondingly analyzing the first storage element; the first data structure comprises a first subdata structure obtained by correspondingly analyzing the first attribute and a second subdata structure obtained by correspondingly analyzing the second attribute; and the first sub-data structure and the second sub-data structure have a common parent node;
and rendering according to the first page data structure and the first data structure to generate a corresponding display page and a corresponding display element.
2. The method for parsing an interactive electronic whiteboard storage file according to claim 1, wherein the first page storage element further comprises a second storage element defined by the first format;
the first page data structure further includes a second data structure obtained by correspondingly analyzing the second storage element; the first data structure and the second data structure have a common parent node.
3. The method for parsing an interactive electronic whiteboard storage file according to claim 1, wherein the storage file further comprises a second page storage element defined by the first format.
4. A method of parsing an interactive electronic whiteboard storage file according to any one of claims 1 to 3, wherein the second format is SVG format.
5. An interactive electronic whiteboard storage file analyzing device, comprising:
the storage file reading module is used for reading a storage file based on the interactive electronic whiteboard; wherein the storage file comprises a first page storage element defined by a first format; the first page storage elements comprise first storage elements defined by the first format; the first storage element comprises a first attribute and a second attribute defined by the first format; the second attribute comprises a sub-attribute defined by a second format; the first format is an IWB format; the second format is a format different from the IWB format; the first attribute is an extended attribute of the second attribute;
the page storage element analysis module is used for analyzing the first page storage element into a first page data structure; the first page data structure comprises a first data structure obtained by correspondingly analyzing the first storage element; the first data structure comprises a first subdata structure obtained by correspondingly analyzing the first attribute and a second subdata structure obtained by correspondingly analyzing the second attribute; and the first sub-data structure and the second sub-data structure have a common parent node; and the number of the first and second groups,
and the rendering display module is used for rendering according to the first page data structure and the first data structure so as to generate a corresponding display page and a corresponding display element.
6. The interactive electronic whiteboard storage file parsing apparatus of claim 5, wherein the first page storage element further comprises a second storage element defined by the first format;
the first page data structure further includes a second data structure obtained by correspondingly analyzing the second storage element; the first data structure and the second data structure have a common parent node.
7. The apparatus for parsing an interactive electronic whiteboard storage file according to claim 5, further comprising a second page storage element defined by the first format.
8. The apparatus for parsing an interactive electronic whiteboard storage file according to any one of claims 5 to 7, wherein the second format is SVG format.
CN201610648900.6A 2016-08-09 2016-08-09 Method and device for analyzing storage file of interactive electronic whiteboard Active CN106484759B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610648900.6A CN106484759B (en) 2016-08-09 2016-08-09 Method and device for analyzing storage file of interactive electronic whiteboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610648900.6A CN106484759B (en) 2016-08-09 2016-08-09 Method and device for analyzing storage file of interactive electronic whiteboard

Publications (2)

Publication Number Publication Date
CN106484759A CN106484759A (en) 2017-03-08
CN106484759B true CN106484759B (en) 2020-01-10

Family

ID=58273253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610648900.6A Active CN106484759B (en) 2016-08-09 2016-08-09 Method and device for analyzing storage file of interactive electronic whiteboard

Country Status (1)

Country Link
CN (1) CN106484759B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110457264B (en) * 2019-08-15 2022-04-01 深圳市威屏科技有限公司 Conference file processing method, device, equipment and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104144224A (en) * 2014-08-22 2014-11-12 北京奇虎科技有限公司 Method and device for displaying released information through client side
CN105630902A (en) * 2015-12-21 2016-06-01 明博教育科技股份有限公司 Method for rendering and incrementally updating webpages

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8176084B2 (en) * 2007-11-26 2012-05-08 International Business Machines Corporation Structure based storage, query, update and transfer of tree-based documents
US10540416B2 (en) * 2011-06-23 2020-01-21 Microsoft Technology Licensing, Llc Linking source code to running element
CN103049439A (en) * 2011-10-11 2013-04-17 腾讯科技(深圳)有限公司 Processing method for markup language documents, browser and network operating system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104144224A (en) * 2014-08-22 2014-11-12 北京奇虎科技有限公司 Method and device for displaying released information through client side
CN105630902A (en) * 2015-12-21 2016-06-01 明博教育科技股份有限公司 Method for rendering and incrementally updating webpages

Also Published As

Publication number Publication date
CN106484759A (en) 2017-03-08

Similar Documents

Publication Publication Date Title
CN109597617B (en) Method and device for quickly generating service page based on template
CN113126990B (en) Page development method, device, equipment and storage medium
US20090265611A1 (en) Web page layout optimization using section importance
US20140207826A1 (en) Generating xml schema from json data
CN108108342B (en) Structured text generation method, search method and device
CN107885713B (en) File format conversion method, device, equipment and storage medium
CN111553131B (en) PSD file analysis method, device, equipment and readable storage medium
CN110489087B (en) Method, device, medium and electronic equipment for generating fractal structure
CN113515928B (en) Electronic text generation method, device, equipment and medium
CN110377289A (en) A kind of data analysis method, device, medium and electronic equipment
CN111258577B (en) Page rendering method, device, electronic equipment and storage medium
US20170132484A1 (en) Two Step Mathematical Expression Search
CN111508562A (en) Visual display method, device, equipment and medium of flow descriptive language
CN109885610A (en) A kind of abstracting method of structural data, device, electronic equipment and storage medium
CN115731313A (en) SVG format picture processing method, device, equipment, medium and product
WO2018028127A1 (en) Method and apparatus for parsing storage files
CN115268904A (en) User interface design file generation method, device, equipment and medium
CN114416945A (en) Word cloud picture display method, device, equipment and medium
CN113934957A (en) Method and system for generating rendering sketch file from webpage
CN106484759B (en) Method and device for analyzing storage file of interactive electronic whiteboard
CN117093386A (en) Page screenshot method, device, computer equipment and storage medium
CN109992698B (en) Data processing method and device, electronic equipment and readable storage medium
CN115169292A (en) Document processing method and device, electronic equipment and computer readable storage medium
CN111723177B (en) Modeling method and device of information extraction model and electronic equipment
CN112256175B (en) Text display method, text display device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant