CN116489064B - Method and device for constructing multi-mode network test environment by combining internal field and external field - Google Patents

Method and device for constructing multi-mode network test environment by combining internal field and external field Download PDF

Info

Publication number
CN116489064B
CN116489064B CN202310745044.6A CN202310745044A CN116489064B CN 116489064 B CN116489064 B CN 116489064B CN 202310745044 A CN202310745044 A CN 202310745044A CN 116489064 B CN116489064 B CN 116489064B
Authority
CN
China
Prior art keywords
network
test environment
constructing
experiment
resource
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
CN202310745044.6A
Other languages
Chinese (zh)
Other versions
CN116489064A (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.)
Zhejiang Lab
Original Assignee
Zhejiang Lab
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 Zhejiang Lab filed Critical Zhejiang Lab
Priority to CN202310745044.6A priority Critical patent/CN116489064B/en
Publication of CN116489064A publication Critical patent/CN116489064A/en
Application granted granted Critical
Publication of CN116489064B publication Critical patent/CN116489064B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a device for constructing a multi-mode network test environment combining internal and external fields, wherein the method comprises the steps of constructing an internal field test environment and an external field test environment based on a programmable switch; constructing a functional layer comprising four modules of network access, network facilities, network management and control and service application; constructing operation logic, implementing monitoring network state, analyzing user experiment requirement, issuing resource configuration, operating user experiment and updating network resource. The invention provides flexible programmable forwarding capability, supports a novel custom protocol while supporting a mainstream IP protocol, and has good expansibility; in addition, the invention can support the laboratory environment and the real network operation environment at the same time, thereby providing the real network test environment for industry users to test new functions and the like and having good practical application value.

Description

