CN116346256A - Control method, device, equipment and medium for transferring and separating BFD information transmission - Google Patents

Control method, device, equipment and medium for transferring and separating BFD information transmission Download PDF

Info

Publication number
CN116346256A
CN116346256A CN202111583239.2A CN202111583239A CN116346256A CN 116346256 A CN116346256 A CN 116346256A CN 202111583239 A CN202111583239 A CN 202111583239A CN 116346256 A CN116346256 A CN 116346256A
Authority
CN
China
Prior art keywords
transmission channel
message transmission
control
bfd
plane 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.)
Pending
Application number
CN202111583239.2A
Other languages
Chinese (zh)
Inventor
赖达宏
欧亮
陈前锋
唐晓瑞
陈大松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202111583239.2A priority Critical patent/CN116346256A/en
Publication of CN116346256A publication Critical patent/CN116346256A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • 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/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Abstract

The disclosure provides a control method, a device, equipment and a medium for transferring control separation BFD information transmission, and relates to the technical field of communication. The method comprises the following steps: monitoring congestion of a first message transmission channel used for data transmission between a control plane device and a forwarding plane device in real time; and when the first message transmission channel is monitored to be in a congestion state, controlling to open a second message transmission channel, wherein the second message transmission channel transmits the bidirectional forwarding monitoring BFD configuration information issued by the control plane device to the forwarding plane device. The present disclosure provides a control method, a device, an apparatus, and a medium for transferring and separating BFD information transmission, by opening a second message transmission channel between a control plane device and a forwarding plane device, and monitoring congestion conditions of a first message transmission channel in real time, further determining opening timing of the second message transmission channel, and greatly improving timeliness of information interaction between the control plane device and the forwarding plane device.

Description

