CN113065311A - Scoring method and system for processing Power Point manuscript content based on OpenXml - Google Patents

Scoring method and system for processing Power Point manuscript content based on OpenXml Download PDF

Info

Publication number
CN113065311A
CN113065311A CN202110218117.7A CN202110218117A CN113065311A CN 113065311 A CN113065311 A CN 113065311A CN 202110218117 A CN202110218117 A CN 202110218117A CN 113065311 A CN113065311 A CN 113065311A
Authority
CN
China
Prior art keywords
content
user
presentation
comparison
document
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110218117.7A
Other languages
Chinese (zh)
Inventor
唐超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Huanyu Zhizhi Technology Co ltd
Original Assignee
Chengdu Huanyu Zhizhi Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Huanyu Zhizhi Technology Co ltd filed Critical Chengdu Huanyu Zhizhi Technology Co ltd
Priority to CN202110218117.7A priority Critical patent/CN113065311A/en
Publication of CN113065311A publication Critical patent/CN113065311A/en
Pending legal-status Critical Current

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
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/194Calculation of difference between files

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention discloses a scoring method for processing PowerPo i nt manuscript content based on OpenXml, which comprises the following steps: s1, presetting a presentation content reading program; s2, loading the demonstration manuscript content of the user and the demonstration manuscript content used by the user for reference; s3, respectively and sequentially reading the content and the attribute in the demonstration manuscript content and the reference manuscript content of the user according to the reading program, and sequentially comparing the content and the attribute which are sequentially acquired through the comparison program; s4, storing the result of the comparison according to the comparison program; and S5, displaying in different forms according to different comparison results. The invention also provides a scoring system for processing the content of the PowerPo int manuscript based on OpenXml, and the system comprises a document reading unit, a document loading unit, a document content reading unit, a comparison unit and a display unit.

Description