Method and device for constructing multi-mode network test environment by combining internal field and external field
Technical Field
The invention relates to the technical field of multi-mode networks, in particular to a method and a device for constructing a multi-mode network test environment by combining internal and external fields.
Background
The multi-mode network aims to simultaneously operate a plurality of network technology systems on heterogeneous infrastructure, and each technology system is a network mode. With the development of network technology and service diversity, more and more network modes are developed. In fact, many novel network technologies cannot be directly applied to the existing network for testing and using, and multiple experiments, debugging and perfecting are needed to carry actual services, so that the method has important practical significance for building network test environments and developing novel network technology tests and developing multi-mode network development.
Currently, the mainstream technology in the industry and academia is to build a network test field. However, the existing network test field has the following problems: on one hand, the existing network test field mainly supports IP type protocols, and cannot carry out application test on custom protocols or novel protocols; on the other hand, the current test environment mainly faces scientific research demands, the test environment is still limited to a virtualized network environment in a local area network, and the differentiated network environment in different industries cannot be reproduced. And the special network modes of the industry, which are custom designed and developed according to different requirements of the industry, need to be tested in corresponding network test environments of the industry so as to promote the perfection and practical application of the novel mode.
Therefore, aiming at the problems that the network technology system which can be tested in the existing network test field is single, the network test environment is single, the special network mode of the industry cannot be tested, and the like, it is necessary to design a multi-mode network test environment construction method combining the internal field and the external field.
Disclosure of Invention
The invention aims to provide a method and a device for constructing a multi-mode network test environment by combining internal and external fields aiming at the defects of the prior art. The invention respectively carries out the technology verification of the infield network based on the laboratory test network and the technology verification of the outfield network based on the operator test network, greatly promotes the technical evolution and iteration of the special network mode of the industry, and effectively solves the problems that the network technology system capable of being tested in the prior art is single, the network test environment is single, the special network mode of the industry cannot be tested, and the like.
The aim of the invention is realized by the following technical scheme: the embodiment of the invention provides a method for constructing a multi-mode network test environment by combining internal and external fields, which comprises the following steps:
s1, constructing a network topology of a multi-mode network test environment, wherein the multi-mode network test environment comprises an internal field test environment and an external field test environment;
s2, building a functional layer of a multi-mode network test environment, wherein the multi-mode network test environment comprises a network access module, a network facility module, a network management and control module and a service application module from bottom to top;
s3, constructing operation logic of the multi-mode network test environment, wherein the operation logic comprises network state monitoring, demand analysis, resource issuing, user experiments and resource updating.
Further, the network topology for constructing the multi-mode network test environment is specifically: constructing a network topology of an internal field test environment and a network topology of an external field test environment, wherein the network topology of the internal field test environment and the network topology of the external field test environment both comprise a node domain and a backbone domain; the node domain is a machine room deployed at different geographic positions, and the machine room comprises a plurality of programmable switches; the backbone domain is used for completing communication among the node domains, and comprises a plurality of forwarding devices with high-speed forwarding capability.
Further, the network access module is configured to be compatible with various network device resources, including users of network access, wireless access points, routers, and computing and storage servers.
Further, the network facility module is used for dynamically forming a networking topology according to the requirement of a user and forwarding a message, and comprises a plurality of programmable switches, a host, a movable development terminal and a wireless access point.
Further, the network management and control module comprises a node controller, a node networking switch and a backbone controller, wherein the node controller is used for providing management and control for the network facility module; the node networking switch is used for connecting the node controller and various network infrastructures so as to realize communication between a user and the customized network infrastructures; the backbone controller is used for providing a management function of a backbone domain; the node controller and the backbone controller complete information synchronization through east-west interfaces.
Further, the service application module is used for receiving the experiment demands of users so as to develop various network experiment services, wherein the network experiment services comprise security monitoring, network state monitoring and novel protocol experiments.
Further, the step S3 includes the following substeps:
s31, monitoring network state: the network management and control module monitors the network state in real time and periodically acquires the occupation condition of each resource in the multi-mode network test environment;
s32, demand analysis: the service application module receives the experiment requirement of the user and analyzes the experiment requirement;
s33, resource issuing: the network management and control module combines the occupation condition of each resource in the current multi-mode network test environment, matches the requirement with the available resource according to the experiment requirement of the user to obtain an optimal configuration strategy, and configures the network facility module according to the optimal configuration strategy to issue the use authority of each resource to the user;
s34, user experiment: the user uses the programmable network to configure the programmable switches in the distributed node domains, and sends configuration to other switches according to the network protocol and the forwarding logic, and runs the test according to the plan until the test running time is expired;
s35, updating resources: in the test running process, if the test requirement of the user changes, the updated test requirement is sent to the service application module, and the step S32 is returned; and after the test running time is expired, the network management and control module issues a resource allocation releasing instruction.
Further, the resource occupation condition comprises occupation conditions of virtual machines in each node domain, occupation conditions of switch ports, occupation conditions of storage resources and calculation resources in the nodes;
the experiment requirements comprise the experiment content of planned operation, the required network topology, the required switch types and the number thereof, the required calculation, the storage and forwarding resources and the experiment operation time length;
the network protocol includes IP protocol, SRv6 protocol, industry specialty protocol and custom protocol.
The second aspect of the embodiment of the invention provides a device for constructing a multi-mode network test environment by combining internal fields and external fields, which comprises one or more processors and is used for realizing the method for constructing the multi-mode network test environment by combining the internal fields and the external fields.
A third aspect of the embodiments of the present invention provides a computer-readable storage medium having a program stored thereon, which when executed by a processor, is configured to implement the method for constructing a multi-modal network test environment by combining internal fields and external fields.
The multi-mode network test environment construction method for combining the internal field and the external field has the advantages that the flexibly programmable internal field test environment and the truly simulated external field test environment are respectively constructed, the application experiments of novel network protocols and network functions can be developed for scientific research users and industry specific users, and the method has good expandability and practical application value; in the aspect of network protocols, the invention provides flexible programmable forwarding capability, not only supports the current mainstream IP protocol, but also supports novel custom protocols such as an identity protocol, a geographic identification protocol, a content identification protocol and the like; in the aspect of network environment, the invention not only provides a network experiment environment, but also provides a real network operation environment, thereby providing a real network experiment environment for industry users to test new functions and the like; in networking, the invention provides the communication between the internal field and the external field, and constructs the network environment which is flexible and real.
Drawings
FIG. 1 is a flow chart of a method for constructing a multi-modal network test environment combining internal and external fields of the present invention;
FIG. 2 is a block diagram of a combined internal and external field multi-modal network test environment of the present invention;
FIG. 3 is a logic flow diagram of the operation of the combined internal and external fields multi-modal network test environment of the present invention;
FIG. 4 is a logic diagram of multi-user isolated operation of the multi-mode network test environment with combined internal and external fields of the present invention;
FIG. 5 is a schematic diagram of a device for constructing a multi-modal network test environment with combined internal and external fields according to the present invention.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the invention. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
The present invention will be described in detail with reference to the accompanying drawings. The features of the examples and embodiments described below may be combined with each other without conflict.
Referring to fig. 1, the method for constructing the multi-mode network test environment by combining the internal field and the external field specifically comprises the following steps:
s1, constructing a network topology of a multi-mode network test environment, wherein the multi-mode network test environment comprises an internal field test environment and an external field test environment.
In this embodiment, the network topology for constructing the multi-mode network test environment is specifically: constructing a network topology of an internal field test environment and a network topology of an external field test environment, wherein the network topology of the internal field test environment and the network topology of the external field test environment comprise a node domain and a backbone domain; the node domain is a machine room deployed at different geographic positions, and the machine room comprises a plurality of programmable switches of different types, wherein the programmable switches are used for providing flexible programmable forwarding capability; the backbone domain is used for completing communication among the node domains so as to directionally forward the message to the target node domain, and comprises a plurality of forwarding devices with high-speed forwarding capability.
It should be appreciated that by deploying a plurality of different types of programmable switches within a machine room, a variety of different functions may be implemented, providing flexible programmable forwarding capabilities, e.g., different types of programmable switches including p4+tofino chip programmable switches and Tofino chip-based 64-port, single port 100G bandwidth programmable switches.
Further, the forwarding devices include forwarding devices with high-speed forwarding capability, such as node machines and programmable switches, for example, node machines with 6.4Tbps forwarding bandwidth based on ASIC chips, programmable switches with 64 ports based on tofino chips, and single port 100G bandwidth, and the like.
It should be understood that the number of node domains and backbone domains may be set according to actual needs, and further the number of programmable switches in the node domains and the number of forwarding devices in the backbone domains.
The in-field test environment is focused on the scientific research user-oriented function performance of the novel network protocol in the laboratory environment. The outfield test environment is built based on the operator test environment, the network flow with the same characteristics is built in the outfield test environment by referring to the flow characteristics in the real operator network environment, so that a more real network transmission environment than the infield test environment is built, the aim of developing network functions, network protocols and other functions and performance experiments for industry users is achieved, and tests are developed for the practical application of specific network functions and protocols. Meanwhile, the internal field test environment and the external field test environment can be communicated, and various experimental requirements can be effectively met.
Illustratively, as shown in fig. 2, N node domains and 1 backbone domain are built in the infield, each node domain, backbone domain, contains 3 multi-mode programmable switches. Each node domain, backbone domain is managed by a network controller. The external field is built based on an operator environment, and real intercommunication services such as industrial interconnection, fixed shift integration and the like are operated, the external field also comprises N node domains and 1 backbone domain, and each node domain and each backbone domain comprise traditional switching equipment and a multi-mode programmable switch. Each node domain and backbone domain of the outfield are managed by corresponding network controllers. And the network controllers communicate with each other through the east-west interface and synchronize state information. And a network integrated compiler is deployed on the network controller, so that the internal and external field devices are uniformly managed.
S2, building a functional layer of a multi-mode network test environment, wherein the multi-mode network test environment comprises a network access module, a network facility module, a network management and control module and a service application module from bottom to top, and the four modules are shown in figure 2.
In this embodiment, the network access module is configured to be compatible with various existing network device resources, such as a user accessing a network, a wireless access point, a router, a computing server, a storage server, and the like.
In this embodiment, the network facility module includes a plurality of programmable switches, ubuntu hosts, a mobile development terminal raspberry group, a wireless access point AP, and the like, and is configured to dynamically form a network topology according to user requirements, and forward a message. However, when the experimental requirement of the user is not high enough to use up all the physical resources of one programmable switch, in order to improve the utilization rate of the switch resources, the network management and control module virtualizes the programmable switch into a plurality of virtual switches isolated from each other for a plurality of users by utilizing the switch virtualization technology.
As shown in fig. 4, a controller in one of the switches and the corresponding network management module is described in an enlarged manner. On the controller, a plurality of users are provided with management interfaces isolated from each other by using a mature container virtualization technology. On a programmable switch, storage resources are divided into non-shared resources, shared storage resources. The shared storage resource portion utilizes sophisticated pipeline virtualization techniques to simultaneously build multiple isolated pipeline spaces. And redirecting the received message according to the ports distributed to the users by the multi-mode network test environment, and forwarding the message to the pipeline space corresponding to the users for processing. Based on the universal p4run channel, communication channels of a control plane and a data plane which are in one-to-one correspondence are constructed through port identification, so that the programmable switch is virtualized into a plurality of virtual switches which are isolated from each other for a plurality of users to use.
In this embodiment, the network management and control module includes a node controller, a node networking switch, and a backbone controller. The node controller is used for providing management control for network facility modules, such as connecting various network infrastructures, wherein the network infrastructures comprise a Ubuntu host, a movable development terminal raspberry group, a wireless Access Point (AP) and the like. The node controller provides isolation capability through a virtualization technology, such as a mature container virtualization technology, so that customized network management and control functions can be provided for a plurality of users at the same time, but the users cannot mutually perceive the existence of each other, and interference does not occur. The node networking switch is used to connect the node controller with various network infrastructures for enabling communications between the user and his customized network infrastructure. The backbone controller is used for providing management functions of the backbone domain.
Further, the node controller and the backbone controller complete information synchronization through east-west interfaces.
In this embodiment, the service application module is configured to receive an experiment requirement of a user, so as to develop various network test services, such as security monitoring, network status monitoring, and a novel protocol experiment.
S3, constructing operation logic of the multi-mode network test environment, and providing flexible and customized test functions for users. The operation logic comprises network state monitoring, demand analysis, resource issuing, user experiment and resource updating.
As shown in fig. 3, the method specifically comprises the following steps:
s31, monitoring network state: the network management and control module monitors the network state in real time and periodically acquires the occupation condition of each resource in the multi-mode network test environment.
Further, the resource occupation condition includes occupation condition of virtual machines in each node domain, occupation condition of switch ports, occupation condition of storage resources and computing resources in the nodes, and the like.
Specifically, when the multi-mode network test environment is in daily operation, the network management and control module monitors the network state in real time and periodically acquires the occupation condition of each resource in the multi-mode intelligent network innovation test environment. The resource occupation condition comprises occupation conditions of virtual machines in each node domain, occupation conditions of switch ports and occupation conditions of storage resources in the nodes.
S32, demand analysis: the service application module receives the experiment requirements of the user and analyzes the experiment requirements.
Further, the experimental requirements include the experimental content of the planned operation, the required network topology, the required switch types and the number thereof, the required calculation, the store and forward resources, the experimental operation time length, and the like.
Specifically, when a new experiment user uses the service application module, the service application module analyzes the experiment requirements of the user, wherein the experiment requirements include the experiment contents of planned operation, the required network topology, the required switch types and the number thereof, the required calculation, storage, forwarding resources, the experiment operation duration and the like.
S33, resource issuing: the network management and control module combines the occupation condition of each resource in the current multi-mode network test environment, matches the requirement with the available resource according to the experiment requirement of the user to obtain an optimal configuration strategy, and configures the network facility module according to the optimal configuration strategy to issue the use permission of each resource to the user.
Specifically, the network management and control module combines all resource occupation conditions in the current multi-mode network test environment, matches the requirements with available resources according to the experimental requirements of users to obtain an optimal configuration strategy, for example, for experimental users needing to occupy more storage, a programmable switch with corresponding storage capacity is provided; when the number of forwarding ports required by the user can be just satisfied by the idle ports of a certain current switch, a virtual pipeline and a corresponding controller are constructed for the user, and the virtual pipeline and the corresponding controller are the optimal configuration strategy. And further completing the configuration of the network facility module according to the optimal configuration strategy, issuing the use permission of each resource to a user, and obtaining the use permission of each resource in the optimal configuration strategy by the user.
S34, user experiment: the user uses the programmable network to configure the programmable switches in the distributed node domains, and sends the configuration to other switches according to the network protocol and the forwarding logic, and runs the test according to the plan until the test running time is expired.
Further, the network protocols include IP protocol, SRv protocol, industry-specific protocol, and custom protocol. It should be appreciated that the network protocol may be a typical IP, SRv6, etc. protocol; or a custom protocol, such as a named network protocol, an identification protocol, etc.; in addition, industry specific protocols such as powerlink, profinet, etc. are also possible.
Specifically, a user uses a programmable network to configure a programmable switch in the allocated node domain, and sends configuration to other switches according to a network protocol required to be operated and forwarding logic required by the network protocol, for example, if the user uses a storage resource, relevant applications such as message storage, message analysis and the like are developed on the storage resource; after the configuration is completed, the user operates the experiment according to the plan until the operation time is expired, and submits the ending experiment to the network management and control module.
It should be understood that the network management and control module only distributes devices such as the network facility module to the user, and the user can use the programmable network to customize the forwarding logic and the running network protocol; the user obtains the controller and the switch distributed by the network management and control module, can program in the control interface by oneself, and issues configuration, such as network protocol, related messages and the like, to the switch which obtains the use authority by itself.
S35, updating resources: in the test running process, if the test requirement of the user changes, the updated test requirement is sent to the service application module, and the step S32 is returned; and after the test running time is expired, the network management and control module issues a resource allocation releasing instruction.
Specifically, in the test running process, if the user planned experiment requirement changes, the updated experiment requirement is sent to the service application module, the service application module receives the updated experiment requirement, if the switch in the experiment needs to be added, the step S32 will be returned, the service application module receives the updated experiment requirement, analyzes the updated experiment requirement, and transmits the updated experiment requirement to the network management and control module, and the network management and control module determines the newly added mode according to the latest available resource. After the running time of the test expires, the network management and control module issues a resource allocation releasing instruction, so that the resources occupied by the user can be released, and the test is ended.
It should be understood that the instruction for releasing the resource configuration may be set as a fixed string of messages, which means that the resources occupied by the user are released, and when the string of messages sent by the network management and control module is received, the resources occupied by the user may be released.
According to the multi-mode network test environment construction method combining the internal field and the external field, which is provided by the invention, the flexibly programmable internal field test environment and the truly simulated external field test environment are respectively constructed, the internal field network technology verification based on the laboratory test network and the external field network technology verification based on the operator test network are performed, the technical evolution and iteration of an industry special network mode are greatly promoted, the application experiments of novel network protocols and network functions can be developed for scientific research users and industry special users, and the method has good expandability and practical application values; in the aspect of network protocols, the invention provides flexible programmable forwarding capability, not only supports the current mainstream IP protocol, but also supports novel custom protocols such as an identity protocol, a geographic identification protocol, a content identification protocol and the like; in the aspect of network environment, the invention not only provides a network experiment environment, but also provides a real network operation environment, thereby providing a real network experiment environment for industry users to test new functions and the like; in networking, the invention provides the communication between the internal field and the external field, and constructs the network environment which is flexible and real. The invention effectively solves the problems that the network technology system capable of being tested in the prior art is single, the network test environment is single, the special network mode of the industry cannot be tested, and the like.
The invention also provides an embodiment of the multi-mode network test environment construction device combining the internal field and the external field, corresponding to the embodiment of the multi-mode network test environment construction method combining the internal field and the external field.
Referring to fig. 5, the device for constructing a multi-mode network test environment with combined internal and external fields provided by the embodiment of the invention includes one or more processors, and is used for implementing the method for constructing the multi-mode network test environment with combined internal and external fields in the above embodiment.
The embodiment of the multi-mode network test environment construction device combining the internal field and the external field can be applied to any device with data processing capability, and the device with data processing capability can be a device or a device such as a computer. The apparatus embodiments may be implemented by software, or may be implemented by hardware or a combination of hardware and software. Taking software implementation as an example, the device in a logic sense is formed by reading corresponding computer program instructions in a nonvolatile memory into a memory by a processor of any device with data processing capability. In terms of hardware, as shown in fig. 5, a hardware structure diagram of an apparatus with data processing capability where the multi-mode network test environment construction device combining internal fields and external fields of the present invention is located is shown in fig. 5, and in addition to the processor, the memory, the network interface, and the nonvolatile memory shown in fig. 5, any apparatus with data processing capability in the embodiment generally includes other hardware according to the actual function of the any apparatus with data processing capability, which is not described herein again.
The implementation process of the functions and roles of each unit in the above device is specifically shown in the implementation process of the corresponding steps in the above method, and will not be described herein again.
For the device embodiments, reference is made to the description of the method embodiments for the relevant points, since they essentially correspond to the method embodiments. The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purposes of the present invention. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The embodiment of the invention also provides a computer readable storage medium, and a program is stored on the computer readable storage medium, and when the program is executed by a processor, the method for constructing the multi-mode network test environment by combining the internal field and the external field in the embodiment is realized.
The computer readable storage medium may be an internal storage unit, such as a hard disk or a memory, of any of the data processing enabled devices described in any of the previous embodiments. The computer readable storage medium may be any device having data processing capability, for example, a plug-in hard disk, a Smart Media Card (SMC), an SD Card, a Flash memory Card (Flash Card), or the like, which are provided on the device. Further, the computer readable storage medium may include both internal storage units and external storage devices of any data processing device. The computer readable storage medium is used for storing the computer program and other programs and data required by the arbitrary data processing apparatus, and may also be used for temporarily storing data that has been output or is to be output.
The above embodiments are merely for illustrating the design concept and features of the present invention, and are intended to enable those skilled in the art to understand the content of the present invention and implement the same, the scope of the present invention is not limited to the above embodiments. Therefore, all equivalent changes or modifications according to the principles and design ideas of the present invention are within the scope of the present invention.

