CN110620728B - Message transmission method and device and computer readable storage medium - Google Patents

Message transmission method and device and computer readable storage medium Download PDF

Info

Publication number
CN110620728B
CN110620728B CN201810648160.5A CN201810648160A CN110620728B CN 110620728 B CN110620728 B CN 110620728B CN 201810648160 A CN201810648160 A CN 201810648160A CN 110620728 B CN110620728 B CN 110620728B
Authority
CN
China
Prior art keywords
forwarding
interface
component
path
determining
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
CN201810648160.5A
Other languages
Chinese (zh)
Other versions
CN110620728A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201810648160.5A priority Critical patent/CN110620728B/en
Publication of CN110620728A publication Critical patent/CN110620728A/en
Application granted granted Critical
Publication of CN110620728B publication Critical patent/CN110620728B/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

Landscapes

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

Abstract

The invention discloses a message transmission method, which comprises the following steps: determining target address information of a received message and determining an interface identifier for receiving the message; calling the topological data of the forwarding channel according to the set topological data storage path; determining interface forwarding channel topology data corresponding to the interface identification according to the forwarding channel topology data and the target address information; and controlling the transmission of the message according to the interface forwarding channel topology data. The invention also discloses a message transmission device and a computer readable storage medium.

Description

Message transmission method and device and computer readable storage medium
Technical Field
Embodiments of the present invention relate to, but not limited to, the field of communications, and in particular, to a method and an apparatus for transmitting a packet, and a computer-readable storage medium.
Background
For communication devices widely applied to internet and mobile networks, there are usually abundant service interfaces for connecting with other information devices to realize information data interaction. The software architecture of such devices typically includes a control plane and a forwarding plane. In order to realize the information interaction function, there are message transmission requirements between control planes, forwarding planes, and between the control plane and the forwarding plane of the device. To meet these packet transmission requirements, a packet enters a device from a certain service interface, and then is forwarded to a control plane or another service interface of a forwarding plane, and reliable packet transmission service quality is provided during transmission, a unique forwarding channel topology needs to be divided for each service interface.
In the related art, the forwarding path topology is described by using a hard coding method, and the method has the following problems:
first, it is not conducive to online expansion. If the device is to support a new service interface daughter card, the software code needs to be modified, the software version needs to be re-made, and then the software version of the device needs to be upgraded. The operation flow is complex, errors are easy to occur, and even the operation of the service is interrupted.
Second, it is not conducive to software version change management. The topology of the forwarding channel is described in a hard coding mode, and the format is complex and unclear. If the device supports a new service interface daughter card, the configuration needs to be modified at multiple places in the software version, which is very easy to cause errors such as software compilation.
Based on the above problem, the transmission of the packet using the topology data of the forwarding channel described in the hard coding manner is limited by the version file itself.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for message transmission, and a computer-readable storage medium, which can remove the restriction of a version file on message transmission and improve the flexibility of message transmission.
The technical scheme of the embodiment of the invention is realized as follows:
in one aspect, an embodiment of the present invention provides a packet transmission method, where the method includes:
Determining target address information of a received message and determining an interface identifier for receiving the message;
calling the topological data of the forwarding channel according to the set topological data storage path;
determining interface forwarding channel topology data corresponding to the interface identification according to the forwarding channel topology data and the target address information;
and controlling the transmission of the message according to the interface forwarding channel topology data.
In another aspect, an embodiment of the present invention provides a packet transmission apparatus, where the apparatus includes: the device comprises a determining unit, a calling unit, an interface unit and a transmission unit; wherein, the first and the second end of the pipe are connected with each other,
the determining unit is used for determining the target address information of the received message and determining the interface identifier for receiving the message;
the calling unit is used for calling the topological data of the forwarding channel according to the set topological data storage path;
the interface unit is used for determining interface forwarding channel topology data corresponding to the interface identifier according to the forwarding channel topology data and the target address information;
and the transmission unit is used for controlling the transmission of the message according to the interface forwarding channel topology data.
In another aspect, an embodiment of the present invention provides a packet transmission apparatus, including: a processor and a memory for storing a computer program operable on the processor, wherein the processor is configured to perform the steps of the message transmission method when executing the computer program.
In another aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the message transmission method is implemented.
The message transmission method, the message transmission device and the computer readable storage medium determine the target address information of the received message and determine the interface identifier of the received message; calling the topological data of the forwarding channel according to the set topological data storage path; determining interface forwarding channel topology data corresponding to the interface identifier according to the forwarding channel topology data and the target address information; controlling the transmission of the message according to the interface forwarding channel topology data; therefore, the forwarding channel topology data is stored in the set topology data storage path, so that the forwarding channel topology data is separated from the version file, the forwarding channel topology data is directly obtained from the topology data storage path during message transmission, the currently required interface forwarding channel topology data is determined according to the receiving interface of the current message, the limitation of the version file on the interface channel topology data for controlling the message transmission is removed, the flexibility of message transmission is improved, and the equipment research, development and maintenance cost is reduced.
Drawings
Fig. 1 is a schematic diagram of a forwarding channel topology structure provided in the present invention;
fig. 2 is a schematic flowchart of a message transmission method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a forwarding channel topology structure provided in the second embodiment of the present invention;
fig. 4 is a schematic diagram of a data structure of interface forwarding channel topology data according to a third embodiment of the present invention;
fig. 5 is a schematic diagram of a forwarding channel topology data system flow according to a third embodiment of the present invention;
fig. 6 is a first schematic structural diagram of a message transmission apparatus according to a fourth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a message transmission apparatus according to a fourth embodiment of the present invention;
fig. 8 is a schematic structural diagram of a message transmission apparatus according to a fifth embodiment of the present invention.
Detailed Description
In the embodiment of the invention, the target address information of a received message is determined, and the interface identifier for receiving the message is determined; determining the topological data of a forwarding channel according to a set topological data storage path; determining interface forwarding channel topology data corresponding to the interface identification according to the forwarding channel topology data and the target address information; and controlling the transmission of the message according to the interface forwarding channel topology data.
The message transmission method provided by the embodiment of the invention is applied to equipment with a board card, and the board card of the equipment can be simultaneously connected with a plurality of interface daughter cards, so that the board card has a plurality of different interfaces, and each interface can be marked through different interface identifiers. The interface is divided into an external interface and an internal interface according to the connection characteristics of the interface, wherein the external interface is an interface for interaction between the board card and the external device, and the internal interface is an interface for interaction between the board card and other board cards in the device.
Here, the interface daughter card may connect the board card in an embedded manner or connect the interface daughter card and the board card through a physical connection inside the device.
When the message is transmitted in the board card, the message is transmitted through a forwarding path between components of the board card, and the message is forwarded to other board cards through components connected with other board cards. The board card may include a plurality of components, which are located on a forwarding plane and a control plane, respectively, as shown in fig. 1, the components of the forwarding plane include components for forwarding packets, such as a Forwarding Path (FP) component, where the components of the forwarding plane include an interaction component, so that the packet of the board card is forwarded to the forwarding plane of another board card through an internal interface with the other board card. The components of the control plane include switching (switch) components, CPUs, and the like capable of forwarding and processing packets. As shown in fig. 1, when an incoming packet is received through the CARD2, the packet may be forwarded to a forwarding plane of the CARD3 through a forwarding plane of the CARD1, and the packet is forwarded out of the CARD3 as an outgoing packet. Here, the packet of the board is forwarded to the control plane of another board through the switching component of the control plane. It should be noted that one of the components of the forwarding plane may be selected as the interactive component according to actual requirements.
The following describes the implementation of the technical solution in further detail with reference to the accompanying drawings.
Example one
An embodiment of the present invention provides a method for transmitting a packet, where as shown in fig. 2, the method includes:
s201, determining the target address information of a received message, and determining an interface identifier for receiving the message;
here, the board card that receives the packet is referred to as a first board card, and the board cards other than the first board card are referred to as second board cards. When the first board card receives the message through the interface, the message is analyzed to obtain the target address information of the message and the interface identifier of the interface receiving the message, and the interface identifier of the interface can be represented by information such as the set interface index or the identifier of the interface sub card.
The destination address information represents a destination address for forwarding the packet, and the destination address for forwarding the packet may include: the control surface of the first board card, the control surface of the second board card or the forwarding surface of the second board card.
In practical application, when the destination address information of the parsed packet is empty or unrecognizable destination address information, the destination address of the packet may be defaulted as the control surface of the first board, and the packet is forwarded to the CPU of the control surface of the first board.
S202, calling forwarding channel topology data according to a set topology data storage path;
after the device receives the message through the interface, the forwarding channel topology data corresponding to the board card is called from the storage position indicated by the set topology data storage path. The forwarding channel topology data includes component information, interface configuration data, and location information of forwarding path configuration data of each component. The interface configuration data represents the corresponding path of each interface in each component, and the forwarding path configuration data of each component is the configuration information of each forwarding path of each component.
In practical applications, forwarding the channel topology data may further include: maximum forwarding channel number, version number and product characteristic data length; the maximum forwarding channel data representation single interface supports at most a plurality of forwarding channels, the version number represents the number of a system version supported by a version, and the product characteristic data length represents the length of product characteristic data, wherein the product characteristic parameters are information related to channel topology and set according to different product requirements, and can be customized according to actual requirements.
Here, data that all interfaces in the forwarding channel topology data have may be referred to as feature data, for example: the data other than the feature data in the topology data of the forwarding channel can be called product feature data.
In an embodiment, the method further comprises: detecting an inserted interface sub card, and acquiring an interface identifier of the interface sub card; and updating the interface configuration data according to the interface identifier.
When detecting that a new interface sub card is inserted, the board card needs to support the forwarding of the message of the new interface corresponding to the interface sub card, at this time, the interface configuration data is updated, and a forwarding path corresponding to the new interface is added to the interface configuration data, so that the interface configuration data supports the new interface. Here, the interface configuration data may be a part of the network topology data, and is stored in a location corresponding to the set topology data storage path. The interface configuration data can be updated according to the set topology data storage path.
In the embodiment of the invention, the topological data of the forwarding channel are independently stored in the storage position indicated by the set topological data storage path and are separated from the version file of the system, so that the topological data of the forwarding channel and the version file of the system are independent from each other, and the topological data of the forwarding channel is directly updated in the set topological data storage path without compiling the system. The forwarding channel topology data can be stored in a configuration file at a storage position indicated by the set topology data storage path. Here, the topology data storage path may be set according to actual requirements.
S203, determining interface forwarding channel topology data corresponding to the interface identification according to the forwarding channel topology data and the target address information;
in an embodiment, the determining, according to the forwarding channel topology data and the destination address information, the interface forwarding channel topology data corresponding to the interface identifier includes: determining a first component according to the interface identification; determining a second component according to the target address information; determining a forwarding component for forwarding the message according to the forwarding channel topology data, the first component and the second component; and determining interface forwarding channel topology data of a forwarding channel according to the forwarding channel topology data, wherein the forwarding channel is formed by the forwarding components.
After determining the destination address information and the interface identifier for receiving the message, determining a first component connected to the interface, i.e., a starting component, according to the interface identifier, and determining a second component of the message in the first board card, i.e., a destination component, according to the destination address information, for example: the first component of the message received from the interface 1 is the component 1, and the first component of the message received from the interface 2 is the component 2; when the target address information of the message is the control surface of the second board card, determining that the switching component of the first board card is the second component; when the target address information of the message corresponds to the CPU of the first board card, determining the CPU of the first board card as a second component; and when the destination address information of the message is the forwarding surface of the second board card, determining that the interaction component of the first board card is the second component.
After the first assembly and the second assembly are determined, assemblies for sending the messages from the first assembly to the second assembly are determined according to the interrelation of the assemblies in the forwarding channel topology data of the first board card and a channel selection strategy, and the first assembly, the second assembly and the assemblies needed for sending the messages are called forwarding assemblies. After the forwarding component is determined, determining interface forwarding channel topological data for forwarding the message forwarding channel according to the component identifier of the forwarding component; the interface forwarding topology channel data includes data related to forwarding components in the forwarding topology channel data, such as component information of each forwarding component of the forwarding channel, location information of forwarding path configuration data of each forwarding component, and the like.
In practical application, the interface forwarding channel topology data can be set according to a set format, and a configuration file is generated and stored at a position indicated by a set topology data storage path.
And S204, controlling the transmission of the message according to the interface forwarding channel topology data.
In an embodiment, the controlling the transmission of the packet according to the interface forwarding channel topology data includes: determining a forwarding component in the interface forwarding channel topology data; determining a forwarding path of the interface identifier in each forwarding component according to the called interface configuration data; and controlling the transmission of the message according to the forwarding path of the interface identifier in each forwarding component.
After the interface forwarding channel topology data is determined in S203, the forwarding component for forwarding the packet is determined, the forwarding component is determined according to the component information in the interface forwarding channel topology data, the interface configuration data is called, and the forwarding path of the interface identifier for receiving the packet in each forwarding component is determined according to the interface configuration data. Such as: when the forwarding component is the component 1, the path index corresponding to the interface 1 is 1, and the path index corresponding to the interface 2 is 2; when the interface receiving the message is interface 1, component 1 forwards the message through the path with path index 1. And after the forwarding path of each forwarding component is determined, forwarding the message according to the forwarding path of each forwarding component.
Here, the interface data includes a path used by each interface when forwarding a packet through a component. Forwarding paths corresponding to the interfaces can be directly set in the interface configuration data according to the sequence of the interfaces, for example: the interface comprises an interface 1, an interface 2 and an interface 3, wherein the interface configuration data of the component 1 in the interface configuration data is as follows: (a, b, c), it can be determined that in the component 1, the forwarding path corresponding to the interface 1 is path a, the forwarding path corresponding to the interface 2 is path b, and the forwarding path corresponding to the interface 3 is path c; the corresponding relationship between each interface and the forwarding path may also be set, for example: as in the above example, the interface configuration data of the component 1 in the interface configuration data is: (1, a), (2, b), (3, c), it can be determined that in component 1, the forwarding path corresponding to interface 1 is path a, the forwarding path corresponding to interface 2 is path b, and the forwarding path corresponding to interface 3 is path c. Here, a, b, and c are path indexes identifying different paths, respectively.
In practical applications, the interface configuration data may be a configuration file including interface configuration data of each component, or interface configuration files corresponding to each interface may be set for different components through different configuration files.
In an embodiment, controlling transmission of the packet according to the forwarding path of the interface identifier in each forwarding component includes: determining the position information of the forwarding path configuration data of each forwarding component; determining forwarding path configuration data of each forwarding component according to the position information; determining forwarding path information of the interface identifier in the forwarding path of each forwarding component according to the forwarding path configuration data of each forwarding component; and controlling the transmission of the message according to the forwarding path information.
After the forwarding path is determined, the forwarding path configuration data of each forwarding component is called according to the position information of the forwarding path configuration data of each component in the forwarding channel topology data. Here, in the forwarding path topology data, the order of the position information of the forwarding path data may be set directly according to the order of each forwarding element, or a correspondence relationship between the forwarding element and the position information of the forwarding path data corresponding thereto may be set. Such as: the forwarding component of the first board card comprises a component 1, a component 2 and a component 3. The position information of the forwarding path data of the forwarding component 1 is position information 1, the position information of the forwarding path data of the component 2 is position information 2, and the position information of the forwarding path data of the component 3 is position information 3; the content of the location information of the forwarding path configuration data of each component in the forwarding channel topology data may include location information 1, location information 2, and location information 3, and at this time, it is determined that location information 1, location information 2, and location information 3 are the location information of the forwarding path data of component 1, component 2, and component 3, respectively, according to the default order of component 1, component 2, and component 3; the content of the location information of the forwarding path configuration data of each component in the forwarding channel topology data may also be: (component 1: positional information 1), (component 2: positional information 2), (component 3: positional information 3). And when the determined forwarding components are the component 1 and the component 3, acquiring forwarding path configuration data of the component 1 and the component 3 at positions corresponding to the position information 1 and the position information 3.
And after determining the configuration data of each forwarding path, determining the path information of each forwarding path according to the configuration data of the forwarding path. The forwarding path configuration data includes path information of each forwarding path; wherein, the path information may include: path index, component type, chip number, virtual path number, etc. parameters associated with the forwarding path. After the forwarding path information is determined, the message is controlled to be transmitted among the forwarding components through the path information of each forwarding component, the message is forwarded to the second component, and the message is transmitted to the address corresponding to the target address information through the forwarding path of the second component.
In one example, it is detected that the forwarding path information is provided with a calculation identifier, and the forwarding path information of the forwarding path is calculated according to a path policy to obtain calculated forwarding path information; and taking the calculated forwarding path information as the forwarding path information. At this time, the transmission of the message between the forwarding components is controlled through the forwarding path information obtained after calculation. Here, the calculation flag may be identified by setting fields, such as: GetInfoByDrv. When the determined forwarding path information carries the calculation identifier, further calculating the path through the path policy to obtain forwarding path information, such as: when a path comprises a plurality of processes, the process for forwarding the message can be selected according to the state of each process in the path; for another example: when a path comprises a plurality of resources, the resources for forwarding the message are selected according to the use state of each resource in the path. The specific path strategy can be set according to actual requirements. Such as: the path forwarding information 100 carries the calculation identifier, and the path policy at this time is to select a forwarding resource according to the use state of the resource in the path, where the path corresponding to the path forwarding information 100 includes resource 1, resource 2, and resource 3, when the resource 1 and the resource 2 are in an idle state, and the resource 3 is in a use state, the resource 1 may be selected as the forwarding resource, and at this time, the path forwarding information is resource 1 in 100.
In this embodiment, the destination address information of a received message is determined, and the interface identifier for receiving the message is determined; calling the topological data of the forwarding channel according to the set topological data storage path; determining interface forwarding channel topology data corresponding to the interface identifier according to the forwarding channel topology data and the target address information; and controlling the transmission of the message according to the interface forwarding channel topology data. The method comprises the following steps: the method comprises the steps of storing forwarding channel topology data in a set topology data storage path, separating the forwarding channel topology data from a version file, directly obtaining the forwarding channel topology data from the topology data storage path during message transmission, and determining the currently required interface forwarding channel topology data according to a receiving interface of a current message, so that the limitation of the version file on the interface channel topology data for controlling the message transmission is removed, the flexibility of the message transmission is improved, and the research, development and maintenance cost of equipment is reduced. .
Example two
In the embodiment of the present invention, the message transmission method provided in the embodiment of the present invention is further explained by using a forwarding channel topology structure as shown in fig. 3, and as shown in fig. 3, the method includes: the CARD comprises a CARD 1(CARD1) and a CARD 2(CARD2), wherein components of the CARD1 comprise a switching component L2-SWITCH and a CPU, and an interface of the CARD2 comprises an interface 1 and an interface 2, wherein the interface 1 is an external interface, and the interface 2 is an internal interface; the components of the CARD2 include FP1, FP2, FP3, SWITCH component L2-SWITCH and CPU, wherein FP1, FP2 and FP3 are components of a forwarding plane, and SWITCH component and CPU are components of a control plane.
CARD2 is used as a message forwarding processing unit, and is usually used in combination with a Network Interface CARD (NIC) Interface daughter CARD, and the connection mode is customized. In form, the CARD2 CARD and the NIC interface daughter CARD may be separable or integrated and may not be separable. When the CARD2 board CARD and the NIC interface daughter CARD can be separated, the CARD2 board CARD can be connected with different NIC interface daughter CARDs; the system can be connected with 1 NIC interface sub-card or a plurality of NIC interface sub-cards.
The NIC daughter CARD shown in FIG. 3 to which CARD2 connects contains 2 interfaces, the interface configuration data of CARD2 can be represented as:
Figure BDA0001700062430000101
wherein < NIC card ═ 1000' >, indicates that the identification of the NIC interface daughter card is 1000, the segment of data is the configuration data of the NIC interface daughter card, and card indicates the interface daughter card type data. The field values for different NIC interface daughter cards are unique.
The method includes that attribute information of a NIC interface sub-CARD is described in the specification of < ATTR pcb ═ 1, "logic ═ abc," sublot ═ 2 >, the pcb represents a layout number of a circuit board of the NIC sub-CARD, logic represents logic function information, and sublot represents a connection position of the NIC interface sub-CARD in a CARD2 single board, for example, a CARD2 CARD can be connected with 2 NIC interface sub-CARDs, the connection position is represented by 1 and 2, and a start number can be set according to products. Besides, daughter card attribute configuration information can be added or deleted according to needs.
PORTTYPE 131, the number of ports on the NIC interface daughter card is represented by the number of elements (the configuration of the different interfaces may be comma separated, in this example comprising 2 interfaces), and the number of elements 131 represents the type of port (e.g., bandwidth, 10G, 100G, or other), with each interface data configured in sequence. Here, starting with the interface with the smallest number.
The fields corresponding to the following < module name ═ FP1 ' >, < module name ═ FP2 ' >, < module name ═ FP3 ' > respectively represent interface configuration data of the component FP1, the component FP2 and the component FP 3. Taking the component fp1 as an example, it is indicated by < module name ═ fp1"> that the currently configured component is the fp1 component; configuring a forwarding path used by each interface through < queue >1,2</queue >, for example, interface 1 uses the 1 st forwarding path of component FP1 (specifically, the content refers to that in the forwarding path configuration data, the < queue index in component FP1 is "1" vector is "100" chip is "1" channel is "10" cookie is "0"/>), and interface 2 uses the 2 nd forwarding path of component FP 1; and < GetInfoByDrv/> is a calculation identifier, the forwarding path information of the component FP1 also needs to exchange calculation with a product software module, so that the finally needed forwarding path information is obtained, and if the calculation identifier does not exist, the forwarding path information obtained from the forwarding path data is the finally needed forwarding path information.
As can be known from the above description, the service interface daughter card identified as "1000" by the card has 2 ports, and when the daughter card is applied to the sub card slot No. 2 of the card, the forwarding channel topology data of the interface No. 1 sequentially selects the forwarding path No. 1 of the FP1 component, the forwarding path No. 1 of the FP2 component, and the forwarding path No. 1 of the FP3 component; the GetInfoByDrv identifier exists, which indicates that the forwarding path also needs secondary calculation; the forwarding channel topology data of the interface No. 2 sequentially selects a forwarding path No. 2 of the FP1 component, a forwarding path No. 2 of the FP2 component and a forwarding path No. 2 of the FP3 component; the presence of the GetInfoByDrv flag indicates that the forwarding path also requires secondary computation.
The forwarding path configuration data for each component may be expressed as:
<module name=”fp1”>
<queue index=”1”vendor=”100”chipid=”1”channel=”10”cookie=”0”/>
<queue index=”2”vendor=”100”chipid=”1”channel=”20”cookie=”0”/>
<queue index=”3”vendor=”100”chipid=”1”channel=”30”cookie=”0”/>
</module>
<module name=”fp2”>
<queue index=”1”vendor=”200”chipid=”1”channel=”10”cookie=”0”/>
<queue index=”2”vendor=”200”chipid=”1”channel=”20”cookie=”0”/>
<queue index=”3”vendor=”200”chipid=”1”channel=”30”cookie=”0”/>
</module>
<module name=”fp3”>
<queue index=”1”vendor=”300”chipid=”1”channel=”10”cookie=”0”/>
<queue index=”2”vendor=”300”chipid=”1”channel=”20”cookie=”0”/>
<queue index=”3”vendor=”300”chipid=”1”channel=”30”cookie=”0”/>
</module>
the path configuration data of three components, namely, FP1, FP2 and FP3, under the conditions of name and FP1, name and FP2 and name and FP3 respectively describe forwarding path information of the three components, namely, FP1, FP2 and FP3 respectively.
Taking the component FP1 as an example, the component includes 3 forwarding paths, and the index number of each forwarding path is represented by the value of the index field; the vendor field indicates a component type, for example, indicates a chip of a chip manufacturer such as intel, brandcom, etc., or a logic function in the chip; the chip field represents the number of the type of chip, and a plurality of the type of chips may exist on some board cards; the channel field indicates the component virtual path number; the cookie field indicates custom path information. The number initial value is set as required.
It should be noted that, in this embodiment, each component includes 3 forwarding paths, but each component is not limited to include the same number of forwarding paths, and a case where there are multiple forwarding paths in a certain component and there are only 1 or a small number of forwarding paths in some components is allowed.
The following describes the use of the interface configuration data and forwarding path interface configuration data provided in the embodiment of the present invention by using two examples.
Example one
When a message is sent to the CPU of the CARD1 through the interface 1 of the NIC interface daughter CARD connected to the CARD2 board shown in fig. 3, the message enters from the interface 1 of the CARD2, enters the forwarding path 10 of the component FP1 from the interface 1, enters the forwarding path 10 of the component FP2 from the component 1, enters the CARD2 board L2-SWITCH components from the component FP2, enters the CARD1 board L2-SWITCH components from the CARD2 board L2-SWITCH components, and finally reaches the CPU of the CARD 1.
Here, after the CARD1 receives a message through the interface 1, it parses the message, determines the destination address information of the message, determines the first component FP1 according to the interface 1, determines the second component L2-SWITCH according to the CPU of the destination address information CARD1, and determines that the forwarding component includes FP1, FP2, L2-SWITCH. And calling interface configuration data, calling the position information of the forwarding path configuration data of the components of the forwarding components FP1, FP2 and L2-SWITCH, and acquiring the configuration data of the forwarding path of each forwarding component. Determining that FP1 forwards interface 1 data through a path corresponding to path index 1 according to the interface configuration data, and determining forwarding path information through forwarding path interface data by FP2 forwarding interface 1 data through a path corresponding to path index 1: the FP1, the channel 10, the FP2, and the channel 10, that is, a path corresponding to the channel 10 of the FP1 is a path with a path index of 1, a path corresponding to the channel 10 of the FP2 is a path with a path index of 1, the forwarding path information control message obtained enters from the interface 1 of the CARD2, enters from the interface 1 into the forwarding path 10 of the component FP1, enters from the component 1 into the forwarding path 10 of the component FP2, enters from the component FP2 into the CARD2 board L2-SWITCH components, enters from the CARD 2L board 2-SWITCH components into the CARD1 board L2-SWITCH components, and finally reaches the CPU of the CARD 1.
Example two
The CPU of CARD1 shown in fig. 3 has messages going out from interface 1 of the NIC interface daughter CARD connected to CARD2 board CARD and going to other devices through the path from the CPU of CARD1 to CARD1 board L2-SWITCH components, from CARD1 board L2-SWITCH components to CARD2 board L2-SWITCH components, from CARD2 board L2-SWITCH components to forwarding path 10 of component FP2, from component FP2 to component FP3 forwarding path 10, and from component FP3 to NIC interface daughter CARD interface 1.
EXAMPLE III
In the embodiment of the present invention, a message transmission method provided in the embodiment of the present invention is further described.
In the embodiment of the present invention, an interface forwarding channel topology data includes one or more forwarding path data of CPU components, L2-SWITCH components, FP1 components, FP2 components, FP3 components, and may further include specific product characteristic data. By using the interface forwarding channel topology data, an incoming message can be instructed to enter a control plane from a forwarding plane, for example, the incoming message of the CARD2 shown in fig. 1 is instructed to enter the FP1 component through an interface of an interface service daughter CARD, and sequentially enter the FP2 component, the L2-SWITCH component and the CPU component; the incoming message may also be instructed to enter the forwarding plane of another board from the forwarding plane of one board, for example, the incoming message of the board CARD2 shown in fig. 1 is instructed to enter the FP1 component through the interface of the interface service daughter CARD, sequentially enter the FP2 component, and then enter the FP2 component and the FP3 component of the board CARD3, so as to enter the forwarding plane of the CARD 3.
The characteristic data of the interface forwarding channel topology data can be expressed as:
<version id=1000>
<module_dsc>fp1,fp2,fp3<module_dsc>
<max_lane len=”2”/>
<product_data len=”20”/>
specifically, the system comprises 3 forwarding modules (components), wherein the order of the forwarding modules is FP1 component, FP2 component and FP3 component; each interface supports at most 2 forwarding paths; the interface forwarding channel topology data comprises product characteristic data, and the length of the product characteristic data is 20 bytes. The characteristic data may be represented according to the data format shown in fig. 4, where in the data format shown in fig. 4, the unique interface identifier is an interface supported by the board, and the data representing the subsequent side is data corresponding to the interface.
The generation process of the network channel topology data before the transmission of the message comprises the following steps:
s401, generating forwarding channel topology data;
the characteristic data contained in the topology data of the forwarding channel of the description equipment comprises the following steps: and the forwarding module comprises which forwarding paths and the relative positions of the forwarding path data. And determining whether product characteristic data is contained; if the product characteristic data is contained, defining the length of the product characteristic data; the single interface supports at most several forwarding channels; version number to distinguish different software process flows, or for other purposes.
S402, generating forwarding path configuration data;
and for the feature data included in the forwarding channel topology determined in S401, forwarding path information required by forwarding paths of different forwarding modules in a specific board card is described, and forwarding path configuration data is generated.
S403, generating interface configuration data;
on the basis of S402, when a specific board card is at different physical locations and is collocated with service interface sub cards of different physical forms, the interfaces of the service interface sub cards are described, which forwarding paths of each forwarding module are used respectively, and interface configuration data is generated.
S404, generating product characteristic data;
and when the topology data of the forwarding channel is analyzed, the topology data is provided by a software module providing interface of the product.
Fig. 5 is an analysis process of forwarding channel topology data, which includes the following specific steps:
s501, judging whether an interface supports an interface forwarding channel topology data distribution function or not, if not, ending the processing, and S502;
s502, analyzing the feature data;
analyzing the feature data contained in the forwarding channel topology of the equipment, specifically determining which forwarding modules contained in the topology data of one interface forwarding channel, which forwarding paths contained in the forwarding modules, and the relative positions of the forwarding path data; whether product characteristic data is included; if the product characteristic data is contained, defining the length of the product characteristic data; the single interface supports at most several forwarding channels; version number to distinguish different software process flows, or for other purposes. If the analysis fails, ending the processing, otherwise turning to S503;
S503, analyzing the forwarding path configuration data;
sequentially acquiring forwarding paths of forwarding modules passed by the interfaces, if the analysis fails, ending the processing, otherwise, turning to S504;
s504, judging whether the interface needs the product characteristic data, turning to S505 to call the product characteristic data, otherwise, turning to S506;
s505, analyzing product characteristic data;
acquiring product characteristic data of the interface by using the software code, and finishing the processing if the analysis fails;
s506, generating forwarding channel topology data according to the set data format;
and organizing the analyzed data into complete interface forwarding channel topology data according to the data structure of the interface forwarding channel topology data.
It should be noted that the analysis flow shown in fig. 5 is executed in an equipment initialization stage or a preparation stage before formal work, and provides dependent data for subsequent board forwarding function work.
By the message processing method provided by the embodiment of the invention, interface forwarding channel topology data is not described in a hard coding mode, the interface forwarding channel topology data is independently output, and the data are separately described in a file. The file is not compiled into the software version. When a service interface daughter card is newly added, software codes do not need to be modified again, software versions do not need to be compiled and manufactured, equipment software does not need to be upgraded, only interface forwarding channel topology configuration data need to be modified, and the operation is simple and flexible. And the forwarding channel topology data is separated from the software codes, and a simple data description format is used for describing the interface forwarding channel topology data, so that the maintainability of the interface forwarding channel topology data is improved, and the software version compiling is not influenced. The interface forwarding channel topology data and the software codes are separated, the interface forwarding channel topology data and the software codes are put into an independent file to be managed, and description is performed in a concise form, for example, the interface forwarding channel topology data is described by using an xml format, so that the coupling of the interface forwarding channel topology data and the software codes can be obviously reduced, the newly added service interface daughter card can be flexibly expanded on line, the maintainability of a software version is improved, the equipment research and development and maintenance cost is reduced, and the enterprise income is improved.
The invention solves the problem that when a service interface sub card is added to the communication equipment, the interface can not be flexibly configured to forward the channel topology data, reduces the complexity of the configuration of the interface to forward the channel topology data, further reduces the error probability of maintenance work, and improves the maintainability of equipment configuration parameters.
Example four
In order to implement the message transmission method provided in the foregoing embodiment, an embodiment of the present invention provides a message transmission apparatus, and as shown in fig. 6, the apparatus includes: a determining unit 601, a calling unit 602, an interface unit 603 and a transmitting unit 604; wherein, the first and the second end of the pipe are connected with each other,
a determining unit 601, configured to determine target address information of a received packet, and determine an interface identifier for receiving the packet;
a calling unit 602, configured to call forwarding channel topology data according to the set topology data storage path;
an interface unit 603, configured to determine, according to the forwarding channel topology data and the target address information, interface forwarding channel topology data corresponding to the interface identifier;
a transmission unit 604, configured to control transmission of the packet according to the interface forwarding channel topology data.
In an embodiment, the interface unit 603 is specifically configured to:
determining a first component according to the interface identification; determining a second component according to the target address information; determining a forwarding component for forwarding the message according to the forwarding channel topology data, the first component and the second component; and determining interface forwarding channel topology data of a forwarding channel according to the forwarding component, wherein the forwarding channel is formed by the forwarding component.
In an embodiment, the transmission unit 604 is specifically configured to:
determining a forwarding component in the interface forwarding channel topology data; determining a forwarding path of the interface identifier in each forwarding component according to the called interface configuration data; and controlling the transmission of the message according to the forwarding path of the interface identifier in each forwarding component.
In an embodiment, the controlling, by the transmission unit 604, the transmission of the packet according to the forwarding path of the interface identifier in each forwarding component includes:
determining the position information of the forwarding path configuration data of each forwarding component; determining forwarding path configuration data of each forwarding component according to the position information; determining forwarding path information of the forwarding paths of the interface identifiers in the forwarding components according to the forwarding path configuration data of the forwarding components; and controlling the transmission of the message according to the forwarding path information.
In one embodiment, as shown in fig. 7, the apparatus further comprises: a detection unit 605 for:
detecting that the forwarding path is provided with a calculation identifier, and calculating forwarding path information of the forwarding path according to a path strategy to obtain calculated forwarding path information; and taking the calculated forwarding path information as the forwarding path information.
In one embodiment, as shown in fig. 7, the apparatus further comprises: an updating unit 606, configured to:
detecting an inserted interface sub card, and acquiring an interface identifier of the interface sub card;
and updating the interface configuration data according to the interface identifier.
It should be noted that: in the message transmission device provided in the foregoing embodiment, when performing message transmission, only the division of the program modules is described as an example, and in practical applications, the processing distribution may be completed by different program modules according to needs, that is, the internal structure of the device is divided into different program modules, so as to complete all or part of the processing described above. In addition, the message transmission apparatus and the message transmission method provided in the foregoing embodiments belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiments and are not described herein again.
EXAMPLE five
An embodiment of the present invention further provides a message transmission apparatus, where the message transmission apparatus includes: a processor and a memory for storing a computer program operable on the processor, wherein the processor is operable when executing the computer program to perform:
determining target address information of a received message and determining an interface identifier for receiving the message; calling forwarding channel topology data according to a set topology data storage path; determining interface forwarding channel topology data corresponding to the interface identifier according to the forwarding channel topology data and the target address information; and controlling the transmission of the message according to the interface forwarding channel topology data.
When the computer program is run, the executing the determining, according to the forwarding channel topology data and the target address information, the interface forwarding channel topology data corresponding to the interface identifier includes:
determining a first component according to the interface identification; determining a second component according to the target address information; determining a forwarding component for forwarding the message according to the forwarding channel topology data, the first component and the second component; and determining interface forwarding channel topology data of a forwarding channel according to the forwarding component, wherein the forwarding channel is formed by the forwarding component.
The processor is further configured to, when the computer program is run, execute the controlling of the transmission of the packet according to the interface forwarding channel topology data, including:
determining a forwarding component in the interface forwarding channel topology data; determining a forwarding path of the interface identifier in each forwarding component according to the called interface configuration data; and controlling the transmission of the message according to the forwarding path of the interface identifier in each forwarding component.
The processor is further configured to, when the computer program is run, execute the controlling of the transmission of the packet according to the forwarding path of the interface identifier in each forwarding component, where the controlling includes:
Determining the position information of the forwarding path configuration data of each forwarding component; determining forwarding path configuration data of each forwarding component according to the position information; determining forwarding path information of the interface identifier in the forwarding path of each forwarding component according to the forwarding path configuration data of each forwarding component; and controlling the transmission of the message according to the forwarding path information.
The processor is further configured to, when executing the computer program, further perform:
detecting that the forwarding path is provided with a calculation identifier, and calculating forwarding path information of the forwarding path according to a path strategy to obtain calculated forwarding path information; and taking the calculated forwarding path information as the forwarding path information.
The processor is further configured to, when executing the computer program, further perform:
detecting an inserted interface sub card, and acquiring an interface identifier of the interface sub card; and updating the interface configuration data according to the interface identifier.
Based on this, fig. 8 is a schematic structural diagram of a message transmission apparatus according to another embodiment of the present invention, and the message transmission apparatus 800 shown in fig. 8 includes: at least one processor 801 and a memory 802. The various components of the message transmitting device 800 are coupled together by a bus system 803. It is understood that the bus system 803 is used to enable communications among the components.
It will be appreciated that the memory 802 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a magnetic random access Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration, and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Double Data Rate Synchronous Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Random Access Memory (DRAM), Synchronous Random Access Memory (DRAM), Direct Random Access Memory (DRmb Access Memory). The memory 802 described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
The memory 802 in embodiments of the present invention is used to store various types of data to support the operation of the message transmitting device 800.
The method disclosed in the above embodiments of the present invention may be applied to the processor 801 or implemented by the processor 801. The processor 801 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by instructions in the form of hardware integrated logic circuits or software in the processor 801. The Processor 801 may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. Processor 801 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium that is located in the memory 802, and the processor 801 reads the information in the memory 802 to perform the steps of the aforementioned methods in conjunction with its hardware.
In an exemplary embodiment, the message transmitting Device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, Micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components for performing the foregoing methods.
Implementation of the invention
In an exemplary embodiment, the present invention further provides a computer readable storage medium, such as a memory 802 including a computer program, which is executable by a processor 801 of a message transmission apparatus to perform the steps of the foregoing method. The computer readable storage medium may be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, performs:
Determining target address information of a received message and determining an interface identifier for receiving the message; calling the topological data of the forwarding channel according to the set topological data storage path; determining interface forwarding channel topology data corresponding to the interface identification according to the forwarding channel topology data and the target address information; and controlling the transmission of the message according to the interface forwarding channel topology data.
When the computer program is executed by a processor, the step of determining the interface forwarding channel topology data corresponding to the interface identifier according to the forwarding channel topology data and the target address information comprises the following steps:
determining a first component according to the interface identification; determining a second component according to the target address information; determining a forwarding component for forwarding the message according to the forwarding channel topology data, the first component and the second component; and determining interface forwarding channel topology data of a forwarding channel according to the forwarding component, wherein the forwarding channel is formed by the forwarding component.
When the computer program is executed by a processor, the executing of controlling the transmission of the message according to the interface forwarding channel topology data comprises:
Determining a forwarding component in the interface forwarding channel topology data; determining a forwarding path of the interface identifier in each forwarding component according to the called interface configuration data; and controlling the transmission of the message according to the forwarding path of the interface identifier in each forwarding component.
When the computer program is executed by a processor, the step of executing the control of the transmission of the message according to the forwarding path of the interface identifier in each forwarding component comprises the following steps:
determining the position information of the forwarding path configuration data of each forwarding component; determining forwarding path configuration data of each forwarding component according to the position information; determining forwarding path information of the interface identifier in the forwarding path of each forwarding component according to the forwarding path configuration data of each forwarding component; and controlling the transmission of the message according to the forwarding path information.
The computer program, when executed by the processor, further performs
Detecting that the forwarding path is provided with a calculation identifier, and calculating forwarding path information of the forwarding path according to a path strategy to obtain calculated forwarding path information; and taking the calculated forwarding path information as the forwarding path information.
The computer program, when executed by a processor, further performs:
detecting an inserted interface sub card, and acquiring an interface identifier of the interface sub card; and updating the interface configuration data according to the interface identifier.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (9)

