Multi-module routing configuration method and device based on soft routing and multi-module server

Through the control board, the second processor in the multi-module server is powered on and feedback signal processing, and the routing forwarding strategy is configured, which solves the problem of high hardware and software complexity in the multi-module server, and realizes efficient and convenient module communication.

CN120378345APending Publication Date: 2025-07-25SOPHGO TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510298336.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-13
Publication Date
2025-07-25

AI Technical Summary

Technical Problem

The existing multi-module servers have problems such as high hardware cost, high structural complexity and high software complexity in IP routing management between modules, making it difficult to achieve flexible network architecture and efficient communication.

Method used

The second processor is powered on and received feedback signals through the control board, and the routing configuration information is sent, and the first processor is allowed to read the routing configuration information to configure the routing forwarding policy, so as to realize efficient communication between modules and avoid dependence on traditional routers.

Benefits of technology

It reduces hardware costs, reduces software complexity, improves system flexibility and customizability, and realizes convenient and efficient communication between modules.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120378345A_ABST
    Figure CN120378345A_ABST
Patent Text Reader

Abstract

The invention provides a multi-module routing configuration method and device based on soft routing and a multi-module server, and relates to the technical field of communication. According to the method, the second processor is powered on through the control panel, the feedback signal of the second processor is received, and stable starting and state confirmation of the system are ensured. And the control board issues routing configuration information to the second processor, thereby laying a foundation for subsequent communication. The first processor is powered on according to the routing configuration information provided by the second processor, so that information flow transmission from bottom to top is realized, and the consistency and accuracy of information are ensured. The routing forwarding strategy is configured based on the routing configuration information, so that the modules can efficiently communicate according to the preset strategy without depending on a traditional router, the cost is reduced, the flexibility and customizability of the system are improved, and the communication of the whole multi-module server system is more convenient and efficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technologies, and in particular, to a multi-module routing configuration method, device, and multi-module server based on a soft router. Background Art

[0002] A multi-module server refers to a server that includes a control board and multiple computing modules within a single server chassis. Each computing module runs an independent operating system, and the computing modules are connected via Ethernet. To solve the problems of mutual access between modules, module access to other external network resources, and access to a certain module from outside the server, it is necessary to solve the IP routing problem of the modules within the server. Generally, a dedicated router or switch is used to achieve this, but no matter whether a router or a switch is used, it is impossible to simply implement a network architecture that meets multiple requirements, and it will increase the software complexity and cost.

[0003] The traditional method is to achieve network connectivity between multiple modules by adding a dedicated internal routing board within the server.

[0004] This structure increases the hardware cost of an internal router and also increases the complexity of the structure. A router usually can only implement a fixed IP management policy. If the router is in the DHCP mode, it is impossible to establish the correspondence between the core board and the IP. If the core board MAC and IP are bound to the router, the correspondence between the core board and the IP can be known, but in this case, the freedom to modify the IP is lost. In addition, a hardware router is an independent device, and additional customized development is required to manage and configure it, increasing the software complexity.

[0005] Therefore, how to improve the communication convenience of a multi-module server has become a technical problem that needs to be solved urgently at present. Summary of the Invention

[0006] The present application provides a multi-module routing configuration method, device, and multi-module server based on a soft router, aiming to improve the communication convenience of a multi-module server.

[0007] In a first aspect, the present application provides a multi-module routing configuration method based on a soft router, and the multi-module routing configuration method based on a soft router includes the following steps:

[0008] Based on a first power-on instruction, control the control board to power on each of the second processors;

[0009] When the control board receives the power-on feedback signals fed back by each of the second processors, the control board sends routing configuration information to each of the second processors;

[0010] Power on each of the first processors based on a second power-on instruction, so that each of the first processors reads the routing configuration information from the corresponding second processor;

[0011] Configure a routing forwarding policy based on the routing configuration information corresponding to each of the first processors, so that each of the first modules communicates according to the routing forwarding policy.

[0012] In a second aspect, the present application further provides a multi-module routing configuration device based on a soft router. The multi-module routing configuration device based on a soft router includes:

[0013] A first power-on module, configured to control the control board to power on each of the second processors based on a first power-on instruction;

[0014] A routing configuration information distribution module, configured to, when the control board receives a power-on feedback signal fed back by each of the second processors, the control board distributes routing configuration information to each of the second processors;

[0015] A second power-on module, configured to power on each of the first processors based on a second power-on instruction, so that each of the first processors reads the routing configuration information from the corresponding second processor;