Claims (5)

1. The method for constructing the multi-mode network test environment by combining the internal field and the external field is characterized by comprising the following steps of:
s1, constructing a network topology of a multi-mode network test environment, wherein the multi-mode network test environment comprises an internal field test environment and an external field test environment;
the network topology for constructing the multi-mode network test environment is specifically as follows: constructing a network topology of an internal field test environment and a network topology of an external field test environment, wherein the network topology of the internal field test environment and the network topology of the external field test environment both comprise a node domain and a backbone domain; the node domain is a machine room deployed at different geographic positions, and the machine room comprises a plurality of programmable switches; the backbone domain is used for completing communication among the node domains, and comprises a plurality of forwarding devices with high-speed forwarding capability;
s2, building a functional layer of a multi-mode network test environment, wherein the multi-mode network test environment comprises a network access module, a network facility module, a network management and control module and a service application module from bottom to top;
the network facility module is used for dynamically forming a networking topology according to the requirements of users and forwarding messages, and comprises a plurality of programmable switches, a host, a movable development terminal and a wireless access point;
the network management and control module comprises a node controller, a node networking switch and a backbone controller, wherein the node controller is used for providing management and control for the network facility module; the node networking switch is used for connecting the node controller and various network infrastructures so as to realize communication between a user and the customized network infrastructures; the backbone controller is used for providing a management function of a backbone domain; the node controller and the backbone controller complete information synchronization through east-west interfaces;
the service application module is used for receiving the experiment demands of users so as to develop various network experiment services, wherein the network experiment services comprise safety monitoring, network state monitoring and novel protocol experiments;
s3, constructing operation logic of the multi-mode network test environment, wherein the operation logic comprises network state monitoring, demand analysis, resource issuing, user experiments and resource updating;
said step S3 comprises the sub-steps of:
s31, monitoring network state: the network management and control module monitors the network state in real time and periodically acquires the occupation condition of each resource in the multi-mode network test environment;
s32, demand analysis: the service application module receives the experiment requirement of the user and analyzes the experiment requirement;
s33, resource issuing: the network management and control module combines the occupation condition of each resource in the current multi-mode network test environment, matches the requirement with the available resource according to the experiment requirement of the user to obtain an optimal configuration strategy, and configures the network facility module according to the optimal configuration strategy to issue the use authority of each resource to the user;
s34, user experiment: the user uses the programmable network to configure the programmable switches in the distributed node domains, and sends configuration to other switches according to the network protocol and the forwarding logic, and runs the test according to the plan until the test running time is expired;
s35, updating resources: in the test running process, if the test requirement of the user changes, the updated test requirement is sent to the service application module, and the step S32 is returned; and after the test running time is expired, the network management and control module issues a resource allocation releasing instruction.
2. The method for building a multi-modal network test environment combining internal and external fields according to claim 1, wherein the network access module is used for being compatible with various network equipment resources, and the network equipment resources comprise users of network access, wireless access points, routers, and calculation and storage servers.
3. The method for constructing a multi-mode network test environment combining internal and external fields according to claim 1, wherein the resource occupation situation comprises occupation situations of virtual machines in each node domain, occupation situations of switch ports, occupation situations of storage resources and computing resources in nodes;
the experiment requirements comprise the experiment content of planned operation, the required network topology, the required switch types and the number thereof, the required calculation, the storage and forwarding resources and the experiment operation time length;
the network protocol includes IP protocol, SRv6 protocol, industry specialty protocol and custom protocol.
4. A device for constructing a multi-modal network test environment by combining internal and external fields, comprising one or more processors configured to implement the method for constructing a multi-modal network test environment by combining internal and external fields according to any one of claims 1 to 3.
5. A computer-readable storage medium, having stored thereon a program which, when executed by a processor, is adapted to implement the combined internal and external multi-modal network test environment construction method of any of claims 1-3.
CN202310745044.6A 2023-06-25 2023-06-25 Method and device for constructing multi-mode network test environment by combining internal field and external field Active CN116489064B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310745044.6A CN116489064B (en) 2023-06-25 2023-06-25 Method and device for constructing multi-mode network test environment by combining internal field and external field

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310745044.6A CN116489064B (en) 2023-06-25 2023-06-25 Method and device for constructing multi-mode network test environment by combining internal field and external field

