CN108182052A - A kind of railway implementation examination question generation method based on script - Google Patents

A kind of railway implementation examination question generation method based on script Download PDF

Info

Publication number
CN108182052A
CN108182052A CN201711288942.4A CN201711288942A CN108182052A CN 108182052 A CN108182052 A CN 108182052A CN 201711288942 A CN201711288942 A CN 201711288942A CN 108182052 A CN108182052 A CN 108182052A
Authority
CN
China
Prior art keywords
script
examination question
sentence
business function
railway
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
CN201711288942.4A
Other languages
Chinese (zh)
Other versions
CN108182052B (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.)
HENAN THINKING INFORMATION TECHNOLOGY Co Ltd
Original Assignee
HENAN THINKING INFORMATION 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 HENAN THINKING INFORMATION TECHNOLOGY Co Ltd filed Critical HENAN THINKING INFORMATION TECHNOLOGY Co Ltd
Priority to CN201711288942.4A priority Critical patent/CN108182052B/en
Publication of CN108182052A publication Critical patent/CN108182052A/en
Application granted granted Critical
Publication of CN108182052B publication Critical patent/CN108182052B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Electrically Operated Instructional Devices (AREA)

Abstract

The present invention relates to a kind of railway implementation examination question generation methods based on script, including the professional knowledge in the railway system, refine business function and logical expression, a logical expression are made of more than one business function and operator;According to business function, logical expression and business operation flow, script file and script executing engine are established, script engine is used for perform script file.The present invention describes important operation flow in the railway system using script file in the form of, and the student to participating in teaching rehearsal is more friendly, it can be achieved that the entirely autonomous study of overall process, while can facilitate editor, extension, and maintenance workload is very small;Using " manual switching " link, the judgement whether reached using human assistance progress step, some complicated links that can not carry out automation judgement can also be able to the progress almost automated, greatly improve the accommodation of interactive process.

Description