[0016] A routing forwarding policy configuration module, configured to configure a routing forwarding policy based on the routing configuration information corresponding to each of the first processors, so that each of the first modules communicates according to the routing forwarding policy.

[0017] In a third aspect, the present application further provides a multi-module server. The multi-module server includes:

[0018] A control board, where at least one communication interface is included in the control board;

[0019] At least one first module, where the first module includes at least one first processor and at least one second processor, and wherein the first processor and the second processor are in one-to-one correspondence;

[0020] Wherein, the control board is communicatively connected to each of the first modules through the communication interface. When each of the first modules is communicatively connected to the control board, each of the first processors and each of the second processors are communicatively connected to the control board in a powered-on state.

[0021] In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned multi-module routing configuration method based on a soft router are implemented.

[0022] The present application provides a multi-module routing configuration method, device, computer device and storage medium based on a soft router. The method of the present application includes controlling the control board to power on each of the second processors based on a first power-on instruction; when the control board receives power-on feedback signals fed back by each of the second processors, the control board sends routing configuration information to each of the second processors; powering on each of the first processors based on a second power-on instruction, so that each of the first processors reads the routing configuration information from the corresponding second processor; configuring a routing forwarding policy based on the routing configuration information corresponding to each of the first processors, so that each of the first modules communicates according to the routing forwarding policy. Through the above method, the present application powers on the second processors through the control board and receives their feedback signals, ensuring the stable startup and status confirmation of the system. The control board sends routing configuration information to the second processors, laying a foundation for subsequent communication. The first processors are powered on according to the routing configuration information provided by the second processors, realizing the information flow transmission from bottom to top, ensuring the consistency and accuracy of information. Configuring the routing forwarding policy based on the routing configuration information enables each module to communicate efficiently according to the preset policy, without relying on a traditional router, thereby reducing costs, improving the flexibility and customizability of the system, and making the communication of the entire multi-module server system more convenient and efficient. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings below are some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0024] Figure 1 It is a schematic structural diagram of the first embodiment of a multi-module server provided by the present application;

[0025] Figure 2 It is a schematic flow diagram of the routing IP configuration of a multi-module server provided by the present application;

[0026] Figure 3 It is a schematic flow diagram of the first embodiment of a multi-module routing configuration method based on a soft router provided by the present application;

[0027] Figure 4 It is a schematic flow diagram of the second embodiment of a multi-module routing configuration method based on a soft router provided by the present application;

[0028] Figure 5 It is a schematic structural diagram of the first embodiment of a multi-module routing configuration device based on a soft router provided by the present application;

[0029] Figure 6 It is a schematic block diagram of the structure of a computer device provided by an embodiment of the present application.

[0030] The realization of the purpose of the present application, functional features and advantages will be further described in conjunction with the embodiments with reference to the accompanying drawings. Specific embodiments

[0031] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present application.

[0032] The flowchart shown in the accompanying drawings is only an example, and does not necessarily include all contents and operations / steps, nor does it necessarily execute in the described order. For example, some operations / steps can also be decomposed, combined or partially merged, so the actual execution order may be changed according to the actual situation.

[0033] Next, some embodiments of the present application will be described in detail in conjunction with the accompanying drawings. Without conflict, the following embodiments and the features in the embodiments can be combined with each other.

[0034] Please refer to Figure 1 , Figure 1 It is a schematic structural diagram of the first embodiment of a multi-module server provided by the present application.

[0035] As Figure 1 shown, the multi-module server includes a control board and at least one first module. The first module includes at least one first processor and at least one second processor.

[0036] Among them, the first processors and the second processors correspond one by one.

[0037] In one embodiment, the control board includes at least one communication interface, and the control board is communicatively connected to each of the first modules through the communication interface. When each first module is communicatively connected to the control board, each first processor and each second processor are communicatively connected to the control board in the powered-on state.

[0038] Among them, according to the first power-on instruction, the control board powers on each second processor, communicates with each second processor through a communication interface, and sends routing configuration information to each second processor; after each second processor receives the routing configuration information, the control board sends a second power-on instruction to each second processor, so that each second processor powers on each first processor, so that each first processor performs routing configuration according to the routing configuration information read from each second processor; the control board sets a routing forwarding policy according to the routing configuration information corresponding to each first processor, so as to facilitate communication between each first module according to the routing forwarding policy.

[0039] Specifically, the communication interface on the control board can be an ETH network port.

