Network topology method, device, equipment and storage medium based on local multi-device cluster
By acquiring and parsing routing data in a local multi-device cluster network and using an intelligent routing selection algorithm to determine the target address, the cloud dependency and data security issues in existing technologies are resolved, efficient and secure data transmission is achieved, and the stability and real-time performance of the network are improved.
Patent Information
- Application Number
- CN202411583536.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-07
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2044-11-07
AI Technical Summary
Existing computer cluster technology relies on the cloud, has network dependence and data security issues, and fails to effectively integrate domain controllers, affecting the agility and real-time performance of software development.
By obtaining routing data based on the first preset network segment, parsing the data header for verification, using the intelligent routing selection algorithm of machine learning to determine the target address, and sending the routing data through the second preset network segment, it is ensured that the data reaches the target address efficiently and accurately.
It realizes efficient and reliable data transmission process, improves network stability and transmission efficiency, ensures the security and real-time performance of data transmission, and adapts to the dynamically changing network environment.
Smart Images

Figure CN119484294B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer network technology, and in particular to a network topology method, apparatus, device, and storage medium based on a local multi-device cluster. Background Art
[0002] With the increasing number of compute-intensive applications, particularly in the field of intelligent driving software development, the demand for computing power is also growing. These applications require powerful processing capabilities, but the limited computing resources of traditional mainframes or single machines make it difficult to meet these complex computing needs. Furthermore, high-performance computing resources are often expensive, hindering cost control and the widespread use of resources.
[0003] Currently, computer clustering technology is widely used to address the limited computing power of individual computers. By pooling the computing power of multiple computers, a larger computer service system, or cluster, is formed. These cluster nodes can work together to provide users with applications, system resources, and data, managed as a single system. This approach improves performance while also enhancing resource cost-effectiveness and system availability.
[0004] While computer cluster technology has addressed computing power challenges to some extent, these approaches are typically cloud-based, requiring high network requirements and posing potential data security risks. Furthermore, these cluster architectures often lack proper integration with the vehicle's domain controller, making it difficult to connect and debug the host computer and domain controller, limiting the agility and real-time nature of software development. Therefore, building a secure and efficient local multi-device cluster network has become a pressing issue. Summary of the Invention
[0005] The purpose of this application is to provide a network topology method, apparatus, device and storage medium based on a local multi-device cluster, aiming to solve the technical problem of how to build a secure and efficient local multi-device cluster network.
[0006] To achieve the above objectives, the present application proposes a network topology method based on a local multi-device cluster, the method comprising:
[0007] Acquiring routing data based on a first preset network segment;
[0008] Obtaining a target address according to the routing data;
[0009] The routing data is sent to the target address based on a second preset network segment.
[0010] In one embodiment, routing data is obtained based on a first preset network segment, wherein the routing data includes virtual terminal data and computer hardware data, the routing data is obtained by querying a first routing table based on the virtual terminal data and the computer hardware data, the virtual terminal data includes compiled data, the compiled data is obtained based on an established security protocol, and the compiled data includes code repository data and image repository data.
[0011] In one embodiment, before obtaining the target address according to the routing data, the method further includes:
[0012] obtaining a data header based on the routing data;
[0013] Verifying the data header to obtain a verification result;
[0014] If the verification result is correct, the target address is obtained;
[0015] If the check result is an error, an error message is sent to the router, so that the router sends the error message to the corresponding terminal to complete the error report.
[0016] In one embodiment, obtaining the target address according to the routing data includes:
[0017] obtaining an initial address based on the routing data;
[0018] A second routing table is queried based on the initial address to obtain a target address, wherein the routing table includes a mapping relationship between the initial address and the target address.
[0019] In one embodiment, before sending the routing data to the target address based on the second preset network segment, the method includes:
[0020] Obtaining a response request sent by the domain controller, where the response request is generated based on the sent connection request;
[0021] Based on the response request, the routing data is segmented and encapsulated into data packets.
[0022] In one embodiment, sending the routing data to the target address based on the second preset network segment includes:
[0023] Based on the target address, determining a second preset network segment and a corresponding target interface;
[0024] Intelligent routing selection algorithm based on machine learning to obtain historical traffic data and real-time network status;
[0025] Determining a transmission path based on the historical traffic data and the real-time network status;
[0026] The routing data is sent to the target interface through the sending path.
[0027] In one embodiment, after sending the routing data to the target address based on the second preset network segment, the method further includes:
[0028] Based on the target address, obtaining device status information;
[0029] Based on the first preset network segment and the second preset network segment, the device status information is sent to the corresponding terminal.
[0030] In addition, to achieve the above objectives, the present application also proposes a network topology device based on a local multi-device cluster, the device comprising:
[0031] An acquisition module, configured to acquire routing data based on a first preset network segment;
[0032] An obtaining module, configured to obtain a target address according to the routing data;
[0033] A sending module is used to send the routing data to the target address based on a second preset network segment.
[0034] In addition, to achieve the above-mentioned purpose, the present application also proposes a network topology device based on a local multi-device cluster, the device including: a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being configured to implement the steps of the network topology method based on a local multi-device cluster as described above.
[0035] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the network topology method based on the local multi-device cluster as described above are implemented.
[0036] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the steps of the network topology method based on the local multi-device cluster as described above.
[0037] One or more technical solutions proposed in this application have at least the following technical effects:
[0038] This application first collects and identifies the routing information of the first preset network segment in the network, laying the foundation for subsequent data transmission. Then, after obtaining the routing data, it parses this data to determine the final destination of the data transmission, that is, the target address. Finally, the routing data is sent to the target address through the second preset network segment, wherein the optimal transmission path is determined to ensure that the data can reach the target address efficiently and accurately. This application implements an efficient and reliable data transmission process. The entire process not only improves the accuracy of data transmission, but also enhances the stability and transmission efficiency of the network. This process design enables the network to better adapt to the dynamically changing network environment, while ensuring the security and real-time performance of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0040] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0041] Figure 1 A flowchart of the first embodiment of the network topology method based on a local multi-device cluster provided in this application;
[0042] Figure 2 A flowchart of the second embodiment of the network topology method based on a local multi-device cluster provided by this application;
[0043] Figure 3 This is a schematic diagram of the module structure of a network topology device based on a local multi-device cluster according to an embodiment of the present application;
[0044] Figure 4 This is a schematic diagram of the device structure of the hardware operating environment involved in the network topology method based on a local multi-device cluster in an embodiment of the present application.
[0045] The purpose, features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0046] It should be understood that the specific embodiments described herein are merely used to explain the technical solutions of the present application and are not intended to limit the present application.
[0047] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0048] With the increasing number of compute-intensive applications, particularly in the field of intelligent driving software development, the demand for computing power is also growing. These applications require powerful processing capabilities, but the limited computing resources of traditional mainframes or single machines make it difficult to meet complex computing needs. Furthermore, high-performance computing resources are often expensive, which hinders cost control and widespread resource utilization. To overcome the limitations of single machines, computer cluster technology is widely used, which improves performance and resource utilization efficiency by allowing multiple computers to work together. However, existing cluster technologies often rely on the cloud, which leads to network dependency and data security issues, and fail to effectively integrate domain controllers, affecting the agility and real-time nature of software development.
[0049] The main solution of the embodiment of the present application is as follows: the present application first collects and identifies the routing information of the first preset network segment in the network, laying the foundation for subsequent data transmission. Then, after obtaining the routing data, the data is parsed to determine the final destination of the data transmission, that is, the target address. Finally, the routing data is sent to the target address through the second preset network segment, wherein the optimal transmission path is determined to ensure that the data can reach the target address efficiently and accurately. The present application implements an efficient and reliable data transmission process. The entire process not only improves the accuracy of data transmission, but also enhances the stability and transmission efficiency of the network. Such a process design enables the network to better adapt to the dynamically changing network environment, while ensuring the security and real-time performance of data transmission.
[0050] It should be noted that the execution subject of the embodiments of the present application can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, mobile phone, etc., or an electronic device capable of performing the above functions. The following uses a Linux soft router as an example to illustrate this embodiment and the following embodiments.
[0051] Based on this, the embodiment of the present application provides a network topology method based on a local multi-device cluster, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the network topology method based on a local multi-device cluster of this application.
[0052] In this embodiment, the network topology method based on a local multi-device cluster includes steps S10 to S30:
[0053] Step S10, obtaining routing data based on the first preset network segment;
[0054] It should be noted that the first preset network segment can be a specific IP address range predefined in the network design for specific network communication purposes. In this context, the first preset network segment can be a specific subnet used to handle routing data and communications within the network. This network segment can be set for specific network functions or performance optimization. For example, in a cluster network, different network segments may serve different devices or services to improve network organization and efficiency. Routing data is information used to guide the transmission of data packets within the network. This includes but is not limited to the destination IP address, source IP address, MAC address, port number, and path information used to determine how data packets are transmitted from source to destination. Routing data can include static routing information or information generated by dynamic routing protocols. It helps routers or switches determine how to handle traversing network traffic and ensure that data packets are correctly forwarded to their destinations. For example, the first preset network segment can be segment 128, and the corresponding routing data is obtained through the IP address 192.168.128.1.
[0055] It can be understood that the process of collecting and processing network routing information is done through a specific IP address range predefined in the network topology, namely the first preset network segment. Within this network segment, routers or network devices collect key information such as network paths, device status, and traffic patterns based on network protocols and rules in routing tables. This information is collectively referred to as routing data. Routing data includes not only the destination and source IP addresses, but may also include MAC addresses, port numbers, priority, hop count, and other information, which together guide how data packets are accurately transmitted from sender to receiver. This process is crucial for maintaining network connectivity and optimizing data transmission efficiency, as it ensures that network traffic can be correctly directed and forwarded based on real-time conditions and predetermined policies. In the context of intelligent driving software development, this step is particularly important as it supports data exchange during remote development, compilation, and debugging, ensuring that developers can efficiently access and operate distributed network resources.
[0056] As an example, routing data is obtained based on a first preset network segment, wherein the routing data includes virtual terminal data and computer hardware data, and the routing data is obtained by querying a first routing table based on the virtual terminal data and the computer hardware data, and the virtual terminal data includes compilation data, and the compilation data is obtained based on an established security protocol, and the compilation data includes code repository data and image repository data.
[0057] Among them, virtual terminal data and computer data can be all information related to user interactions and application operations in a virtualized environment, involving programming, debugging, and testing activities performed by developers using virtual terminals and computer terminals. Data generated by these activities, such as code changes, test results, and user input, are also part of the virtual terminal data and computer terminal. The first routing table can be a database used to determine packet forwarding paths in a network. It contains routing information between nodes in the network, including the optimal path from the source address to the destination address. This table is dynamically generated based on the network topology and communication rules and is used to guide routers or switches in packet forwarding. Compilation data can be the intermediate or target code generated by compilers during the software development process after source code is processed. This data, including executable files and library files, is the foundation for software deployment and operation. Security protocols can be a set of rules and standards used to ensure the security of data transmission in network communications. These protocols can include Transport Layer Security (TLS), Secure Sockets Layer (SSL), and Internet Protocol Security (IPsec), which ensure the confidentiality, integrity, and authentication of data during transmission. Code repository data can be source code, documents, configuration files, etc. stored in a code repository (such as a Git repository). These data are the basis of software development and are used for version control and collaborative development. Image repository data can be data used to store container images in containerization technology (such as Docker). These images contain the code, runtime, libraries, environment variables, and configuration files required to run applications. The image repository is used to manage and distribute these container images to facilitate the rapid deployment and expansion of applications. For example, a user logs in to a virtual terminal (multiple high-performance servers for software development, equipped with high-performance CPUs and graphics cards) or a local computer based on the SSH security protocol. These are all located in the 32 network segment. By obtaining the Gitlab code repository and Registry image repository deployed therein, the image is pulled from the Registry repository to build Docker, the program source code is pulled from the local Gitlab repository, the code is written and modified, and the code is passed to Docker for compilation to obtain an executable program. The executable program is then transferred from the 32 network segment to the 128 network segment by querying the first routing table.
[0058] Step S20, obtaining a target address according to the routing data;
[0059] It should be noted that the destination address can be a specific receiving point in the network, that is, the network address of the final destination to which the data packet or information needs to be sent. This address can be an IP address, MAC address, or a higher-layer logical address, depending on the network protocol and context. The destination address is key information used in network communications to guide the transmission of data packets to the correct destination. It ensures that data in the network can be accurately delivered to the intended recipient. In the intelligent driving software development network topology, the destination address is often associated with key components such as domain controllers to support remote development and testing activities.
[0060] It is understood that during network communications, collected routing data, including virtual terminal data and computer hardware data, as well as possible compilation data and security protocol information, is used to determine the network address of the final destination to which the data packet should be sent. This destination address, which can be an IP address or MAC address, indicates the final path and destination of the data packet within the network, ensuring that the data is accurately transmitted to the intended receiving point, such as the domain controller or other key network equipment in the development of intelligent driving software. This process is critical to maintaining the accuracy and efficiency of network communications.
[0061] As an example, before obtaining the target address according to the routing data, it also includes: obtaining a data header based on the routing data; verifying the data header to obtain a verification result; if the verification result is correct, obtaining the target address; if the verification result is incorrect, sending an error message to the router, so that the router sends the error message to the corresponding terminal to complete the error report.
[0062] The data header is control information appended to the front of a data packet. It contains important metadata for network communication, such as the source address, destination address, protocol type, and packet length. The data header enables network devices to identify the source and destination of a data packet and how to process it. The checksum result is the conclusion obtained after error detection on the data header or the entire data packet. A checksum (such as a CRC checksum) or a hash algorithm is typically used to detect whether the data has been altered or corrupted during transmission. If the checksum result indicates that the data is intact, the data is considered correct; if the checksum result indicates that the data is incorrect, the data is considered erroneous. An error message is an error notification generated by a network device when a data header check fails. This information typically includes the error type, error location, and timestamp, notifying the sender or receiver of a packet problem and the need for appropriate error handling measures, such as retransmission or error reporting. The corresponding terminal can be the sender (source terminal) of the data packet. In network communication, when an error is detected, an error message is sent to the corresponding terminal for error handling, such as retrying transmission, logging the error, or notifying the user.
[0063] Specifically, this example first obtains the data header based on the routing data. This header contains important transmission information such as the source and destination addresses. Next, the data header is checked to verify its integrity and accuracy. The check result indicates whether the data has been tampered with or damaged during transmission. If the check result shows that the data header is correct, processing continues and the destination address is obtained to determine the final destination of the data packet. If the check result indicates that there is an error in the data header, an error message is generated and sent to the router. Based on this error message, the router sends an error report to the corresponding terminal of the data so that appropriate error handling measures can be taken, such as retransmitting the data packet or performing fault diagnosis. This process ensures the reliability of network communication and the accuracy of data transmission.
[0064] As an example, obtaining the target address according to the routing data includes: obtaining an initial address based on the routing data; querying a second routing table based on the initial address to obtain the target address, wherein the routing table includes a mapping relationship between the initial address and the target address.
[0065] The originating address is the starting point of a packet's network transmission, typically the sender's network address. This address marks the starting point of the packet's journey and identifies the source device. The second routing table is one of the databases used within the network to determine the forwarding path for packets. It contains routing information from the originating address to the destination address. This table may differ from the first routing table; the first routing table may contain more comprehensive network routing information, while the second routing table may be more specific, focusing on routing decisions for a specific network segment or region. The destination address is the final destination of a packet during network transmission, typically the recipient's network address. This address identifies the destination of the packet and ensures that the data is correctly delivered to the intended recipient. A mapping relationship is a correspondence between the originating address and the destination address defined in the routing table. This relationship guides network devices on how to find the correct path to the destination address based on the originating address. This mapping relationship can be statically configured or dynamically learned, and it helps routers or switches determine how to forward packets, ensuring that data is transmitted along the optimal path. For example, the Linux soft router obtains the source address of network segment 128 from the routing data, queries the second routing table, which contains the mapping relationship of network segment 128, and then obtains the destination address corresponding to network segment 55. In the data transmission of the entire topology architecture, the forwarding function is realized from network segment 32 where the virtual terminal and computer terminal are located to network segment 55 where the domain controller is located.
[0066] Specifically, this example first determines the packet's originating address, or initial address, based on the routing data. Using this initial address as a reference, it then queries the secondary routing table to find the packet's destination. The secondary routing table stores the mapping between initial and destination addresses. This mapping guides the router on how to determine the packet's destination based on its origin, ensuring that the packet is delivered along the correct path to its intended recipient. This step connects the initial and destination addresses, providing the necessary routing information for packet transmission and is crucial for ensuring the accuracy and efficiency of network communications.
[0067] Step S30: Send the routing data to the target address based on the second preset network segment.
[0068] It should be noted that another specific IP address range or subnet pre-defined in the network. This network segment is designed to handle data transmission from the source address to the destination address and is a specific part of the network topology.
[0069] It is understandable that during network communication, a data packet containing the source address, destination address and other routing information is sent to its final destination (destination address) using a specific IP address range or subnet pre-defined in the network (i.e., the second preset network segment). This process involves ensuring that the data packet can be efficiently and securely transmitted to the intended recipient through the specific path of the second preset network segment based on the mapping relationship in the routing table and the network protocol. For example, in the network topology for smart driving software development, this may involve sending data from the developer's personal PC to the domain controller or other key network equipment. This step is the basic link for data transmission in the network, ensuring the correct routing and delivery of information flow.
[0070] As an example, before sending the routing data to the target address based on the second preset network segment, it includes: obtaining a response request sent by the domain controller, the response request is generated based on the sent connection request; based on the response request, dividing and encapsulating the routing data into data packets.
[0071] A response request is a reply from a receiver (such as a domain controller) to a connection request or data request from a sender (such as a developer's computer) during network communication. This response request contains the recipient's response to the request, which may be a confirmation, rejection, or other status information, informing the sender whether the request was successfully processed. A connection request is a request from a sender to a receiver to establish a network connection. This request contains necessary connection information, such as the protocol type, port number, and authentication information, requesting a stable communication channel. A connection request is the initial step in network communication, ensuring that both parties can subsequently exchange data. A data packet is the unit of data transmitted across a network. It contains the actual data to be transmitted (payload) and necessary control information (such as header information). The packet header typically contains information such as the source address, destination address, and protocol type, guiding the packet's transmission and processing within the network. Data packets are the basic unit of network communication; they are routed and forwarded within the network until they reach their destination.
[0072] Specifically, during network communication, the sender (such as a developer's workstation) first sends a connection request to the domain controller to establish a communication connection. After receiving this connection request, the domain controller generates a response request as a reply, indicating whether to accept the connection or providing further connection instructions. Then, based on this response request, the sender divides and encapsulates the routing data to be transmitted into independent data packets. These data packets contain the necessary header information and actual data content, ensuring that the data can be correctly routed and transmitted to the target address on the network. This process involves establishing a network connection, generating a response, and encapsulating data, and is a key step in ensuring smooth network communication.
[0073] As an example, after sending the routing data to the target address based on the second preset network segment, it also includes: obtaining device status information based on the target address; and sending the device status information to the corresponding terminal based on the first preset network segment and the first preset network segment.
[0074] Among them, device status information can be data on the current status and performance indicators of a network such as a domain controller. This information may include the device's CPU usage, memory usage, storage space usage, network interface status, system logs, error codes, service operation status, etc. Device status information is crucial for monitoring and maintaining the normal operation of network devices, and is also a specific feedback on the software compilation status. The corresponding terminal may be a device that needs to receive device status information. In this case, the corresponding terminal may be a device that requests status information, or a device that requires this information for further processing or response. For example, in the intelligent driving software development network topology, the corresponding terminal may be a developer's personal PC, which is used to monitor and analyze the status of the domain controller for troubleshooting or performance optimization.
[0075] Specifically, this example describes a network communication process. In this embodiment, this could be data feedback from a domain controller after receiving compiled data for software compilation, which is used for further software development or troubleshooting. First, status information is obtained from a specific device based on the target address. This information may include the device's operating status and performance indicators. Subsequently, using a first preset network segment (a specific network address range), this device status information is sent back to the requesting terminal, such as a monitoring system or management console, for further analysis and processing. This process ensures that the device status on the network can be remotely queried and transmitted to the terminals that need this information, facilitating network management and maintenance.
[0076] This embodiment provides a network topology method based on a local multi-device cluster. This embodiment first collects and identifies the routing information of the first preset network segment in the network, laying the foundation for subsequent data transmission. Then, after obtaining the routing data, the data is parsed to determine the final destination of the data transmission, that is, the target address. Finally, the routing data is sent to the target address through the second preset network segment, wherein the optimal sending path is determined to ensure that the data can reach the target address efficiently and accurately. This embodiment implements an efficient and reliable data transmission process. The entire process not only improves the accuracy of data transmission, but also enhances the stability and transmission efficiency of the network. Such a process design enables the network to better adapt to the dynamically changing network environment, while ensuring the security and real-time performance of data transmission.
[0077] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above embodiment 1 can be referred to the above introduction and will not be described in detail later. Figure 2 , Figure 2 This is a flow chart of a second embodiment of the network topology method based on a local multi-device cluster of the present application. Step S30 of the network topology method based on a local multi-device cluster includes steps S31 to S34:
[0078] Step S31, determining a second preset network segment and a corresponding target interface based on the target address;
[0079] It should be noted that the corresponding target interface can be a specific network interface or port in the second predetermined network segment, which is used to receive and process data packets from the sender. This interface can be a physical interface (such as a network adapter) or a virtual interface (such as a network interface of a virtual machine), which is responsible for directing the data packets to the correct device or application for subsequent processing.
[0080] As you can understand, the specific subnet to which the data packet should be sent (i.e., the second predetermined network segment) is first determined based on the destination address. Then, the corresponding target interface (i.e., the specific port or network interface card on the network device used to receive the data) is located within this subnet. This process ensures that the data packet is accurately routed and forwarded to the correct destination, thereby enabling effective communication between devices on the network. This step involves locating the specific network area and interface based on the destination address so that the data can be smoothly delivered to the intended receiving point.
[0081] Step S32: Obtain historical traffic data and real-time network status using an intelligent routing selection algorithm based on machine learning;
[0082] It should be noted that intelligent routing algorithms can utilize machine learning techniques to dynamically determine the optimal data transmission path. These algorithms analyze network traffic patterns, identify areas of network congestion, and predict changes in network status, thereby selecting the optimal transmission path for data packets. Compared to traditional static routing algorithms, intelligent routing algorithms can adapt to changing network conditions, improving network efficiency and reliability. Historical traffic data is a record and statistical information of past network traffic, including packet transmission time, size, source and destination, and transmission protocol. This data can be used to analyze network usage patterns, identify peak periods, and predict future traffic trends. Historical traffic data is invaluable for network planning, capacity expansion, and performance optimization. Real-time network status provides instantaneous information about the current network, including network device load, link availability, latency, and packet loss rate. Real-time network status data helps network administrators quickly respond to network issues, such as link failures or congestion, and make appropriate adjustments to ensure network service continuity and performance.
[0083] As you can understand, this step illustrates the process of analyzing and processing network traffic using a machine learning-based intelligent routing algorithm. This algorithm collects and analyzes historical traffic data—that is, past network usage patterns and traffic statistics—as well as real-time network status, including current information such as load, latency, and link availability. In this way, the intelligent routing algorithm optimizes data transmission, improves network efficiency and reliability, and adapts to changing network conditions, ensuring that data reaches its destination quickly and accurately.
[0084] Step S33, determining a sending path based on the historical traffic data and the real-time network status;
[0085] It should be noted that a transmission path is a series of network nodes and links selected from a data source to a destination within a network. Together, these nodes and links form the complete route for data transmission. In network communications, the selection of a transmission path is crucial for data transmission efficiency, latency, and reliability. Specifically, a transmission path can include links—physical or virtual connections connecting network nodes, such as Ethernet cables, optical fibers, or wireless links. By analyzing past network traffic patterns, congested areas and efficient paths can be identified. Information such as current network load, link availability, and latency can also be considered to select the optimal path.
[0086] Understandably, this step describes a process based on machine learning algorithms, in which the intelligent routing system analyzes historical traffic data to identify past network usage patterns, monitors real-time network status to obtain current network load and link conditions, and then combines this information to dynamically determine the best path for data transmission. The goal is to optimize transmission efficiency, reduce latency, and improve overall data transmission performance. This step ensures that data packets can be transmitted through the network in the most efficient manner.
[0087] Step S34: Send the routing data to the target interface through the sending path.
[0088] Understandably, after determining the optimal transmission path, a router or switch in the network routes the data—including all necessary header information and the actual data being transmitted—along that path to the destination interface. The destination interface is the specific port or connection point on the network device where the data packet ultimately arrives, responsible for receiving and processing the incoming data. This process ensures that data is transmitted smoothly and accurately from its source to its intended destination, completing the final stage of network communication. Simply put, it involves sending the data packet along the previously determined optimal path until it successfully reaches the destination interface.
[0089] This embodiment first determines the second preset network segment and its corresponding target interface to which the data needs to be sent based on the target address. This is the intended destination for the data transmission. Next, a machine learning algorithm is used to analyze historical traffic data and real-time monitored network status. These data provide valuable information about network usage patterns and current network conditions. Based on this information, the system then intelligently determines the optimal sending path to optimize transmission efficiency and reduce latency. Finally, the routed data is sent to the target interface via this optimal path, ensuring that the data reaches its destination accurately and quickly. This embodiment demonstrates an intelligent, automated routing decision-making and data transmission process in this process, aiming to improve the performance and reliability of network communications.
[0090] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the network topology method based on a local multi-device cluster of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0091] This application also provides a network topology device based on a local multi-device cluster, please refer to Figure 3 , the network topology device based on a local multi-device cluster includes:
[0092] An acquisition module 10 is configured to acquire routing data based on a first preset network segment;
[0093] An obtaining module 20 is configured to obtain a target address according to the routing data;
[0094] The sending module 30 is configured to send the routing data to the target address based on a second preset network segment.
[0095] The network topology device based on a local multi-device cluster provided by this application adopts the network topology method based on a local multi-device cluster in the above-mentioned embodiment, which can solve the technical problem of how to build a secure and efficient local multi-device cluster network. Compared with the existing technology, the beneficial effects of the network topology device based on a local multi-device cluster provided by this application are the same as the beneficial effects of the network topology method based on a local multi-device cluster provided by the above-mentioned embodiment, and the other technical features of the network topology device based on a local multi-device cluster are the same as the features disclosed in the above-mentioned embodiment method, and are not further described here.
[0096] The present application provides a network topology device based on a local multi-device cluster, and the network topology device based on a local multi-device cluster includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the network topology method based on the local multi-device cluster in the above-mentioned embodiment one.
[0097] Reference below Figure 4 , which shows a schematic diagram of the structure of a network topology device based on a local multi-device cluster suitable for implementing an embodiment of the present application. The network topology device based on a local multi-device cluster in the embodiment of the present application may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 4 The network topology device based on a local multi-device cluster shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present application.
[0098] like Figure 4As shown, the network topology device based on a local multi-device cluster may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM) 1004. Various programs and data required for the operation of the network topology device based on a local multi-device cluster are also stored in RAM 1004. The processing device 1001, ROM 1002, and RAM 1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 1003 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 1009. The communication devices 1009 can allow the network topology device based on the local multi-device cluster to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a network topology device based on the local multi-device cluster with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have instead.
[0099] In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0100] The network topology device based on a local multi-device cluster provided by this application adopts the network topology method based on a local multi-device cluster in the above-mentioned embodiment, which can solve the technical problem of how to build a secure and efficient local multi-device cluster network. Compared with the existing technology, the beneficial effects of the network topology device based on a local multi-device cluster provided by this application are the same as the beneficial effects of the network topology method based on a local multi-device cluster provided by the above-mentioned embodiment, and the other technical features of the network topology device based on a local multi-device cluster are the same as the features disclosed in the method of the previous embodiment, and are not further described here.
[0101] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0102] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
[0103] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer program) stored thereon, and the computer-readable program instructions are used to execute the network topology method based on a local multi-device cluster in the above embodiment.
[0104] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0105] The computer-readable storage medium may be included in a network topology device based on a local multi-device cluster; or may exist independently without being assembled into a network topology device based on a local multi-device cluster.
[0106] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by a network topology device based on a local multi-device cluster, the network topology device based on the local multi-device cluster: obtains routing data based on a first preset network segment; obtains a target address based on the routing data; and sends the routing data to the target address based on a second preset network segment.
[0107] Computer program code for performing the operations of the present application may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0108] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.
[0109] The modules described in the embodiments of the present application may be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.
[0110] The readable storage medium provided in this application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., a computer program) for executing the above-mentioned network topology method based on a local multi-device cluster, and can solve the technical problem of how to build a secure and efficient local multi-device cluster network. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the network topology method based on a local multi-device cluster provided in the above-mentioned embodiment, and will not be repeated here.
[0111] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned network topology method based on a local multi-device cluster when executed by a processor.
[0112] The computer program product provided in this application can solve the technical problem of how to build a secure and efficient local multi-device cluster network. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the local multi-device cluster-based network topology method provided in the above embodiment, and will not be repeated here.
[0113] The above description is only part of the embodiments of the present application and does not limit the patent scope of the present application. All equivalent structural transformations made by using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect application in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A network topology method based on a local multi-device cluster, characterized in that: The method comprises: Obtaining routing data based on a first preset network segment, wherein the routing data includes virtual terminal data and computer hardware data, the routing data also includes data obtained by querying a first routing table based on the virtual terminal data and the computer hardware data, the virtual terminal data includes compiled data, the compiled data is obtained based on an established security protocol, and the compiled data includes code repository data and image repository data; Obtaining a target address according to the routing data; Sending the routing data to the target address based on a second preset network segment, the target address being associated with a component, the component including a domain controller; Obtaining a target address according to the routing data includes: obtaining an initial address based on the routing data; A second routing table is queried based on the initial address to obtain a target address, wherein the second routing table includes a mapping relationship between the initial address and the target address.
2. The method according to claim 1, wherein Before obtaining the target address according to the routing data, the method further includes: obtaining a data header based on the routing data; Verifying the data header to obtain a verification result; If the verification result is correct, the target address is obtained; If the check result is an error, an error message is sent to the router, so that the router sends the error message to the corresponding terminal to complete the error report.
3. The method according to claim 1, wherein Before sending the routing data to the target address based on the second preset network segment, the method includes: Obtaining a response request sent by the domain controller, where the response request is generated based on the sent connection request; Based on the response request, the routing data is segmented and encapsulated into data packets.
4. The method according to claim 1, wherein The sending the routing data to the target address based on the second preset network segment includes: Based on the target address, determining a second preset network segment and a corresponding target interface; Intelligent routing selection algorithm based on machine learning to obtain historical traffic data and real-time network status; Determining a transmission path based on the historical traffic data and the real-time network status; The routing data is sent to the target interface through the sending path.
5. The method according to claim 1, wherein After sending the routing data to the target address based on the second preset network segment, the method further includes: Based on the target address, obtaining device status information; Based on the first preset network segment and the second preset network segment, the device status information is sent to the corresponding terminal.
6. A network topology device based on a local multi-device cluster, characterized in that: The device comprises: an acquisition module, configured to acquire routing data based on a first preset network segment, wherein the routing data includes virtual terminal data and computer hardware data, the routing data further including data obtained by querying a first routing table based on the virtual terminal data and the computer hardware data, the virtual terminal data including compiled data, the compiled data obtained based on an established security protocol, and the compiled data including code repository data and image repository data; An obtaining module, configured to obtain a target address according to the routing data; a sending module, configured to send the routing data to the target address based on a second preset network segment, wherein the target address is associated with a component, and the component includes a domain controller; Obtaining a target address according to the routing data includes: obtaining an initial address based on the routing data; A second routing table is queried based on the initial address to obtain a target address, wherein the second routing table includes a mapping relationship between the initial address and the target address.
7. A network topology device based on a local multi-device cluster, characterized in that: The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the network topology method based on a local multi-device cluster according to any one of claims 1 to 5.
8. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the network topology method based on a local multi-device cluster are implemented as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Cross-cluster controller management method, SDN controller and storage medium
CN108365979A
Routing system and method of vehicle-mounted CAN bus gateway
CN111343085A