CN103136172A - Method and device of outputting test questions - Google Patents

Method and device of outputting test questions Download PDF

Info

Publication number
CN103136172A
CN103136172A CN2011104011637A CN201110401163A CN103136172A CN 103136172 A CN103136172 A CN 103136172A CN 2011104011637 A CN2011104011637 A CN 2011104011637A CN 201110401163 A CN201110401163 A CN 201110401163A CN 103136172 A CN103136172 A CN 103136172A
Authority
CN
China
Prior art keywords
structured content
format conversion
content
output
examination question
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.)
Granted
Application number
CN2011104011637A
Other languages
Chinese (zh)
Other versions
CN103136172B (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.)
New Founder Holdings Development Co ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder 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 Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN201110401163.7A priority Critical patent/CN103136172B/en
Publication of CN103136172A publication Critical patent/CN103136172A/en
Application granted granted Critical
Publication of CN103136172B publication Critical patent/CN103136172B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method and a device of outputting test questions. The method comprises the following steps: receiving confirmed output environment by a user, carrying out corresponding format conversion of the output environment on structured content of the test questions, wherein the structured content comprises at least one of title, stem, answer, option and analysis, and outputting the text questions in the output environment, wherein formats of the test questions are conversed. According the steps, the corresponding text questions are output after the user confirms the output environment, and the structured content is conversed according to formats of the output environment. The text questions with a plurality of formats can be output at the same time according to the confirmed output environment by the user. Efficiency of outputting the text questions is improved effectively.

Description