[0040] Specifically, the first module can be a computing power board, the first processor can be the main chip on the computing power board, and the second processor can be a microprocessor MCU.

[0041] Among them, the control board and each computing power board form at least two links: one is the communication network formed by the control board and the computing power board; the other is the connection link between the control board and the microprocessor MCU in the computing power board.

[0042] Exemplarily, as Figure 1 In the shown three-network port structure, the ETH1 network port of the control board and the core board on the computing power board 1 form a local area network, and the ETH2 network port and the core board on the computing power board 2 form another local area network. And each core board includes a main chip and an MCU, that is, each corresponding group of first processor and second processor constitutes a core board.

[0043] Exemplarily, referring to Figure 2 The shown routing IP setting process, the specific process may include:

[0044] Step 1: Power on the control board

[0045] Step 2: The control board powers on the computing power baseboard. At this time, the main chip on the core board of the computing power baseboard is in the unpowered state, and only the MCU is in the powered state.

[0046] Step 3: The control board sends IDs and IPs to the MCUs of each core board.

[0047] Step 4: The control board sends a command to power on the main chip of each core board to the MCU of each core board.

[0048] Step 5: The main chip of the core board starts, and the customized operating system bootloader reads the IP and ID from the MCU, modifies its own IP to the value sent by the control board before, and simultaneously modifies settings such as the subnet mask and gateway IP.

[0049] Step 6: Set up the routing forwarding policy on the control board operating system to achieve IP reachability between modules and between modules and the outside world.

[0050] The multi-module server provided in this embodiment does not use a dedicated router or switch, reducing hardware costs and software complexity. The requirements of multiple networks are achieved through the soft routing of the control board. For example: one-machine mode (that is, one external IP is required, and all computing power nodes obtain network capabilities through the control board), and the direct connection mode of computing power nodes (that is, all computing power nodes obtain external IPs and can directly access).

[0051] In this embodiment, the IP is set by the control board before the main chip of the core board is powered on to solve the IP allocation requirement; the soft routing policy is implemented on the control board operating system to solve the IP reachability requirement; through these two points, the core functions of a traditional router are achieved without adding additional costs, and all control policies can be conveniently configured on the control board operating system, achieving a high degree of customization freedom.

[0052] Please refer to Figure 3 , Figure 3 which is a schematic flowchart of the first embodiment of a multi-module routing configuration method based on soft routing provided by this application. This multi-module routing configuration method based on soft routing is applied to a multi-module server as shown in Figure 1 the figure.

[0053] As shown in Figure 3 the figure, this multi-module routing configuration method based on soft routing includes steps S101 to S104.

[0054] S101. Based on the first power-on instruction, control the control board to power on each of the second processors.

[0055] In one embodiment, when routing configuration needs to be performed on each first processor of the first module, first power off the first module, communicate and connect with the external network interface of the control board through a server or an external interrupt device, such as connection methods like network cable, wireless WIFI, or Bluetooth, and then send a first power-on instruction to the control board to control the control board to power on several second processors in the first module simultaneously. This structure allows for efficient data exchange between the control board and multiple computing power boards.

[0056] Generally, before sending the first power-on instruction, the control board can pre-detect the second processor through the communication interface to ensure that the second processor is in a power-on state, avoiding power-on failure caused by hardware failures. To ensure the stability of the system, the control board can power on the second processors in a preset order, such as first powering on the key second processors and then gradually powering on other processors.

[0057] S102. When the control board receives the power-on feedback signals fed back by each of the second processors, the control board issues routing configuration information to each of the second processors;

[0058] Among them, the routing configuration information includes a routing ID and a routing IP.

[0059] In one embodiment, during the power-on process, the second processor (MCU) generates a power-on feedback signal. The power-on feedback signal can be a digital signal indicating that it has been successfully powered on and is ready. The power-on feedback signal is transmitted back to the control board through the communication interface of the control board.

[0060] In one embodiment, the generation of the power-on feedback signal can be based on the startup program of the MCU. When the MCU completes self-check and confirms that all system parameters are normal, it generates and sends the power-on feedback signal.

[0061] In one embodiment, the control board listens for the power-on feedback signal from the second processor and processes it after receiving the power-on feedback signal, including but not limited to signal demodulation, decoding, and verification, to ensure the integrity and accuracy of the power-on feedback signal.