Scoring method and system for processing Power Point manuscript content based on OpenXml
Technical Field
The invention relates to the technical field of Office document technology, in particular to a scoring method and a scoring system for processing manuscript content based on OpenXml technology.
Background
Most of computer-level examination simulation software on the market currently adopts a COM component mode to perform scoring. However, in this way, the relevant attributes in the Office document cannot be accurately obtained, so that the comprehensiveness and accuracy of the evaluation method cannot be well guaranteed. The invention focuses on the Office OpenXml standard document format promoted by Microsoft officer, and the matched development tool is matched to be used, so that the content and the attribute in the document generated by Office2010 and the subsequent version thereof can be more accurately and conveniently acquired, and the acquired attribute can be more conveniently processed and secondarily processed. Most of the existing technologies on the market at present have the situation that Office document attributes cannot be acquired accurately and scored accurately.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a scoring method and a scoring system for processing PowerPoint document content based on OpenXml.
In order to achieve the purpose, the invention adopts the technical scheme that: a scoring method for processing PowerPoint manuscript content based on OpenXml comprises the following steps:
s1, presetting a presentation content reading program;
s2, loading the demonstration manuscript content of the user and the demonstration manuscript content used by the user for reference;
s3, respectively and sequentially reading the content and the attribute in the demonstration manuscript content and the reference manuscript content of the user according to the reading program, and sequentially comparing the content and the attribute which are sequentially acquired through the comparison program;
s4, storing the result of the comparison according to the comparison program;
and S5, displaying in different forms according to different comparison results.
In the technical scheme, compared with the existing software for scoring by using the COM component technology, the technical scheme can more accurately acquire the attribute and the content in the Office presentation content, the scoring mode is more flexible and careful, the difference between the presentation content file made by the user and the presentation content file used for reference by the user can be more accurately identified, the place where the difference occurs can be marked in the user document in an annotation mode, and the user experience and the friendliness degree are greatly improved.
In a further aspect, step S1 includes:
a1: the method comprises the following steps of (1) referencing application program set modules Microsoft OpenXml and JSON.
A2: setting a class corresponding to each presentation content, using the class name as a unique identifier for evaluating the current presentation content, and realizing a grading process in the class;
a3: placing all classes in the same namespace, Ppt.questions;
a4: setting a Check method in each class, and inputting a path user _ file _ path where the content of the user presentation is located, a path source _ file _ path of an initial file and a path anser _ file _ path of a reference file in a parameter form;
a5: calling an OpenDoc method in the Check method to judge whether the document is damaged or not and whether the document can be read normally or not; and if no abnormity exists, subsequently loading the content of the user demonstration manuscript content and the content of the demonstration manuscript content used for reference by the user into the memory.
In the technical scheme, application program set modules Microsoft OpenXml and JSON. The suffix name of each presentation content is ". pptx"; all classes are placed under the same name space Ppt. questions, and are convenient to be called externally.
In a further technical solution, the loading of the presentation content of the user in step S2 includes:
loading the content of the user presentation, wherein three parameters, namely a path user _ file _ path of the content of the user presentation, a file name user _ file of the content of the user presentation and an object user _ doc used for storing the content of the user presentation, are introduced into the OpenDoc method in the step;
judging whether the demonstration manuscript content of the user is loaded successfully or not, and if the demonstration manuscript content of the user is loaded successfully, storing the demonstration manuscript content of the user in a memory in an object user _ doc mode; if the loading is unsuccessful, error information for the user presentation content loading failure is stored in a Json array named wrongInfo.
In the technical scheme, the attributes and contents in Office presentation content can be more accurately acquired by loading the presentation content of the user through the path user _ file _ path for the user presentation content, the file name user _ file for the user presentation content and the object user _ doc for storing the user presentation content which are transmitted in the OpenDoc method.
In a further technical solution, the loading, in step S2, the presentation content used by the user for reference includes:
loading the demonstration manuscript content used for reference by the user and judging whether the demonstration manuscript content used for reference by the user is successful or not;
if the loading of the content of the presentation for reference by the user is successful, calling the OpenDoc method again, and transferring a path answer _ file _ path of the content of the presentation for reference by the user, a file name answer _ file of the content of the reference presentation and an object answer _ doc for storing the content of the reference presentation to load the content of the reference file;
if the content of the presentation for reference of the user is not loaded successfully, storing error information of the failed loading of the content of the reference presentation in a Json array named wrongInfo;
and entering a document attribute acquisition stage after the contents of the user presentation and the contents of the user presentation for reference are loaded successfully at the same time.
In a further aspect, step S3 includes:
when the demonstration manuscript content of the user and the demonstration manuscript content used for reference of the user are loaded successfully, the relevant information in the demonstration manuscript content of the user and the demonstration manuscript content used for reference of the user is obtained according to the corresponding theme requirements, and the read relevant information is returned to the comparison program according to the reading method.
In the technical scheme, the reading program intensively arranges the reading methods aiming at different content formats and attributes thereof, and solves the problem that the prior art in the current market is difficult to accurately obtain related attributes, such as attributes of animation, artistic words, SmartArt, styles and the like, the attributes are difficult to obtain, the association between the attributes is complex, the discretization degree is high, and multiple attribute combinations are often needed to express an accurate meaning. The core technology for reading the program set relates to recursion, regular expressions, element attribute comparison tables, attribute list combination, dynamic compiling technology and the like. In the reading program set, the attribute of one element and the attribute of the sub-elements of the element can be conveniently obtained by applying the recursive technology, the repetition rate of codes is reduced, and the readability and the universality of the program are greatly improved; the use of the regular expression can conveniently acquire various contents, and is not limited to texts, numbers, element attributes, element names and the like; and the discretized content in the document can be obtained in a local batch mode through the combination of various regular expressions. The application of the element attribute comparison table converts attributes which are difficult to be understood by users into contents which can be easily understood by the users, and greatly improves the user-friendliness; the attribute list combination technology can realize the combination of different attributes of different elements, thereby meeting the special requirements in some occasions. For some special document contents, certain difficulty is brought to obtaining the format and the contents of the special document contents, the dynamic compiling provides the possibility of obtaining the document contents in a self-defining way, and if a proper reading method is not found, the invention provides a dynamic compiling interface for a developer to carry out secondary development. In general, the reading program set obtains the element attributes of the content of the presentation through technologies such as mixed recursion, regularization, element attribute comparison table, attribute list combination, dynamic compilation and the like, and the accuracy of the obtained element content and the attributes thereof is greatly improved.
In a further technical scheme, the method for reading the content and the attributes of the presentation is stored in the interior of a namespace which is Ppt and a class name which is GetProperties.
In the technical scheme, the reading method is also different according to different subject requirements.
In a further aspect, step S4 includes:
b1, storing the comparison method in the comparison program in the interior of a namespace of Ppt and a class name of CheckProperties;
b2, setting a reading method corresponding to each comparison method in the presentation content reading program;
b3, saving data obtained from the user's presentation content by defining a JObject named user _ values in the comparison method, and saving data obtained from the preset user's presentation content for reference by defining a JObject named ref _ values;
b4, introducing a CheckMode parameter into each comparison method, and obtaining information of comparison results by adopting different comparison rules according to different values of CheckMode;
b5, judging whether the information of the comparison result is correct or meets the corresponding title requirement, if so, accumulating the preset fraction into a global variable total _ Score, and if not, recording error information in a Json array named as wrongInfo.
In the technical scheme, a comparison program integrates comparison methods in various forms, and all the comparison methods are intensively stored in a namespace Ppt. The methods in the comparison program set and the reading methods in the reading program set have a one-to-one correspondence relationship. In the comparison method, two objects are defined for receiving data acquired in a user document and data acquired in a reference document, respectively. Each comparison method may include a parameter indicating how the comparison is to be performed, and different comparison methods may be used by different values of the parameter, and the comparison methods may be, but are not limited to, equal, greater than, less than, not equal to, including, not including, within a certain range, outside a certain range, and so on. Different comparison methods may produce different comparison results, which may be false, half-pair, full-pair, etc. The difference in the comparison determines the difference in the scores obtained, e.g., half pairs may also be scored. By comparing the results, the scores of the correct portions are accumulated into the global variable total _ Score, and the information of the incorrect portions is stored in the Json array named wrongInfo.
In a further technical solution, step S4 further includes: after the comparison program is executed, the content of the presentation for reference of the user is closed through the Close function, and then the content of the presentation of the user is closed.
In the technical scheme, after the comparison program is executed, the content of the presentation used for reference by the user is closed through the Close function, and then the content of the presentation of the user is closed, so that memory leakage can be prevented.
In a further technical solution, step S5 further includes:
and displaying the scores of the users, and displaying all error information of the final comparison result.
The invention also provides a scoring system for processing the content of the PowerPoint manuscript based on OpenXml, which comprises a document reading unit, a document loading unit, a document content reading unit, a comparison unit and a display unit, wherein:
the document reading unit is used for presetting a reading program;
the document loading unit is used for loading the demonstration manuscript content of the user and the demonstration manuscript content used for reference by the user;
the document content reading unit is used for respectively and sequentially reading the contents and the attributes in the demonstration document content and the reference document content of the user according to the reading program and sequentially comparing the contents and the attributes which are sequentially acquired through the comparison program;
the comparison unit is used for storing the result obtained by comparison according to the comparison program;
and the display unit is used for displaying in different forms according to different comparison results.
In the technical scheme, the final score and all error information are displayed through a result panel; or writing the error information and the correct operation steps into the manuscript content of the user in an annotation form, so that the user can conveniently check and modify the error information and the correct operation steps.
The invention has the beneficial effects that:
(1) the attribute and the content in the Office presentation content can be more accurately acquired;
(2) the scoring mode is more flexible and detailed;
(3) the difference between the content file of the presentation made by the user and the content file of the presentation used for reference by the user can be accurately identified;
(4) the place where the discrepancy occurs can be marked in the user document in an annotated manner.
Drawings
FIG. 1 is a flowchart of a scoring method for processing PowerPoint document content based on OpenXml according to the present invention;
fig. 2 is a schematic structural diagram of a scoring system for processing PowerPoint manuscript content based on OpenXml according to the present invention.
Description of reference numerals:
10. a document reading unit; 11. a document loading unit; 12. a document content reading unit; 13. a comparison unit; 14. and displaying the unit.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Example (b):
as shown in fig. 1, the present invention provides a scoring method for processing PowerPoint manuscript content based on OpenXml, including the following steps:
s1, presetting a presentation content reading program;
s2, loading the demonstration manuscript content of the user and the demonstration manuscript content used by the user for reference;
s3, respectively and sequentially reading the content and the attribute in the demonstration manuscript content and the reference manuscript content of the user according to the reading program, and sequentially comparing the content and the attribute which are sequentially acquired through the comparison program;
s4, storing the result of the comparison according to the comparison program;
and S5, displaying in different forms according to different comparison results.
In the embodiment, compared with the existing software for scoring by using the COM component technology, the embodiment can more accurately acquire the attributes and contents in Office presentation content, the scoring mode is more flexible and detailed, the difference between a presentation content file made by a user and a presentation content file used for reference by the user can be more accurately identified, and the place where the difference occurs can be marked in a user document in an annotation mode.
In another embodiment, step S1 includes:
a1: the method comprises the following steps of (1) referencing application program set modules Microsoft OpenXml and JSON.
A2: setting a class corresponding to each presentation content, using the class name as a unique identifier for evaluating the current presentation content, and realizing a grading process in the class;
a3: placing all classes in the same namespace Ppt.Questions;
a4: setting a Check method in each class, and inputting a path user _ file _ path where the content of the user presentation is located, a path source _ file _ path of an initial file and a path anser _ file _ path of a reference file in a parameter form;
a5: calling an OpenDoc method in the Check method to judge whether the document is damaged or not and whether the document can be read normally or not; and if no abnormity exists, subsequently loading the content of the user demonstration manuscript content and the content of the demonstration manuscript content used for reference by the user into the memory.
In the present embodiment, application suite modules microsoft openxml and json. net are referred to in the C file so as to use the related functions therein; the suffix of each presentation content is ". pptx"; all classes are placed under the same name space Ppt. questions, and are convenient to be called externally.
In another embodiment, the loading of the user' S presentation content in step S2 includes:
loading the content of the user presentation, wherein three parameters, namely a path user _ file _ path of the content of the user presentation, a file name user _ file of the content of the user presentation and an object user _ doc used for storing the content of the user presentation, are introduced into the OpenDoc method in the step;
judging whether the demonstration manuscript content of the user is loaded successfully or not, and if the demonstration manuscript content of the user is loaded successfully, storing the demonstration manuscript content of the user in a memory in an object user _ doc mode; if the loading is unsuccessful, error information for the user presentation content loading failure is stored in a Json array named wrongInfo.
In this embodiment, the attributes and contents in the Office presentation content can be acquired more accurately by loading the presentation content of the user by introducing the path user _ file _ path of the user presentation content and the file name user _ file of the user presentation content in the OpenDoc method.
In another embodiment, the loading of the presentation content for reference by the user in step S2 includes:
loading the demonstration manuscript content used for reference by the user and judging whether the demonstration manuscript content used for reference by the user is successful or not;
if the loading of the content of the presentation for reference by the user is successful, calling the OpenDoc method again, and transferring a path answer _ file _ path of the content of the presentation for reference by the user, a file name answer _ file of the content of the reference presentation and an object answer _ doc for storing the content of the reference presentation to load the content of the reference file;
if the content of the presentation for reference of the user is not loaded successfully, storing error information of the failed loading of the content of the reference presentation in a Json array named wrongInfo;
and entering a document attribute acquisition stage after the contents of the user presentation and the contents of the user presentation for reference are loaded successfully at the same time.
In this embodiment, the OpenDoc method is called again and the loading information is determined, so that the difference between the content file of the presentation made by the user and the content file of the presentation used for reference by the user can be accurately identified.
In another embodiment, step S3 includes:
when the demonstration manuscript content of the user and the demonstration manuscript content used for reference of the user are loaded successfully, the relevant information in the demonstration manuscript content of the user and the demonstration manuscript content used for reference of the user is obtained according to the corresponding theme requirements, and the read relevant information is returned to the comparison program according to the reading method.
In this example, reading methods for different content formats and their attributes are set in the reading program. The core technology of reading programs relates to regular expressions and dynamic compilation. In the reading program, texts, numbers, element attributes, element names and the like containing given contents can be obtained through a regular expression; for some special document contents, certain difficulty is brought to the acquisition of formats and contents of the special document contents, the possibility of obtaining the document contents in a self-defining manner is provided by dynamic compiling, if a proper reading method is not found, a GetDocElementsProperties interface is provided by the invention for a developer to carry out secondary development, the relevant information in the two files is respectively acquired through a reading program, and the read relevant information is returned to a comparison program through a Json object named values according to the reading method.
In another embodiment, the method of reading the presentation content and properties would be stored inside a namespace of Ppt and class name of GetProperties.
In this embodiment, the reading method is also different according to different theme requirements.
In another embodiment, step S4 includes:
b1, storing the comparison method in the comparison program in the interior of a namespace of Ppt and a class name of CheckProperties;
b2, setting a reading method corresponding to each comparison method in the reading program;
b3, saving data acquired from the user's presentation content by defining a JObject object named user _ values, and saving data acquired from the user's presentation content for reference by defining a JObject named ref _ values;
b4, introducing a CheckMode parameter into each comparison method, and obtaining information of comparison results by adopting different comparison rules according to different values of CheckMode;
b5, judging whether the information of the comparison result is correct or meets the corresponding title requirement, if so, accumulating the preset fraction into a global variable total _ Score, and if not, recording error information in a Json array named as wrongInfo.
In this embodiment, the comparison program includes some comparison methods, and all comparison methods are stored in the namespace of Ppt and the class name of CheckProperties. The comparison methods in the comparison procedure have a corresponding reading method in the reading procedure. In these comparison methods, the data acquired in the user document is saved by defining a JObject object named user _ values; the data acquired in the reference document is saved by defining a JObject object named ref _ values. Each comparison method will introduce a CheckMode parameter, and different comparison rules are adopted according to different values of the CheckMode, and the comparison rules may be equal, greater than, less than, unequal, and so on. And accumulating the preset fraction into a global variable total _ Score if the comparison result is correct.
In another embodiment, step S4 further includes: and after the comparison program is executed, closing the content of the presentation used for reference by the user through a Close function, and then closing the content of the presentation of the user.
In this embodiment, the content of the presentation file used by the user for reference is closed first, and then the content of the presentation file of the user is closed, so that the difference between the content file of the presentation file made by the user and the content file of the presentation file used by the user for reference can be recognized more accurately.
The invention also provides a scoring system for processing PowerPoint manuscript content based on OpenXml, which is characterized by comprising a document reading unit, a document loading unit, a document content reading unit, a comparison unit and a display unit, wherein:
the document reading unit is used for presetting a document content reading program;
the document loading unit is used for loading the demonstration manuscript content of the user and the demonstration manuscript content used for reference by the user;
the document content reading unit is used for respectively and sequentially reading the contents and the attributes in the demonstration document content and the reference document content of the user according to the reading program and sequentially comparing the contents and the attributes which are sequentially acquired through the comparison program;
the comparison unit is used for storing the result obtained by comparison according to the comparison program;
and the display unit is used for displaying in different forms according to different comparison results.
The above-mentioned embodiments only express the specific embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention.

