CN114978854A - Domestic network resource dynamic sensing device - Google Patents

Domestic network resource dynamic sensing device Download PDF

Info

Publication number
CN114978854A
CN114978854A CN202210598626.1A CN202210598626A CN114978854A CN 114978854 A CN114978854 A CN 114978854A CN 202210598626 A CN202210598626 A CN 202210598626A CN 114978854 A CN114978854 A CN 114978854A
Authority
CN
China
Prior art keywords
network
node
port
address
main processor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210598626.1A
Other languages
Chinese (zh)
Other versions
CN114978854B (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.)
Beijing Institute of Computer Technology and Applications
Original Assignee
Beijing Institute of Computer Technology and Applications
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 Beijing Institute of Computer Technology and Applications filed Critical Beijing Institute of Computer Technology and Applications
Priority to CN202210598626.1A priority Critical patent/CN114978854B/en
Publication of CN114978854A publication Critical patent/CN114978854A/en
Application granted granted Critical
Publication of CN114978854B publication Critical patent/CN114978854B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/02Standardisation; Integration
    • H04L41/0213Standardised network management protocols, e.g. simple network management protocol [SNMP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • H04L12/4675Dynamic sharing of VLAN information amongst network nodes
    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention relates to a domestic network resource dynamic sensing device, belonging to the field of network resource dynamic sensing. The basic platform realizes the dynamic perception and IP address management of each network detection node, each computing node and each storage node in the local area network, simultaneously realizes the wireless ad hoc network among a plurality of basic platforms through a wireless radio station, dynamically accesses the internal node resources into the wireless ad hoc network, realizes the node networking, has the capability of dynamic resource recombination, realizes the perception of the resources of the whole network by the basic platform in a communication mode according to the resource state of each node, and simultaneously can effectively ensure the real-time performance of data exchange and reduce the time delay. The basic platform realizes the sensing of the resources of the whole network by communicating the resource state of each node, and simultaneously can effectively ensure the real-time performance of data exchange and reduce the time delay.

Description

Domestic network resource dynamic sensing device
Technical Field
The invention belongs to the field of network resource dynamic sensing, and particularly relates to a domestic network resource dynamic sensing device.
Background
With the continuous progress of network technology, it is beginning to be widely applied in various fields, so that the types of data services of users are increasing, the types of network resources and data traffic are increasing exponentially, and higher requirements are put forward on the computing capability and network switching capability of a terminal processor. The network architecture and resources are diversified, and meanwhile, the risk problem brought by safety must be borne, the traditional network safety products cannot accurately control the state of the whole network resources, and a network situation perception system is generated under the condition.
The concept of situation awareness is derived from human factors research of space flight, and is widely researched and applied in the fields of military battlefields, nuclear reaction control, air traffic supervision, medical emergency scheduling and the like. In a dynamic complex environment, a decider needs to have a deep enough understanding of the continuous change condition of the current environment to make a decision accurately, and acquire, understand and display various security elements capable of causing the change of the network situation, so as to predict the future development trend of the network.
With the development of 5G communication, internet of things, internet of vehicles and various novel applications, the concept of users has been expanded from the traditional narrow "customer" perspective to the broad concept of node users, and the development of networks and the emergence of services make the network architecture complicated and the resources multidimensional. The existing ad hoc network resource utilization is relatively isolated, and the service bearing quality is reduced due to mutual constraint, mutual inhibition and mutual association among network nodes.
In order to solve the problems and take specific measures, the invention designs a method for realizing a domestic network resource dynamic sensing device (hereinafter referred to as a basic platform), the system architecture of the whole basic platform consists of a hardware platform and a software platform, the design follows the relevant requirements of national standard and nationwide production, and an advanced VPX 3U standard architecture is selected to meet the requirements of severe environment resistance and miniaturization. The basic platform plays a role in starting and stopping in the whole network topology structure, dynamic sensing and IP address management of each network detection node, each computing node and each storage node are realized in a local area network, meanwhile, wireless ad hoc networks can be realized among a plurality of basic platforms through a wireless radio station, internal node resources are dynamically accessed into the wireless ad hoc networks, node networking is realized, and the capacity of dynamic resource recombination is achieved.
Disclosure of Invention
Technical problem to be solved
The invention aims to solve the technical problem of how to provide a domestic network resource dynamic sensing device to solve the problems that the utilization of the current ad hoc network resources is isolated, and the service bearing quality is reduced due to mutual constraint, mutual inhibition and mutual association among network nodes.
(II) technical scheme
In order to solve the technical problem, the invention provides a domestic network resource dynamic sensing device, which comprises a basic platform, wherein the basic platform comprises a main processor board and a network switching module;
the basic platform is connected with a local area network and a wireless ad hoc network, in the local area network, the basic platform realizes dynamic perception and IP address management of each network node, meanwhile, the wireless ad hoc network is realized among a plurality of basic platforms through a wireless radio station, and resources of each network node in the local area network are dynamically accessed into the wireless ad hoc network;
a main processor board in the basic platform integrates five-way gigabit network cards enp2s0f3, enp2s0f2, enp5s0f0, enp5s0f1 and enp5s0f2, wherein 2-way gigabit cards are directly led out of external interfaces, namely enp2s0f3 and enp2s0f2, so that the main processor board of the basic platform is in direct communication with the outside;
the 2-path network cards enp5s0f0 and enp5s0f1 of the main processor board are respectively connected to the 1# port and the 2# port of the network switching module through SERDES, so as to realize indirect communication between the internal network and the external network;
the 1-path network card enp5s0f2 of the main processor board is connected with a management network port of the network switching module through 1000Base-T, so that the dynamic management and control of the port of the network switching module are realized;
the network switching module is divided into 3 VLANs, namely VLAN1, VLAN2 and VLAN 3;
VLAN1 is used for accessing of an internal switch of the local area network, comprises a 5# port, a 6# port, a 1# port and a 12# port, and is configured into a two-layer switch, and the 5# port is NAT access and is used for the request of the internal network for accessing an external network; the port 1# is connected with enp5s0f0 of the main processor board, and is used for sensing and managing the intranet node resources, acquiring the downstream equipment resources by the management software, and providing the network management software for configuring the internal switch of the network switching module; the 12# port is cascaded with an internal switch of the local area network;
VLAN2 is responsible for NAT switching of internal and external networks, comprises a 3# port, is an exit node of NAT, and is configured into a three-layer switch for realizing network address translation based on a network switching module NAPT;
VLAN3 connects the extranet, including 2# port, 4# port and 13# port, 13# port is connected with radio station, provide the wireless network interface to the outside; the 2# port is connected with a network card enp5s0f1 of a basic platform main processor board and used for the IP management of a basic platform node dynamic ad hoc network; the port # 4 is connected to the port # 3 of the VLAN2, and connects the NAT exit to the external network.
Further, the hardware configuration of the basic platform comprises a case, a main processor board, a network switching module, a time system module and a power module backboard, wherein 1 main processor board slot position, 1 time system module slot position, 1 network switching slot position and 1 power slot position are configured, and 1 auxiliary processing module slot position and 1 battery module slot position are reserved simultaneously.
Further, a basic platform software system adopts a domestic operating system Galois operating platform and is divided into a firmware layer, a supporting layer and a middle layer according to the hierarchy; the firmware layer comprises a main processor board BMC, a power board BMC and a switching module BMC so as to be a system board BMC; the supporting layer comprises an operating system, a basic development environment, main processor board driving software, display card driving software, network card driving software and an SNMP network agent; the middle layer comprises a test maintenance middleware, a time synchronization middleware and network equipment management software.
Furthermore, the device adopts a dynamic allocation scheme of the IP address of the resource node based on DHCP; after a basic platform main processor board is powered on, a DHCP service is started to dynamically acquire a unique IP address of the whole network and configure the unique IP address to a network card enp5s0f1 of the main processor board, the network card enp5s0f0 is statically configured, the IP address is in the same network segment with intranet downstream equipment, and the main processor board is communicated with an internal network and an external network through a network exchange module; the basic platform main processor board runs network management software, when the main processor board is started, a DHCP state is configured through a local network management configuration file, if the basic platform main processor board is used as a DHCP server, DHCP service is automatically loaded, an IP address of the main processor board enp5s0f1 is configured, connection of a DHCP client is waited, a network IP address is distributed for the DHCP client in an automatic distribution mode, and if the basic platform main processor board is used as the DHCP client, after the IP connection parameters distributed by the DHCP server are obtained, the network card enp5s0f1 is configured.
Furthermore, after the intranet resource node is connected to the network switching module, the intranet network card enp5s0f0 and the networking node are in the same network segment, the IP address is pre-allocated, an equipment resource table is designed, and after the UDP broadcast message sent by the resource node is obtained, the network address is added and updated to the equipment resource table; when the network card enp5s0f0 receives heartbeat messages sent by other nodes, the device state table is updated, whether the device is a newly accessed device is searched through a node identifier, if the device state table has records, whether the information is consistent or not is checked, the device state table is updated if the information is inconsistent, if the node has no record in the device state table, the node is a newly accessed node, a data record is newly added in the device state table, and if the basic unit does not have the heartbeat message of a certain node in the device resource table in the specified time, the node is considered to be absent, and the node data in the device resource table needs to be deleted.
Further, after the network management software accesses and acquires the full-network unique IP address of the main processor board enp5s0f1 through the DHCP, the NAT unique exit address of the base platform is generated through the calculation of the IP address, and the network switching module is configured through enp5s0f2 by using the SNMP protocol: dividing VLAN1, VLAN2 and VLAN 3; setting an NAT address and setting an NAT address mapping table; setting the port 3# of the network switching module as an NAT outlet, configuring an IP address to be 128.0.1.x, and routing the port 3# to the NAT address; setting the 4# port as an IP address 128.0.0.1 configured for the NAT entrance, and simultaneously routing the 4# port to the 3# port; the downstream equipment of the internal exchange module sets the gateway address as the 4# port IP address of the network exchange module, and a plurality of internal network users can share one external network IP address to access the external network.
Further, the network management function of the base platform includes resource perception for network nodes, implementation of whole network communication configuration and management of NAT, and control of network traffic, and a whole network device state table is maintained on the base platform, and network management operates around the table.
Further, when the basic platform device node is accessed to the wireless ad hoc network, the address allocation and management of the main processor board in the basic platform to the external network card are completed through the DHCP or heartbeat message, a piece of data is added in the device state table, and the obtained address is configured to the basic platform external network address of the node.
Further, the basic platform device manages intranet device resources through a network device management technology based on the SNMP, realizes state acquisition of internal devices, adds device resource information on a current node to a device state table, and updates the real-time state of the device when the state of the device changes.
Further, the external network node resource sensing sends a full-network heartbeat report through the external network card enp5s0f1 of the main processor board in the basic platform in a certain period to acquire the state of the full-network resources, and then the network address adding, modifying, inquiring and deleting operations of the resources are carried out on the equipment list, and the specific process is as follows:
sending a broadcast heartbeat message to the external network card enp5s0f1 through the main processor board to inform the resource state of the whole network basic platform node;
after the basic platform receives heartbeat messages sent by other basic platform nodes, updating the equipment state table, searching whether the equipment is newly accessed through the node identification, if the equipment state table has records, checking whether the information is consistent, and updating if the information is inconsistent, and if the node does not have a record in the equipment state table, indicating that the node is a newly accessed node, newly adding a data record in the equipment state table;
if the heartbeat of a certain node in the device list disappears, if the other node base platforms do not receive a new heartbeat message within a specified time, the node is considered to be absent, and the node data in the device list needs to be deleted.
(III) advantageous effects
The invention provides a domestic network resource dynamic sensing device, which is deeply researched aiming at the field of network resource dynamic sensing and provides an implementation method of the domestic network resource dynamic sensing device, so that the dynamic sensing and IP address management of each network detection node, each calculation node and each storage node are realized, meanwhile, wireless ad hoc networking can be realized among a plurality of basic platforms through a wireless radio station, internal node resources are dynamically accessed into the wireless ad hoc network, node networking is realized, the dynamic resource recombination capability is realized, the basic platforms realize the sensing of the whole network resources by communicating the resource state of each node, the real-time performance of data exchange can be effectively ensured, and the time delay is reduced.
Drawings
FIG. 1 is a diagram of a base platform architecture;
FIG. 2 is a basic platform schematic block diagram;
FIG. 3 is a basic platform overall network architecture;
FIG. 4 is a diagram of a base platform network architecture;
fig. 5 is a schematic diagram of an internet communication method based on NAPT.
Detailed Description
In order to make the objects, contents and advantages of the present invention clearer, the following detailed description of the embodiments of the present invention will be made in conjunction with the accompanying drawings and examples.
In order to solve the problems, the invention designs a method for realizing a domestic network resource dynamic sensing device, which follows the relevant requirements of national standards and nationwide productions, selects an advanced VPX 3U standard architecture and meets the requirements of severe environment resistance and miniaturization. The architecture of the device consists of a hardware and software platform.
As shown in fig. 2, the device for dynamically sensing domestic network resources comprises a base platform, wherein the base platform comprises a chassis (including a bus backplane), a main processor board, a network switching module, a timing module, a power module and a backplane, the board cards conform to the VPX 3U standard specification, a VPX high-speed connector is adopted in the chassis, and the device has the advantages of tight connection, small insertion loss, low error rate and the like, the data bandwidth supported by each differential contact pair can reach 6.25Gb/s, the requirements of internal gigabit network interconnection transmission and high-speed bus data transmission can be met, and the device universality and interchangeability can be improved.
As shown in fig. 1, the software platform mainly includes firmware, an operating system and a driver, support layer software (general support software, health management software), middleware, and the like.
The basic platform has network node access capability, and can access network nodes with various functions such as a detection node, a calculation node and a storage node to a wireless ad hoc network; and meanwhile, the system also has the functions of sensing and managing network node resources, including sensing the resources of the network nodes (including network address management), realizing the whole network communication configuration and management of NAT and controlling network flow. A network-wide device resource table is maintained in the base platform, and all functions of network management operate around the table. The basic platform architecture is shown in fig. 1.
The application characteristics of a user based on wireless communication and data fusion processing are fully considered in the design of the basic platform, and the basic platform is combined with the advanced computer system architecture design, so that the basic platform has strong advancement and feasibility in the aspects of network flow control, address conversion, network resource perception, network management and the like.
Aiming at the application characteristics of a network system for processing complex multi-service data fusion processing, aiming at ensuring that a user uses the maximum computing resource, an FT2000/4 domestic main processor with higher performance is selected, the main frequency reaches 2.2GHz, the hardware realizes port flow control and network address conversion by combining with a domestic department CTC5160+ Loongson 2H network switching chip, a dynamic network configuration middleware based on SNMP is designed, the user can dynamically acquire the port state information of a switching module at an application layer, the network address conversion parameters can be dynamically configured according to the current wireless bandwidth communication quality condition, the port speed limit control and the QOS configuration based on ACL are dynamically realized, the hardware QOS function of the network switching module is fully utilized, the reasonable utilization of wireless network bandwidth can be realized under the condition that the processor does not participate, the CPU resource is reserved to the maximum extent, the method is used for the fusion and processing calculation of complex and changeable network information, and the comprehensive efficiency of the system is effectively improved.
In order to verify the feasibility of the system architecture, a technical verification platform is quickly formed, and a main processor board taking a FT2000/4 main processor as a core is adopted. According to the application requirements of a basic platform on a main processor board and the current situation of a standard current domestic main processor board, the conventional Feiteng FT2000/4 main processor board can achieve better matching in the aspects of functions, performances and interfaces, and can rapidly achieve comprehensive, autonomous and controllable rigidity requirements. The specific technical indexes of the Feiteng FT2000/4 localization main processor are shown in the table 1.
TABLE 1 FT2000/4 Main processor technical Specifications for localization
Figure BDA0003668746950000061
Figure BDA0003668746950000071
In order to make the objects, contents, and advantages of the present invention clearer, the following detailed description of the embodiments of the present invention will be made in conjunction with the accompanying drawings and examples.
The hardware configuration of the basic platform comprises a chassis (comprising a bus backplane), a main processor board, a network switching module, a time system module, a power module backboard and the like. And 1 main processor board slot position, 1 time system module slot position, 1 network exchange slot position and 1 power supply slot position are configured. And simultaneously reserving 1 auxiliary processing module slot position and 1 battery module slot position. The hardware composition configuration is shown in table 2.
TABLE 2 composition and configuration of base platform
Figure BDA0003668746950000072
Figure BDA0003668746950000081
The basic platform software system adopts a domestic operating system Galaxy kylin running platform and is divided into a firmware layer, a supporting layer and a middle layer according to the hierarchy. The firmware layer comprises a main processor board BMC, a power board BMC, a switching module BMC and a system board BMC; the support layer comprises an operating system, a basic development environment, main processor board driving software, display card driving software, network card driving software and an SNMP network agent; the middle layer comprises a test maintenance middleware, a time synchronization middleware and network equipment management software.
The basic platform hardware schematic block diagram is shown in fig. 2. The main working principle is described as follows:
the basic platform is externally provided with 4 gigabit Ethernet interfaces, and the network exchange module provides 2 paths externally and is respectively connected with the radio station and the intranet exchange module; the main processor board provides two paths which can be respectively connected with a radio station management port and a network switching module management port; the network switching module directly realizes the internal and external network IP address conversion in the network switching module by means of dividing VLAN, configuring address mapping and the like, can release CPU resources and uses more resources for application such as network resource fusion, information processing and the like; the auxiliary processing module slot positions are reserved and are interconnected through an internal network exchange module so as to meet the requirements of future network information fusion calculation, node resource perception and management on more calculation resources;
as shown in fig. 3, in the entire network topology structure, the basic platform has an effect of starting and stopping, and connects the local area network and the wireless ad hoc network, on one hand, in the local area network, the basic platform realizes dynamic sensing and IP address management of each network node, on the other hand, among a plurality of basic platforms, the wireless ad hoc network can be realized through a radio station, and resources of each network node in the local area network are dynamically accessed into the wireless ad hoc network, so that node networking is realized, and the capability of dynamic resource recombination is provided. The specific design content is as follows:
a) the basic platform has network node access capability and can access the detection nodes, the calculation nodes and the storage nodes of the local area network intranet into the wireless ad hoc network. The connection relationship between the basic platform and the intranet is shown in fig. 4;
b) a main processor board in the basic platform integrates five-way gigabit network cards enp2s0f3, enp2s0f2, enp5s0f0, enp5s0f1 and enp5s0f2, wherein 2-way gigabit cards are directly led out of external interfaces, namely enp2s0f3 and enp2s0f2, so that the main processor board of the basic platform is in direct communication with the outside;
c) 2-path network cards enp5s0f0 and enp5s0f1 of a basic platform main processor board are respectively connected to a 1# port and a 2# port of a network switching module through SERDES (serial peripheral interface standard), so that indirect communication between an internal network and an external network is realized;
d) a 1-path network card of a basic platform main processor board, enp5s0f2, is connected with a network switching module management network port through 1000Base-T to realize the dynamic management and control of the port of the network switching module;
e) the network switching module is divided into 3 VLANs, namely VLAN1, VLAN2 and VLAN3, and the configuration and management of the network switching module are as follows:
1) VLAN1 is used for accessing an internal switch of a lan, and includes a 5# port, a 6# port, a 1# port, and a 12# port, and is configured as a two-layer switch, where the 5# port of the network switching module in fig. 4 is a NAT access, and is used for a request of the internal network to access an external network; the port 1# is connected with the network port 2 of the basic platform main processor board: enp5s0f0, used for sensing and managing the intranet node resource, obtaining the downstream equipment resource, and providing the network management software to configure the internal switch of the network switching module; the 12# port is cascaded with an internal switch of the local area network;
2) VLAN2 is responsible for NAT switching of internal and external networks, comprises a 3# port, is an exit node of NAT, and is configured into a three-layer switch for realizing network address translation based on a network switching module NAPT;
3) VLAN3 is connected to an external network, and includes # 2 port, # 4 port and # 13 port, and in fig. 4, port # 13 of the network switching module is connected to a radio station, and provides an external wireless network interface; the 2# port is connected with a network card 1 of a basic platform main processor board: enp5s0f1, used for the IP management of the dynamic ad hoc network of the basic platform node; the 4# port is connected with the 3# port of the VLAN2, and the NAT outlet is connected with an external network;
the configuration and management of the network switching module are based on SNMP standard protocol, and the functions of port state acquisition, ACL access control, NAPT and QOS quality service are realized through a standard MIB interface.
The network node access and resource dynamic perception scheme is as follows:
a) dynamic allocation scheme for IP address of resource node based on DHCP
After the basic platform main processor board is powered on, the DHCP service is started to dynamically acquire the unique IP address of the whole network, the unique IP address is configured on the network card enp5s0f1 of the main processor board, and the network card enp5s0f0 is statically configured, so that the IP address and the intranet downstream equipment are in the same network segment. The main processor board communicates with the internal and external networks through the network switching module, and the specific configuration scheme is as follows:
network management software is operated on a main processor board of the basic platform, and when the main processor board is started, a DHCP state is configured through a local network management configuration file. If it is the DHCP server, it automatically loads the DHCP service and configures the IP address of the main processor board enp5s0f1 (network card 1) and waits for the connection of the DHCP client. And distributing the network IP address for the DHCP client side by adopting an automatic distribution mode. If the network card serves as the DHCP client, the IP connection parameters distributed by the DHCP server are acquired and then are configured to the network card enp5s0f1 (network card 1).
The network management software provides a data access interface at the same time, receives a control command of an intranet device application program through enp5s0f2 (network card 2) of the main processor board, can manually configure the basic platform as a DHCP server, and starts the DHCP service. An example of DHCP server assignment of IP addresses is shown in table 3.
Table 3 DHCP server assigned IP address table example
Figure BDA0003668746950000101
Figure BDA0003668746950000111
b) Node access scheme based on UDP heartbeat message
Dynamic access of the nodes can be flexibly realized through UDP multicast/broadcast heartbeat messages of the networking nodes. After being connected to the network switching module, the intranet resource node broadcasts and sends heartbeat messages at a certain period, the network card enp5s0f0 (the network card 3) and the networking node are in the same network segment, IP addresses are pre-allocated, and a device resource table is designed. And after the UDP broadcast message sent by the resource node is acquired, adding and updating the network address to the equipment resource table.
When the network card enp5s0f0 (network card 3) receives heartbeat messages sent by other nodes, the device state table is updated, whether the device is a newly accessed device is searched through the node identification, if the device state table has records, whether the information is consistent or not is checked, the information is not consistent and updated, and if the node does not have records in the device state table, the node is a new access node, data records are newly added in the device state table. If the base unit does not have the heartbeat message of a certain node in the device resource table within the specified time, the node is considered to be absent, and the node data in the device resource table needs to be deleted.
c) Network switching module port NAPT based on SNMP
In the whole system, the network IP addresses of the internal nodes of each network are generally configured in the same way, and for realizing network communication among all nodes, the internal network and the external network need to be divided, and the internal network and the external network IP addresses are converted by the NAT technology, so that the network communication among nodes across the ad hoc network is realized.
The specific process of port address translation is shown in fig. 5. When a host in the private network communicates with an external network and a UDP datagram sent by the host passes through the NAT, the NAT device may assign a port to the private host according to a quadruple of a source address, a source port, a destination address, and a destination port. Meanwhile, the port is put into a mapping table corresponding to the private host address, and then the public network IP and the distributed port of the NAT are used for replacing a source IP and a source port in the UDP message. When the target host returns data, the NAT device can query the mapping table corresponding to the previous data and send the message to the client host in the intranet.
According to the scheme, the network address conversion function is realized by dynamically configuring the NAPT interface table and the configuration table of the network switching module based on the SNMP, and the network switching module realizes the identification and conversion of the network address, so that the consumption of the operation resources on the main processor board in the basic platform can be saved to the maximum extent, the CPU occupancy rate of the main processor board is greatly reduced, and the user resource perception and the operation quality of an application program are effectively ensured.
The base platform internal switching module VLAN partition and IP address assignment are shown in table 4.
Table 4 VLAN partitioning and IP address assignment examples
Figure BDA0003668746950000121
The network management software accesses and obtains the main processor board network card 1 through the DHCP: enp5s0f1, calculating and generating NAT unique exit address of the basic platform through the IP address, and performing data transmission through the network card 2: enp5s0f2 configures the network switching module using the SNMP protocol: dividing VLAN1, VLAN2 and VLAN 3; setting NAT address (external address 10.10.1.x), setting NAT address mapping table; setting a port 3# of a network switching module as an NAT outlet, configuring an IP address to be 128.0.1.x, and routing the port 3# to an NAT address (10.10.1. x); setting the 4# port to configure the NAT entry with an IP address of 128.0.0.1 (internal static address) while routing the 4# port to the 3# port. The downstream device of the internal switching module sets the gateway address as the 4# port IP address of the network switching module, so that a plurality of intranet users can share one external network IP address to access the external network, as shown in table 5.
Table 5 NAT address mapping table example
Device Internal network address External network address Port(s)
Basic platform 1 network card 1 —— 10.10.0.1
Basic platform 1 network card 2 192.168.1.1 10.10.1.1 1024
Device 1 192.168.1.2 10.10.1.1 1025
Device 2 192.168.1.3 10.10.1.1 1026
Device 3 192.168.1.4 10.10.1.1 1027
Basic platform 2 network card 1 —— 10.10.0.2
Basic platform 2 network card 2 192.168.1.1 10.10.1.2 1024
Device 1 192.168.1.2 10.10.1.2 1025
Device 2 192.168.1.3 10.10.1.2 1026
Device 3 192.168.1.4 10.10.1.2 1027
Basic platform 3 network card 1 —— 10.10.0.3
Basic platform 3 network card 2 192.168.1.1 10.10.1.3 1024
Device 1 192.168.1.2 10.10.1.3 1025
Device 2 192.168.1.3 10.10.1.3 1026
Device 3 192.168.1.4 10.10.1.3 1027
Basic platform 4 network card 1 —— 10.10.0.4
Basic platform 4 network card 2 192.168.1.1 10.10.1.4 1024
Device 1 192.168.1.2 10.10.1.4 1025
Device 2 192.168.1.3 10.10.1.4 1026
Device 3 192.168.1.4 10.10.1.4 1027
d) Network node resource and topology awareness scheme
The network management functions of the base platform include resource awareness (including network address management) for network nodes, full-network communication configuration and management for realizing NAT, and control over network traffic. A network-wide device status table is maintained on the base platform, and all functions of network management operate around the table. The device state table design is shown in table 6.
TABLE 6 Equipment status Table
Figure BDA0003668746950000141
When the basic platform equipment node is accessed to the wireless ad hoc network, the address allocation and management of the main processor board in the basic platform to the external network card are completed through DHCP or heartbeat messages, a piece of data is added in the equipment state table, and the obtained address is configured into the basic platform external network address of the node.
The basic platform device manages intranet device resources through a network device management technology based on SNMP, achieves state acquisition of internal devices, adds device resource information on a current node to a device state table, and updates the real-time state of the device when the state of the device changes.
The external network node resource perception is realized by sending a full-network heartbeat report to an external network card (enp5s0f1) through a main processor board in a basic platform at a certain period to acquire the state of the full-network resource, and then adding, modifying, inquiring, deleting and the like the network address of the resource are carried out on an equipment table. The specific operation is as follows:
a) sending a broadcast heartbeat message to an external network card (enp5s0f1) through a main processor board to inform the resource state of the nodes of the whole network basic platform;
b) after the basic platform receives heartbeat messages sent by other basic platform nodes, updating the equipment state table, searching whether the equipment is newly accessed through the node identification, if the equipment state table has records, checking whether the information is consistent, and updating if the information is inconsistent, and if the node does not have a record in the equipment state table, indicating that the node is a newly accessed node, newly adding a data record in the equipment state table;
c) if the heartbeat of a certain node in the device list disappears, if the other node base platforms do not receive a new heartbeat message within a specified time, the node is considered to be absent, and the node data in the device list needs to be deleted.
The domestic network resource dynamic sensing device designed by the invention fully considers the application characteristics of users based on wireless communication and data fusion processing during design, combines the advanced computer system architecture design, and has stronger advancement and feasibility in the aspects of network flow control, address conversion, network resource sensing, network management and the like. The basic platform realizes dynamic perception and IP address management of each network detection node, each computing node and each storage node in a local area network, simultaneously realizes wireless ad hoc network among a plurality of basic platforms through a wireless radio station, dynamically accesses internal node resources into the wireless ad hoc network, realizes node networking, has the capability of dynamic resource recombination, realizes perception of resources of the whole network by the basic platform in a communication mode of the resource state of each node, can effectively ensure real-time performance of data exchange, and reduces time delay.
The invention provides a method for realizing a domestic network resource dynamic sensing device, which aims to carry out deep research in the field of network resource dynamic sensing and provides a method for realizing the dynamic sensing and IP address management of each network detection node, calculation node and storage node, simultaneously, a plurality of basic platforms can realize wireless ad hoc network through a wireless radio station, and internal node resources are dynamically accessed into the wireless ad hoc network, thereby realizing node networking, having the capability of dynamic resource recombination, realizing the sensing of the resources of the whole network by the basic platforms through the communication mode of the resource state of each node, effectively ensuring the real-time performance of data exchange, and reducing time delay.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A domestic network resource dynamic sensing device is characterized in that the device comprises a basic platform, wherein the basic platform comprises a main processor board and a network switching module;
the basic platform is connected with a local area network and a wireless ad hoc network, in the local area network, the basic platform realizes dynamic perception and IP address management of each network node, meanwhile, the wireless ad hoc network is realized among a plurality of basic platforms through a wireless radio station, and resources of each network node in the local area network are dynamically accessed into the wireless ad hoc network;
a main processor board in the basic platform integrates five-way gigabit network cards enp2s0f3, enp2s0f2, enp5s0f0, enp5s0f1 and enp5s0f2, wherein 2-way gigabit cards are directly led out of external interfaces, namely enp2s0f3 and enp2s0f2, so that the main processor board of the basic platform is in direct communication with the outside;
the 2-path network cards enp5s0f0 and enp5s0f1 of the main processor board are respectively connected to the 1# port and the 2# port of the network switching module through SERDES, so as to realize indirect communication between the internal network and the external network;
the 1-path network card enp5s0f2 of the main processor board is connected with a management network port of the network switching module through 1000Base-T, so that the dynamic management and control of the port of the network switching module are realized;
the network switching module is divided into 3 VLANs which are respectively VLAN1, VLAN2 and VLAN 3;
VLAN1 is used for accessing of an internal switch of the local area network, comprises a 5# port, a 6# port, a 1# port and a 12# port, and is configured into a two-layer switch, and the 5# port is NAT access and is used for the request of the internal network for accessing an external network; the port 1# is connected with enp5s0f0 of the main processor board, and is used for sensing and managing the intranet node resources, acquiring the downstream equipment resources by the management software, and providing the network management software for configuring the internal switch of the network switching module; the 12# port is cascaded with an internal switch of the local area network;
VLAN2 is responsible for NAT switching of internal and external networks, comprises a 3# port, is an exit node of NAT, and is configured into a three-layer switch for realizing network address translation based on a network switching module NAPT;
VLAN3 connects the extranet, including 2# port, 4# port and 13# port, 13# port is connected with radio station, provide the wireless network interface to the outside; the 2# port is connected with a network card enp5s0f1 of a basic platform main processor board and used for the IP management of a basic platform node dynamic ad hoc network; the port # 4 is connected to the port # 3 of the VLAN2, and connects the NAT exit to the external network.
2. The device for dynamically sensing domestic network resources according to claim 1, wherein the hardware configuration of the base platform includes a chassis, a main processor board, a network switch module, a time system module, and a power module backplane, and 1 main processor board slot, 1 time system module slot, 1 network switch slot, and 1 power slot are configured, while 1 auxiliary processing module slot and 1 battery module slot are reserved.
3. A domestic network resource dynamic sensing device as claimed in claim 2, wherein the basic platform software system adopts a domestic operating system, namely a silver river kylin operating platform, and is divided into three levels, namely a firmware layer, a supporting layer and a middle layer according to the level; the firmware layer comprises a main processor board BMC, a power board BMC, a switching module BMC and a system board BMC; the support layer comprises an operating system, a basic development environment, main processor board driving software, display card driving software, network card driving software and an SNMP network agent; the middle layer comprises a test maintenance middleware, a time synchronization middleware and network equipment management software.
4. The dynamic domestic network resource awareness apparatus according to any one of claims 1-3, wherein the apparatus employs a DHCP-based dynamic allocation scheme for resource node IP addresses; after a basic platform main processor board is powered on, a DHCP service is started to dynamically acquire a unique IP address of the whole network and configure the unique IP address to a network card enp5s0f1 of the main processor board, the network card enp5s0f0 is statically configured, the IP address is in the same network segment with intranet downstream equipment, and the main processor board is communicated with an internal network and an external network through a network exchange module; the basic platform main processor board runs network management software, when the main processor board is started, a DHCP state is configured through a local network management configuration file, if the basic platform main processor board is used as a DHCP server, DHCP service is automatically loaded, an IP address of the main processor board enp5s0f1 is configured, connection of a DHCP client is waited, a network IP address is distributed for the DHCP client in an automatic distribution mode, and if the basic platform main processor board is used as the DHCP client, after the IP connection parameters distributed by the DHCP server are obtained, the network card enp5s0f1 is configured.
5. A domestic network resource dynamic sensing device as claimed in claim 4, wherein an intranet resource node is connected to a network switching module and then broadcasts and sends heartbeat messages at a certain period, a network card enp5s0f0 and a networking node are in the same network segment, IP addresses are pre-allocated, a device resource table is designed, and after UDP broadcast messages sent by the resource node are obtained, network addresses are added and updated to the device resource table; when the network card enp5s0f0 receives heartbeat messages sent by other nodes, the device state table is updated, whether the device is a newly accessed device is searched through a node identifier, if the device state table has records, whether the information is consistent or not is checked, the device state table is updated if the information is inconsistent, if the node has no record in the device state table, the node is a newly accessed node, a data record is newly added in the device state table, and if the basic unit does not have the heartbeat message of a certain node in the device resource table in the specified time, the node is considered to be absent, and the node data in the device resource table needs to be deleted.
6. The device for dynamically sensing domestic network resources according to claim 4, wherein after the network management software obtains the full-network unique IP address of the main processor board enp5s0f1 through DHCP access, the NAT unique egress address of the base platform is generated through calculation of the IP address, and the network switching module is configured through enp5s0f2 by using SNMP protocol: dividing VLAN1, VLAN2 and VLAN 3; setting an NAT address and setting an NAT address mapping table; setting the port 3# of the network switching module as an NAT outlet, configuring an IP address to be 128.0.1.x, and routing the port 3# to the NAT address; setting the 4# port as an IP address 128.0.0.1 configured for the NAT entrance, and simultaneously routing the 4# port to the 3# port; the downstream equipment of the internal exchange module sets the gateway address as the 4# port IP address of the network exchange module, so that a plurality of internal network users can share one external network IP address to access the external network.
7. A device as recited in claim 4, wherein the network management functions of the base platform include resource awareness for network nodes, full-network communication configuration and management for implementing NAT, and network traffic control, and a full-network device status table is maintained on the base platform, and network management operates around the table.
8. A domestic network resource dynamic sensing device as claimed in claim 7, wherein when a node of a base platform device is connected to a wireless ad hoc network, the address allocation and management of the main processor board in the base platform to the external network card is completed through DHCP or heartbeat message, a piece of data is added to the device status table, and the obtained address is configured to the base platform external network address of the node.
9. A domestic network resource dynamic sensing device as claimed in claim 7, wherein the base platform device manages intranet device resources through SNMP-based network device management technology, realizes state acquisition of internal devices, adds device resource information on the current node to the device state table, and updates the real-time state of the device when the state of the device changes.
10. A domestic network resource dynamic sensing device as claimed in claim 7, wherein the external network node resource sensing is implemented by sending a full network heartbeat report to the external network card enp5s0f1 through the main processor board in the base platform at a certain period to obtain the state of the full network resource, and then performing network address adding, modifying, querying and deleting operations of the resource on the device table, which comprises the following specific processes:
sending a broadcast heartbeat message to the external network card enp5s0f1 through the main processor board to inform the resource state of the whole network basic platform node;
after the basic platform receives heartbeat messages sent by other basic platform nodes, updating the equipment state table, searching whether the equipment is newly accessed through the node identification, if the equipment state table has records, checking whether the information is consistent, and updating if the information is inconsistent, and if the node does not have a record in the equipment state table, indicating that the node is a newly accessed node, newly adding a data record in the equipment state table;
if the heartbeat of a certain node in the device list disappears, if the other node base platforms do not receive a new heartbeat message within a specified time, the node is considered to be absent, and the node data in the device list needs to be deleted.
CN202210598626.1A 2022-05-30 2022-05-30 Domestic network resource dynamic sensing device Active CN114978854B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210598626.1A CN114978854B (en) 2022-05-30 2022-05-30 Domestic network resource dynamic sensing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210598626.1A CN114978854B (en) 2022-05-30 2022-05-30 Domestic network resource dynamic sensing device