The method and apparatus of output examination question
Technical field
The present invention relates to data processing field, in particular to a kind of method and apparatus of exporting examination question.
Background technology
Examination question can be exported to the user by the paper with various forms in different output environments.For example: the paper that can form the PS form in publishing house; Can form the paper of flash picture in the website; Can form the paper of epub form at user's mobile terminal.
The form of the examination question that uses in every kind of output environment is different, and examination question need to according to current output environment form, be entered into equipment and output with examination question before output.For example: if on the website with flash Image Display examination question, examination question need to be entered in server with video format, then with the flash Image Display; If show examination question at user's mobile terminal, need to examination question with being entered in server of epub form, after downloading by mobile terminal, show at mobile terminal with the epub form.
Because the form of every kind of output environment is different, examination question needs the rear output of repeatedly input when multiple output environment output, have the lower problem of output efficiency.
Summary of the invention
The present invention aims to provide a kind of method and apparatus of exporting examination question, with the lower problem of efficient that solves above-mentioned output test paper.
In an embodiment of the present invention, provide a kind of method of exporting examination question, having comprised: received the output environment that the user determines; The structured content of examination question is carried out the format conversion of corresponding described output environment; Wherein, described structured content comprises one of following at least: exercise question, stem, answer, option, parsing; Examination question after output format conversion under described output environment.
In an embodiment of the present invention, also provide a kind of device of exporting examination question, having comprised: receiver module is used for receiving the output environment that the user determines; Modular converter is for the structured content of examination question being carried out the format conversion of corresponding described output environment; Wherein, described structured content comprises one of following at least: exercise question, stem, answer, option, parsing; Output module is used for the examination question after output format conversion under described output environment.
By the step in embodiment, can after the user is determining output environment, after the format conversion of structured content according to output environment, export corresponding examination question.The examination question of multiple format can be exported simultaneously according to the output environment that the user determines, has effectively improved the efficient of output examination question.
Description of drawings
Accompanying drawing described herein is used to provide a further understanding of the present invention, consists of the application's a part, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not consist of improper restriction of the present invention.In the accompanying drawings:
Fig. 1 shows the process flow diagram of preferred embodiment;
Fig. 2 shows the screenshot capture of index panel in embodiment;
Fig. 3 shows in embodiment the screenshot capture after the examination question index;
Fig. 4 shows the process flow diagram of format conversion in embodiment;
Fig. 5 shows the screenshot capture of a kind of preview graph in embodiment;
Fig. 6 shows the apparatus structure block diagram in embodiment.
Embodiment
Below with reference to the accompanying drawings and in conjunction with the embodiments, describe the present invention in detail.Referring to Fig. 1, comprise the following steps:
S11: receive the output environment that the user determines;
S12: the format conversion of the structured content of examination question being carried out corresponding described output environment; Wherein, described structured content comprises one of following at least: exercise question, stem, answer, option, parsing;
S13: the examination question after output format conversion under described output environment.
By the step in embodiment, can after the user is determining output environment, after the format conversion of structured content according to output environment, export corresponding examination question.The examination question of multiple format can be exported simultaneously according to the output environment that the user determines, has effectively improved the efficient of output examination question.
Preferably, described structured content obtains by following steps:
Create the index masterplate according to described structured content; By the index masterplate, the content in examination question is added label, form described structured content.
Examination question is carried out structurized process, need to be pre-created the index masterplate of xml form.The index masterplate can be according to the structure setting of examination question.Such as: generally contain the various pieces such as exercise question, crosshead order, stem, answer, option, parsing in examination question, in options, comprise again option A, option B etc., following index masterplate can be set:
<xs:element name=" exercise question " type=" CT_Question "/〉
<xs:element name=" crosshead order " type=" CT_SubQuestion "/〉
<xs:element name=" option-A " type=" CT_Any "/〉
<xs:element name=" option-B " type=" CT_Any "/〉
<xs:element name=" option-C " type=" CT_Any "/〉
<xs:element name=" option-D " type=" CT_Any "/〉
<xs:element name=" option-E " type=" CT_Any "/〉
<xs:element name=" option-F " type=" CT_Any "/〉
<xs:element name=" answer " type=" CT_Any "/〉
<xs:element name=" parsing " type=" CT_Any "/〉
By above-mentioned setting, can form the index panel that contains above-mentioned setting as shown in Figure 2.
Based on index panel in Fig. 2, the content in examination question is carried out index.The process of index can be in the following ways, for example: click " exercise question " on the index panel, to the item content index in examination question.The result of the screenshot capture after formation index as shown in Figure 3.Between two labels " exercise question ", be the content of exercise question.Between two labels " answer ", be the content of answer.
According to the index panel to content index in examination question after, form structured content.It is one of following that structured content comprises at least: exercise question, stem, answer, option, parsing.Following code has shown the structured content of partial indexing:
Figure BSA00000630168500051
In above-mentioned code, structured content " exercise question " and " answer " have been shown.
Preferably, structured content can be the xml form, and the format conversion with structured content is the form of output environment in the following manner.
Referring to Fig. 4, comprise the following steps:
S21: according to the node of the structured content of the xml form of nodename traversal tree structure; Wherein, described nodename is exercise question, stem, answer, option or parsing;
S22: in recording the xlt masterplate of described format conversion relation, search the node identical with the nodename of current traversal;
S23: with the described structured content of the node of described traversal, according to the format conversion of the described node of searching in the xlt masterplate.
By above-mentioned steps, can be with the content of the node of the structured content format conversion according to same node point title the inside record in the xlt masterplate.Such as: the structured content of xml form is converted to html form, word form or pdf form etc.
Preferably, the form of the structured content after described format conversion comprises one of following at least: PDF, epub, txt, png, PSD, jpg, word, flash.
Preferably, can be every kind of output environment and make respectively the xlt masterplate, also each masterplate can be gathered together, according to user's selection, the structured content after output format is changed respectively.
Preferably, when being the terminal of browse network for output environment, the structured content of xml form can be generated Txt, Png picture two parts form, the content of Txt form is mainly carried out the retrieval of content.For the topic of the line in examination question, due to more complicated, therefore form two kinds of formatted outputs by the content in the index node in output, portion is the picture of Png, portion is the text of Txt, so that show and retrieval.
Preferably, the form of the described structured content after format conversion with preview graph shown; The clicking operation of reception to content on described preview graph shows corresponding structured content; The editor of reception to the structured content of described demonstration, the form with preview graph shows again.For example: Fig. 5 is presented at the screenshot capture for the examination question after display format conversion on the terminal of network browsing.
To the content after preview, if need editor, the content of structurized xml form can be edited, after editing and preserving, the form with preview graph shows again.
Preferably, structurized content can store in database, can provide input window to the user, inputted all or part of structured content that to select by the user, with set and the output of the examination question that forms various ways, for example: the examination question of answer and parsing is arranged, there is no the examination question of answer etc.These examination questions can show on relevant device according to the form of output environment, such as: be used for typesetting terminal, be used for the terminal of network browsing or be used for the mobile terminal etc. of network browsing.
Referring to Fig. 6, the present invention also provides a kind of device of exporting examination question, comprising:
Receiver module 31 is used for receiving the output environment that the user determines;
Modular converter 32 is used for the structured content of examination question is carried out the corresponding format conversion of determining described output environments according to receiver module 31; Wherein, described structured content comprises one of following at least: exercise question, stem, answer, option, parsing;
Output module 33 is used for the examination question after under described output environment, output modular converter 32 carries out format conversion.
Preferably, the described structured content in described device is the xml form;
Described modular converter 32 comprises:
Spider module 321 is used for the node according to the structured content of the xml form of nodename traversal tree structure; Wherein, described nodename is exercise question, stem, answer, option or parsing;
Search module 322, be used for recording the xlt masterplate of described format conversion relation, search the node identical with the nodename of spider module 321 current traversals;
Conversion submodule 323 is used for the described structured content with the node of described spider module 321 traversals, according to the format conversion of searching the described node searched of module 322 in the xlt masterplate.Wherein, the xlt masterplate has recorded the format conversion relation of the form that contains output environment that receiver module 31 determines.
Preferably, described device also comprises:
Index creation module 34 is used for creating the index masterplate according to described structured content;
Index module 35 is used for the index masterplate that creates by index creation module 34 content of examination question is added label, forms the described structured content that spider module 321 is used for traversal.
Preferably, described device also comprises:
Preview graph display module 36 is used for the described structured content that modular converter 32 carries out after format conversion is shown with the form of preview graph;
Link module 37 is used for receiving the clicking operation to content on the preview graph of described preview graph display module 36 demonstrations, shows corresponding structured content;
Repeat display module 38, be used for receiving the editor of the structured content that described link module 37 is shown, the form with preview graph shows again.
Preferably, the output environment in described device comprises the running environment of one of following equipment at least: be used for typesetting terminal, be used for network browsing terminal, be used for the mobile terminal of network browsing.
Preferably, the form of the structured content after the described format conversion in described device comprises one of following at least: PDF, epub, txt, png, PSD, jpg, word, flash.
obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on single calculation element, perhaps be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in memory storage and be carried out by calculation element, perhaps they are made into respectively each integrated circuit modules, perhaps a plurality of modules in them or step being made into the single integrated circuit module realizes.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is only the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a method of exporting examination question, is characterized in that, comprising:
Receive the output environment that the user determines;
The structured content of examination question is carried out the format conversion of corresponding described output environment; Wherein, described structured content comprises one of following at least: exercise question, stem, answer, option, parsing;
Examination question after output format conversion under described output environment.
2. method according to claim 1, is characterized in that, described structured content is the xml form;
The process of described format conversion comprises:
Node according to the structured content of the xml form of nodename traversal tree structure; Wherein, described nodename is exercise question, stem, answer, option or parsing;
In recording the xlt masterplate of described format conversion relation, search the node identical with the nodename of current traversal;
With the described structured content of the node of described traversal, according to the format conversion of the described node of searching in the xlt masterplate.
3. method according to claim 2, is characterized in that, it is one of following that the form of the structured content after described format conversion comprises at least:
PDF、epub、txt、png、PSD、jpg、word、flash。
4. method according to claim 1, is characterized in that, described output environment comprises the running environment of one of following equipment at least:
Be used for typesetting terminal, be used for network browsing terminal, be used for the mobile terminal of network browsing.
5. method according to claim 1, is characterized in that, described structured content obtains by following steps:
Create the index masterplate according to described structured content;
By the index masterplate, the content in examination question is added label, form described structured content.
6. method according to claim 1, is characterized in that, also comprises before described output:
The form of described structured content after format conversion with preview graph shown;
The clicking operation of reception to content on described preview graph shows corresponding structured content;
The editor of reception to the structured content of described demonstration, the form with preview graph shows again.
7. a device of exporting examination question, is characterized in that, comprising:
Receiver module is used for receiving the output environment that the user determines;
Modular converter is for the structured content of examination question being carried out the format conversion of corresponding described output environment; Wherein, described structured content comprises one of following at least: exercise question, stem, answer, option, parsing;
Output module is used for the examination question after output format conversion under described output environment.
8. device according to claim 7, is characterized in that, the described structured content in described device is the xml form;
Described modular converter comprises:
Spider module is used for the node according to the structured content of the xml form of nodename traversal tree structure; Wherein, described nodename is exercise question, stem, answer, option or parsing;
Search module, be used for recording the xlt masterplate of described format conversion relation, search the node identical with the nodename of current traversal;
The conversion submodule is used for the described structured content with the node of described traversal, according to the format conversion of the described node of searching in the xlt masterplate.
9. device according to claim 7, is characterized in that, described device also comprises:
The index creation module is used for creating the index masterplate according to described structured content;
The index module is used for by the index masterplate, the content of examination question being added label, forms described structured content.
10. device according to claim 7, is characterized in that, described device also comprises:
The preview graph display module is used for the form of the described structured content after format conversion with preview graph shown;
Link module is used for receiving the clicking operation to content on described preview graph, shows corresponding structured content;
Repeat display module, be used for receiving the editor to the structured content of described demonstration, the form with preview graph shows again.
CN201110401163.7A 2011-12-05 2011-12-05 The method and apparatus of output examination question Expired - Fee Related CN103136172B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110401163.7A CN103136172B (en) 2011-12-05 2011-12-05 The method and apparatus of output examination question

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110401163.7A CN103136172B (en) 2011-12-05 2011-12-05 The method and apparatus of output examination question