[0062] Generally, the power-on feedback signal is a signal sent by the second processor (MCU) to the control board after successful power-on. It usually contains some key information to ensure that the control board can correctly understand and respond to the status of the second processor.

[0063] Exemplarily, the power-on feedback signal can contain one or more of the following data: status code, hardware identifier, timestamp, power status, temperature information, self-check result, system resource status, configuration information, error log, firmware version, security information, and environmental monitoring data.

[0064] Specifically, the status code can be a status code or status word used to indicate the current status of the second processor, such as whether the power-on is successful and whether the self-check has passed. The hardware identifier refers to the hardware identifier information of the second processor, such as the serial number, model, version, etc., so that the control board can identify and record which specific second processor sent the signal. The timestamp refers to the timestamp when the power-on feedback signal is sent, used to record the specific time of power-on, which helps in troubleshooting and system log recording. The power status can include parameters such as power voltage and current, used to indicate whether the power status of the second processor is normal. The temperature information refers to the current temperature reading of the second processor, used to monitor whether it is within the safe operating temperature range. The self-check result refers to the result of the second processor's power-on self-test (POST), including the results of hardware detection and system detection, used to indicate whether there are hardware failures or system errors. The system resource status includes the status information of system resources such as memory and storage, such as memory size and storage space. The configuration information refers to the configuration information of the second processor, such as network configuration and interface configuration, and these information may need to be updated or confirmed by the control board after power-on. If any errors are detected during the power-on process, the error log can contain error codes and descriptions for the control board to perform fault diagnosis. The firmware version refers to the firmware version information running on the second processor, used to ensure the compatibility and security of the firmware. The security information includes any security-related information, such as the status of encryption keys and the verification results of secure boot. If the second processor has an environmental monitoring function, it may send environmental parameters such as humidity and pressure.

[0065] The above information contained in the power-on feedback signal helps the control board comprehensively understand the status of the second processor and perform corresponding operations based on this information, such as sending routing configuration information, performing system maintenance, or handling faults.

[0066] In this embodiment, the power-on feedback signal is used to ensure that the control board understands the status of each second processor, which is crucial for the overall stability and reliability of the system. After receiving the power-on feedback signal, the control board sends routing configuration information, such as ip route-static, to the second processor according to the static routing configuration command to specify the transmission path of data packets. By sending the routing configuration information, the control board can manage the data flow between modules, optimize network performance, and perform troubleshooting and system maintenance when needed.

[0067] S103. Based on the second power-on instruction, power on each of the first processors so that each of the first processors reads the routing configuration information from the corresponding second processor.

[0068] Further, when the control board receives the information reception signal fed back by the second processor, it generates the second power-on instruction and sends the second power-on instruction to each of the second processors; when each of the second processors receives the second power-on instruction, each of the second processors powers on each of the first processors to implement the communication connection between the first processor and the second processor; after the first processor is powered on and starts up, it reads the routing configuration information in the second processor.

[0069] In one embodiment, the control board sends the second power-on instruction to each of the second processors through its communication interface. After each of the second processors receives the second power-on instruction, it will perform a power-on operation on each of the first processors according to the instruction content. This power-on operation may include power management at the hardware level, such as turning on the power supply, setting the voltage and current, etc.

[0070] In one embodiment, after the first processor is powered on, the second processor and the first processor establish a communication connection through an internal bus, a serial communication interface, or other high-speed communication interfaces. After the first processor is powered on and starts up, it reads the configuration data from the second processor, that is, reads the routing configuration information stored in the memory of the second processor.

[0071] Further, modify the current routing configuration information of the first processor to the routing configuration information.

[0072] In one embodiment, after the first processor reads the routing configuration information, it will apply this information to configure its network interface, including setting network parameters such as IP address, subnet mask, gateway IP, etc., to ensure that data packets can be correctly routed in the network.

[0073] Generally, during the power-on process of the first processor and the second processor, and during the transmission process of the routing configuration information, error detection can be performed by means of data monitoring. If any errors are detected, such as power-on failure, communication connection failure, or configuration information reading failure, both the second processor and the first processor need to record error logs and feedback this information to the control board for fault troubleshooting and system maintenance. The control board can continuously monitor the entire process, including the power-on operation of the second processor and the reading of the configuration information of the first processor. The control board can collect feedback information on the system operation status, such as temperature, voltage, current, etc., to ensure the stable operation of the system.

[0074] S104. Configure a routing forwarding policy based on the routing configuration information corresponding to each of the first processors, so that the first modules communicate with each other according to the routing forwarding policy.