A kind of railway implementation examination question generation method based on script
Technical field
The invention belongs to teaching, training technical fields, and in particular to a kind of railway implementation examination question generation side based on script Method.
Background technology
In Railway Simulation simulation system, the simulated maneuver of improper driving is emphasis place.Some rehearsal projects are flat When commonly used, such as green card and clearance card etc., have known necessity for the crew of new registration.And some projects, such as Particular pilot, such as shuttle train rescue, these hints on operation are because seldom occur, even for senior crew Speech also has the necessity constantly drilled.Simulated maneuver link, if there is training, teacher teaches by doing, and is what there is no problem, but It is that training teacher's human hand is limited, how these specific rehearsal projects is carried out to the conversion and translation of computerization so that calculate As soon as the teacher role that machine can interact rehearsal as personal-machine exists, in this kind of one-to-many academic environment of Training Room very It is important.
First generation religion training, we have selected a kind of strategy compared based on button, because all inputs of a software can To be reduced to the typing of some control instructions, we record these control instructions, then by it one by one according to time sequence Row playback, just constitutes teaching, if certain links therein are classified as examination main points, waits for student's input, and score, Just constitute examination.But the biggest obstacle that this mode encounters is:First, hardware simulation environment have buterfly effect, one Variation slightly in small delay or sequential will may influence subsequently to drill the implementation effect instructed in the process.Second, The instruction input of similar two-dimensional menu operation is encountered sometimes, and reaching same function items at this time has a plurality of possible path, this Scheme can not adapt to scene and the needs of user.
Invention content
To solve the above problems, the present invention provides a kind of railway implementation examination question generation method based on script, reality is improved Make the physical representations of examination question, by the pattern for being only capable of recording by system before, changing into can be by any one without too many The formatted text sequence that the people of computer software knowledge can edit by system dynamic load, and explains execution.
Technical scheme of the present invention is specially:
A kind of railway implementation examination question generation method based on script, including
1)Professional knowledge in the railway system refines business function and logical expression, and a logical expression is by one More than business function and operator composition;
2)According to business function, logical expression and business operation flow, script file and script executing engine, script are established Engine is used for perform script file.
Each scripting lines of the script file include three parameters, are prompt message Info, logical expression respectively Exp, examination question classification Type.
The logical expression is the logic judgment part of railway implementation examination question, it uses the expression formula based on Inverse Polish notation Algorithm is parsed, and judges the whether correct simultaneously identifying system current state of operation of student.
The establishment step of the script file and script executing engine includes:
Step S1:Analysis user gives current sentence in demand text, judges whether belong to a logical table with sentence before Up to formula;
Step S2:If being not belonging to a logical expression, current scripting lines are exported to script file;If belong to a logic Expression formula, judges whether current script executing engine needs to introduce new business function or operator;
Step S3:If necessary to introduce new business function or operator, continue in reconstruct script engine and return to step S1 point Next sentence in judgement demand text is analysed, if you do not need to introducing, is directly returned in step S1 under continuing in analysis demand text One sentence.
In the step S3, need to judge whether next sentence is last sentence in user demand text, if so, foot This document and script executing engine are established process and are terminated, if it is not, continuing to analyze next sentence in return to step S1.
In the step S2, when current sentence and when sentence belongs to a logical expression before, judge to need to user When informing tip of the text, word segment is written in the prompt message of script, and judge whether sentence is retouched comprising operation condition It states or result describes, otherwise, directly judge sentence whether comprising operation condition description or result description.
If sentence includes, operation condition describes or result describes, and attempts the business supported using current script executing engine Function or operator description, if there is no corresponding business function or operators, new business is introduced back in step S3 Function or operator;If do not included, directly return in step S1 and continue next sentence in analysis demand text.
If relevant action can not be temporarily automatically performed by system, manpower intervention is needed, the examination question classification for putting script is manual Switching.
Relative to the prior art, technique effect of the invention is to be described in the railway system in the form of script file Important operation flow, it is more friendly, it can be achieved that the entirely autonomous study of overall process to the student for participating in teaching rehearsal, while can be square Just it edits, extends, maintenance workload is very small;Data input parameters related with circuit, can easily transplant in script To other websites, and it may realize that computer automatically generates, dynamic load, Dynamic Execution is randomly assigned website progress to reach Training exercise or the purpose of examination;The link of manpower intervention is needed for some in script, using " manual switching " link, The judgement whether reached using human assistance progress step, some complicated links that can not carry out automation judgement can be also able to closely The progress of automation greatly improves the accommodation of interactive process.
Description of the drawings
Fig. 1 is the examination question product process figure of the present invention.
Fig. 2 is script execution flow chart.
Specific embodiment
As shown in Figure 1, a kind of railway implementation examination question generation method based on script, including refining business function and logic Then expression formula analyzes user demand text.User demand text refers to be used to work out railway teaching, training system in the railway system The professional knowledge of implementation examination question in system, available for generation script file and update script executing engine, script engine is used for performing Script file, a script engine can perform multiple script files, and each script file includes multiple scripting lines, each scripting lines A corresponding logical expression, i.e. an operating procedure, a logical expression is by more than one business function and operator group Into.
The script defines one group of execution and judgement sequence, input data parametrization, it is easy to which ground migrates to other stations Point, and may realize that computer automatically generates, dynamic load, Dynamic Execution are randomly assigned website and give rehearsal training to reach Or the purpose of examination.Each scripting lines of script include three parameters, be respectively prompt message Info, logical expression Exp, Examination question classification Type.Prompt message is that the tip of the text of operator is informed when student takes an examination, and realizes that overall process is entirely autonomous Study.Logical expression is the logic judgment part of railway implementation examination question, it using expression formula algorithm based on Inverse Polish notation into Row parsing judges the whether correct simultaneously identifying system current state of operation of student.For example, for releasing operating revelation, this is drilled Project records current operating revelation list before operation first, after the activation, is eliminated in system identification to operating revelation list We be concerned about that, that is, accomplish work(.Examination question classification is divided into automatic switchover and manual switching, and automatic switchover refers to work as student When completing the operation of some step, system can automatically switch to judges whether the next operation of student is correct in next step.For some The link of manpower intervention is needed, using manual switching, is switched to as a next step it is determined that operating and whether completes, greatly improve people The accommodation of machine interactive process, some complicated links that can not carry out automation judgement can also be able to almost to automate into Row.
Before user demand text is analyzed, examination question classification is first set to automatic switchover, whether judgement belongs to sentence before In a logical expression, if being not belonging to a logical expression, current scripting lines are exported to script file, if belonging to one A logical expression when needing to inform tip of the text to user, word segment is written in the prompt message of script, and sentence Whether disconnected current sentence attempts the business letter using current script executing engine supported comprising operation condition description or result description Number or operator description, if desired introduce new business function or operator, introduce new business function or operator and reconstruct Script engine, in this process, the link of manpower intervention, then put examination question classification as manual switching, Ran Houji if necessary Continuous analysis next sentence.If current sentence does not include, operation condition describes or result describes, and directly analyzes next sentence , until user demand text analyzing is completed, at this moment, script file and script executing engine are established process and are terminated.
User selects script file and is operated according to the operating process on script file, to participating in teaching when giveing training The student for learning rehearsal is more friendly, it can be achieved that the entirely autonomous study of overall process, while can facilitate editor, extension, maintenance work Amount is very small.According to the operation of user, script executing engine perform script, as shown in Figure 2, user's loading is specified for detailed process Script is drilled, script engine judges whether the step list on script is finished, if be finished, user's examination question is prompted to drill White silk finishes.Otherwise, the current procedures information in reading script, i.e., current scripting lines, the display reminding information on UI interfaces, such as Fruit examination question classification is manual switching, the Next button is shown on UI interfaces, student performs the operation of examination question prompting, current to try Inscribe script line down.If it is automatic switchover, the corresponding logical expression of scripting lines is parsed with Inverse Polish notation, if operation knot Fruit is correct, current examination question script line down.
What has been described above is only a preferred embodiment of the present invention, it is noted that for those skilled in the art, Under the premise of general idea of the present invention is not departed from, several changes and improvements can also be made, these should also be considered as the present invention's Protection domain.

Claims (8)

1. a kind of railway implementation examination question generation method based on script, it is characterised in that:Including
1)Professional knowledge in the railway system refines business function and logical expression, and a logical expression is by one More than business function and operator composition;
2)According to business function, logical expression and business operation flow, script file and script executing engine, script are established Engine is used for perform script file.
2. a kind of railway implementation examination question generation method based on script according to claim 1, it is characterised in that:The foot Each scripting lines of this document include three parameters, are prompt message Info, logical expression Exp, examination question classification Type respectively.
3. a kind of railway implementation examination question generation method based on script according to claim 1, it is characterised in that:It is described to patrol The logic judgment part that expression formula is railway implementation examination question is collected, it is parsed using the expression formula algorithm based on Inverse Polish notation, Judge the whether correct simultaneously identifying system current state of operation of student.
4. a kind of railway implementation examination question generation method based on script according to claim 1,2 or 3, it is characterised in that: The establishment step of the script file and script executing engine includes:
Step S1:Analysis user gives current sentence in demand text, judges whether belong to a logical table with sentence before Up to formula;
Step S2:If being not belonging to a logical expression, current scripting lines are exported to script file;If belong to a logic Expression formula, judges whether current script executing engine needs to introduce new business function or operator;
Step S3:If necessary to introduce new business function or operator, continue in reconstruct script engine and return to step S1 point Next sentence in judgement demand text is analysed, if you do not need to introducing, is directly returned in step S1 under continuing in analysis demand text One sentence.
5. a kind of railway implementation examination question generation method based on script according to claim 4, it is characterised in that:The step In rapid S3, need to judge whether next sentence is last sentence in user demand text, if so, script file and script are held Row engine is established process and is terminated, if it is not, continuing to analyze next sentence in return to step S1.
6. a kind of railway implementation examination question generation method based on script according to claim 4, it is characterised in that:The step In rapid S2, when current sentence and when sentence belongs to a logical expression before, judge that needs inform tip of the text to user When, word segment is written in the prompt message of script, and whether judge sentence comprising operation condition description or result description, it is no Then, directly judge sentence whether comprising operation condition description or result description.
7. a kind of railway implementation examination question generation method based on script according to claim 6, it is characterised in that:If sentence Attached bag is described containing operation condition or result description, attempts the business function supported using current script executing engine or operator is retouched It states, if there is no corresponding business function or operators, new business function or operator is introduced back in step S3;Such as Fruit does not include, and directly returns in step S1 and continues next sentence in analysis demand text.
8. a kind of railway implementation examination question generation method based on script according to claim 7, it is characterised in that:It is if related Action can not be temporarily automatically performed by system, need manpower intervention, and the examination question classification for putting script is manual switching.
CN201711288942.4A 2017-12-07 2017-12-07 Script-based railway implementation test question generation method Active CN108182052B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711288942.4A CN108182052B (en) 2017-12-07 2017-12-07 Script-based railway implementation test question generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711288942.4A CN108182052B (en) 2017-12-07 2017-12-07 Script-based railway implementation test question generation method