Claims (10)

1. A scoring method for processing PowerPoint manuscript content based on OpenXml is characterized by comprising the following steps:
s1, presetting a presentation content reading program;
s2, loading the demonstration manuscript content of the user and the demonstration manuscript content used by the user for reference;
s3, respectively and sequentially reading the content and the attribute in the demonstration manuscript content and the reference manuscript content of the user according to the reading program, and sequentially comparing the content and the attribute which are sequentially acquired through the comparison program;
s4, storing the result of the comparison according to the comparison program;
and S5, displaying in different forms according to different comparison results.
2. The scoring method for processing PowerPoint document content based on OpenXml according to claim 1, wherein the step S1 includes:
a1: the method comprises the following steps of (1) referencing application program set modules Microsoft OpenXml and JSON.
A2: setting a class corresponding to each presentation content, using the class name as a unique identifier for evaluating the current presentation content, and realizing a grading process in the class;
a3: placing all classes in the same namespace, Ppt.questions;
a4: setting a Check method in each class, and inputting a path user _ file _ path where the content of the user presentation is located, a path source _ file _ path of an initial file and a path anser _ file _ path of a reference file in a parameter form;
a5: calling an OpenDoc method in the Check method to judge whether the document is damaged or not and whether the document can be read normally or not; and if no abnormity exists, subsequently loading the content of the user demonstration manuscript content and the content of the demonstration manuscript content used for reference by the user into the memory.
3. The scoring method for processing PowerPoint content based on OpenXml according to claim 1, wherein the loading, in step S2, the presentation content of the user includes:
loading the content of the user presentation, wherein three parameters, namely a path user _ file _ path of the content of the user presentation, a file name user _ file of the content of the user presentation and an object user _ doc used for storing the content of the user presentation, are introduced into the OpenDoc method in the step;
judging whether the demonstration manuscript content of the user is loaded successfully or not, and if the demonstration manuscript content of the user is loaded successfully, storing the demonstration manuscript content of the user in a memory in an object user _ doc mode; if the loading is unsuccessful, error information for the user presentation content loading failure is stored in a Json array named wrongInfo.
4. The scoring method for processing PowerPoint content based on OpenXml according to claim 1, wherein the loading, in step S2, the presentation content used by the user for reference includes:
loading the demonstration manuscript content used for reference by the user and judging whether the demonstration manuscript content used for reference by the user is successful or not;
if the loading of the content of the presentation for reference by the user is successful, calling the OpenDoc method again, and transferring a path answer _ file _ path of the content of the presentation for reference by the user, a file name answer _ file of the content of the reference presentation and an object answer _ doc for storing the content of the reference presentation to load the content of the reference file;
if the content of the presentation for reference of the user is not loaded successfully, storing error information of the failed loading of the content of the reference presentation in a Json array named wrongInfo;
and entering a document attribute acquisition stage after the contents of the user presentation and the contents of the user presentation for reference are loaded successfully at the same time.
5. The scoring method for processing PowerPoint document content based on OpenXml according to claim 1, wherein the step S3 includes:
when the demonstration manuscript content of the user and the demonstration manuscript content used for reference of the user are loaded successfully, the relevant information in the demonstration manuscript content of the user and the demonstration manuscript content used for reference of the user is obtained according to the corresponding theme requirements, and the read relevant information is returned to the comparison program according to the reading method.
6. The scoring method for processing PowerPoint content based on OpenXml of claim 1, wherein the method for reading presentation content and attributes is stored inside a namespace of Ppt and a class name of GetProperties.
7. The scoring method for processing PowerPoint document content based on OpenXml according to claim 1, wherein the step S4 includes:
b1, storing the comparison method in the comparison program in the interior of a namespace of Ppt and a class name of CheckProperties;
b2, setting a reading method corresponding to each comparison method in the presentation content reading program;
b3, saving data obtained from the user's presentation content by defining a JObject named user _ values in the comparison method, and saving data obtained from the preset user's presentation content for reference by defining a JObject named ref _ values;
b4, introducing a CheckMode parameter into each comparison method, and obtaining information of comparison results by adopting different comparison rules according to different values of CheckMode;
b5, judging whether the information of the comparison result is correct or meets the corresponding title requirement, if so, accumulating the preset fraction into a global variable total _ Score, and if not, recording error information in a Json array named as wrongInfo.
8. The scoring method for processing PowerPoint document content based on OpenXml according to claim 1, wherein the step S4 further includes:
and after the comparison program is executed, closing the content of the presentation used for reference by the user through a Close function, and then closing the content of the presentation of the user.
9. The scoring method for processing PowerPoint document content based on OpenXml according to claim 1, wherein the step S5 further includes:
and displaying the scores of the users, and displaying all error information of the final comparison result.
10. A scoring system for processing PowerPoint manuscript content based on OpenXml is characterized in that the system comprises a document reading unit, a document loading unit, a document content reading unit, a comparison unit and a display unit, wherein:
the document reading unit is used for presetting a document content reading program;
the document loading unit is used for loading the demonstration manuscript content of the user and the demonstration manuscript content used for reference by the user;
the document content reading unit is used for respectively and sequentially reading the contents and the attributes in the demonstration document content and the reference document content of the user according to the reading program and sequentially comparing the contents and the attributes which are sequentially acquired through the comparison program;
the comparison unit is used for storing the result obtained by comparison according to the comparison program;
and the display unit is used for displaying in different forms according to different comparison results.
CN202110218117.7A 2021-02-26 2021-02-26 Scoring method and system for processing Power Point manuscript content based on OpenXml Pending CN113065311A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110218117.7A CN113065311A (en) 2021-02-26 2021-02-26 Scoring method and system for processing Power Point manuscript content based on OpenXml

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110218117.7A CN113065311A (en) 2021-02-26 2021-02-26 Scoring method and system for processing Power Point manuscript content based on OpenXml