1. A method for packet transmission, the method comprising:
determining target address information of a received message and determining an interface identifier for receiving the message;
calling forwarding channel topology data according to a set topology data storage path, wherein the forwarding channel topology data comprise component information, interface configuration data and position information of forwarding path configuration data of each component, the interface configuration data represent paths corresponding to each interface in each component, and the forwarding path configuration data of each component are configuration information of each forwarding path of each component;
determining a first component corresponding to the interface identifier, and determining a second component corresponding to the target address information; determining a forwarding component for forwarding the message according to the forwarding channel topology data, the first component and the second component; determining interface forwarding channel topology data of a forwarding channel according to the forwarding component, wherein the forwarding channel is formed by the forwarding component;
And controlling the transmission of the message according to the interface forwarding channel topology data.
2. The method of claim 1, wherein controlling the transmission of the packet according to the interface forwarding channel topology data comprises:
determining a forwarding component in the interface forwarding channel topology data;
determining a forwarding path of the interface identifier in each forwarding component according to the called interface configuration data;
and controlling the transmission of the message according to the forwarding path of the interface identifier in each forwarding component.
3. The method of claim 2, wherein controlling the transmission of the packet according to the forwarding path of the interface identifier in each forwarding component comprises:
determining the position information of the forwarding path configuration data of each forwarding component;
determining forwarding path configuration data of each forwarding component according to the position information;
determining forwarding path information of the interface identifier in the forwarding path of each forwarding component according to the forwarding path configuration data of each forwarding component;
and controlling the transmission of the message according to the forwarding path information.
4. The method of claim 3, further comprising:
Detecting that the forwarding path is provided with a calculation identifier, and calculating forwarding path information of the forwarding path according to a path strategy to obtain calculated forwarding path information;
and taking the calculated forwarding path information as the forwarding path information.
5. The method of claim 1, further comprising:
detecting an inserted interface sub card, and acquiring an interface identifier of the interface sub card;
and updating the interface configuration data according to the interface identifier.
6. A message transmission apparatus, the apparatus comprising: the device comprises a determining unit, a calling unit, an interface unit and a transmission unit; wherein, the first and the second end of the pipe are connected with each other,
the determining unit is used for determining the target address information of the received message and determining the interface identifier for receiving the message;
the calling unit is used for calling forwarding channel topology data according to a set topology data storage path, wherein the forwarding channel topology data comprises component information, interface configuration data and position information of the forwarding path configuration data of each component, the interface configuration data represents a path corresponding to each interface in each component, and the forwarding path configuration data of each component is the configuration information of each forwarding path of each component;
The interface unit is used for determining a first component corresponding to the interface identifier and determining a second component corresponding to the target address information; determining a forwarding component for forwarding the message according to the forwarding channel topology data, the first component and the second component; determining interface forwarding channel topology data of a forwarding channel according to the forwarding component, wherein the forwarding channel is formed by the forwarding component;
and the transmission unit is used for controlling the transmission of the message according to the interface forwarding channel topology data.
7. The apparatus of claim 6, further comprising: an update unit configured to:
detecting an inserted interface sub card, and acquiring an interface identifier of the interface sub card;
and updating the interface configuration data according to the interface identifier.
8. A message transmission apparatus, comprising: a processor and a memory for storing a computer program operable on the processor, wherein the processor is configured to perform the steps of the message transmission method according to any of claims 1 to 5 when the computer program is executed.
9. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, implements the message transmission method according to any one of claims 1 to 5.
CN201810648160.5A 2018-06-19 2018-06-19 Message transmission method and device and computer readable storage medium Active CN110620728B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810648160.5A CN110620728B (en) 2018-06-19 2018-06-19 Message transmission method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810648160.5A CN110620728B (en) 2018-06-19 2018-06-19 Message transmission method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110620728A CN110620728A (en) 2019-12-27
CN110620728B true CN110620728B (en) 2022-07-15