Publications (2)

Publication Number Publication Date
CN108182052A true CN108182052A (en) 2018-06-19
CN108182052B CN108182052B (en) 2021-06-29

Family

ID=62545641

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711288942.4A Active CN108182052B (en) 2017-12-07 2017-12-07 Script-based railway implementation test question generation method

Country Status (1)

Country Link
CN (1) CN108182052B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110765752A (en) * 2019-10-29 2020-02-07 北京字节跳动网络技术有限公司 Test question generation method and device, electronic equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999816A (en) * 2012-12-05 2013-03-27 福建邮科通信技术有限公司 Workflow engine capable of being personalized in business process customization
CN105224818A (en) * 2015-11-10 2016-01-06 北京科技大学 A kind of job procedure automatic scoring method and system
CN106610837A (en) * 2016-12-26 2017-05-03 中国建设银行股份有限公司 Application development method and development platform
CN107316256A (en) * 2017-05-10 2017-11-03 杭州博世数据网络有限公司 A kind of physics exercise question-setting system
US20170337040A1 (en) * 2016-05-18 2017-11-23 Sap Se Extendable Framework for Developing Applications

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999816A (en) * 2012-12-05 2013-03-27 福建邮科通信技术有限公司 Workflow engine capable of being personalized in business process customization
CN105224818A (en) * 2015-11-10 2016-01-06 北京科技大学 A kind of job procedure automatic scoring method and system
US20170337040A1 (en) * 2016-05-18 2017-11-23 Sap Se Extendable Framework for Developing Applications
CN106610837A (en) * 2016-12-26 2017-05-03 中国建设银行股份有限公司 Application development method and development platform
CN107316256A (en) * 2017-05-10 2017-11-03 杭州博世数据网络有限公司 A kind of physics exercise question-setting system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110765752A (en) * 2019-10-29 2020-02-07 北京字节跳动网络技术有限公司 Test question generation method and device, electronic equipment and computer readable storage medium
CN110765752B (en) * 2019-10-29 2023-09-01 抖音视界有限公司 Test question generation method and device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN108182052B (en) 2021-06-29

