CN109245926A - Intelligent network adapter, intelligent network adapter system and control method - Google Patents
Intelligent network adapter, intelligent network adapter system and control method Download PDFInfo
- Publication number
- CN109245926A CN109245926A CN201810988015.1A CN201810988015A CN109245926A CN 109245926 A CN109245926 A CN 109245926A CN 201810988015 A CN201810988015 A CN 201810988015A CN 109245926 A CN109245926 A CN 109245926A
- Authority
- CN
- China
- Prior art keywords
- plane
- control plane
- forwarding
- current
- main control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0668—Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0659—Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
- H04L41/0661—Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities by reconfiguring faulty entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0817—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/14—Arrangements for monitoring or testing data switching networks using software, i.e. software packages
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Security & Cryptography (AREA)
- Hardware Redundancy (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
This application provides intelligent network adapter, intelligent network adapter system and control method, which includes interface module, programmable integrated circuit module and primary processor, and primary processor is the processor in the network equipment using the intelligent network adapter;Interface module is connected with programmable integrated circuit module, moreover, interface module, programmable integrated circuit are connected with primary processor;In this way, the processor unit in primary processor and programmable integrated circuit module can be used as the control plane of intelligent network adapter;Interface module, programmable integrated circuit and primary processor can be used as the Forwarding plane of intelligent network adapter.With it is traditional only rely on the scheme of host CPU compared with, intelligent network adapter system tool is there are two control plane and three Forwarding plane, when a control plane or Forwarding plane occur abnormal, can enable and other control planes or Forwarding plane;Improve the reliability of intelligent network adapter.
Description
Technical field
This application involves technical field of the computer network, more particularly to intelligent network adapter, intelligent network adapter system and
Control method.
Background technique
Intelligent network adapter (Intelligent Network Interface Card, iNIC) is a kind of
The high performance network access card of core.It uses Multi-core network processor architectures, be mainly used for realize virtual switch,
The characteristics such as security isolation, service quality (Quality of Service, QoS) are applied to system for cloud computing and virtualize solution party
In case.
With continuing to increase for cloud data center type of service and data volume, traditional realizes that network is set by Host CPU
The interior network plan of standby (for example, server), network stabilization is poor and network energy efficiency is than low.
Summary of the invention
In view of this, control plane switching method, the Forwarding plane switching method this application provides intelligent network adapter had both filled
It sets, the technical problem that the stability to solve network in the network equipment is poor, Energy Efficiency Ratio is low.This application provides following technical sides
Case:
In a first aspect, being applied in the network equipment, the system comprises nets this application provides a kind of intelligent network adapter system
Primary processor in card module, programmable integrated circuit module and the network equipment, wherein the programmable integrated circuit module
It has been internally integrated processor unit;
The interface module is connect with the programmable integrated circuit module by communication bus;
The interface module and the programmable integrated circuit module are connected with the primary processor;
Establishing between the processor unit and the primary processor has synchronizing information channel;
Wherein, the primary processor is the first control plane, the second control plane that the processor unit is;The net
Card module is the first Forwarding plane, the programmable integrated circuit module is the second Forwarding plane, the primary processor is third
Forwarding plane.
Optionally, the priority of the first control plane is higher than the priority of the second control plane;
The priority of first Forwarding plane is higher than the priority of second Forwarding plane, and second forwarding is flat
The priority in face is higher than the priority of third Forwarding plane.
Optionally, current main control plane is the first control plane, current standby control plane is second control
Plane, alternatively, current main control plane is the second control plane, current standby control plane is the first control plane;
The current main control plane and the current standby control plane are used to:
The current main control plane and the current standby control plane are detected with the presence or absence of abnormal;
When detecting that the current standby control plane deposits when abnormal, the current standby control plane restarting is controlled;
When detecting that the current main control plane deposits when abnormal, controls currently standby control plane and is switched to new master control
Plane processed, current main control plane are switched to new standby control plane, and the control current main control plane restarting.
Optionally, the current main control plane and the current standby control plane are also used to:
It is when detecting that the current standby control plane is eliminated extremely, the control information of the current main control plane is same
It walks to the current standby control plane;
It is when detecting that the current main control plane is eliminated extremely, the control information of the new main control plane is same
It walks to the current main control plane.
Optionally, current main control plane, for when detecting that current Forwarding plane occurs abnormal, according to priority by
Forward rule is migrated to before deserving next priority of Forwarding plane by the current Forwarding plane by high to Low sequence
Forwarding plane;
Wherein the current main control plane is the first control plane or the second control plane.
Optionally, the current main control plane, for when detecting that software fault occurs in first Forwarding plane,
Forward rule is migrated by first Forwarding plane to second Forwarding plane, and controls first Forwarding plane again
Activation system;After detecting the first forwarding plane software Failure elimination, the forward rule is forwarded by described second
Plane migrates back first Forwarding plane;
The current main control plane will be described for when detecting that software fault occurs in second Forwarding plane
Forward rule is migrated by second Forwarding plane to the third Forwarding plane, and upper layer application is notified to be handled;
The current main control plane, for when monitoring that software fault occurs in the third Forwarding plane, in notice
Layer application is handled.
Optionally, the current main control plane, for when the resource for detecting first Forwarding plane is inadequate,
The forward rule is migrated by first Forwarding plane to second Forwarding plane, and is detecting first forwarding
When the resource of plane becomes abundance, the forward rule is migrated into back first Forwarding plane by second Forwarding plane;
The current main control plane will be described for when the resource for detecting second Forwarding plane is inadequate
Forward rule is migrated by second Forwarding plane to the third Forwarding plane, and is detecting second Forwarding plane
When resource becomes abundance, the forward rule is migrated into back second Forwarding plane by the third Forwarding plane.
Second aspect, present invention also provides a kind of intelligent network adapters, are applied in the network equipment, the intelligent network adapter includes
Interface module, programmable integrated circuit module, wherein be integrated with processor unit in the programmable integrated circuit module;
The interface module is connect with the programmable integrated circuit module by communication bus;
The interface module and the processor unit of the programmable integrated circuit module are and in the network equipment
Primary processor is connected;
Establishing between the processor unit and the primary processor has synchronizing information channel;
Wherein, the primary processor is the first control plane, and the processor unit is the second control plane;The network interface card
Module is the first Forwarding plane, the programmable integrated circuit module is the second Forwarding plane, the primary processor is that third turns
Send out plane.
The third aspect, present invention also provides a kind of network equipments, including any one possible realization side of first aspect
Intelligent network adapter system described in formula.
Fourth aspect, present invention also provides a kind of control plane switching methods of intelligent network adapter, are applied to first aspect
In the primary processor or processor unit of intelligent network adapter system described in any one possible implementation, the method packet
It includes:
Current main control plane and current standby control plane are detected with the presence or absence of abnormal;
When detecting that the current standby control plane deposits when abnormal, the current standby control plane restarting is controlled;
When detecting that current main control plane deposits when abnormal, controlling currently standby control plane, to be switched to new main control flat
Face, current main control plane are switched to new standby control plane, and the current main control plane restarting of control.
Optionally, the method also includes: when detecting that the current standby control plane is eliminated extremely, will it is described currently
The control synchronizing information of plane is controlled to the current standby control plane;
It is when detecting that the current main control plane is eliminated extremely, the control information of the new main control plane is same
It walks to the current main control plane.
5th aspect, present invention also provides a kind of Forwarding plane switching methods of intelligent network adapter, are applied to first aspect
In intelligent network adapter system described in any one possible implementation, which comprises
It, will according to the sequence of priority from high to low when main control plane monitoring-network to current Forwarding plane occurs abnormal
Forward rule is migrated the target Forwarding plane of next priority of Forwarding plane to before deserving by the current Forwarding plane;
After detecting that abnormal Forwarding plane restores normal, the forward rule is migrated by the target Forwarding plane
Return the current Forwarding plane.
Intelligent network adapter system provided by the present application, the system include interface module, programmable integrated circuit module and main place
Manage device, wherein interface module and programmable integrated circuit module composition intelligent network adapter, primary processor is using the intelligent network adapter
Processor in the network equipment;Interface module is connected with programmable integrated circuit module, moreover, interface module, programmable collection
It is connected with primary processor at circuit;In this way, the processor unit in primary processor and programmable integrated circuit module
Using the control plane as intelligent network adapter;Interface module, programmable integrated circuit and primary processor can be used as intelligent network adapter
Forwarding plane.With it is traditional only rely on the scheme of host CPU compared with, there are two control plane and three for intelligent network adapter system tool
A Forwarding plane can enable other control planes or forwarding when a control plane or abnormal Forwarding plane appearance
Plane;Improve the reliability of intelligent network adapter;Furthermore, it is possible to which the relatively high forwarding of selection network energy efficiency is flat according to actual needs
Face, therefore improve the network energy efficiency ratio of intelligent network adapter.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 shows a kind of functional block diagram of intelligent network adapter system provided by the embodiments of the present application;
Fig. 2 shows a kind of flow charts for controlling plane switching method provided by the embodiments of the present application;
Fig. 3 shows a kind of Forwarding plane switching method flow chart provided by the embodiments of the present application;
Fig. 4 shows another Forwarding plane switching method flow chart provided by the embodiments of the present application;
Fig. 5 shows a kind of block diagram of control plane switching device provided by the embodiments of the present application;
Fig. 6 shows a kind of block diagram of Forwarding plane switching device of the embodiment of the present application.
Specific embodiment
Before embodiment provided by the present application is discussed in detail, lower control plane and Forwarding plane are first introduced:
It is preceding necessary each to provide data processing forwarding for the part that control plane refers to send instructions in system, calculates list item
The kind network information and forwarding inquiries list item;
Forwarding plane refers to the part for being used to carry out encapsulation, the forwarding of data message in system.The reception of such as data message,
Decapsulation, encapsulation, forwarding etc. belong to the scope of Forwarding plane.
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
Referring to Figure 1, a kind of functional block diagram of intelligent network adapter system provided by the embodiments of the present application, the system packet are shown
Include interface module 1, programmable integrated circuit module 2 and primary processor 3;
Wherein, interface module 1 and programmable integrated circuit module 2 constitute intelligent network adapter, and the intelligent network adapter is commonly used
In in the network equipments such as server.Primary processor 3 is the processor in the network equipment.
In one embodiment of the application, interface module 1 can using network interface card (Network Interface Card,
NIC) chip, NIC chip belong to specific integrated circuit (Application Specific Integrated Circuit,
ASIC) chip is a kind of specific integrated circuit for aiming at and realizing that network interface card function is design.
Programmable integrated circuit module 2 can use field programmable gate array (Field Programmable Gate
Array, FPGA) chip, moreover, it is embedded with processor unit.
Primary processor 3 is the Host CPU in the network equipment, wherein the network equipment can be server, and the service
Device can be a server apparatus, or the server cluster being made of multiple server apparatus.
Interface module 1 is connected with programmable integrated circuit module 2 by communication bus, and programmable integrated circuit module
Network interface is provided on 2, for connecting external network.
Interface module 1 connects primary processor 3 by communication bus with programmable integrated circuit module 2, moreover, programmable
Establishing between integrated circuit modules 2 and primary processor 3 has synchronizing information channel, for carrying out control synchronizing information.
For example, can be connected by industry ethernet between NIC chip and fpga chip;NIC chip and fpga chip are equal
Pass through the Host CPU of PCIE bus and server.
Illustrate the initialization process of the intelligent network adapter by taking NIC chip, fpga chip and Host CPU as an example below:
When initialization, the embedded CPU of Host CPU and fpga chip is each configured to the control plane of intelligent network adapter;And
And it is main control plane that user can configure wherein any one control plane according to oneself demand, another control plane is standby
Control plane;For example, can configure Host CPU is main control plane, FPGA embedded CPU is standby control plane;Alternatively, matching
Setting the embedded CPU of FPGA is main control plane, and Host CPU is standby control plane.
The synchronizing information channel between the embedded CPU of Host CPU and FPGA is established, synchronically controlling information is used for.
NIC chip, FPGA and Host CPU are each configured to Forwarding plane, NIC chip is the first Forwarding plane, FPGA is
Second Forwarding plane, Host CPU are third Forwarding plane;
In addition, NIC chip has the advantages that the processing message band of asic chip is roomy, time delay is low, but the disadvantage is that processing report
Literary complexity is low, and resource is limited;For FPGA compared with NIC chip, processing message bandwidth is slightly lower, time delay is slightly higher, but can handle more
For complicated message, resource is also than NIC abundance;Host CPU compared with NIC and FPGA, message bandwidth is minimum for processing, time delay most
Greatly, but advantage is can handle complicated message, and resource most repeats.
User can configure the priority of these three Forwarding plane according to actual needs, for example, if user is to delay requirement
Relatively high, then priority from high to low successively can be with are as follows: the first Forwarding plane, the second Forwarding plane, third Forwarding plane.
After the completion of initial configuration process, two control planes can monitor itself and whether another control plane deposits
In exception, if any one control plane in the presence of exception, can be enabled, there is no abnormal control planes to continue to complete control
Process;Moreover, main control plane monitors currently used Forwarding plane with the presence or absence of exception, if currently used Forwarding plane is deposited
In exception, then the priority orders of Forwarding plane are pressed, forward rule is migrated by current Forwarding plane to current Forwarding plane
The first Forwarding plane of a priority, to guarantee that data normally can be forwarded and be handled.
Intelligent network adapter system provided in this embodiment, with it is traditional only rely on the scheme of host CPU compared with, the intelligent network adapter
There are two control plane and three Forwarding plane for system tool, when any one control plane or abnormal Forwarding plane appearance,
Other control planes or Forwarding plane can be enabled;Improve the reliability of intelligent network adapter;Furthermore, it is possible to according to actual needs
The Forwarding plane for selecting network energy efficiency relatively high, therefore improve the network energy efficiency ratio of intelligent network adapter.
Fig. 2 is referred to, a kind of flow chart for controlling plane switching method of the embodiment of the present application is shown, this method is applied to
In first control plane and the second control plane, in the present embodiment, two control planes can monitor itself and another control is flat
Whether face is abnormal, when detecting that any one control plane deposits when abnormal, will switch another control Planar realization control function.
As shown in Fig. 2, this method may comprise steps of:
S110 detects current main control plane and current standby control plane with the presence or absence of abnormal;If detecting current standby control
There is exception in plane processed, then execute S120;If it is abnormal to detect that current main control plane exists, S140 is executed.
Main control plane and standby control plane have been configured in system initialization, and user can be according to oneself reality
Demand configures active and standby control plane.Current main control plane refers to main control plane when executing current detection movement, current standby
Control plane refers to standby control plane when executing current detection movement.
In one embodiment of the application, main control plane is Host CPU, and standby control plane is the embedded of FPGA
CPU, then the built-in with CPU of Host CPU and FPGA can monitor itself and whether other side is abnormal.
Abnormal conditions existing for control plane include the software fault and inadequate resource that CPU is likely to occur, it may for example comprise dead
Inadequate resources such as machine, process exception, program deadlock, CPU or memory etc..
S120 controls currently standby control plane restarting.
It is currently deposited when abnormal for control plane when detecting, controls the current standby plane that controls and restart.
If there is abnormal, the standby control plane restarting of notice, to eliminate to standby control plane in main control plane monitoring-network
It is abnormal.
If standby control plane monitoring-network has exception to itself, reset automatically to eliminate exception.
S130 will control synchronizing information to current by current main control plane if current standby control plane is eliminated extremely
Standby control plane.
If the current standby control plane is eliminated by the way that restarting is abnormal, by the control information of current main control plane
The current standby control plane is given by synchronizing information Channel Synchronous, by current standby when occurring abnormal so as to the current main control plane
Control Planar realization control process.
S140 controls current main control plane restarting, and it is flat to control the main control that currently standby control plane becomes new
Face.
If it is abnormal to detect that current main control plane exists, it is flat that control is currently switched to new main control for control plane
Face, and, current main control plane is switched to new standby control plane, and, control the current main control plane again
Starting.
In embodiments herein, controlling current main control plane restarting and control, currently standby control plane becomes
The two movements of new main control plane can execute parallel, can also successively execute, restart for example, can first control, then cut
Change owner controls plane;Alternatively, can also first switch main control plane, then controls and restart.
In one embodiment of the application, current main control plane is Host CPU, currently standby control plane is FPGA
Built-in with CPU;
If Host CPU detects that itself has exception, the built-in with CPU of FPGA becomes main control plane, meanwhile, Host
CPU is restarted to eliminate exception.
If the built-in with CPU of FPGA detects that Host CPU has exception, the built-in with CPU for controlling FPGA, which becomes main control, is put down
Face, and notify Host CPU that restarting is to eliminate exception.
S150 will control synchronizing information to described by new main control plane if current main control plane eliminates exception
Current control plane.
Still by current main control plane be Host CPU, current standby control plane be FPGA built-in with CPU for said
It is bright, after Host CPU eliminates exception, then give the control synchronizing information in the built-in with CPU of FPGA to Host CPU.
Control plane switching method provided in this embodiment, two control planes can monitor itself and another control is flat
Standby control plane is become main control plane, and there are different for control if it is abnormal to monitor that main control plane exists by the exception in face
Normal control plane is restarted.If it is abnormal to detect that standby control plane exists, standby control plane is restarted and by main control plane
Synchronizing information is controlled to standby control plane, so that standby control plane can enter major state at any time.This method passes through two controls
Planar realization Redundant Control processed, improves the reliability of intelligent network adapter.
Fig. 3 is referred to, a kind of Forwarding plane switching method flow chart provided by the embodiments of the present application is shown, this method is answered
For main control plane shown in FIG. 1.Main control plane monitors three Forwarding plane with the presence or absence of exception, and forward rule is moved
It moves on to and abnormal Forwarding plane is not present.
In the present embodiment, using NIC chip be the first Forwarding plane, FPGA be the second Forwarding plane, HostCPU as third turn
Plane is sent out moreover, the priority of NIC chip is higher than FPGA, the priority of FPGA is said for being higher than the priority of Host CPU
It is bright.
As shown in figure 3, this method may comprise steps of:
S210, when main control plane monitoring-network to current Forwarding plane occurs abnormal, according to priority from high to low suitable
Forward rule is forwarded by the target that Forwarding plane before deserving migrates next priority of Forwarding plane to before deserving and is put down by sequence
Face.
When current Forwarding plane refers to that main control plane executes detection Forwarding plane with the presence or absence of abnormal step, according to forwarding
Rule executes the Forwarding plane of forwarding data.
S220 is migrated the forward rule by target Forwarding plane after detecting that current Forwarding plane restores normal
It returns and deserves preceding Forwarding plane.
After main control plane monitoring-network restores normal to the current Forwarding plane, by forward rule by target Forwarding plane
It migrates back and deserves preceding Forwarding plane.
Fig. 4 is referred to, a kind of flow chart of Forwarding plane switching method provided by the embodiments of the present application, this implementation are shown
Example will be described in detail the switching control process between each Forwarding plane;This method can be applied to primary processor shown in FIG. 1
Or in processor unit.
As shown in figure 4, this method may comprise steps of:
S310 judges the exception of the first Forwarding plane if main control plane monitoring-network has exception to the first Forwarding plane
Type;
If Exception Type is software fault, S320 is executed;If Exception Type is inadequate resource, S340 is executed;
In one embodiment of the application, it is different that Forwarding plane software fault that may be present may include crash, process
Often, program deadlock etc.;The case where inadequate resource, may include the situation of memory, cpu resource deficiency.
Main control plane in the present embodiment can be the first control plane or the second control plane.
Forward rule is migrated by the first Forwarding plane to the second Forwarding plane, and controls the first Forwarding plane weight by S320
New starting;
S330 is migrated the forward rule by the second Forwarding plane after detecting that the first fault of forwarding plane is eliminated
Return the first Forwarding plane.
S340 is migrated forward rule to the second Forwarding plane by the first Forwarding plane;
S350 is moved the forward rule by the second Forwarding plane when detecting the resource abundance of the first Forwarding plane
It is moved back to the first Forwarding plane.
S360 judges the exception of the second Forwarding plane if main control plane monitoring-network has exception to the second Forwarding plane
Type;
If software fault, then S370 is executed;If inadequate resource, then S380 is executed;
Forward rule is migrated by the second Forwarding plane to third Forwarding plane, and notified at upper layer application by S370
Reason;
S380 is migrated forward rule to third Forwarding plane by the second Forwarding plane, and is detecting that the second forwarding is flat
When the resource in face becomes abundance, forward rule is migrated into back the second Forwarding plane by third Forwarding plane.
S390 is notified at upper layer application if main control plane monitoring-network software fault occurs to third Forwarding plane
Reason.
Forwarding plane switching method provided in this embodiment, main control plane monitor the abnormal conditions of three Forwarding plane,
When monitoring that currently used Forwarding plane deposits when abnormal, forward rule is migrated from current Forwarding plane to deserving preceding forwarding
The Forwarding plane of next priority of plane, to guarantee that forwarded is normally carried out, this improves intelligent network adapter systems
Reliability.
On the other hand, present invention also provides control plane switching device embodiments.
Fig. 5 is referred to, a kind of block diagram of control plane switching device provided by the embodiments of the present application is shown, the present embodiment is answered
For in primary processor or the embedded processor unit of programmable integrated circuit module 2.
As shown in figure 5, the apparatus may include: first detection unit 110, first restart unit 120, the first synchronization unit
130, second restarts unit 140, the first switch unit 150, the second synchronization unit 160;
First detection unit 110, for detecting main control plane and standby control plane with the presence or absence of abnormal.
If it is abnormal to detect that standby control plane exists, S120 is executed;If it is abnormal to detect that main control plane exists, hold
Row S140.
First restarts unit 120, detects that standby control plane is deposited when abnormal for working as, controls the standby plane that controls and open again
It is dynamic.
First synchronization unit 130, for synchronizing information will to be controlled by main control plane when standby control plane is eliminated extremely
To standby control plane.
Second restarts unit 140, for controlling the restarting of main control plane.
First switch unit 150, for current standby control plane to be switched to new main control plane.
Second synchronization unit 160, for when there is abnormal control plane and eliminate abnormal, by there is no abnormal controls
Plane will control synchronizing information to the control plane eliminated extremely.
Control plane switching device provided in this embodiment, two control planes can monitor itself and another control is flat
Standby control plane is become main control plane, and there are different for control if it is abnormal to monitor that main control plane exists by the exception in face
Normal control plane is restarted.If it is abnormal to detect that standby control plane exists, standby control plane is restarted and by main control plane
Synchronizing information is controlled to standby control plane, so that standby control plane can enter major state at any time.The device passes through two controls
Planar realization Redundant Control processed, improves the reliability of intelligent network adapter.
Fig. 6 is referred to, a kind of block diagram of Forwarding plane switching device of the embodiment of the present application is shown, as shown in fig. 6, the dress
It sets applied in primary processor shown in FIG. 1 or the embedded processor unit of programmable integrated circuit module 2.
As shown in fig. 6, the apparatus may include:
Second detection unit 210 detects the different of the first Forwarding plane for detecting that the first Forwarding plane is deposited when abnormal
Normal type;
The Exception Type includes software fault and inadequate resource.
First migration units 220, for when the first Forwarding plane is there are when software fault, by forward rule by the first forwarding
Plane moves to the second Forwarding plane;
Third restarts unit 230, for controlling the restarting of the first Forwarding plane.
Second migration units 240, for when detect the first fault of forwarding plane eliminate after, by forward rule by second turn
Hair plane migrates back the first Forwarding plane.
Third migration units 250, for when inadequate resource occurs in the first Forwarding plane, forward rule to be forwarded by first
Plane moves to the second Forwarding plane.
4th migration units 260, for when detecting the resource abundance of the first Forwarding plane, by forward rule by second
Forwarding plane migrates back the first Forwarding plane.
Third detection unit 270, for judging the second Forwarding plane when detecting that the second Forwarding plane is deposited when abnormal
Exception Type.
5th migration units 280, for when the second Forwarding plane is there are when software fault, by forward rule by the second forwarding
Plane is migrated to third Forwarding plane, and upper layer application is notified to be handled.
6th migration units 290, for when inadequate resource occurs in the second Forwarding plane, forward rule to be forwarded by second
Plane is migrated to third Forwarding plane.
7th migration units 2100, for when the resource for detecting the second Forwarding plane becomes abundance, by forward rule
Second Forwarding plane is migrated back by third Forwarding plane.
Third detection unit 2110, for notifying upper layer application when detecting that software fault occurs in third Forwarding plane
It is handled.
Forwarding plane switching device provided in this embodiment, main control plane monitor the abnormal conditions of three Forwarding plane,
When monitoring that currently used Forwarding plane deposits when abnormal, forward rule is migrated from current Forwarding plane to deserving preceding forwarding
The Forwarding plane of next priority of plane, to guarantee that forwarded is normally carried out, this improves intelligent network adapter systems
Reliability.
Another aspect, present invention also provides intelligent network adapters, wherein intelligent network adapter includes intelligent network adapter system shown in Fig. 1
In interface module and programmable integrated circuit module, related content refer to the associated description in intelligent network adapter system.
On the other hand, present invention also provides the network equipment (for example, server), which includes shown in FIG. 1
Intelligent network adapter system.
For the various method embodiments described above, for simple description, therefore, it is stated as a series of action combinations, but
Be those skilled in the art should understand that, the application is not limited by the described action sequence because according to the application, certain
A little steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know that, it is retouched in specification
The embodiment stated belongs to preferred embodiment, necessary to related actions and modules not necessarily the application.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment
For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part
It is bright.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit can be realized in the same or multiple software and or hardware when application.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can
It realizes by means of software and necessary general hardware platform.Based on this understanding, the technical solution essence of the application
On in other words the part that contributes to existing technology can be embodied in the form of software products, the computer software product
It can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that a computer equipment
(can be personal computer, server or the network equipment etc.) executes the certain of each embodiment of the application or embodiment
Method described in part.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (12)
1. a kind of intelligent network adapter system, which is characterized in that be applied in the network equipment, the system comprises interface module, can compile
Primary processor in journey integrated circuit modules and the network equipment, wherein the programmable integrated circuit inside modules are integrated with
Processor unit;
The interface module is connect with the programmable integrated circuit module by communication bus;
The interface module and the programmable integrated circuit module are connected with the primary processor;
Establishing between the processor unit and the primary processor has synchronizing information channel;
Wherein, the primary processor is the first control plane, the second control plane that the processor unit is;The network interface card mould
Block is the first Forwarding plane, the programmable integrated circuit module is the second Forwarding plane, the primary processor is third forwarding
Plane.
2. system according to claim 1, which is characterized in that
The priority of the first control plane is higher than the priority of the second control plane;
The priority of first Forwarding plane is higher than the priority of second Forwarding plane, and second Forwarding plane
Priority is higher than the priority of third Forwarding plane.
3. system according to claim 1 or 2, which is characterized in that current main control plane be the first control plane,
Current standby control plane is the second control plane, alternatively, current main control plane be the second control plane, it is current standby
Controlling plane is the first control plane;The current main control plane and the current standby control plane are used to:
The current main control plane and the current standby control plane are detected with the presence or absence of abnormal;
When detecting that the current standby control plane deposits when abnormal, the current standby control plane restarting is controlled;
When detecting that the current main control plane deposits when abnormal, controlling currently standby control plane, to be switched to new main control flat
Face, current main control plane are switched to new standby control plane, and the control current main control plane restarting.
4. system according to claim 3, which is characterized in that the current main control plane and the current standby control are flat
Face is also used to:
When detecting that the current standby control plane is eliminated extremely, the control synchronizing information of the current main control plane is given
The current standby control plane;
When detecting that the current main control plane is eliminated extremely, the control synchronizing information of the new main control plane is given
The current main control plane.
5. system according to claim 1, which is characterized in that current main control plane detects current forwarding for working as
When plane occurs abnormal, according to the sequence of priority from high to low, forward rule is migrated by the current Forwarding plane to this
The Forwarding plane of next priority of current Forwarding plane;
Wherein the current main control plane is the first control plane or the second control plane.
6. system according to claim 5, which is characterized in that
The current main control plane, for when detecting that software fault occurs in first Forwarding plane, by forward rule
It is migrated by first Forwarding plane to second Forwarding plane, and controls the first Forwarding plane restarting systems;
After detecting the first forwarding plane software Failure elimination, the forward rule is migrated back by second Forwarding plane
First Forwarding plane;
The current main control plane, for when detecting that software fault occurs in second Forwarding plane, by the forwarding
Rule is migrated by second Forwarding plane to the third Forwarding plane, and upper layer application is notified to be handled;
The current main control plane, for when monitoring that software fault occurs in the third Forwarding plane, notice upper layer to be answered
With being handled.
7. system according to claim 5, which is characterized in that
The current main control plane, for when the resource for detecting first Forwarding plane is inadequate, by the forwarding
Rule is migrated by first Forwarding plane to second Forwarding plane, and in the resource for detecting first Forwarding plane
When becoming abundance, the forward rule is migrated into back first Forwarding plane by second Forwarding plane;
The current main control plane, for when the resource for detecting second Forwarding plane is inadequate, by the forwarding
Rule is migrated by second Forwarding plane to the third Forwarding plane, and in the resource for detecting second Forwarding plane
When becoming abundance, the forward rule is migrated into back second Forwarding plane by the third Forwarding plane.
8. a kind of intelligent network adapter, which is characterized in that be applied in the network equipment, the intelligent network adapter includes interface module, can compile
Journey integrated circuit modules, wherein be integrated with processor unit in the programmable integrated circuit module;
The interface module is connect with the programmable integrated circuit module by communication bus;
The interface module and the processor unit of the programmable integrated circuit module with the main place in the network equipment
Reason device is connected;
Establishing between the processor unit and the primary processor has synchronizing information channel;
Wherein, the primary processor is the first control plane, and the processor unit is the second control plane;The interface module
For the first Forwarding plane, the programmable integrated circuit module be the second Forwarding plane, the primary processor is that third forwarding is flat
Face.
9. a kind of network equipment, which is characterized in that including the described in any item intelligent network adapter systems of claim 1-8.
10. a kind of control plane switching method of intelligent network adapter, which is characterized in that be applied to described in any one of claim 1-7
Intelligent network adapter system primary processor or processor unit in, which comprises
Current main control plane and current standby control plane are detected with the presence or absence of abnormal;
When detecting that the current standby control plane deposits when abnormal, the current standby control plane restarting is controlled;
When detecting that current main control plane deposits when abnormal, controls currently standby control plane and is switched to new main control plane,
Current main control plane is switched to new standby control plane, and the current main control plane restarting of control.
11. according to the method described in claim 10, it is characterized in that, the method also includes:
When detecting that the current standby control plane is eliminated extremely, by the control synchronizing information of the current control plane to institute
State current standby control plane;
When detecting that the current main control plane is eliminated extremely, the control synchronizing information of the new main control plane is given
The current main control plane.
12. a kind of Forwarding plane switching method of intelligent network adapter, which is characterized in that be applied to described in any one of claim 1-7
Intelligent network adapter system in, which comprises
When main control plane monitoring-network to current Forwarding plane occurs abnormal, according to the sequence of priority from high to low, will forward
Rule is migrated the target Forwarding plane of next priority of Forwarding plane to before deserving by the current Forwarding plane;
After detecting that abnormal Forwarding plane restores normal, the forward rule is migrated into go back to institute by the target Forwarding plane
State current Forwarding plane.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810988015.1A CN109245926B (en) | 2018-08-28 | 2018-08-28 | Intelligent network card, intelligent network card system and control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810988015.1A CN109245926B (en) | 2018-08-28 | 2018-08-28 | Intelligent network card, intelligent network card system and control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109245926A true CN109245926A (en) | 2019-01-18 |
CN109245926B CN109245926B (en) | 2021-10-15 |
Family
ID=65068808
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810988015.1A Active CN109245926B (en) | 2018-08-28 | 2018-08-28 | Intelligent network card, intelligent network card system and control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109245926B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111541789A (en) * | 2020-07-08 | 2020-08-14 | 支付宝(杭州)信息技术有限公司 | Data synchronization method and device based on block chain all-in-one machine |
CN111541726A (en) * | 2020-07-08 | 2020-08-14 | 支付宝(杭州)信息技术有限公司 | Replay transaction identification method and device based on block chain all-in-one machine |
US11444783B2 (en) | 2020-07-08 | 2022-09-13 | Alipay (Hangzhou) Information Technology Co., Ltd. | Methods and apparatuses for processing transactions based on blockchain integrated station |
US11463553B2 (en) | 2020-07-08 | 2022-10-04 | Alipay (Hangzhou) Information Technology Co., Ltd. | Methods and apparatuses for identifying to-be-filtered transaction based on blockchain integrated station |
US11783339B2 (en) | 2020-07-08 | 2023-10-10 | Alipay (Hangzhou) Information Technology Co., Ltd. | Methods and apparatuses for transferring transaction based on blockchain integrated station |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1720689A (en) * | 2002-12-05 | 2006-01-11 | 思科技术公司 | Method for verifying function of redundant standby packet forwarder |
CN101753581A (en) * | 2010-01-15 | 2010-06-23 | 华为技术有限公司 | Method and device for forwarding uninterrupted data |
CN103843285A (en) * | 2013-11-14 | 2014-06-04 | 华为技术有限公司 | Method of version upgrade of network device and network device |
CN204392269U (en) * | 2015-03-05 | 2015-06-10 | 南京叠锶信息技术有限公司 | A kind of full SDN High_speed NIC able to programme |
CN104782173A (en) * | 2013-11-08 | 2015-07-15 | 华为技术有限公司 | Forwarding plane migration method, controller, and gateway |
CN105099754A (en) * | 2015-05-29 | 2015-11-25 | 杭州华三通信技术有限公司 | Network device and method used for interaction of same |
CN106100940A (en) * | 2016-08-25 | 2016-11-09 | 上海斐讯数据通信技术有限公司 | A kind of network message supervising device and monitoring method thereof |
CN107733728A (en) * | 2017-11-30 | 2018-02-23 | 新华三技术有限公司 | Multi-computer back-up method and apparatus |
CN107968747A (en) * | 2016-10-19 | 2018-04-27 | 中兴通讯股份有限公司 | A kind of path adjustment management method and device, communication system |
CN108270690A (en) * | 2016-12-30 | 2018-07-10 | 北京华为数字技术有限公司 | The method and apparatus for controlling message flow |
-
2018
- 2018-08-28 CN CN201810988015.1A patent/CN109245926B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1720689A (en) * | 2002-12-05 | 2006-01-11 | 思科技术公司 | Method for verifying function of redundant standby packet forwarder |
CN101753581A (en) * | 2010-01-15 | 2010-06-23 | 华为技术有限公司 | Method and device for forwarding uninterrupted data |
CN104782173A (en) * | 2013-11-08 | 2015-07-15 | 华为技术有限公司 | Forwarding plane migration method, controller, and gateway |
CN103843285A (en) * | 2013-11-14 | 2014-06-04 | 华为技术有限公司 | Method of version upgrade of network device and network device |
CN204392269U (en) * | 2015-03-05 | 2015-06-10 | 南京叠锶信息技术有限公司 | A kind of full SDN High_speed NIC able to programme |
CN105099754A (en) * | 2015-05-29 | 2015-11-25 | 杭州华三通信技术有限公司 | Network device and method used for interaction of same |
CN106100940A (en) * | 2016-08-25 | 2016-11-09 | 上海斐讯数据通信技术有限公司 | A kind of network message supervising device and monitoring method thereof |
CN107968747A (en) * | 2016-10-19 | 2018-04-27 | 中兴通讯股份有限公司 | A kind of path adjustment management method and device, communication system |
CN108270690A (en) * | 2016-12-30 | 2018-07-10 | 北京华为数字技术有限公司 | The method and apparatus for controlling message flow |
CN107733728A (en) * | 2017-11-30 | 2018-02-23 | 新华三技术有限公司 | Multi-computer back-up method and apparatus |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111541789A (en) * | 2020-07-08 | 2020-08-14 | 支付宝(杭州)信息技术有限公司 | Data synchronization method and device based on block chain all-in-one machine |
CN111541726A (en) * | 2020-07-08 | 2020-08-14 | 支付宝(杭州)信息技术有限公司 | Replay transaction identification method and device based on block chain all-in-one machine |
US11336660B2 (en) | 2020-07-08 | 2022-05-17 | Alipay (Hangzhou) Information Technology Co., Ltd. | Methods and apparatuses for identifying replay transaction based on blockchain integrated station |
US11444783B2 (en) | 2020-07-08 | 2022-09-13 | Alipay (Hangzhou) Information Technology Co., Ltd. | Methods and apparatuses for processing transactions based on blockchain integrated station |
US11463553B2 (en) | 2020-07-08 | 2022-10-04 | Alipay (Hangzhou) Information Technology Co., Ltd. | Methods and apparatuses for identifying to-be-filtered transaction based on blockchain integrated station |
US11665234B2 (en) | 2020-07-08 | 2023-05-30 | Alipay (Hangzhou) Information Technology Co., Ltd. | Methods and apparatuses for synchronizing data based on blockchain integrated station |
US11783339B2 (en) | 2020-07-08 | 2023-10-10 | Alipay (Hangzhou) Information Technology Co., Ltd. | Methods and apparatuses for transferring transaction based on blockchain integrated station |
Also Published As
Publication number | Publication date |
---|---|
CN109245926B (en) | 2021-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109245926A (en) | Intelligent network adapter, intelligent network adapter system and control method | |
US11200079B2 (en) | System and method for virtual machine live migration | |
Verma et al. | A survey on network methodologies for real-time analytics of massive IoT data and open research issues | |
CN105516292A (en) | Hot standby method of cloud platform of intelligent substation | |
CN105763471B (en) | link management method, device and system in virtual machine environment | |
CN105812169B (en) | A kind of switch between master and slave machines method and device | |
CN105471622A (en) | High-availability method and system for main/standby control node switching based on Galera | |
JP6431197B2 (en) | Snapshot processing methods and associated devices | |
EP3316555A1 (en) | Mac address synchronization method, device and system | |
CN103501290A (en) | High-reliability service system establishment method based on dynamic-backup virtual machines | |
CN110489225A (en) | A kind of service expansion method, device and equipment based on message queue | |
CN106713056A (en) | Method for selecting and switching standbys under distributed cluster | |
CN109565447A (en) | Network function processing method and relevant device | |
CN105142235B (en) | The means of communication and device of air-conditioner set | |
WO2015067144A1 (en) | Method and apparatus for software disposition | |
CN114371912A (en) | Virtual network management method of data center and data center system | |
CN105763488B (en) | Data center aggregation core switch and backboard thereof | |
CN103152420B (en) | A kind of method avoiding single-point-of-failofe ofe Ovirt virtual management platform | |
CN104170307B (en) | Failover methods, devices and systems | |
CN109327383A (en) | A kind of fault handling method and equipment | |
CN109412980B (en) | BRAS backup method and device | |
CN106464541B (en) | Fault handling method and equipment based on network function virtualization | |
CN105704187A (en) | Processing method and apparatus of cluster split brain | |
CN108933687A (en) | A kind of power consumption control method and device | |
CN116095145B (en) | Data control method and system of VPC cluster |
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 |