Family

ID=68920784

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810648160.5A Active CN110620728B (en) 2018-06-19 2018-06-19 Message transmission method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110620728B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486260A (en) * 2014-11-25 2015-04-01 福建星网锐捷网络有限公司 Method and device for processing message
CN107204924A (en) * 2016-03-18 2017-09-26 华为技术有限公司 Link discovery method and device
CN107872332A (en) * 2016-09-23 2018-04-03 华为技术有限公司 The detection method and relevant apparatus of a kind of message forwarding path

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065508B (en) * 2010-12-14 2014-06-18 迈普通信技术股份有限公司 Wireless bridge forwarding equipment and method
CN103023773B (en) * 2011-09-23 2015-05-27 华为技术有限公司 Method, device and system for forwarding message in multi-topology network
US8891588B1 (en) * 2013-08-06 2014-11-18 Cisco Technology, Inc. On-demand medium to low transmission power channel switching in computer networks
CN107770063A (en) * 2016-08-17 2018-03-06 中兴通讯股份有限公司 Message forwarding method and device
CN106803809B (en) * 2016-12-29 2021-04-27 杭州迪普科技股份有限公司 Message forwarding method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486260A (en) * 2014-11-25 2015-04-01 福建星网锐捷网络有限公司 Method and device for processing message
CN107204924A (en) * 2016-03-18 2017-09-26 华为技术有限公司 Link discovery method and device
CN107872332A (en) * 2016-09-23 2018-04-03 华为技术有限公司 The detection method and relevant apparatus of a kind of message forwarding path

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Forwarding Protocol for Multi-channel Narrowband Ad Hoc Networks";Denis Fakhriev等;《MILCOM 2013 - 2013 IEEE Military Communications Conference》;20140210;516-520 *
基于虚拟拓扑的多级可信传输体系及路由计算;陈文龙等;《计算机研究与发展》;20180415(第04期);59-67 *

