CN101834871B - Open type router device and method thereof - Google Patents
Open type router device and method thereof Download PDFInfo
- Publication number
- CN101834871B CN101834871B CN2010101732615A CN201010173261A CN101834871B CN 101834871 B CN101834871 B CN 101834871B CN 2010101732615 A CN2010101732615 A CN 2010101732615A CN 201010173261 A CN201010173261 A CN 201010173261A CN 101834871 B CN101834871 B CN 101834871B
- Authority
- CN
- China
- Prior art keywords
- forces
- layer
- application service
- module
- operational order
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses an open type router device and a method thereof. In the device, a control element consists of an application service layer, an application service adaptation layer and ForCES middleware; a forwarding element consists of a logical function module layer, a logical function module abstract adaptation layer and the ForCES middleware; and meanwhile, the ForCES middleware further consists of a ForCES protocol layer, a transmission mapping layer, an application function layer and a resource function layer. The invention discloses a method for constructing the open type router device. In the method, all kinds of novel network services are flexibly realized by adding or deleting some components without changing a core component in the patent device. The router device is developed by adopting an open type modular construction so as to improve the flexibility and the efficiency of development of the router device.
Description
Technical field
The invention belongs to computer and the communications field, be specifically related to a kind of open type router device and method thereof.
Background technology
Along with the rapid expansion in the applications of computer network fields such as the Internet, new features, new demand constantly occur and constantly change, and this generation network equipment of will looking for novelty should have enough flexibilities, can make response to new business, new demand rapidly; Require new generation network equipment should have enough openings, make the user can be according to the resource flexible combination of opening, so that different network demand services to be provided; Require new generation network equipment should have enough modular natures, and carry out standardization by standardization body, so that each module can be developed by the different manufacturers independent studies, can become an integral body by the cordwood system type organic assembling again, this cordwood development model can greatly be accelerated the development process of product, also be conducive to simultaneously benign competition, reduce cost, the development of personal computer (PC) sufficient proof the validity of this pattern.
Along with the development of network technology, also more and more higher to the requirement of route apparatus, transmit the router apparatus that separates with control and obtained broad research owing to the flexibility of its height with superior performance.The router apparatus that forwarding separates with control has obtained broad research at present just because of the above requirement of having satisfied new generation network.Carry out about transmitting mainly to formulate to organize under the IETF guiding in internet standard at present with the research of control separated network spare, IETF has set up in special ForCES (Forwarding and Control ElementSeparation transmits and separates with the control piece) working group.
The typical structure of ForCES router apparatus as shown in Figure 1, be divided into forwarding element and control piece two parts, the internet protocol standard of being called as of information exchange Application standard between them " ForCES protocol specification (see Avri Doria; Wang Weiming etc.: RFC5810-ForCES Protocol Specification) ", standardization is so that forwarding element and control piece can be by different manufacturers productions.In the ForCES router apparatus at least one controller is arranged, the controller of a plurality of redundancies also can be arranged, and the quantity of transponder can reach hundreds of.Information exchange between transponder and the controller uses ForCES router apparatus management control protocol to finish, and realizes that controller is to management and the control of transponder.Realize data exchange by network between controller and the transponder, its connection can by jumping network such as an Ethernet, also can be realized by multihop network such as the Internet.Include various resources that the IP packet is processed and transmitted such as grader, scheduler, routing module etc. in the transponder, these resource modules are all opened to controller.Controller can by management and the programming Control of management control protocol realization to resource module in the transponder, be realized the router apparatus function of various needs, such as routing forwarding, QoS control etc.Structure in the transponder as shown in Figure 2, the agreement server is finished the tasks such as protocol analysis, execution.Resource in the transponder is represented as having the resource module (LFB) of various Different Logic functions, and typical resource module has grader, rice table, scheduler, longest-prefix IPv4 or IPv6 Routing Forward Module etc.The function of resource module and performance can manage and control via ForCES router apparatus management control protocol by controller.The management control mode is protocol Data Unit (PDU) the form exchange agreement message between controller and transponder according to management control protocol regulation.
Research about the ForCES router apparatus is mainly carried out in the ForCES working group of the IETF of Internet Engineering taskings.Stipulated the demand (Requirements) of ForCES structure router apparatus among the Internet protocol RFC3654, RFC3746 has stipulated the framework (Framework) of ForCES structure router apparatus.RFC5812 has stipulated the specific descriptions model of each resource module in the transponder " ForCES Forwarding Element (FE) Model ", and RFC5810 has stipulated the management control protocol " ForCES Protocol Specification " of ForCES structure router apparatus.Compare with the conventional router apparatus structure, it is exactly standardized module to be assembled control realize support to all kinds of business that there are the characteristics of a maximum in the realization of ForCES router apparatus, and this realizes support to new business so that the user can make up resource in the router apparatus flexibly.
There are many research institutions that the router apparatus implementation based on the ForCES agreement is studied both at home and abroad, but up to the present, based on not providing clear and definite answer in the concrete implementation agreement of the router apparatus of ForCES agreement, each research group of ForCES also not yet disclosed the effectively implementation of controller and transponder.The present invention unit of submission to has participated in research and the standard formulation work of IETF ForCES working group comprehensively, is the ForCES technical research group that generally acknowledges in the world.
Summary of the invention
The objective of the invention is to overcome the deficiencies in the prior art, a kind of open type router device and method thereof are provided.
Open type router device is comprised of control piece and one or more forwarding element, control piece comprises application service layer, application service adaptation layer, ForCES middleware, forwarding element comprises logic function module layer, logic function module abstracts adaptation layer, ForCES middleware, wherein
Application service layer, the set of diverse network application service module, each module forms separately operational order and operating parameter to forwarding element according to separately network application demand for services, and submits to the application service adaptation layer;
The application service adaptation layer, formed by various application service adapters, provide separately operation-interface to forwarding element to each network application service module of application service layer, to be converted into operational order and operating parameter to the unified standard of one or more logic function modules in the forwarding element from the separately operational order of each application service module and parameter, and give the ForCES middleware;
The ForCES middleware, in control piece, the ForCES middleware provides the operation-interface of the unified standard of logic function module in the forwarding element for the application service adaptation layer, and the operational order and the parameter that receive unified standard also send it to forwarding element; In forwarding element, the ForCES middleware receives operational order and the parameter to the unified standard of various logic functions module in the forwarding element come from the control piece transmission, by logic function module abstracts adaptation layer provide to the separately concrete operation method interface of various logic functions module and separately the operational order of the unified standard that provides of concrete operation method and ForCES middleware and the realization of the mapping relations between parameter to the configuration operation of various logic functions module;
Logic function module abstracts adaptation layer provides the separately concrete operation method of various logic functions module and the separately operational order of the unified standard that provides of concrete operation method and ForCES middleware and the mapping relations between the parameter to the ForCES middleware;
The logic function module layer, the set of various logic functions module, the various logic functions module is carried out various processing data packets and forwarding capability according to the operational order and the operating parameter that receive.
Described ForCES middleware further comprises: ForCES protocol layer, transport mapping layer, application function layer and resource function layer, wherein,
The ForCES protocol layer according to the ForCES protocol specification, is finished encapsulation, the decapsulation of ForCES protocol message, realizes the various mechanism of ForCES agreement;
Transport mapping layer, the operating specification interface is connected with the ForCES protocol layer, finishes the ForCES protocol message by the transmission of various different transmission mediums between control piece and forwarding element;
The application function layer provides the operation-interface that meets the ForCES protocol specification of each logic function module in the forwarding element for the application service adaptation layer;
The resource function layer, the operational order that meets the ForCES protocol specification and parameter to various logic functions module in the forwarding element that reception comes from the control piece transmission, by logic function module abstracts adaptation layer provide to the separately concrete operation method interface of various logic functions module and separately concrete operation method and the operational order that meets the ForCES protocol specification and the realization of the mapping relations between parameter to the configuration operation of various logic functions module.
Separately concrete operation method and the separately operational order of concrete operation method and the ForCES middleware unified standard that provide and mapping relations parameter between of described logic function module abstracts adaptation layer by using login mechanism registration various logic functions module are searched separately concrete operation method and the operational order of the unified standard that the ForCES middleware provides and the mapping relations between the parameter of logic function module by the mode of route matching.
Described application service adaptation layer uses dynamic link library to realize the operational order and the parameter that are converted into from the separately operational order of various application service modules and parameter the unified standard of one or more logic function modules in the forwarding element.
Described ForCES middleware can be a stand-alone utility.
The method that realizes open type router device comprises:
A, do not change application service layer, or add at application service layer as required, deletion network application service module;
B, do not change the application service adaptation layer, or the as required operational order of the unified standard of one or more logic function modules and the program of operating parameter in the application service adaptation layer is added, deletion provides to application service layer network application service module is converted into forwarding element to the separately operational order of the operation-interface of forwarding element and application service module and parameter;
C, do not change the ForCES middleware;
D, do not change logic function module abstracts adaptation layer, or as required to logic function module abstracts adaptation layer add, the separately concrete operation method of deletion logic function module and the separately operational order of the unified standard that provides of concrete operation method and ForCES middleware and the mapping relations between the parameter:
E, do not change the logic function module layer, or as required to the logic function module layer add, deletion logic function module;
The network application service module forms separately operational order and operating parameter to forwarding element according to separately network application demand for services in f, the application service layer, and submits to the application service adaptation layer;
G, application service adaptation layer each network application service module in the application service layer provides separately the operation-interface to forwarding element, to be converted into operational order and operating parameter to the unified standard of one or more logic function modules in the forwarding element from the separately operational order of each application service module and parameter, and give the ForCES middleware;
H, ForCES middleware provide the operation-interface of the unified standard of logic function module in the forwarding element for the application service adaptation layer, and the operational order and the parameter that receive unified standard also send it to forwarding element;
I, in forwarding element, the ForCES middleware receives operational order and the parameter to the unified standard of various logic functions module in the forwarding element come from the control piece transmission, by logic function module abstracts adaptation layer provide to the separately concrete operation method interface of various logic functions module and separately the operational order of the unified standard that provides of concrete operation method and ForCES middleware and the realization of the mapping relations between parameter to the configuration operation of various logic functions module.。
The method of open type router device provided by the present invention and structure open type router device, from the angle of separating practical function the functional stratification of open type router device is realized, by function the control piece in the open type router device is divided into application service layer, application service adaptation layer and ForCES middleware, every layer separate, corresponding transaction module is separately finished application service processing, application service adaptation processing and distributed communication ForCES protocol processes in the control piece respectively; By function the forwarding element in the open type router device is divided into logic function module layer, logic function module abstracts adaptation layer, ForCES middleware, respectively corresponding logic function resume module, logic function module abstracts adaptation processing and distributed communication ForCES protocol processes separately.Simultaneously, setting up again between each layer model has mutual association, in order to order and the parameter transmission and related control that realizes interlayer.The set hierarchical structure of the present invention is to surmount abstraction hierarchy on program code.
The method of the open type router device among the present invention and structure open type router device, proposed a kind of example for making up a modular open type router device of new generation, and the method for open module route platform development is provided based on this example.The router apparatus that utilizes the method in this invention to make up can solve following problem: each module of software and hardware in the open type router device that obtains according to the present invention can be developed by the different manufacturers independent studies, become an integral body by the cordwood system type organic assembling, this cordwood development model can greatly be accelerated the development process of product and product to the adaptive capacity of all kinds of new business, also is conducive to benign competition simultaneously, reduces cost.The present invention is the total solution that a cover is realized open type router device, has been used by real system to prove practicable.From the work of IETF ForCES working group, yet there are no other any effective solution and deliver.Remarkable technological merit of the present invention provides a kind of method of exercisable fast Development distributed modular route platform, has satisfied the demand that routing device of new generation responds fast to Internet service.Can be by standardized prospect so that the present invention has broad application prospects and practical effect prospect widely.
Description of drawings
The typical structure schematic diagram of Fig. 1 ForCES architecture
Fig. 2 ForCES forwarding element structural representation
Fig. 3 open type router device of the present invention forms structural representation
Fig. 4 is based on a kind of ForCES router apparatus hardware structure diagram of the present invention
Fig. 5 is based on the software framework structure figure of a kind of ForCES router apparatus of the present invention
Embodiment
Open type router device, be comprised of control piece and one or more forwarding element, control piece comprises application service layer, application service adaptation layer, ForCES middleware, and forwarding element comprises logic function module layer, logic function module abstracts adaptation layer, ForCES middleware, wherein
Application service layer, the set of diverse network application service module, each module forms separately operational order and operating parameter to forwarding element according to separately network application demand for services, and submits to the application service adaptation layer;
The application service adaptation layer, formed by various application service adapters, provide separately operation-interface to forwarding element to each network application service module of application service layer, to be converted into operational order and operating parameter to the unified standard of one or more logic function modules in the forwarding element from the separately operational order of each application service module and parameter, and give the ForCES middleware;
The ForCES middleware, in control piece, the ForCES middleware provides the operation-interface of the unified standard of logic function module in the forwarding element for the application service adaptation layer, and the operational order and the parameter that receive unified standard also send it to forwarding element; In forwarding element, the ForCES middleware receives operational order and the parameter to the unified standard of various logic functions module in the forwarding element come from the control piece transmission, by logic function module abstracts adaptation layer provide to the separately concrete operation method interface of various logic functions module and separately the operational order of the unified standard that provides of concrete operation method and ForCES middleware and the realization of the mapping relations between parameter to the configuration operation of various logic functions module;
Logic function module abstracts adaptation layer provides the separately concrete operation method of various logic functions module and the separately operational order of the unified standard that provides of concrete operation method and ForCES middleware and the mapping relations between the parameter to the ForCES middleware;
The logic function module layer, the set of various logic functions module, the various logic functions module is carried out various processing data packets and forwarding capability according to the operational order and the operating parameter that receive.
Described ForCES middleware further comprises: ForCES protocol layer, transport mapping layer, application function layer and resource function layer, wherein,
The ForCES protocol layer according to the ForCES protocol specification, is finished encapsulation, the decapsulation of ForCES protocol message, realizes the various mechanism of ForCES agreement;
Transport mapping layer, the operating specification interface is connected with the ForCES protocol layer, finishes the ForCES protocol message by the transmission of various different transmission mediums between control piece and forwarding element;
The application function layer provides the operation-interface that meets the ForCES protocol specification of each logic function module in the forwarding element for the application service adaptation layer;
The resource function layer, the operational order that meets the ForCES protocol specification and parameter to various logic functions module in the forwarding element that reception comes from the control piece transmission, by logic function module abstracts adaptation layer provide to the separately concrete operation method interface of various logic functions module and separately concrete operation method and the operational order that meets the ForCES protocol specification and the realization of the mapping relations between parameter to the configuration operation of various logic functions module.
Separately concrete operation method and the separately operational order of concrete operation method and the ForCES middleware unified standard that provide and mapping relations parameter between of described logic function module abstracts adaptation layer by using login mechanism registration various logic functions module are searched separately concrete operation method and the operational order of the unified standard that the ForCES middleware provides and the mapping relations between the parameter of logic function module by the mode of route matching.
Described application service adaptation layer uses dynamic link library to realize the operational order and the parameter that are converted into from the separately operational order of various application service modules and parameter the unified standard of one or more logic function modules in the forwarding element.
Described ForCES middleware can be a stand-alone utility.
The method that realizes open type router device comprises:
A, do not change application service layer, or add at application service layer as required, deletion network application service module;
B, do not change the application service adaptation layer, or the as required operational order of the unified standard of one or more logic function modules and the program of operating parameter in the application service adaptation layer is added, deletion provides to application service layer network application service module is converted into forwarding element to the separately operational order of the operation-interface of forwarding element and application service module and parameter;
C, do not change the ForCES middleware;
D, do not change logic function module abstracts adaptation layer, or as required to logic function module abstracts adaptation layer add, the separately concrete operation method of deletion logic function module and the separately operational order of the unified standard that provides of concrete operation method and ForCES middleware and the mapping relations between the parameter;
E, do not change the logic function module layer, or as required to the logic function module layer add, deletion logic function module;
The network application service module forms separately operational order and operating parameter to forwarding element according to separately network application demand for services in f, the application service layer, and submits to the application service adaptation layer;
G, application service adaptation layer each network application service module in the application service layer provides separately the operation-interface to forwarding element, to be converted into operational order and operating parameter to the unified standard of one or more logic function modules in the forwarding element from the separately operational order of each application service module and parameter, and give the ForCES middleware;
H, ForCES middleware provide the operation-interface of the unified standard of logic function module in the forwarding element for the application service adaptation layer, and the operational order and the parameter that receive unified standard also send it to forwarding element;
I, in forwarding element, the ForCES middleware receives operational order and the parameter to the unified standard of various logic functions module in the forwarding element come from the control piece transmission, by logic function module abstracts adaptation layer provide to the separately concrete operation method interface of various logic functions module and separately the operational order of the unified standard that provides of concrete operation method and ForCES middleware and the realization of the mapping relations between parameter to the configuration operation of various logic functions module.
Embodiment
Router apparatus typical structure of the present invention as shown in Figure 1, system comprises control piece and forwarding element, control piece and forwarding element can have one or more, wherein a plurality of control pieces are realized the redundancy backup of control; A plurality of forwarding elements can be realized the forward process to different rates and protocol data bag, and wherein the typical structure of forwarding element as shown in Figure 2.The a kind of of each equipment room of system may annexation comprise a control piece and several forwarding elements.Control piece is controlled and information exchange forwarding element, and in order to realize the opening of system, information exchange therebetween is to carry out according to the ForCES consensus standard, guarantees that system effectively moves.
Understand and realization the present invention for the ease of persons skilled in the art, now further specify by reference to the accompanying drawings technical scheme of the present invention, provide a kind of embodiment of the present invention.As shown in Figure 3, in the open type router device of the present invention, control piece is comprised of application service layer 310, application service adaptation layer 320, ForCES middleware 330, and forwarding element is comprised of logic function module layer 350, logic function module abstracts adaptation layer 340, ForCES middleware 330.Wherein, application service layer 310 is set of diverse network application service module, as, various Routing Protocol modules, RSVP module, MPLS module etc.Each module forms separately operational order and operating parameter to forwarding element according to separately network application demand for services, and submit to the application service adaptation layer, as, when routing table changes in the Routing Protocol module, need in forwarding element, to dispose the route table items of corresponding change.Application service adaptation layer 320, formed by various application service adapters, provide separately operation-interface to forwarding element to each network application service module of application service layer, to be converted into operational order and operating parameter to the unified standard of one or more logic function modules in the forwarding element from the separately operational order of each application service module and parameter, and give ForCES middleware 330;
In control piece, ForCES middleware 330 provides the operation-interface of the unified standard of logic function module in the forwarding element for application service adaptation layer 320, receive operational order and the parameter of unified standard and send it to forwarding element, difference can more easily not operate various types of logic function modules of expanding in the forwarding element to this unified standard operation-interface with the difference of logic function module; In forwarding element, ForCES middleware 330 receives from control piece transmission next operational order and parameter to the unified standard of various logic functions module in the forwarding element, the separately concrete operation method interface to the various logic functions module that provides by logic function module abstracts adaptation layer 340, and the separately operational order of the unified standard that provides of concrete operation method and ForCES middleware and the mapping relations between parameter, realize the configuration operation to the various logic functions module;
Logic function module abstracts adaptation layer 340, provide the separately concrete operation method of various logic functions module and the separately operational order of the unified standard that provides of concrete operation method and ForCES middleware and the mapping relations between the parameter to ForCES middleware 330, this kind mapping relations can be to shine upon one to one, it also can be the one-to-many mapping, simultaneously can adopt various ways to realize this mapping relations, as searching coupling to various concrete operation methods according to unified standard operational order and parameter thereof.The separately concrete operation method of all various logic functions modules adopts login mechanism to be registered in the system.
Logic function module layer 350 is set of various logic functions module, realizes packet core forwarding capability in the forwarding element, such as the port function module, realize reception and the sending function of port data bag, two layers of decapsulation functional module of packet realize two layers of decapsulations of packet etc.The various logic functions module is carried out particular data packet processing and forwarding capability according to operational order and the operating parameter from the logic function module abstracts adaptation layer 340 that receive.
The ForCES middleware further comprises ForCES protocol layer 332, transport mapping layer 333, application function layer 331 and resource function layer 334.Wherein the ForCES protocol layer 332, according to the ForCES protocol specification, finish encapsulation, the decapsulation of ForCES protocol message, realize the various mechanism of ForCES agreement; Transport mapping layer 333, the operating specification interface is connected with the ForCES protocol layer, finishes the ForCES protocol message by the transmission of various different transmission mediums between control piece and forwarding element, and transport mapping layer can be based on different agreements, such as TCP/UDP or SCTP etc.; Application function layer 331, for the application service adaptation layer provides the operation-interface that meets the ForCES protocol specification of each logic function module in the forwarding element, simultaneously, but this layer integrated data library facility also, preserve the logic function block message in all forwarding elements, serve disposable inquiry to make things convenient for upper layer application; Resource function layer 334, the operational order that meets the ForCES protocol specification and parameter to various logic functions module in the forwarding element that reception comes from the control piece transmission, by logic function module abstracts adaptation layer provide to the separately concrete operation method interface of various logic functions module and separately concrete operation method and the operational order that meets the ForCES protocol specification and the realization of the mapping relations between parameter to the configuration operation of various logic functions module.
Based on open type router device of the present invention shown in Figure 3, use the increase of the content in certain or certain several layers or the method for deletion, dynamically make up the open type router device that is suitable for various application scenarios.
Fig. 4 be in the embodiments of the invention based on the router apparatus hardware structure diagram of the forwarding element of IXDP network processing unit, have a control piece and three forwarding elements in the system, wherein each forwarding element has four Ethernet interfaces.All devices interconnects via an Ethernet switch, realizes that control piece is to control and the information exchange of three forwarding elements.Three forwarding elements realize that by the ZX5000 power board of Znyx company the high-speed data between the forwarding element exchanges in addition.In an embodiment of the present invention, the concrete hardware and software platform that adopts of each equipment is respectively: the hardware and software platform of control piece is personal computer, adopts the Redhat (SuSE) Linux OS; Three the single network processing unit substrate of an IXDP2851 and two single network processing unit substrates of IXMB2401 that forwarding element uses Intel Company to produce, wherein link layer process is and adopts IXD4GET0 interface board, the software environment of forwarding element to adopt MontaVista Linux embedded OS.AdvancedTCA standard PC case by a 5-slot integrates three forwarding elements and power board.In order to support various new Networks in this route platform, can be by changing relevant interface board and adjusting the Configuration of module of software and hardware in control piece and the forwarding element to the forward process of different business data.
Fig. 5 is based on the detailed software framework structure figure of ForCES router apparatus in the embodiments of the invention.
In each forwarding element, the run entity of realizing the functional module (being arranged in the present invention's functional module layer) of package forward function is micro engine and the Xscale nuclear of network processing unit, and certain functional module is specifically distributed run entity according to concrete condition when realizing.The operation-interface of various logic functions module, logic function module abstracts adaptation layer and ForCES middleware then run in the Xscale nuclear.The basic function module of needs when the logic function block of realizing in this example contains the router apparatus operation, as, ethernet port functional module (EtherPort), reception and the sending function of realization packet; Ethernet packet header decapsulation functional module (EtherDecap) realizes that ethernet mac filters, and the Ethernet bag is classified (as: IPv4, IPv6, ARP, PPP etc.), and different packets changes next different functional modules over to and processes; IP prefix table locating function module (IPv4UcastLPM) is finished searching of IP prefix table; IP down hop locating function module (NextopApplicator) is finished searching of IP down hop list item; Ethernet encapsulation function piece (EtherEncap) carries out two layers of head encapsulation to the IP packet.
Each logic function module has the attribute of oneself in the forwarding element, control piece can be configured or inquire about it, the attributes such as IP address, MAC Address can be arranged such as the EtherPort functional module, the IPv4UcastLPM functional module can have IP prefix table attribute, the NextopApplicator functional module can have IP down hop item attribute, these attributes all can be controlled by control piece, and are regular with the forwarding that changes the IP packet such as the configurable above-mentioned list item of control piece.Each attribute of certain functional module all arranges a unique sign in each forwarding element, this identifies us and it is called " path ", it is like this definition, with logic function module and attribute thereof all as all child nodes under this root tree of forwarding element, then the operation of all properties can define becomes each child node of tree or the operation of leaf, (child of tree root " forwarding element " is the logic function module class and each child node or leaf can be put fraction path (Path) expression by the decimal system, the grandson is the logic function module instance, grandson's child is the attribute of this logic function module), be that the implication of 5.4.1.2 is such as the path: class-mark is that 4 instance number are No. 2 attributes of 1 logic function block in corresponding No. 5 forwarding elements.
The method of operation of each attribute of each functional module (comprising setting, inquiry and deletion) is all registered by the login mechanism of the logic function block abstract adaptation layer among the present invention, login mechanism herein is embodied in these methods, attribute-name and corresponding path is kept in the data structure of tree type, sets up logic function the module separately operational order of the unified standard that provides of concrete operation method and ForCES middleware and the mapping relations between the parameter with this.
When the ForCES middleware in the forwarding element receive come from the control piece transmission to forwarding element in (this operational order (arranges for the unified operation for all logic function modules when the operational order that meets the ForCES protocol specification of various logic functions module and parameter, inquiry or deletion), and in the parameter to the present operational order of operating body of which kind of attribute), operational order and parameter are resolved, and in registered various concrete methods of operation, carry out route matching and search, behind the concrete operation method of acquisition to certain logic function module attribute, directly call to realize the configuration operation to the various logic functions module.
In control piece, each network application service module set Main Basis service logic of application service layer is selected corresponding existing software or self-developing, and what in the native system encapsulation of third party's application software is obtained has Routing Protocol module (such as OSPF, RIP), a network management module; By what the autonomous software development of user obtained user's Operational Management System (UOM) arranged.UOM realizes the control piece management, to the logic function block Topology Management in the forwarding element, route agreement and routing table managed etc.Each application service can adopt the dynamic link library form dynamically to be inserted in the control piece.
The application service adaptation layer is comprised of various application service adapters, provide separately operation-interface to forwarding element to each network application service module of application service layer, comprise UOM adapter, routing management adapter, interface management adapter, they dynamically join in the system with the form of dynamic link library.The application service adaptation layer can be with operational order and the operating parameter that is converted into from the separately operational order of each application service module and parameter the unified standard of one or more logic function modules in the forwarding element.As, when UOM inquires about port information, need call queryPort (arg) interface that the UOM adapter provides, inner at this adapter, be a plurality of attribute query orders of EtherPort logic function block with this interface conversion, comprise IP address lookup, MAC Address inquiry, MTU inquiry etc.; And for example, when the ospf protocol module in the application service layer is moved, when route table items has increase, then need call addRoute (arg) interface that the routing management adapter provides, this moment, this adapter needed the IP prefix entries that this operation be converted to simultaneously IPv4UcastLPM logic function module is operated, and the IP down hop list item of NextopApplicator logic function module is operated.
The ForCES middleware provides the operation-interface of the unified standard of logic function module in the forwarding element for the application service adaptation layer, and the operational order and the parameter that receive unified standard also send it to forwarding element.What the ForCES middleware provided comprises three types to logic function module unified standard operational order: LFBAttriConfig (arg) (configuration of logic function module attribute), LFBAttriQuery (arg) (inquiry of logic function module attribute) and LFBAttriDel (arg) (deletion of logic function module attribute), and to the operating body of the attribute of Different Logic functional module now in the parameter of these three command interfaces.As above-mentioned mention when application service layer calls addRoute (arg) interface that the application service adaptation layer provides, the routing management adapter is converted to operation to two logic function modules with this command operation, call the unified standard operational order LFBAttriConfig (arg) that the ForCES middleware provides for twice, in the present parameter of the operating body of difference in functionality module.
In this application example, transport mapping layer in the ForCES middleware uses the TCP/UDP agreement, encapsulation, the decapsulation of ForCES protocol layer except finishing the ForCES protocol message realizes also undertaking the effect of managing transport mapping layer outside the various mechanism of ForCES agreement.
On the basis of this application example, dynamically increase or delete the content of certain or certain several aspects, to adapt to the application of different demands, as, can increase or delete the network application service module in the application service layer, correspondingly increase or delete the application service layer adapter, can change router apparatus to the support of certain specific service; Increase or delete logic function module and the corresponding corresponding concrete operation method in logic function module abstracts adaptation layer of logic function module layer, can change the specific requirement of forwarding capability in the forwarding element.
Although described the present invention by embodiment, those of ordinary skills know, the present invention has many distortion and variation and do not break away from spirit of the present invention, wish that appended claim comprises these distortion and variation and do not break away from spirit of the present invention.
Claims (6)
1. open type router device, formed by control piece and one or more forwarding element, it is characterized in that, control piece comprises application service layer, application service adaptation layer, ForCES middleware, forwarding element comprises logic function module layer, logic function module abstracts adaptation layer, ForCES middleware, wherein
Application service layer: the set of diverse network application service module, each module forms separately operational order and operating parameter to forwarding element according to separately network application demand for services, and submits to the application service adaptation layer;
Application service adaptation layer: formed by various application service adapters, provide separately operation-interface to forwarding element to each network application service module of application service layer, to be converted into operational order and operating parameter to the unified standard of one or more logic function modules in the forwarding element from the separately operational order of each application service module and parameter, and give the middleware of the ForCES in the control piece;
The ForCES middleware: in control piece, the ForCES middleware provides the operation-interface of the unified standard of logic function module in the forwarding element for the application service adaptation layer, and the operational order and the parameter that receive unified standard also send it to forwarding element; In forwarding element, the ForCES middleware receives operational order and the parameter to the unified standard of various logic functions module in the forwarding element come from the control piece transmission, by logic function module abstracts adaptation layer provide to the separately concrete operation method interface of various logic functions module and separately the operational order of the unified standard that provides of concrete operation method and ForCES middleware and the realization of the mapping relations between parameter to the configuration operation of various logic functions module;
Logic function module abstracts adaptation layer: provide the separately concrete operation method of various logic functions module and the separately operational order of the unified standard that provides of concrete operation method and ForCES middleware and the mapping relations between the parameter to the ForCES middleware;
The logic function module layer: the set of various logic functions module, the various logic functions module is carried out various processing data packets and forwarding capability according to the operational order and the operating parameter that receive.
2. a kind of open type router device according to claim 1 is characterized in that, described ForCES middleware further comprises: ForCES protocol layer, transport mapping layer, application function layer and resource function layer, wherein,
ForCES protocol layer: according to the ForCES protocol specification, finish encapsulation, the decapsulation of ForCES protocol message, realize the various mechanism of ForCES agreement;
Transport mapping layer: the operating specification interface is connected with the ForCES protocol layer, finishes the ForCES protocol message by the transmission of various different transmission mediums between control piece and forwarding element;
Application function layer: the operation-interface that meets the ForCES protocol specification that each logic function module in the forwarding element is provided for the application service adaptation layer;
The resource function layer: receive the operational order that meets the ForCES protocol specification and the parameter to various logic functions module in the forwarding element come from the control piece transmission, by logic function module abstracts adaptation layer provide to the separately concrete operation method interface of various logic functions module and separately concrete operation method and the operational order that meets the ForCES protocol specification and the realization of the mapping relations between parameter to the configuration operation of various logic functions module.
3. a kind of open type router device according to claim 1, it is characterized in that, separately concrete operation method and the separately operational order of concrete operation method and the ForCES middleware unified standard that provide and mapping relations parameter between of described logic function module abstracts adaptation layer by using login mechanism registration various logic functions module are searched separately concrete operation method and the operational order of the unified standard that the ForCES middleware provides and the mapping relations between the parameter of logic function module by the mode of route matching.
4. a kind of open type router device according to claim 1, it is characterized in that described application service adaptation layer uses dynamic link library to realize the operational order and the parameter that are converted into from the separately operational order of various application service modules and parameter the unified standard of one or more logic function modules in the forwarding element.
5. a kind of open type router device according to claim 1 is characterized in that, described ForCES middleware can be a stand-alone utility.
6. realize the as claimed in claim 1 method of open type router device for one kind, it is characterized in that the method comprises:
A, do not change application service layer, or add at application service layer as required, deletion network application service module;
B, do not change the application service adaptation layer, or as required in the application service adaptation layer is added, deletion provides to application service layer network application the service module operational order of the unified standard of one or more logic function modules and the program of operating parameter to the operation-interface of forwarding element and in being converted into the separately operational order of application service module and parameter to forwarding element;
C, do not change the ForCES middleware;
D, do not change logic function module abstracts adaptation layer, or as required to logic function module abstracts adaptation layer add, the separately concrete operation method of deletion logic function module and the separately operational order of the unified standard that provides of concrete operation method and ForCES middleware and the mapping relations between the parameter;
E, do not change the logic function module layer, or as required to the logic function module layer add, deletion logic function module;
The network application service module forms separately operational order and operating parameter to forwarding element according to separately network application demand for services in f, the application service layer, and submits to the application service adaptation layer;
G, application service adaptation layer each network application service module in the application service layer provides separately the operation-interface to forwarding element, to be converted into operational order and operating parameter to the unified standard of one or more logic function modules in the forwarding element from the separately operational order of each application service module and parameter, and give the middleware of the ForCES in the control piece;
ForCES middleware in h, the control piece provides the operation-interface of the unified standard of logic function module in the forwarding element for the application service adaptation layer, and the operational order and the parameter that receive unified standard also send it to forwarding element;
I, in forwarding element, the ForCES middleware receives operational order and the parameter to the unified standard of various logic functions module in the forwarding element come from the control piece transmission, by logic function module abstracts adaptation layer provide to the separately concrete operation method interface of various logic functions module and separately the operational order of the unified standard that provides of concrete operation method and ForCES middleware and the realization of the mapping relations between parameter to the configuration operation of various logic functions module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101732615A CN101834871B (en) | 2010-05-14 | 2010-05-14 | Open type router device and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101732615A CN101834871B (en) | 2010-05-14 | 2010-05-14 | Open type router device and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101834871A CN101834871A (en) | 2010-09-15 |
CN101834871B true CN101834871B (en) | 2013-02-27 |
Family
ID=42718800
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010101732615A Expired - Fee Related CN101834871B (en) | 2010-05-14 | 2010-05-14 | Open type router device and method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101834871B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102073501A (en) * | 2011-01-04 | 2011-05-25 | 浙江工商大学 | Method for implementing central controller of network equipment based on logic functional block |
EP2756641A4 (en) * | 2011-09-16 | 2015-04-22 | Nec Corp | Communication terminal, method of communication, communication system and control apparatus |
CN102752192B (en) * | 2012-04-27 | 2015-06-03 | 浙江工商大学 | Bandwidth allocation method of forwarding and control element separation (ForCES) transmission mapping layer based on stream control transmission protocol (SCTP) |
US9288106B2 (en) * | 2012-11-02 | 2016-03-15 | Telefonaktiebolaget Lm Ericsson (Publ) | Adding device-wide capabilities and parameters to split-architecture devices |
CN103326887B (en) * | 2013-06-28 | 2016-03-16 | 迈普通信技术股份有限公司 | A kind of interface managerial method and system |
CN103533037A (en) * | 2013-09-29 | 2014-01-22 | 浙江工商大学 | Resource scheduling method in forwarding and control separation network based on economic model |
CN106100991B (en) * | 2016-06-02 | 2019-03-26 | 浙江工商大学 | A kind of forward floods method for parallel processing with data packet in control separation system |
CN106341319B (en) * | 2016-08-29 | 2019-05-03 | 烽火通信科技股份有限公司 | A kind of routing acceleration system and method for the cpe device based on Linux framework |
CN112731931A (en) * | 2020-12-23 | 2021-04-30 | 深圳市优必选科技股份有限公司 | Robot navigation method, device, robot and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1588945A (en) * | 2004-08-18 | 2005-03-02 | 浙江工商大学 | Route management control protocol of open programmable structure |
CN1835508A (en) * | 2006-02-24 | 2006-09-20 | 浙江工商大学 | Method of converting and controlling separated network information exchange inside of net |
CN101237413A (en) * | 2008-02-29 | 2008-08-06 | 浙江工商大学 | Method for realizing high-availability of control part under forward and control separated network architecture |
CN101599846A (en) * | 2006-02-24 | 2009-12-09 | 浙江工商大学 | Transmit method with control separated network spare internal information multicast transmission |
-
2010
- 2010-05-14 CN CN2010101732615A patent/CN101834871B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1588945A (en) * | 2004-08-18 | 2005-03-02 | 浙江工商大学 | Route management control protocol of open programmable structure |
CN1835508A (en) * | 2006-02-24 | 2006-09-20 | 浙江工商大学 | Method of converting and controlling separated network information exchange inside of net |
CN101599846A (en) * | 2006-02-24 | 2009-12-09 | 浙江工商大学 | Transmit method with control separated network spare internal information multicast transmission |
CN101237413A (en) * | 2008-02-29 | 2008-08-06 | 浙江工商大学 | Method for realizing high-availability of control part under forward and control separated network architecture |
Non-Patent Citations (2)
Title |
---|
Weiming Wang et al..Design and Implementation of an Open Programmable Router Compliant to IETF ForCES Specifications.《Proceedings of the Sixth International Conference on Networking》.2007,全文. * |
王伟明等.开放可重构路由器协议标准及软件架构技术方案探讨.《信息工程大学学报》.2009,第10卷(第1期),第7-11页. * |
Also Published As
Publication number | Publication date |
---|---|
CN101834871A (en) | 2010-09-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101834871B (en) | Open type router device and method thereof | |
CN104823417B (en) | The conversion for the hybrid network being made up of OpenFlow interchangers and other programmable switches and it is uniformly controlled | |
KR101341272B1 (en) | Providing a logical aggregated point-to-point data link incorporating a multi-point link | |
CN103095565B (en) | A kind of software defined network operating system and its implementation | |
CN103997414B (en) | Generate method and the network control unit of configuration information | |
CN102546351A (en) | System and method for interconnecting openflow network and conventional Internet protocol (IP) network | |
US20140029412A1 (en) | Systems and methods for providing anycast mac addressing in an information handling system | |
CN105264493A (en) | Dynamic virtual machines migration over information centric networks | |
CN102073501A (en) | Method for implementing central controller of network equipment based on logic functional block | |
JP2007166666A (en) | Method and system for network management | |
WO2021226948A1 (en) | Data packet processing method and device based on open virtual switch (ovs) | |
CN105553849A (en) | Conventional IP network and SPTN network intercommunication method and system | |
CN100502329C (en) | Ethernet exchanger and its service processing method | |
CN103067287B (en) | Forwarding and realizing under control separation architecture the method for virtual programmable router | |
Emara et al. | A gateway-based framework for transparent interconnection between WSN and IP network | |
CN104243299A (en) | Tunnel processing method and system, control surface equipment and forwarding surface equipment | |
US20040202197A1 (en) | Mobile terminal and method of providing cross layer interaction in a mobile terminal | |
CN105227460A (en) | A kind of seismic interpretation system based on SDN | |
CN100553257C (en) | Transmit method with the exchange of control separated network spare internal information | |
CN101296168A (en) | Method for chip internal link list supporting policy routing | |
CN104836734B (en) | A kind of brand-new instant messaging method for routing and router | |
CN103905285A (en) | Method for dividing users with the same MAC address into multiple different VLANs | |
CN101599846B (en) | Method for multicast transmission of information in forwarding and controlling separation network wares | |
CN103078802A (en) | Realizing method of logic function block dynamic topology | |
Hagsand et al. | Design and implementation of a distributed router |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130227 Termination date: 20210514 |
|
CF01 | Termination of patent right due to non-payment of annual fee |