Publications (2)

Publication Number Publication Date
CN103136172A true CN103136172A (en) 2013-06-05
CN103136172B CN103136172B (en) 2016-08-24

Family

ID=48496013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110401163.7A Expired - Fee Related CN103136172B (en) 2011-12-05 2011-12-05 The method and apparatus of output examination question

Country Status (1)

Country Link
CN (1) CN103136172B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103280130A (en) * 2013-06-09 2013-09-04 深圳市拓莱思科技有限公司 Electric examination achieving method and system used for interaction teaching
CN104123399A (en) * 2014-08-19 2014-10-29 南京富士通南大软件技术有限公司 Cross-platform question bank resource structuring method
CN105069098A (en) * 2015-08-06 2015-11-18 苏州百智通信息技术有限公司 Word test question file online importing and exporting method and system
CN105302506A (en) * 2015-11-10 2016-02-03 武汉启明泰和软件服务有限公司 Sorting batch printing method based on automatic data calling
CN111274778A (en) * 2020-02-18 2020-06-12 深圳中兴网信科技有限公司 Answer sheet generation system, method, device and computer readable storage medium
CN111324841A (en) * 2018-12-14 2020-06-23 英业达科技有限公司 Test question file format conversion system and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1534508A (en) * 2003-03-31 2004-10-06 联想(北京)有限公司 Method of prereading network resources
CN101107601A (en) * 2005-01-24 2008-01-16 李钟旻 Test question constructing method and apparatus, test sheet fabricated using the method, and computer-readable recording medium storing test question constructing program for executing the method
CN101964152A (en) * 2010-10-27 2011-02-02 昆明冶金高等专科学校 Local area network-based network examination system and implementation method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1534508A (en) * 2003-03-31 2004-10-06 联想(北京)有限公司 Method of prereading network resources
CN101107601A (en) * 2005-01-24 2008-01-16 李钟旻 Test question constructing method and apparatus, test sheet fabricated using the method, and computer-readable recording medium storing test question constructing program for executing the method
CN101964152A (en) * 2010-10-27 2011-02-02 昆明冶金高等专科学校 Local area network-based network examination system and implementation method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
苗健等: "基于XML的试题库试卷输出的设计与实现", 《中国教育信息化》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103280130A (en) * 2013-06-09 2013-09-04 深圳市拓莱思科技有限公司 Electric examination achieving method and system used for interaction teaching
CN103280130B (en) * 2013-06-09 2015-07-01 深圳市乐望教育科技有限公司 Electric examination achieving method and system used for interaction teaching
CN104123399A (en) * 2014-08-19 2014-10-29 南京富士通南大软件技术有限公司 Cross-platform question bank resource structuring method
CN104123399B (en) * 2014-08-19 2017-12-08 南京富士通南大软件技术有限公司 A kind of cross-platform exam pool resource construction method
CN105069098A (en) * 2015-08-06 2015-11-18 苏州百智通信息技术有限公司 Word test question file online importing and exporting method and system
CN105302506A (en) * 2015-11-10 2016-02-03 武汉启明泰和软件服务有限公司 Sorting batch printing method based on automatic data calling
CN105302506B (en) * 2015-11-10 2018-03-20 武汉启明泰和软件服务有限公司 A kind of sorting bulk print method called automatically based on data
CN111324841A (en) * 2018-12-14 2020-06-23 英业达科技有限公司 Test question file format conversion system and method
CN111274778A (en) * 2020-02-18 2020-06-12 深圳中兴网信科技有限公司 Answer sheet generation system, method, device and computer readable storage medium

