CN115714725A - Network instruction virtual simulation implementation method and system for teaching application - Google Patents

Network instruction virtual simulation implementation method and system for teaching application Download PDF

Info

Publication number
CN115714725A
CN115714725A CN202211269002.1A CN202211269002A CN115714725A CN 115714725 A CN115714725 A CN 115714725A CN 202211269002 A CN202211269002 A CN 202211269002A CN 115714725 A CN115714725 A CN 115714725A
Authority
CN
China
Prior art keywords
instruction
network
simulation
configuration
network equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211269002.1A
Other languages
Chinese (zh)
Other versions
CN115714725B (en
Inventor
赵斯杰
肖罡
陈佰华
万可谦
刘小兰
黄晋
邓子兴
夏公靖
朱富军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangxi Kejun Industrial Co ltd
Original Assignee
Jiangxi Kejun Industrial 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 Jiangxi Kejun Industrial Co ltd filed Critical Jiangxi Kejun Industrial Co ltd
Priority to CN202211269002.1A priority Critical patent/CN115714725B/en
Publication of CN115714725A publication Critical patent/CN115714725A/en
Application granted granted Critical
Publication of CN115714725B publication Critical patent/CN115714725B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a system for realizing virtual simulation of a network instruction facing teaching application, wherein the method comprises the steps of determining network equipment and a network instruction; dividing the determined network instruction into a configuration instruction and a test instruction; creating a configuration cache data structure for the configuration class instruction, designing simulation logic of the required network equipment for the test class instruction, and outputting a result by combining the definition of the configuration data of the configuration class instruction; respectively developing corresponding simulation logic programs for the configuration class instruction and the test class instruction according to a unified interface principle and according to a configuration cache data structure or simulation logic; loading all simulation logic programs into a simulation engine; and detecting a network instruction input by a user, if the network instruction is detected, executing a corresponding simulation logic program, and returning an execution result to complete the simulation of the network instruction. The invention can realize virtual simulation reduction of network instructions with low cost and high efficiency and meet the application scene requirements of practical training teaching.

Description

Network instruction virtual simulation implementation method and system for teaching application
Technical Field
The invention relates to the technical field of virtual simulation of network teaching, in particular to a teaching application-oriented network instruction virtual simulation implementation method and system.
Background
Currently, there are two main implementations of the operation instruction for the network device: the method 1 comprises the steps of building an experimental environment by using hardware equipment, and realizing the experimental environment through imitation construction of hardware; the method 2 is implemented by installing an operating system loaded in the hardware device by using the virtual machine. However, although the restoration of the network device command can be perfectly realized in the two implementation manners, the cost of the method 1 is too high, the efficiency of the method 2 is too low, and the updating speed cannot keep up with the development speed of hardware. With the development of VR (virtual reality) and digital twin technologies, the requirement of virtual simulation for professional skill training is increasingly vigorous, and the practical training content of network communication related specialties is always subject to high manufacturing cost and low efficiency, especially in the aspect of digital practical operation, one of the main reasons is that the difficulty in restoring the operation instruction of the network equipment is high and the cost is high.
Disclosure of Invention
The technical problems to be solved by the invention are as follows: the invention aims to realize virtual simulation restoration of network instructions at low cost and high efficiency and meet the application scene requirements of practical training teaching.
In order to solve the technical problems, the invention adopts the technical scheme that:
a network instruction virtual simulation implementation method for teaching application comprises the following steps:
s101, determining network equipment and network instructions related to teaching application;
s102, dividing the determined network instruction into a configuration instruction and a test instruction, wherein the configuration instruction is used for completing configuration modification of the network equipment, and the test instruction is used for completing network test between the network equipment according to the configuration of the network equipment;
s103, creating a configuration cache data structure for the configuration class instruction to store and update configuration data, designing simulation logic of the required network equipment for the test class instruction, and outputting a result by combining the definition of the configuration data of the configuration class instruction; respectively developing corresponding simulation logic programs for the configuration class instruction and the test class instruction according to a unified interface principle and according to a configuration cache data structure or simulation logic;
s104, loading all simulation logic programs into a simulation engine;
and S105, detecting a network instruction input by a user, if the network instruction is detected, executing a corresponding simulation logic program, and returning an execution result to complete the simulation of the network instruction.
Optionally, the network device in step S101 includes a host and at least one of a switch and a router.
Optionally, before executing the corresponding simulation logic program in step S105, the simulation engine further matches the network instruction library, into which the simulation logic program is pre-loaded, according to the network instruction to determine the corresponding simulation logic program.
Optionally, when the corresponding simulation logic program is executed in step S105, the network instruction is a configuration instruction, and the executing the corresponding simulation logic program includes:
s201, distributing an instruction number for the network instruction, and analyzing target network equipment and instruction parameters;
s202, transmitting the instruction number, the target network equipment and the instruction parameter into a simulation engine;
s203, the simulation engine acquires the configuration cache data structure of the corresponding target network equipment through the identification of the instruction number and the target network equipment, and updates the configuration cache data structure of the target network equipment according to the instruction parameters of the network instruction.
Optionally, when the corresponding simulation logic program is executed in step S105, the network instruction is a test instruction, and the executing the corresponding simulation logic program includes:
s301, distributing instruction numbers for the network instructions, and analyzing target network equipment and instruction parameters;
s302, transmitting the instruction number, the target network equipment and the instruction parameters into a verification engine;
s303, the verification engine analyzes an execution path of the network instruction through the instruction number and the target network equipment, wherein the execution path comprises an execution sequence of the target network equipment, and generates a target network equipment list according to the execution path of the network instruction;
s304, traversing and taking out a current target network device from the target network device list; if the traversal is successful, jumping to step S305; otherwise, jumping to step S307;
s305, transmitting the current target network equipment, the instruction number and the instruction parameters to a simulation engine for passing verification;
s306, the simulation engine firstly obtains the configuration instruction cache data through the target network equipment, then gives the result of the passing verification of the current target network equipment through the analysis of the instruction number and the instruction parameter, and finally feeds back the execution result to the verification engine; skipping to step S304;
s307, if the result of passing verification of any one target network device in the target network device list is passing verification failure, returning a network instruction to fail to execute; and if the passing verification results of all the target network devices in the target network device list are successful in passing verification, returning that the network instruction is successfully executed.
Optionally, the network instruction in step S101 includes a ping instruction and a VLAN instruction, where the VLAN instruction is a configuration class instruction and is used to configure a virtual local area network to which the network device belongs; ping is a network instruction for testing a network path between a host and a host, a switch, or a router based on the CIMP protocol.
Optionally, when designing the simulation logic of the required network device for the test class instruction in step S103, a configuration cache data structure is created for the VLAN instruction, so as to store and update configuration data of the virtual local area network.
Optionally, when designing the simulation logic of the required network device for the test class instruction in step S103, designing a corresponding simulation logic for the ping instruction includes:
s401, identifying the VLAN instruction as a configuration instruction;
s402, the simulation program analyzes the target network equipment and the instruction parameters of the VLAN instruction, and stores the configuration data in the target network equipment and the instruction parameters into a configuration cache data structure in a key value pair mode.
In addition, the invention also provides a network instruction virtual simulation implementation system for teaching application, which comprises a microprocessor and a memory which are connected with each other, wherein the microprocessor is programmed or configured to execute the network instruction virtual simulation implementation method for teaching application.
In addition, the invention also provides a computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, and the computer program is programmed or configured by a microprocessor to execute the network instruction virtual simulation implementation method for the teaching application.
Compared with the prior art, the invention mainly has the following advantages: real network commands (including ping) are essentially instructions executed on the operating system, which are parsed and executed by the system environment where they are located, and then the execution results are fed back. For teaching, in order to achieve the best teaching effect, complete simulation needs to be performed on input and output of instructions so as to realize real practical training simulation. The conventional simulation method is to purchase the corresponding network device or install the corresponding operating system on the virtual machine to implement the simulation restoration of the network command. The invention is oriented to teaching characteristics, and the simulation range and mode are disassembled according to teaching requirements, so that a set of simulation execution logic is simulated, and low-cost and high-efficiency network command simulation is realized. The invention realizes the virtual simulation of the network command in a programming mode, ensures the simulation degree under the condition of not purchasing network equipment or deploying a complex operating system, greatly reduces the virtual simulation cost of the network command, improves the efficiency, can realize the virtual simulation reduction of the network command with low cost and high efficiency, and meets the application scene requirement of practical training teaching.
Drawings
FIG. 1 is a schematic diagram of a basic process flow of a method according to an embodiment of the present invention.
Fig. 2 is a diagram illustrating a host portion of an emulation logic program corresponding to a ping design in an embodiment of the present invention.
Fig. 3 is a switch portion of an emulation logic program corresponding to ping design in an embodiment of the present invention.
Fig. 4 is a router portion of a simulation logic program corresponding to the ping instruction design in the embodiment of the present invention.
Detailed Description
As shown in fig. 1, the method for implementing virtual simulation of network instructions for teaching applications in this embodiment includes:
s101, determining network equipment and network instructions related to teaching application;
s102, dividing the determined network instruction into a configuration instruction and a test instruction, wherein the configuration instruction is used for completing configuration modification of the network equipment, and the test instruction is used for completing network test between the network equipment according to the configuration of the network equipment;
s103, creating a configuration cache data structure for the configuration class instruction to store and update configuration data, designing simulation logic of the required network equipment for the test class instruction, and outputting a result by combining the definition of the configuration data of the configuration class instruction; respectively developing corresponding simulation logic programs for the configuration class instruction and the test class instruction according to a unified interface principle and according to a configuration cache data structure or simulation logic;
s104, loading all simulation logic programs into a simulation engine;
and S105, detecting a network instruction input by a user, executing a corresponding simulation logic program if the network instruction is detected, and returning an execution result to finish the simulation of the network instruction.
In this embodiment, the network device in step S101 includes a host and at least one of a switch and a router.
According to teaching requirements, classifying the network equipment according to working characteristics, such as: the router, the switch, the host and the like define the range according to the device instruction and the instruction parameter related to the training process, and the workload of simulation is reduced. Within the range of the defined devices, the instructions are classified into a configuration class and a test class. Creating a system cache data structure for the configuration class instruction, wherein the system cache data structure is used for storing and updating configuration data; designing a corresponding simulation logic method for the test type instruction, and defining an output result by combining configuration data. And on two dimensions of the defined equipment and the defined instruction, developing a corresponding simulation logic program according to a uniform interface principle aiming at the test instruction, and loading all the simulation logic programs into a simulation engine. After the instructions are detected, the instructions are identified as a configuration class or a test class by comparing the instruction class libraries, different simulation logics are executed according to different classes of the instructions, and the executed results are returned to realize the simulation of the network instructions.
In this embodiment, before the corresponding simulation logic program is executed in step S105, the simulation engine further matches the network instruction library, into which the simulation logic program is pre-loaded, according to the network instruction to determine the corresponding simulation logic program.
In this embodiment, when the corresponding simulation logic program is executed in step S105, the network instruction is a configuration instruction, and the executing the corresponding simulation logic program includes:
s201, distributing an instruction number for the network instruction, and analyzing target network equipment and instruction parameters;
s202, transmitting the instruction number, the target network equipment and the instruction parameter into a simulation engine;
s203, the simulation engine acquires the configuration cache data structure of the corresponding target network equipment through the identification of the instruction number and the target network equipment, and updates the configuration cache data structure of the target network equipment according to the instruction parameters of the network instruction.
In this embodiment, when the corresponding simulation logic program is executed in step S105, the network instruction is a test instruction, and the executing the corresponding simulation logic program includes:
s301, distributing instruction numbers for the network instructions, and analyzing target network equipment and instruction parameters;
s302, transmitting the instruction number, the target network equipment and the instruction parameter into a verification engine;
s303, the verification engine analyzes an execution path of the network instruction through the instruction number and the target network equipment, wherein the execution path comprises an execution sequence of the target network equipment, and a target network equipment list is generated according to the execution path of the network instruction;
s304, traversing and taking out a current target network device from the target network device list; if the traversal is successful, jumping to step S305; otherwise, jumping to step S307;
s305, transmitting the current target network equipment, the instruction number and the instruction parameters to a simulation engine for passing verification;
s306, the simulation engine firstly obtains the configuration instruction cache data of the target network equipment through the target network equipment, then gives the result of passing verification of the current target network equipment through analyzing the instruction number and the instruction parameters, and finally feeds back the execution result to the verification engine; skipping to step S304;
s307, if the result of passing verification of any one target network device in the target network device list is passing verification failure, returning a network instruction to fail to execute; and if the passing verification results of all the target network devices in the target network device list are successful in passing verification, returning that the network instruction is successfully executed.
The embodiment will be described by taking one of the commonly used commands (ping) as an example, the ping command as the most commonly used network command can be used in the widest network devices, and by taking it as an example, how to implement virtual simulation on the network command by using the method of the present invention is described. In this embodiment, the network instruction in step S101 includes a ping instruction and a VLAN instruction, where the VLAN instruction is a configuration instruction and is used to configure a virtual local area network to which the network device belongs; ping is a network instruction for testing a network path between a host and a host, a switch, or a router based on the CIMP protocol.
In step S103 of this embodiment, when designing the simulation logic of the required network device for the test-class instruction, a configuration cache data structure is created for the VLAN instruction, so as to store and update the configuration data of the virtual local area network.
In this embodiment, when designing the simulation logic of the required network device for the test type instruction in step S103, the designing of the corresponding simulation logic for the ping instruction includes:
s401, identifying the VLAN instruction as a configuration instruction;
s402, the simulation program analyzes the target network equipment and the instruction parameters of the VLAN instruction, and stores the configuration data in the target network equipment and the instruction parameters into a configuration cache data structure in a key value pair mode.
When the verification engine analyzes the execution path of the network instruction through the instruction number and the target network device in step S303, after receiving the incoming data, the verification engine analyzes the execution path according to the instruction number and the target network device as follows: host 1- > switch 1- > router, and generates the list of executing network devices according to the executing path as follows: host 1, switch 1, router, switch 1, host 1. The verification engine polls the execution network equipment list and sequentially transmits the instruction number, the execution network equipment and the instruction parameters to the test instruction simulation engine. And after receiving the input data, the simulation engine acquires the configuration data from the configuration data cache library according to the execution network equipment. And executing different judgment logics according to the type of the equipment executing the network equipment, wherein the executed specific logic is a logic program corresponding to S401 and S402, if the execution result of the logic program is 'message discarding', the logic program is returned to fail, and if the execution result of the logic program is 'message discarding', the logic program is returned to pass. And after the verification engine finishes polling the execution network equipment list, if the return results of all the test instruction simulation engines in the execution network equipment list are all passed, the test instruction execution is successful, and if the return result of any test instruction simulation engine for executing the network equipment is not passed, the test instruction execution is failed.
The range of the equipment for realizing the instruction is defined according to the teaching range as follows: the host, the switch, and the router, because the ping command belongs to the test command, the execution flow of designing the simulation logic program for the ping command is shown in fig. 2 to 4.
Referring to fig. 2, the host portion of the emulation logic program involves the messaging of ping instructions, which includes the steps of:
s501, initiating a ping message (analyzing and acquiring a source IP);
s502, judging whether the source IP and the target IP of the message are in the same network segment, if so, directly sending the message and returning the success of the message; otherwise, the message is delivered to the next level of network equipment (router or switch), and the process is finished.
Referring to fig. 3, the switch portion of the emulation logic program involves the message exchange of ping instructions, and the steps include:
s601, receiving a ping command message (analyzing and acquiring a source IP);
s602, judging the interface type of the message receiving the ping instruction, and if the interface type is access (access), skipping to S603; if the interface type is relay/transparent transmission (trunk), step S604 is skipped;
s603, judging whether the message has a VLAN (virtual local area network) mark, if so, discarding the message, and ending; otherwise, marking a VLAN mark for the message, if the VLAN mark is not configured through the VLAN instruction, marking a default VLAN mark (such as VLAN 1), and skipping to the step S605;
s604, judging whether the message has VLAN (virtual local area network) mark, if yes, checking the releasing rule (configured by VLAN instruction), if not, discarding the message, and ending; if the checking release rule passes, jumping to step S605; if the message does not have the VLAN tag, marking the message with the VLAN tag, if the VLAN tag is not configured by the VLAN instruction, marking a default VLAN tag (for example, VLAN 1), and skipping step S605;
s605, judging whether a target IP of the message exists in the VLAN, if so, developing the message to the target IP, then exchanging the target IP and the source IP of the message, and skipping to the step S602 for reverse verification; otherwise, judging whether VLANIF (logical interface of virtual local area network for three-layer switch) is configured in the VLAN, if not, discarding the message, and ending; otherwise, jumping to step S606;
s606, judging whether the target IP of the message exists in all VLANIF configured VLANIF, if so, developing the message to the target IP, then exchanging the target IP and the source IP of the message, and skipping to the step S602 to perform reverse verification flow; otherwise, jumping to step S607;
s607, judging whether the next hop (switch or router) of the target IP of the message is configured in the routing table, if so, sending the target IP of the message to the next hop switch or router; and simultaneously, finding all relay/transparent transmission (trunk) ports configured with all non-native (native) under the VLANIF, and sending the target IP of the message to a next-hop switch or router through the relay/transparent transmission (trunk) ports.
Referring to fig. 4, the router portion of the emulation logic program involves the message exchange of ping instructions, which includes the steps of:
s701, receiving a ping message (analyzing and acquiring a source IP and a target IP);
s702, judging whether the routing table has configuration, if not, discarding the message, and ending; otherwise, jumping to step S703;
and S703, judging whether a port is configured as a target IP, and if no port is configured as the target IP, forwarding the ping message to the next-stage device (a router or a switch). Otherwise, the message is developed to a target IP, then the target IP and the source IP of the message are exchanged, and the step S602 is skipped to perform a reverse verification process.
In summary, by the method for implementing virtual simulation of network instructions for teaching applications according to this embodiment, virtual simulation of network commands can be implemented in a programming manner, and the simulation degree is ensured without purchasing network equipment or deploying a complex operating system, thereby greatly reducing the virtual simulation cost of network commands and improving the efficiency.
In addition, the embodiment also provides a network instruction virtual simulation implementation system for the teaching application, which includes a microprocessor and a memory connected to each other, where the microprocessor is programmed or configured to execute the foregoing network instruction virtual simulation implementation method for the teaching application. In addition, the present embodiment also provides a computer-readable storage medium, in which a computer program is stored, where the computer program is programmed or configured by a microprocessor to execute the foregoing network instruction virtual simulation implementation method for teaching application.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-readable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein. The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments, and all technical solutions belonging to the idea of the present invention belong to the protection scope of the present invention. It should be noted that modifications and adaptations to those skilled in the art without departing from the principles of the present invention should also be considered as within the scope of the present invention.

Claims (10)

1. A network instruction virtual simulation implementation method for teaching application is characterized by comprising the following steps:
s101, determining network equipment and network instructions related to teaching application;
s102, dividing the determined network instruction into a configuration instruction and a test instruction, wherein the configuration instruction is used for completing configuration modification of the network equipment, and the test instruction is used for completing network test between the network equipment according to the configuration of the network equipment;
s103, creating a configuration cache data structure for the configuration instruction to be used for storing and updating configuration data, designing simulation logic of the required network equipment for the test instruction, and outputting a result by combining the definition of the configuration data of the configuration instruction; respectively developing corresponding simulation logic programs for the configuration class instruction and the test class instruction according to a unified interface principle and according to a configuration cache data structure or simulation logic;
s104, loading all simulation logic programs into a simulation engine;
and S105, detecting a network instruction input by a user, executing a corresponding simulation logic program if the network instruction is detected, and returning an execution result to finish the simulation of the network instruction.
2. The method for implementing virtual simulation of network instructions for educational applications according to claim 1, wherein the network device in step S101 comprises a host and at least one of a switch and a router.
3. The method for implementing virtual simulation of network instructions for tutorial applications as claimed in claim 2, wherein before executing the corresponding simulation logic program in step S105, the method further comprises matching, by the simulation engine, the network instruction with a network instruction library pre-loaded with the simulation logic program to determine the corresponding simulation logic program.
4. The method for implementing virtual simulation of network instructions for tutorial applications as claimed in claim 3, wherein when the corresponding simulation logic program is executed in step S105, the network instructions are configuration class instructions, and the executing the corresponding simulation logic program includes:
s201, distributing an instruction number for the network instruction, and analyzing target network equipment and instruction parameters;
s202, transmitting the instruction number, the target network equipment and the instruction parameters into a simulation engine;
s203, the simulation engine acquires the configuration cache data structure of the corresponding target network equipment through the identification of the instruction number and the target network equipment, and updates the configuration cache data structure of the target network equipment according to the instruction parameters of the network instruction.
5. The method for implementing virtual simulation of network instructions for instructional applications as claimed in claim 4, wherein when the corresponding simulation logic program is executed in step S105, the network instructions are test-type instructions, and the executing the corresponding simulation logic program includes:
s301, distributing instruction numbers for the network instructions, and analyzing target network equipment and instruction parameters;
s302, transmitting the instruction number, the target network equipment and the instruction parameters into a verification engine;
s303, the verification engine analyzes an execution path of the network instruction through the instruction number and the target network equipment, wherein the execution path comprises an execution sequence of the target network equipment, and generates a target network equipment list according to the execution path of the network instruction;
s304, traversing and taking out a current target network device from the target network device list; if the traversal is successful, jumping to step S305; otherwise, jumping to step S307;
s305, transmitting the current target network equipment, the instruction number and the instruction parameter to a simulation engine for passing verification;
s306, the simulation engine firstly obtains the configuration instruction cache data through the target network equipment, then gives the result of the passing verification of the current target network equipment through the analysis of the instruction number and the instruction parameter, and finally feeds back the execution result to the verification engine; skipping to step S304;
s307, if the result of the passing verification of any target network device in the target network device list is passing verification failure, returning to the network instruction to execute failure; and if the passing verification results of all the target network devices in the target network device list are all passing verification success, returning to the network instruction to execute successfully.
6. The method for implementing virtual simulation of network instructions for teaching applications as claimed in claim 1, wherein the network instructions in step S101 include a ping instruction and a VLAN instruction, where the VLAN instruction is a configuration-class instruction for configuring a virtual local area network to which the network device belongs; ping is a network instruction for testing a network path between a host and a host, switch, or router based on the CIMP protocol.
7. The method for implementing virtual simulation of network instructions for educational applications according to claim 6, wherein the step S103 of designing the simulation logic of the required network device for the test-class instruction includes creating a configuration cache data structure for the VLAN instruction for saving and updating the configuration data of the VLAN.
8. The method for implementing virtual simulation of network instructions for educational applications according to claim 7, wherein designing simulation logic of the required network device for the test-class instruction in step S103 includes designing corresponding simulation logic for the ping instruction, and designing corresponding simulation logic for the ping instruction includes:
s401, identifying the VLAN instruction as a configuration instruction;
s402, the simulation program analyzes the target network equipment and the instruction parameters of the VLAN instruction, and stores the configuration data in the target network equipment and the instruction parameters into a configuration cache data structure in a key value pair mode.
9. A system for implementing virtual simulation of network instructions for teaching applications, comprising a microprocessor and a memory connected to each other, wherein the microprocessor is programmed or configured to execute the method for implementing virtual simulation of network instructions for teaching applications according to any one of claims 1 to 8.
10. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is used for being programmed or configured by a microprocessor to execute the network instruction virtual simulation implementation method for the teaching application according to any one of claims 1 to 8.
CN202211269002.1A 2022-10-17 2022-10-17 Teaching application-oriented network instruction virtual simulation implementation method and system Active CN115714725B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211269002.1A CN115714725B (en) 2022-10-17 2022-10-17 Teaching application-oriented network instruction virtual simulation implementation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211269002.1A CN115714725B (en) 2022-10-17 2022-10-17 Teaching application-oriented network instruction virtual simulation implementation method and system

Publications (2)

Publication Number Publication Date
CN115714725A true CN115714725A (en) 2023-02-24
CN115714725B CN115714725B (en) 2023-09-12

Family

ID=85231247

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211269002.1A Active CN115714725B (en) 2022-10-17 2022-10-17 Teaching application-oriented network instruction virtual simulation implementation method and system

Country Status (1)

Country Link
CN (1) CN115714725B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107749802A (en) * 2017-10-12 2018-03-02 北京邮电大学 A kind of experiment porch and experimental method of the processing of supported protocol extraneous data bag
CN110011835A (en) * 2019-03-14 2019-07-12 烽火通信科技股份有限公司 Network simulation method and system
CN111884833A (en) * 2020-07-04 2020-11-03 中国人民解放军海军航空大学航空作战勤务学院 Simulation system integration method based on network virtualization technology
CN112511431A (en) * 2020-11-12 2021-03-16 中国科学院计算技术研究所 Routing flow fusion method for virtual network simulation
CN113485881A (en) * 2021-07-13 2021-10-08 北京全路通信信号研究设计院集团有限公司 Testing method and device of temporary speed limiting server, electronic equipment and medium
US11188361B1 (en) * 2020-06-26 2021-11-30 Red Hat, Inc. Cross-architecture software distribution using a virtual instruction set architecture
WO2022057431A1 (en) * 2020-09-18 2022-03-24 华为技术有限公司 Network simulation method and apparatus, device, and computer readable storage medium
CN114553752A (en) * 2020-11-26 2022-05-27 南方电网数字电网研究院有限公司 Network performance testing method and device based on simulation software and computer equipment
CN114629742A (en) * 2022-05-17 2022-06-14 北京理工大学深圳汽车研究院(电动车辆国家工程实验室深圳研究院) Vehicle data communication simulation test platform and method for new energy electric vehicle
CN114755518A (en) * 2022-04-08 2022-07-15 国网湖南省电力有限公司 Test method and test platform for control logic of energy storage system
US20220247661A1 (en) * 2021-01-29 2022-08-04 Keysight Technologies, Inc. Methods, systems, and computer readable media for network testing using an emulated data center environment
CN114924925A (en) * 2022-05-31 2022-08-19 上海阵量智能科技有限公司 Instruction set simulator test method and device, electronic equipment and storage medium
CN115190032A (en) * 2022-09-09 2022-10-14 南京信息工程大学 High-applicability light-weight full-virtual network simulation and test method and embedded equipment

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107749802A (en) * 2017-10-12 2018-03-02 北京邮电大学 A kind of experiment porch and experimental method of the processing of supported protocol extraneous data bag
CN110011835A (en) * 2019-03-14 2019-07-12 烽火通信科技股份有限公司 Network simulation method and system
US11188361B1 (en) * 2020-06-26 2021-11-30 Red Hat, Inc. Cross-architecture software distribution using a virtual instruction set architecture
CN111884833A (en) * 2020-07-04 2020-11-03 中国人民解放军海军航空大学航空作战勤务学院 Simulation system integration method based on network virtualization technology
WO2022057431A1 (en) * 2020-09-18 2022-03-24 华为技术有限公司 Network simulation method and apparatus, device, and computer readable storage medium
CN112511431A (en) * 2020-11-12 2021-03-16 中国科学院计算技术研究所 Routing flow fusion method for virtual network simulation
CN114553752A (en) * 2020-11-26 2022-05-27 南方电网数字电网研究院有限公司 Network performance testing method and device based on simulation software and computer equipment
US20220247661A1 (en) * 2021-01-29 2022-08-04 Keysight Technologies, Inc. Methods, systems, and computer readable media for network testing using an emulated data center environment
CN113485881A (en) * 2021-07-13 2021-10-08 北京全路通信信号研究设计院集团有限公司 Testing method and device of temporary speed limiting server, electronic equipment and medium
CN114755518A (en) * 2022-04-08 2022-07-15 国网湖南省电力有限公司 Test method and test platform for control logic of energy storage system
CN114629742A (en) * 2022-05-17 2022-06-14 北京理工大学深圳汽车研究院(电动车辆国家工程实验室深圳研究院) Vehicle data communication simulation test platform and method for new energy electric vehicle
CN114924925A (en) * 2022-05-31 2022-08-19 上海阵量智能科技有限公司 Instruction set simulator test method and device, electronic equipment and storage medium
CN115190032A (en) * 2022-09-09 2022-10-14 南京信息工程大学 High-applicability light-weight full-virtual network simulation and test method and embedded equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
聂得欣;: "基于网络模拟软件的网络实验研究", 硅谷, no. 08 *

Also Published As

Publication number Publication date
CN115714725B (en) 2023-09-12

Similar Documents

Publication Publication Date Title
CN109802852B (en) Method and system for constructing network simulation topology applied to network target range
US10237172B2 (en) Using headerspace analysis to identify flow entry reachability
US9838294B2 (en) Network development and testing as a cloud service
US8356353B2 (en) System and method for simulating computer network attacks
CN109417496A (en) Automation services functional verification in virtual network environment
CN103178996A (en) Distributed packet-switching chip model verification system and method
CN105871643B (en) Network operation emulation mode based on Routing Protocol
CN110413595A (en) A kind of data migration method and relevant apparatus applied to distributed data base
CN109495293B (en) Method, system, equipment and storage medium for testing control surface of switch
CN106130897B (en) Performance optimization method based on Router Simulation
CN112100625B (en) Operating system access control vulnerability discovery method based on model detection
CN107749807A (en) A kind of network function verification method and checking system towards NFV
CN113489603A (en) Interactive background traffic generation method and system in network shooting range
CN108289080A (en) A kind of methods, devices and systems accessing file system
CN115714725B (en) Teaching application-oriented network instruction virtual simulation implementation method and system
US9189370B2 (en) Smart terminal fuzzing apparatus and method using multi-node structure
CN106375109A (en) Switch configuration simulated issuing method, system and computer
CN113238897B (en) System-level test method and device for chip, computer equipment and storage medium
CN117251354A (en) Abnormality test method and device applied to blockchain system and computer equipment
CN105827468B (en) Network performance method for real-time monitoring
US20130290481A1 (en) Host embedded controller interface bridge
CN110990112B (en) Method and device for realizing interface simulation platform
CN107819707A (en) Method, apparatus, physical machine, virtual switch and the system of data processing
CN117478570B (en) Equipment testing method and device based on containerization technology and storage medium
CN113163420B (en) Test method for simulating online of multiple APs

Legal Events

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