Also Published As

Publication number Publication date
CN110620728A (en) 2019-12-27

Similar Documents

Publication Publication Date Title
CN110119292B (en) System operation parameter query method, matching method, device and node equipment
EP2835938B1 (en) Message publishing and subscribing method and apparatus
CN110351715B (en) AT instruction processing method, terminal adapter and computer readable storage medium
US11398981B2 (en) Path creation method and device for network on chip and electronic apparatus
CN112817641A (en) Daughter card initialization method, electronic device and storage medium
CN110308880A (en) Log Method of printing, system, computer equipment and computer readable storage medium
CN111177182B (en) Data query method and device, storage medium and electronic equipment
CN115967670A (en) Routing method and device
CN110620728B (en) Message transmission method and device and computer readable storage medium
CN114025027A (en) Data transmission script running method and device, storage medium and electronic device
CN113760987A (en) Data processing method and data processing platform
US20170187612A1 (en) Method and device for transmitting forwarding parameter
CN114679349B (en) Data communication method and device
US20100161836A1 (en) Method port arrangement and configuration method thereof for robot software component
CN111615019A (en) Method, apparatus and computer readable storage medium implemented in an optical network
CN113347100B (en) Data stream transmission method and device, computer equipment and storage medium
CN111459819B (en) Software testing method and device, electronic equipment and computer readable medium
CN114172895A (en) Routing method, routing device, computer equipment and storage medium
CN111124445B (en) Home gateway upgrading method and home gateway
CN114371982A (en) Simulation test method, device, equipment and readable storage medium
CN112527338A (en) Micro-service upgrading method, electronic equipment and readable storage medium
CN116886463B (en) Cascade communication method, device, equipment and medium
CN113708966B (en) Networked online configuration method, system and equipment for switch
US20030093536A1 (en) Support interface module
US20220353142A1 (en) Data Obtaining Method and Apparatus

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