Method, system and equipment for generating rocket artillery professional skill training questions
By constructing the analytical analysis of the operation step module and vector diagram of rocket launcher professional skills training questions, the automatic generation of rocket launcher professional skills training questions is realized, solving the problem of unfriendly human-computer interaction in the existing technology, and reducing the operation difficulty and error rate.
Patent Information
- Application Number
- CN202210516057.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-12
- Publication Date
- 2025-08-19
- Estimated Expiration
- 2042-05-12
AI Technical Summary
The human-computer interaction of the existing rocket launcher professional skills training questions is not friendly, and professional and technical personnel need to perform complex operations, with a lot of editing content and strong professionalism.
By constructing the first and second analytical classes, the correlation relationship and execution order of the operation step module and vector diagram are analyzed, and data elements are edited at the application layer, and the editing module of the core code layer is called to generate training questions.
It simplifies operation steps, reduces the error rate, and allows ordinary users to complete the editing and generation of questions in a friendly manner, reducing the difficulty of operations.
Smart Images

Figure CN115203454B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of generation of rocket launcher professional skill training questions, and in particular to a method, system and device for generating rocket launcher professional skill training questions. Background Art
[0002] When creating a rocket artillery professional skills training application, staff are generally required to master the computer professional database query language SQL, and enter the training topic information (such as the training topic name, each training operation step data and operation time elements, etc.) in the operating database in the form of SQL language to complete the editing and generation of rocket artillery professional skills training topics in the application.
[0003] This traditional method of editing and generating rocket artillery professional skills training questions is not user-friendly in terms of human-computer interaction. It requires a lot of content to be edited and is highly professional. It requires trained professional and technical personnel to perform the editing operations. Therefore, it is urgent to provide a new method for generating rocket artillery professional skills training questions to solve these problems. Summary of the Invention
[0004] The purpose of the present invention is to propose a method, system and equipment for generating rocket launcher professional skill training questions, so as to solve the problem that the current editing and generating method of rocket launcher professional skill training questions is not friendly enough in human-computer interaction, requires a lot of content to be edited and is highly professional, and requires trained professional and technical personnel to perform editing operations.
[0005] The present invention provides a method for generating rocket artillery professional skill training questions, the method comprising:
[0006] When the application layer drags each operation step module and vector diagram into the work area, a first parsing class corresponding to each operation step module and a second parsing class corresponding to each vector diagram are constructed, and each vector diagram is parsed by the second parsing class to obtain the association relationship between each operation step module, and then the association relationship and execution order between each operation step module are set;
[0007] When editing the data elements of each operation step module at the application layer, the attribute data information of each operation step module is obtained and parsed through the first parsing class to obtain identification information. After clicking Save at the application layer, the corresponding editing modules in the core code layer are called in sequence according to the identification information of each operation step module, so that each editing module can improve the attribute information of each operation step module according to the data elements of each operation step module to generate training questions.
[0008] The method for generating rocket artillery professional skill training questions proposed in the present invention has the following beneficial effects:
[0009] The data parsing layer service of the present invention is subject to the application layer's dragging of each operation step module and vector diagram into the work area and the editing and calling of the data elements of each operation step module, constructing the corresponding first parsing class and the second parsing class, and parsing and obtaining the association relationship between each operation step module through the second parsing class and obtaining the identification information through the first parsing class and calling the corresponding editing module from the core code layer based on the identification information to improve the attribute information of each operation step module, thereby automatically generating complete training questions. Users operating at the application layer of the present invention only need to drag and combine each operation step module and vector diagram in sequence according to the actual operation process sequence, and then click to edit the data elements of the operation step module to complete the question editing and generation operation. It is very friendly to ordinary users, greatly reduces the difficulty of operation and reduces the probability of error.
[0010] In addition, the method for generating rocket artillery professional skill training questions provided by the present invention may also have the following additional technical features:
[0011] Furthermore, when the application layer drags each operation step module and the vector diagram into the work area, the steps of constructing a first parsing class corresponding to each operation step module and a second parsing class corresponding to each vector diagram, parsing each vector diagram using the second parsing class to obtain the association relationship between each operation step module, and then setting the association relationship and execution order between each operation step module include:
[0012] When the application layer sequentially drags each operation step module and the vector diagram associated with each operation step module into the work area, the vector diagrams are parsed to obtain the type of each vector diagram and a second parsing class corresponding to each vector diagram is constructed according to the type of each vector diagram;
[0013] parsing the corresponding vector diagrams by using the second parsing classes to obtain logical relationships in the vector diagrams;
[0014] Acquire the association relationship between the operation step modules associated with each vector diagram according to the logical relationship in each vector diagram;
[0015] The association relationship and execution order between all the operation step modules are set according to the order of each operation step module and each vector diagram in the work area.
[0016] Furthermore, after the step of setting the association relationship and execution order between all the operation step modules according to the order of the operation step modules and the vector diagrams in the work area, the step further includes:
[0017] An operation step module linked list is constructed according to the execution order of all the operation step modules.
[0018] Furthermore, after the step of sequentially dragging the operation step modules and the vector graphics associated with the operation step modules into the work area at the application layer, the method further includes:
[0019] Parsing each of the operation step modules to obtain a graphic type of the operation step module and constructing a first parsing class corresponding to each of the operation step modules according to the graphic type of each of the operation step modules;
[0020] When editing the data elements of each operation step module at the application layer, the attribute data information of each operation step module is obtained and parsed through the first parsing class to obtain identification information. After clicking Save at the application layer, the corresponding editing modules in the core code layer are sequentially called according to the identification information of each operation step module, so that each editing module improves and sets the attribute information of each operation step module according to the data elements of each operation step module to generate training questions. The steps include:
[0021] When the application layer edits the data elements of each operation step module, the attribute list of each operation step module is called from the database and the data elements of each operation step module are stored in the CContext class, wherein the data elements of each operation step module and the attribute names of each operation step module in the CContext class have a one-to-one correspondence, and the attribute data information of the operation step module is stored in the attribute list in the form of a data structure;
[0022] Parsing the attribute list of each of the operation step modules through each of the first parsing classes to obtain identification information of each of the operation step modules, where the identification information includes a step type and an attribute name;
[0023] According to the attribute name of each operation step module, the data element corresponding to the attribute name of each operation step module is obtained from the CContext class;
[0024] According to the step type of each operation step module, the data elements of each operation step module are passed to the editing module corresponding to the step type of each operation step module in the core code layer.
[0025] Furthermore, after the step of transferring the data elements of each operation step module to the editing module corresponding to the step type of each operation step module in the core code layer according to the step type of each operation step module, the method further includes:
[0026] According to the operation step module linked list, the editing modules corresponding to the step types of the operation step modules are sequentially placed in a linked list to generate an editing module linked list.
[0027] Furthermore, after the step of sequentially placing the editing modules corresponding to the step types of the operation step modules in a linked list according to the operation step module linked list and generating the editing module linked list, the step further includes:
[0028] After clicking Save at the application layer, the editing modules of the core code layer are called in sequence according to the order of the editing module list to process the data elements of each operation step module and save them in the attribute list of each operation step module in sequence to generate training questions.
[0029] Furthermore, after the step of sequentially placing the editing modules corresponding to the step types of the operation step modules in a linked list according to the operation step module linked list and generating the editing module linked list, the step further includes:
[0030] After clicking Save in the application layer, each editing module in the core code layer is called in sequence according to the order of the editing module linked list to judge the legitimacy of the data elements of each operation step module;
[0031] If the data elements of each operation step module are legal, the data elements of each operation step module are converted into character streams in sequence and saved in the attribute list of each operation step module in sequence to generate training questions.
[0032] The present invention also provides a system for generating rocket artillery professional skill training questions, comprising:
[0033] A first setting module is used to construct a first parsing class corresponding to each operation step module and a second parsing class corresponding to each vector diagram when each operation step module and vector diagram are dragged into the work area at the application layer, and to parse each vector diagram using the second parsing class to obtain the association relationship between each operation step module, and then to set the association relationship and execution order between each operation step module;
[0034] The second setting module: is used to obtain the attribute data information of each operation step module and parse it through the first parsing class to obtain identification information when editing the data elements of each operation step module at the application layer. After clicking Save at the application layer, the corresponding editing modules in the core code layer are called in sequence according to the identification information of each operation step module, so that each editing module can improve the attribute information of each operation step module according to the data elements of each operation step module to generate training questions.
[0035] The present invention also proposes a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method for generating the above-mentioned rocket artillery professional skill training questions is implemented.
[0036] The present invention also proposes a device for generating rocket launcher professional skill training questions, including a memory, a processor, and a computer program stored in the memory and runnable on the processor. When the processor executes the program, the above-mentioned method for generating rocket launcher professional skill training questions is implemented.
[0037] Additional aspects and advantages of the present invention will be set forth in part in the description which follows and, in part, will be obvious from the description which follows, or may be learned by practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the following description of the embodiments with reference to the accompanying drawings, in which:
[0039] Figure 1 This is a flow chart of a method for generating rocket artillery professional skill training questions according to a first embodiment of the present invention;
[0040] Figure 2 This is a system block diagram of a system for generating rocket artillery professional skill training questions according to a second embodiment of the present invention;
[0041] Figure 3 This is a schematic diagram of the structure of a device for generating rocket artillery professional skill training questions according to the third embodiment of the present invention. DETAILED DESCRIPTION
[0042] To make the objects, features, and advantages of the present invention more readily apparent, the following detailed description of specific embodiments of the present invention is provided in conjunction with the accompanying drawings. The accompanying drawings illustrate several embodiments of the present invention. However, the present invention may be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and comprehensive understanding of the present invention.
[0043] Example 1
[0044] like Figure 1 As shown, an embodiment of the present invention provides a method for generating rocket artillery professional skill training questions, which is applied to the data analysis layer and includes steps S101 to S102.
[0045] S101, when the application layer drags each operation step module and the vector diagram into the work area, constructs a first parsing class corresponding to each operation step module and a second parsing class corresponding to each vector diagram, and parses each vector diagram through the second parsing class to obtain the association relationship between each operation step module, and then sets the association relationship and execution order between each operation step module.
[0046] Specifically, when the application layer drags each operation step module and the vector diagram into the work area, the steps of constructing a first parsing class corresponding to each operation step module and a second parsing class corresponding to each vector diagram, parsing each vector diagram using the second parsing class to obtain the association relationship between each operation step module, and then setting the association relationship and execution order between each operation step module include:
[0047] When the application layer sequentially drags each operation step module and the vector diagram associated with each operation step module into the work area, the vector diagrams are parsed to obtain the type of each vector diagram and a second parsing class corresponding to each vector diagram is constructed according to the type of each vector diagram;
[0048] parsing the corresponding vector diagrams by using the second parsing classes to obtain logical relationships in the vector diagrams;
[0049] Acquire the association relationship between the operation step modules associated with each vector diagram according to the logical relationship in each vector diagram;
[0050] The association relationship and execution order between all the operation step modules are set according to the order of each operation step module and each vector diagram in the work area.
[0051] Furthermore, after the step of setting the association relationship and execution order between all the operation step modules according to the order of the operation step modules and the vector diagrams in the work area, the step further includes:
[0052] An operation step module linked list is constructed according to the execution order of all the operation step modules.
[0053] Furthermore, after the step of sequentially dragging the operation step modules and the vector graphics associated with the operation step modules into the work area at the application layer, the method further includes:
[0054] Each of the operation step modules is parsed to obtain the type of the graphic of the operation step module, and a first parsing class corresponding to each of the operation step modules is constructed according to the type of the graphic of each of the operation step modules.
[0055] S102, when editing the data elements of each of the operation step modules at the application layer, obtain the attribute data information of each of the operation step modules and parse it through the first parsing class to obtain identification information. After clicking Save at the application layer, the corresponding editing modules in the core code layer are called in sequence according to the identification information of each of the operation step modules, so that each editing module can improve the attribute information of each of the operation step modules according to the data elements of each of the operation step modules to generate training questions.
[0056] It should be noted that each operation step module is a graphic module. The graphical editing interface is a class-encapsulated human-computer interaction interface that can be used and edited by users at the application layer. When the mouse is clicked or dragged, the graphics corresponding to the operation step module will be displayed. When the graphics displayed by the operation step module are clicked in the work area, a sub-window will pop up. At this time, the data parsing layer service is called to edit the data, and the editing interface of the data elements and the information of the edited operation step module will be displayed.
[0057] Specifically, when editing the data elements of each operation step module at the application layer, the attribute data information of each operation step module is obtained and parsed through the first parsing class to obtain identification information. After clicking Save at the application layer, the corresponding editing modules in the core code layer are sequentially called according to the identification information of each operation step module, so that each editing module improves the attribute information of each operation step module according to the data elements of each operation step module to generate training questions. The steps include:
[0058] When the application layer edits the data elements of each operation step module, the attribute list of each operation step module is called from the database and the data elements of each operation step module are stored in the CContext class, wherein the data elements of each operation step module and the attribute names of each operation step module in the CContext class have a one-to-one correspondence, and the attribute data information of the operation step module is stored in the attribute list in the form of a data structure;
[0059] Parsing the attribute list of each of the operation step modules through each of the first parsing classes to obtain identification information of each of the operation step modules, where the identification information includes a step type and an attribute name;
[0060] According to the attribute name of each operation step module, the data element corresponding to the attribute name of each operation step module is obtained from the CContext class;
[0061] According to the step type of each operation step module, the data elements of each operation step module are passed to the editing module corresponding to the step type of each operation step module in the core code layer.
[0062] It should be noted that the data parsing layer contains classes that are hidden from users and encapsulate data and functions.
[0063] The data parsing layer provides the application layer with graphic parsing services for the operation step module. Graphic parsing is implemented through the IExpression interface provided by the data parsing layer.
[0064] The interface function analyzeData(CContext*pContext) of the data analysis layer is responsible for analyzing the attribute data information of the operation step module and the association relationship between the operation step modules.
[0065] The first parsing class is the COperExpression class, and the second parsing class is the CLinkRelExpression class.
[0066] When constructing a COperExpression class object, the constructor sets the data processing interface IOperateBlock corresponding to the operation step module. Each operation step module corresponds to a graph parsing class COperExpression. In the specific subclass, the analyzeData function in the IExpression interface is overridden to set the operation step attribute information.
[0067] When constructing a CLinkRelExpression class object, the constructor sets the logical relationship between the two associated operation step module objects and the vector diagram. Each vector diagram corresponds to a CLinkRelExpression class. In the specific subclass, override the analyzeData function in the IExpression interface to set the relationship between the operation step modules.
[0068] Furthermore, after the step of transferring the data elements of each operation step module to the editing module corresponding to the step type of each operation step module in the core code layer according to the step type of each operation step module, the method further includes:
[0069] According to the operation step module linked list, the editing modules corresponding to the step types of the operation step modules are sequentially placed in a linked list to generate an editing module linked list.
[0070] Furthermore, after the step of sequentially placing the editing modules corresponding to the step types of the operation step modules in a linked list according to the operation step module linked list and generating the editing module linked list, the step further includes:
[0071] After clicking Save at the application layer, the editing modules of the core code layer are called in sequence according to the order of the editing module list to process the data elements of each operation step module and save them in the attribute list of each operation step module in sequence to generate training questions.
[0072] Furthermore, after the step of sequentially placing the editing modules corresponding to the step types of the operation step modules in a linked list according to the operation step module linked list and generating the editing module linked list, the step further includes:
[0073] After clicking Save in the application layer, each editing module in the core code layer is called in sequence according to the order of the editing module linked list to judge the legitimacy of the data elements of each operation step module;
[0074] If the data elements of each operation step module are legal, the data elements of each operation step module are converted into character streams in sequence and saved in the attribute list of each operation step module in sequence to generate training questions.
[0075] Among them, the legality judgment of data elements is to judge whether the length, type, etc. of the data are compliant. The attribute list is set in the form of a data structure, including attribute name, data type, value range and user input data.
[0076] It should be noted that the association relationship between the set operation step modules will also be stored in the attribute information of each operation step module. The attribute information of the well-set operation step module includes input, output and logical relationship. The input is the output of the previous operation step module and the data elements input by the user; the output is the input of the next operation step module, which is the trigger condition of the next step; the logical relationship includes the logical judgment of the association relationship between the upper and lower operation step modules, time constraints, etc.
[0077] Property information setting: this.setPreviousBlockEnable(true,n_minus_1); allows the existence of the previous operation step module connection Block_n_minus_1,
[0078] this.setNextBlockEnable(true,Block_n_plus_1); Allow the next operation step module to connect to Block_n_plus_1,
[0079] this.setIconClick(Block_n); When the mouse clicks the operation step module, the data element editing submenu n will pop up for the user to enter the data element.
[0080] Each editing module in the core code layer has an implementation class of IOperateBlock. IOperateBlock is the operation step data processing interface provided by the core code layer to the data parsing layer. When the user drags the operation step module into the work area, the corresponding IOperateBlock implementation class and the first parsing class are created according to the operation step type, and the created IOperateBlock implementation class is set as the data processing interface of the editing module associated with the first parsing class. When the user drags the vector map into the work area, the corresponding second parsing class is created in the data parsing layer according to the vector map type. When the second parsing class parses the vector map, the data processing interface IOperateBlock of the editing module corresponding to the operation step module is placed in a linked list. Among them, the data processing interface IOperateBlock of the editing module corresponding to the operation step module is placed in a linked list by the IExpression subclass CLinkRelExpression.
[0081] During the use (training implementation) of the edited training questions, the operation input of the external trainees is received, and the operation input is responded to according to the preset evaluation criteria of the question. If the operation response is correct, it will proceed to the next link. Otherwise, it will wait for the correct operation response or until the current link times out, and then proceed to the next link. The training implementation ends when the entire training link operation is completed or the total time preset for the training question is exceeded. The training results are given based on the comparison of the operation log records with the evaluation criteria.
[0082] The embodiment of the present invention decomposes the operational content of professional skill training questions into limited operation step modules (discrete events), and designs each operation step module with a detailed single operation. The refinement of the operation step module function makes the operation step module highly flexible, which is convenient for free combination with other operation step modules, and can form related and complete professional skill training questions according to training needs.
[0083] In order to improve the user experience of question editing and generation, the present invention encapsulates the various operation steps of professional skill training questions into corresponding single graphical modules using C++ language. Users operating at the application layer only need to cut and combine the various graphical modules in sequence according to the actual operation process sequence and edit the data elements to complete the question editing and generation operation. This is very friendly to ordinary users, greatly reduces the difficulty of operation and use, and reduces the chance of error.
[0084] In summary, the method for generating rocket artillery professional skill training questions provided by the present invention has the beneficial effect that: the data parsing layer service of the present invention is subject to the application layer's dragging of each operation step module and vector diagram into the operation area and the editing and calling of the data elements of each operation step module, constructing the corresponding first parsing class and the second parsing class, and parsing and obtaining the association relationship between each operation step module through the second parsing class and obtaining the identification information through the first parsing class and calling the corresponding editing module from the core code layer based on the identification information to improve the attribute information of each operation step module, thereby automatically generating complete training questions. Users operating at the application layer of the present invention only need to drag and combine each operation step module and vector diagram in sequence according to the actual operation process sequence, and then click to edit the data elements of the operation step module to complete the question editing and generation operation. It is very friendly to ordinary users, greatly reduces the difficulty of operation and reduces the probability of error.
[0085] Example 2
[0086] Please refer to Figure 2 This embodiment provides a system for generating rocket artillery professional skill training questions, including:
[0087] A first setting module is used to construct a first parsing class corresponding to each operation step module and a second parsing class corresponding to each vector diagram when each operation step module and vector diagram are dragged into the work area at the application layer, and to parse each vector diagram using the second parsing class to obtain the association relationship between each operation step module, and then to set the association relationship and execution order between each operation step module;
[0088] The second setting module: is used to obtain the attribute data information of each operation step module and parse it through the first parsing class to obtain identification information when editing the data elements of each operation step module at the application layer. After clicking Save at the application layer, the corresponding editing modules in the core code layer are called in sequence according to the identification information of each operation step module, so that each editing module can improve the attribute information of each operation step module according to the data elements of each operation step module to generate training questions.
[0089] The first setting module is further configured to:
[0090] When the application layer sequentially drags each operation step module and the vector diagram associated with each operation step module into the work area, the vector diagrams are parsed to obtain the type of each vector diagram and a second parsing class corresponding to each vector diagram is constructed according to the type of each vector diagram;
[0091] parsing the corresponding vector diagrams by using the second parsing classes to obtain logical relationships in the vector diagrams;
[0092] Acquire the association relationship between the operation step modules associated with each vector diagram according to the logical relationship in each vector diagram;
[0093] The association relationship and execution order between all the operation step modules are set according to the order of each operation step module and each vector diagram in the work area.
[0094] The first setting module is further configured to:
[0095] An operation step module linked list is constructed according to the execution order of all the operation step modules.
[0096] The first setting module is further configured to:
[0097] Parsing each of the operation step modules to obtain a graphic type of the operation step module and constructing a first parsing class corresponding to each of the operation step modules according to the graphic type of each of the operation step modules;
[0098] The second setting module is further used for:
[0099] When the application layer edits the data elements of each operation step module, the attribute list of each operation step module is called from the database and the data elements of each operation step module are stored in the CContext class, wherein the data elements of each operation step module and the attribute names of each operation step module in the CContext class have a one-to-one correspondence, and the attribute data information of the operation step module is stored in the attribute list in the form of a data structure;
[0100] Parsing the attribute list of each of the operation step modules through each of the first parsing classes to obtain identification information of each of the operation step modules, where the identification information includes a step type and an attribute name;
[0101] According to the attribute name of each operation step module, the data element corresponding to the attribute name of each operation step module is obtained from the CContext class;
[0102] According to the step type of each operation step module, the data elements of each operation step module are passed to the editing module corresponding to the step type of each operation step module in the core code layer.
[0103] The second setting module is further used for:
[0104] According to the operation step module linked list, the editing modules corresponding to the step types of the operation step modules are sequentially placed in a linked list to generate an editing module linked list.
[0105] The second setting module is further used for:
[0106] After clicking Save at the application layer, the editing modules of the core code layer are called in sequence according to the order of the editing module list to process the data elements of each operation step module and save them in the attribute list of each operation step module in sequence to generate training questions.
[0107] The second setting module is further used for:
[0108] After clicking Save in the application layer, each editing module in the core code layer is called in sequence according to the order of the editing module linked list to judge the legitimacy of the data elements of each operation step module;
[0109] If the data elements of each operation step module are legal, the data elements of each operation step module are converted into character streams in sequence and saved in the attribute list of each operation step module in sequence to generate training questions.
[0110] Example 3
[0111] Please refer to Figure 3 The present invention also proposes a device for generating rocket launcher professional skill training questions, which is shown as the device for generating rocket launcher professional skill training questions in the third embodiment of the present invention, including a memory 20, a processor 10, and a computer program 30 stored in the memory and executable on the processor. When the processor 10 executes the computer program 30, the method for generating rocket launcher professional skill training questions as described above is implemented.
[0112] Among them, the device for generating the rocket artillery professional skill training questions can specifically be a computer, a server, a host computer, etc., and the processor 10 in some embodiments can be a central processing unit (CPU), a controller, a microcontroller, a microprocessor or other data processing chip, used to run the program code stored in the memory 20 or process data, such as executing access restriction programs, etc.
[0113] The memory 20 includes at least one type of readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 20 can be an internal storage unit of the device for generating rocket artillery professional skill training questions, such as a hard disk of the device for generating rocket artillery professional skill training questions. In other embodiments, the memory 20 can also be an external storage device of the device for generating rocket artillery professional skill training questions, such as a plug-in hard disk equipped on the device for generating rocket artillery professional skill training questions, a smart memory card (SMC), a secure digital (SD) card, a flash memory card, etc. Furthermore, the memory 20 can also include both an internal storage unit and an external storage device of the device for generating rocket artillery professional skill training questions. The memory 20 can be used not only to store application software and various types of data installed in the device for generating rocket artillery professional skill training questions, but also to temporarily store data that has been output or is about to be output.
[0114] It should be pointed out that Figure 3 The structure shown does not constitute a limitation on the device for generating rocket launcher professional skill training questions. In other embodiments, the device for generating rocket launcher professional skill training questions may include fewer or more components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0115] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for generating rocket artillery professional skill training questions as described above.
[0116] The above-described embodiments merely illustrate several implementations of the present invention, and while their descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art would be able to make numerous modifications and improvements without departing from the spirit of the present invention, all of which fall within the scope of protection of the present invention. Therefore, the scope of protection of the patent for this invention shall be determined by the appended claims.
Claims
1. A method for generating rocket artillery professional skill training questions, characterized in that: Applied to the data parsing layer, the method includes: When the application layer drags each operation step module and vector diagram into the work area, a first parsing class corresponding to each operation step module and a second parsing class corresponding to each vector diagram are constructed, and each vector diagram is parsed by the second parsing class to obtain the association relationship between each operation step module, and then the association relationship and execution order between each operation step module are set; When editing the data elements of each operation step module at the application layer, the attribute data information of each operation step module is obtained and parsed through the first parsing class to obtain identification information. After clicking Save at the application layer, the corresponding editing modules in the core code layer are called in sequence according to the identification information of each operation step module, so that each editing module can improve the attribute information of each operation step module according to the data elements of each operation step module to generate training questions.
2. The method for generating rocket launcher professional skill training questions according to claim 1, characterized in that: The steps of constructing a first parsing class corresponding to each operation step module and a second parsing class corresponding to each vector diagram when the application layer drags each operation step module and the vector diagram into the work area, parsing each vector diagram using the second parsing class to obtain the association relationship between each operation step module, and then setting the association relationship and execution order between each operation step module include: When the application layer sequentially drags each operation step module and the vector diagram associated with each operation step module into the work area, the vector diagrams are parsed to obtain the type of each vector diagram and a second parsing class corresponding to each vector diagram is constructed according to the type of each vector diagram; parsing the corresponding vector diagrams by using the second parsing classes to obtain logical relationships in the vector diagrams; Acquire the association relationship between the operation step modules associated with each vector diagram according to the logical relationship in each vector diagram; The association relationship and execution order between all the operation step modules are set according to the order of each operation step module and each vector diagram in the work area.
3. The method for generating rocket launcher professional skill training questions according to claim 2, characterized in that: After the step of setting the association relationship and execution order between all the operation step modules according to the order of the operation step modules and the vector diagrams in the work area, the following step further comprises: An operation step module linked list is constructed according to the execution order of all the operation step modules.
4. The method for generating rocket launcher professional skill training questions according to claim 3 is characterized in that: After the step of sequentially dragging the operation step modules and the vector diagrams associated with the operation step modules into the work area at the application layer, the following steps are further included: Parsing each of the operation step modules to obtain a graphic type of the operation step module and constructing a first parsing class corresponding to each of the operation step modules according to the graphic type of each of the operation step modules; When editing the data elements of each operation step module at the application layer, the attribute data information of each operation step module is obtained and parsed through the first parsing class to obtain identification information. After clicking Save at the application layer, the corresponding editing modules in the core code layer are sequentially called according to the identification information of each operation step module, so that each editing module improves and sets the attribute information of each operation step module according to the data elements of each operation step module to generate training questions. The steps include: When the application layer edits the data elements of each operation step module, the attribute list of each operation step module is called from the database and the data elements of each operation step module are stored in the CContext class, wherein the data elements of each operation step module and the attribute names of each operation step module in the CContext class have a one-to-one correspondence, and the attribute data information of the operation step module is stored in the attribute list in the form of a data structure; Parsing the attribute list of each of the operation step modules through each of the first parsing classes to obtain identification information of each of the operation step modules, where the identification information includes a step type and an attribute name; According to the attribute name of each operation step module, the data element corresponding to the attribute name of each operation step module is obtained from the CContext class; According to the step type of each operation step module, the data elements of each operation step module are passed to the editing module corresponding to the step type of each operation step module in the core code layer.
5. The method for generating rocket launcher professional skill training questions according to claim 4 is characterized in that: After the step of transferring the data elements of each operation step module to the editing module corresponding to the step type of each operation step module in the core code layer according to the step type of each operation step module, the following step further comprises: According to the operation step module linked list, the editing modules corresponding to the step types of the operation step modules are sequentially placed in a linked list to generate an editing module linked list.
6. The method for generating rocket launcher professional skill training questions according to claim 5, characterized in that: After the step of sequentially placing the editing modules corresponding to the step types of the operation step modules in a linked list according to the operation step module linked list and generating the editing module linked list, the following step further comprises: After clicking Save at the application layer, the editing modules of the core code layer are called in sequence according to the order of the editing module list to process the data elements of each operation step module and save them in the attribute list of each operation step module in sequence to generate training questions.
7. The method for generating rocket launcher professional skill training questions according to claim 5, characterized in that: After the step of sequentially placing the editing modules corresponding to the step types of the operation step modules in a linked list according to the operation step module linked list and generating the editing module linked list, the following step further comprises: After clicking Save in the application layer, each editing module in the core code layer is called in sequence according to the order of the editing module linked list to judge the legitimacy of the data elements of each operation step module; If the data elements of each operation step module are legal, the data elements of each operation step module are converted into character streams in sequence and saved in the attribute list of each operation step module in sequence to generate training questions.
8. A system for generating rocket artillery professional skill training questions, characterized in that: include: A first setting module is used to construct a first parsing class corresponding to each operation step module and a second parsing class corresponding to each vector diagram when each operation step module and vector diagram are dragged into the work area at the application layer, and to parse each vector diagram using the second parsing class to obtain the association relationship between each operation step module, and then to set the association relationship and execution order between each operation step module; The second setting module: is used to obtain the attribute data information of each operation step module and parse it through the first parsing class to obtain identification information when editing the data elements of each operation step module at the application layer. After clicking Save at the application layer, the corresponding editing modules in the core code layer are called in sequence according to the identification information of each operation step module, so that each editing module can improve the attribute information of each operation step module according to the data elements of each operation step module to generate training questions.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for generating rocket artillery professional skill training questions as described in any one of claims 1 to 7 is implemented.
10. A device for generating rocket artillery professional skill training questions, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the program, the method for generating rocket artillery professional skill training questions as claimed in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Generating method of electronic paper
CN102789380A
Metho, system, program, and device for examining questions
JP2020135356A