Network topology method, device and equipment based on local multi-equipment cluster and storage medium
By acquiring and parsing routing data in the local multi-device cluster network, combined with intelligent routing algorithms, the problem of data security risks and insufficient integration of vehicle domain controllers in the existing technology is solved, and efficient, secure and real-time data transmission is achieved .
Patent Information
- Application Number
- CN202411583536.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-07
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2044-11-07
AI Technical Summary
When building a secure and efficient local multi-device cluster network, the prior art poses data security risks and fails to effectively integrate the vehicle domain controller, resulting in limited agility and real-time software development.
By acquiring routing data based on the first preset network segment, analyzing the data to determine the target address, and sending the routing data to the target address through the second preset network segment, the optimal transmission path is determined using the intelligent routing algorithm of machine learning to ensure the data Efficiently and accurately reach the destination address.
An efficient and reliable data transmission process is realized, which improves the accuracy of data transmission, network stability and transmission efficiency, adapts to dynamically changing network environments, and ensures the security and real-timeness of data transmission.
Smart Images

Figure CN119484294A_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 computing-intensive applications, especially in the field of intelligent driving software development, the demand for computing power is also growing. These applications require powerful computing processing capabilities, but traditional mainframes or single-machine computing resources are limited and cannot meet complex computing needs. In addition, high-performance computing resources are often expensive, which is not conducive to cost control and extensive use of resources.
[0003] At present, in order to solve the problem of limited computing power of a single computer, computer cluster technology is widely used. By concentrating the computing power of multiple computers, a larger computer service system, namely a cluster, is formed. These cluster nodes can work together to provide users with applications, system resources and data, and manage them in the mode of a single system. This method improves the cost-effectiveness of resources and the availability of the system while improving performance.
[0004] Although computer cluster technology has solved the problem of computing power to a certain extent, these methods are usually based on cloud environments, have high requirements for network environment, and have potential risks to data security. In addition, these cluster architectures often do not integrate the vehicle domain controller well, resulting in the inability to realize the joint compilation and debugging of the host computer and the domain controller, which limits the agility and real-time performance of software development. Therefore, how to build a secure and efficient local multi-device cluster network has become an urgent problem to be solved. 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] Acquire routing data based on the first preset network segment;
[0008] According to the routing data, a target address is obtained;
[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 compilation data, the compilation data is obtained based on an established security protocol, and the compilation 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] obtain 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 verification 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 a domain controller, wherein 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] Determine 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 first preset network segment, the device status information is sent to the corresponding terminal.
[0030] In addition, to achieve the above purpose, the present application also proposes a network topology device based on a local multi-device cluster, the device comprising:
[0031] An acquisition module, used for acquiring routing data based on a first preset network segment;
[0032] An obtaining module, used for obtaining 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 objectives, the present application also proposes a network topology device based on a local multi-device cluster, the device comprising: 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, and when the computer program is executed by a processor, it implements the steps of the network topology method based on a 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, 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, where the optimal sending 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 whole 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 nature 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 drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0041] Figure 1 A flowchart of the first embodiment of the network topology method based on a local multi-device cluster provided in the present application;
[0042] Figure 2 A flowchart diagram of the second embodiment of the network topology method based on a local multi-device cluster provided in 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 described 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 only used to explain the technical solutions of the present application and are not used 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 computing-intensive applications, especially in the field of intelligent driving software development, the demand for computing power is also growing. These applications require powerful computing processing capabilities, but traditional mainframes or single-machine computing resources are limited and it is difficult to meet complex computing needs. In addition, high-performance computing resources are often expensive, which is not conducive to cost control and the extensive use of resources. In order to overcome the limitations of single machines, computer cluster technology is widely used to improve performance and resource utilization efficiency through the collaborative work of multiple computers. Existing cluster technologies mostly rely on the cloud, have network dependence 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: 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 whole 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 embodiment of the present application can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device that can realize the above functions. The following takes the 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 the present 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 a specific network communication purpose. In this context, the first preset network segment can be a specific subnet that is used to process routing data and communications in the network. This network segment can be set for a specific network function or performance optimization. For example, in a cluster network, different network segments may serve different devices or services to improve the organization and efficiency of the network. Routing data can be information used to guide the transmission of data packets in the network. This includes but is not limited to the destination IP address, source IP address, MAC address, port number, and path information for determining how data packets are transmitted from source to destination. Routing data can include static routing information or information generated by dynamic routing protocols, which help routers or switches decide how to handle the network traffic passing through and ensure that data packets can be correctly forwarded to their destinations. For example, the first preset network segment can be the 128 network segment, 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 through a specific IP address range pre-defined in the network topology, namely the first preset network segment. Within this network segment, the router or network device will collect key information about the network path, device status, traffic pattern, etc. according to the rules in the network protocol and routing table. This information is collectively referred to as routing data. Routing data not only includes the IP address of the destination and source, but also may contain MAC address, port number, priority, hop count, etc., which together guide how the data packet is accurately transmitted from the sender to the receiver. This process is crucial to maintaining network connectivity and optimizing data transmission efficiency because it ensures that network traffic can be correctly directed and forwarded according to real-time conditions and predetermined strategies. In the context of intelligent driving software development, this step is particularly important because 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, 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 compilation data, 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, the virtual terminal data and computer data can be all information related to user interaction and application operation in the virtualized environment, involving programming, debugging and testing activities performed by developers through virtual terminals and computer terminals. The data generated by these activities, such as code changes, test results and user input, are all part of the virtual terminal data and computer terminals. The first routing table can be a database used to determine the forwarding path of data packets in the network. It contains routing information between nodes in the network, including the best path to reach the destination address from the source address. This table is dynamically generated based on the topology and communication rules of the network, and is used to guide routers or switches to forward data packets. Compilation data can be intermediate or target code generated after the source code is processed by the compiler during the software development process. These data are the basis for software deployment and operation, including executable files, library files, etc. Security protocols can be a series of rules and standards used to ensure the security of data transmission in network communications. These protocols can include transport layer security (TLS), secure socket layer (SSL), Internet protocol security (IPsec), etc., 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, all of which are located in the 32 network segment. By obtaining the Gitlab code repository and the 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, and after writing and modifying the code, the code is passed to Docker for compilation to obtain an executable program, and the executable program is 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-level logical address, depending on the network protocol and context. The destination address is key information used in network communications to guide data packets to the correct destination. It ensures that data in the network can be accurately delivered to the intended recipient. In the network topology for intelligent driving software development, 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 communication, the collected routing data, including virtual terminal data and computer hardware data, as well as the compilation data and security protocol information that may be involved, are used to determine the network address of the final destination to which the data packet should be sent. This destination address can be an IP address or a MAC address, which indicates the final path and destination of the data packet in the network, ensuring that the data can be accurately transmitted to the intended receiving point, such as a domain controller or other key network equipment in the development of smart 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 wrong, sending an error message to the router, so that the router sends the error message to the corresponding terminal to complete the error.
[0062] Among them, the data header can be control information attached to the front of the data packet, which contains important metadata for network communication, such as source address, destination address, protocol type, data packet length, etc. The data header enables network devices to identify the source and destination of the data packet, as well as how to process these data packets. The check result can be the conclusion obtained after error detection of the data header or the entire data packet. A checksum (such as CRC check) or a hash algorithm is usually used to detect whether the data has changed or been damaged during transmission. If the check result shows that the data is intact, the data is considered correct; if the check result shows that the data is incorrect, the data is considered incorrect. The error message can be an error notification generated by the network device when the data header check fails. This information usually includes the error type, error location, timestamp, etc., which is used to notify the sender or receiver that there is a problem with the data packet and that corresponding error handling measures need to be taken, such as retransmitting the data packet or reporting the error. The corresponding terminal can be the sender (source terminal) of the data packet. In network communication, when an error is detected, the error message will be sent to the corresponding terminal for error handling, such as retrying transmission, recording error logs, 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 address and the destination address. Then, the data header is checked to verify its integrity and accuracy. The check result will indicate whether the data has been tampered with or damaged during transmission. If the check result shows that the data header is correct, it will continue to process and obtain the destination address to determine the final destination of the data packet. If the check result shows that there is an error in the data header, an error message is generated and sent to the router. The router sends the error report to the corresponding terminal of the data based on these error messages so that corresponding 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] Among them, the initial address can be the starting point address of the data packet during network transmission, usually the network address of the sender. This address is the starting point of the data packet's journey and is used to identify the source device from which the data packet is sent. The second routing table can be one of the databases used in the network to determine the forwarding path of the data packet, which contains the routing information from the initial address to the destination address. This table may be different from the first routing table. The first routing table may contain more extensive network routing information, while the second routing table may be more specific and focus on routing decisions for a specific network segment or network area. The destination address can be the final destination address of the data packet during network transmission, usually the network address of the receiver. This address identifies the end point where the data packet needs to reach, ensuring that the data can be correctly delivered to the intended recipient. The mapping relationship can be the correspondence between the initial address and the destination address defined in the routing table. This relationship guides the network device on how to find the correct path to the destination address based on the initial address. The mapping relationship can be statically configured or dynamically learned, and it helps the router or switch decide how to forward the data packet to ensure that the data can be transmitted along the best path. For example, the Linux soft router obtains the source address of network segment 128 through routing data, queries the second routing table, which has a mapping relationship of network segment 128, and then obtains the target address corresponding to network segment 55. In the data transmission of the entire topology architecture, the forwarding function from network segment 32 where the virtual terminal and computer terminal are located to network segment 55 where the domain controller is located is realized.
[0066] Specifically, this example first determines the starting address of the data packet, i.e., the initial address, based on the routing data, and then uses this initial address as a reference to query the second routing table to find the destination address to which the data packet should be sent. The second routing table stores the mapping relationship between the initial address and the destination address, which guides the router on how to determine the destination that the data packet should reach based on its starting position, thereby ensuring that the data packet can be transmitted to the intended recipient along the correct path. This step connects the initial address and the destination address, provides the necessary routing information for the transmission of the data packet, and is essential to ensure the accuracy and efficiency of network communications.
[0067] Step S30: sending 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 initial 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, it may involve sending data from the developer's personal PC to a domain controller or other key network device. This step is the basic link in data transmission in the network and ensures the correct routing and delivery of information flows.
[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 a domain controller, wherein 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] Among them, a response request can be a reply from a receiver (such as a domain controller) to a connection request or data request issued by a sender (such as a developer's computer) in network communication. This response request contains the processing result of the request by the receiver, which may be confirmation, rejection or other status information, used to inform the sender whether the request has been successfully processed. A connection request can be a request issued by the sender to the receiver in order to establish a network connection. This request contains necessary connection information, such as protocol type, port number, authentication information, etc., used to request the establishment of a stable communication channel. The connection request is a preliminary step in network communication to ensure that both parties can conduct subsequent data exchange. A data packet can be a data unit transmitted in a network, which contains the actual data to be transmitted (payload) and necessary control information (such as header information). The header of a data packet usually contains information such as source address, destination address, protocol type, etc., which is used to guide the transmission and processing of data packets in the network. Data packets are the basic units of network communication, and they are routed and forwarded in the network until they reach their destination.
[0072] Specifically, during the network communication process, the sender (such as the developer's workstation) first sends a connection request to the domain controller to establish a communication connection; after receiving the connection request, the domain controller generates a response request as a reply, indicating whether to accept the connection or provide further connection instructions; then, the sender divides and encapsulates the routing data to be transmitted into independent data packets based on the response request. These data packets contain the necessary header information and actual data content to ensure that the data can be correctly routed and transmitted to the target address on the network. This process involves the establishment of network connections, the generation of responses, and the encapsulation of data, and is a key step to ensure 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 domain controller in the network. 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 essential 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 specifically describes a network communication process, which in this embodiment can be the data feedback after the domain controller receives the compiled data for software compilation, for further software development or troubleshooting. First, the status information of a specific device is obtained according to the target address. This information may include the operating status and performance indicators of the device; then, the device status information is sent back to the corresponding terminal of the request using the first preset network segment, that is, a specific network address range, for further analysis and processing. This process ensures that the device status in the network can be remotely queried and transmitted to the terminal that needs this information, so as to facilitate 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 to lay 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, where 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 whole 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 nature 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-mentioned embodiment 1 can refer to the above introduction, and will not be repeated later. Figure 2 , Figure 2 This is a flow chart of the 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, based on the target address, determining a second preset network segment and a corresponding target interface;
[0079] It should be noted that the corresponding target interface can be a specific network interface or port in the second preset 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 guiding the data packet to the correct device or application for subsequent processing.
[0080] It can be understood that the specific subnet to which the data packet needs to be sent is first determined based on the target address, i.e., the second preset network segment, and then the corresponding target interface is found in this subnet, i.e., the specific port or network interface card used to receive data on the network device. This process ensures that the data packet can be accurately routed and forwarded to the correct destination, thereby achieving effective communication between devices in the network. This step involves locating the specific network area and interface based on the target address so that the data can be smoothly delivered to the predetermined receiving point.
[0081] Step S32, obtaining historical traffic data and real-time network status based on intelligent routing selection algorithm based on machine learning;
[0082] It should be noted that the intelligent routing selection algorithm can be an algorithm that uses machine learning technology to dynamically determine the best path for data transmission. This algorithm can analyze network traffic patterns, identify network congestion areas, and predict changes in network status, thereby selecting the best transmission path for data packets. Compared with traditional static routing algorithms, intelligent routing selection algorithms can adapt to changes in network conditions and improve network efficiency and reliability. Historical traffic data can be records and statistical information of traffic in the past network, including the sending time, size, source destination, and transmission protocol of data packets. This data can be used to analyze network usage patterns, identify peak hours, and predict future traffic trends. Historical traffic data is very important for network planning, capacity expansion, and performance optimization. Real-time network status can be instant information of the current network, including the load of network devices, link availability, latency, packet loss rate, etc. Real-time network status data can help network administrators quickly respond to network problems such as link failures or congestion, and make corresponding adjustments to ensure the continuity and performance of network services.
[0083] Understandably, this step illustrates the process of analyzing and processing network traffic using an intelligent routing selection algorithm based on machine learning. The algorithm collects and analyzes historical traffic data, i.e., past network usage patterns and traffic statistics, as well as real-time network status, i.e., current network load, latency, and link availability. In this way, the intelligent routing selection algorithm is able to optimize data transmission, improve network efficiency and reliability, adapt to changing network conditions, and ensure 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 the transmission path can be a series of network nodes and links selected from the data source to the destination in the network, which together constitute the complete route for data transmission. In network communications, the selection of the transmission path is crucial to the efficiency, latency, and reliability of data transmission. Specifically, the transmission path can include links, i.e., 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 high-efficiency paths can be identified. It is also possible to consider information such as the current network load, link availability, and latency to select the best 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, with the goal of optimizing transmission efficiency, reducing latency, and improving the overall performance of data transmission. This step ensures that data packets can be transmitted through the network in the most efficient way.
[0087] Step S34: Send the routing data to the target interface through the sending path.
[0088] Understandably, after determining the best path to send, the router or switch in the network routes the data - including all necessary header information and the actual data to be transmitted - along this path to the destination interface. The destination interface is the specific port or connection point on the network device where the data packet finally arrives, which is responsible for receiving and processing the incoming data. This process ensures that the data can be smoothly and accurately transmitted from the source to the intended destination, completing the last link of network communication. In short, it involves sending the data packet along the previously determined best 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, which is the predetermined destination for data transmission. Next, a machine learning algorithm is used to analyze historical traffic data and real-time monitored network status, which provide valuable information about network usage patterns and current network conditions. Then, based on this information, the system intelligently determines the best sending path to optimize transmission efficiency and reduce latency. Finally, the routing data is sent to the target interface via this optimal path to ensure that the data can reach the destination accurately and quickly. This embodiment demonstrates an intelligent and 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 the local multi-device cluster includes:
[0092] An acquisition module 10, configured to acquire routing data based on a first preset network segment;
[0093] An obtaining module 20 is used to obtain a target address according to the routing data;
[0094] The sending module 30 is used to send the routing data to the target address based on the second preset network segment.
[0095] The network topology device based on local multi-device clusters provided by the present application adopts the network topology method based on local multi-device clusters in the above-mentioned embodiments, which can solve the technical problem of how to build a safe and efficient local multi-device cluster network. Compared with the prior art, the beneficial effects of the network topology device based on local multi-device clusters provided by the present application are the same as the beneficial effects of the network topology method based on local multi-device clusters provided by the above-mentioned embodiments, and the other technical features of the network topology device based on local multi-device clusters are the same as the features disclosed in the above-mentioned embodiment methods, which will not be repeated 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), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The network topology device based on a local multi-device cluster is shown as an example only and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0098] like Figure 4As shown, the network topology device based on the local multi-device cluster may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM: Read Only Memory) 1002 or the program loaded from the storage device 1003 to the random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the network topology device based on the local multi-device cluster are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other through 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 device 1009 can allow the network topology device based on the local multi-device cluster to communicate with other devices wirelessly or wired 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 may be implemented or have instead.
[0099] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a 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 through 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 local multi-device cluster provided by the present application adopts the network topology method based on local multi-device cluster in the above embodiment, which can solve the technical problem of how to build a safe and efficient local multi-device cluster network. Compared with the prior art, the beneficial effects of the network topology device based on local multi-device cluster provided by the present application are the same as the beneficial effects of the network topology method based on local multi-device cluster provided by the above embodiment, and the other technical features of the network topology device based on local multi-device cluster are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0101] It should be understood that the various parts disclosed in this application can be implemented by 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 is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0103] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) 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-mentioned embodiment.
[0104] The computer-readable storage medium provided in the present 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 of the above. 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 of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination 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 of the above.
[0105] The computer-readable storage medium may be included in the network topology device based on the local multi-device cluster; or may exist independently without being assembled into the network topology device based on the 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 separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of 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., via the Internet using an Internet service provider).
[0108] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the 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 square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square 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 square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0109] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0110] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) 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 safe and efficient local multi-device cluster network. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present 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 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 by 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 by this application are the same as the beneficial effects of the network topology method based on the local multi-device cluster provided by the above embodiment, which will not be repeated here.
[0113] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications 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: Acquire routing data based on the first preset network segment; According to the routing data, a target address is obtained; The routing data is sent to the target address based on a second preset network segment.
2. The method according to claim 1, characterized in that The routing data is obtained based on the 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 according to the virtual terminal data and the computer hardware data, the virtual terminal data includes compilation data, the compilation data is obtained based on an established security protocol, and the compilation data includes code warehouse data and image warehouse data.
3. The method according to claim 1, characterized in that Before obtaining the target address according to the routing data, the method further includes: obtain 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 verification 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.
4. The method according to claim 1, characterized in that The obtaining of the target address according to the routing data comprises: 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 routing table includes a mapping relationship between the initial address and the target address.
5. The method according to claim 1, characterized in that 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 a domain controller, wherein 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.
6. The method according to claim 1, characterized in that 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; Determine 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.
7. The method according to claim 1, characterized in that 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 first preset network segment, the device status information is sent to the corresponding terminal.
8. A network topology device based on a local multi-device cluster, characterized in that: The device comprises: An acquisition module, used for acquiring routing data based on a first preset network segment; An obtaining module, used for obtaining a target address according to the routing data; A sending module is used to send the routing data to the target address based on a second preset network segment.
9. A network topology device based on a local multi-device cluster, characterized in that: The device comprises: 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 as claimed in any one of claims 1 to 7.
10. 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 7.
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
Multi Threading Internet Search Engines and Agentsworks on the Network Routing Table, Designed byComponent Based Development Software.
KR1020000063406A
Virtual router cluster, data forwarding method and apparatus
US20170149648A1
Code development management system
US20190347093A1