[0075] In one embodiment, configuring a routing forwarding policy may include configuring Access Control List (ACL) rules, configuring traffic classification and traffic behavior, applying traffic policies, configuring a forwarding policy based on protocol type, and configuring policy-based routing, etc.

[0076] Specifically, configure Access Control List (ACL) rules to match specific data flows, such as matching a specific IP network segment. These rules will be used to distinguish different data flows and provide a basis for subsequent routing forwarding policies. Configure traffic classification to match the ACL rules so that the device can distinguish packets, and then configure traffic behavior to specify that data flows that meet different ACL rules take different links, thereby determining the forwarding path of the data packet. Bind the traffic policy to the traffic classification and traffic behavior and apply it to the corresponding interface, such as the inbound direction of the GE0 / 0 / 3 interface of a Switch device, to implement policy-based routing.

[0077] In one embodiment, for a forwarding policy based on the message protocol type, policy-based routing can be configured to control messages of a specific protocol, such as specifying that the next hop of all TCP messages is a specific IP address, while other messages are forwarded according to the conventional routing table.

[0078] In one embodiment, in a specific configuration, multiple policy-based routing nodes can be defined, and each node corresponds to different matching conditions and next-hop addresses. These nodes can be applied to different interfaces to process received messages.

[0079] In one embodiment, when configuring a routing forwarding policy, security policies such as URPF (Unicast Reverse Path Forwarding) can also be implemented to prevent IP spoofing and DoS attacks. Depending on the network environment, strict mode or loose mode of URPF can be selected.

[0080] In one embodiment, while configuring a routing forwarding policy, it is necessary to monitor the forwarding performance of the route, including the throughput of different packet sizes, to ensure the efficient operation of the network. If it is found that some networks are not reachable after configuring policy-based routing, the reason can be analyzed by packet capture, and the policy-based routing configuration can be adjusted as needed, such as enabling ARP proxy or changing the next-hop setting.

[0081] Through the above steps, it is possible to ensure effective communication between the first modules according to the preset routing forwarding policy, while improving the security and performance of the network.

[0082] This embodiment provides a multi-module routing configuration method based on a soft router. In this application method, the control board powers on the second processor and receives its feedback signal, ensuring the stable startup and status confirmation of the system. The control board sends routing configuration information to the second processor, laying a foundation for subsequent communication. The first processor powers on according to the routing configuration information provided by the second processor, realizing the information flow transmission from bottom to top and ensuring the consistency and accuracy of information. Based on the routing configuration information, a routing forwarding policy is configured, enabling each module to communicate efficiently according to the preset policy without relying on a traditional router, thereby reducing costs, improving the flexibility and customizability of the system, and making the communication of the entire multi-module server system more convenient and efficient.

[0083] Please refer to Figure 4 , Figure 4 which is a schematic flowchart of the second embodiment of a multi-module routing configuration method based on a soft router provided by this application.

[0084] In this embodiment, as Figure 4 shown, based on the above Figure 3 shown embodiment, the method further includes:

[0085] S201. Monitor the interface traffic data of the control board based on a traffic monitoring instruction;

[0086] In one embodiment, through traffic monitoring technology, the control board can monitor the interface traffic data in real time, sample and statistically analyze the interface traffic data, and identify and record traffic patterns and behaviors in the interface traffic data, including specific instructions such as a first power-on instruction.

[0087] Exemplarily, during the power-on and configuration process, the control board can monitor the system status in real time, including voltage, current, temperature, etc., to ensure the safe operation of the system.

[0088] S202. When the first power-on instruction in the interface traffic data of the control board is detected, create a current routing configuration event;

[0089] In one embodiment, when a specific traffic pattern or data packet, such as a first power-on instruction, is detected, the control board can configure an event trigger mechanism. This mechanism can be rule-based. For example, when a data packet from a specific source or destination IP is detected and conforms to the characteristics of the first power-on instruction, it triggers the creation of a routing configuration event.

[0090] Exemplarily, once the trigger mechanism is activated, the control board creates a routing configuration event. The routing configuration event can be a system log entry, a database record, or an alarm that requires the attention of an administrator.

[0091] S203. Monitor and record the current routing configuration event based on the log monitoring instruction to obtain the current routing configuration log.

