A digital asset network topology dynamic generation method, system, device and storage medium
By automatically collecting network topology data through ubiquitous sensing data packets, the problems of errors and omissions and operational complexity in network asset management are solved, achieving efficient and accurate topology display and reducing labor costs and data collection difficulty.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- EASTCOM NETWORK SECURITY (SHENZHEN) TECH CO LTD
- Filing Date
- 2023-07-13
- Publication Date
- 2026-05-26
AI Technical Summary
Existing technologies for network asset management suffer from numerous errors, untimely updates, complex operations, and low accuracy. Furthermore, existing detection methods can impact the network, have high operational barriers, and present data in a less intuitive manner.
By constructing ubiquitous sensing data packets, network topology data is automatically collected, the physical and logical relationships between devices are intelligently identified, a network topology map is generated, and ubiquitous sensing technology is used to send data packets and resend them to cover all transmission paths, and node and link information is collected.
It enables efficient, accurate, and intuitive topology display for network asset management, reduces operational complexity and labor costs, and improves the comprehensiveness and accuracy of data collection.
Smart Images

Figure CN116781530B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer network technology, and more specifically, to a method, system, device, and storage medium for dynamically generating digital asset network topology. Background Technology
[0002] As enterprises' demand for digital information grows exponentially and networks become larger, the management of network assets becomes increasingly complex. In the past, network assets were mostly managed in tabular form by manual registration or manual entry into information systems. The complex link relationships between network devices also needed to be set manually, which easily led to errors, omissions, and untimely updates. As a result, enterprises themselves did not know how many network assets they had or their location and status in the existing network space.
[0003] The existing main methods of network asset detection are active and passive detection through a combination of multiple protocols such as SNMP, ICMP, and TCP. This not only affects the existing network but also has a high operational threshold, requiring a certain technical background to complete. The operation is complex and cumbersome with low accuracy, often requiring manual intervention for screening and confirmation, which increases labor costs. Furthermore, the collected asset data is generally presented in text and list formats, which is not intuitive or three-dimensional. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to address the above-mentioned shortcomings of the prior art. The purpose of the present invention is to provide a method for dynamically generating digital asset network topology.
[0005] The second objective of this invention is to provide a dynamic generation system for digital asset network topology.
[0006] The third objective of this invention is to provide a computer device.
[0007] The fourth objective of this invention is to provide a computer storage medium.
[0008] To achieve the first objective mentioned above, this invention provides a method for dynamically generating digital asset network topology. By sending a ubiquitous sensing data packet to the target network, the data packet automatically collects network topology data during transmission and intelligently identifies the physical and logical relationships between network devices. Finally, the network topology map is automatically generated through the structured topology data.
[0009] As a further improvement, the following steps are included:
[0010] Step S1. Construct the ubiquitous awareness data packet structure;
[0011] Step S2. Pre-collect information on at least one IP segment in the current network space to form a target dataset of ubiquitous sensing data packets;
[0012] Step S3. Send ubiquitous sensing data packets to the target network;
[0013] Step S4. Ubiquitous sensing data packets collect context information, node information, and link information during the transmission process;
[0014] Step S5. Complete the network topology drawing based on the node information and link information collected by the ubiquitous sensing data packets.
[0015] Furthermore, the structure of the ubiquitous sensing data packet is: frame header + IPv header + UDP header + ubiquitous sensing message + frame trailer.
[0016] Furthermore, the UDP header is added by the transport layer to the payload, which includes a UDP segment and a port number, and then the UDP segment is passed to the network layer.
[0017] The IPv6 header is an IP segment with the current machine's IP address and the destination IP address added before the UDP segment by the network layer, and then the IP segment is passed to the data link layer.
[0018] The frame header is the MAC address of the current machine and the destination MAC address added before the IPv6 segment by the data link layer. The data with the MAC address added is called a frame. Then, the physical network card sends and receives this frame as a byte stream over the network.
[0019] Ubiquitous sensing messages utilize the scalable structure of ICMPv6, which supports timeout and destination unreachable messages, to encapsulate ubiquitous sensing data messages within ICMPv6 messages for transmission.
[0020] Furthermore, the ubiquitous sensing message consists of a header and a body. The header includes the type and code, while the body includes node information and parent node information.
[0021] Furthermore, in step S3, ubiquitous sensing data packets are repeatedly sent to the target network to cover all transmission paths as comprehensively as possible.
[0022] Furthermore, the link information includes the association information between nodes and the hierarchical information.
[0023] To achieve the second objective mentioned above, this invention provides a dynamic generation system for digital asset network topology, comprising:
[0024] Modules for building ubiquitous awareness data packet structures;
[0025] The IP segment collection module is used to collect information on at least one IP segment in the current network space in advance, forming a target dataset of ubiquitous sensing data packets;
[0026] The sending module is used to send ubiquitous sensing data packets to the target network.
[0027] The information collection module is used to collect context information, node information, and link information during the transmission process of ubiquitous sensing data packets;
[0028] The drawing module is used to draw network topology diagrams based on node and link information collected from ubiquitous sensing data packets.
[0029] To achieve the third objective mentioned above, the present invention provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the above-mentioned method for dynamically generating a digital asset network topology.
[0030] To achieve the fourth objective mentioned above, the present invention provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the above-mentioned method for dynamically generating a digital asset network topology.
[0031] Beneficial effects
[0032] Compared with the prior art, the advantages of this invention are as follows:
[0033] 1. Ubiquitous sensing technology, by employing packet-by-packet analysis and network layer matching techniques, can accurately identify specific node types and topology layers in the network.
[0034] 2. By sending a certain number of ubiquitous sensing data packets to the target network, network topology detection can be achieved. The operation is simple and flexible. Attached Figure Description
[0035] Figure 1 This is a flowchart of the method of the present invention;
[0036] Figure 2 This is a structural diagram of the ubiquitous sensing data packet in this invention;
[0037] Figure 3 This is a structural diagram of the ubiquitous sensing message in this invention;
[0038] Figure 4 This is a flowchart of the detection process for ubiquitous sensing data packets in this invention. Detailed Implementation
[0039] The present invention will be further described below with reference to specific embodiments shown in the accompanying drawings.
[0040] See Figures 1-4 A method for dynamically generating network topology for digital assets is proposed. By sending a ubiquitous sensing data packet to the target network, the data packet can automatically, efficiently, and accurately collect network topology data (network topology nodes, i.e. network units, including data processing, data control, data terminal equipment, and links) during transmission, and intelligently identify the physical and logical relationships between network devices. Finally, the network topology map is automatically generated through structured topology data, which can comprehensively and completely present the network topology structure, making the management of network assets more intuitive and efficient.
[0041] This method specifically includes the following steps:
[0042] Step S1. Construct the ubiquitous awareness data packet structure;
[0043] Step S2. Pre-collect information on at least one IP segment in the current network space to form a target dataset of ubiquitous sensing data packets;
[0044] Step S3. Send ubiquitous sensing data packets to the target network;
[0045] Step S4. Ubiquitous sensing data packets collect context information, node information, and link information during the transmission process;
[0046] Step S5. Based on the node and link information collected from the ubiquitous sensing data packets, complete the network topology diagram drawing. The link information includes the relationship information and hierarchical information between nodes. Drawing the topology is essentially presenting the connection status of devices in a certain way, starting from the core, such as in a star or pyramid shape.
[0047] The structure of a ubiquitous sensing data packet is: frame header + IPv3 header + UDP header + ubiquitous sensing message + frame trailer, as follows: Figure 2 As shown, based on the OSI seven-layer network model, the complete structure of the above packet is defined in the state of the data link layer.
[0048] The UDP header is created by the transport layer adding a UDP segment and marking the port number before passing the UDP segment to the network layer.
[0049] The IPv6 header is an IP segment that the network layer adds to the beginning of a UDP segment by adding the IP address of the current machine and the destination IP address, and then passes the IP segment to the data link layer.
[0050] The frame header is the MAC address of the current machine and the destination MAC address added before the IPv6 segment by the data link layer. The data with the MAC address added is called a frame, and then the physical network card sends and receives this frame as a byte stream over the network.
[0051] Ubiquitous sensing messages utilize the scalable features of ICMPv6, which supports timeout (type 3) and destination unreachable (type 1) message structures, to encapsulate ubiquitous sensing data messages within ICMPv6 messages for transmission.
[0052] A ubiquitous sensing message consists of a header and a body. The header includes the type and code; the body includes node information and information about the parent node, such as... Figure 3 As shown.
[0053] The types are defined in Table 1 below:
[0054]
[0055]
[0056] Table 1
[0057] The code is defined in Table 2 below:
[0058] code illustrate use 0 router 1 computer 2 switch
[0059] Table 2
[0060] The data structure is defined in Table 3 below:
[0061] Fields illustrate Remark Type type See type definition table Code code See code definition table IP Current node IP Cannot be empty P_IP upstream node IP The starting node can be empty. MAC Current node MAC Can be empty P_MAC MAC address of the parent node Can be empty Time Unix timestamps Current time
[0062] Table 3
[0063] In step S3, ubiquitous sensing data packets can be repeatedly sent to the target network to cover all transmission paths as comprehensively as possible.
[0064] Ubiquitous Awareness (UP) packet inspection is a network topology environment detection technology based on the UDP protocol. A network management system based on ubiquitous awareness technology sends a certain number of ubiquitous awareness packets to any node in the target network. The payload of these packets extends the information of the transport layer, network layer, and data link layer of the OSI seven-layer model, thereby obtaining data from each node through which the data flow passes. Due to the randomness of network transmission, a strategy of repeated transmission is adopted to cover more transmission paths, ensuring that the collected network topology node data is sufficiently comprehensive, providing data support for the subsequent generation of a network topology map. The detection process is as follows: Figure 4 As shown.
[0065] In step S4, the traceroute (tracert on Windows) command based on UDP is used to probe the network path: UDP ubiquitous awareness packets with decreasing TTL fields are sent sequentially, and the TTL field is decremented by 1 for each router along the way. If the TTL field is 0, an ICMPv6 timeout message is replied (carrying a ubiquitous awareness message, the message structure of which is defined in step S1).
[0066] Upon reaching the destination host, to prevent the host from discarding the data packet without returning any information due to the lack of UDP service, Traceroute is designed to send a destination port number greater than 30000 (UDP protocol stipulates that the port number must be less than 30000) to force the target host to return an ICMPv6 message (carrying a ubiquitous awareness message, the message structure of which is defined in step S1) indicating that the port is unreachable. The sending end uses this as the end marker for tracing, thereby collecting information on all nodes (including routes, switches, hosts, etc.) and links (hierarchical relationships between nodes) that the UDP ubiquitous awareness data packet passes through to reach the target host.
[0067] A dynamic generation system for digital asset network topology, comprising:
[0068] Modules for building ubiquitous awareness data packet structures;
[0069] The IP segment collection module is used to collect information on at least one IP segment in the current network space in advance, forming a target dataset of ubiquitous sensing data packets;
[0070] The sending module is used to send ubiquitous sensing data packets to the target network.
[0071] The information collection module is used to collect context information, node information, and link information during the transmission process of ubiquitous sensing data packets;
[0072] The drawing module is used to draw network topology diagrams based on node and link information collected from ubiquitous sensing data packets.
[0073] A computer device includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the above-described method for dynamically generating a digital asset network topology.
[0074] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method for dynamically generating a digital asset network topology.
[0075] The above are merely preferred embodiments of the present invention. It should be noted that those skilled in the art can make several modifications and improvements without departing from the structure of the present invention, and these will not affect the effectiveness of the implementation of the present invention or the practicality of the patent.
Claims
1. A method for dynamically generating a digital asset network topology, the method comprising: receiving a plurality of digital asset network topology requests; and generating a digital asset network topology based on the plurality of digital asset network topology requests. By sending a ubiquitous sensing data packet to the target network, the data packet automatically collects network topology data during transmission and intelligently identifies the physical and logical relationships between network devices, ultimately generating a network topology map automatically through structured topology data. Includes the following steps: Step S1. Construct the ubiquitous awareness data packet structure; Step S2. Pre-collect information on at least one IP segment in the current network space to form a target dataset of ubiquitous sensing data packets; Step S3. Send ubiquitous sensing data packets to the target network; Step S4. Ubiquitous sensing data packets collect context information, node information, and link information during the transmission process; Step S5. Draw the network topology map based on the node information and link information collected by the ubiquitous sensing data packets; The structure of a ubiquitous sensing data packet is: frame header + IPv header + UDP header + ubiquitous sensing message + frame trailer; The UDP header is added by the transport layer to the payload, along with the port number, and then the UDP header is passed to the network layer. The IPv6 header is an IP segment with the current machine's IP address and the destination IP address added before the UDP segment by the network layer, and then the IP segment is passed to the data link layer. The frame header is the MAC address of the current machine and the destination MAC address added before the IPv6 segment by the data link layer. The data with the MAC address added is called a frame. Then, the physical network card sends and receives this frame as a byte stream over the network. Ubiquitous sensing messages utilize the scalable structure of ICMPv6, which supports timeout and destination unreachable messages, to encapsulate ubiquitous sensing data messages within ICMPv6 messages for transmission. The ubiquitous sensing message consists of a header and a body. The header includes the type and code, while the body includes information about the current node and the parent node.
2. The method of claim 1, wherein, In step S3, ubiquitous sensing data packets are repeatedly sent to the target network to cover all transmission paths as comprehensively as possible.
3. The method of claim 1, wherein, Link information includes the association information between nodes and hierarchical information.
4. A digital asset network topology dynamic generation system, characterized in that, include: Modules for building ubiquitous awareness data packet structures; The IP segment collection module is used to collect information on at least one IP segment in the current network space in advance, forming a target dataset of ubiquitous sensing data packets; The sending module is used to send ubiquitous sensing data packets to the target network. The information collection module is used to collect context information, node information, and link information during the transmission process of ubiquitous sensing data packets; The drawing module is used to draw network topology diagrams based on node and link information collected from ubiquitous sensing data packets. The structure of a ubiquitous sensing data packet is: frame header + IPv header + UDP header + ubiquitous sensing message + frame trailer; The UDP header is added by the transport layer to the payload, along with the port number, and then the UDP header is passed to the network layer. The IPv6 header is an IP segment with the current machine's IP address and the destination IP address added before the UDP segment by the network layer, and then the IP segment is passed to the data link layer. The frame header is the MAC address of the current machine and the destination MAC address added before the IPv6 segment by the data link layer. The data with the MAC address added is called a frame. Then, the physical network card sends and receives this frame as a byte stream over the network. Ubiquitous sensing messages utilize the scalable structure of ICMPv6, which supports timeout and destination unreachable messages, to encapsulate ubiquitous sensing data messages within ICMPv6 messages for transmission. The ubiquitous sensing message consists of a header and a body. The header includes the type and code, while the body includes information about the current node and the parent node. 5.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer device is configured to perform the method according to any one of claims 1-4 when the computer program is executed by the processor. When the processor executes the computer program, it implements a method for dynamically generating a digital asset network topology according to any one of claims 1 to 3.
6. A computer-readable storage medium having stored thereon a computer program, characterized in that, When the computer program is executed by the processor, it implements a method for dynamically generating a digital asset network topology according to any one of claims 1 to 3.