CN108306757A - Programmable data planar virtual layer building method and storage medium - Google Patents
Programmable data planar virtual layer building method and storage medium Download PDFInfo
- Publication number
- CN108306757A CN108306757A CN201711416899.5A CN201711416899A CN108306757A CN 108306757 A CN108306757 A CN 108306757A CN 201711416899 A CN201711416899 A CN 201711416899A CN 108306757 A CN108306757 A CN 108306757A
- Authority
- CN
- China
- Prior art keywords
- virtualization
- data packet
- programmable data
- network function
- action schedule
- 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/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of programmable data planar virtual layer building method and programmable data layer, programmable data planar virtual layer building method includes the planar virtual layer that structure includes multiple virtualization matching action schedules and multiple virtualization control logics;Wherein, virtualization control logic and virtualization matching action schedule can be configured as multiple network functions according to the first predetermined manner, and multiple network functions can be configured as multiple virtualization programmable data planes according to the second predetermined manner.The present invention realize existing hardware resource similarly hereinafter when run multiple programs, be not required to by reprogram and importing process can be realized network function dynamic update and network function processing sequence modification, improve flexibility and the resource utilization of programmable data plane, and preferably reply network packet processing increasingly complex environment requirement.
Description
Technical field
The invention belongs to network technique fields, and in particular to a kind of programmable data planar virtual layer building method and inside
It is stored with the storage medium of programmable data planar virtual layer.
Background technology
Programmable data Flat Architecture is a kind of unrelated reconfigurable data plane architecture of agreement, and existing network is set
Standby manufacturer and network administrator, which are based on programmable data Flat Architecture, to be programmed network equipment chip, and customization is realized more
The procotol and processing data packets function of the various function of kind, to adapt to different network environment demands.
But with the continuous development of network, the network function that the unrelated data packet processor programming language of agreement is realized is continuous
It complicates, so that there are the following problems for existing programmable data plane:
1, once compiled program and be loaded into programmable route exchange device, the number of the equipment just can not dynamically be changed
According to bag processing function, so that the network function of the equipment can not be dynamically updated;
2, program can not be dynamically according to the processing sequence of real-time Developing Tactics network function, if network function need to be changed
Processing sequence, it is necessary to remodify program and be loaded into the network equipment;
3, network hardware equipment is limited, and multiple programs can not be run under limited hardware resource.
Putting in order and may be implemented in limited for network function and network function a kind of can need be dynamically updated now
Network hardware equipment runs the programmable data " plane " of multiple programs.
Invention content
The technical problem to be solved by the present invention is to existing programmable data plane can not dynamically update network function and
Network function puts in order and can not run multiple programs on limited network hardware equipment.
In order to solve the above technical problem, the present invention provides a kind of programmable data planar virtual layer building method, packets
It includes:
Structure includes the planar virtual layer of multiple virtualization matching action schedules and multiple virtualization control logics;
Wherein, the virtualization control logic and virtualization matching action schedule can be configured as more according to the first predetermined manner
A network function, it is flat that multiple network functions can be configured as multiple virtualization programmable datas according to the second predetermined manner
Face.
Preferably, network function difference or the network function described in each virtualization programmable data internal plane
Put in order difference.
Preferably, programmable data planar virtual layer building method further includes:It is built in the planar virtual layer virtual
Change fast resolving device, for data packet carry out parse and send the data packet after parsing to the corresponding virtualization can
Programming data plane.
Preferably, the virtualization fast resolving device includes to the parsing of the data packet and forwarding step:
The description header of the data packet is parsed, with obtain virtualization programmable data plane sequence number and
Data packet head length information;
The data packet head of the data packet is obtained according to the data packet head length information, and the data packet head is sent
Give the corresponding virtualization programmable data plane of the virtualization programmable data plane sequence number.
Preferably, the configuration step of the network function includes:
It obtains the virtualization control logic corresponding with network function to be configured and the virtualization matches action schedule;
It configures the virtualization control logic and virtualization matching action schedule to network according to the first predetermined manner
Function.
Preferably, the virtualization control logic and virtualization matching action schedule are configured according to the first predetermined manner
Include for the step of network function:
Head end allocation list in the first virtualization control logic of network function to be configured is obtained according to the first predetermined manner
The sequence number of virtualization matching action schedule bitmap and network function to be configured;
The setting virtualization before each virtualization matching action schedule corresponding with virtualization matching action schedule bitmap
With action schedule bitmap test point, whether the virtualization matching action schedule for detecting corresponding can be performed;
End allocation list is set in virtualization matching action schedule bitmap end, whether is held for detection data packet
Row is completed;
It repeats the above steps, other virtualization control logics for treating Configuration network function successively are configured, until institute
Network function configuration is stated to complete.
Preferably, the virtualization matching action schedule includes to the processing step of data packet:
Judge whether the data packet head meets Rule of judgment;
The data packet head for meeting the Rule of judgment is matched with matching domain, exports corresponding matching result and action
Bitmap;
The data packet head is handled according to the matching result and the action bitmap.
Preferably, the programmable data planar virtual layer building is on hardware programmable data plane.
According to another aspect of the present invention, a kind of storage medium is provided, programmable data planar virtual is stored with
Layer, the programmable data planar virtual layer include:
Multiple matching action schedules and multiple control logics are used for according to the first predetermined manner Configuration network function, and are configured
Network function can according to the second predetermined manner configure programmable data plane;
Wherein, the virtualization programmable data plane is for handling data packet.
Preferably, programmable data layer further include virtualization fast resolving device, the virtualization fast resolving device be used for pair
Data packet is parsed, and sends the data packet after parsing to the corresponding virtualization programmable data plane..
Compared with prior art, one or more of said program embodiment can have the following advantages that or beneficial to effect
Fruit:
Include multiple void by structure using programmable data planar virtual layer building method provided in an embodiment of the present invention
Quasi-ization matches the planar virtual layer of action schedule and multiple virtualization control logics, to make planar virtual layer has to build a variety of nets
According to requiring any combination to sort in planar virtual layer, forming multiple and different virtualizations can for network function and network function
The function of programming data plane, i.e., so that constructed planar virtual layer may include multiple programmable data planes, to meet
Existing hardware resource similarly hereinafter when run the requirements of multiple programs;The structure of network function and virtualization programmable data are flat simultaneously
Face can be configured according to the setting of administrator, i.e., administrator can be according to the data type and logarithm in pending data packet
The processing sequence that the network function and network function that are handled data packet are configured according to the processing requirement of packet, is not required to pass through
Reprogram and importing process can be realized network function dynamic update and network function processing sequence modification, raising can
The flexibility of programming data plane and resource utilization, and preferably reply network packet processing increasingly complex environment is wanted
It asks.
Other features and advantages of the present invention will be illustrated in the following description, and partly becomes from specification
It is clear that understand through the implementation of the invention.The purpose of the present invention and other advantages can be by wanting in specification, right
Specifically noted structure is sought in book and attached drawing to realize and obtain.
Description of the drawings
Attached drawing is used to provide further understanding of the present invention, and a part for constitution instruction, the reality with the present invention
It applies example and is used together to explain the present invention, be not construed as limiting the invention.In the accompanying drawings:
Fig. 1 shows the flow chart of one programmable data planar virtual layer building method of the embodiment of the present invention;
Fig. 2 shows virtualization fast resolving devices to be sent to virtualization programmable data plane by the data packet head of data packet
Schematic diagram;
Fig. 3 shows that the act bit diagram of virtualization matching action schedule is intended to;
Fig. 4 shows processing flow schematic diagram of the programmable data planar virtual layer of the invention built to data packet;
Fig. 5 shows processing procedure schematic diagram of the programmable data planar virtual layer of the invention built to data packet.
Specific implementation mode
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and examples, how to be applied to the present invention whereby
Technological means solves technical problem, and the realization process for reaching technique effect can fully understand and implement.It needs to illustrate
As long as not constituting conflict, each embodiment in the present invention and each feature in each embodiment can be combined with each other,
It is formed by technical solution within protection scope of the present invention.
Programmable data Flat Architecture is a kind of reconfigurable data plane architecture unrelated with agreement, for network
Device chip is programmed, and to realize the procotol and processing data packets function of varied function, adapts to different nets
Network environmental demand.But there are following problems for existing programmable data plane:Program is compiled and is loaded into programmable routing and is handed over
After exchange device, the processing data packets function of the equipment just can not be dynamically changed;Program can not be dynamically according to strategy in real time
Adjust the processing sequence of network function, it is necessary to remodify program and be loaded into the network equipment;It can not be provided in limited hardware
Multiple programs are run under source.
Embodiment one
To solve the above-mentioned technical problems in the prior art, it is empty that an embodiment of the present invention provides programmable data planes
Quasi- layer building method.
Fig. 1 shows the flow chart of one programmable data planar virtual layer building method of the embodiment of the present invention.
Referring to Fig.1, the present embodiment programmable data planar virtual layer building method includes the following steps:
Step S101:Structure matches the planar virtual of action schedule and multiple virtualization control logics comprising multiple virtualizations
Layer, wherein virtualization control logic and virtualization matching action schedule can be configured as multiple network work(according to the first predetermined manner
Can, multiple network functions can be configured as multiple virtualization programmable data planes according to the second predetermined manner.
Specifically, planar virtual layer is built on the hardware that can run virtualization programmable data plane, and in plane void
The multiple virtualization matching action schedules of structure and multiple virtualization control logics in quasi- layer, in programmable data plane of the present invention void
Configuration network function and virtualization programmable data plane provide configuration basis in quasi- layer.
It is specific as follows to the configuration process of programmable data planar virtual layer:
First, the present invention virtualizes programmable data planar virtual layer before handling data packet, and administrator can
Constructed virtualization matching action schedule and virtualization control logic are configured to multiple network function according to the first preset condition;
The configuration of multiple network function may make data packet that can be handled by various network functions in constructed planar virtual layer, to
Meet people to the gradual complicated processing requirement of data packet, increases process range of the planar virtual layer to data packet.Specifically,
Before handling data packet, the first preset condition can be arranged according to the processing requirement of data packet in administrator, and according to
Partial virtualization matching action schedule and virtualization control logic are configured to no less than one network function by the first preset condition.
Preferably, the hardware that can run virtualization programmable data plane is hardware programmable data plane.Wherein, the tool of network function
Body configuration process is hereinafter described in detail.
Secondly, it is flat can be configured to multiple virtualization programmable datas according to the second preset condition for the network function configured
Face, so that multiple virtualization programmable datas can be run simultaneously on the hardware that virtualization programmable data plane can be run
Plane, to solve the problems, such as that existing programmable data Flat Architecture can not run multiple programs under limited hardware resource,
Improve the utilization rate of hardware resource.It should be noted that different virtualization programmable data internal plane network function kinds
Class is different or network function execution sequence is different.Specifically, virtualization is being matched by action schedule and void according to the first preset condition
Quasi-ization control logic is configured to after network function, and administrator can be according to the requirement to virtualization programmable data plane to be configured
Second preset condition is set, and according to the second preset condition and the programmable number of the network function configured in advance configuration virtualization
According to plane, so that the virtualization programmable data plane configured can carry out pending data packet to meet preset processing.
It should be noted that when the virtualization programmable data plane configured is not when handling data packet, pipe
Reason person can control programmable data planar virtual layer of the present invention that can virtualization programmable data plane be split as corresponding net
Network function and multiple virtualizations matching action schedule and multiple virtualization control logics, so that the network function split out, void
Quasi-ization matches action schedule and virtualization control logic and can be used again.
Step S102, the structure virtualization fast resolving device in planar virtual layer, for being parsed simultaneously to data packet
Send the data packet after parsing to corresponding virtualization programmable data plane.
Specifically, the structure virtualization fast resolving device in planar virtual layer, and constructed virtualization is quickly solved
Parser can establish a connection with all virtualization programmable data planes configured, will in order to virtualize fast resolving device
Data packet after parsed sends corresponding virtualization programmable data plane to.
Further, virtualization fast resolving device is passed to the specific resolving of data packet and by parsed data packet
The detailed process for giving corresponding virtualization programmable data plane is as follows:
After pending data packet is input to programmable data planar virtual layer, virtualization fast resolving device is to data packet
Description header parsed, the description header of data packet includes virtualization programmable data plane sequence number and data
The length information in packet header, virtualization fast resolving device parse the length information for the data packet head that data packet describes in header
Afterwards, the data packet head of data packet is obtained according to the length information of data packet head, and data packet head is sent to and virtualizes and can compile
Number of passes is according to the corresponding virtualization programmable data plane of plane sequence number, in order to the programmable number of virtualization corresponding with data packet
Data packet is further processed according to plane.
Wherein, it is that virtualization programmable data plane further is sent to by data packet head to virtualization fast resolving device
Process illustrates, and carries out concrete example explanation to it below:
Fig. 2 shows virtualization fast resolving devices to be sent to virtualization programmable data plane by the data packet head of data packet
A kind of schematic diagram.With reference to Fig. 2, it is assumed that programmable data planar virtual layer includes 3 virtualization programmable data planes, 3
The sequence number for virtualizing programmable data plane is respectively id1, id2 and id3.Virtualization fast resolving device solves data packet
After analysis, when it is id1 to parse the virtualization programmable data plane sequence number for including in data packet, i.e., by corresponding data packet
Hair gives the virtualization programmable data plane of Serial No. id1, and data packet is parsed with that should virtualize fast resolving device
Including virtualization programmable data plane sequence number be id2 when, i.e., corresponding data packet head is sent to Serial No. id2's
Virtualize programmable data plane;When virtualization fast resolving device parses the virtualization programmable data plane that data packet includes
When Serial No. id3, i.e., corresponding data packet head is sent to the virtualization programmable data plane of Serial No. id3.
It should be noted that virtualization fast resolving device be only the data packet head of data packet is sent to it is corresponding virtual
Change programmable data plane, there is no entire data packet is sent to virtualization programmable data plane.
The concrete configuration process of network function is as follows:
Step S1011:Obtain virtualization control logic corresponding with network function to be configured and virtualization matching action schedule.
Specifically, administrator determines network function to be configured according to pending data packet, i.e., according to pending data
The processing requirement of packet determines network function to be configured, and virtual needed for network function to be configured acquisition Configuration network function
Change control logic and virtualization matching action schedule.
Step S1012:Control logic will be virtualized according to the first predetermined manner and virtualization matching action schedule is configured to net
Network function.
First, the first virtualization control logic of network function to be configured, net to be configured are chosen according to the first predetermined manner
Head end allocation list in the first virtualization control logic of network function obtains corresponding virtualization according to the first predetermined manner and matches
The serial number of action schedule bitmap and presently configured network function.Wherein, virtualization matching action schedule bitmap is specified at this
The virtualization matching action schedule and virtualization matching action schedule being performed under virtualization control logic execute sequence, network work(
Which network work(is the serial number of energy be for the network function that prompt handles data packet when handling data packet
Energy.Secondly, setting virtualization matching is dynamic before each virtualization matching action schedule corresponding with virtualization matching action schedule bitmap
Make epitope figure test point, whether the virtualization matching action schedule for detecting corresponding can be performed.Finally, in virtualization
End allocation list is set with action schedule bitmap end, completion whether is performed for detection data packet.So far, first virtualization
The corresponding virtualization matching action schedule matching of control logic is completed, and repeats the above steps treat Configuration network work(successively later
Other virtualization control logics of energy are configured, until network function is configured to complete.
It should be noted that mainly the virtualization programmable data belonging to network function to be configured is flat for end allocation list
The virtualization matching action schedule bitmap of face sequence number, the serial number of network function to be configured and current virtualization control logic comes
Judge whether data packet by network function all in current virilization programmable data plane executes completion.If end allocation list
Judge that data packet is not fully implemented completion, then corresponding network function is again handled data packet.
Present invention virtualization matching action schedule is to the processing mode of data packet with the existing action schedule that matches to data packet
Processing mode is different, specific as follows:
First, it is determined that whether data packet head meets Rule of judgment.
Specifically, the kind of the Boolean expression in Rule of judgment is determined according to virtualization programmable data plane sequence number
Class, judges whether data packet head meets Rule of judgment later, if data packet head meets Rule of judgment, data packet head is executed sheet
Other steps of virtualization matching action schedule, if data packet head does not meet Rule of judgment, data packet head is matched according to virtualization
Action schedule bitmap jumps to next virtualization matching action schedule.Preferably, Rule of judgment is if-else decision logics.It needs
Bright, this step can't do data packet any processing, only be to be determined whether to execute this virtualization according to Rule of judgment
Other steps with action schedule.
Secondly, the data packet head for meeting Rule of judgment is matched with matching domain, export corresponding matching result and moved
Make bitmap.
Specifically, according to Rule of judgment to the judging result of data packet, will meet the data packet head of Rule of judgment with it is virtual
Change the matching action schedule matching in matching action schedule, exports corresponding matching result and action bitmap.Wherein, matching result is used for
Unique matching result for indicating matching step, it is preferable that matching result can be the metadata of 32 bit widths;Action bitmap is for referring to
It is scheduled on the sequence of the action executed required for action step and execution action.It is original number that the present invention, which virtualizes matching action schedule,
It is provided according to packet header, standard metadata (including data packet inbound port, data packet exit port etc.) and User Defined metadata unified
Match pattern;Under this match pattern, administrator can dynamically define the matching of specified virtualization matching action schedule
Step needs to carry out matched information and match-type.The match-type that the present invention supports includes accurate matching, longest-prefix
Matching and mask matches.It should be noted that this step will not process data packet, its object is to export corresponding
With result and action bitmap.
Finally, data packet header is handled according to matching result and action bitmap.
Specifically, judge whether to execute some action to data packet according to the action bitmap of acquisition.For example, Fig. 3 is shown
The act bit diagram of virtualization matching action schedule is intended to, with reference to Fig. 3, it is assumed that the 0th corresponding data of compulsory exercise bitmap
Change function, the 1st expression data packet discarding function in packet header, and so on.If data packet function corresponds in acting bitmap
Place value be 1, then action step needs to execute the action.I.e. if the 0th value is 1, action step then can logarithm
The operation that modification data packet head is executed according to packet, data packet will not be executed the operation of modification data packet head by otherwise making step then, according to
This analogizes.The action executed to data packet determines how to handle data packet according to matching result.
It should be noted that the operation principle of above-mentioned virtualization matching action schedule bitmap is identical former with the work of action bitmap
Manage it is identical, above-mentioned virtualization is matched action schedule bitmap operation principle understandings can refer to it is above-mentioned to acting bitmap operation principle
Explanation.
Fig. 4 shows processing flow schematic diagram of the programmable data planar virtual layer of the invention built to data packet;Fig. 5
Show processing procedure schematic diagram of the programmable data planar virtual layer of the invention built to data packet;Reference Fig. 4 and Fig. 5,
The programmable data planar virtual layer that the present invention is built is as follows to the process flow of data packet:
Step S201, after data packet is input to programmable data planar virtual layer, virtualization fast resolving device is to data
The description head confidence of packet is parsed, and the length letter of virtualization programmable data plane sequence number and data packet head is parsed
Breath, and according to the length information read data packet head of data packet head;
The data packet head read is sent to and is put down with virtualization programmable data by step S202, virtualization fast resolving device
The corresponding virtualization programmable data plane of face sequence number.In the present example it is assumed that the virtualization programmable data of data packet is flat
Face Serial No. id3;
Step S203, after data packet head is sent in corresponding virtualization programmable data plane, data packet head is first
List processing is configured by the head end of the first virtualization control logic in first network function, and is configured according to current network function
Network function serial number, as 1.
Step S204, data packet head enter first virtual fatigue test action schedule bitmap test point, if detection virtual fatigue test is dynamic
It is 0 to make first, epitope figure, then not executing the virtual fatigue test action schedule;If detection virtual fatigue test action schedule bitmap first is
1, then execute the virtual fatigue test action schedule;Other virtual fatigue test action schedule bitmap test points are similarly sequentially entered, and corresponding
Execute virtual fatigue test action schedule;
Step S205, data packet head enter end allocation list, and whether end allocation list judges data packet by current virilization
Control logic corresponding virtualization matching action schedule executes completion, if being not carried out completion, is delivered to head end by data packet is nose heave
Action schedule is matched, is re-executed, until the corresponding virtualization matching action schedule of first virtualization control logic executes completion;If holding
Row is completed, then is transferred to data packet in the head end allocation list of next virtualization control logic;
Step S206 repeats step S203-S205, successively acts the virtualization matching corresponding to virtualization control logic
Table handles data packet.
Step S207, judges whether current network function is performed completion, if subsequent step is executed, if not then again
Deliver a packet to step S206.
Step S208 repeats step S201-S206, other network functions is made to handle data packet successively.
Step S209, judges whether current virilization programmable data plane is completed processing data packets, if will then count
It is exported according to packet, if not then delivering a packet to step S208 again.
Include multiple void by structure using programmable data planar virtual layer building method provided in an embodiment of the present invention
Quasi-ization matches the planar virtual layer of action schedule and multiple virtualization control logics, to make planar virtual layer has to build a variety of nets
According to requiring any combination to sort in planar virtual layer, forming multiple and different virtualizations can for network function and network function
The function of programming data plane, i.e., so that constructed planar virtual layer may include multiple programmable data planes, to meet
Existing hardware resource similarly hereinafter when run the requirements of multiple programs;The structure of network function and virtualization programmable data are flat simultaneously
Face can be configured according to the setting of administrator, i.e., administrator can be according to the data type and logarithm in pending data packet
The processing sequence that the network function and network function that are handled data packet are configured according to the processing requirement of packet, is not required to pass through
Reprogram and importing process can be realized network function dynamic update and network function processing sequence modification, raising can
The flexibility of programming data plane and resource utilization, and preferably reply network packet processing increasingly complex environment is wanted
It asks.
Embodiment two
To solve the above-mentioned technical problems in the prior art, the embodiment of the present invention additionally provides a kind of storage medium,
It is stored with programmable data planar virtual layer.
Programmable data planar virtual layer includes that fast resolving device, multiple matching action schedules and multiple virtualizations control are patrolled
Volume, multiple matching action schedules and multiple control logics can be according to the first predetermined manner Configuration network functions, and the network work(of configuration
Virtualization programmable data plane can be configured according to the second predetermined manner, virtualization programmable data plane is used for data packet
It is handled.Fast resolving device is sent to pair for being parsed to data packet, and by the data packet head of the data packet after parsing
The virtualization programmable data plane answered.
Wherein, virtualization is configured according to the process of the first predetermined manner Configuration network function and according to the second predetermined manner
It is default according to first to match action schedule and virtualization control logic with virtualization in embodiment one for the process of programmable data plane
Mode Configuration network function and according to the second predetermined manner to be configured to multiple virtualizations programmable using the network function of configuration
The process all same of data plane;Fast resolving device is transmitted to the specific resolving of data packet and by parsed data packet
To the process of corresponding virtualization programmable data plane, with virtualization fast resolving device in embodiment one to the specific of data packet
Resolving and the process that parsed data packet is sent to corresponding virtualization programmable data plane are identical;While
Processing mode of the action schedule to data packet is matched with the virtualization in embodiment one to the processing mode of data packet with action schedule
It is identical.Therefore, the above herein no longer repeats it.
It should be noted that programmable data planar virtual layer may be programmed the processing procedure of data packet with embodiment one
Data plane virtual level is also identical to the processing procedure of data packet, therefore the present embodiment programmable data planar virtual layer is to data
The concrete processing procedure of packet herein also no longer repeats it.
Using programmable data planar virtual layer provided in an embodiment of the present invention, pass through the matching action schedule for including by inside
Be configured to multiple network functions with control logic, and by network function in virtualizing programmable data layer according to requiring arbitrary knot
Sequence is closed, multiple and different programmable data planes is formed, to meet while run the requirement of multiple programs, while network function
Structure and virtualize programmable data plane structure be to be configured according to the setting of administrator, i.e., administrator can
According in pending data packet data type and the net handled data packet is configured to the processing requirement of data packet
The processing sequence of network function and network function is not required to by reprograming and the dynamic of network function can be realized in importing process
Update and the modification of network function processing sequence, improve flexibility and the resource utilization of programmable data plane, and more
Good reply network packet processing increasingly complex environment requirement.
While it is disclosed that embodiment content as above but described only to facilitate understanding the present invention and adopting
Embodiment is not limited to the present invention.Any those skilled in the art to which this invention pertains are not departing from this
Under the premise of the disclosed spirit and scope of invention, any modification and change can be made in the implementing form and in details,
But protection scope of the present invention still should be subject to the scope of the claims as defined in the appended claims.
Claims (10)
1. a kind of programmable data planar virtual layer building method, it is characterized in that, including:
Structure includes the planar virtual layer of multiple virtualization matching action schedules and multiple virtualization control logics;
Wherein, the virtualization control logic and virtualization matching action schedule can be configured as multiple nets according to the first predetermined manner
Network function, multiple network functions can be configured as multiple virtualization programmable data planes according to the second predetermined manner.
2. according to the method described in claim 1, it is characterized in that, each virtualization programmable data internal plane it is described
The difference that puts in order of network function difference or the network function.
3. according to the method described in claim 1, it is characterized in that, further include:
In the planar virtual layer structure virtualization fast resolving device, for data packet carry out parsing and will be after parsing
Data packet sends the corresponding virtualization programmable data plane to.
4. according to the method described in claim 3, it is characterized in that, the parsing of the virtualization fast resolving device to the data packet
And forwarding step includes:
The description header of the data packet is parsed, to obtain virtualization programmable data plane sequence number and data
Packet header length information;
Obtain the data packet head of the data packet according to the data packet head length information, and by the data packet head be sent to
The corresponding virtualization programmable data plane of the virtualization programmable data plane sequence number.
5. according to the method described in claim 4, it is characterized in that, the configuration step of the network function includes:
It obtains the virtualization control logic corresponding with network function to be configured and the virtualization matches action schedule;
It configures the virtualization control logic and virtualization matching action schedule to network function according to the first predetermined manner.
6. the method stated according to claim 5, it is characterized in that, according to the first predetermined manner by the virtualization control logic and institute
It states virtualization matching action schedule and is configured to the specific steps of network function and include:
Head end allocation list in the first virtualization control logic of network function to be configured obtains virtual according to the first predetermined manner
Change the sequence number of matching action schedule bitmap and network function to be configured;
Setting virtualization matching is dynamic before each virtualization matching action schedule corresponding with virtualization matching action schedule bitmap
Make epitope figure test point, whether the virtualization matching action schedule for detecting corresponding can be performed;
End allocation list is set in virtualization matching action schedule bitmap end, whether has been performed for detection data packet
At;
It repeats the above steps, other virtualization control logics for treating Configuration network function successively are configured, until the net
Network functional configuration is completed.
7. according to the method described in claim 6, it is characterized in that, the virtualization matching action schedule is to the processing step of data packet
Including:
Judge whether the data packet head meets Rule of judgment;
The data packet head for meeting the Rule of judgment is matched with matching domain, exports corresponding matching result and act bit
Figure;
The data packet head is handled according to the matching result and the action bitmap.
8. according to the method described in claim 1, it is characterized in that, the programmable data planar virtual layer building can be compiled in hardware
On journey data plane.
9. a kind of storage medium, it is characterized in that, it is stored with programmable data planar virtual layer, the programmable data plane is empty
Quasi- layer includes:
The net that multiple matching action schedules and multiple control logics are used for according to the first predetermined manner Configuration network function, and configure
Network function can configure virtualization programmable data plane according to the second predetermined manner;
Wherein, the virtualization programmable data plane is for handling data packet.
10. storage medium according to claim 9, it is characterized in that, further include virtualization fast resolving device, the virtualization
Fast resolving device sends the corresponding programmable number of the virtualization to for being parsed to data packet, and by the data packet after parsing
According to plane.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711416899.5A CN108306757B (en) | 2017-12-25 | 2017-12-25 | Programmable data plane virtual layer construction method and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711416899.5A CN108306757B (en) | 2017-12-25 | 2017-12-25 | Programmable data plane virtual layer construction method and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108306757A true CN108306757A (en) | 2018-07-20 |
CN108306757B CN108306757B (en) | 2020-07-17 |
Family
ID=62870997
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711416899.5A Active CN108306757B (en) | 2017-12-25 | 2017-12-25 | Programmable data plane virtual layer construction method and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108306757B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113132236A (en) * | 2021-04-21 | 2021-07-16 | 鹏城实验室 | Service selection method, device and switch based on programmable data plane |
CN115174711A (en) * | 2022-07-07 | 2022-10-11 | 中国人民解放军战略支援部队信息工程大学 | Data processing method, device and medium based on full-stack programmable network |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105812179A (en) * | 2016-03-09 | 2016-07-27 | 中国科学院信息工程研究所 | Protocol independent forwarding network event processing method |
US20170048308A1 (en) * | 2015-08-13 | 2017-02-16 | Saad Bin Qaisar | System and Apparatus for Network Conscious Edge to Cloud Sensing, Analytics, Actuation and Virtualization |
CN106464522A (en) * | 2014-04-11 | 2017-02-22 | 瑞典爱立信有限公司 | A method and system for network function placement |
CN107113195A (en) * | 2015-06-01 | 2017-08-29 | 华为技术有限公司 | System and method for the virtualization in control plane and datum plane |
US20170251065A1 (en) * | 2016-02-29 | 2017-08-31 | Cisco Technology, Inc. | System and Method for Data Plane Signaled Packet Capture in a Service Function Chaining Network |
-
2017
- 2017-12-25 CN CN201711416899.5A patent/CN108306757B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106464522A (en) * | 2014-04-11 | 2017-02-22 | 瑞典爱立信有限公司 | A method and system for network function placement |
CN107113195A (en) * | 2015-06-01 | 2017-08-29 | 华为技术有限公司 | System and method for the virtualization in control plane and datum plane |
US20170048308A1 (en) * | 2015-08-13 | 2017-02-16 | Saad Bin Qaisar | System and Apparatus for Network Conscious Edge to Cloud Sensing, Analytics, Actuation and Virtualization |
US20170251065A1 (en) * | 2016-02-29 | 2017-08-31 | Cisco Technology, Inc. | System and Method for Data Plane Signaled Packet Capture in a Service Function Chaining Network |
CN105812179A (en) * | 2016-03-09 | 2016-07-27 | 中国科学院信息工程研究所 | Protocol independent forwarding network event processing method |
Non-Patent Citations (3)
Title |
---|
CHEN SUN 等: ""HYPER: A Hybrid High-Performance Framework for Network Function Virtualization"", 《IEEE JOURNAL ON SELECTED AREAS IN COMMUNICATIONS ( VOLUME: 35 , ISSUE: 11 , NOV. 2017 )》 * |
CHENG ZHANG ; JUN BI 等: ""HyperV: A High Performance Hypervisor for Virtualization of the Programmable Data Plane"", 《2017 26TH INTERNATIONAL CONFERENCE ON COMPUTER COMMUNICATION AND NETWORKS (ICCCN)》 * |
CHENG ZHANG ; JUN BI 等: ""P4DB: On-the-fly debugging of the programmable data plane"", 《2017 IEEE 25TH INTERNATIONAL CONFERENCE ON NETWORK PROTOCOLS (ICNP)》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113132236A (en) * | 2021-04-21 | 2021-07-16 | 鹏城实验室 | Service selection method, device and switch based on programmable data plane |
CN113132236B (en) * | 2021-04-21 | 2022-02-25 | 鹏城实验室 | Service selection method, device and switch based on programmable data plane |
CN115174711A (en) * | 2022-07-07 | 2022-10-11 | 中国人民解放军战略支援部队信息工程大学 | Data processing method, device and medium based on full-stack programmable network |
Also Published As
Publication number | Publication date |
---|---|
CN108306757B (en) | 2020-07-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8209694B2 (en) | Single-stack real-time operating system for embedded systems | |
CN106529673A (en) | Deep learning network training method and device based on artificial intelligence | |
CN104144156B (en) | Message processing method and device | |
CN108228354A (en) | Dispatching method, system, computer equipment and medium | |
CN108768724A (en) | Gateway control method and intelligent gateway | |
CN104216766B (en) | The method and device that stream data is handled | |
CN108306757A (en) | Programmable data planar virtual layer building method and storage medium | |
CN107967229A (en) | A kind of serial ports automatic identifying method, system and computer-readable recording medium | |
CN105631013B (en) | The device and method for generating cryptographic Hash | |
CN109359732A (en) | A kind of chip and the data processing method based on it | |
CN107918558A (en) | Business Process Control method, apparatus and equipment based on state machine | |
CN110532044A (en) | A kind of big data batch processing method, device, electronic equipment and storage medium | |
CN113051053A (en) | Heterogeneous resource scheduling method, device, equipment and computer readable storage medium | |
CN105739481B (en) | The test method of industrial control software, apparatus and system | |
CN107911251A (en) | A kind of method for configuring network equipment, device and medium | |
CN109828790A (en) | A kind of data processing method and system based on Shen prestige isomery many-core processor | |
CN109788325A (en) | Video task distribution method and server | |
CN100407663C (en) | Universal testing system and method for telecommunication intelligent service | |
CN109039683A (en) | A kind of arranging service method and system | |
CN106648831A (en) | Cloud workflow scheduling method based on firefly algorithm and dynamic priority algorithm | |
CN106919374A (en) | A kind of scenario generation method and device | |
CN106874129A (en) | A kind of operating system process scheduling order determines method and control method | |
CN107800571B (en) | A kind of network function dynamic method of combination, device and system | |
CN103870313B (en) | Virtual machine task scheduling method and system | |
CN110276452A (en) | Pruning method, device, equipment and the artificial intelligence chip of neural network model |
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 |