Publications (2)

Publication Number Publication Date
CN114978854A true CN114978854A (en) 2022-08-30
CN114978854B CN114978854B (en) 2023-10-31

Family

ID=82956896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210598626.1A Active CN114978854B (en) 2022-05-30 2022-05-30 Domestic network resource dynamic sensing device

Country Status (1)

Country Link
CN (1) CN114978854B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252509A (en) * 2007-02-21 2008-08-27 华耀环宇科技有限公司 Dynamic system and method for virtual private network (VPN) information packet level routing using dual-NAT method
US20100115113A1 (en) * 1998-12-08 2010-05-06 Nomadix, Inc. Systems and methods for providing dynamic network authorization, authentication and accounting
US7808960B1 (en) * 2006-05-25 2010-10-05 The Hong Kong University Of Science And Technology Wireless infrastructure and ad hoc network integration
CN205265929U (en) * 2015-12-09 2016-05-25 江苏大学 OBU system that a lot of net inserted in networking of 5G car
CN107968770A (en) * 2016-10-19 2018-04-27 北京计算机技术及应用研究所 Network firewall and its data processing method based on domestic autonomous hardware and software platform
CN207543139U (en) * 2017-11-10 2018-06-26 江苏大学 A kind of credible onboard system of the multi-internet integration based on TPM
CN108282354A (en) * 2017-11-10 2018-07-13 西安电子科技大学 Shared vehicle self-organizing network framework method based on SDN
US20200137023A1 (en) * 2018-10-31 2020-04-30 EMC IP Holding Company LLC Distributed network internet protocol (ip) address management in a coordinated system
CN112333713A (en) * 2020-10-27 2021-02-05 广东工贸职业技术学院 5G ad hoc network system, ad hoc network method, computer device and storage medium
CN113630345A (en) * 2021-09-07 2021-11-09 天津津航计算技术研究所 Domestic 24-port 6U _ VPX three-layer gigabit network switching module

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100115113A1 (en) * 1998-12-08 2010-05-06 Nomadix, Inc. Systems and methods for providing dynamic network authorization, authentication and accounting
US7808960B1 (en) * 2006-05-25 2010-10-05 The Hong Kong University Of Science And Technology Wireless infrastructure and ad hoc network integration
CN101252509A (en) * 2007-02-21 2008-08-27 华耀环宇科技有限公司 Dynamic system and method for virtual private network (VPN) information packet level routing using dual-NAT method
CN205265929U (en) * 2015-12-09 2016-05-25 江苏大学 OBU system that a lot of net inserted in networking of 5G car
CN107968770A (en) * 2016-10-19 2018-04-27 北京计算机技术及应用研究所 Network firewall and its data processing method based on domestic autonomous hardware and software platform
CN207543139U (en) * 2017-11-10 2018-06-26 江苏大学 A kind of credible onboard system of the multi-internet integration based on TPM
CN108282354A (en) * 2017-11-10 2018-07-13 西安电子科技大学 Shared vehicle self-organizing network framework method based on SDN
US20200137023A1 (en) * 2018-10-31 2020-04-30 EMC IP Holding Company LLC Distributed network internet protocol (ip) address management in a coordinated system
CN112333713A (en) * 2020-10-27 2021-02-05 广东工贸职业技术学院 5G ad hoc network system, ad hoc network method, computer device and storage medium
CN113630345A (en) * 2021-09-07 2021-11-09 天津津航计算技术研究所 Domestic 24-port 6U _ VPX three-layer gigabit network switching module

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
YUH-SHYAN CHEN; CHIH-SHUN HSU; WEI-HAN YI: "An IP Passing Protocol for Vehicular Ad Hoc Networks with Network Fragmentations", 2011 FIFTH INTERNATIONAL CONFERENCE ON INNOVATIVE MOBILE AND INTERNET SERVICES IN UBIQUITOUS COMPUTING *
王悦;: "基于移动IP技术的移动自组网地址自动配置方法设计", 电子设计工程, no. 12 *