Publications (2)

Publication Number Publication Date
CN116489064A CN116489064A (en) 2023-07-25
CN116489064B true CN116489064B (en) 2023-09-22

Family

ID=87218126

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310745044.6A Active CN116489064B (en) 2023-06-25 2023-06-25 Method and device for constructing multi-mode network test environment by combining internal field and external field

Country Status (1)

Country Link
CN (1) CN116489064B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231685A (en) * 2011-06-17 2011-11-02 中兴通讯股份有限公司 Test method, server and system
CN105376133A (en) * 2015-11-20 2016-03-02 南京优速网络科技有限公司 Network experiment system based on virtualization technology and construction method
CN114500284A (en) * 2022-04-19 2022-05-13 之江实验室 Semi-physical semi-virtual network simulation platform and method for multi-mode intelligent network
WO2022121367A1 (en) * 2020-12-09 2022-06-16 之江实验室 Multi-modal network topology structure

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231685A (en) * 2011-06-17 2011-11-02 中兴通讯股份有限公司 Test method, server and system
CN105376133A (en) * 2015-11-20 2016-03-02 南京优速网络科技有限公司 Network experiment system based on virtualization technology and construction method
WO2022121367A1 (en) * 2020-12-09 2022-06-16 之江实验室 Multi-modal network topology structure
CN114500284A (en) * 2022-04-19 2022-05-13 之江实验室 Semi-physical semi-virtual network simulation platform and method for multi-mode intelligent network

