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

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

Info

Publication number
CN113691453A
CN113691453A CN202110935897.7A CN202110935897A CN113691453A CN 113691453 A CN113691453 A CN 113691453A CN 202110935897 A CN202110935897 A CN 202110935897A CN 113691453 A CN113691453 A CN 113691453A
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.)
Granted
Application number
CN202110935897.7A
Other languages
Chinese (zh)
Other versions
CN113691453B (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

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 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, 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 under the communication address network segment. The method and the device can make up the defects of functions of the conventional Adaptive AUTOSAR NM module, can solve the routing problem of network data packets among the computing units, and enable the central computing unit to forward the data packets to reach the designated network.

Description

Network management method, device, equipment and storage medium
Technical Field
The present application relates to the field of communications of smart vehicles, and in particular, to a network management method, device, apparatus, and storage medium.
Background
The intelligent and networking development of automobiles needs high-performance computing capability, flexible software function and rapid network communication capability, which brings about a new generation of electronic and electrical architecture with high-speed communication capability based on a vehicle-mounted ethernet, such as a network topology diagram shown in fig. 1, wherein a central computing unit is taken as a center, a plurality of regional computing units are connected through the ethernet, data packets are forwarded 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 in a unified manner.
The Adaptive automotive Architecture (AP) is used as a standardized middleware of a high-performance ECU supporting a new generation of electronic and electrical architecture, and is designed and developed according to a service-oriented architecture design (SOA) concept principle. As shown in fig. 1, service-oriented communication is performed between a central computing unit and a regional computing unit on which an AP system is mounted based on a service over ip or DDS, if one regional computing unit sends a service over ip packet or socket packet to another regional computing unit, after the packet arrives at the central computing unit, the central computing unit does not know to which regional computing unit the packet is to be forwarded, and similarly, if the regional computing unit is to send data to an external network, the central computing unit does not know to which network the packet is to be forwarded.
There are 2 existing solutions to the above-mentioned problems:
1. the target forwarding of communication data packets between regional computing units is realized by adding a switch in the central computing unit; however, the addition of the switch will result in cost increase, and the switch still cannot forward the data packet to the target network when the regional computing unit needs to communicate with the external network through the central computing unit.
2. Upgrading the central computing unit to a gateway function so as to solve the problem that the regional computing unit communicates with an external network through the central computing unit; however, the cost of the whole vehicle can be greatly increased, and meanwhile, due to the fact that the network function requirements are various and the requirements of different vehicles and factories are different, the gateway needs to be customized, and 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 mode of the underlying network, realizes the sleep and the awakening of the communication bus rule, saves electric energy and provides an interface for requesting to control and inquiring the network state; each area computing unit carrying the AP system cannot provide a network packet routing policy or mechanism for the node, and also cannot perform network configuration management on each area computing unit node.
Therefore, it is necessary to solve the problem that, on the premise of not increasing the cost, when each computing unit in the new generation of electronic and electrical architecture is equipped with an AP system and each local computing unit performs network packet communication through a central computing unit, the central computing unit does not know how to forward the communication packet to a destination, and particularly, when the central computing unit communicates with an external network, does not know how to forward the packet to a corresponding network channel.
Disclosure of Invention
The embodiment of the application provides a network management method, a device, equipment and a storage medium, which can make up the defects of the function of the conventional Adaptive AUTOSAR NM module on the premise of not increasing the cost, can solve the routing problem of network data packets among computing units by adding the functions of network configuration management and policy routing generation, and can enable a central computing unit to forward the data packets to reach an appointed 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 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, 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 under the communication address network segment.
Optionally, creating a 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 sending data.
Optionally, creating a 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 a routing rule, further includes:
and configuring the 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 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.
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:
and configuring the kernel parameters by any one of a sysctl instruction, a mapping file for modifying the kernel parameters and a configuration file so as to start a routing function.
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 each internal area computing unit;
a creation module 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 communication address information carried by data when the data is received through any network interface; the target static routing table is used for realizing the transmission of data.
In another aspect, an embodiment of the present application provides an apparatus, where the apparatus includes a processor and a memory, where the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded by the processor and executes the above network management method.
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 in the storage medium, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the network management method.
The network management method, the device, the equipment and the 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 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, 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 under the communication address network segment. Therefore, on the premise of not increasing the cost, the function deficiency of the conventional Adaptive AUTOSAR NM module can be made up, the routing problem of network data packets among 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 packets to reach the designated network.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a new generation automotive electrical and electronic network topology provided by an embodiment of the present application;
fig. 2 is a schematic flowchart of a network management method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a new generation automotive electrical and electronic network topology and network management provided by 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 block diagram of a hardware structure of a server in a network management method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or 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, 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 present application is mainly applied to a high-end MCU which runs under an ethernet architecture of a whole automobile and uses Linux as a kernel (the kernel version is not lower than 2.1). Under the novel automobile electronic and electrical architecture based on the Ethernet, a central computing unit is connected with various regional computing units through the Ethernet, a high-performance central computing unit carrying an AP system is connected with the regional computing units through the Ethernet, and the central computing unit is responsible for forwarding all network data packets passing through the central computing unit to a target network or a target network port, so that policy routing planning needs to be carried out on the data packets to realize data packet shunting.
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 Adaptive AUTOSAR NM module function can be overcome, the network data packet routing problem among the computing units can be solved by adding the network configuration management and policy routing generation functions, and the central computing unit can forward the data packet to a specified network (a public network or a private network).
A specific embodiment of a network management method according to the present application is described below, and fig. 2 is a schematic flow chart of a network management method according to the embodiment of the present application, and the present specification provides the method operation steps according to the embodiment or the flow chart, but more or less operation steps may be included based on conventional or non-creative labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. In practice, the system or server product may be implemented in a sequential or parallel manner (e.g., parallel processor or multi-threaded environment) according to the embodiments or methods shown in the figures. Specifically, 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 network interfaces are used for connecting an external network and each internal area computing unit.
In the embodiment of the present application, the network management module NM of the central computing unit carrying the AP system is responsible for network management of the AP system platform, and its working modes include three types:
a Bus-Sleep Mode dormant Mode and a low power consumption Mode, wherein in the Mode, no network management message is sent and no application message is sent and received;
a Prepare Bus-Sleep Mode pre-Sleep Mode, which indicates a previous standby state entering the Sleep Mode, and in the Mode, network management message frames and application messages are not sent generally, and all nodes empty sending caches before entering the Bus-Sleep Mode;
the Network Mode allows each ECU in the vehicle to carry out normal communication, namely, Network management message frames can be received and transmitted, and application messages can be received and transmitted;
as can be seen from the above working mode of the NM module, the data transmission states in different modes only need to perform routing planning and add corresponding routing policies to data in the data transmission mode, that is, in the network mode, and the network card can also be configured and managed as needed 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 network interface in the plurality of network interfaces; the network interfaces are used for connecting an external network and each internal area computing unit.
Referring to fig. 3, fig. 3 is a schematic diagram of a new generation automotive electronic-electrical network topology according to an embodiment of the present disclosure, in which the central computing unit in fig. 3 includes eth0, eth1, eth2, and eth 34 network interfaces, and 4 network interfaces are respectively used to connect to an area computing unit; it should be noted that the number of the network interfaces and the number of the area calculating units in fig. 2 are only schematic, the number of the area calculating units in the actual architecture may be increased according to the actual requirement, and the area calculating units may be divided into pieces in the physical space of the automobile; in addition to the communication between the regional computing units and the central computing unit, the communication between the 4 regional 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-computation-power tasks of the zone control units are completed by the central computing unit. Each regional computing unit can be used for mutual backup of the other side, backup data is transmitted to the other side as required, various ECU control units are connected with the regional computing units, and the data received by the different regional computing units can be information data such as external lamps, windscreen wipers, locks, keys, car windows, electric tail gates and the like, and can also be information data such as energy consumption management, gear switching, diagnostic information, various sensor data and the like. In addition, the central computing unit further comprises network interfaces APN1 and APN2, which are respectively used for connecting 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 (eth0, eth1, eth2, eth3, APN1, APN2), for example, the communication address network segment corresponding to interface eth0 is 192.168.1.0/24, the communication address network segment corresponding to interface eth1 is 192.168.2.0/24, the communication address network segment corresponding to interface eth2 is 192.168.3.0/24, the communication address network segment corresponding to interface eth3 is 192.168.4.0/24, the communication network segment corresponding to interface APN1 is 103.49.10.0/24, the communication address network segment corresponding to 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 the 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 routing data out using the local compute unit; default is the default route, and if the IP of the target host is not found, the default route is sent to the 192.168.1.1 address through the eth0 port.
S203: creating a routing rule; the routing rule comprises the mapping relation between each communication address network segment and the static routing table.
In the embodiment of the application, the AP respectively constructs the static routing tables of each network interface and establishes the routing rules by adopting an ip route/rule command of Linux based on a Linux kernel. The routing rules are global to the central computing unit in kernel space.
In an alternative embodiment, the method for 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 sending data.
Another optional implementation of creating a 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.
Further, in the process of creating the routing rule, the method may further include: and configuring the routing priority for the communication address network segment corresponding to each network interface. In this way, data with high real-time requirements is preferentially routed and transferred.
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 under 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 communication address information carried by the data; the communication address information carried by the data may be address information of the target subnet, and may also be 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, and the determining a corresponding target static routing table from the mapping relationship according to the communication address information carried by the data may include:
determining 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 optional implementation, when the communication address information is address information of a source subnet carried by data, and the determining a corresponding target static routing table from the mapping relationship according to the communication address information carried by the data 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 number to the left of the colon represents priority, and the routing rule is interpreted as:
the data packet to the area calculation unit where the 192.168.1.0 network segment is located goes through the eth0 routing table route;
the data packet to the area calculation unit where the 192.168.2.0 network segment is located goes through the eth1 routing table route;
the data packet going to the calculation unit of the area where the 192.168.3.0 network segment is located goes through the eth2 routing table;
the data packet going to the calculation unit of the area where the 192.168.4.0 network segment is located goes through the eth3 routing table;
data packets to 103.49.10.0 network segment (public network) are to outer network, and apn1 routing table routing is carried out;
packets destined for 103.49.11.0 network segment (private network) are also destined for the foreign network, and travel apn2 routing table route.
It should be noted that, in practical applications, the routing rule is flexible to use, and the rule condition can be flexibly created according to actual needs by using the destination communication address information or the source communication address information as the determination condition.
In an optional embodiment, since the AP system is based on a Linux system kernel, and the Linux system kernel is configured to disable packet forwarding by default, the method may further include:
and configuring the kernel parameters by any one of a sysctl instruction, a mapping file for modifying the kernel parameters and a configuration file so as to start a routing function.
Specifically, the-w parameter of the sysctl command can modify the kernel parameter of Linux in real time, and the following commands are used: and (4) sysctl-w net, ipv4, ip _ forward equals 1, namely, the route forwarding can be started.
In summary, the network management method provided in the embodiments of the present application can make up for the deficiency of the existing Adaptive automotive architecture NM module function without increasing the cost, and can solve the problem of network packet routing between the computing units by adding the network configuration management and policy routing generation functions, so that the central computing unit can forward the packet to reach the designated network.
An embodiment of the present 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 present application, and as shown in fig. 4, the network management device includes:
a configuration module 401, configured to configure a corresponding communication address network segment and a static routing table for each network interface of the plurality of network interfaces when the network management module of the central computing unit is in the network mode; the network interfaces are used for connecting an external network with each internal area computing unit;
a creation module 402 for creating 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 the transmission of data.
In an alternative embodiment, the creating module 402 is specifically configured to establish a mapping relationship between a source communication address network segment and a static routing table based on a communication address network segment of a network interface that sends data.
In another alternative embodiment, the creating module 402 is specifically configured to establish a mapping relationship between a destination communication address network segment and a static routing table based on a communication address network segment of a network interface receiving data.
In an alternative embodiment, the creating module 402 is further configured to configure a routing priority for a communication address network segment corresponding to each network interface.
In an optional implementation manner, the communication address information is address information of a target subnet carried by the data; a determining module 403, specifically 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 optional implementation, the communication address information is address information of a source subnet carried by the data; a determining module 403, specifically 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 route starting module is used for configuring the kernel parameters in any one mode of sysctl instructions, modification of the mapping files of the kernel parameters and modification of the configuration files so as to start the routing function.
The device and method embodiments in the embodiments of the present application are based on the same application concept.
The method provided by the embodiment of the application can be executed in a computer terminal, a server or a similar operation device. Taking the example of running on a server, fig. 5 is a hardware structure block diagram of the server of the network management method provided in the embodiment of the present application. As shown in fig. 5, the server 500 may have a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 510 (the processors 510 may include but are not limited to a Processing device such as a microprocessor NCU or a programmable logic device FPGA), a memory 530 for storing data, and one or more storage media 520 (e.g., one or more mass storage devices) for storing application programs 523 or data 522. Memory 530 and storage medium 520 may be, among other things, transient storage 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 for the server. Still further, the central processor 510 may be configured to communicate with the storage medium 520 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, and the like.
The input/output interface 540 may be used to receive or transmit data via a network. Specific examples 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 (NIC) that can be connected 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, which is used for communicating with the internet in a wireless manner.
It will be understood by those skilled in the art that the structure shown in fig. 5 is only an illustration and is not intended to limit the structure of the electronic device. 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 further provide a storage medium, which 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 the method embodiments, where the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the network management method.
Alternatively, in this embodiment, the storage medium may be located in at least one network server of a plurality of network servers of a computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
As can be seen from the embodiments of a network management method, apparatus, device, and storage medium provided in the present application, when a network management module of a central computing unit is in a network mode in the present application, a corresponding communication address network segment and a static routing table are configured for each network interface of 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, 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 under the communication address network segment. Therefore, on the premise of not increasing the cost, the function deficiency of the conventional Adaptive AUTOSAR NM module can be made up, the routing problem of network data packets among 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 packets to reach the designated network.
It should be noted that: the sequence of the embodiments of the present application is only for description, and does not represent the advantages and disadvantages of the embodiments. And specific embodiments thereof have been described above. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may 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 may also be possible or may be advantageous.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
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 instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. A method of network management, comprising:
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 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 under a communication address network segment.
2. The method according to claim 1, wherein the creating a 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 sending data.
3. The method according to claim 1, wherein the creating a 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. The network management method according to claim 2 or 3, wherein the creating a routing rule further comprises:
and configuring the routing priority for the communication address network segment corresponding to each network interface.
5. The 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 a corresponding target static routing table from the mapping relation according to the communication address information carried by the data includes:
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 a corresponding target static routing table from the mapping relation according to the communication address information carried by the data includes:
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 method of claim 1, further comprising:
and configuring the kernel parameters by any one of a sysctl instruction, a mapping file for modifying the kernel parameters and a configuration file so as to start a routing function.
8. A network management apparatus, comprising:
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 each internal area computing unit;
a creation module for creating a routing rule; the routing rule comprises the mapping relation between each communication address network segment and a static routing table;
a determining module, 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; and the target static routing table is used for realizing the transmission of the data.
9. An apparatus comprising a processor and a memory, wherein at least one instruction or at least one program is stored in the memory, and wherein the at least one instruction or the at least one program is loaded by the processor and executes the network management method according to any one of claims 1-7.
10. A computer storage medium, wherein at least one instruction or at least one program is stored, and wherein the at least one instruction or the at least one program is loaded and executed by a processor to implement the network management method according to any one of claims 1 to 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 true CN113691453A (en) 2021-11-23
CN113691453B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866510A (en) * 2022-05-25 2022-08-05 山东省计算中心(国家超级计算济南中心) Cross-network and remote 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 (10)

* 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
CN104639582A (en) * 2013-11-11 2015-05-20 广州汽车集团股份有限公司 Vehicle network signal forwarding gateway and method
CN109714421A (en) * 2018-12-28 2019-05-03 国汽(北京)智能网联汽车研究院有限公司 Intelligent network based on bus or train route collaboration joins automobilism 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
CN110962778A (en) * 2019-11-28 2020-04-07 安徽江淮汽车集团股份有限公司 Gateway device of automobile and automobile
WO2020186925A1 (en) * 2019-03-15 2020-09-24 华为技术有限公司 Data transmission method and computer system
CN112165438A (en) * 2020-09-18 2021-01-01 北京车和家信息技术有限公司 Vehicle communication method and communication system
CN112887149A (en) * 2021-01-29 2021-06-01 中汽创智科技有限公司 Service visual management system and management method thereof
CN113014489A (en) * 2020-12-31 2021-06-22 腾讯科技(深圳)有限公司 Data forwarding method and device, server and storage medium

Patent Citations (10)

* 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
CN104639582A (en) * 2013-11-11 2015-05-20 广州汽车集团股份有限公司 Vehicle network signal forwarding gateway and method
CN109714421A (en) * 2018-12-28 2019-05-03 国汽(北京)智能网联汽车研究院有限公司 Intelligent network based on bus or train route collaboration joins automobilism system
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
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
CN113014489A (en) * 2020-12-31 2021-06-22 腾讯科技(深圳)有限公司 Data forwarding method and device, server and storage medium
CN112887149A (en) * 2021-01-29 2021-06-01 中汽创智科技有限公司 Service visual management system and management method thereof

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李慧颖: "基于Linux操作***实现静态路由", 《通讯世界》 *
邱天时等: "兼容ROS的自适应AUTOSAR面向服务通信研究" *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866510A (en) * 2022-05-25 2022-08-05 山东省计算中心(国家超级计算济南中心) Cross-network and remote interconnection communication method and system based on InfiniBand network
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

Also Published As

Publication number Publication date
CN113691453B (en) 2023-06-20

Similar Documents

Publication Publication Date Title
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
EP4202645A1 (en) Vehicle upgrading method and apparatus
CN115362662A (en) Flow management for intelligent network interface cards
CN108712502A (en) Vehicle diagnosis method and connector, electronic equipment, storage medium
CN109074330A (en) Network interface card calculates equipment and data package processing method
US11394607B2 (en) Method and system for network configuration
CN103516782A (en) Distributed processing of network device tasks
WO2015079284A1 (en) Methods and systems for processing internet protocol packets
Zaborovskiy et al. Adage mobile services for its infrastructure
US20200244623A1 (en) Data transmission method, server and offload card
US11689420B1 (en) Template based edge cloud core deployment
CN114270893A (en) Management device, in-vehicle system, vehicle, communication management method, and communication management program
CN112637037B (en) Cross-region container communication system, method, storage medium and computer equipment
CN114124714A (en) Multi-level network deployment method, device, equipment and storage medium
CN113127144B (en) Processing method, processing device and storage medium
CN104571934A (en) Memory access method, equipment and system
CN105827496A (en) Method and apparatus for managing PE device
US11128558B2 (en) Automatic routing configuration between hosts and network layer devices
CN110086676B (en) Configuration method of distributed router and related equipment
CN106803804B (en) Method and device for transmitting message
CN116016448A (en) Service network access method, device, equipment and storage medium
CN115190087A (en) Data transmission method, device, equipment and medium based on two-layer intermediate equipment
CN111901153B (en) Tactical edge-oriented decentralized computing architecture
CN104991873B (en) Equipment management interface under software communications architecture and application Load-unload method

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