[0092] In one embodiment, the log monitoring instruction is configured on the control board. The log monitoring instruction can specify the event types to be monitored, such as routing configuration events, and define the detailed level of log recording (such as information, warning, error, etc.). The current routing configuration log can record the detailed logs of all operations of the current routing configuration event, including power-on time, configuration details, system status changes, etc., for subsequent troubleshooting and system maintenance.

[0093] Specifically, the control board will monitor the occurrence of routing configuration events in real time. When a relevant event is detected, the system will automatically record the detailed information of the event, including important information such as timestamp, event type, event description, source IP, target IP, etc.

[0094] Generally, the log format includes JSON, XML or plain text format. The logs can be stored in the local file system or sent to a centralized log management system (such as ELK Stack, Graylog, etc.) for storage and analysis.

[0095] Furthermore, based on the preset anomaly detection rules, perform data detection on the current routing configuration log to obtain a data detection result; when there is anomaly data in the data monitoring result that matches the anomaly detection rules, generate an anomaly alarm message so that the control board can perform anomaly handling according to the anomaly alarm message.

[0096] Among them, the anomaly alarm message includes anomaly location information and anomaly type, where the anomaly location information includes the location of the anomaly device and the identification information of the anomaly device. The identification information of the anomaly device can include unique identification information such as device identification code or device ID.

[0097] In one embodiment, by regularly auditing the generated routing configuration logs, potential network problems and security risks can be identified. The system can be configured to generate reports regularly, summarizing the occurrence of routing configuration events and related statistical data. Or perform log detection operations when the routing configuration event is detected to end.

[0098] In one embodiment, during the power-on and configuration processes, when a specific routing configuration event is monitored, an automatic response mechanism can be set, such as triggering an alarm, sending a notification, or executing a predefined script, to handle abnormal situations in a timely manner. If an error is detected, the control board should immediately stop the operation and record the error information. And, attempt to re-execute the operation when a non-fatal error is detected, or safely shut down the system when a fatal error occurs.

[0099] In this embodiment, the implementation of log monitoring and recording can enhance the transparency and security of the network. By detailedly recording routing configuration events, it provides key data for troubleshooting, performance monitoring, compliance auditing, and security incident response, thereby optimizing network performance, improving operational efficiency, and ensuring the stability and compliance of the network environment.

[0100] Please refer to Figure 5 , Figure 5 which is a schematic structural diagram of the first embodiment of a multi-module routing configuration device based on a soft router provided by this application. The multi-module routing configuration device based on a soft router is used to execute the aforementioned multi-module routing configuration method based on a soft router.

[0101] As Figure 5 shown, the multi-module routing configuration device 300 based on a soft router includes: a first power-on module 301, a routing configuration information distribution module 302, a second power-on module 303, and a routing forwarding policy configuration module 304.

[0102] The first power-on module 301 is used to control the power-on of each of the second processors by the control board based on a first power-on instruction;

[0103] The routing configuration information distribution module 302 is used to distribute routing configuration information to each of the second processors by the control board when the control board receives a power-on feedback signal fed back by each of the second processors;

[0104] The second power-on module 303 is used to power on each of the first processors based on a second power-on instruction, so that each of the first processors reads the routing configuration information from the corresponding second processor;

[0105] The routing forwarding policy configuration module 304 is used to configure a routing forwarding policy based on the routing configuration information corresponding to each of the first processors, so that the first modules communicate with each other according to the routing forwarding policy.

[0106] In one embodiment, the multi-module routing configuration device 300 based on a soft router further includes:

[0107] A routing configuration information modification unit, which is used to modify the current routing configuration information of the first processor to the routing configuration information.

[0108] In one embodiment, the second power-on module 303 includes:

[0109] A second power-on instruction generation unit, which is used to generate the second power-on instruction and send the second power-on instruction to each of the second processors when the control board receives an information reception signal fed back by the second processor;

[0110] The first processor power-on unit is configured to power on each of the first processors when each of the second processors receives the second power-on instruction, so as to establish a communication connection between the first processor and the second processor;

[0111] The information reading unit is configured to read the routing configuration information in the second processor after the first processor is powered on and started.

[0112] In one embodiment, the multi-module routing configuration device 300 based on soft routing further includes a log monitoring module, including:

[0113] The interface traffic data monitoring unit is configured to monitor the interface traffic data of the control board based on a traffic monitoring instruction;

[0114] The event creation unit is configured to create a current routing configuration event when the first power-on instruction in the interface traffic data of the control board is detected;

[0115] The log generation unit is configured to monitor and record the current routing configuration event based on a log monitoring instruction to obtain a current routing configuration log.