Also Published As

Publication number Publication date
CN114978854B (en) 2023-10-31

Similar Documents

Publication Publication Date Title
EP2748992B1 (en) Method for managing network hardware address requests with a controller
US20020133583A1 (en) Distributed chassis agent for network management
CN114024880B (en) Network target range probe acquisition method and system based on proxy IP and flow table
EP4231597A1 (en) Method for forwarding bier message, and device and system
WO2015066840A1 (en) Device and method for network address conversion
US9231848B2 (en) Method and system for an overlay management control network
EP3493483A1 (en) Virtual broadband access method, controller, and system
CN108337179B (en) Link flow control method and device
WO2022017099A1 (en) Communication method, cp device, and nat device
CN107196837B (en) Multi-data service comprehensive networking method based on VLAN division application
CN110519075A (en) The communication system and method for physical host and virtual cloud host based on SDN
CN112769602B (en) System and method for unified configuration management of white box switch and network operating system
WO2021022806A1 (en) Network system, method, and communication device for centralized processing of network services
CN113660164B (en) Message forwarding method and network equipment
CN104734930B (en) Method and device for realizing access of Virtual Local Area Network (VLAN) to Variable Frequency (VF) network and Fiber Channel Frequency (FCF)
CN101729355A (en) Method for realizing particular virtual local area network and device
WO2017063511A1 (en) Sdn-based residential cell network control system
CN110851238A (en) Implementation method of openstack fully-distributed dhcp service
CN104539539A (en) Multi-service-board data forwarding method for AC device
WO2021147357A1 (en) Method, device, and system for distributing routing information
CN114978854A (en) Domestic network resource dynamic sensing device
CN115987915A (en) Message forwarding method for virtual switch and related equipment
Wang et al. A SDN-based heterogeneous networking scheme for profinet and Modbus Networks
CN112203302B (en) Access equipment configuration method and network management system
CN115333819A (en) Remote network access system and communication method

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