Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and Processor for Detecting Bidirectional Forwarding Path Detecting Session State

A processor and forwarding core technology, applied in the transmission system, electrical components, etc., can solve the problem of low efficiency of BFD session state detection, achieve the effect of reducing resources and improving detection efficiency

Active Publication Date: 2022-02-25
XINHUASAN INFORMATION TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In view of this, the embodiment of the present application provides a method and a processor for detecting the session state of a bidirectional forwarding path, which solves the technical problem that each BFD session state detection needs to occupy more resources and the BFD session state detection efficiency is not high

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and Processor for Detecting Bidirectional Forwarding Path Detecting Session State
  • Method and Processor for Detecting Bidirectional Forwarding Path Detecting Session State
  • Method and Processor for Detecting Bidirectional Forwarding Path Detecting Session State

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0091] figure 1 It is a schematic diagram of the structure of the processor provided by the embodiment of the present application. The processor is in the first network device, such as figure 1 As shown, the processor includes: a control core 11 and a forwarding core 12; wherein,

[0092] The control core 11 is configured to obtain a timeout duration agreed upon by the BFD session when a BFD session has been established between the first network device and the second network device, and output the timeout duration to the forwarding core 12;

[0093] In the embodiment of the present application, in the case where the network device has multi-core CPUs, one of the multi-core CPUs is used as the BFD control core to run the protocol stack and maintain the BFD session state. Some other CPUs in the multi-core CPU are used as BFD forwarding cores to detect the sending and receiving of BFD packets.

[0094]In this way, a multi-core CPU is used to form multiple BFD forwarding cores ...

Embodiment 2

[0132] figure 2 It is a schematic flow chart of the method for detecting the state of the bidirectional forwarding path detection session provided by the embodiment of the present application. The method is applied to a first network device, such as figure 2 As shown, the process includes:

[0133] Step 201, when a BFD session has been established between the first network device and the second network device, the first network device obtains the timeout duration agreed upon by the BFD session;

[0134] In this embodiment of the present application, when the first network device detects the BFD session negotiated and established with the second network device, it acquires the timeout period agreed upon by the negotiated BFD session.

[0135] Step 202, the first network device determines the duration of the timer interrupt command corresponding to the BFD session in the virtual linked list according to the timeout duration and the duration of the hardware timer in the first...

Embodiment 3

[0154] image 3 for figure 2 One of the sub-step flowcharts of step 201 shown. Such as image 3 As shown, the process includes:

[0155] Step 301: When a BFD session has been established between the first network device and the second network device, the BFD control core of the first network device obtains the session information of the BFD session, and constructs the BFD session according to the session information. The session entry of the BFD session, the session entry includes source network equipment information, destination network equipment information and timeout duration;

[0156] In the embodiment of the present application, for the situation where the network device has a multi-core CPU, once the BFD session is established, the format and content of the subsequent periodically sent BFD packets are fixed. Therefore, as an optional embodiment, the maintenance of the BFD session state (BFD session negotiation, UP / DOWN transition processing) and the sending and rec...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present application provides a method and a processor for detecting a bidirectional forwarding path detection session state. The processor includes a control core and a forwarding core; the control core obtains the timeout period agreed upon by the established BFD session between the first and second network devices and outputs it to the forwarding core; the forwarding core bases on the timeout period and the time period for generating a timing interrupt command , in the virtual linked list, determine the first timing node carried by the timer corresponding to the BFD session, the virtual linked list structure represents a timing interrupt instruction, and each timing node constituting the virtual linked list carries at least one timer, each timer and The established BFD sessions have one-to-one correspondence, and the time step between adjacent timing nodes is the duration of generating a timing interrupt instruction; the forwarding core is also used to, when a timing interrupt instruction is generated, send the corresponding timing node to the timing interrupt instruction. The BFD session corresponding to the carried timer performs state detection. In this way, the efficiency of BFD session state detection can be improved.

Description

technical field [0001] The present application relates to the technical field of communication detection, in particular, to a method and a processor for detecting a bidirectional forwarding path detection session state. Background technique [0002] In order to reduce the impact of network equipment failure on the business of the communication system and improve the reliability of the communication system, the network equipment needs to be able to detect communication failures with adjacent network equipment as soon as possible, so that the communication system can take business switching measures in time to ensure that the business continues . [0003] Bidirectional Forwarding Detection (English: Bidirectional Forwarding Detection, BFD for short) provides a general and standardized medium-independent and protocol-independent fast fault detection mechanism. For each upper-layer protocol, for example, Open Shortest Path First (English: Open Shortest Path First, referred to a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L43/50H04L41/0631H04L43/0811
CPCH04L41/0631H04L43/0811H04L43/50
Inventor 杨逸
Owner XINHUASAN INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products