CN111669280B - Message transmission method, device and storage medium - Google Patents

Message transmission method, device and storage medium Download PDF

Info

Publication number
CN111669280B
CN111669280B CN201910169080.6A CN201910169080A CN111669280B CN 111669280 B CN111669280 B CN 111669280B CN 201910169080 A CN201910169080 A CN 201910169080A CN 111669280 B CN111669280 B CN 111669280B
Authority
CN
China
Prior art keywords
resource
resource board
board
state
network device
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
CN201910169080.6A
Other languages
Chinese (zh)
Other versions
CN111669280A (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 CN201910169080.6A priority Critical patent/CN111669280B/en
Priority to PCT/CN2019/130613 priority patent/WO2020177471A1/en
Publication of CN111669280A publication Critical patent/CN111669280A/en
Application granted granted Critical
Publication of CN111669280B publication Critical patent/CN111669280B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route

Abstract

The application discloses a message transmission method, which comprises the following steps: inquiring a resource board state table to obtain an inquiry result, wherein the resource board state table comprises a main and standby state and an online state of the resource board, and the online state of the resource board is determined by a heartbeat detection session transmission result between the resource boards; determining a first resource board carrying service messages between the first network equipment and the second network equipment according to the query result; and when the first resource board is in an offline state according to the query result, selecting a second resource board of the first network equipment according to the query result to transmit the service message. The application also discloses a message transmission device and a storage medium.

Description

Message transmission method, device and storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and apparatus for transmitting a message, and a storage medium.
Background
In the related art, a peer-to-peer (peer) bidirectional forwarding detection (BFD, bidirectional Forwarding Detection) connection may be established between two network devices, so that BFD service messages between the two network devices are transmitted through respective resource boards. If the resource board in one of the network devices for carrying the BFD service message is in an offline state, the network device at the opposite end cannot receive the BFD service message sent by the network device within a preset duration, and further disconnects the peer BFD connection established with the network device, thereby causing service interruption between the two network devices.
In the above manner, when one of the network devices is in an offline state, the network device at the opposite end cannot receive the BFD service message, so that the problem of service interruption between the two network devices is caused.
Disclosure of Invention
In order to solve the related technical problems, embodiments of the present application provide a method, an apparatus, and a storage medium for transmitting a message.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the application provides a message transmission method, which comprises the following steps:
inquiring a resource board state table to obtain an inquiry result, wherein the resource board state table comprises a main and standby state and an on-line state of the resource board, and the main and standby state and the on-line state of the resource board are determined by heartbeat detection session transmission results among the resource boards;
determining a first resource board carrying service messages between the first network equipment and the second network equipment according to the query result;
and when the first resource board is in an offline state according to the query result, selecting a second resource board of the first network equipment according to the query result to transmit the service message.
The embodiment of the application provides a message transmission device, which comprises:
The query unit is used for querying a resource board state table to obtain a query result, wherein the resource board state table comprises a main and standby state and an online state of the resource board, and the main and standby state and the online state of the resource board are determined by heartbeat detection session transmission results among the resource boards;
the determining unit is used for determining a first resource board carrying service messages between the first network equipment and the second network equipment according to the query result;
and the transmission unit is used for selecting a second resource board of the first network equipment to transmit the service message according to the query result when the first resource board is determined to be in an offline state according to the query result.
The embodiment of the application provides a message transmission device, which comprises: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to execute the steps of any one of the above-described message transmission methods when running the computer program.
The embodiments of the present application provide a storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of any of the message transmission methods described above.
The message transmission method, the message transmission device and the storage medium provided by the embodiment of the application query a resource board state table to obtain a query result, wherein the resource board state table comprises a main and standby state and an online state of a resource board, and the main and standby state and the online state of the resource board are determined by heartbeat detection session transmission results among the resource boards; determining a first resource board carrying service messages between the first network equipment and the second network equipment according to the query result; and when the first resource board is in an offline state according to the query result, selecting a second resource board of the first network equipment according to the query result to transmit the service message. By adopting the scheme of the embodiment of the application, when the first resource board is in an offline state, the second resource board can be utilized to transmit the service message, so that the second network device can receive the service message sent by the first network device within a preset time period, and meanwhile, the first network device can also receive the service message sent by the second network device within the preset time period, and further, the service between the first network device and the second network device is ensured not to be interrupted.
Drawings
Fig. 1 and 2 are schematic diagrams of related art service message transmission in a virtual private network (VPN, virtual Private Network) Fast Reroute (FRR) service scenario;
fig. 3 is a schematic structural diagram of a first network device according to an embodiment of the present application;
fig. 4 is a schematic implementation flow chart of a message transmission method in the embodiment of the present application;
fig. 5 is a schematic diagram of a second structure of a first network device according to an embodiment of the present application;
fig. 6 is a schematic diagram of a master resource board transmitting a service packet according to an embodiment of the present application;
fig. 7a is a schematic diagram of a resource board sending a service message according to an embodiment of the present application;
fig. 7b is a schematic diagram of a resource board receiving a service packet according to an embodiment of the present application;
fig. 8 is a schematic diagram of the composition structure of a message transmission device according to an embodiment of the present application;
fig. 9 is a schematic diagram of a second component structure of the message transmission device according to the embodiment of the present application.
Detailed Description
The present application is described in further detail below with reference to the accompanying drawings and examples.
In the related art, the reliability of the network and the link can be ensured by means of hardware redundancy, protection switching strategy, link detection of each layer of the network and the like; the reliability of the network equipment is ensured by adopting an integral protection strategy, namely, a standby network equipment is independently arranged to protect the main network equipment.
Fig. 1 and 2 are schematic diagrams of service message transmission under VPN FRR service scenario in the related art, as shown in fig. 1, including three Provider Edge (PE) devices, which are PE device 1, main PE device, and standby PE device respectively using a distributed system architecture. The peer BFD connection is established between the PE device 1 and the main PE device, so that BFD service messages (also called BFD fast packets) between the two network devices are transmitted through respective line cards; the line cards for receiving and transmitting BFD fast packets are also called resource boards. If the resource board for bearing the BFD fast packet in the main PE device fails offline, the PE device 1 cannot receive the BFD fast packet sent by the main PE device within a preset time period, and disconnects the peer BFD connection with the main PE device and switches the link to the standby PE device through a fast sensing mechanism of packet receiving timeout. As shown in fig. 2, when the primary PE device transmits a BFD fast packet through the resource board, i.e., the line card 1, if the line card 1 is offline, the PE device 1 at the opposite end will not receive the BFD fast packet sent by the primary PE device within a preset period of time, and triggers VPN FRR switching through a fast sensing mechanism of packet receiving timeout, the PE device 1 at the opposite end will disconnect the peer BFD connection with the primary PE device, and establish the peer BFD connection with the backup PE device.
In the above manner, when one of the network devices is in an offline state, the network device at the opposite end cannot receive the BFD service message, so that the problem of service interruption between the two network devices is caused.
Based on this, in various embodiments of the present application, a resource board state table is queried to obtain a query result, where the resource board state table includes a master-slave state and an online state of the resource board, where the master-slave state and the online state of the resource board are determined by a heartbeat detection session transmission result between the resource boards; determining a first resource board carrying service messages between the first network equipment and the second network equipment according to the query result; and when the first resource board is in an offline state according to the query result, selecting a second resource board of the first network equipment according to the query result to transmit the service message.
For a more complete understanding of the nature and the technical content of the embodiments of the present application, reference should be made to the following detailed description of embodiments of the present application when taken in conjunction with the accompanying drawings, which are provided for purposes of illustration only and are not intended to limit the invention.
Fig. 3 is a schematic structural diagram of a first network device according to an embodiment of the present application, as shown in fig. 3, including: main control board, resource board, message transmission board. The main control board may include a first exchange chip, the resource board may include a second exchange chip, and the message transmission board may include a network processing chip. The message transmission board and the resource board can be arranged on the same circuit board or can be independently arranged.
An embodiment of the present application provides a method for transmitting a message, which is applied to a first network device, as shown in fig. 4, and includes:
step 401: and inquiring a resource board state table to obtain an inquiry result, wherein the resource board state table comprises a main and standby state and an online state of the resource board, and the online state of the resource board is determined by a heartbeat detection session transmission result between the resource boards.
The first network device may be a PE device adopting a distributed system architecture; the PE device adopting the distributed system architecture may be that the line card independently completes receiving and sending the service packet. The resource board may refer to a line card in the first network device, where the line card is used to carry a service packet transmitted between the first network device and the second network device; the service may be a service with a short packet sending interval and a fast sensing function of a packet receiving timeout, and the service packet includes, but is not limited to, a BFD packet and the like.
In practical application, the message transmission board of the first network device needs to establish the resource plate state table before querying the resource plate state table.
Based on this, in an embodiment, the method further comprises: distributing corresponding index identifiers for a plurality of resource boards of the first network equipment; determining the active and standby states and the online states of each resource board; and establishing corresponding relations among the index identification, the active and standby states and the online states for each resource board to obtain the resource board state table.
The resource plate state table may include three entries, namely an index identifier, a main and standby state, and an online state, if the values of the main and standby states include 0 and 1,0 may represent the main use of the resource plate, and 1 may represent the standby of the resource plate; if the value of the online status includes 0 and 1,0 may indicate that the resource board is online, and 1 may indicate that the resource board is offline.
It should be noted that, the active-standby state of the resource board is for a service, and it is assumed that the service has sessions a and B, and it is assumed that session a is carried by a resource board with an index of 01, and session B is carried by a resource board with an index of 02, then the resource board carrying session a and index of 01 may be used as a main resource board, and the resource board carrying session B and index of 02 may be used as a standby resource board, where the standby resource board is used to ensure that the service of session a is not interrupted when the main resource board is offline; or, the resource board carrying the session B and the index marked as 02 may be used as a main resource board, and the resource board carrying the session a and the index marked as 01 may be used as a standby resource board, where the standby resource board is used to ensure that the service of the session B is not interrupted when the main resource board is offline.
Table 1 is an established resource board status table, and as shown in table 1, it is assumed that the first network device includes 3 resource boards, and the allocated index identifiers are 01, 02, and 03, respectively. The initial active-standby state and the online state are allocated to 3 resource boards: the main and standby states corresponding to the resource board with the number 01 are 'main' and the online state is 'online'; the main and standby states corresponding to the resource board with the number of 02 are standby, and the online state is online; the main and standby states corresponding to the resource board with the number 03 are standby states and the online state is offline.
Index identification Active/standby state On-line status
01 Main unit Online line
02 Preparation method Online line
03 Preparation method Offline
TABLE 1
After the message transmission board of the first network device establishes the resource board state table, the resource boards of the first network device can respectively establish heartbeat detection session connection with other resource boards, so that heartbeat detection sessions are mutually sent between the two resource boards, and when one resource board sends a heartbeat detection session to the other resource board, the other resource board does not receive the heartbeat detection session sent by the resource board within a preset time, the resource board at the opposite end can quickly detect that the resource board is in an offline state; otherwise, the resource board at the opposite end can rapidly detect that the resource board is in an on-line state. In this way, the resource boards of the first network device can send the transmission result of the heartbeat detection session to the message transmission boards of the first network device, so that the message transmission boards of the first network device can update the resource board state table by using the heartbeat detection session transmission result between the resource boards.
The heartbeat detection session may include a header and message data. In practical application, the message header may be encapsulated using an internal private header. The header may include a queue number, an index identifier of a source resource board, an index identifier of a destination resource board, a heartbeat detection session flag, and so on; and determining the message data according to actual requirements. In order to save hardware overhead, the length of the heartbeat detection session should be as fixed as possible, and should not be too long. The packet interval of the heartbeat detection session can be determined by comprehensively considering factors such as hardware overhead, bandwidth limitation, support degree of resource boards and the like.
In actual application, the message transmission board of the first network device can determine the main resource board and whether the resource board is on line by querying the resource board state table; a determination may also be made as to whether the resource board is on-line or not.
Based on this, in an embodiment, the querying the resource board state table to obtain the query result includes: and inquiring a resource board state table to obtain the active and standby states and the online states of the first resource board and the active and standby states and the online states of the second resource board.
For example, assume that a resource board as a master is queried from a resource board status table, and that the master resource board is in an online status, the corresponding index identifier is 01.
Step 402: and determining a first resource board carrying service messages between the first network equipment and the second network equipment according to the query result.
Here, if the message transmission board of the first network device queries that the index identifier corresponding to the primary resource board in the online state is 01, the message transmission board of the first network device may use the primary resource board with the index identifier of 01 to carry the service message between the first network device and the second network device.
Step 403: and when the first resource board is in an offline state according to the query result, selecting a second resource board of the first network equipment according to the query result to transmit the service message.
Here, when the message transmission board of the first network device queries that the first resource board serving as a main use is in an offline state from a resource board state table, the message transmission board of the first network device queries a standby resource board, and if the message transmission board queries that an index identifier corresponding to the standby resource board in an online state is 02, the standby resource board with the index identifier of 02 is used to replace the first resource board to transmit the service message.
In practical application, before the message transmission board of the first network device determines that the first resource board is in an offline state according to the query result, the second resource board of the first network device may determine whether the first resource board is in an offline state through a heartbeat detection session transmission result between itself and the first resource board. Or, the other resource boards except the second resource board in the resource boards of the first network device determine whether the first resource board is in an offline state according to the heartbeat detection session transmission result between the resource boards and the first resource board.
Based on this, in an embodiment, the method further comprises: and determining that the heartbeat detection session sent by the first resource board is not received within a set time length, and updating the online state of the first resource board in the resource board state table.
If the second resource board of the first network device determines that the heartbeat detection session sent by the first resource board is not received within a set duration, the second resource board of the first network device determines that the first resource board is in an offline state, and sends a transmission result of the heartbeat detection session to the message transmission board of the first network device, and the message transmission board of the first network device updates the online state of the first resource board in the resource board state table. Thus, when the message transmission board of the first network device queries the resource board state table, it can be determined that the first resource board is in an offline state according to the query result.
For example, assuming that the value of the online state of the first resource board includes 0 and 1,0 may indicate that the resource board is online, 1 may indicate that the resource board is offline, and after determining that the first resource board is in the offline state, the value of the online state may be changed from 0 to 1.
In practical application, if the first resource board is offline and the standby resource board and the third resource board for taking over the first resource board are unavailable, the message transmission board of the first network device needs to reselect the available standby resource board so that the service message is transmitted by the reselected standby resource board.
Based on this, in an embodiment, before the selecting the second resource board of the first network device according to the query result to transmit the service packet, the method further includes: and when the third resource board is in an offline state according to the query result, determining at least one resource board in an online state from other resource boards except the first resource board in the resource boards of the first network equipment, determining the traffic carried by each resource board in the at least one resource board, selecting a second resource board from the at least one resource board according to the determined traffic, and transmitting the service message by the second resource board.
Here, in order to implement load balancing, the resource board with the smallest amount of carried traffic may be determined based on the amount of traffic carried by each resource board in the at least one resource board; and taking the determined resource board as the second resource board. The message transmission board of the first network device may further select a standby resource board for the second resource board, which may specifically include: and determining at least one resource board in an online state from other resource boards except the second resource board in the resource boards of the first network equipment, determining the traffic carried by each resource board in the at least one resource board, and selecting the resource board with the smallest traffic from the at least one resource board as a standby resource board of the second resource board according to the determined traffic.
When the first network device sends the service message to the second network device in actual application, if the first resource board is in an offline state, the message transmission board of the first network device may select the second resource board to send the service message to the second network device.
Based on this, in an embodiment, the selecting the second resource board of the first network device to transmit the service packet includes: and sending the service message to the second network equipment through the second resource board.
The information that can be carried in the service message sent by the second resource board includes: index identification of resource boards, business data, and the like. The index identifier of the resource board may specifically refer to a line card number where the resource board is located.
Here, before the second resource board sends the service message to the second network device, the main control board of the first network device may create a service message to be sent; carrying the index identification and service data of the second resource board in the created service message; and sending the created service message to the second resource board of the first network equipment. Thus, after the message transmission board of the first network device selects the second resource board, the second resource board may send a service message carrying the index identifier of the second resource board and service data to the second network device.
Here, when the first resource board is in an offline state, the second resource board sends the service message to the second network device, so that the second network device can be ensured to receive the service message sent by the first network device within a preset time period, and further, the connection with the first network device is not disconnected, and service interruption between the two network devices is not caused.
When the method is actually applied, when the first network device receives the service message sent by the second network device, if the first resource board is in an offline state, the message transmission board of the first network device selects the second resource board to receive the service message sent by the second network device.
Based on this, in an embodiment, the selecting the second resource board of the first network device to transmit the service packet includes: and receiving the service message sent by the second network equipment through the second resource board.
Here, when the first resource board is in an offline state, the second resource board receives the service packet sent by the second network device, so that the first network device can be ensured to receive the service packet sent by the second network device within a preset time period, and further, the connection with the second network device is not disconnected, and service interruption between the two network devices is not caused.
In practical application, when the first network device receives the service message sent by the second network device, if the second resource board in the on-line state does not have a packet receiving or packet receiving timeout detection function, when the first resource board is in the off-line state, the first resource board and the second resource board cannot receive the service message sent by the second network device, and the first network device may disconnect the connection established with the second network device, thereby causing service interruption between the two network devices. Therefore, the first resource board and the second resource board are provided with a packet receiving or packet receiving timeout detection function.
Based on this, in an embodiment, the receiving, by the second resource board, the service packet sent by the second network device includes: copying the received service message sent by the second network equipment to obtain a copied service message; and sending the received service message sent by the second network device to the first resource board, and sending the copied service message to the second resource board.
In practical application, before the second resource board receives the service message sent by the second network device, the message transmission board of the first network device may query a service forwarding table, where the service forwarding table includes an on-line state of the main resource board and a forwarding outlet, and the forwarding outlet is determined by the on-line state of the main resource board; and the resource board pointed by the queried forwarding outlet receives the service message sent by the second network equipment.
Here, before the message transmission board of the first network device queries the service forwarding table, the message transmission board of the first network device needs to update the service forwarding table by using the online state of the first resource board, that is, when the message transmission board of the first network device determines that the first resource board is offline, the message transmission board of the first network device needs to update the resource board pointed by the forwarding outlet in the service forwarding table from the first resource board to the second resource board that is standby, so that the message transmission board of the first network device can query the second resource board from the service forwarding table, and the second resource board receives the service message sent by the second network device.
It should be noted that, after the message transmission board of the first network device determines that the first resource board is offline, if the message transmission board of the first network device does not update the service forwarding table in time, that is, the steering exit in the service forwarding table still points to the first resource board, after the message transmission board of the first network device queries the service forwarding table, in addition to sending the service message to the first resource board, in order to ensure that the service between the first network device and the second network device is not interrupted, the received service message sent by the second network device needs to be duplicated, and the duplicated service message is sent to the second resource board.
In practical application, before the message transmission board of the first network device queries the service forwarding table, the service forwarding table needs to be established.
Based on this, in an embodiment, the method further comprises: and establishing the corresponding relation among the online state of the main resource board, the index identification of the main resource board and the forwarding outlet to obtain the service forwarding table.
Table 2 is an established service forwarding table, in table 2, if the main resource board is on line, the forwarding outlet points to the main resource board, and the service message sent by the second network device is to be received and transmitted to the main resource board; if the main resource board is offline, the forwarding outlet points to the standby resource board, and the service message sent by the second network equipment is transmitted to the standby resource board.
Index identification of master resource board Online status of master resource board Forwarding egress
01 Online line Main resource board
02 Online line Main resource board
TABLE 2
In practical application, after the second resource board of the first network device transmits the service message, in order to save hardware overhead, the message transmission board of the first network device may update the active/standby state of the second resource board in the resource board state table.
Based on this, in an embodiment, after the selecting the second resource board of the first network device to transmit the service packet, the method further includes: and updating the master and slave states of the second resource board in the resource board state table.
For example, assuming that the values of the active and standby states of the second resource board include 0 and 1,0 may represent the active resource board, 1 may represent the standby resource board, and the message transmission board of the first network device may change the value of the active and standby states of the second resource board from 0 to 1 in the resource board state table.
Here, after updating the active/standby state of the second resource board in the resource board state table, the second resource board may be used as a new active resource board, and the process of selecting a new standby resource board may include: determining at least one resource board in an online state from other resource boards except the second resource board in the resource boards of the first network device; determining the traffic carried by each resource board in the at least one resource board, and determining the resource board with the minimum traffic from the at least one resource board according to the determined traffic; and taking the determined resource board as a new standby resource board.
By adopting the technical scheme of the embodiment of the application, when the first resource board is in an offline state, the second resource board of the first network device transmits the service message, so that the second network device can receive the service message sent by the first network device within a preset time period, and meanwhile, the first network device can also receive the service message sent by the second network device within the preset time period, thereby ensuring that the service between the first network device and the second network device is not interrupted.
In addition, a heartbeat detection session can be established between each resource board, so that whether the resource boards are online or not can be rapidly detected according to the heartbeat detection session transmission result, and therefore when the first resource board is in an offline state, the second resource board can be rapidly used for transmitting the service message, and further the message transmission efficiency is improved.
The present application is described in further detail below in connection with examples of application.
Fig. 5 is a schematic structural diagram of the first network device, as shown in fig. 5, including: the system comprises a service message creation module, a service transmission module, a service module, a heartbeat detection module, an alarm processing module and a heartbeat detection message transmission module. Wherein, the liquid crystal display device comprises a liquid crystal display device,
the service message creation module can be arranged on the main control board and is used for creating the service message carrying the index mark of the resource board on each resource board.
The service transmission module can be arranged on the message transmission board and is used for judging whether the main resource board and the standby resource board are on line according to the resource board state table when the first network equipment sends the service message to the second network equipment, and if the main resource board is on line, the main resource board is selected to send the service message to the second network equipment; if the main resource board is offline and the standby resource board is online, selecting the standby resource board to send a service message to the second network equipment; and if the main resource board is offline and the standby resource board is offline, the available standby resource board is reselected, and the reselected standby resource board sends a service message to the second network equipment. The first network device is further configured to determine whether a main resource board and a standby resource board are online according to a resource board status table when the first network device receives a service message sent by the second network device, and if the main resource board is online, select the main resource board to receive the service message sent by the second network device; if the main resource board is offline and the standby resource board is online, copying the received service message sent by the second network equipment to obtain a copied service message, and receiving the copied service message by the standby resource board; and if the main resource board is offline and the standby resource board is offline, the available standby resource board is reselected, and the reselected standby resource board receives the copied service message.
The service module can be arranged on the resource board and is used for receiving, transmitting and processing service messages. The service modules provided on the master resource board may be referred to as master service modules, and the service modules provided on the slave resource board may be referred to as slave service modules.
The heartbeat detection module can be arranged on the resource board and used for activating the heartbeat detection session, sending the heartbeat detection session to other resource boards and receiving the heartbeat detection session sent by other resource boards. And the alarm processing module is also used for triggering the alarm processing module to perform interrupt alarm processing once the heartbeat detection session is overtime.
Here, the activation procedure of the heartbeat detection session may include: step one, in the initialization process of a resource board, the first resource board creates a heartbeat detection session; after the service message sending function is started, the first resource board sends out the heartbeat detection session. And step two, after the first resource board receives the heartbeat detection session sent by the second resource board, the first resource board activates a session timeout detection function through the source resource board information carried by the heartbeat detection session, and the activation of the heartbeat detection session between the first resource board and the second resource board is completed.
It should be noted that, considering that the forwarding of the heartbeat detection session cannot be affected by the service packet, the forwarding queue where the heartbeat detection session is located is different from the forwarding queue where the service packet is located.
The alarm processing module can be arranged on the resource board and is used for sending alarm information to the table maintenance module when the heartbeat detection session is overtime; the alarm information carries the heartbeat detection session transmission result representing the offline of the resource board;
the table maintenance module can be arranged on the message transmission board and is used for receiving the alarm information sent by the alarm processing module; updating the resource plate state table by using the heartbeat detection session transmission result carried by the alarm information; and the service forwarding table is updated by using the determined online state of the main resource board.
It should be noted that, the main control board may include a first exchange chip, which is implemented by the central processing unit; the resource board may include a second switching chip, implemented by a coprocessor, and the message transfer board may include a network processing chip, implemented by a network processor. The message transmission board and the resource board can be arranged on the same circuit board.
Application example one
The application scene of the application embodiment is as follows: and when the line card 1 is offline, the line card 3 sends the service message to the second network device.
In addition, in this embodiment of the present application, line card 1 corresponds to the first resource board, and line card 3 corresponds to the second resource board.
In combination with the schematic structural diagram of the first network device shown in fig. 5, the sending process of the service packet may specifically include:
and the service transmission module queries the resource board state table to obtain a query result. Specifically, the following cases can be included:
in the first case, if the main resource board is queried to be online and the corresponding resource board is the line card 1, the service transmission module selects the line card 1, and the main service module of the line card 1 sends the service message to the second network device, as shown in fig. 6.
In the second case, if the main resource board is queried offline and the standby resource board is queried online and the corresponding resource board is the line card 3, the service transmission module selects the line card 3, and the standby service module of the line card 3 sends the service message to the second network device, as shown in fig. 7 a.
And thirdly, if the main resource board is inquired to be offline and the standby resource board is inquired to be offline, the service transmission module reselects the standby resource board, and the service module of the reselected standby resource board sends a service message to the second network equipment.
Here, the process of the service transmission module reselecting the standby resource board may include: assuming that the first network device includes a line card 1 (main resource board), a line card 2, a line card 3 (standby resource board), and a line card 4, after the line card 1 is offline and the line card 3 is offline, the line cards 2 and 4 are both online, and the traffic carried by the line card 2 is greater than the traffic carried by the line card 4, the line card 4 is used as the standby resource board selected again.
It should be noted that: the main service module of the line card 1 may send a service packet to the second network device after starting the service packet sending function; the service message may carry a line card number corresponding to the resource board, denoted by 01. The standby service module of the line card 2 may also send a service packet to the second network device after starting the service packet sending function; the service message may carry a line card number corresponding to the resource board, denoted by 02. The standby service module of the line card 3 may also send a service packet to the second network device after starting the service packet sending function; the service message may carry a line card number corresponding to the resource board, denoted by 03. The resource board selection module may create the service message on the line card 1, the line card 2, and the line card 3, and carry the corresponding line card number in the service message.
In this embodiment, when the line card 1 goes offline, the line card 3 sends a service packet to the second network device, so as to ensure that the second network device receives the service packet sent by the first network device within a preset duration, and further maintain the connection established with the first network device, thereby ensuring that the service between the two network devices is not interrupted.
Application example II
The application scene of the application embodiment is as follows: and when the line card 1 is offline, the line card 3 receives the service message sent by the second network device.
In addition, in this embodiment of the present application, line card 1 corresponds to the first resource board, and line card 3 corresponds to the second resource board.
In combination with the schematic structural diagram of the first network device shown in fig. 5, the receiving process of the service packet may specifically include:
the service transmission module queries the resource board state table to obtain a query result, which may specifically include the following cases:
in the first case, if the main resource board is on line and the corresponding resource board is line card 1, after querying the service forwarding table, the service transmission module sends the received service message sent by the second network device to the main service module of line card 1.
If the main resource board is inquired to be offline and the standby resource board is inquired to be online and the corresponding resource board is the line card 3, after inquiring the service forwarding table, the service transmission module transmits the received service message transmitted by the second network device to the main service module of the line card 1; and copying the received service message sent by the second network device to obtain a copied service message, and sending the copied service message to a standby service module of the line card 3, as shown in fig. 7 b.
And thirdly, if the main resource board is inquired to be offline and the standby resource board is inquired to be offline, the service transmission module reselects the standby resource board, and the service module of the reselected standby resource board receives the copied service message.
Here, the process of the service transmission module reselecting the standby resource board may include: assuming that the first network device includes a line card 1 (main resource board), a line card 2, a line card 3 (standby resource board), and a line card 4, after the line card 1 is offline and the line card 3 is offline, the line cards 2 and 4 are both online, and the traffic carried by the line card 2 is greater than the traffic carried by the line card 4, the line card 4 is used as the standby resource board selected again.
When the line card 1 is offline, the standby service module of the line card 3 has a function of detecting packet reception or packet reception timeout, so that the problem of idle window period of service reception can be avoided in the process of switching from the line card 1 to the line card 3.
In this embodiment, when the line card 1 goes offline, the line card 3 receives the service packet sent by the second network device, so as to ensure that the first network device receives the service packet sent by the second network device within a preset duration, and further maintain the connection established with the first network device, thereby ensuring that the service between the two network devices is not interrupted.
Application example III
The application scene of the application embodiment is as follows: when the line card 1 is offline, the table maintenance module updates the online state of the line card 1 in the resource plate state table.
In addition, in the present application embodiment, the line card 1 corresponds to the first resource board.
In connection with the schematic structure of the first network device shown in fig. 5, the update procedure of the source board status table may include the following steps:
step one: the heartbeat detection module of the line card 3 judges that the heartbeat detection session sent by the heartbeat detection module of the line card 1 is not received within a preset time length, and the alarm processing module of the line card 3 is triggered to perform interrupt alarm processing.
Step two: the alarm processing module of the line card 3 generates alarm information; and reporting the alarm information to the table maintenance module.
The alarm information may carry a line card number corresponding to the line card 1, and be used to characterize an offline session state of the line card 1. Session states may include UP, DOWN; where UP means resource board is on-line and DOWN means resource board is off-line.
Step three: the table maintenance module receives the alarm information sent by the alarm processing module of the line card 3, and updates the online state of the line card 1 in the resource plate-like table by using the line card number of the line card 1 carried by the alarm information and the session state used for representing the offline of the line card 1.
In order to implement the method of the embodiment of the present application, the embodiment of the present application further provides a packet transmission device, which is disposed on the first network device, as shown in fig. 8, and includes:
and a query unit 81, configured to query a resource board status table to obtain a query result, where the resource board status table includes a master status and a slave status of the resource boards, and the online status of the resource boards is determined by a heartbeat detection session transmission result between the resource boards.
A determining unit 82, configured to determine a first resource board carrying a service packet between the first network device and the second network device according to the query result.
And the transmission unit 83 is configured to select, according to the query result, the second resource board of the first network device to transmit the service packet when the first resource board is determined to be in an offline state according to the query result.
The first network device may be a PE device adopting a distributed system architecture; the PE device adopting the distributed system architecture may be that the line card independently completes receiving and sending the service packet. The resource board may refer to a line card in the first network device, where the line card is used to carry a service packet transmitted between the first network device and the second network device; the service may be a service with a short packet sending interval and a fast sensing function of a packet receiving timeout, and the service packet includes, but is not limited to, a BFD packet and the like.
In practice, the resource plate state table needs to be established before querying the resource plate state table.
Based on this, in an embodiment, the device further comprises:
a table building unit, configured to allocate corresponding index identifiers for a plurality of resource boards of the first network device; determining the active and standby states and the online states of each resource board; and establishing corresponding relations among the index identification, the active and standby states and the online states for each resource board to obtain the resource board state table.
The resource plate state table may include three entries, namely an index identifier, a main and standby state, and an online state, if the values of the main and standby states include 0 and 1,0 may represent the main use of the resource plate, and 1 may represent the standby of the resource plate; if the value of the online status includes 0 and 1,0 may indicate that the resource board is online, and 1 may indicate that the resource board is offline.
It should be noted that, the active-standby state of the resource board is for a service, and it is assumed that the service has sessions a and B, and it is assumed that session a is carried by a resource board with an index of 01, and session B is carried by a resource board with an index of 02, then the resource board carrying session a and index of 01 may be used as a main resource board, and the resource board carrying session B and index of 02 may be used as a standby resource board, where the standby resource board is used to ensure that the service of session a is not interrupted when the main resource board is offline; or, the resource board carrying the session B and the index marked as 02 may be used as a main resource board, and the resource board carrying the session a and the index marked as 01 may be used as a standby resource board, where the standby resource board is used to ensure that the service of the session B is not interrupted when the main resource board is offline.
After the message transmission board of the first network device establishes the resource board state table, the resource boards of the first network device can respectively establish heartbeat detection session connection with other resource boards, so that heartbeat detection sessions are mutually sent between the two resource boards, and when one resource board sends a heartbeat detection session to the other resource board, the other resource board does not receive the heartbeat detection session sent by the resource board within a preset time, the resource board at the opposite end can quickly detect that the resource board is in an offline state; otherwise, the resource board at the opposite end can rapidly detect that the resource board is in an on-line state. In this way, the resource boards of the first network device can send the transmission result of the heartbeat detection session to the message transmission boards of the first network device, so that the message transmission boards of the first network device can update the resource board state table by using the heartbeat detection session transmission result between the resource boards.
In actual application, the message transmission board of the first network device may query the resource board status table to determine the main resource board and whether the resource board is online; a determination may also be made as to whether the resource board is on-line or not.
Based on this, in an embodiment, the querying unit 81 is specifically configured to query a resource board state table to obtain the active/standby state and the online state of the first resource board, and the active/standby state and the online state of the second resource board.
In practical application, before the message transmission board of the first network device determines that the first resource board is in an offline state according to the query result, the heartbeat detection session transmission result between the second resource board of the first network device and the first resource board of the first network device determines whether the first resource board is in an offline state. Or determining whether the first resource board is in an offline state according to heartbeat detection session transmission results between other resource boards except the second resource board in the resource boards of the first network device and the first resource board.
Based on this, in an embodiment, the device further comprises:
And the updating unit is used for determining that the heartbeat detection session sent by the first resource board is not received within a set time length, and updating the online state of the first resource board in the resource board state table.
In practical application, if the first resource board is offline and the third resource board for taking over the first resource board is unavailable, the message transmission board of the first network device needs to reselect an available standby resource board so that the service message is transmitted by the reselected standby resource board.
Based on this, in an embodiment, the device further comprises:
the selection unit is used for determining at least one resource board in an online state from other resource boards except the first resource board in the resource boards of the first network equipment when the third resource board is in an offline state according to the query result; and determining the traffic carried by each resource board in the at least one resource board, selecting a second resource board from the at least one resource board according to the determined traffic, and transmitting the service message by the second resource board.
Here, in order to implement load balancing, the resource board with the smallest amount of carried traffic may be determined based on the amount of traffic carried by each resource board in the at least one resource board; and taking the determined resource board as the second resource board. The message transmission board of the first network device may further select a standby resource board for the second resource board, which may specifically include: and determining at least one resource board in an online state from other resource boards except the second resource board in the resource boards of the first network equipment, determining the traffic carried by each resource board in the at least one resource board, and selecting the resource board with the smallest traffic from the at least one resource board as a standby resource board of the second resource board according to the determined traffic.
When the method is actually applied, when the first network device sends the service message to the second network device, if the message transmission board of the first network device inquires that the first resource board is in an offline state, the message transmission board of the first network device can select the second resource board to send the service message to the second network device.
Based on this, in an embodiment, the transmission unit 83 is specifically configured to send the service packet to the second network device through the second resource board.
The information that can be carried in the service message sent by the second resource board includes: index identification of resource boards, business data, and the like. The index identifier of the resource board may specifically refer to a line card number where the resource board is located.
Here, before the second resource board sends the service message to the second network device, the main control board of the first network device may create a service message to be sent; carrying the index identification and service data of the second resource board in the created service message; and sending the created service message to the second resource board of the first network equipment. Thus, after the message transmission board of the first network device selects the second resource board, the second resource board may send a service message carrying the index identifier of the second resource board and service data to the second network device.
Here, when the first resource board is in an offline state, the second resource board sends the service message to the second network device, so that the second network device can be ensured to receive the service message sent by the first network device within a preset time period, and further, the connection with the first network device is not disconnected, and service interruption between the two network devices is not caused.
When the method is actually applied, when the first network device receives the service message sent by the second network device, if the first resource board is in an offline state, the message transmission board of the first network device selects the second resource board to receive the service message sent by the second network device.
Based on this, in an embodiment, the transmission unit 83 is specifically configured to receive, through the second resource board, the service packet sent by the second network device.
In practical application, when the first network device receives the service message sent by the second network device, if the second resource board in the on-line state does not have a packet receiving or packet receiving timeout detection function, when the first resource board is in the off-line state, the first resource board and the second resource board cannot receive the service message sent by the second network device, and the first network device may disconnect the connection established with the second network device, thereby causing service interruption between the two network devices. Therefore, the first resource board and the second resource board are provided with a packet receiving or packet receiving timeout detection function.
Based on this, in an embodiment, the transmission unit 83 is specifically configured to copy the received service packet sent by the second network device, to obtain a copied service packet; and sending the received service message sent by the second network device to the first resource board, and sending the copied service message to the second resource board.
Here, before the second resource board receives the service packet sent by the second network device, the packet transmission board of the first network device may query a service forwarding table, where the service forwarding table includes an online state of the master resource board and a forwarding outlet, and the forwarding outlet is determined by the online state of the master resource board; and the resource board pointed by the queried forwarding outlet receives the service message sent by the second network equipment.
Here, before the message transmission board of the first network device queries the service forwarding table, the message transmission board of the first network device needs to update the service forwarding table by using the online state of the first resource board, that is, when the message transmission board of the first network device determines that the first resource board is offline, the message transmission board of the first network device needs to update the resource board pointed by the forwarding outlet in the service forwarding table from the first resource board to the second resource board that is standby, so that the message transmission board of the first network device can query the second resource board from the service forwarding table, and the second resource board receives the service message sent by the second network device.
It should be noted that, after the message transmission board of the first network device determines that the first resource board is offline, if the message transmission board of the first network device does not update the service forwarding table in time, that is, the steering exit in the service forwarding table still points to the first resource board, after the message transmission board of the first network device queries the service forwarding table, in addition to sending the service message to the first resource board, in order to ensure that the service between the first network device and the second network device is not interrupted, the received service message sent by the second network device needs to be duplicated, and the duplicated service message is sent to the second resource board.
In practical application, before the message transmission board of the first network device queries the service forwarding table, the service forwarding table needs to be established.
Based on this, in an embodiment, the table creating unit is further configured to create a corresponding relationship among an online state of the master resource board, an index identifier of the master resource board, and a forwarding outlet, so as to obtain the service forwarding table.
In practical application, after the second resource board of the first network device transmits the service message, in order to save hardware overhead, the message transmission board of the first network device may update the active/standby state of the second resource board in the resource board state table.
Based on this, in an embodiment, the updating unit is further configured to update the active/standby state of the second resource board in the resource board state table.
Here, after updating the active/standby state of the second resource board in the resource board state table, the second resource board may be used as a new active resource board, and the process of selecting a new standby resource board may include: determining at least one resource board in an online state from other resource boards except the second resource board in the resource boards of the first network device; determining the traffic carried by each resource board in the at least one resource board, and determining the resource board with the minimum traffic from the at least one resource board according to the determined traffic; and taking the determined resource board as a new standby resource board.
In practical application, the query unit 81, the determining unit 82, the transmitting unit 83, the table building unit, the updating unit, and the selecting unit may be implemented by a processor in the message transmitting device.
Based on the hardware implementation of the program modules, and in order to implement the method of the first network device side in the embodiment of the present application, the embodiment of the present application further provides a packet transmission device, as shown in fig. 9, the device 90 includes: a communication interface 91, a processor 92, a memory 93; wherein, the liquid crystal display device comprises a liquid crystal display device,
A communication interface 91 capable of information interaction with other devices;
and a processor 92, connected to the communication interface 91, for implementing information interaction with the second network device, and configured to execute the method provided by one or more technical solutions on the first network device side when running a computer program. And the computer program is stored on the memory 93.
Of course, in practice, the various components of the message transmission device 90 are coupled together by a bus system 94. It is understood that the bus system 94 is used to enable connected communication between these components. The bus system 94 includes a power bus, a control bus, and a status signal bus in addition to the data bus. But for clarity of illustration the various buses are labeled as bus system 94 in fig. 9.
The memory 93 in the embodiment of the present application is used to store various types of data to support the operation of the message transmission device 90. Examples of such data include: any computer program for operating on the messaging device 90.
The method disclosed in the embodiments of the present application may be applied to the processor 92 or implemented by the processor 92. The processor 92 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuitry in hardware or instructions in software in the processor 92. The processor 92 described above may be a general purpose processor, a digital signal processor (DSP, digital Signal Processor), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 92 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly embodied in a hardware decoding processor or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 93 and the processor 92 reads information from the memory 93 to perform the steps of the method in combination with its hardware.
In an exemplary embodiment, the message transmitting apparatus 90 may be implemented by one or more application specific integrated circuits (ASIC, application Specific Integrated Circuit), DSPs, programmable logic devices (PLD, programmable Logic Device), complex programmable logic devices (CPLD, complex Programmable Logic Device), field-programmable gate arrays (FPGA, field-Programmable Gate Array), general purpose processors, controllers, microcontrollers (MCU, micro Controller Unit), microprocessors (Microprocessor), or other electronic components for performing the aforementioned methods.
It should be noted that: "first," "second," etc. are used to distinguish similar objects and not necessarily to describe a particular order or sequence.
In addition, the embodiments described in the present application may be arbitrarily combined without any collision.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the present invention.

Claims (16)

1. The message transmission method is characterized by being applied to first network equipment and comprising the following steps:
inquiring a resource board state table to obtain an inquiry result, wherein the resource board state table comprises a main and standby state and an on-line state of the resource boards, the on-line state of the resource boards is determined by a heartbeat detection session transmission result among the resource boards, the main and standby state of the resource boards is determined according to a bearing service, the resource boards of the first network equipment are respectively connected with other resource boards by a heartbeat detection session, a heartbeat detection session is mutually sent between any two resource boards, the resource boards of the first network equipment determine that the resource boards at the opposite end are in an off-line state through the heartbeat detection session, and then the resource boards of the first network equipment send the transmission result of the heartbeat detection session to a message transmission board of the first network equipment so as to update the resource board state table;
Determining a first resource board carrying service messages between the first network equipment and the second network equipment according to the query result;
when the first resource board is in an offline state according to the query result, and when the third resource board is in an offline state according to the query result, at least one resource board in an online state is determined from other resource boards except the first resource board in the resource boards of the first network equipment;
determining the traffic carried by each resource board in the at least one resource board, selecting a second resource board from the at least one resource board according to the determined traffic, and transmitting the traffic message by the second resource board;
and selecting a second resource board of the first network equipment to transmit the service message to the second network equipment according to the query result.
2. The method of claim 1, wherein the selecting the second resource board of the first network device to transmit the service message comprises:
sending the service message to the second network device through the second resource board;
or receiving the service message sent by the second network device through the second resource board.
3. The method according to claim 2, wherein the receiving, by the second resource board, the service packet sent by the second network device includes:
copying the received service message sent by the second network equipment to obtain a copied service message;
and sending the received service message sent by the second network device to the first resource board, and sending the copied service message to the second resource board.
4. The method of claim 1, wherein querying the resource plate state table for query results comprises:
and inquiring a resource board state table to obtain the active and standby states and the online states of the first resource board and the active and standby states and the online states of the second resource board.
5. The method according to claim 1, wherein the method further comprises:
distributing corresponding index identifiers for a plurality of resource boards of the first network equipment;
determining the active and standby states and the online states of each resource board;
and establishing corresponding relations among the index identification, the active and standby states and the online states for each resource board to obtain the resource board state table.
6. The method according to claim 1, wherein the method further comprises:
and determining that the heartbeat detection session sent by the first resource board is not received within a set time length, and updating the online state of the first resource board in the resource board state table.
7. The method of claim 1, wherein after the selecting the second resource board of the first network device to transmit the service message, the method further comprises:
and updating the master and slave states of the second resource board in the resource board state table.
8. A message transmission apparatus, disposed on a first network device, comprising:
the system comprises a query unit, a resource board state table and a message transmission board, wherein the query unit is used for querying the resource board state table to obtain a query result, the resource board state table comprises a main and standby state and an on-line state of the resource boards, the on-line state of the resource boards is determined by a heartbeat detection session transmission result among the resource boards, the main and standby state of the resource boards is determined according to a bearing service, the resource boards of the first network equipment are respectively connected with other resource boards through heartbeat detection sessions, a heartbeat detection session is mutually sent among any two resource boards, the resource boards of the first network equipment determine that the resource boards at the opposite end are in an off-line state through the heartbeat detection session, and then the resource boards of the first network equipment send the transmission result of the heartbeat detection session to the message transmission board of the first network equipment so as to update the resource board state table;
The determining unit is used for determining a first resource board carrying service messages between the first network equipment and the second network equipment according to the query result;
the transmission unit is used for determining at least one resource board in an online state from other resource boards except the first resource board in the resource boards of the first network equipment when determining that the first resource board is in an offline state according to the query result and determining that the third resource board is in an offline state according to the query result; and determining the traffic carried by each resource board in the at least one resource board, selecting a second resource board from the at least one resource board according to the determined traffic, transmitting the traffic message by the second resource board, and selecting the second resource board of the first network equipment according to the query result to transmit the traffic message to the second network equipment.
9. The apparatus of claim 8, wherein the device comprises a plurality of sensors,
the transmission unit is specifically configured to send the service packet to the second network device through the second resource board; or receiving the service message sent by the second network device through the second resource board.
10. The apparatus of claim 9, wherein the device comprises a plurality of sensors,
the transmission unit is specifically configured to copy the received service packet sent by the second network device, to obtain a copied service packet; and sending the received service message sent by the second network device to the first resource board, and sending the copied service message to the second resource board.
11. The apparatus of claim 8, wherein the device comprises a plurality of sensors,
the query unit is specifically configured to query a resource board state table to obtain a master-slave state and an online state of the first resource board, and a master-slave state and an online state of the second resource board.
12. The apparatus of claim 8, wherein the apparatus further comprises:
a table building unit, configured to allocate corresponding index identifiers for a plurality of resource boards of the first network device; determining the active and standby states and the online states of each resource board; and establishing corresponding relations among the index identification, the active and standby states and the online states for each resource board to obtain the resource board state table.
13. The apparatus of claim 8, wherein the apparatus further comprises:
And the updating unit is used for determining that the heartbeat detection session sent by the first resource board is not received within a set time length, and updating the online state of the first resource board in the resource board state table.
14. The apparatus of claim 13, wherein the device comprises a plurality of sensors,
and the updating unit is also used for updating the active and standby states of the second resource board in the resource board state table.
15. A message transmission apparatus, comprising: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is adapted to perform the steps of the method of any of claims 1 to 7 when the computer program is run.
16. A storage medium having stored thereon a computer program, which when executed by a processor performs the steps of the method according to any of claims 1 to 7.
CN201910169080.6A 2019-03-06 2019-03-06 Message transmission method, device and storage medium Active CN111669280B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910169080.6A CN111669280B (en) 2019-03-06 2019-03-06 Message transmission method, device and storage medium
PCT/CN2019/130613 WO2020177471A1 (en) 2019-03-06 2019-12-31 Message transmission method, apparatus and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910169080.6A CN111669280B (en) 2019-03-06 2019-03-06 Message transmission method, device and storage medium

Publications (2)

Publication Number Publication Date
CN111669280A CN111669280A (en) 2020-09-15
CN111669280B true CN111669280B (en) 2023-05-16

Family

ID=72338356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910169080.6A Active CN111669280B (en) 2019-03-06 2019-03-06 Message transmission method, device and storage medium

Country Status (2)

Country Link
CN (1) CN111669280B (en)
WO (1) WO2020177471A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1545268A (en) * 2003-11-27 2004-11-10 中兴通讯股份有限公司 A method and system for Ethernet interface node backup
CN102710466A (en) * 2012-06-11 2012-10-03 烽火通信科技股份有限公司 Master and backup board card changeover protection system, and bidirectional forwarding detection seamless handover method and device
CN108462529A (en) * 2018-04-27 2018-08-28 上海欣诺通信技术股份有限公司 Active and standby board switching method, optical transport network device and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100388218C (en) * 2002-06-27 2008-05-14 中兴通讯股份有限公司 Method for realizing backup between servers
CN101110776B (en) * 2007-07-05 2011-06-01 华为技术有限公司 Backup method, backup device and backup system for data business
CN101616033A (en) * 2009-07-17 2009-12-30 中兴通讯股份有限公司 A kind of method of relay resource board back-up protection
CN101860491B (en) * 2010-06-23 2013-08-14 迈普通信技术股份有限公司 Aggregation type link bidirectional forwarding detection method and device thereof
CN102025541B (en) * 2010-12-08 2014-12-10 中兴通讯股份有限公司 Method and system for realizing multicast protection
WO2014166065A1 (en) * 2013-04-09 2014-10-16 华为技术有限公司 Method and device for protecting service reliability, and network virtualization system
CN104158733B (en) * 2013-05-13 2019-04-05 华为技术有限公司 A kind of fast rerouting method and device, transmission network
CN105429814B (en) * 2014-09-17 2020-08-04 南京中兴软件有限责任公司 Method and equipment for protecting BFD (bidirectional forwarding detection) by using multiple board cards
CN107612754B (en) * 2017-10-30 2021-07-06 新华三技术有限公司 Bidirectional forwarding link fault detection method and device and network node equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1545268A (en) * 2003-11-27 2004-11-10 中兴通讯股份有限公司 A method and system for Ethernet interface node backup
CN102710466A (en) * 2012-06-11 2012-10-03 烽火通信科技股份有限公司 Master and backup board card changeover protection system, and bidirectional forwarding detection seamless handover method and device
CN108462529A (en) * 2018-04-27 2018-08-28 上海欣诺通信技术股份有限公司 Active and standby board switching method, optical transport network device and storage medium

Also Published As

Publication number Publication date
CN111669280A (en) 2020-09-15
WO2020177471A1 (en) 2020-09-10

Similar Documents

Publication Publication Date Title
CN106330475B (en) Method and device for managing main and standby nodes in communication system and high-availability cluster
CN112448877B (en) SBFD session establishment method, device and system
CN102904818A (en) Method and device for updating ARP (Address Resolution Protocol) information table
CN101150439A (en) A method, system and device for realizing master/slave switching
CN106060088A (en) Service management method and device
CN108075971A (en) A kind of main/standby switching method and device
CN101197733A (en) Automatic detection method and device for network connectivity
CN101989953A (en) Method and equipment for sending bidirectional forwarding detection message
CN112039710A (en) Service fault processing method, terminal device and readable storage medium
CN107948063B (en) Method for establishing aggregation link and access equipment
CN104410527A (en) Topological detection method, exchanger and heat stacking system
JPH09259096A (en) System for enhancing reliability of network
CN110278094B (en) Link recovery method, device, system, storage medium and electronic device
CN108900441B (en) Network switching method, first electronic device and readable storage medium
CN109245911B (en) Method and device for realizing BRAS hot standby and computer readable storage medium
CN111669280B (en) Message transmission method, device and storage medium
CN110311861B (en) Method and device for guiding data flow
CN110661836B (en) Message routing method, device and system, and storage medium
JP2003188905A (en) System and method for multiplexing tcp/ip communication for server/client system
CN111835544B (en) Monitoring method and system of virtual router based on user mode protocol stack
CN113852514A (en) Data processing system with uninterrupted service, processing equipment switching method and connecting equipment
CN102739430B (en) Method and system for realizing Ethernet protection switching
CN115514698A (en) Protocol calculation method, switch, cross-device link aggregation system and storage medium
JP2000244526A (en) Multiplexed network connector system
CN115102897B (en) Stacking splitting protection method based on link aggregation

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