CN113691453B - Network management method, device, equipment and storage medium - Google Patents

Network management method, device, equipment and storage medium Download PDF

Info

Publication number
CN113691453B
CN113691453B CN202110935897.7A CN202110935897A CN113691453B CN 113691453 B CN113691453 B CN 113691453B CN 202110935897 A CN202110935897 A CN 202110935897A CN 113691453 B CN113691453 B CN 113691453B
Authority
CN
China
Prior art keywords
network
communication address
data
routing table
address information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110935897.7A
Other languages
Chinese (zh)
Other versions
CN113691453A (en
Inventor
李丰军
周剑光
吴永喜
王腾达
蒋嗣韬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Automotive Innovation Co Ltd
Original Assignee
China Automotive Innovation Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Automotive Innovation Co Ltd filed Critical China Automotive Innovation Co Ltd
Priority to CN202110935897.7A priority Critical patent/CN113691453B/en
Publication of CN113691453A publication Critical patent/CN113691453A/en
Application granted granted Critical
Publication of CN113691453B publication Critical patent/CN113691453B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering

Abstract

The application relates to a network management method, a device, equipment and a storage medium, wherein the method comprises the following steps: when the network management module of the central computing unit is in a network mode, configuring a corresponding communication address network segment and a static routing table for each network interface in a plurality of network interfaces; the network interfaces are used for connecting an external network with the internal area computing units; creating a routing rule; the routing rule comprises the mapping relation between each communication address network segment and a static routing table; when data is received through any network interface, a corresponding target static routing table is determined from the mapping relation according to communication address information carried by the data; the target static routing table is used for realizing data transmission; the communication address information refers to address information of each subnet in the communication address network segment. The method and the device can make up the function deficiency of the existing Adaptive AUTOSAR NM module, solve the problem of network data packet routing among all computing units, and enable the central computing unit to forward the data packet to reach the appointed network.

Description

Network management method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of communications of intelligent automobiles, and in particular, to a network management method, device, apparatus, and storage medium.
Background
The development of the intellectualization and networking of automobiles requires high-performance computing capability, flexible software functions and quick network communication capability, which promotes a new generation of electronic and electric architecture with high-speed communication capability based on a vehicle-mounted Ethernet, such as a network topology diagram shown in fig. 1, wherein the architecture is centered on a central computing unit, a plurality of regional computing units are connected through the Ethernet, data packet forwarding is carried out among the regional computing units through the central computing unit to realize communication, and the regional computing units are communicated with an external network through the central computing unit uniformly.
Adaptive AUTOSAR (AP) is used as a standardized middleware for supporting high-performance ECU of a new generation of electronic and electric architecture, and is designed and developed according to the principle of service oriented architecture design (SOA). As shown in fig. 1, service-oriented communication is performed between a central computing unit and an area computing unit on which an AP system is installed based on SOMEIP or DDS, if one area computing unit transmits a SOMEIP packet or a socket packet to the other area computing unit, after the packet arrives at the central computing unit, it does not know to which area computing unit the packet is to be forwarded, and similarly, if the area computing unit is to transmit data to an external network, the central computing unit does not know to which network the packet is to be forwarded.
There are 2 kinds of improvement schemes for the above problems:
1. by adding a switch in the central computing unit, the target forwarding of the communication data packet between the regional computing units is realized; however, adding a switch causes an increase in cost, and when the area computing unit is to communicate with an external network through the central computing unit, the switch still cannot forward the data packet to the target network.
2. Upgrading the central computing unit to have a gateway function so as to solve the problem that the regional computing unit communicates with the external network through the central computing unit; however, the cost of the whole vehicle can be greatly increased, and meanwhile, because the network function needs are various and different vehicle factories need different, the gateway needs to be customized, so that the cost is further increased.
In addition, the AP system is provided with a Network Management (NM) module, but the NM module mainly coordinates the switching of the bottom network mode, realizes the regular dormancy and awakening of a communication bus, saves electric energy, and externally provides an interface for requesting control and inquiring network state; each area computing unit with the AP system cannot provide a network packet routing policy or mechanism for the node, and does not perform network configuration management on the nodes of each area computing unit.
Therefore, it is needed to solve the problem that how to forward the communication data packet to the destination when each area computing unit performs network data packet communication through the central computing unit after each computing unit in the new generation of electronic and electric architecture is installed with the AP system without increasing the cost, and especially how to forward the data packet to the corresponding network channel when the central computing unit communicates with the external network.
Disclosure of Invention
The embodiment of the application provides a network management method, a device, equipment and a storage medium, which can make up for the defects of the functions of the existing Adaptive AUTOSAR NM module on the premise of not increasing the cost, can solve the problem of network data packet routing among all computing units by adding the functions of network configuration management and strategy route generation, and can enable a central computing unit to forward data packets to reach a designated network.
In one aspect, an embodiment of the present application provides a network management method, including:
when the network management module of the central computing unit is in a network mode, configuring a corresponding communication address network segment and a static routing table for each network interface in a plurality of network interfaces; the network interfaces are used for connecting an external network with the internal area computing units;
creating a routing rule; the routing rule comprises the mapping relation between each communication address network segment and a static routing table;
when data is received through any network interface, a corresponding target static routing table is determined from the mapping relation according to communication address information carried by the data; the target static routing table is used for realizing data transmission; the communication address information refers to address information of each subnet in the communication address network segment.
Optionally, creating the routing rule includes:
and establishing a mapping relation between the source communication address network segment and the static routing table based on the communication address network segment of the network interface for transmitting data.
Optionally, creating the routing rule includes:
and establishing a mapping relation between the target communication address network segment and the static routing table based on the communication address network segment of the network interface for receiving the data.
Optionally, creating the routing rule further includes:
and configuring routing priority for the communication address network segment corresponding to each network interface.
Optionally, the communication address information is address information of a target subnet carried by the data;
determining a corresponding target static routing table from the mapping relation according to the communication address information carried by the data, wherein the method comprises the following steps:
determining a target communication address network segment according to the address information of the target subnet carried by the data;
and determining a corresponding target static routing table from the mapping relation according to the target communication address network segment.
Optionally, the communication address information is address information of a source subnet carried by the data;
determining a corresponding target static routing table from the mapping relation according to the communication address information carried by the data, wherein the method comprises the following steps:
determining a source communication address network segment according to address information of a source subnet carried by data;
and determining a corresponding target static routing table from the mapping relation according to the source communication address network segment.
Optionally, the method further comprises:
the routing function is started by configuring the kernel parameters in any mode of a sysctl instruction, modifying the mapping file of the kernel parameters and modifying the configuration file.
In another aspect, an embodiment of the present application provides a network management apparatus, including:
the configuration module is used for configuring a corresponding communication address network segment and a static routing table for each network interface in the plurality of network interfaces when the network management module of the central computing unit is in a network mode; the network interfaces are used for connecting an external network with the internal area computing units;
the creation module is used for creating a routing rule; the routing rule comprises the mapping relation between each communication address network segment and a static routing table;
the determining module is used for determining a corresponding target static routing table from the mapping relation according to the communication address information carried by the data when the data is received through any network interface; the target static routing table is used for realizing data transmission.
In another aspect, an embodiment of the present application provides an apparatus, where the apparatus includes a processor and a memory, and at least one instruction or at least one program is stored in the memory, where the at least one instruction or at least one program is loaded by the processor and executed by the processor to perform the network management method described above.
In another aspect, an embodiment of the present application provides a computer storage medium, where at least one instruction or at least one program is stored, where the at least one instruction or the at least one program is loaded and executed by a processor to implement the network management method described above.
The network management method, device, equipment and storage medium provided by the embodiment of the application have the following beneficial effects:
when the network management module of the central computing unit is in a network mode, configuring a corresponding communication address network segment and a static routing table for each network interface in a plurality of network interfaces; the network interfaces are used for connecting an external network with the internal area computing units; creating a routing rule; the routing rule comprises the mapping relation between each communication address network segment and a static routing table; when data is received through any network interface, a corresponding target static routing table is determined from the mapping relation according to communication address information carried by the data; the target static routing table is used for realizing data transmission; the communication address information refers to address information of each subnet in the communication address network segment. Therefore, on the premise of not increasing the cost, the defect of the functions of the existing Adaptive AUTOSAR NM module can be overcome, the problem of network data packet routing among all computing units can be solved by adding the functions of network configuration management and strategy route generation, and the central computing unit can forward the data packet to reach the designated network.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a new generation automotive electronic-electric network topology provided in an embodiment of the present application;
fig. 2 is a flow chart of a network management method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a new generation of automotive electronic-electrical network topology and network management provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a network management device according to an embodiment of the present application;
fig. 5 is a hardware structure block diagram of a server of a network management method according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present application based on the embodiments herein.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
As shown in fig. 1, the method is mainly applied to a high-end MCU which runs under the whole ethernet framework of the automobile and takes Linux as a kernel (the kernel version is not lower than 2.1). Under the novel automobile electronic and electric architecture based on the Ethernet, the central computing unit is connected with various area computing units through the Ethernet, the high-performance central computing unit carrying the AP system is connected with all the area computing units through the Ethernet, and all network data packets passing through the central computing unit are forwarded to a target network or a target network port, so that strategy routing planning is needed for the data packets to realize data packet distribution.
According to the network management method provided by the embodiment of the application, on the premise of not increasing the cost, the defect of the function of the Adaptive AUTOSAR NM module can be overcome, the network data packet routing problem among all computing units can be solved by adding the functions of network configuration management and policy routing generation, and the central computing unit can forward the data packet to reach a designated network (public network or private network).
In the following, a specific embodiment of a network management method according to the present application is described, and fig. 2 is a schematic flow chart of a network management method according to the embodiment of the present application, where the method operation steps according to the embodiment or the flowchart are provided, but more or fewer operation steps may be included based on conventional or non-inventive labor. The order of steps recited in the embodiments is merely one way of performing the order of steps and does not represent a unique order of execution. When implemented in a real system or server product, the methods illustrated in the embodiments or figures may be performed sequentially or in parallel (e.g., in a parallel processor or multithreaded environment). As shown in fig. 2, the method may include:
s201: when the network management module of the central computing unit is in a network mode, configuring a corresponding communication address network segment and a static routing table for each network interface in a plurality of network interfaces; the plurality of network interfaces are used for connecting an external network with the internal area computing units.
In this embodiment of the present application, the network management module NM of the central computing unit of the AP system is responsible for network management of the AP system platform, and the working modes thereof are as follows:
a Bus-Sleep Mode and a low power consumption Mode, wherein the Mode does not send network management messages or receive application messages;
the preparation Bus-Sleep Mode pre-dormancy Mode represents the previous preparation state of entering the dormancy Mode, wherein the network management message frame is not generally sent and the application message is not sent in the dormancy Mode, and all nodes clear the sending buffer before entering the Bus-Sleep Mode;
a Network Mode, in which each ECU in the vehicle is allowed to perform normal communication, so that a Network management message frame can be received and transmitted, and an application message can be received and transmitted;
the operation mode of the NM module can show that the data transmission state in different modes only needs to carry out route planning on the data when the data is transmitted, namely in the network mode, and the corresponding route strategy is added, and the network card can be configured and managed according to the needs in other modes.
Based on this, in the embodiment of the present application, when the network management module of the central computing unit is in the network mode, a corresponding communication address network segment and a static routing table are configured for each of the plurality of network interfaces; the plurality of network interfaces are used for connecting an external network with the internal area computing units.
Referring to fig. 3, fig. 3 is a schematic diagram of a new generation of electronic and electric network of an automobile according to an embodiment of the present application, where the central computing unit in fig. 3 includes eth0, eth1, eth2, eth3 4 network interfaces, and the 4 network interfaces are respectively used to connect with a regional computing unit; it should be noted that, the number of network interfaces and the number of area computing units in fig. 2 are only schematic, the number of area computing units in the actual architecture can be increased according to actual requirements, and the area computing units can be divided into pieces in the physical space of the automobile; in addition to the communication between the area computing units and the central computing unit, the communication between the 4 area computing units needs to be forwarded by the central computing unit. The central computing unit is responsible for task scheduling of each zone controller, and the high-power task of the zone control unit is responsible for completion by the central computing unit. Each area computing unit can be mutually backup of the other side, backup data are required to be transmitted to the other side, the area computing units are connected with various ECU control units, and data received by the different area computing units can be information data such as outer lamps, wipers, locks, keys, windows and electric tail doors, and can also be information data such as energy consumption management, gear switching, diagnosis information and various sensor data. In addition, the central computing unit further comprises network interfaces APN1 and APN2 which are respectively used for being connected with an external public network and a private network, so that network data of the external network can reach the inside of the vehicle.
Specifically, when the NM module of the central computing unit is in the network mode, a communication address network segment is configured for each network interface (eth 0, eth1, eth2, eth3, APN1, APN 2), for example, the communication address network segment corresponding to the interface eth0 is 192.168.1.0/24, the communication address network segment corresponding to the interface eth1 is 192.168.2.0/24, the communication address network segment corresponding to the interface eth2 is 192.168.3.0/24, the communication address network segment corresponding to the interface eth3 is 192.168.4.0/24, the communication address network segment corresponding to the interface APN1 is 103.49.10.0/24, the communication address network segment corresponding to the interface APN2 is 103.49.11.0/24, and a static routing table corresponding to each network interface is created; taking the static routing table of interface eth0 as an example, it includes the following information:
192.168.1.0/24dev eth0…src 192.168.1.1
default via 192.168.1.1dev eth0
wherein, the field src tells the kernel that the selected source address is 192.168.1.1 when the data is routed outwards using the region computation unit; default is the default route and if the IP of the target host is not found, it is sent to the 192.168.1.1 address through the eth0 port.
S203: creating a routing rule; the routing rule includes a mapping relationship between each communication address network segment and a static routing table.
In the embodiment of the application, the AP respectively builds a static routing table of each network interface and creates a routing rule based on a Linux kernel by adopting an ip route/rule command of Linux. The routing rules are global to the central computing unit in kernel space.
In an alternative embodiment for creating routing rules, the method comprises:
and establishing a mapping relation between the source communication address network segment and the static routing table based on the communication address network segment of the network interface for transmitting data.
In another alternative embodiment for creating a routing rule, the method includes:
and establishing a mapping relation between the target communication address network segment and the static routing table based on the communication address network segment of the network interface for receiving the data.
Further, in the process of creating the routing rule, the method may further include: and configuring routing priority for the communication address network segment corresponding to each network interface. Thus, for data with high real-time requirements, the data is preferentially routed and forwarded.
S205: when data is received through any network interface, a corresponding target static routing table is determined from the mapping relation according to communication address information carried by the data; the target static routing table is used for realizing data transmission; the communication address information refers to address information of each subnet in the communication address network segment.
In the embodiment of the application, when the central computing unit receives data through any network interface, a corresponding target static routing table is determined from the mapping relation according to the communication address information carried by the data; the communication address information carried by the data can be the address information of the target subnet or the address information of the source subnet.
In an optional implementation manner, when the communication address information is address information of a target subnet carried by data, determining, according to the communication address information carried by the data, a corresponding target static routing table from the mapping relationship may include:
determining a target communication address network segment according to the address information of the target subnet carried by the data;
and determining a corresponding target static routing table from the mapping relation according to the target communication address network segment.
In another optional implementation manner, when the communication address information is address information of a source subnet carried by data, determining, according to the communication address information carried by the data, a corresponding target static routing table from the mapping relationship may include:
determining a source communication address network segment according to address information of a source subnet carried by data;
and determining a corresponding target static routing table from the mapping relation according to the source communication address network segment.
Specifically, based on the architecture shown in fig. 3, the following routing rules may be created:
100:to 192.168.1.0/24 table eth0
101:to 192.168.2.0/24 table eth1
102:to 192.168.3.0/24 table eth2
103:to 192.168.4.0/24 table eth3
104:to 103.49.10.0/24 table apn1
105:to 103.49.11.0/24 table apn2
the numbers to the left of the colon above represent priorities, and the routing rules are interpreted as:
routing the data packet to the computing unit of the area where the 192.168.1.0 network segment is located by using the eth0 routing table;
routing the data packet to the computing unit of the area where the 192.168.2.0 network segment is located by using the eth1 routing table;
routing the data packet to the area computing unit where the 192.168.3.0 network segment is located by using the eth2 routing table;
routing the data packet to the area computing unit where the 192.168.4.0 network segment is located by using the eth3 routing table;
the data packet destined for 103.49.10.0 network segment (public network) is destined for external network, and the routing table route is apn;
packets destined for the 103.49.11.0 segment (private network) are also routed to the foreign network, routing table apn.
In practical application, the routing rule is flexible to use, and the rule condition can be flexibly created according to practical needs by taking destination communication address information or source communication address information and the like as judgment conditions.
In an alternative embodiment, since the AP system is based on a Linux system kernel, the Linux system kernel prohibits packet forwarding by default, and thus the method may further include:
the routing function is started by configuring the kernel parameters in any mode of a sysctl instruction, modifying the mapping file of the kernel parameters and modifying the configuration file.
Specifically, the-w parameter of the sysctl command can modify the kernel parameter of Linux in real time, and the following command is used: sysctl-w net.ipv4.ip_forward=1, i.e. routing forwarding can be turned on.
In summary, the network management method provided by the embodiment of the application can make up for the defect of the existing Adaptive AUTOSAR NM module function on the premise of not increasing the cost, and can solve the problem of network data packet routing among all computing units by adding the network configuration management and policy route generation functions, so that the central computing unit can forward the data packet to reach the designated network.
The embodiment of the application further provides a network management device, and fig. 4 is a schematic structural diagram of the network management device provided in the embodiment of the application, as shown in fig. 4, where the device includes:
a configuration module 401, configured to configure, for each of a plurality of network interfaces, a corresponding communication address network segment and a static routing table when the network management module of the central computing unit is in a network mode; the network interfaces are used for connecting an external network with the internal area computing units;
a creating module 402, configured to create a routing rule; the routing rule comprises the mapping relation between each communication address network segment and a static routing table;
a determining module 403, configured to determine, when data is received through any network interface, a corresponding target static routing table from the mapping relationship according to communication address information carried by the data; the target static routing table is used for realizing data transmission.
In an alternative embodiment, the creating module 402 is specifically configured to establish a mapping relationship between the source communication address network segment and the static routing table based on the communication address network segment of the network interface for transmitting data.
In another alternative embodiment, the creating module 402 is specifically configured to establish a mapping relationship between the target communication address network segment and the static routing table based on the communication address network segment of the network interface that receives the data.
In an alternative embodiment, the creating module 402 is further configured to configure the routing priority for the communication address network segment corresponding to each network interface.
In an alternative implementation mode, the communication address information is address information of a target subnet carried by the data; a determining module 403, configured to determine a target communication address network segment according to address information of a target subnet carried by data; and determining a corresponding target static routing table from the mapping relation according to the target communication address network segment.
In another alternative embodiment, the communication address information is address information of a source subnet carried by the data; a determining module 403, configured to determine a source communication address network segment according to address information of a source subnet carried by data; and determining a corresponding target static routing table from the mapping relation according to the source communication address network segment.
In an alternative embodiment, the apparatus further comprises:
and the routing opening module is used for configuring the kernel parameters in any mode of a sysctl instruction, a modified mapping file of the kernel parameters and a modified configuration file so as to open a routing function.
The apparatus and method embodiments in the embodiments of the present application are based on the same application concept.
The method embodiments provided in the embodiments of the present application may be performed in a computer terminal, a server, or a similar computing device. Taking the operation on the server as an example, fig. 5 is a hardware structure block diagram of the server of a network management method according to an embodiment of the present application. As shown in fig. 5, the server 500 may vary considerably in configuration or performance and may include one or more central processing units (Central Processing Units, CPU) 510 (the processor 510 may include, but is not limited to, a microprocessor NCU, a programmable logic device FPGA, etc.) a memory 530 for storing data, one or more storage mediums 520 (e.g., one or more mass storage devices) for storing applications 523 or data 522. Wherein the memory 530 and storage medium 520 may be transitory or persistent storage. The program stored on the storage medium 520 may include one or more modules, each of which may include a series of instruction operations on a server. Still further, the central processor 510 may be arranged to communicate with a storage medium 520, and to execute a series of instruction operations in the storage medium 520 on the server 500. The server 500 may also include one or more power supplies 560, one or more wired or wireless network interfaces 550, one or more input/output interfaces 540, and/or one or more operating systems 521, such as Windows, mac OS, unix, linux, freeBSD, etc.
Input-output interface 540 may be used to receive or transmit data via a network. The specific example of the network described above may include a wireless network provided by a communication provider of the server 500. In one example, the input/output interface 540 includes a network adapter (Network Interface Controller, NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the input/output interface 540 may be a Radio Frequency (RF) module for communicating with the internet wirelessly.
It will be appreciated by those of ordinary skill in the art that the configuration shown in fig. 5 is merely illustrative and is not intended to limit the configuration of the electronic device described above. For example, server 500 may also include more or fewer components than shown in fig. 5, or have a different configuration than shown in fig. 5.
Embodiments of the present application also provide a storage medium that may be disposed in a server to store at least one instruction, at least one program, a set of codes, or a set of instructions related to implementing a network management method in a method embodiment, where the at least one instruction, the at least one program, the set of codes, or the set of instructions are loaded and executed by the processor to implement the network management method described above.
Alternatively, in this embodiment, the storage medium may be located in at least one network server among a plurality of network servers of the computer network. Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
As can be seen from the embodiments of the network management method, apparatus, device and storage medium provided in the present application, when a network management module of a central computing unit in the present application is in a network mode, a corresponding communication address network segment and a static routing table are configured for each of a plurality of network interfaces; the network interfaces are used for connecting an external network with the internal area computing units; creating a routing rule; the routing rule comprises the mapping relation between each communication address network segment and a static routing table; when data is received through any network interface, a corresponding target static routing table is determined from the mapping relation according to communication address information carried by the data; the target static routing table is used for realizing data transmission; the communication address information refers to address information of each subnet in the communication address network segment. Therefore, on the premise of not increasing the cost, the defect of the functions of the existing Adaptive AUTOSAR NM module can be overcome, the problem of network data packet routing among all computing units can be solved by adding the functions of network configuration management and strategy route generation, and the central computing unit can forward the data packet to reach the designated network.
It should be noted that: the foregoing sequence of the embodiments of the present application is only for describing, and does not represent the advantages and disadvantages of the embodiments. And the foregoing description has been directed to specific embodiments of this specification. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the apparatus embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments in part.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the preferred embodiments of the present application is not intended to limit the invention to the particular embodiments of the present application, but to limit the scope of the invention to the particular embodiments of the present application.

Claims (10)

1. A method of network management, comprising:
when a network management module of a central computing unit carrying an Adaptive Platform (AP) system is in a network mode, configuring a corresponding communication address network segment and a static routing table for each network interface in a plurality of network interfaces; the network interfaces are used for connecting an external network with each internal area computing unit;
creating a routing rule; the routing rule comprises the mapping relation between each communication address network segment and a static routing table;
when data is received through any network interface, determining a corresponding target static routing table from the mapping relation according to communication address information carried by the data; the target static routing table is used for realizing the transmission of the data; the communication address information refers to address information of each subnet in the communication address network segment.
2. The network management method of claim 1, wherein creating the routing rule comprises:
and establishing a mapping relation between the source communication address network segment and the static routing table based on the communication address network segment of the network interface for transmitting data.
3. The network management method of claim 1, wherein creating the routing rule comprises:
and establishing a mapping relation between the target communication address network segment and the static routing table based on the communication address network segment of the network interface for receiving the data.
4. A network management method according to claim 2 or 3, wherein creating a routing rule further comprises:
and configuring routing priority for the communication address network segment corresponding to each network interface.
5. A network management method according to claim 3, wherein the communication address information is address information of a target subnet carried by the data;
the determining the corresponding target static routing table from the mapping relation according to the communication address information carried by the data comprises the following steps:
determining a target communication address network segment according to the address information of the target subnet carried by the data;
and determining a corresponding target static routing table from the mapping relation according to the target communication address network segment.
6. The network management method according to claim 2, wherein the communication address information is address information of a source subnet carried by the data;
the determining the corresponding target static routing table from the mapping relation according to the communication address information carried by the data comprises the following steps:
determining a source communication address network segment according to the address information of the source subnet carried by the data;
and determining a corresponding target static routing table from the mapping relation according to the source communication address network segment.
7. The network management method according to claim 1, characterized in that the method further comprises:
the routing function is started by configuring the kernel parameters in any mode of a sysctl instruction, modifying the mapping file of the kernel parameters and modifying the configuration file.
8. A network management apparatus, comprising:
a configuration module, configured to configure a corresponding communication address network segment and a static routing table for each of a plurality of network interfaces when a network management module of a central computing unit carrying an Adaptive Platform (AP) system is in a network mode; the network interfaces are used for connecting an external network with each internal area computing unit;
the creation module is used for creating a routing rule; the routing rule comprises the mapping relation between each communication address network segment and a static routing table;
the determining module is used for determining a corresponding target static routing table from the mapping relation according to the communication address information carried by the data when the data is received through any network interface; the target static routing table is used for realizing the transmission of the data.
9. A network management device comprising a processor and a memory, wherein the memory has stored therein at least one instruction or at least one program, the at least one instruction or the at least one program being loaded by the processor and performing the network management method of any of claims 1-7.
10. A computer storage medium having stored therein at least one instruction or at least one program loaded and executed by a processor to implement the network management method of any of claims 1-7.
CN202110935897.7A 2021-08-16 2021-08-16 Network management method, device, equipment and storage medium Active CN113691453B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110935897.7A CN113691453B (en) 2021-08-16 2021-08-16 Network management method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110935897.7A CN113691453B (en) 2021-08-16 2021-08-16 Network management method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113691453A CN113691453A (en) 2021-11-23
CN113691453B true CN113691453B (en) 2023-06-20

Family

ID=78579967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110935897.7A Active CN113691453B (en) 2021-08-16 2021-08-16 Network management method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113691453B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866510B (en) * 2022-05-25 2023-06-30 山东省计算中心(国家超级计算济南中心) Cross-network and off-site interconnection communication method and system based on InfiniBand network
CN115297097A (en) * 2022-07-07 2022-11-04 广州市大周电子科技有限公司 Vehicle-mounted terminal all-in-one machine system and all-in-one machine

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471757A (en) * 2019-03-29 2019-11-19 重庆长安汽车股份有限公司 A kind of software architecture and automobile of vehicle intelligent antenna system
CN110519729A (en) * 2019-09-12 2019-11-29 武汉诚迈科技有限公司 A kind of control method of network legal power, system, computer equipment and storage medium
WO2020186925A1 (en) * 2019-03-15 2020-09-24 华为技术有限公司 Data transmission method and computer system
CN112887149A (en) * 2021-01-29 2021-06-01 中汽创智科技有限公司 Service visual management system and management method thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103036788A (en) * 2012-12-14 2013-04-10 上海斐讯数据通信技术有限公司 Implementation method of multi-interface gateway equipment data transmitting
CN104639582B (en) * 2013-11-11 2018-02-23 广州汽车集团股份有限公司 Method for the gateway and the forwarding of vehicle network signal of the forwarding of vehicle network signal
CN109714421B (en) * 2018-12-28 2021-08-03 国汽(北京)智能网联汽车研究院有限公司 Intelligent networking automobile operation system based on vehicle-road cooperation
CN110962778A (en) * 2019-11-28 2020-04-07 安徽江淮汽车集团股份有限公司 Gateway device of automobile and automobile
CN112165438A (en) * 2020-09-18 2021-01-01 北京车和家信息技术有限公司 Vehicle communication method and communication system
CN113014489B (en) * 2020-12-31 2022-02-22 腾讯科技(深圳)有限公司 Data forwarding method and device, server and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020186925A1 (en) * 2019-03-15 2020-09-24 华为技术有限公司 Data transmission method and computer system
CN110471757A (en) * 2019-03-29 2019-11-19 重庆长安汽车股份有限公司 A kind of software architecture and automobile of vehicle intelligent antenna system
CN110519729A (en) * 2019-09-12 2019-11-29 武汉诚迈科技有限公司 A kind of control method of network legal power, system, computer equipment and storage medium
CN112887149A (en) * 2021-01-29 2021-06-01 中汽创智科技有限公司 Service visual management system and management method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
邱天时等.兼容ROS的自适应AUTOSAR面向服务通信研究.《长江信息通信》.2021,全文. *

Also Published As

Publication number Publication date
CN113691453A (en) 2021-11-23

Similar Documents

Publication Publication Date Title
CN106789667B (en) Data forwarding method, related equipment and system
CN113691453B (en) Network management method, device, equipment and storage medium
US20160182341A1 (en) Switching over the Mode of a Control Unit Between a Diagnostic Bus and an External Ethernet Connection
EP1892929B1 (en) A method, an apparatus and a system for message transmission
CN108777722B (en) Multi-system networking communication method and device, mobile terminal and storage medium
US20120117246A1 (en) Method And System For The Efficient And Automated Management of Virtual Networks
US10439882B2 (en) Virtualized networking application and infrastructure
CN110098988B (en) Method and system for processing internet protocol packets
EP3780885A1 (en) Method, apparatus and system for establishing subflows of multipath connection
CN112422685B (en) 5G data processing system and method based on mobile edge computing MEC
CN109088957B (en) NAT rule management method, device and equipment
CN113794618B (en) Redundant network communication method and device based on virtual network card and terminal equipment
CN105052106A (en) Methods and systems for receiving and transmitting internet protocol (ip) data packets
US11575575B2 (en) Configuration method for implementation in a network using a dynamic routing protocol
Nguyen et al. Toward a programmable software-defined IoT architecture for sensor service provision on demand
CN108881027B (en) Method and device for realizing radius message forwarding of router based on Linux system
CN105827496A (en) Method and apparatus for managing PE device
CN104571934A (en) Memory access method, equipment and system
US11128558B2 (en) Automatic routing configuration between hosts and network layer devices
US11265798B2 (en) Method and radio communication system for an industrial automation system
CN108494679B (en) Linux system based SSH message forwarding method and device for realizing router
CN108881026B (en) Linux system based BGP message forwarding method and device for realizing router
CN109698845B (en) Data transmission method, server, unloading card and storage medium
CN113260072A (en) Mesh networking traffic scheduling method, gateway equipment and storage medium
US20200374212A1 (en) Method of automatic setup by a first device of a session complying with a dynamic routing protocol with a second device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant