CN115714725B - Teaching application-oriented network instruction virtual simulation implementation method and system - Google Patents

Teaching application-oriented network instruction virtual simulation implementation method and system Download PDF

Info

Publication number
CN115714725B
CN115714725B CN202211269002.1A CN202211269002A CN115714725B CN 115714725 B CN115714725 B CN 115714725B CN 202211269002 A CN202211269002 A CN 202211269002A CN 115714725 B CN115714725 B CN 115714725B
Authority
CN
China
Prior art keywords
instruction
network
simulation
configuration
instructions
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.)
Active
Application number
CN202211269002.1A
Other languages
Chinese (zh)
Other versions
CN115714725A (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

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a teaching application-oriented network instruction virtual simulation implementation method and a teaching application-oriented network instruction virtual simulation implementation system, wherein the method comprises the steps of determining network equipment and network instructions; dividing the determined network instruction into two types of configuration instructions and test instructions; creating a configuration cache data structure for the configuration class instruction, and designing simulation logic of required network equipment for the test class instruction so as to output a result in combination with the definition of the configuration data of the configuration class instruction; developing corresponding simulation logic programs for the configuration type instructions and the test type instructions according to the configuration cache data structure or the simulation logic according to a unified interface principle; 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 application can realize the virtual simulation restoration of the network instruction with low cost and high efficiency, and meets the application scene requirement of practical training teaching.

Description

Teaching application-oriented network instruction virtual simulation implementation method and system
Technical Field
The application relates to the technical field of virtual simulation of network teaching, in particular to a method and a system for realizing virtual simulation of network instructions for teaching application.
Background
There are two main implementations of the current operation instruction for the network device: the method 1 comprises the steps of constructing an experimental environment by utilizing hardware equipment, and realizing the experimental environment by simulating hardware construction; the method 2 is realized by installing an operating system carried in the hardware equipment by using the virtual machine. However, although the recovery of the network device command can be perfectly realized by two implementations, the cost of the method 1 is too high, the efficiency of the method 2 is too low and the update speed cannot keep pace with the development speed of the hardware. With the development of VR (virtual reality) and digital twin technologies, demands for virtual simulation of professional skill training are increasingly vigorous, and practical training contents of professions related to network communication are always limited by high manufacturing cost and low efficiency, especially in the aspect of digital communication practical operation, wherein one of main reasons is that the restoration difficulty of operation instructions of network equipment is high, and the cost is high.
Disclosure of Invention
The application aims to solve the technical problems: aiming at the problems in the prior art, the application provides a method and a system for realizing virtual simulation of a network instruction for teaching application, which aim to realize virtual simulation restoration of the network instruction with low cost and high efficiency and meet the application scene requirement of practical training teaching.
In order to solve the technical problems, the application adopts the following technical scheme:
a teaching application-oriented network instruction virtual simulation implementation method comprises the following steps:
s101, determining network equipment and network instructions involved in teaching application;
s102, dividing the determined network instruction into two types of instructions, namely a configuration instruction and a test instruction, wherein the configuration instruction is used for completing configuration modification of 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, a configuration cache data structure is created for the configuration class instruction and used for storing and updating the configuration data, and simulation logic of required network equipment is designed for the test class instruction so as to output a result in combination with the definition of the configuration data of the configuration class instruction; developing corresponding simulation logic programs for the configuration type instructions and the test type instructions according to the configuration cache data structure or the simulation logic according to a unified interface principle;
s104, loading all simulation logic programs into a simulation engine;
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 is further included to determine the corresponding simulation logic program by matching the network instruction with the network instruction library of the pre-loaded simulation logic program according to the network instruction.
Optionally, when executing the corresponding simulation logic program in step S105, the network instruction is a configuration class instruction, and executing the corresponding simulation logic program includes:
s201, allocating an instruction number for the network instruction, and analyzing out 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 device through the identification of the instruction number and the target network device, and updates the configuration cache data structure of the target network device according to the instruction parameters of the network instruction.
Optionally, when executing the corresponding simulation logic program in step S105, the network instruction is a test class instruction, and executing the corresponding simulation logic program includes:
s301, allocating an instruction number for the network instruction, and analyzing out 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 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, step S305 is skipped; otherwise, step S307 is skipped;
s305, transmitting the current target network equipment, the instruction number and the instruction parameters to a simulation engine to perform passability verification;
s306, the simulation engine firstly acquires configuration instruction cache data of the target network equipment, then gives out a result of passing verification of the current target network equipment through analysis of instruction numbers and instruction parameters, and finally feeds back an execution result to the verification engine; step S304 is skipped;
s307, if the result of the passing verification of any one of the target network devices in the target network device list is that the passing verification fails, returning to the network instruction execution failure; and if the results of the pass verification of all the target network devices in the target network device list are successful, returning to the successful execution of the network instruction.
Optionally, the network instruction in step S101 includes a ping instruction and a VLAN instruction, where the VLAN instruction is a configuration class instruction, configured to configure a virtual local area network to which the network device belongs; the ping instruction is a network instruction for testing a network path between a host and a certain host, switch or router based on the CIMP protocol.
Optionally, designing the emulation logic of the desired network device for the test class instruction in step S103 includes creating a configuration cache data structure for the VLAN instruction for storing and updating 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, the method includes designing the simulation logic corresponding to the ping instruction, and designing the simulation logic corresponding to the ping instruction includes:
s401, identifying VLAN instructions as configuration instructions;
s402, the simulation program analyzes the target network equipment and the instruction parameters of the VLAN instruction, and stores configuration data in the target network equipment and the instruction parameters into a configuration cache data structure in the form of key value pairs.
In addition, the application also provides a teaching application-oriented network instruction virtual simulation implementation system which comprises a microprocessor and a memory which are connected with each other, wherein the microprocessor is programmed or configured to execute the teaching application-oriented network instruction virtual simulation implementation method.
Furthermore, the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is used for being programmed or configured by a microprocessor to execute the network instruction virtual simulation implementation method facing the teaching application.
Compared with the prior art, the application has the following advantages: the real network command (including ping) is essentially an instruction executed on the operating system, and the system environment where the real network command is located is responsible for analyzing and executing the instruction, and then feeding back the execution result. For teaching, in order to achieve the best teaching effect, complete simulation of the input and output of instructions is required to achieve simulation of real practical training. The conventional simulation method is to purchase corresponding network equipment or install a corresponding operating system on the virtual machine to realize the simulation restoration of the network command. The application is oriented to teaching characteristics, and disassembles the simulation range and mode according to teaching requirements, thereby simulating a set of simulation execution logic and realizing network command simulation with low cost and high efficiency. The application 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 restoration 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 flow of a method according to an embodiment of the present application.
FIG. 2 is a diagram illustrating a host portion of an emulation logic corresponding to a ping instruction design in accordance with an embodiment of the present application.
Fig. 3 is a switch portion in an emulation logic corresponding to a ping instruction design in an embodiment of the present application.
Fig. 4 is a router portion of a simulation logic program corresponding to a ping instruction design in an embodiment of the present application.
Detailed Description
As shown in fig. 1, the method for implementing the virtual simulation of the network instruction facing the teaching application in this embodiment includes:
s101, determining network equipment and network instructions involved in teaching application;
s102, dividing the determined network instruction into two types of instructions, namely a configuration instruction and a test instruction, wherein the configuration instruction is used for completing configuration modification of 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, a configuration cache data structure is created for the configuration class instruction and used for storing and updating the configuration data, and simulation logic of required network equipment is designed for the test class instruction so as to output a result in combination with the definition of the configuration data of the configuration class instruction; developing corresponding simulation logic programs for the configuration type instructions and the test type instructions according to the configuration cache data structure or the simulation logic according to a unified interface principle;
s104, loading all simulation logic programs into a simulation engine;
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.
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: and the router, the switch, the host and the like are defined according to equipment instructions and instruction parameters related to the practical training process, so that the workload of simulation is reduced. Within the scope of the delineated device, instructions are classified into configuration classes and test classes. Creating a system cache data structure for the configuration class instructions for storing and updating configuration data; and designing a corresponding simulation logic method for the test class instruction, and defining an output result by combining configuration data. And developing corresponding simulation logic programs according to a unified interface principle aiming at the test class instruction in two dimensions of the device and the instruction, and loading all the simulation logic programs into a simulation engine. After the instruction is detected, the instruction is identified as a configuration class or a test class by comparing the instruction class library, different simulation logics are executed according to different classes of the instruction, and the executed result is returned to realize the simulation of the network instruction.
In this embodiment, before executing the corresponding simulation logic program in step S105, the method further includes the step of matching the simulation engine with a network instruction library of the pre-loaded simulation logic program according to the network instruction to determine the corresponding simulation logic program.
In this embodiment, when executing the corresponding simulation logic program in step S105, the network instruction is a configuration class instruction, and executing the corresponding simulation logic program includes:
s201, allocating an instruction number for the network instruction, and analyzing out 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 device through the identification of the instruction number and the target network device, and updates the configuration cache data structure of the target network device according to the instruction parameters of the network instruction.
In this embodiment, when executing the corresponding simulation logic program in step S105, the network instruction is a test class instruction, and executing the corresponding simulation logic program includes:
s301, allocating an instruction number for the network instruction, and analyzing out 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 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, step S305 is skipped; otherwise, step S307 is skipped;
s305, transmitting the current target network equipment, the instruction number and the instruction parameters to a simulation engine to perform passability verification;
s306, the simulation engine firstly acquires configuration instruction cache data of the target network equipment, then gives out a result of passing verification of the current target network equipment through analysis of instruction numbers and instruction parameters, and finally feeds back an execution result to the verification engine; step S304 is skipped;
s307, if the result of the passing verification of any one of the target network devices in the target network device list is that the passing verification fails, returning to the network instruction execution failure; and if the results of the pass verification of all the target network devices in the target network device list are successful, returning to the successful execution of the network instruction.
The present embodiment will be described by taking one of the common commands (ping) as an example, and the ping command as the most common network command can be used in the most extensive network devices, and taking it as an example, how to implement virtual simulation on the network command by using the method of the present application. The network instruction in step S101 of this embodiment 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; the ping instruction is a network instruction for testing a network path between a host and a certain host, switch or router based on the CIMP protocol.
In step S103 of this embodiment, when designing the emulation logic of the required network device for the test class instruction, the method includes creating a configuration cache data structure for the VLAN instruction to be used for storing and updating the configuration data of the virtual lan.
In step S103 of this embodiment, when designing the simulation logic of the required network device for the test class instruction, the simulation logic includes designing the simulation logic corresponding to the ping instruction, and designing the simulation logic corresponding to the ping instruction includes:
s401, identifying VLAN instructions as configuration instructions;
s402, the simulation program analyzes the target network equipment and the instruction parameters of the VLAN instruction, and stores configuration data in the target network equipment and the instruction parameters into a configuration cache data structure in the form of key value pairs.
Step S303, when the verification engine analyzes the execution path of the network instruction through the instruction number and the target network equipment, the verification engine analyzes the execution path as follows according to the instruction number and the target network equipment after receiving the incoming data: host 1- > switch 1- > router and generates an execution network device list according to the execution path as follows: host 1, switch 1, router, switch 1, host 1. The verification engine polls the execution network device list and sequentially transmits the instruction number, the execution network device and the instruction parameters into the test instruction simulation engine. And after receiving the incoming data, the simulation engine acquires the configuration data from the configuration data cache according to the execution network equipment. Different judging logics are executed according to the type of the equipment executing the network equipment, the executed specific logics are logic programs corresponding to S401 and S402, if the execution result of the logic programs is 'discarding the message', the logic programs return to fail, otherwise, the logic programs return to pass. After the polling of the execution network device list by the verification engine is finished, if the return results of all the test instruction simulation engines in the execution network device list are all passed, the test instruction execution is successful, if the return result of the test instruction simulation engine of any execution network device is not passed, the test instruction execution is failed.
The device range for realizing the instruction is defined according to the teaching range: the execution flow of the simulation logic program designed for the ping instruction is shown in fig. 2 to 4 because the ping instruction belongs to the test class instruction.
Referring to fig. 2, the host portion of the emulation logic involves the sending of a ping instruction, which includes the steps of:
s501, a message of a ping instruction is initiated (analyzing and acquiring source IP);
s502, judging whether the source IP and the target IP of the message are the same network segment, if so, directly sending the message, and returning the message successfully; otherwise, the message is handed to the next-stage network equipment (router or switch) and is ended.
Referring to fig. 3, the switch portion of the emulation logic involves message exchange of ping instructions, the steps of which include:
s601, receiving a message of a ping instruction (analyzing and acquiring source IP);
s602, judging the interface type of the message receiving the ping instruction, and if the interface type is access, jumping to the step S603; if the interface type is relay/transmission (trunk), step S604 is skipped;
s603, judging whether the message has 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 jumping to the step S605;
s604, judging whether the message has VLAN (virtual local area network) mark, if so, checking the release rule (configured by VLAN instruction), if not, discarding the message, and ending; if the check release rule passes, step S605 is skipped; if the message does not have the VLAN mark, the VLAN mark is marked for the message, if the VLAN mark is not configured through the VLAN instruction, the default VLAN mark (such as VLAN 1) is marked, and the step S605 is skipped;
s605, judging whether a target IP of a message exists under the VLAN, if so, developing the message to the target IP, exchanging the target IP and the source IP of the message, and jumping to the step S602 to perform a reverse verification flow; otherwise, judging whether the VLAN is configured with VLANIF (virtual local area network logic interface for the three-layer switch), if not, discarding the message, and ending; otherwise, step S606 is skipped;
s606, judging whether target IP of the message exists under all VLAN configuring VLANIF, if so, developing the message to the target IP, exchanging the target IP and the source IP of the message, and jumping to step S602 to perform reverse verification flow; otherwise, step S607 is skipped;
s607, judging whether the next hop (exchanger or router) of the target IP of the message is configured in the routing table, if yes, sending the target IP of the message to the exchanger or router of the next hop; meanwhile, all non-native (active) relay/pass-through (trunk) ports under the configuration VLANIF are found, and the target IP of the message is sent to a next-hop switch or router through the relay/pass-through (trunk) ports.
Referring to fig. 4, the router portion of the emulation logic involves message exchange of ping instructions, the steps of which include:
s701, receiving a message of a ping instruction (analyzing and acquiring a source IP and a target IP);
s702, judging whether a routing table is configured or not, if not, discarding the message, and ending; otherwise, step S703 is skipped;
s703, judging whether a port is configured as a target IP, if no port is configured as the target IP, forwarding the message of the ping instruction to the next-stage equipment (router or switch). Otherwise, develop the message to the goal IP, then exchange goal IP, source IP of the message, jump step S602 to carry on the reverse verification flow.
In summary, by the method for implementing virtual simulation of the network instruction for teaching application in this embodiment, virtual simulation of the network command can be implemented in a programmed manner, so that the simulation degree is ensured without purchasing network equipment or deploying a complex operating system, the virtual simulation cost of the network command is greatly reduced, and the efficiency is improved.
In addition, the embodiment also provides a teaching application-oriented network instruction virtual simulation implementation system, which comprises a microprocessor and a memory which are connected with each other, wherein the microprocessor is programmed or configured to execute the teaching application-oriented network instruction virtual simulation implementation method. In addition, the embodiment also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is used for being programmed or configured by a microprocessor to execute the network instruction virtual simulation implementation method facing the teaching application.
It will be appreciated by those skilled in the art that 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 application, and the protection scope of the present application is not limited to the above examples, and all technical solutions belonging to the concept of the present application belong to the protection scope of the present application. It should be noted that modifications and adaptations to the present application may occur to one skilled in the art without departing from the principles of the present application and are intended to be within the scope of the present application.

Claims (9)

1. A teaching application-oriented network instruction virtual simulation implementation method is characterized by comprising the following steps:
s101, determining network equipment and network instructions involved in teaching application;
s102, dividing the determined network instruction into two types of instructions, namely a configuration instruction and a test instruction, wherein the configuration instruction is used for completing configuration modification of 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, a configuration cache data structure is created for the configuration class instruction and used for storing and updating the configuration data, and simulation logic of required network equipment is designed for the test class instruction so as to output a result in combination with the definition of the configuration data of the configuration class instruction; developing corresponding simulation logic programs for the configuration type instructions and the test type instructions according to the configuration cache data structure or the simulation logic according to a unified interface principle;
s104, loading all simulation logic programs into a simulation engine;
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;
when executing the corresponding simulation logic program in step S105, the executing the corresponding simulation logic program when the network instruction is the configuration class instruction or the test class instruction and the network instruction is the test class instruction includes:
s301, allocating an instruction number for the network instruction, and analyzing out 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 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, step S305 is skipped; otherwise, step S307 is skipped;
s305, transmitting the current target network equipment, the instruction number and the instruction parameters to a simulation engine to perform passability verification;
s306, the simulation engine firstly acquires configuration instruction cache data of the target network equipment, then gives out a result of passing verification of the current target network equipment through analysis of instruction numbers and instruction parameters, and finally feeds back an execution result to the verification engine; step S304 is skipped;
s307, if the result of the passing verification of any one of the target network devices in the target network device list is that the passing verification fails, returning to the network instruction execution failure; and if the results of the pass verification of all the target network devices in the target network device list are successful, returning to the successful execution of the network instruction.
2. The teaching application-oriented network instruction virtual simulation implementation method according to claim 1, wherein the network device in step S101 includes at least one of a host and a switch, and a router.
3. The method according to claim 2, further comprising the step of matching the simulation engine with a library of network instructions preloaded with the simulation logic program according to the network instructions to determine the corresponding simulation logic program before executing the corresponding simulation logic program in step S105.
4. The teaching application-oriented network instruction virtual simulation implementation method according to claim 3, wherein when executing the corresponding simulation logic program in step S105, executing the corresponding simulation logic program with the network instruction being a configuration class instruction includes:
s201, allocating an instruction number for the network instruction, and analyzing out 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 device through the identification of the instruction number and the target network device, and updates the configuration cache data structure of the target network device according to the instruction parameters of the network instruction.
5. The teaching application-oriented network instruction virtual simulation implementation method according to claim 1, wherein 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 for configuring a virtual local area network to which the network device belongs; the ping instruction is a network instruction for testing a network path between a host and a certain host, switch or router based on the CIMP protocol.
6. The method according to claim 5, wherein designing the simulation logic of the required network device for the test class instruction in step S103 includes creating a configuration cache data structure for the VLAN instruction for storing and updating the configuration data of the virtual lan.
7. The method for implementing virtual simulation of network instructions for teaching applications according to claim 6, wherein when designing simulation logic of a required network device for testing class instructions in step S103, designing corresponding simulation logic for ping instructions is included, and designing corresponding simulation logic for ping instructions includes:
s401, identifying VLAN instructions as configuration instructions;
s402, the simulation program analyzes the target network equipment and the instruction parameters of the VLAN instruction, and stores configuration data in the target network equipment and the instruction parameters into a configuration cache data structure in the form of key value pairs.
8. A teaching application oriented network instruction virtual simulation implementation system comprising a microprocessor and a memory connected to each other, wherein the microprocessor is programmed or configured to perform the teaching application oriented network instruction virtual simulation implementation method according to any one of claims 1 to 7.
9. A computer readable storage medium having a computer program stored therein, wherein the computer program is configured or programmed by a microprocessor to perform the teaching application oriented network instruction virtual simulation implementation method of any of claims 1-7.
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 CN115714725A (en) 2023-02-24
CN115714725B true 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 (12)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11483228B2 (en) * 2021-01-29 2022-10-25 Keysight Technologies, Inc. Methods, systems, and computer readable media for network testing using an emulated data center environment

Patent Citations (12)

* 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
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
基于网络模拟软件的网络实验研究;聂得欣;;硅谷(第08期);全文 *

Also Published As

Publication number Publication date
CN115714725A (en) 2023-02-24

Similar Documents

Publication Publication Date Title
CN109802852B (en) Method and system for constructing network simulation topology applied to network target range
CN109417496A (en) Automation services functional verification in virtual network environment
Majumdar et al. Kuai: A model checker for software-defined networks
US10050859B2 (en) Apparatus for processing network packet using service function chaining and method for controlling the same
CN103178996A (en) Distributed packet-switching chip model verification system and method
KR102132539B1 (en) System for secure software defined networking(sdn) based on block-chain and the method thereof
Ujcich et al. Attain: An attack injection framework for software-defined networking
US20180123898A1 (en) Network verification device, network verification method and program recording medium
US20220171650A1 (en) Network system, management method and apparatus thereof, and server
Li et al. MSAID: Automated detection of interference in multiple SDN applications
Moro et al. Fop4: Function offloading prototyping in heterogeneous and programmable network scenarios
CN112527247A (en) LED display control system simulation method, device and system
CN115714725B (en) Teaching application-oriented network instruction virtual simulation implementation method and system
CN108289080A (en) A kind of methods, devices and systems accessing file system
Lu et al. Predictive analysis for race detection in software-defined networks
CN111726255A (en) Processing method and device for network change
US9189370B2 (en) Smart terminal fuzzing apparatus and method using multi-node structure
Nakata et al. Starbed2: Large-scale, realistic and real-time testbed for ubiquitous networks
CN113238897B (en) System-level test method and device for chip, computer equipment and storage medium
CN113708978B (en) Network availability test method and device, computer equipment and storage medium
CN117251354A (en) Abnormality test method and device applied to blockchain system and computer equipment
CN113703339A (en) Automatic driving simulation method, device, equipment and storage medium
US9535874B2 (en) Host embedded controller interface bridge
CN113806203A (en) Block chain testing method and device
CN110990112B (en) Method and device for realizing interface simulation platform

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