Publications (1)

Publication Number Publication Date
CN113065311A true CN113065311A (en) 2021-07-02

Family

ID=76559280

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110218117.7A Pending CN113065311A (en) 2021-02-26 2021-02-26 Scoring method and system for processing Power Point manuscript content based on OpenXml

Country Status (1)

Country Link
CN (1) CN113065311A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117610536A (en) * 2024-01-23 2024-02-27 南京邮电大学 Automatic judgment method and system for Office operation questions based on XML document similarity

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404036A (en) * 2008-11-07 2009-04-08 西安交通大学 Keyword abstraction method for PowerPoint electronic demonstration draft
CN101808210A (en) * 2009-02-18 2010-08-18 索尼公司 Messaging device, information processing method and program
CN101950496A (en) * 2010-01-04 2011-01-19 代利忠 Random question setting and answer generating method for calculation type questions
CN104423991A (en) * 2013-08-26 2015-03-18 阿里巴巴集团控股有限公司 Webpage loading and webpage data providing method and device of mobile terminal
CN104462042A (en) * 2014-12-03 2015-03-25 天脉聚源(北京)传媒科技有限公司 Slide processing method and device
CN106843893A (en) * 2017-02-07 2017-06-13 济南浪潮高新科技投资发展有限公司 A kind of documentation release management system based on OpenXML standards
CN107134188A (en) * 2017-07-05 2017-09-05 成都福润得科技有限责任公司 A kind of interactive education system and interactive education system application method
CN109918351A (en) * 2019-02-28 2019-06-21 中国地质大学(武汉) A kind of method and system that Beamer PowerPoint is converted to powerpoint presentation
CN110164447A (en) * 2019-04-03 2019-08-23 苏州驰声信息科技有限公司 A kind of spoken language methods of marking and device
CN112001183A (en) * 2020-07-26 2020-11-27 湖南省侍禾教育科技有限公司 Segmentation and extraction method and system for primary and secondary school test questions based on paragraph semantics
CN112258352A (en) * 2020-09-30 2021-01-22 绵阳市涪城区全优达智能培训学校有限公司 Intelligent teaching auxiliary system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404036A (en) * 2008-11-07 2009-04-08 西安交通大学 Keyword abstraction method for PowerPoint electronic demonstration draft
CN101808210A (en) * 2009-02-18 2010-08-18 索尼公司 Messaging device, information processing method and program
CN101950496A (en) * 2010-01-04 2011-01-19 代利忠 Random question setting and answer generating method for calculation type questions
CN104423991A (en) * 2013-08-26 2015-03-18 阿里巴巴集团控股有限公司 Webpage loading and webpage data providing method and device of mobile terminal
CN104462042A (en) * 2014-12-03 2015-03-25 天脉聚源(北京)传媒科技有限公司 Slide processing method and device
CN106843893A (en) * 2017-02-07 2017-06-13 济南浪潮高新科技投资发展有限公司 A kind of documentation release management system based on OpenXML standards
CN107134188A (en) * 2017-07-05 2017-09-05 成都福润得科技有限责任公司 A kind of interactive education system and interactive education system application method
CN109918351A (en) * 2019-02-28 2019-06-21 中国地质大学(武汉) A kind of method and system that Beamer PowerPoint is converted to powerpoint presentation
CN110164447A (en) * 2019-04-03 2019-08-23 苏州驰声信息科技有限公司 A kind of spoken language methods of marking and device
CN112001183A (en) * 2020-07-26 2020-11-27 湖南省侍禾教育科技有限公司 Segmentation and extraction method and system for primary and secondary school test questions based on paragraph semantics
CN112258352A (en) * 2020-09-30 2021-01-22 绵阳市涪城区全优达智能培训学校有限公司 Intelligent teaching auxiliary system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
爱恋的红尘: "C#Net使用openxml提取ppt中的音频、视频、图片、文本", 《博客园HTTPS://WWW.CNBLOGS.COM/PING9719/P/13497923.HTML》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117610536A (en) * 2024-01-23 2024-02-27 南京邮电大学 Automatic judgment method and system for Office operation questions based on XML document similarity
CN117610536B (en) * 2024-01-23 2024-04-09 南京邮电大学 Automatic judgment method and system for Office operation questions based on XML document similarity

