Data transfer device in a kind of ForCES network configuration layer
Technical field
The present invention relates to separate (ForwardingandControlElement based on forwarding with controlSeparation, ForCES) SDN (SoftwareDefinedNetwork, software defined network)Network technology, is specifically related to the data transfer device in a kind of ForCES network configuration layer.
Background technology
Along with emerging in large numbers of novel network application, comprehensive emergence of cloud service and mobile Internet, network becomesMust become increasingly complex. Traditional network architecture centered by hardware obviously can not adapt to device fabricationThe demand of business, operator, user and enterprise, network sustainable development has suffered from huge challenge.The problem exposing for traditional network architecture, increasing scholar starts the existing network architecture to enterRow reform and innovation, the demand that solves the current single not extendible network system and network function is variousContradiction between property is very urgent. Software defined network is to solve the important method of above-mentioned contradiction, be underOne of important research field that generation network is paid close attention to.
In the time that SDN becomes the study hotspot of new network framework, each tissue and company start to consider to useOther various technology are attempted the realization to SDN, and in this process, ForCES technology is particularly prominentGo out, it has carried out more comprehensively the Internet resources of a network node inside and effectively definition, by oneThe control section of individual network device internal separates with data retransmission part. In this case, faceTo the forwarding unit of physical hardware, ForCES can combine with controlling software neatly, breaksThe closure of legacy network devices, can upgrade rapidly and adapt to new a network equipmentApplication demand.
According to three of SDN layers of typical architecture, the SDN network architecture of ForCES is considered in the time of designTo the feature of key-course, in whole framework, ForCES agreement is for key-course and basis certainly, therefore in key-course, necessarily there are one or more CE in the southbound interface of communicating by letter between facility layer,(ForwardingElement forwards single as in ForCES networkware, to carry out centralized Control bottom FEUnit). In addition, because the CE in controller layer (ControlElement, control module) mainly appointsBusiness is carried out scheduling controlling and centralized management to the numerous FE of infrastructure layer exactly, in its implementationThe a lot of Service Sources that relate to cannot be exposed to application, carry out effector can not face as oneUnderlying resource strategically regulates and controls, and therefore, has added configuration layer on key-course.
Configuration layer major function is received the service request of user's coarse granule degree and divided by northbound interfaceAfter analysing refinement, change into the data model of fine granularity, be issued to key-course and carry out, but transformIn process, need to meet ForCES agreement feature and change into corresponding data, in configuration layer,Mainly by REST northbound interface server, virtual net mapping block, LFB chain building module, dataThese five module compositions of modular converter and database. Start to carry out to key-course configuration from application layerThe transformation of layer plays the important function of forming a connecting link in whole framework. The inner number of configuration layer simultaneouslySpecifically data distributing is arrived especially to infrastructure layer according to the height layer data conversion method of modular converterImportant technology.
Summary of the invention
The SDN network the object of the invention is for finally building based on ForCES provides support. ProposeIn SDN three-tier architecture, increase configuration layer, form SDN tetra-layer architectures based on ForCES,Application layer, configuration layer, key-course and infrastructure layer. Analyzed simultaneously configuration layer whole system inPortion's module and high level data and low layer data. Finally propose in a kind of ForCES network configuration layerData transfer device. The method is to realize on the data conversion module in configuration layer.
The technical scheme that the present invention solves its technical problem employing comprises the steps:
A data transfer device in ForCES network configuration layer, specifically comprises following steps:
Step (1): definition high level data. High level data is carried out to data modeling design database.
Described database refers to the data that produce in the each module of storage and the data of preserving given dataStorehouse, these data are referred to as high level data.
Described high level data mainly comprises two kinds of data: one is virtual net data, and another kind is LFBData. The former comprises virtual net solicited message, Physical Network topology information and virtual net topology information; AfterPerson comprises LFB storehouse, LFB set and LFB chain data.
Step (2): define low layer data. Low layer data is carried out to data modeling.
Described low layer data refers at CE (ControlElement, control module) FE (ForwardingElement, retransmission unit) data of required ForCES form while carrying out practical operation, compriseCreate nodes, can create the node upper limit, dummy node ID, LFB information, LFB topology connectsRelation.
Step (3): data conversion module connects high level data storehouse, according to the low number of plies required in CEAccording to content at high level data corresponding to high level data library lookup; If find and this high level data for directly canTranslation data enters step (4); If find and this high level data needs further to process conversion moreCarry out step (5).
Step (4): obtain required high level data from high level data storehouse after, by its concrete gettingValue content encapsulates according to the data mode in ForCES, after realization converts low layer data to, carries outStep (6).
Step (5): obtain data to be processed from high level data storehouse, left in data transaction mouldIn piece, then call the function with processing capacity, the result data utilization that this function is returnedThe data mode encapsulation of ForCES, realization performs step (6) after converting low layer data to.
The function of described processing capacity refers to the data in function is carried out to certain statistics and operation, exampleAs summation etc., finally return to the function of a result data.
Step (6): if all low layer data also do not complete conversion, turn back to step (3); If instituteThere is low layer data all to convert, call configuration attribute function in CE by after convertingLow layer data distributing is in infrastructure layer FE.
Described configuration attribute function refer to by CE to FE in LFB carry out the letter of attribute configurationNumber, and this function is to utilize low layer data to be configured the particular content of LFB attribute.
The configuration layer at described data conversion module place comprises five part: REST(RepresentationalStateTransfer, the transmission of statement sexual state) northbound interface server, voidIntend net mapping block, LFB (LogicalFunctionBlock, logic function block) chain building module,Data conversion module and database.
Described ForCES network refers to and will be confined to the ForCES technological expansion of a network internal originallyThereby realize the network of SDN to the whole network, ForCES network increases on the basis of SDN three-tier architectureAdding configuration layer, so be four layer architectures, is respectively application layer, configuration layer, key-course and infrastructureLayer.
Described configuration layer refer to the service request of user's coarse granule degree of receiving application layer and analyze refinement itAfter, change into the data model of fine granularity, be issued to key-course and carry out, in conversion process, needMeet ForCES agreement feature and change into corresponding data.
Described REST northbound interface server refers to and can communicate with REST northbound interface client,And receive the request data to virtual net from the user of client, this request data is issued to simultaneouslyVirtual net mapping block is deposited in database simultaneously.
Described REST northbound interface client refers to the interface that application layer is provided, and gives user's behaviourDo interface, user can self-defined virtual net request on this interface.
Described virtual net request refers to that user specifies the operating data to virtual net, comprise establishment, amendment,Check, delete; Comprise the title of this virtual net and the request of type of appointment simultaneously.
Described virtual net mapping block refers to that the virtual net request to issuing carries out the behaviour of virtual net mappingDo; This module is by according to Physical Network topology information, virtual net topology information and in conjunction with certain mapping planSlightly carry out virtual net mapping, and the virtual net result data finally having shone upon is deposited into databaseIn; Concrete dummy node service request is issued to the module of LFB chain building module simultaneously.
Described LFB chain building module refers to according to node traffic request and builds according to certain combinational algorithmGo out a complete LFB chain dummy node in virtual net is carried out to functional configuration; To build simultaneouslyGood LFB chain data are deposited into the module in database.
Described LFB refers to logic function block, is that in network facilities node, fine-grained function is abstract.
Described data conversion module refers to and from database, reads corresponding high level data and be converted toThe low layer data of ForCES form, so call function in CE by the data distributing after conversion to baseThe module of Infrastructure layer.
Described CE is the entity in the key-course in ForCES network.
Described FE is entity in the infrastructure layer in ForCES network.
Beneficial effect of the present invention is as follows:
Configuration layer structural design in ForCES network provided by the invention is specific implementation ForCESNetwork provides technology prerequisite. Determined in configuration layer data on the middle and senior level and low layer data concrete simultaneouslyHold, proposed several a kind of data transfer devices based on these data. The present invention is building based on ForCESSDN network development process in the exploration of a novelty, be the data of configuration layer in ForCES networkBeing issued to infrastructure layer feasible scheme is provided, realized the docking between two-layer, is ForCESThe realization of SDN network lay a good foundation.
Brief description of the drawings
Fig. 1 is the SDN network diagram of ForCES of the present invention;
Fig. 2 is configuration layer workflow schematic diagram of the present invention;
Fig. 3 is high level data content schematic diagram of the present invention;
Fig. 4 is low layer data content schematic diagram of the present invention;
Fig. 5 is data transaction schematic flow sheet of the present invention.
Detailed description of the invention
Below in conjunction with drawings and Examples, the present invention is further illustrated.
As shown in Fig. 1,2,3 and 4, in a kind of ForCES network configuration layer provided by the inventionData transfer device, the method is on data conversion module, to realize in configuration layer, this data conversion moduleThe configuration layer at place comprises five part: REST (RepresentationalStateTransfer, statementSexual state transmits) northbound interface server, virtual net mapping block, LFB (LogicalFunctionBlock, logic function block) chain building module, data conversion module and database.
Described ForCES network refers to and will be confined to the ForCES technological expansion of a network internal originallyThereby realize the network of SDN to the whole network, ForCES network increases on the basis of SDN three-tier architectureAdding configuration layer, so be four layer architectures, is respectively application layer, configuration layer, key-course and infrastructureLayer.
Described configuration layer refers to the service request of the user's coarse granule degree that receives application layer and analyzes refinementAfterwards, change into the data model of fine granularity, be issued to key-course and carry out, in conversion process, needMeet ForCES agreement feature and change into corresponding data.
Described REST northbound interface server refers to and can communicate with REST northbound interface client,And receive the request data to virtual net from the user of client, this request data is issued to simultaneouslyVirtual net mapping block is deposited in database simultaneously.
Described REST northbound interface client refers to the interface that application layer is provided, and gives user's behaviourDo interface, user can self-defined virtual net request on this interface.
Described virtual net request refers to that user specifies the operating data to virtual net, comprise establishment, amendment,Check, delete; Comprise the title of this virtual net and the request of type of appointment simultaneously.
Described virtual net mapping block refers to that the virtual net request to issuing carries out the behaviour of virtual net mappingDo; This module is by according to Physical Network topology information, virtual net topology information and in conjunction with certain mapping planSlightly carry out virtual net mapping, and the virtual net result data finally having shone upon is deposited into databaseIn; Concrete dummy node service request is issued to the module of LFB chain building module simultaneously.
Described LFB chain building module refers to according to node traffic request and builds according to certain combinational algorithmGo out a complete LFB chain dummy node in virtual net is carried out to functional configuration; To build simultaneouslyGood LFB chain data are deposited into the module in database.
Described LFB refers to logic function block, is that in network facilities node, fine-grained function is abstract.
Described database refers to the data that produce in the each module of storage and the data of preserving given dataStorehouse, these data are referred to as high level data
Described high level data mainly comprises two kinds of data: one is virtual net data, and another kind is LFBData. The former comprises virtual net solicited message, Physical Network topology information and virtual net topology information; AfterPerson comprises LFB storehouse, LFB set and LFB chain data.
Described data conversion module refers to and from database, reads corresponding high level data and be converted toThe low layer data of ForCES form, and then the data distributing after conversion is arrived infrastructure by call functionThe module of layer.
Described low layer data refers at CE (ControlElement, control module) FE (ForwardingElement, retransmission unit) data of required ForCES form while carrying out practical operation, compriseCreate nodes, can create the node upper limit, dummy node ID, LFB information, LFB topology connectsRelation.
Described CE is the entity in the key-course in ForCES network.
Described FE is entity in the infrastructure layer in ForCES network.
As shown in Figure 5, according to the configuration layer at described data conversion module place, it is characterized in that thisThe step of the conversion method of data conversion module realization height layer data is as follows:
Step 1: definition high level data. High level data is carried out to data modeling design database.
Step 2: define low layer data. Low layer data is carried out to data modeling.
Step 3: data conversion module connection data storehouse, according to low layer data content required in CESearch one by one in data corresponding data, if find and these data are that direct convertible data walkRapid four, if find and these data need further to process conversion again and carry out step 5.
Step 4: obtain required high level data from database after, by its concrete value contentEncapsulate according to the data mode in ForCES, after realization converts low layer data to, perform step six.
Step 5: obtain data to be processed from database, after being left in this module, adjustWith the function with processing capacity, the result data that this function is returned utilizes the data shape of ForCESFormula encapsulation, performs step six after realization converts low layer data to.
The function of described processing capacity refers to the data in function is carried out to certain statistics and operation, exampleAs summation etc., finally return to the function of a result data.
Step 6: if all low layer data also do not complete conversion, repeated execution of steps three. If allLow layer data all converts, calls configuration attribute function in CE by the low layer after convertingData distributing is in infrastructure layer FE.
Described configuration attribute function refers at the letter and the function that by CE, LFB are carried out attribute configurationTo utilize low layer data to be configured the particular content of LFB attribute.
Embodiment
The SDN network frame of ForCES of the present invention as shown in Figure 1, in the whole network architectureAs shown in Figure 2, data transaction is one of them flow process to configuration layer overall workflow, and this flow process is sent outThe raw data conversion module in configuration layer inside.
The particular content of high level data of the present invention as shown in Figure 3, mainly comprises two kinds of data:One is virtual net data, and another kind is LFB data. The former comprises virtual net solicited message, physicsNet topology information and virtual net topology information; The latter comprises LFB storehouse, LFB set and LFB chain numberAccording to. And above-mentioned high level data is all stored in the database of configuration layer.
The particular content of low layer data of the present invention as shown in Figure 4, is that virtual net is carried out to realityThe data of required ForCES form when operation, comprise create nodes, can create the node upper limit,Dummy node ID, LFB information, LFB topological connection relation.
Data transfer device of the present invention needs to convert above-mentioned high level data to the low number of plies exactlyAccording to, data transfer device flow process as shown in Figure 5, is understood and weighs for the ease of those skilled in the artExisting the present invention, now further illustrates technical scheme of the present invention with individual instantiation. Wherein high level dataIn LFB chain and LFB topological connection relation in low layer data corresponding one by one, it is all by manyLFB limit composition, and a LFB limit is made up of a LFB and tail LFB respectively, institute in the present embodimentNeed translation data taking a limit in LFB topology as example.
First define high level data and it carried out to data modeling, and data are deposited in database,Suppose that LFB chain data are wherein as shown in table 1, it is 5 LFB limit that the present embodiment is chosen edge_idFor example, its LFB is EtherClassifier, and tail LFB is IPv6Validator.
Table one
edge_id |
headLFB_id |
headLFB_name |
tailLFB_id |
tailLFB_name |
1 |
1 |
EtherClassifier |
2 |
IPv4Validator |
2 |
2 |
IPv4Validator |
3 |
IPv4UcastLPM |
3 |
3 |
IPv4UcastLPM |
4 |
IPv4NextHop |
4 |
4 |
IPv4NextHop |
5 |
EtherEncap |
5 |
1 |
EtherClassifier |
6 |
IPv6Validator |
6 |
6 |
IPv6Validator |
7 |
IPv6UcastLPM |
7 |
7 |
IPv6UcastLPM |
8 |
IPv6NextHop |
8 |
8 |
IPv6NextHop |
5 |
EtherEncap |
Define low layer data, the ForCES form data structure definition of all low layer data is as table 2 againShown in, be wherein the data element that in table, name is called LFBTopology to LFB topological connection relation,Mainly be applied as in the present embodiment two sub-data elements of tFromLFB and tToLFB, simultaneously thisTwo data elements in the time that the present embodiment is applied, mainly comprise dwLFBClassId and LFBname this twoIndividual sub-data element.
Table two
Data conversion module carries out the operation of connection data storehouse, utilizes database query operations to inquireEdge_id is 5 LFB limit, reads id and the title of the LFB in these data, tail LFBId and title.
Whether the data that judgement reads can directly be changed, and wherein, according to the content of low layer data, createBuild nodes and need to read carrying out after function statistical operation in high level data and change again, can create jointThe point upper limit is the data of known fixed without conversion, and other data are all the data that can directly change, because ofThis in the present embodiment, limit LFB data can directly be changed.
The data that read are converted to the data in LFB topological connection relation, i.e. head in low layer dataThe id of LFB is 1, and name is called EtherClassifier and is converted to: tFromLFB.dwLFBClassId=5, tFromLFB.LFBname=EtherClassifier; The id of tail LFB is 6, and name is calledIPv6Validator is converted to: tToLFB.dwLFBClassId=6, tToLFB.LFBname=IPv6Validator. Now just complete the data transaction on a LFB limit in the present embodiment.
In the time that concrete data transfer device is carried out, until after all low layer data all convert, thenThe function that calls CE in key-course by low layer data distributing in infrastructure layer FE.