Control method, device, equipment and medium for transferring and separating BFD information transmission
Technical Field
The disclosure relates to the technical field of communication, and in particular relates to a control method, a device, equipment and a medium for transferring control separation BFD information transmission.
Background
The dependency of modern information society on the internet is gradually deepened, and the requirements on the reliability and the usability of the network are also higher and higher, for example, the fields of security, finance, data centers and the like. The network is built by related devices and transmission lines, and as the degree of IP (Internet Protocol) of the network, i.e. the Internet Protocol (IP) of the interconnection between networks, increases, the proportion of use of data network devices in the network (including fixed networks and mobile networks) increases gradually, so that the requirements on the reliability and availability of the data network devices are also increasing.
The data network equipment consists of hardware and software parts running on the hardware, the equipment at the core part of the network is deployed in a main-standby mode in order to enhance the reliability and availability of the equipment, the core large-switching capacity equipment is in a double-main-control mode, and a plurality of pieces of equipment form a virtual system in some application cases, wherein the equipment are main-standby. In order to achieve the purpose that when the main equipment fails, the standby equipment can take over and ensure that the service is not interrupted, software between the main control board and the standby main control board in the equipment or between the main equipment and the standby equipment in the virtual system needs to have a function of hot switching, usually, an NSR (Non-stop Routing) technology is adopted, the NSR is a high-reliability technology in the data network equipment, and is a basis of hot migration, the implementation basis is that data synchronization between the main control board and the standby main control board is realized, when the main control board fails, the main and standby switching is carried out, and the standby main control board uses synchronous data to be on line, so that the Routing and forwarding are not interrupted.
In the related art, under the control separation, the network equipment needs to realize millisecond-level link fault monitoring, so that the system rapidly switches links, and the connectivity of the network links is ensured. In order to make the control plane device and the forwarding plane device decoupled and independent to the greatest extent, a configuration database, a platform control, a forwarding database and other modules are added in the upper and lower information interaction channels for cutting and isolation.
In the network equipment of the transfer control separation architecture, as the transfer surface device and the control surface device are separated and deployed, when the control surface device generates link information or configuration information change, operations such as creation, update and deletion of a bidirectional transfer monitoring (Bidirectional Forwarding Detection, BFD) session are triggered, configuration information is sent to the transfer surface device, and the transfer surface device processes the configuration information according to the sent configuration information. However, if the delay of the message transmission channel between the forwarding surface device and the control surface device is large or communication anomalies such as channel blockage occur, the forwarding surface device cannot update the configuration information issued by the control surface device in time, which results in time-out of monitoring of the opposite terminal device BFD, and may cause BFD session oscillation, thereby causing routing protocol oscillation and further affecting flow forwarding.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The present disclosure provides a control method, a device, an apparatus, and a medium for controlling transmission of control separation BFD information, which at least overcome to a certain extent the problem that timeliness of a control plane device and a forwarding plane device under control separation provided in a related technology cannot be guaranteed.
Other features and advantages of the present disclosure will be apparent from the following detailed description, or may be learned in part by the practice of the disclosure.
According to one aspect of the present disclosure, there is provided a control method for controlling BFD information transmission by controlling separation, including:
monitoring congestion of a first message transmission channel used for data transmission between a control plane device and a forwarding plane device in real time;
and when the first message transmission channel is monitored to be in a congestion state, controlling to open a second message transmission channel, wherein the second message transmission channel transmits the bidirectional forwarding monitoring BFD configuration information issued by the control plane device to the forwarding plane device.
In one embodiment of the present disclosure, the monitoring, in real time, congestion of a first message transmission channel for data transmission between a control plane device and a forwarding plane device includes:
Monitoring the real-time occupancy rate of module process resources in the first message transmission channel in real time;
judging whether the real-time occupancy rate of the module process resources is larger than a preset occupancy rate threshold value within a first preset duration;
and if the first message transmission channel is in the congestion state, judging that the first message transmission channel is in the congestion state.
In one embodiment of the present disclosure, after the controlling opens the second message transmission channel, the method further comprises:
and when the real-time occupancy rate of the module process resources is monitored to be smaller than or equal to a preset occupancy rate threshold value within a first preset duration, sending idle prompt information to the control surface device so that the control surface device determines the opening time of the first message transmission channel according to the idle prompt information.
In one embodiment of the present disclosure, the monitoring, in real time, congestion of a first message transmission channel for data transmission between a control plane device and a forwarding plane device includes:
a module issuing party in a first message transmission channel sends configuration messages, wherein the configuration messages comprise BFD configuration messages and response request messages;
recording the time interval between the sending of the response request message by the module sender and the receiving of the response reply message initiated by the module receiver;
Judging whether the time interval is larger than a preset time interval threshold value or not;
and if the first message transmission channel is in the congestion state, judging that the first message transmission channel is in the congestion state.
In one embodiment of the present disclosure, after the controlling opens the second message transmission channel, the method further comprises:
when the time interval between the sending of the response request message by the module sender and the receiving of the response reply message initiated by the module receiver is smaller than a preset time interval threshold, idle prompt information is sent to the control surface device, so that the control surface device determines the opening time of the first message transmission channel according to the idle prompt information.
In one embodiment of the present disclosure, after the controlling opens the second message transmission channel, the method further comprises:
and if no message transmission in the second message transmission channel is detected within the second preset time period, controlling to close the second message transmission channel.
In one embodiment of the present disclosure, the second message transmission channel is a Unix Socket channel.
According to another aspect of the present disclosure, there is provided a control apparatus for controlling BFD information transmission by controlling separation of control, including:
the monitoring module is used for monitoring the congestion condition of a first message transmission channel used for data transmission between the control surface device and the forwarding surface device in real time;
And the control module is used for controlling to open a second message transmission channel when the first message transmission channel is monitored to be in a congestion state, and the second message transmission channel transmits the bidirectional forwarding monitoring BFD configuration information issued by the control plane device to the forwarding plane device.
According to another aspect of the present disclosure, there is provided an electronic device including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the above-described transfer control separation BFD information transmission control method via execution of the executable instructions.
According to another aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the above-described control method for controlling transmission of control separated BFD information.
According to the control method, the device, the equipment and the medium for transferring and separating BFD information transmission, the second message transmission channel is opened between the control surface device and the forwarding surface device, congestion conditions of the first message transmission channel are monitored in real time, and then the opening time of the second message transmission channel is determined, so that the technical problems of BFD session information issuing delay caused by extremely busy equipment service and message congestion are solved, timeliness of information interaction between the control surface device and the forwarding surface device is greatly improved, stable operation of service states is guaranteed, and stable migration of the service states in abnormal links is facilitated.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure. It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived from them without undue effort.
FIG. 1 illustrates a system architecture diagram of a network device in an embodiment of the present disclosure;
fig. 2 shows a flow chart of network device information transmission in an embodiment of the present disclosure;
fig. 3 is a flowchart illustrating a control method for controlling transmission of BFD information by control separation in an embodiment of the present disclosure;
fig. 4 is a flowchart illustrating a control method for controlling transmission of BFD information by control separation according to still another embodiment of the present disclosure;
fig. 5 is a flowchart illustrating a method for controlling transmission of BFD information by control separation in accordance with another embodiment of the present disclosure;
FIG. 6 illustrates a system architecture diagram of a network device with the addition of a second message transmission channel in an embodiment of the present disclosure;
Fig. 7 is a flowchart illustrating network device information transmission after adding a second message transmission channel in an embodiment of the present disclosure;
fig. 8 is a schematic diagram of a control device for controlling BFD information transmission by remote control separation in an embodiment of the present disclosure;
fig. 9 shows a block diagram of an electronic device in an embodiment of the disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
Fig. 1 illustrates a system architecture diagram of an exemplary network device that may be applied to a control method of transfer control separation BFD information transmission control or a control apparatus of transfer control separation BFD information transmission control in an embodiment of the present disclosure.
As shown in fig. 1, the network device may include a control plane device 101 and a forwarding plane device 102, and further, terminal devices are provided in the network, where the terminal devices may be switches, routers, PON (Passive Optical Network ) office end devices, PTN (Packet Transport Network ) devices, or other similar devices, and the switches may be an Access switch 103, an Uplink (Uplink) switch 104, and the like as in fig. 1.
Specifically, the control plane device 101 includes a main control board and a standby main control board, and communication is performed between the control plane device 101 and the terminal device through a TCP connection. When the main control board is actively switched or passively switched due to faults, the standby main control board is lifted to be the main control board to replace the original main control board, and the main control board and the terminal equipment are connected in a TCP mode, so that link conversion is realized.
A VxLAN GW (Virtual eXtensible Local Area Network Gateway, virtual extended lan gateway), RPC (Remote Procedure Call ), and the like may be provided in the control plane device 101.
A VxLAN GW, NIC (Network Interface Controller ) Agent (Agent), monitoring function (monitor), and the like may also be provided in the forwarding plane device 102.
The control plane device 101 performs information interaction with the forwarding plane device 102 through a first message transmission channel, where the first message transmission channel uses a floating point IP technology to perform communication. Specifically, the information transmission channel is configured to communicate using the first floating IP address and the second floating IP address. The floating point IP technology is to set a floating IP address when double machines are made, and one machine in the background can be accessed by accessing the floating IP address, and the floating IP address is determined by a certain rule.
The first message transmission channel comprises a configuration database, a platform control and a forwarding database, wherein the configuration database is used for storing configuration information issued by the control plane device 101, the platform control is used for monitoring the configuration update condition of the configuration database, and the forwarding database is used for storing BFD configuration information issued by the platform control.
Specifically, as shown in fig. 2, when the control plane device 101 generates link information or configuration information change, the control plane device 101 triggers operations such as creation, update and deletion of a BFD session, and sends configuration information to the configuration database to perform configuration update, when the platform control monitors the configuration update of the configuration database, the platform control triggers new configuration and checks whether the new configuration meets a forwarding condition, if the new configuration does not meet the forwarding condition, the platform control sends an error prompt, ignores the new configuration, and if the forwarding condition is met, the platform control assembles the new configuration and forwarding plane device 102 information and sends the new configuration and forwarding database; when monitoring the update of the BFD configuration information of the forwarding database, the forwarding plane device 102 acquires the BFD configuration information from the forwarding database, checks whether the acquired BFD configuration information meets the forwarding condition, and if so, updates the configuration information of the hardware device (such as a network card and a chip) by the acquired BFD configuration information, and the hardware device completes forwarding; if not, forwarding plane device 102 issues an error hint and ignores the new configuration.
In this process, when the equipment service is extremely busy, the first information transmission channel between the control plane device 101 and the forwarding plane device 102 is severely congested, and the BFD configuration information issued by the control plane device cannot be issued and updated in time, which may cause BFD session oscillation, thereby causing routing protocol oscillation and further affecting traffic forwarding. In order to solve the above problems, in the present application, a second message transmission channel is added between a control plane device and a forwarding plane device, and congestion conditions of a first message transmission channel are monitored in real time, and when congestion occurs in the first message transmission channel, the second message transmission channel is opened to ensure timeliness of BFD configuration information transmission issued by the control plane device.
The present exemplary embodiment will be described in detail below with reference to the accompanying drawings and examples.
Firstly, in the embodiment of the present disclosure, a control method for controlling transmission of BFD information by control separation is provided, and the method may be executed by any system having computing processing capability.
Fig. 3 shows a flowchart of a control method for controlling transmission of control separation BFD information in an embodiment of the present disclosure, as shown in fig. 3, where the control method for controlling transmission of control separation BFD information provided in the embodiment of the present disclosure includes the following steps:
S302, monitoring congestion of a first message transmission channel used for data transmission between a control plane device and a forwarding plane device in real time;
specifically, for the congestion situation of the first message transmission channel, the congestion situation of the first message transmission channel can be completed through a state monitor, the state monitor monitors the real-time occupancy rate of process resources of all modules in the first message transmission channel in real time, or when all modules in the first message transmission channel transmit BFD configuration information, the sending of response request messages and response reply messages is increased, so that the congestion situation of the first message transmission channel is monitored.
And S304, when the first message transmission channel is in a congestion state, controlling to start a second message transmission channel, and transmitting the bidirectional forwarding monitoring BFD configuration information issued by the control plane device to the forwarding plane device by the second message transmission channel.
Specifically, as shown in fig. 6, a second message transmission channel is set between the control plane device 101 and the forwarding plane device 102, where the second message transmission channel is a Unix Socket (Socket) channel, and a Socket is a set of programming interfaces (APIs) between a transmission layer and an application layer, and provides a unified programming interface for the application layer. The application layer does not need to know the details of TCP/IP protocol, and directly completes the transmission of data in the IP network through the call of Socket interface functions. Socket requires an address field and type to be specified at the time of creation, and communication is possible only when the addresses and types of both processes are the same. Two common address fields include a Unix field and an Internet field, the Unix field regards Socket as a file under a file system, and the Internet field is suitable for process communication in different hosts, and under the Internet field, the Socket needs to specify an address and a port number, so that BFD configuration information issued by a control plane device is transmitted to a forwarding plane device through a second message transmission channel.
In this embodiment, when it is monitored that the first transmission channel is in an idle state, timeliness of information transmission can be ensured through the first message transmission channel, and a second message transmission channel is not required to be opened; when the first message transmission channel is monitored to be in a congestion state, the timeliness of BFD configuration message transmission cannot be guaranteed through the first message transmission channel, and a second message transmission channel needs to be started.
Specifically, when the control plane device 101 generates link information or configuration information change, the control plane device 101 triggers operations such as creation, update, deletion, and the like of the BFD session, and sends configuration information to the configuration database 601 to perform configuration update, when the platform control 602 monitors the configuration update of the configuration database 601, the platform control 602 triggers new configuration, and the platform control 602 assembles new configuration and forwarding plane device 102 information and sends the new configuration and forwarding plane device 102 information to the forwarding database 603; upon listening for the BFD configuration information update of forwarding database 603, forwarding plane device 102 obtains the BFD configuration information from forwarding database 603 to complete transmission of the BFD configuration message.
When it is monitored that the first message transmission channel is in a congestion state, the control plane device 101 receives a prompt signal that the first message transmission channel is in a congestion state, and the control plane device 101 opens the second message transmission channel and transmits BFD configuration information that is transmitted subsequently to the forwarding plane device 102 through the second message transmission channel.
According to the control method for transferring and separating BFD information transmission, a second message transmission channel is opened between the control surface device and the forwarding surface device, congestion conditions of the first message transmission channel are monitored in real time, and then opening time of the second message transmission channel is determined, so that the technical problems of BFD session information issuing delay caused by extremely busy equipment service and message congestion are solved, timeliness of information interaction between the control surface device and the forwarding surface device is greatly improved, stable operation of service states is guaranteed, and stable migration of the service states in abnormal links is facilitated.
In one embodiment of the present disclosure, as shown in fig. 4, step S302 monitors congestion of a first message transmission channel for data transmission between a control plane device and a forwarding plane device in real time, including:
s402, monitoring real-time occupancy rate of module process resources in a first message transmission channel in real time;
s404, judging whether the real-time occupancy rate of the module process resources is greater than a preset occupancy rate threshold value within a first preset duration;
and S406, if the message is larger than the first message transmission channel, judging that the first message transmission channel is in a congestion state.
In the process that the control plane device transmits BFD configuration information to the forwarding plane device through the first message transmission channel, the state monitor monitors the real-time occupancy rate of the module process resources in the first message transmission channel in real time, for example, the state monitor can monitor the real-time occupancy rate of the process resources of the configuration database, the platform control and/or the forwarding database in real time. Taking the real-time occupancy rate of the process resources of the monitoring platform control as an example, if the state monitor monitors that the real-time occupancy rate of the process resources of the platform control is greater than the preset occupancy rate threshold value within the first preset duration, the state monitor sends out congestion alarm information to the control surface device, and when the control surface device receives the congestion alarm information, the second message transmission channel is started to continuously complete the transmission of BFD configuration information.
In this embodiment, the first preset duration is preset in the state monitor, where the first preset duration is 3s to 5s, specifically, the first preset duration may also be determined according to the actual situation, and the application is not specifically limited.
The preset occupancy rate threshold value is preconfigured in the domain state monitor, different modules can adopt the same occupancy rate threshold value or different occupancy rate threshold values, and optionally, the occupancy rate threshold values of the modules are all between 90% and 95%, the size of the occupancy rate threshold values can be determined according to actual conditions, and the application is not limited specifically.
Fig. 7 is a flowchart illustrating network equipment information transmission after adding a second message transmission channel in the embodiment of the present disclosure, as shown in fig. 7, while a control plane device sends BFD configuration information to a forwarding plane device through a first message transmission channel, a state monitor monitors resource occupancy rate of a platform control in the first message transmission channel in real time, in a period of time, if two virtual monitors that the resource occupancy rate of the platform control is greater than a preset occupancy rate threshold value, the first message transmission channel is determined to be in a congestion state, a state monitor sends congestion alarm information to the control plane device, after the control plane device receives the congestion alarm information, the control plane device controls to open the second message transmission channel, and sends BFD configuration information to the forwarding plane device through the second message transmission channel, and if the forwarding plane device does not meet the hardware forwarding condition, the forwarding plane device sends an error prompt and ignores the new configuration; and if the hardware forwarding condition is met, updating the hardware configuration information to complete BFD configuration information transmission from the control plane device to the forwarding plane device.
According to the transfer control separation BFD information transmission control method, the real-time occupancy rate of the process resources of the modules in the first message transmission channel is monitored in real time through the state monitor, when the real-time occupancy rate is larger than the preset occupancy rate threshold value, the first message transmission channel is in a congestion state, the timeliness of message transmission cannot be guaranteed by the BFD configuration information transmitted through the first message transmission channel, the state monitor sends congestion alarm information to the control surface device, so that the control surface device timely opens the second message transmission channel, the follow-up BFD configuration information is sent to the forwarding surface device from the second message transmission channel preferentially, the service is kept stable, and the user experience is improved.
In one embodiment of the present disclosure, after the control in step S304 opens the second message transmission channel, the method further includes:
and when the fact that the real-time occupancy rate of the module process resources is smaller than or equal to the preset occupancy rate threshold value within the first preset duration is monitored, idle prompt information is sent to the control surface device, so that the control surface device determines the opening time of the first message transmission channel according to the idle prompt information.
Specifically, after the second message transmission channel is opened, the state monitor monitors the real-time occupancy rate of the process resources of the module in the first message transmission channel in real time, if the monitored real-time occupancy rate of the process resources of the module is smaller than or equal to the preset occupancy rate threshold value within the first preset duration, the first message transmission channel is judged to be separated from the congestion state and is in the idle state, at this time, the state monitor sends idle prompt information to the control surface device, and the control surface device determines whether to restart the first message transmission channel according to the received idle prompt information. After receiving the idle prompt information, the control plane device can close or continuously open the second message transmission channel according to the actual situation.
In order to prevent frequent switching of the message transmission channel after the second message transmission channel is opened, in an embodiment, after controlling to open the second message transmission channel, the method further comprises:
and if no message transmission in the second message transmission channel is detected within the second preset time period, controlling to close the second message transmission channel.
Specifically, the second preset duration is preset in the control surface device, and the second preset duration can be determined according to actual conditions, which is not specifically limited in the application.
If the control plane device does not send out the BFD configuration message within the second preset time, the second message transmission channel is indicated to have no message transmission, and at this time, the second message transmission channel has completed the task that the BFD configuration message sent by the control plane device is forwarded to the forwarding plane device, and the second message transmission channel is closed.
According to the transfer control separation BFD information transmission control method provided by the embodiment of the disclosure, the information transmission condition in the second information transmission channel is monitored in real time, when the information transmission in the second information transmission channel is completed, the information transmission channel is switched to the first information transmission channel, frequent channel switching is not needed, efficient information transmission is realized, the accuracy of BFD configuration information processing by the control plane device and the forwarding plane device is ensured, the service is more stable, and the user experience is improved.
In one embodiment of the present disclosure, as shown in fig. 5, step S302 monitors congestion of a first message transmission channel for data transmission between a control plane device and a forwarding plane device in real time, including:
s502, a module issuing party in a first message transmission channel sends configuration messages, wherein the configuration messages comprise BFD configuration messages and response request messages;
s504, recording the time interval of the module sender sending the response request message and receiving the response reply message initiated by the module receiver;
s506, judging whether the time interval is larger than a preset time interval threshold value;
and S508, if the message is larger than the first message transmission channel, judging that the first message transmission channel is in a congestion state.
Specifically, in the process that the control plane device sends the BFD configuration message to the forwarding plane device through the first message transmission channel, a module issuing party in the first message transmission channel sends the configuration message, if the configuration database sends the configuration message to the platform control, the module issuing party is the configuration database, and the module receiving party is the platform control; when the platform control sends the configuration message to the forwarding database, the module issuing party is the platform control, and the module receiving party is the forwarding database.
The configuration message includes a BFD configuration message that needs to be forwarded, and also includes a reply request message for determining a time interval between the module sender and the module receiver transceiving messages.
For this message reply mechanism, the platform control is taken as a module issuing party as an example. In unit time, a certain number of BFD configuration messages are issued, and a response request message is issued along with the BFD configuration messages, and a timer is triggered to count. When the configuration database receives the response request message, the configuration database immediately initiates a response reply message to the platform control, and when the platform control receives the response reply message, the timer is closed to finish timing.
If the platform control does not receive the response reply information within the preset time interval threshold, the first message transmission channel is considered to be in a congestion state, and the platform control sends congestion alarm information to the control surface device, so that the second message transmission channel is triggered to be started.
According to the transfer control separation BFD information transmission control method, when BFD configuration information is transmitted through the first message transmission channel, the response request information is synchronously transmitted, the module lower side records the time interval of receiving and transmitting the response information, compares the time interval with the preset time interval threshold value, further determines whether the first message transmission channel is in a congestion state or not, controls the opening of the second message transmission channel, determines the congestion state of the first message transmission channel through adding the message response mechanism, does not need to add a state monitor, reduces cost, simultaneously greatly improves timeliness of information interaction between the control surface device and the forwarding surface device, ensures stable operation of the service state, and is beneficial to stable migration of the service state when a link is abnormal.
In one embodiment of the present disclosure, after the controlling opens the second message transmission channel, the method further comprises:
when the time interval of receiving the response reply initiated by the module receiving party by the module issuing party is smaller than a preset time interval threshold, idle prompt information is sent to the control surface device, so that the control surface device determines the opening time of the first message transmission channel according to the idle prompt information.
After the second message transmission channel is opened, the platform control should continuously send (e.g. at intervals of 1 s) response request information, when the platform control can continuously receive the response reply information sent by the configuration database within a period of time, the platform control indicates that the first message transmission channel is out of a congestion state and is in an idle state, the platform control sends the idle prompt information to the control plane device, and the control plane can determine whether to close the second message transmission channel and open the first message transmission channel according to actual conditions.
In one embodiment of the present disclosure, after the control in step S304 opens the second message transmission channel, the method further includes:
and if no message transmission in the second message transmission channel is detected within the second preset time period, controlling to close the second message transmission channel.
According to the transfer control separation BFD information transmission control method provided by the embodiment of the disclosure, the information transmission condition in the second information transmission channel is monitored in real time, when the information transmission in the second information transmission channel is completed, the information transmission channel is switched to the first information transmission channel, frequent channel switching is not needed, efficient information transmission is realized, the accuracy of BFD configuration information processing by the control plane device and the transfer plane device is ensured, the service is more stable, and the user experience is improved.
Based on the same inventive concept, the embodiment of the disclosure also provides a control device for controlling transmission of control separation BFD information, as described in the following embodiments. Since the principle of solving the problem of the embodiment of the device is similar to that of the embodiment of the method, the implementation of the embodiment of the device can be referred to the implementation of the embodiment of the method, and the repetition is omitted.
Fig. 8 is a schematic diagram of a control device for controlling transmission of BFD information with separation of control in an embodiment of the present disclosure, as shown in fig. 8, where the device includes a monitoring module 801 and a control module 802, where:
a monitoring module 801, configured to monitor, in real time, congestion conditions of a first message transmission channel used for data transmission between a control plane device and a forwarding plane device;
And the control module 802 is configured to control to open a second message transmission channel when it is monitored that the first message transmission channel is in a congestion state, where the second message transmission channel transmits bidirectional forwarding monitoring BFD configuration information issued by the control plane device to the forwarding plane device.
In one embodiment of the present disclosure, the apparatus further comprises a determination module,
the monitoring module 801 is configured to monitor, in real time, a real-time occupancy rate of a module process resource in the first message transmission channel;
the judging module is used for judging whether the real-time occupancy rate of the module process resources is larger than a preset occupancy rate threshold value within a first preset duration;
and a control module 802, configured to determine that the first message transmission channel is in a congestion state if the real-time occupancy rate of the process resources of the module is greater than a preset occupancy rate threshold.
In one embodiment of the present disclosure, the monitoring module 801 is further configured to, after the control opens the second message transmission channel, send idle prompt information to the control plane device when it is monitored that the real-time occupancy rate of the module process resources is less than or equal to a preset occupancy rate threshold value within a first preset duration, so that the control plane device determines an opening opportunity of the first message transmission channel according to the idle prompt information.
In one embodiment of the present disclosure, the control module 802 is further configured to, after the control opens the second message transmission channel, control to close the second message transmission channel when the monitoring module 801 detects that there is no message transmission in the second message transmission channel within a second preset duration.
In one embodiment of the present disclosure, the apparatus further comprises a configuration module, a timing module, and a determination module, which are not shown in the drawings, wherein,
the configuration module is used for sending a configuration message by a module issuing party in the first message transmission channel, wherein the configuration message comprises a BFD configuration message and a response request message;
the timing module is used for recording the time interval between the sending of the response request message by the module sender and the receiving of the response reply message initiated by the module receiver;
the judging module is used for judging whether the time interval is larger than a preset time interval threshold value or not;
the control module 802 is configured to determine that the first message transmission channel is in a congestion state if the time interval is greater than a preset time interval threshold.
In one embodiment of the present disclosure, the monitoring module 801 is configured to send idle prompt information to the control plane device when a time interval during which the module sender receives the reply initiated by the module receiver after the second message transmission channel is opened by the control is less than a preset time interval threshold, so that the control plane device determines an opening opportunity of the first message transmission channel according to the idle prompt information.
In one embodiment of the present disclosure, the control module 802 is further configured to, after the control opens the second message transmission channel, control to close the second message transmission channel when the monitoring module 801 detects that there is no message transmission in the second message transmission channel within a second preset duration.
Those skilled in the art will appreciate that the various aspects of the invention may be implemented as a system, method, or program product. Accordingly, aspects of the invention may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
According to the control method and device for transferring and separating BFD information transmission, the second message transmission channel is opened between the control surface device and the forwarding surface device, congestion conditions of the first message transmission channel are monitored in real time, and then the opening time of the second message transmission channel is determined, so that the technical problems of BFD session information issuing delay caused by extremely busy equipment service and message congestion are solved, timeliness of information interaction between the control surface device and the forwarding surface device is greatly improved, stable operation of service states is guaranteed, and stable migration of the service states in abnormal links is facilitated.
An electronic device 900 according to such an embodiment of the invention is described below with reference to fig. 9. The electronic device 900 shown in fig. 9 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 9, the electronic device 900 is embodied in the form of a general purpose computing device. Components of electronic device 900 may include, but are not limited to: the at least one processing unit 910, the at least one storage unit 920, and a bus 930 connecting the different system components (including the storage unit 920 and the processing unit 910).
Wherein the storage unit stores program code that is executable by the processing unit 910 such that the processing unit 910 performs steps according to various exemplary embodiments of the present invention described in the above-described "exemplary methods" section of the present specification. For example, the processing unit 910 may perform real-time monitoring of congestion of the first message transmission channel for data transmission between the control plane device and the forwarding plane device as shown in fig. 3; and when the first message transmission channel is monitored to be in a congestion state, controlling to open a second message transmission channel so as to complete data transmission between the control plane device and the forwarding plane device.
The storage unit 920 may include readable media in the form of volatile storage units, such as Random Access Memory (RAM) 9201 and/or cache memory 9202, and may further include Read Only Memory (ROM) 9203.
The storage unit 920 may also include a program/utility 9204 having a set (at least one) of program modules 9205, such program modules 9205 include, but are not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
The bus 930 may be one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 900 may also communicate with one or more external devices 940 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the system 900, and/or any devices (e.g., routers, modems, etc.) that enable the electronic device 900 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 950. Also, system 900 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through a network adapter 960. As shown, the network adapter 960 communicates with other modules of the electronic device 900 over the bus 930. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 900, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, including several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, a computer-readable storage medium having stored thereon a program product capable of implementing the method described above in the present specification is also provided. In some possible embodiments, the various aspects of the invention may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the invention as described in the "exemplary methods" section of this specification, when said program product is run on the terminal device.
A program product for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read-only memory (CD-ROM) and comprise program code and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
Furthermore, although the steps of the methods in the present disclosure are depicted in a particular order in the drawings, this does not require or imply that the steps must be performed in that particular order or that all illustrated steps be performed in order to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform, etc.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, including several instructions to cause a computing device (may be a personal computer, a server, a mobile terminal, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. The transfer control separation BFD information transmission control method is characterized by comprising the following steps:
monitoring congestion of a first message transmission channel used for data transmission between a control plane device and a forwarding plane device in real time;
and when the first message transmission channel is monitored to be in a congestion state, controlling to open a second message transmission channel, wherein the second message transmission channel transmits the bidirectional forwarding monitoring BFD configuration information issued by the control plane device to the forwarding plane device.
2. The method for controlling transmission of control-separated BFD information according to claim 1, wherein the real-time monitoring of congestion of the first message transmission channel for data transmission between the control plane device and the forwarding plane device includes:
Monitoring the real-time occupancy rate of module process resources in the first message transmission channel in real time;
judging whether the real-time occupancy rate of the module process resources is larger than a preset occupancy rate threshold value within a first preset duration;
and if the first message transmission channel is in the congestion state, judging that the first message transmission channel is in the congestion state.
3. The method for controlling transmission of control-separated BFD information according to claim 2, wherein after the control opens the second message transmission channel, the method further comprises:
and when the real-time occupancy rate of the module process resources is monitored to be smaller than or equal to a preset occupancy rate threshold value within a first preset duration, sending idle prompt information to the control surface device so that the control surface device determines the opening time of the first message transmission channel according to the idle prompt information.
4. The method for controlling transmission of control-separated BFD information according to claim 1, wherein the real-time monitoring of congestion of the first message transmission channel for data transmission between the control plane device and the forwarding plane device includes:
a module issuing party in a first message transmission channel sends configuration messages, wherein the configuration messages comprise BFD configuration messages and response request messages;
Recording the time interval between the sending of the response request message by the module sender and the receiving of the response reply message initiated by the module receiver;
judging whether the time interval is larger than a preset time interval threshold value or not;
and if the first message transmission channel is in the congestion state, judging that the first message transmission channel is in the congestion state.
5. The method for controlling transmission of control-separated BFD information according to claim 4, further comprising, after the control opens the second message transmission channel:
when the time interval between the sending of the response request message by the module sender and the receiving of the response reply message initiated by the module receiver is smaller than a preset time interval threshold, idle prompt information is sent to the control surface device, so that the control surface device determines the opening time of the first message transmission channel according to the idle prompt information.
6. The method for controlling transmission of control-separated BFD information according to any one of claims 1-5, wherein after the control opens the second message transmission channel, the method further includes:
and if no message transmission in the second message transmission channel is detected within the second preset time period, controlling to close the second message transmission channel.
7. The method for controlling transmission of control-separated BFD information according to claim 6, wherein the second message transmission channel is a Unix Socket channel.
8. A transfer control separation BFD information transmission control apparatus, comprising:
the monitoring module is used for monitoring the congestion condition of a first message transmission channel used for data transmission between the control surface device and the forwarding surface device in real time;
and the control module is used for controlling to open a second message transmission channel when the first message transmission channel is monitored to be in a congestion state, and the second message transmission channel transmits the bidirectional forwarding monitoring BFD configuration information issued by the control plane device to the forwarding plane device.
9. An electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the transfer control separation BFD information transfer control method of any of claims 1-7 via execution of the executable instructions.
10. A computer readable storage medium having stored thereon a computer program, which when executed by a processor implements a method of controlling transfer of control separated BFD information according to any of claims 1-7.
CN202111583239.2A 2021-12-22 2021-12-22 Control method, device, equipment and medium for transferring and separating BFD information transmission Pending CN116346256A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111583239.2A CN116346256A (en) 2021-12-22 2021-12-22 Control method, device, equipment and medium for transferring and separating BFD information transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111583239.2A CN116346256A (en) 2021-12-22 2021-12-22 Control method, device, equipment and medium for transferring and separating BFD information transmission

Publications (1)

Publication Number Publication Date
CN116346256A true CN116346256A (en) 2023-06-27

Family

ID=86879243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111583239.2A Pending CN116346256A (en) 2021-12-22 2021-12-22 Control method, device, equipment and medium for transferring and separating BFD information transmission

Country Status (1)

Country Link
CN (1) CN116346256A (en)

Similar Documents

Publication Publication Date Title
US11003516B2 (en) Geographical redundancy and dynamic scaling for virtual network functions
CN111277630B (en) Routing control method and device, electronic equipment and storage medium
CN101465859B (en) Method and device for triggering main and standby interface board inverse switch
CN109088820B (en) Cross-device link aggregation method and device, computing device and storage medium
WO2021057526A1 (en) Disaster recovery method for gateway device, and communication device
CN110177010B (en) Link switching method and device
CN111988222A (en) Data transmission method and device, electronic equipment and computer readable storage medium
CN113315665B (en) Message sending method, device, equipment and medium of dual-network-card terminal equipment
WO2019011142A1 (en) Network link switching method and system
CN114465948B (en) Main and standby disaster recovery method, device, equipment and medium
WO2017076278A1 (en) Method and device for flexibly processing link between network elements
CN115379010A (en) Container network construction method, device, equipment and storage medium
CN113794618B (en) Redundant network communication method and device based on virtual network card and terminal equipment
CN112153753B (en) Network connection method and device
CN116346256A (en) Control method, device, equipment and medium for transferring and separating BFD information transmission
CN113726648B (en) Multipath communication method, device, electronic equipment and computer readable medium
US20150156164A1 (en) Communication system, communication control method, communication relay system, and communication relay control method
CN114070784A (en) Message processing method and device, electronic equipment and storage medium
CN114666846A (en) Communication method and gateway equipment
CN109039680B (en) Method and system for switching main Broadband Network Gateway (BNG) and standby BNG and BNG
CN112217718A (en) Service processing method, device, equipment and storage medium
CN111884863A (en) VPC service chain implementation method and system for cloud computing environment
CN109450794A (en) A kind of communication means and equipment based on SDN network
CN114727324B (en) Network disaster recovery processing method and device, storage medium and electronic equipment
CN115225634B (en) Data forwarding method, device and computer program product under virtual network

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