[0116] In one embodiment, the log monitoring module further includes:

[0117] The anomaly detection unit is configured to perform data detection on the current routing configuration log based on a preset anomaly detection rule to obtain a data detection result;

[0118] The anomaly alarm unit is configured to generate an anomaly alarm message when there is anomaly data in the data monitoring result that matches the anomaly detection rule, so that the control board can perform anomaly processing according to the anomaly alarm message.

[0119] In one embodiment, the anomaly alarm message includes anomaly location information and anomaly type, where the anomaly location information includes the location of the anomaly device and the identification information of the anomaly device.

[0120] In one embodiment, the routing configuration information includes a routing ID and a routing IP.

[0121] It should be noted that those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the above-described device and each module can refer to the corresponding processes in the foregoing embodiment of the multi-module routing configuration method based on soft routing, which will not be elaborated herein.

[0122] The device provided in the above embodiment can be implemented in the form of a computer program, and the computer program can run on a computer device as shown in Figure 6 as shown.

[0123] Please refer to Figure 6 , Figure 6 which is a schematic block diagram of the structure of a computer device provided by an embodiment of the present application. The computer device may be a server.

[0124] Refer to Figure 6 , the computer device includes a processor, a memory, and a network interface connected through a system bus. Among them, the memory may include a non-volatile storage medium and an internal memory.

[0125] The non-volatile storage medium can store an operating system and a computer program. The computer program includes program instructions, which when executed, can cause the processor to execute any multi-module routing configuration method based on a soft router.

[0126] The processor is used to provide computing and control capabilities to support the operation of the entire computer device.

[0127] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor, the processor can execute any multi-module routing configuration method based on a soft router.

[0128] The network interface is used for network communication, such as sending assigned tasks, etc. Those skilled in the art can understand that Figure 6 the structure shown in [[ ]] is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.

[0129] It should be understood that the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0130] Among them, in one embodiment, the processor is used to run the computer program stored in the memory to implement the following steps:

[0131] Based on the first power-on instruction, control the control board to power on each of the second processors;

[0132] When the control board receives the power-on feedback signals fed back by each of the second processors, the control board issues routing configuration information to each of the second processors;

[0133] Based on the second power-on instruction, power on each of the first processors so that each of the first processors reads the routing configuration information from the corresponding second processor;

[0134] Based on the routing configuration information corresponding to each of the first processors, configure a routing forwarding policy so that each of the first modules communicates according to the routing forwarding policy.

[0135] In one embodiment, before the processor implements configuring the routing forwarding policy based on the routing configuration information corresponding to each of the first processors so that each of the first modules communicates according to the routing forwarding policy, it is further configured to implement:

[0136] Modify the current routing configuration information of the first processor to the routing configuration information.

[0137] In one embodiment, when the processor implements powering on each of the first processors based on the second power-on instruction so that each of the first processors reads the routing configuration information from the corresponding second processor, it is configured to implement:

[0138] When the control board receives the information reception signal fed back by the second processor, generate the second power-on instruction and issue the second power-on instruction to each of the second processors;

[0139] When each of the second processors receives the second power-on instruction, each of the second processors powers on each of the first processors to establish a communication connection between the first processor and the second processor;

[0140] After the first processor is powered on and starts up, read the routing configuration information in the second processor.

[0141] In one embodiment, when the processor is configured to run a computer program stored in a memory, it is further configured to implement:

[0142] Based on a traffic monitoring instruction, monitor the interface traffic data of the control board;

[0143] When the first power-on instruction in the interface traffic data of the control board is detected, create a current routing configuration event;

[0144] Based on the log monitoring instruction, monitor and record the current routing configuration event to obtain the current routing configuration log.

[0145] In one embodiment, after the processor implements monitoring and recording the current routing configuration event based on the log monitoring instruction to obtain the current routing configuration log, it is further configured to implement:

[0146] Based on a preset anomaly detection rule, perform data detection on the current routing configuration log to obtain a data detection result;

[0147] When there is anomaly data in the data monitoring result that matches the anomaly detection rule, generate an anomaly alarm message so that the control board can perform anomaly handling according to the anomaly alarm message.

[0148] In one embodiment, the anomaly alarm message includes anomaly location information and anomaly type, where the anomaly location information includes the location of the anomaly device and the identification information of the anomaly device.

[0149] In one embodiment, the routing configuration information includes a routing ID and a routing IP.