Also Published As

Publication number Publication date
CN103136172B (en) 2016-08-24

Similar Documents

Publication Publication Date Title
KR100461019B1 (en) web contents transcoding system and method for small display devices
US8346803B2 (en) Dynamic generation of target files from template files and tracking of the processing of target files
US20180375529A1 (en) Compression of javascript object notation data using structure information
CN107562620A (en) One kind buries an automatic setting method and device
US9256583B2 (en) Conversion of a presentation to Darwin Information Typing Architecture (DITA)
CN103136172A (en) Method and device of outputting test questions
CN108090104B (en) Method and device for acquiring webpage information
CN101765979A (en) Document processing for mobile devices
US20130151946A1 (en) System and Method for Bulk Web Domain Generation and Management
US9069769B2 (en) Creating or modifying an ordered trail of links to pages and/or documents
CN105095067A (en) User interface element object identification and automatic test method and apparatus
CN101809572A (en) System and method of inclusion of interactive elements on a search results page
US9928288B2 (en) Automatic modeling of column and pivot table layout tabular data
CN108762808A (en) The generation method and system of interface document
US20200264851A1 (en) Systems and methods for organizing, classifying, and discovering automatically generated computer software
CN103123626A (en) Method and system of electronic book resource information network synchronization
CN103365877B (en) Method and server to establishing catalogue after webpage progress transcoding
CN103744987B (en) Video website media asset integrating method and system based on DOM tree matching
CN109284488A (en) Based on the method, apparatus and medium that modification front end table column data is locally stored
CN101727505B (en) Efficient data processing method and device
CN105224308A (en) The method and apparatus of playlist is set up for MTP equipment
CN104077426B (en) Data recording method and device
JP6022964B2 (en) Homepage creation method and homepage creation system
CN103176992A (en) Method and system for patent output
CN111090436B (en) Jenkins compiling result summarizing method, device and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220622

Address after: 3007, Hengqin international financial center building, No. 58, Huajin street, Hengqin new area, Zhuhai, Guangdong 519031

Patentee after: New founder holdings development Co.,Ltd.

Patentee after: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

Address before: 100871, Beijing, Haidian District Cheng Fu Road 298, founder building, 5 floor

Patentee before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Patentee before: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160824