Similar Documents

Publication Publication Date Title
US20190304188A1 (en) Systems and methods for multi-user virtual reality remote training
CN106528395B (en) The generation method and device of test case
Hoffman et al. Studying cognitive systems in context: Preface to the special section
Aberdeen Burns, A.(2010). Doing Action Research in Language Teaching: A Guide for Practitioners. NY: Routledge. Pp. 196.
Brewin et al. An update and review of simulation in urological training
RU2010104996A (en) DEVICE, SYSTEM AND METHOD OF ADAPTIVE TEACHING AND TRAINING
CN102411540B (en) Automatic management system of workflow-based common software testing process
CN105739481B (en) The test method of industrial control software, apparatus and system
CN108182052A (en) A kind of railway implementation examination question generation method based on script
CN111814443A (en) Table generation method and device combining RPA and AI, computing equipment and storage medium
CN104077669B (en) The universal method that a kind of autonomous customization of computer operation stream is performed with driving
CN110119501A (en) A method of editing process extracts editor's data on the line based on teaching courseware
CN106447751A (en) Character display method and apparatus
Heck et al. Lessons learned from educating AI engineers
CN108154744A (en) A kind of training platform of train control system
CN106126314B (en) Expand the analogy method and device of instruction
JP2019066989A (en) Evaluation system, evaluation method and program
CN104932467B (en) One kind being used for the central controlled method of program-controlled equipment
CN107331233B (en) Automatic train monitoring simulation training system with teacher function
Venable Coloured cognitive maps for modelling decision contexts
Makohon et al. Hungarian optimum assignment algorithm with Java computer animation
KR20200057909A (en) Apparatus and method for providing convergence education using gamification
Mitrovic et al. Exploring two strategies for teaching procedures
TWI832778B (en) Method for learning about computaitonal thinking able to track learning behavoirs in real time
CN116188209B (en) Virtual reality's physical experiment emulation intelligent engine system

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
GR01 Patent grant
GR01 Patent grant