[0150] An embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and the computer program includes program instructions. The processor executes the program instructions to implement any one of the multi-module routing configuration methods based on a soft router provided by the embodiments of the present application.

[0151] Among them, the computer-readable storage medium may be an internal storage unit of the computer device described in the foregoing embodiment, such as the hard disk or memory of the computer device. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk equipped on the computer device, a SmartMedia Card (SMC), a Secure Digital (SD) card, a Flash Card, etc.

[0152] As described above, the above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of various equivalent modifications or substitutions, and these modifications or substitutions should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A multi-module routing configuration method based on a soft router, characterized in that, Applied to a multi-module server, the multi-module server includes a control board and at least one first module, and the first module includes at least one first processor and a second processor corresponding to each of the first processors; the method includes: Based on a first power-on instruction, controlling the control board to power on each of the second processors; When the control board receives the power-on feedback signals fed back by each of the second processors, the control board issues routing configuration information to each of the second processors; Based on a second power-on instruction, powering on each of the first processors so that each of the first processors reads the routing configuration information from the corresponding second processor; Based on the routing configuration information corresponding to each of the first processors, configuring a routing forwarding policy so that each of the first modules communicates according to the routing forwarding policy.

2. The multi-module routing configuration method based on a soft router according to claim 1, wherein, Before the step of configuring a routing forwarding policy based on the routing configuration information corresponding to each of the first processors so that each of the first modules communicates according to the routing forwarding policy, it further includes: Modifying the current routing configuration information of the first processor to the routing configuration information.

3. The multi-module routing configuration method based on a soft router according to claim 1, characterized in that The step of powering on each of the first processors based on a second power-on instruction so that each of the first processors reads the routing configuration information from the corresponding second processor includes: When the control board receives the information reception signal fed back by the second processor, generating the second power-on instruction and issuing the second power-on instruction to each of the second processors; When each of the second processors receives the second power-on instruction, each of the second processors powers on each of the first processors to establish a communication connection between the first processor and the second processor; After the first processor is powered on and starts up, reading the routing configuration information in the second processor.

4. The multi-module routing configuration method based on a soft router according to claim 1, characterized in that, The method further includes: Monitoring the interface traffic data of the control board based on a traffic monitoring instruction; When the first power-on instruction in the interface traffic data of the control board is detected, creating a current routing configuration event; Monitoring and recording the current routing configuration event based on a log monitoring instruction to obtain a current routing configuration log.

5. The multi-module routing configuration method based on a soft router according to claim 4, wherein, After the step of monitoring and recording the current routing configuration event based on a log monitoring instruction to obtain a current routing configuration log, it further includes: Performing data detection on the current routing configuration log based on a preset anomaly detection rule to obtain a data detection result; When there is anomaly data in the data monitoring result that matches the anomaly detection rule, generating an anomaly alarm message so that the control board performs anomaly handling according to the anomaly alarm message.

6. The multi-module routing configuration method based on a soft router according to claim 5, wherein The anomaly alarm message includes anomaly location information and an anomaly type, where the anomaly location information includes the location of the anomaly device and the identification information of the anomaly device.

7. The multi-module routing configuration method based on a soft router according to claim 1, wherein, The routing configuration information includes a routing ID and a routing IP.

8. A multi-module routing configuration device based on a soft router, characterized in that, The multi-module routing configuration device based on a software router includes: A first power-on module, configured to control the control board to power on each of the second processors based on a first power-on instruction; A routing configuration information distribution module, configured to, when the control board receives the power-on feedback signals fed back by the second processors, the control board distributes routing configuration information to each of the second processors; A second power-on module, configured to power on each of the first processors based on a second power-on instruction, so that each of the first processors reads the routing configuration information from the corresponding second processor; A routing forwarding policy configuration module, configured to configure a routing forwarding policy based on the routing configuration information corresponding to each of the first processors, so that each of the first modules communicates according to the routing forwarding policy.

9. A multi-module server, characterized in that, The multi-module server includes: A control board, which includes at least one communication interface; At least one first module, which includes at least one first processor and at least one second processor, wherein the first processors and the second processors are in one-to-one correspondence; Wherein, the control board is communicatively connected to each of the first modules through the communication interface, and when each of the first modules is communicatively connected to the control board, each of the first processors and each of the second processors are communicatively connected to the control board in a powered-on state.

10. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, wherein when the computer program is executed by a processor, the steps of the multi-module routing configuration method based on a software router according to any one of claims 1 to 7 are implemented.