Also Published As

Publication number Publication date
CN116489064A (en) 2023-07-25

Similar Documents

Publication Publication Date Title
EP2888858B1 (en) Method and apparatus of generalized network controller for a software defined network (sdn)
TWI222288B (en) End node partitioning using virtualization
US6694361B1 (en) Assigning multiple LIDs to ports in a cluster
Batalla et al. On cohabitating networking technologies with common wireless access for home automation system purposes
CN111010702B (en) Time delay sensitive network communication method and device thereof
CN104753697B (en) A kind of method, equipment and system controlling the automatic beginning of the network equipment
CN111224821B (en) Security service deployment system, method and device
CN107278359A (en) The method of Message processing, main frame and system in cloud computing system
US8417848B2 (en) Method and apparatus for implementing multiple service processing functions
CN110034944B (en) Network slice deployment method and device
JP2014519249A (en) Port expansion topology information acquisition method, system, control bridge, and uplink port processing method and system
CN102316043B (en) Port virtualization method, switch and communication system
CN102843286A (en) Implementation method, device and system of virtual routers
RU2016116861A (en) FLEXIBLE DETERMINED COMMUNICATION NETWORK
CN106534178B (en) System and method for realizing RapidIO network universal socket
JP5612468B2 (en) Method and apparatus for communication of diagnostic data in a real-time communication network
CN107133109B (en) Method and device for communication between modules and computing equipment
CN110224917B (en) Data transmission method, device and system and server
JP5541292B2 (en) Distributed system, communication means selection method, and communication means selection program
CN111711536A (en) Method for constructing firewall test environment under cloud architecture
CN101369934B (en) Network analogue method and system
CN114124714B (en) Multi-level network deployment method, device, equipment and storage medium
EP3631639B1 (en) Communications for field programmable gate array device
CN116489064B (en) Method and device for constructing multi-mode network test environment by combining internal field and external field
CN109889421B (en) Router management method, device, terminal, system and storage medium

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