CN118070763A - Course editing processing method, device and medium for industrial control network target range teaching - Google Patents

Course editing processing method, device and medium for industrial control network target range teaching Download PDF

Info

Publication number
CN118070763A
CN118070763A CN202410252748.4A CN202410252748A CN118070763A CN 118070763 A CN118070763 A CN 118070763A CN 202410252748 A CN202410252748 A CN 202410252748A CN 118070763 A CN118070763 A CN 118070763A
Authority
CN
China
Prior art keywords
course
folder
test question
target
editing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410252748.4A
Other languages
Chinese (zh)
Inventor
胡志锋
傅涛
宋恒嘉
郑轶
陈晓军
张亚旭
刘其端
陈尔严
田文利
仲伟炜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bozhi Safety Technology Co ltd
Original Assignee
Bozhi Safety 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 Bozhi Safety Technology Co ltd filed Critical Bozhi Safety Technology Co ltd
Priority to CN202410252748.4A priority Critical patent/CN118070763A/en
Publication of CN118070763A publication Critical patent/CN118070763A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/20Education
    • G06Q50/205Education administration or guidance
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Educational Administration (AREA)
  • General Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Educational Technology (AREA)
  • Tourism & Hospitality (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Primary Health Care (AREA)
  • Human Computer Interaction (AREA)
  • Marketing (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a course editing processing method, device and medium for industrial control network target range teaching. The method comprises the following steps: responding to an editing instruction of a target course, displaying a course editing interface, and establishing a course folder corresponding to the target course under a unified directory; responding to the course editing source codes received through the source code input box, displaying rendering results of the course editing source codes in real time in a course content preview box, and writing the course editing source codes into a course folder in real time; responding to a resource adding instruction for at least one resource file received in a source code input box, storing each resource file into a course folder, and displaying each resource file in real time in a course content preview box; and responding to a storage instruction of the target course, packaging all contents in the course folder into a data packet with a preset format, and storing the data packet in the course folder. The technical scheme of the embodiment of the invention can improve the efficiency of course editing processing.

Description

Course editing processing method, device and medium for industrial control network target range teaching
Technical Field
The invention relates to the technical field of network security, in particular to a course editing processing method, device and medium for industrial control network target range teaching.
Background
In the current age, with popularization of the internet and acceleration of the digitizing process, the network security problem threatens national security, social stability and personal privacy. Thus, the cultivation of network security talents becomes particularly important.
The network target range is used as a system for simulating a real network environment, and provides powerful support for network security teaching. The existing industrial control network target range teaching method generally realizes teaching by firstly compiling a course in a MarkDown (a lightweight markup language) format by a course maker based on a Browser/Server (Browser/Server) architecture, uploading the course to a Server, and pushing the course to a learner for course learning.
The inventors have found that the following drawbacks exist in the prior art in the process of implementing the present invention: most of the existing industrial control network range teaching methods only support B/S architecture, and the implementation mode can greatly influence the course development and editing efficiency of the industrial control network range teaching.
Disclosure of Invention
The invention provides a course editing processing method, a device and a medium for industrial control network target range teaching, which improve the course editing processing efficiency for industrial control network target range teaching.
In a first aspect, an embodiment of the present invention provides a course editing processing method for industrial control network target range teaching, which is executed by a desktop application program for implementing a course making function, where the desktop application program is used in cooperation with an industrial control network target range system generated based on a B/S architecture, and includes:
Responding to an editing instruction of a target course, displaying a course editing interface, and establishing a course folder corresponding to the target course under a unified directory; the course editing interface comprises a source code input box and a course content preview box;
Responding to the course editing source codes received through the source code input box, displaying rendering results of the course editing source codes in real time in the course content preview box, and writing the course editing source codes into the course folder in real time;
Responding to a resource adding instruction received in a source code input box for at least one resource file, storing each resource file into the course folder, and displaying each resource file in the course content preview box in real time;
and responding to a storage instruction of a target course, packaging all contents in the course folder into a data packet with a preset format, and storing the data packet in the course folder.
In a second aspect, an embodiment of the present invention further provides a course editing processing method for industrial control network target range teaching, which is executed by an industrial control network target range system generated based on a B/S architecture and used in cooperation with a desktop application program for implementing a course making function, including:
acquiring a course folder corresponding to at least one course and a test question folder corresponding to at least one test question, which are obtained through editing of the desktop application program;
Identifying each resource file included in each course folder, and after storing each resource file to a file server, updating the relative storage path of each resource file;
Identifying each test question file contained in each test question folder, analyzing test question description information in a JSON file format in each test question file, and storing the test question description information in a database;
responding to a binding instruction received by a browser, and binding each course with each matched test question;
And responding to course allocation instructions received through the browser, allocating at least one course to the students of at least one role, and prompting each student for the course.
In a third aspect, an embodiment of the present invention further provides a course editing processing apparatus for industrial control network target range teaching, configured in a desktop application program for implementing a course making function, where the desktop application program is used in cooperation with an industrial control network target range system generated based on a B/S architecture, and includes:
the system comprises a course folder establishing module, a course editing interface, a course editing module and a course editing module, wherein the course folder establishing module is used for responding to an editing instruction of a target course, displaying the course editing interface and establishing a course folder corresponding to the target course under a unified directory; the course editing interface comprises a source code input box and a course content preview box;
the course editing source code real-time writing module responds to course editing source codes received through the source code input frame, displays rendering results of the course editing source codes in the course content preview frame in real time, and writes the course editing source codes into the course folder in real time;
The resource file real-time display module responds to a resource adding instruction to at least one resource file received in a source code input box, stores each resource file into the course folder, and displays each resource file in real time in the course content preview box;
And the target course storage module is used for responding to a storage instruction of a target course, packaging all contents in the course folder into a data packet with a preset format, and storing the data packet in the course folder.
In a fourth aspect, an embodiment of the present invention further provides a course editing processing apparatus for industrial control network target range teaching, configured in an industrial control network target range system generated based on a B/S architecture, for use with a desktop application program for implementing a course making function, including:
the course folder and test question folder acquisition module is used for acquiring a course folder corresponding to at least one course and a test question folder corresponding to at least one test question, which are obtained through editing of the desktop application program;
the resource file identification module is used for identifying each resource file included in each course folder, and updating the relative storage path of each resource file after storing each resource file to the file server;
the test question file identification module is used for identifying each test question file contained in each test question folder, analyzing test question description information in a JSON file format in each test question file and storing the test question description information into a database;
The course and test question binding module is used for binding each course with each matched test question in response to a binding instruction received through the browser;
And the course prompting module is used for responding to course allocation instructions received through the browser, allocating at least one course to the students of at least one role and prompting the courses of the students.
In a fifth aspect, an embodiment of the present invention further provides an electronic device, including:
at least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor, so that the at least one processor can execute the course editing processing method for industrial control network range teaching according to any embodiment of the present invention.
In a sixth aspect, an embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores computer instructions, where the computer instructions are configured to cause a processor to implement a course editing processing method for industrial control network range teaching according to any one of the embodiments of the present invention when executed.
According to the technical scheme, a course editing interface comprising a source code input box and a course content preview box is displayed in response to an editing instruction of a target course, a course folder corresponding to the target course is established under a unified directory, a rendering result of the course editing source code is displayed in real time in the course content preview box in response to the course editing source code received through the source code input box, the course editing source code is written into the course folder in real time, each resource file is stored in the course folder in response to a resource adding instruction of at least one resource file received in the source code input box, each resource file is displayed in real time in the course content preview box, all contents in the course folder are packaged into a data packet in a preset format in the course folder in response to a storage instruction of the target course, and therefore the problem that the current industrial control network target range teaching method only supports B/S architecture and affects the course editing processing efficiency is solved, and the course editing processing efficiency for the industrial control network target range is improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a course editing processing method for industrial control network target range teaching according to an embodiment of the present invention;
fig. 2 is a flowchart of a course editing processing method for industrial control network target range teaching according to a second embodiment of the present invention;
FIG. 3 is a system architecture diagram of a course editing processing method for industrial control network range teaching, which is applicable to the third embodiment of the present invention;
FIG. 4 is a schematic flow chart of a course editing application design according to a third embodiment of the present invention;
Fig. 5 is an effect schematic diagram of a test question editing example provided in the third embodiment of the present invention;
FIG. 6 is a flow chart of a method of course operation provided in accordance with a third embodiment of the present invention;
FIG. 7 is a schematic flow chart of course learning according to the third embodiment of the present invention;
Fig. 8 is a schematic structural diagram of a course editing processing device for industrial control network shooting range teaching according to a fourth embodiment of the present invention;
Fig. 9 is a schematic structural diagram of a course editing processing device for industrial control network shooting range teaching according to a fifth embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to a sixth embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a course editing processing method for industrial control network target range teaching, which is provided in an embodiment of the present invention, and the method may be applicable to a case of editing a target course according to an editing instruction of the target course. The method is executed by a desktop application program for realizing a course making function, and the desktop application program is used together with an industrial control network shooting range system generated based on a B/S architecture. Accordingly, as shown in fig. 1, the method includes:
s110, responding to an editing instruction of a target course, displaying a course editing interface, and establishing a course folder corresponding to the target course under a unified directory; the course editing interface can comprise a source code input box, a course content preview box and the like.
The target course may be a course that currently requires editing processing. The editing instructions may be operation instructions for editing course content, layout, style, and the like. The course editing interface may be an interface for editing a network target range teaching course. The unified directory may be used to unified manage various types of information contained under the directory. The course folder may be used to store and manage all files and resources related to the target course. The source code input box may be used to input, edit, and save source code for the course content. The curriculum content preview pane may be used to preview the actual effects of the curriculum content.
In the embodiment of the invention, a desktop application program for realizing a course making function can respond to an editing instruction of a target course, thereby displaying a course editing interface comprising an active code input box and a course content preview box, and establishing a course folder corresponding to the target course under a unified directory.
It should be noted that, in the existing method for editing the target course on the browser, a service environment of the whole industrial control network target range needs to be built, and the problems of low editing speed, high hardware requirements and the like exist. However, the embodiment of the invention can improve the efficiency of course editing processing by executing the editing processing of the target course in the desktop application. Among other things, desktop applications may be generated based on a C/S (Client/Server) architecture.
And S120, responding to the course editing source codes received through the source code input box, displaying the rendering result of the course editing source codes in real time in the course content preview box, and writing the course editing source codes into the course folder in real time.
The lesson editing source code may be source code for implementing the target lesson editing function, and may include, but is not limited to, html (hypertext markup language), javaScript (a high-level programming language), markdown, and other source codes.
Correspondingly, the course editing source codes can be input into the source code input box, so that rendering results of the course editing source codes are displayed in real time in the course content preview box in response to the course editing source codes received through the source code input box, and the course editing source codes are written into the course folder in real time.
And S130, responding to a resource adding instruction for at least one resource file received in the source code input box, storing each resource file into a course folder, and displaying each resource file in real time in a course content preview box.
The resource file may be a file from which a desired resource may be read, and may include, but is not limited to, pictures, audio, video, text, or other data that may be used in a computer. The resource addition instructions may be used to add the resource file to the course folder.
Correspondingly, the resource adding instruction of at least one resource file received in the source code input box can be responded, so that each resource file is stored in the course folder, and each resource file is displayed in real time in the course content preview box.
And S140, responding to a storage instruction of the target course, packaging all contents in the course folder into a data packet with a preset format, and storing the data packet in the course folder.
The data packet with the preset format can be a data packet constructed according to the preset format and specification.
Accordingly, after the above operation is completed, the target course may be saved, and by responding to the save instruction for the target course, all the contents in the course folder are packaged into a data packet with a preset format and stored in the course folder.
By way of example, each resource file can be stored in a relative path mode, and the situation that batch uploading and management are difficult to carry out due to the fact that the storage path of the resource file is random in the existing method can be avoided.
It should be noted that, the management of the related picture, audio and video resource files of the existing industrial control network target range teaching system is complex, and is more biased to manual management, and the lack of an effective resource file management mechanism easily causes the situation that each resource file is inconsistent with the actual presentation effect of the course. However, according to the technical scheme provided by the embodiment of the invention, the course editing source codes and the resource files are stored in the course folder corresponding to the target course, so that all contents in the course folder are packaged into the data packet with the preset format and stored in the course folder, and the related resource files corresponding to the target course can be effectively managed.
According to the technical scheme, a course editing interface comprising a source code input box and a course content preview box is displayed in response to an editing instruction of a target course, a course folder corresponding to the target course is established under a unified directory, a rendering result of the course editing source code is displayed in real time in the course content preview box in response to the course editing source code received through the source code input box, the course editing source code is written into the course folder in real time, each resource file is stored in the course folder in response to a resource adding instruction of at least one resource file received in the source code input box, each resource file is displayed in real time in the course content preview box, all contents in the course folder are packaged into a data packet in a preset format in the course folder in response to a storage instruction of the target course, and therefore the problem that the current industrial control network target range teaching method only supports B/S architecture and affects the course editing processing efficiency is solved, and the course editing processing efficiency for the industrial control network target range is improved.
Optionally, in response to a storage instruction for the target course, packaging all contents in the course folder into a data packet with a preset format for storage in the course folder may include: and responding to a storage instruction of the target course, carrying out XSS identification on each item of content in a course folder of the target course, and filtering XSS attack information in the course folder.
The XSS recognition is cross-site scripting attack recognition.
Correspondingly, XSS identification can be performed on each content in a course folder of a target course in response to a storage instruction of the target course, whether XSS attack information exists in the course folder is judged, and if the XSS attack information exists in the course folder, the XSS attack information in the course folder can be filtered; if the XSS attack information does not exist in the course folder, then the subsequent operations can be continued.
It can be appreciated that XSS attacks are a common network security vulnerability, pose a serious threat to website security and user information security, and an attacker may obtain sensitive information of a user through XSS attacks, such as cookies, session tokens, or other information accessible in a browser context, etc., and may further implement account hijacking, redirect the user to a malicious website, initiate a phishing attack, or perform other malicious operations without the user's knowledge. Therefore, when the target course is stored, the embodiment of the invention carries out XSS identification on each content in the course folder of the target course, thereby improving the safety of course editing processing.
Optionally, on the basis of the foregoing embodiments, the method may further include: responding to an editing instruction for a target test question, displaying a test question editing interface, and establishing a test question folder corresponding to the target test question under a unified directory; responding to the types of the test questions received in the test question editing interface, the description information of the test questions and the contents of the test questions, and storing the types of the test questions, the description information of the test questions and the contents of the test questions as test question files in a test question folder; the test question file type of the test question description information is in a JSON file format.
The target test questions may be test questions that need to be edited currently, and may include, but are not limited to, practice problems, examination problems, and the like. The test question editing interface may be a software interface that creates, edits, and manages test questions. The test question types can include judgment questions, single choice questions, multiple choice questions, gap-filling questions, subjective questions and the like. The test question folder may be used to store files related to the test questions. The test question description information can comprise knowledge points related to the test questions, test question scores, test question difficulties, options, correct answers and other description information. The JSON file format, javaScript Object Notation, is a lightweight data exchange format.
Accordingly, a test question editing interface can be displayed in response to an editing instruction for a target test question, a test question folder corresponding to the target test question is established under a unified directory, and after the test question file is established, test question description information and test question contents can be responded to the test question types received in the test question editing interface, so that the test question types, the test question description information and the test question contents are stored in the test question folder as test question files.
It should be noted that most of the existing industrial control network target range teaching systems only support course learning, but do not support test question practice and examination after course learning is completed. However, the embodiment of the invention considers that the test question exercise and examination are carried out on the learned course, and can improve the effectiveness of course learning.
Alternatively, based on the above embodiments, both the desktop application and the industrial control network target system may be built using the same basic components in nodejs and the electronics development tool, so as to ensure that the formats of the files displayed in the desktop application and the industrial control network target system are uniform.
Wherein nodejs is an open-source, cross-platform JavaScript running environment that allows developers to write high-performance, extensible web applications on the server side using JavaScript language. An electron is an open source JavaScript framework that can be used to build cross-platform desktop applications.
It should be noted that, the existing formats saved by applications (such as Typora, markText, haroopad and ReText) developed based on Windows system are incompatible with the Markdown-based courses in the B/S architecture, for example, the courses made by using the Typora editor may be inconsistent with the designed courses when the learner uses the browser.
However, the embodiment of the invention constructs the desktop application program and the industrial control network target range system based on the same basic components in nodejs and the electron development tool, and the desktop application program can convert the browser-side course editor based on the B/S architecture into the exe application program for a course maker to write courses, so that the consistency of the rendering effect of the courses edited in the desktop application program and the rendering effect in the industrial control network target range system can be ensured.
Example two
Fig. 2 is a flowchart of a course editing processing method for industrial control network target range teaching, which is provided in the second embodiment of the present invention, where the method may be applied to the case of editing a course according to a course folder and a test question folder, and the method may be performed by a course editing processing device for industrial control network target range teaching, where the course editing processing device for industrial control network target range teaching may be implemented in a form of hardware and/or software and may be generally integrated in an electronic device, where the electronic device may be a terminal device with a function of course editing processing, or may be a server device for simulating industrial control network target range teaching, and the embodiment of the present invention does not limit a specific device type of the electronic device. The method is executed by an industrial control network shooting range system generated based on a B/S architecture and is used together with a desktop application program for realizing a course making function, as shown in fig. 2, and the method comprises the following steps:
S210, acquiring a course folder corresponding to at least one course and a test question folder corresponding to at least one test question, which are obtained through editing of a desktop application program.
In the embodiment of the invention, after the editing of the target course is completed, a course folder corresponding to at least one course and a test question folder corresponding to at least one test question, which are obtained through editing by a desktop application program, can be obtained.
S220, identifying each resource file included in each course folder, and after storing each resource file to the file server, updating the relative storage path of each resource file.
The file server may be Minio file server, etc. The relative storage path may be a path relative to the current working directory or some reference directory.
Accordingly, after the course folder corresponding to at least one course is obtained, each resource file included in each course folder may be identified, so that after each resource file is stored in the file server, the relative storage path of each resource file is updated.
By way of example, a specific manner of operation for updating the relative storage path of each resource file may be to dynamically modify the relative storage path of each resource file to a hyperlink in https format.
Optionally, before identifying each resource file included in each course folder and storing each resource file to the file server, the method may further include: and carrying out XSS identification on each content in each course folder, and filtering XSS attack information in each course folder.
Accordingly, in order to avoid the risk of XSS attack, before storing each resource file in the file server, XSS identification may be performed on each content in each course folder, so as to filter XSS attack information in each course folder.
Illustratively, when using the Markdown editor to edit courses, the Markdown editor may use html format to render, where the risk of XSS attack is likely to occur, so that XSS identification may be performed first before storing each resource file to the file server, and subsequent operations may be resumed if no XSS attack information is determined.
S230, identifying each test question file contained in each test question folder, analyzing test question description information in a JSON file format in each test question file, and storing the test question description information in a database.
Correspondingly, after the test question folder corresponding to at least one test question is obtained, each test question file contained in each test question folder can be identified, and test question description information in a JSON file format in each test question file is analyzed and stored in a database.
S240, binding each course with each matched test question in response to the binding instruction received through the browser.
Accordingly, the binding instructions received through the browser can be responded to bind each course with each matched test question.
For example, an indefinite number of test questions may be edited for a course according to knowledge points related to the course or importance of the course, so that in order to perform test question exercise matched with the course after learning of the course is completed, each course needs to be bound with each matched test question in advance to ensure learning effect of the course.
S250, responding to course distribution instructions received through a browser, distributing at least one course to students of at least one role, and prompting the courses of the students.
The course allocation instruction may be an instruction to allocate any course to a learner who can learn the course.
Accordingly, after binding of each course and each matched test question is completed, at least one course can be allocated to a student of at least one role in response to a course allocation instruction received through the browser, and course prompt is performed on each student.
By way of example, the manner in which the respective trainees are presented with the course may be to send notification or reminder to the trainees regarding the course they are about to attend or need to pay attention to, and the sending manner may include, but is not limited to, email, text message, or special mobile application, etc., and the specific content of the course prompt may include, for example, the start time, end time, and main content of the course, etc.
Optionally, after assigning the at least one course to the learner for the at least one character, the method may further include: obtaining a target learning course selected by a target student through a browser, and obtaining course content matched with the target learning course; performing XSS identification on course content, and filtering XSS attack information in the course content; providing course content with filtering operation completed to a target student through a browser for course learning; after the target students are detected to complete the learning of course content, at least one target test question with a binding relation with the target learning course is obtained; and providing the test question content of each target test question to the target student through the browser for course acceptance.
The target learner may be a learner currently required to learn a course. The target learning course may be a course that the target learner currently selects to learn.
Correspondingly, after at least one course is distributed to a student of at least one role, a target learning course selected by the target student can be obtained through a browser, and course content matched with the target learning course is obtained, so that XSS identification is carried out on the course content, XSS attack information in the course content is filtered, further, the course content subjected to filtering operation is provided for the target student to carry out course learning through the browser, after the target student finishes learning the course content, at least one target test question with a binding relation with the target learning course can be obtained, and therefore, the test question content of each target test question is provided for the target student to carry out course acceptance through the browser.
Through adopting above-mentioned technical scheme, not only can realize the study of target student to the target course of learning, can also carry out corresponding examination exercises and examination after the target course of learning is accomplished, improved the validity of network target range teaching.
According to the technical scheme, the binding and distribution operations of courses on the browser can be realized, the functions of test question practice, examination and the like of a learner after the course study is completed can be realized, and the efficiency of course editing and the effectiveness of course study are improved.
Example III
Fig. 3 is a system architecture diagram of a course editing processing method for industrial control network target range teaching, which is applicable to the third embodiment of the present invention, in order to more clearly describe the technical solution provided by the embodiment of the present invention, in a specific example, a course editing processing is illustrated based on three different roles of a course maker, a system manager and a learner, and as shown in fig. 3, the system architecture diagram mainly includes the following parts:
The first part can develop a set of exe application programs which can run in a Windows system based on nodejs and electronics under the frame of Vue for a curriculum producer, and the application programs can convert a browser-based curriculum editor based on a B/S architecture into exe application programs for the curriculum producer to write curriculum, practice problems, examination problems and the like.
Fig. 4 is a schematic flow chart of a course editing application program design according to the third embodiment of the present invention, and as shown in fig. 4, a base environment of the application program design is that an editor/md component (a JavaScript-based open source Markdown editor) is introduced on the basis of Vue engineering, and development is performed based on nodejs and electronics, and when the application program design is performed, the following steps may be included:
(1) The size of the application program is initialized, the window size of the application program can support the attributes of enlargement, reduction, title, icon and the like, and an entry file of the Vue project can be set, for example, the entry file path is "/dist/index.html", wherein the dist folder is a resource file packaged by the Vue project through webpack (packaging tool).
(2) The event of opening the MarkDown file in a self-definition way can be added in a toolbar of an editor.md component, after clicking the button of opening the file, a default path of the folder can be set to be "$ { rootPath } \dist\ lessons", the file format is ". Times.md", and when the file is opened, the checking of a directory path can be carried out so as to ensure that all courses are in a uniform relative path, thereby facilitating the uniform uploading processing of later courses.
(3) And analyzing the Markdown file, and analyzing the name and the path of the read Markdown file, so that the content in the read Markdown file is rendered by an editor.md component, and the name of the application program with the title of the Markdown file is set.
(4) The user can customize the event of importing pictures, audio files and video files, and can add a user-defined 'import resource' button on the toolbar of the editor.md component, and import corresponding resources after clicking the 'import resource' button. For example, the pictures may support formats of ". Png", ". Jpeg", ". Jpg", ". Gif", ". Bmp", etc., the audio may support formats of ". Mp3", ". Wma", ". Wav", etc., and the video may support formats of ". Mp4", ". Avi", ". Rmvb", ". Webm", etc. After the picture, the audio and the video resources are imported, the left side displays the relative path of the resources under the "$ { rootPath } \dist\ lessons" directory, and the right side displays the effect of the rendered resources, and the audio and the video can support click play.
(5) The application width and height attributes are set, for example, the default width of the application may be 1300px (pixel) and the default height 768px.
(6) Course templates are set, and in order to unify course templates of network target range teaching, the directory structure of each course can be set to be a md-format course file and a media-named folder, wherein the media folder can store picture, audio, video and other material files.
(7) Setting an operation shortcut key, which can be set for operations such as opening and saving of a Markdown course file, and bind the shortcut key with a corresponding event, for example, setting the shortcut key of the opening operation as "ctrl+o" and the shortcut key of the saving operation as "ctrl+s".
(8) The Markdown course file is saved, a custom 'save file' button can be added in a toolbar of an editor.md component, XSS format checking can be performed first during course saving to filter out a part with XSS attack information, and XSS format checking can be realized by introducing DOMPurify plug-ins, so that the XSS filtered file is stored under a relative path of an application program, for example, the relative path can be "$ { rootPath } \dist\ lessons \lesson1".
In a specific example, when a lesson maker uses a Windows application program to edit a lesson, the upper left corner of the lesson editing interface may be set as an icon and a title, the lower column is a toolbar, and custom buttons such as a custom "open file" button, a custom "save file" button, and a custom "import resource" button may be added at the leftmost side of the toolbar to remove default expressions, use help, and related buttons of the editor. In the course editing interface, a left interface (i.e., a source code input box) can be set to display source codes in a Markdown format, and a right interface (i.e., a course content preview box) can display the rendered course content (including the rendered text, picture, audio, video and other course content) in real time.
Specifically, the application may support title setting, for example, the "network security tool" may be automatically set to a primary title format after the "#" character is added to the left side of the source code "network security tool", and the "network security tool" may be automatically set to a secondary title format after the "#" character is added to the left side of the source code "network security tool". The resource files can be uniformly stored under the media directory to facilitate the uniform uploading in the later period, for example, the resource files can be uniformly stored in the following list! [] (lessons/lessn 1/media/firewall. Jpg) "or" src= lessons/leson 1/media/teaching theory. Mp4", etc. After the lesson maker clicks the "save file" button, the application may automatically store the lessons and resources under the corresponding relative path, e.g., the relative path may be "lessons/lesson 1/lesson.md", where lesson1 is a lesson folder that contains the resources such as lesson files, pictures, audio and video in md format.
Fig. 5 is a schematic effect diagram of a test question editing example provided in the third embodiment of the present invention, as shown in fig. 5, a lesson maker may edit information such as a question type, the number of options, and correct answers when editing exercise questions and examination questions, where the question type may be classified into a judgment question, a single choice question, a multiple choice question, a gap-filling question, a subjective question, and each question may include a related knowledge point, a question, a score, a difficulty, a content, an optional item, and a correct answer.
It should be noted that, in order to realize the function of automatically checking whether the answer result is correct, a Markdown editor and a form may be combined together for use, where the Markdown editor may be used to describe the questions, and the form may include contents such as options and correct answers of the questions.
It can be understood that, compared with the course file, the test question file has more than one JSON file, and the JSON file contains knowledge points, questions, scores, answers and other information.
In a second part, for a system manager, fig. 6 is a flow chart of a course operation method provided by the third embodiment of the present invention, as shown in fig. 6, the system manager may perform subsequent operation processing on a course made by a course maker under a B/S architecture, where the processing flow may include: firstly, system management personnel can collect courses which are finished by course makers, and can perform repeated check on the names of the courses before performing operation processing on the courses so as to prevent the situation that the courses which are made by different course makers can be renamed, thereby grouping and classifying the courses, for example, the courses can be divided into basic theory-type courses, technical application-type courses, actual combat and professional skill-type courses, emerging fields and leading-edge technical-type courses, and the like; after grouping and classifying courses, performing XSS format check on the courses to judge whether XSS attack information exists in the courses, and filtering and overlaying the courses for storage if the XSS attack information exists in the courses; if the course does not have XSS attack information, the subsequent operation can be continued. After the XSS format check is completed, the pictures, videos and audios in the course can be parsed, the system can automatically identify all the resource files in the media folder and uniformly upload the resource files to the Minio file server, the uploaded system can perform rule matching according to the resource names and the suffix names so as to modify the picture, audio and video paths in the md file into the https hyperlink format, for example, the picture relative path of 'lessons/lessn 1/media/firewall. Jpg' in the original course can be replaced by the "https://xx.xx.xx.xx/group1/M00/00/1A/ChmaU2WdMhGAFFyZAAi3Sn2SiQM215.jpgtoken=b3aaab6066a35e8f2db92503af434d46&ts=1706061601" hyperlink format. The system manager may set basic information of the lesson, for example, a lesson validity period, a lesson profile, a lesson background picture and icon, etc. Then, the test questions can be analyzed, and the system automatically analyzes JSON files (including knowledge points, questions, scores, difficulties, contents, selectable items, answers and other information) in the test questions and automatically stores the JSON files in a database. The system manager can bind courses and corresponding practice problems and examination problems, and after the course study is completed, the students can continue to practice and examine so as to consolidate the learned knowledge. The system manager can make a schedule plan for the learner, for example, can prescribe that the learner needs to complete learning of which courses every week, every day or every hour, and when the courses are started for 10 minutes, the lesson-taking notification can be automatically sent to the learner by means of mail and short message. The system manager can distribute courses according to roles of different students, for example, different courses can be distributed according to different roles of the undergraduates, the master and the doctor, and if some content of the courses needs to be supplemented or modified is found, the system manager can edit and modify the courses in a small amount. After the course operation is finished, the system manager can issue a network security course, and can send a course plan to the students through mails and short messages.
In a third part, for a learner, fig. 7 is a schematic diagram of a course learning flow provided by the third embodiment of the present invention, and as shown in fig. 7, a course learning flow of the learner under a B/S architecture may include: after logging in the system, a learner selects a corresponding course to be learned, and after opening the course, the learner performs XSS format data display check on the course to filter XSS attack information possibly existing in the course. After XSS checking is finished, a learner can start course learning, after the learner finishes course learning, the browser can save the current learning progress of the learner, and particularly, the learning progress can be saved by saving the page number and the position of a scroll bar of the current learning content of the learner in real time, and when the learner exits from the reentry system midway, the browser page can automatically recover to the page number and the position of the scroll bar saved last time. After the students complete course learning, the students can start related exercises and examinations of courses, the exercises and the examinations also support real-time progress preservation, after the students complete the examinations, the system can automatically calculate examination results, and the examination result results are pushed to system management staff.
According to the technical scheme, a set of industrial control network target range teaching system (B/S architecture) for students and system management staff and a set of Windows application program (C/S architecture) for course making staff are designed on the basis of Vue engineering by introducing JavaScript technology and nodejs technology and combining with an editor.md component, so that the consistency of network course formats and contents is ensured. By adopting a mode of storing resources by the relative paths, the uploading processing flow and the resource path replacing flow are simplified. By performing XSS attack checking before editing, uploading, modifying, displaying and other actions of courses related under B/S and C/S architecture, the security of course content is improved.
Example IV
Fig. 8 is a schematic structural diagram of a course editing processing device for industrial control network range teaching, which is provided in the fourth embodiment of the present invention, and the device is configured in a desktop application program for implementing a course making function, where the desktop application program is used in cooperation with an industrial control network range system generated based on a B/S architecture, as shown in fig. 8, and the device includes: the system comprises a course folder establishing module 310, a course editing source code real-time writing module 320, a resource file real-time display module 330 and a target course storage module 340.
The course folder establishing module 310 is configured to respond to an editing instruction for a target course, display a course editing interface, and establish a course folder corresponding to the target course under a unified directory; the course editing interface comprises a source code input box and a course content preview box; the real-time writing module 320 of course editing source codes is configured to respond to the course editing source codes received through the source code input box, display the rendering result of the course editing source codes in real time in the course content preview box, and write the course editing source codes in real time into the course folder; the resource file real-time display module 330 is configured to store each resource file into a course folder in response to a resource adding instruction for at least one resource file received in the source code input box, and display each resource file in real-time in the course content preview box; the target course storage module 340 is configured to respond to a storage instruction for a target course, package all contents in the course folder into a data packet with a preset format, and store the data packet in the course folder.
According to the technical scheme, a course editing interface comprising a source code input box and a course content preview box is displayed in response to an editing instruction of a target course, a course folder corresponding to the target course is established under a unified directory, a rendering result of the course editing source code is displayed in real time in the course content preview box in response to the course editing source code received through the source code input box, the course editing source code is written into the course folder in real time, each resource file is stored in the course folder in response to a resource adding instruction of at least one resource file received in the source code input box, each resource file is displayed in real time in the course content preview box, all contents in the course folder are packaged into a data packet in a preset format in the course folder in response to a storage instruction of the target course, and therefore the problem that the current industrial control network target range teaching method only supports B/S architecture and affects the course editing processing efficiency is solved, and the course editing processing efficiency for the industrial control network target range is improved.
Optionally, the target course storage module 340 is specifically configured to: and responding to a storage instruction of the target course, carrying out XSS identification on each item of content in a course folder of the target course, and filtering XSS attack information in the course folder.
Optionally, the course editing processing device for industrial control network target range teaching may further include: the test question folder establishing module is used for responding to an editing instruction of a target test question, displaying a test question editing interface and establishing a test question folder corresponding to the target test question under a unified directory; the test question file storage module is used for responding to the test question types, the test question description information and the test question contents received in the test question editing interface and storing the test question types, the test question description information and the test question contents as test question files in the test question file folder; the test question file type of the test question description information is in a JSON file format.
Optionally, on the basis of the above embodiments, the desktop application and the industrial control network target system are both built by using the same basic components in nodejs and the electronics development tool, so as to ensure that the formats of the files displayed in the desktop application and the industrial control network target system are uniform.
The course editing processing device for industrial control network target range teaching provided by the embodiment of the invention can execute the course editing processing method for industrial control network target range teaching provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example five
Fig. 9 is a schematic structural diagram of a course editing processing device for industrial control network range teaching, which is configured in an industrial control network range system generated based on a B/S architecture and used with a desktop application program for implementing a course making function, and as shown in fig. 9, the device includes: the system comprises a course folder and test question folder acquisition module 410, a resource file identification module 420, a test question file identification module 430, a course and test question binding module 440 and a course prompting module 450.
The course folder and test question folder obtaining module 410 is configured to obtain a course folder corresponding to at least one course and a test question folder corresponding to at least one test question, which are obtained by editing a desktop application program; the resource file identification module 420 is configured to identify each resource file included in each course folder, store each resource file to the file server, and update a relative storage path of each resource file; the test question file identifying module 430 is configured to identify each test question file included in each test question folder, parse test question description information in JSON file format in each test question file, and store the test question description information in the database; a course and test question binding module 440, configured to bind each course with each matched test question in response to a binding instruction received through the browser; course prompting module 450 for assigning at least one course to the learner of at least one character and prompting the course to each learner in response to the course assignment instruction received through the browser.
According to the technical scheme, the binding and distribution operations of courses on the browser can be realized, the functions of test question practice, examination and the like of a learner after the course study is completed can be realized, and the efficiency of course editing and the effectiveness of course study are improved.
Optionally, the resource file identification module 420 is specifically configured to: and carrying out XSS identification on each content in each course folder, and filtering XSS attack information in each course folder.
Optionally, the course prompting module 450 is specifically configured to: obtaining a target learning course selected by a target student through a browser, and obtaining course content matched with the target learning course; performing XSS identification on course content, and filtering XSS attack information in the course content; providing course content with filtering operation completed to a target student through a browser for course learning; after the target students are detected to complete the learning of course content, at least one target test question with a binding relation with the target learning course is obtained; and providing the test question content of each target test question to the target student through the browser for course acceptance.
The course editing processing device for industrial control network target range teaching provided by the embodiment of the invention can execute the course editing processing method for industrial control network target range teaching provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example six
Fig. 10 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 10, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the respective methods and processes described above, such as the course editing processing method for industrial control network range teaching performed by the desktop application for realizing the course making function and the course editing processing method for industrial control network range teaching performed by the industrial control network range system generated based on the B/S architecture according to the embodiments of the present invention.
In some embodiments, the course editing processing method for industrial control network range teaching performed by the desktop application for implementing the course making function and the course editing processing method for industrial control network range teaching performed by the industrial control network range system generated based on the B/S architecture may be implemented as computer programs, which are tangibly embodied in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the course editing processing method for industrial control network range teaching performed by the desktop application for realizing the course making function and the course editing processing method for industrial control network range teaching performed by the industrial control network range system generated based on the B/S architecture described above can be performed. Alternatively, in other embodiments, processor 11 may be configured in any other suitable manner (e.g., by means of firmware) to perform the course editing process for industrial network range teaching performed by the desktop application for implementing the course making function and the course editing process for industrial network range teaching performed by the B/S architecture-based industrial network range system as described in embodiments of the present invention.
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A course editing processing method for industrial control network range teaching, characterized in that the course editing processing method is executed by a desktop application program for realizing a course making function, the desktop application program is used in cooperation with an industrial control network range system generated based on a B/S architecture, and the method comprises:
Responding to an editing instruction of a target course, displaying a course editing interface, and establishing a course folder corresponding to the target course under a unified directory; the course editing interface comprises a source code input box and a course content preview box;
Responding to the course editing source codes received through the source code input box, displaying rendering results of the course editing source codes in real time in the course content preview box, and writing the course editing source codes into the course folder in real time;
Responding to a resource adding instruction received in a source code input box for at least one resource file, storing each resource file into the course folder, and displaying each resource file in the course content preview box in real time;
and responding to a storage instruction of a target course, packaging all contents in the course folder into a data packet with a preset format, and storing the data packet in the course folder.
2. The method of claim 1, wherein packaging all content in the course folder into a pre-formatted data package for storage in the course folder in response to a save instruction for a target course, comprising:
And responding to a storage instruction of the target course, carrying out XSS identification on each item of content in a course folder of the target course, and filtering XSS attack information in the course folder.
3. The method as recited in claim 1, further comprising:
Responding to an editing instruction for a target test question, displaying a test question editing interface, and establishing a test question folder corresponding to the target test question under a unified directory;
Responding to the types of the test questions received in the test question editing interface, the description information of the test questions and the contents of the test questions, and storing the types of the test questions, the description information of the test questions and the contents of the test questions as test question files in the test question folder;
the test question file type of the test question description information is in a JSON file format.
4. A method according to any of claims 1-3, wherein the desktop application and the industrial network target system are each built using the same basic components in nodejs and electronics development tools to ensure uniform formats of files presented in the desktop application and the industrial network target system.
5. A course editing processing method for industrial control network range teaching, which is characterized in that the method is executed by an industrial control network range system generated based on a B/S architecture and is used together with a desktop application program for realizing a course making function, and the method comprises the following steps:
acquiring a course folder corresponding to at least one course and a test question folder corresponding to at least one test question, which are obtained through editing of the desktop application program;
Identifying each resource file included in each course folder, and after storing each resource file to a file server, updating the relative storage path of each resource file;
Identifying each test question file contained in each test question folder, analyzing test question description information in a JSON file format in each test question file, and storing the test question description information in a database;
responding to a binding instruction received by a browser, and binding each course with each matched test question;
And responding to course allocation instructions received through the browser, allocating at least one course to the students of at least one role, and prompting each student for the course.
6. The method of claim 5, further comprising, prior to identifying each resource file included in each of the curriculum folders and storing each of the resource files to a file server:
performing XSS identification on each content in each course folder, and filtering XSS attack information in each course folder;
After assigning the at least one course to the trainee of the at least one character, further comprising:
obtaining a target learning course selected by a target student through a browser, and obtaining course content matched with the target learning course;
Performing XSS identification on the course content, and filtering XSS attack information in the course content;
providing the course content with the filtering operation completed to the target students through a browser for course learning;
after detecting that the target learner finishes learning the course content, acquiring at least one target test question with a binding relation with the target learning course;
and providing the test question content of each target test question to the target student through a browser for course acceptance.
7. The course editing processing device for industrial control network target range teaching is characterized by being configured in a desktop application program for realizing a course making function, wherein the desktop application program is used in cooperation with an industrial control network target range system generated based on a B/S architecture, and the course editing processing device comprises the following components:
the system comprises a course folder establishing module, a course editing interface, a course editing module and a course editing module, wherein the course folder establishing module is used for responding to an editing instruction of a target course, displaying the course editing interface and establishing a course folder corresponding to the target course under a unified directory; the course editing interface comprises a source code input box and a course content preview box;
the course editing source code real-time writing module responds to course editing source codes received through the source code input frame, displays rendering results of the course editing source codes in the course content preview frame in real time, and writes the course editing source codes into the course folder in real time;
The resource file real-time display module responds to a resource adding instruction to at least one resource file received in a source code input box, stores each resource file into the course folder, and displays each resource file in real time in the course content preview box;
And the target course storage module is used for responding to a storage instruction of a target course, packaging all contents in the course folder into a data packet with a preset format, and storing the data packet in the course folder.
8. The course editing processing device for the industrial control network range teaching is characterized by being configured in an industrial control network range system generated based on a B/S architecture and used with a desktop application program for realizing a course making function, and comprises:
the course folder and test question folder acquisition module is used for acquiring a course folder corresponding to at least one course and a test question folder corresponding to at least one test question, which are obtained through editing of the desktop application program;
the resource file identification module is used for identifying each resource file included in each course folder, and updating the relative storage path of each resource file after storing each resource file to the file server;
the test question file identification module is used for identifying each test question file contained in each test question folder, analyzing test question description information in a JSON file format in each test question file and storing the test question description information into a database;
The course and test question binding module is used for binding each course with each matched test question in response to a binding instruction received through the browser;
And the course prompting module is used for responding to course allocation instructions received through the browser, allocating at least one course to the students of at least one role and prompting the courses of the students.
9. An electronic device, the electronic device comprising:
at least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the course editing processing method for industrial control network range teaching of any one of claims 1 to 4 or to perform the course editing processing method for industrial control network range teaching of any one of claims 5 to 6.
10. A computer-readable storage medium storing computer instructions for causing a processor to implement the course editing processing method for industrial control network range teaching of any one of claims 1 to 4 or the course editing processing method for industrial control network range teaching of any one of claims 5 to 6 when executed.
CN202410252748.4A 2024-03-06 2024-03-06 Course editing processing method, device and medium for industrial control network target range teaching Pending CN118070763A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410252748.4A CN118070763A (en) 2024-03-06 2024-03-06 Course editing processing method, device and medium for industrial control network target range teaching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410252748.4A CN118070763A (en) 2024-03-06 2024-03-06 Course editing processing method, device and medium for industrial control network target range teaching

Publications (1)

Publication Number Publication Date
CN118070763A true CN118070763A (en) 2024-05-24

Family

ID=91100323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410252748.4A Pending CN118070763A (en) 2024-03-06 2024-03-06 Course editing processing method, device and medium for industrial control network target range teaching

Country Status (1)

Country Link
CN (1) CN118070763A (en)

Similar Documents

Publication Publication Date Title
US10650350B2 (en) Web content management driven collaborative activities system and method
Sarrab et al. Towards a quality model of technical aspects for mobile learning services: An empirical investigation
US20150229664A1 (en) Assessing security risks of users in a computing network
US20140053069A1 (en) Identifying and mitigating risks in contract document using text analysis with custom high risk clause dictionary
US20190114937A1 (en) Grouping users by problematic objectives
US20110314387A1 (en) Intelligent filtering for render status determination in a screen sharing system
EP3196747B1 (en) User interfaces in a computer system
US11288064B1 (en) Robotic process automation for interactive documentation
US10541884B2 (en) Simulating a user score from input objectives
EP3143569A1 (en) Active summaries in user interfaces to collaboration services
US10866956B2 (en) Optimizing user time and resources
CN110058854B (en) Method, terminal device and computer-readable medium for generating application
US10460011B2 (en) Enhanced document services
CN117473037A (en) Examination question bank construction method and system based on large language model and electronic equipment
CN118070763A (en) Course editing processing method, device and medium for industrial control network target range teaching
US20210049522A1 (en) Future Prediction Simulation Apparatus, Method, and Computer Program
US20220358376A1 (en) Course content data analysis and prediction
CN115237425A (en) Code viewing method and device, computer equipment and storage medium
RU2696332C2 (en) Recognizing entities for improving work with documents
Chaparro-Peláez et al. A web services-based application for LMS data extraction and processing for social network analysis
US20190347078A1 (en) Generating Application Mock-Ups Based on Captured User Sessions
Orni Development and Usability Evaluation of a Domain-Specific Modeling Tool for Cybersecurity-related User Journeys
US20240046323A1 (en) Systems and methods for managing entity recommendations
CN111367517B (en) Information generation method and device
Jones A Client-Server Architecture for Collection of Game-based Learning Data

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