Similar Documents

Publication Publication Date Title
US8387024B2 (en) Multilingual software testing tool
US20020184265A1 (en) Question and answer generator
US20050058976A1 (en) Program for teaching algebra
CN109947651B (en) Artificial intelligence engine optimization method and device
CN113065311A (en) Scoring method and system for processing Power Point manuscript content based on OpenXml
CN110633072A (en) Programming training question construction method and device for automatic correction
KR20140066921A (en) Apparatus and method for evaluating machine translation
CN101727451B (en) Method and device for extracting information
EP4322010A1 (en) Test method, system and device based on excel file loading
CN112926587B (en) Text recognition method and device, readable storage medium and electronic equipment
CN111459483B (en) Interface processing method and device
US11087097B2 (en) Automatic item generation for passage-based assessment
Bigert et al. Autoeval and missplel: Two generic tools for automatic evaluation
Engle et al. Software Maintenance Exercises for a Software Engineering Project Course
KR101747924B1 (en) Method of correcting korean utterance and apparatus perfroming the same
CN111627275B (en) Processing method and device for language representation information test, storage medium and terminal
de Oliveira et al. Accessible Bar Charts Through Textual Description Templates
Xiang et al. Statistics versus semantics: retreating from the dative overgeneralization errors by Chinese EFL learners
Obradovic et al. Improvements of Test Variant Assembly Tool for Massive Exams
CN114328201A (en) Test case generation method and device, electronic equipment and storage medium
Wang et al. Automated Generation of Multiple-Choice Cloze Questions for Assessing English Vocabulary Using GPT-turbo 3.5
TW552546B (en) An interactive learning method and system capable of instantly displaying error message prompt
CN114371996A (en) JS file testing method and device
Suprapto et al. Designing prototype user interface digital library for elementary school based on probability bayesian
Sa'diyah et al. Implementation Analysis of KEBI Application on Non-Standard Words Detection in Student Essay Tasks on Language Variety

Legal Events

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