CN105897576B - A kind of router design method of shared route test logic - Google Patents

A kind of router design method of shared route test logic Download PDF

Info

Publication number
CN105897576B
CN105897576B CN201610459940.6A CN201610459940A CN105897576B CN 105897576 B CN105897576 B CN 105897576B CN 201610459940 A CN201610459940 A CN 201610459940A CN 105897576 B CN105897576 B CN 105897576B
Authority
CN
China
Prior art keywords
router
route test
logic
test logic
high speed
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.)
Active
Application number
CN201610459940.6A
Other languages
Chinese (zh)
Other versions
CN105897576A (en
Inventor
付文亮
卢宁宁
张海鹏
杨悦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CETC 54 Research Institute
Original Assignee
CETC 54 Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CETC 54 Research Institute filed Critical CETC 54 Research Institute
Priority to CN201610459940.6A priority Critical patent/CN105897576B/en
Publication of CN105897576A publication Critical patent/CN105897576A/en
Application granted granted Critical
Publication of CN105897576B publication Critical patent/CN105897576B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/60Router architectures

Abstract

The invention discloses a kind of router design methods of shared route test logic, are related to router design field.Router in control area is carried out principal and subordinate's division by this method, and multiple routers is made logically to form a super router (having a route test logic and multiple high speed forward logics for being distributed in different physical locations in control area);The route test logic of active router sends control and inquiry data packet from the high speed forward logic of router to multiple, director data packet is parsed by deployment interface function from the high speed forward logic of router and carries out software and hardware configuration (being mainly concerned with forwarding table information etc.), enters dormant state from the route test logic of router.This method simplifies network structure, reduces lower deployment cost and router energy consumption.

Description

A kind of router design method of shared route test logic
Technical field
The present invention relates to a kind of design method of Novel router, in particular to a kind of permission router shares route test Logic is to reduce the design method of network management complexity and energy consumption.
Background technique
Router is mainly made of route test logic and high speed forward logic two subsystems, the former is for noticing and receiving Collect network route information, and neighbor table, global routing table is calculated according to algorithm, and ultimately generate for different network interfaces (network segment) Forwarding table;The latter is responsible for handling data packet and (calculating verification and update MAC Address etc.), and according to the content of forwarding table Data packet high-speed is forwarded.The responsible work calculation amount of route test logic subsystem is larger, processing delay is of less demanding, and high Fast forwarding logic subsystem usually requires that processing postpones in microsecond even nanosecond rank, but is not required for complicated calculating.Two Subsystem function is relatively independent, is read and write by register and carries out information exchange.Router is important network node, behavior master It to be controlled by route test logic subsystem.In existing commercial routers, route test logic is mainly centered on CPU Hardware system realize that and high speed forward logic is typically based on network processing unit and switching matrix and realizes.
For the ease of management, researcher proposes the concept of virtual router.Virtual router refers to that multiple routers are real Body can be freely combined, and be logically viewed as a virtual router.The entity of network communication is virtual router, It can be undertaken by any router for constituting virtual router, thus virtual router can regard route test logic as (in fact Body) it is further separated with high speed forward logic.In actual motion, the route test of each sub-router of virtual router is patrolled It collects and still works normally, the common calculating task for realizing virtual router.
SDN (Software Defined Network, software defined network) router has been developed in recent years one Kind Novel router is opened the part configuration feature of the route test logic of router by introducing tension management device It puts, and then user command is mapped to high speed forward logic to improve network control capabilities and forward efficiency.From the point of view of essence, SDN router is that conventional router route test logical AND high speed forward framework further develops and isolated result.By opening The route test logical design of formula is put, user can configure data path with arbitrary, guide data in planning Path transmission.Further, since allowing the multiple routers of SDN controller management, there is more macroscopical network view, it can To reach the higher efficiency of management.
There is following two trend by the development of the relevant technologies such as the virtual router, the SDN router that occurred in recent years: 1) being Reach higher network-control and efficiency of transmission, route test logic is controlled towards opening, centralization development, i.e. open portion Distributed AC servo system logic is concentrated while function;2) the data coupling of route test logical AND high speed forward logic is got over Come lower, two standalone feature subsystems establish one's own system.
The network data throughput of existing mainstream commercial routers has reached 40Gbps, and transmission data per second are up to 1250MB, mean data transfer postpone in microsecond rank.From the point of view of throughput and data transfer delay, network transmission technology is complete Control data communications method of the bussing techniques such as local PCIE as route test logic to high speed forward logic can be substituted.
Even if however, the utilization rate of equipment and installations of network router on flow peak generally also less than the 50% of network bandwidth, When the utilization rates such as night are low, typically less than 10%.This is to increase network utilization, reduce power consumption etc. to provide using status Biggish room for improvement.
Summary of the invention
In order to solve the above technical problems, the invention discloses a kind of router design methods of shared route test logic. This method allows the route test logic (being mainly responsible for the calculating etc. that network routes) of active router to multiple height from router Fast forwarding logic is controlled and (enters dormant state from the High-speed Control logic of router), to reach simplified network structure, drop The purpose of low energy consumption.
The technical solution used in the present invention are as follows: a kind of router design method of shared route test logic, including with Lower step:
(1) command interaction between the route test logic and high speed forward logic of all-router in control area is connect Mouth is standardized;
(2) all-router in control area is divided according to communications cost, by the routing that communications cost is minimum Device is as active router;
(3) active router monitors the workload of other routers in this control area in real time, by workload Router less than the first preset value is picked out as from router;
(4) active router takes over the high speed forward logic from router and allows to enter from the route test logic of router Dormant state;
(5) all to enter dormant state from the route test logic of router, and notify its high speed forward logical AND main road Command interaction is carried out by the route test logic of device;
(6) command interaction respectively is carried out from the route test logic of the high speed forward logical AND active router of router;
Complete the router design of shared route test logic.
Wherein, command interaction interface described in step (1) includes local interface and remote interface, and local interface is used for this road By the command interaction of the route test logical AND high speed forward logic of device, remote interface is used for the high speed forward logical AND of router The command interaction of the route test logic of another router.
Wherein, communications cost described in step (2) is the communication that some router reaches other routers in control area Expense and time overhead.
Wherein, from the command interaction between the route test logic of the high speed forward logical AND active router of router through close Key encryption.
It wherein, is more than the second preset value when active router is monitored from the workload of router, then it is assumed that occur great Variation, active router wake up all route test logics from router, and the all-router in control area restores normal work Make state.
The present invention is compared to the advantages of background technique:
1. allowing to enter suspend mode from the route test logic of router to reduce power consumption;
2. mature technical route advantageously reduces lower deployment cost as long as existing route device framework is slightly modified;
3. system design is simple, without introducing additional router control system and meter as the methods of SDN, virtual router Calculate complexity.
Detailed description of the invention
Fig. 1 is the router topology of shared route test logic of the invention;
Fig. 2 is that control area of the invention divides example;
Fig. 3 is that master and slave router divides example in control area of the invention;
Fig. 4 is the router workflow of shared route test logic of the invention.
Specific embodiment
In the following, in conjunction with attached drawing 4, the invention will be further described.
A kind of router design method of shared route test logic, comprising the following steps:
(1) after router startup, the route-map in region is summarized, is set simultaneously according to management domain or user Form multiple control areas;
It is as shown in Figure 2 that control area divides example.
(2) to the command interaction between the route test logic and high speed forward logic of all-router in each control area Interface is standardized;
Route test logic is mainly used for calculating neighbor table, global routing table, and ultimately generates for different network interface (nets Section) forwarding table;High speed forward logic be responsible for handling data packet (calculate verification and update MAC Address etc.) and according to The content of forwarding table forwards data packet high-speed;It is mainly read and write by register between route test logic and high speed forward logic Mode carry out instruction and data interaction, interaction content mainly have routing protocol data packet, forwarding table configuration and basic management Order.
Command interaction interface includes the consistent two parts interface of function: local interface and remote interface.Local interface shows the way It can be interacted by register read-write mode and the high speed forward logic of this router by control logic;Remote interface refers to It is interacted by the high speed forward logic of network interface and other routers, remote interface communication data is needed by key encryption Reason is to guarantee safety.It is standardized between router interior and each router and carries out, for getting through locally, remotely access.
(3) all-router in each control area is divided according to communications cost, by the road that communications cost is minimum By device as active router;
Other router communication expenses are reached in control area and time overhead reckling is active router;Master and slave routing It is as shown in Figure 3 that device divides example.All-router in control area only has one logic entity of active router to represent.Main road by Device is responsible for the configuration of all high speed forward logics from router in one's respective area, is the RDS Route Control Center in control area.Into After entering master slave mode, no longer local high speed forward logic is controlled from the route test logic of router.
(4) active router monitors the workload of other routers in this control area in real time, and according to predetermined Policy selection can enter the router of master slave mode;
Workload is picked out less than the router of the first preset value as from router.
(5) the high speed forward logic for the slave router that active router adapter tube is picked out, and allow the routing control from router Logic processed enters dormant state;The router topology of shared route test logic is as shown in Figure 1.
(6) all to enter dormant state from the route test logic of router, and notify its high speed forward logical AND main road Command interaction is carried out by the route test logic of device;
(7) active router each is managed to administrative from the high speed forward logic of router;Specifically include step:
(701) it will be given after the data message for needing control logic to handle label from the high speed forward logic of router The control logic unit of active router;
(702) active router is the high speed forward logic calculation forwarding table information from router, and forwarding table information is generated Director data packet is sent to the high speed forward logic from router, and is managed to from the high speed forward logic of router;
(703) director data packet is parsed, is gone forward side by side by deployment interface function from the high speed forward logic of router Row software and hardware configuration (is mainly concerned with forwarding table information etc.).
From the point of view of logically, the router of Compliance control logic is represented by active router, and active router has been equivalent to several The super routing of a high speed forward logic;Each expansion interface that active router is equivalent to from the high speed forward logic of router.
In operational process, once network load be more than the second preset threshold, active router can not continue to undertake it is each from road By the control task of device, then each route test logic from router is activated according to predetermined policy, and keep each router extensive Multiple normal condition.

Claims (5)

1. a kind of router design method of shared route test logic, which comprises the following steps:
(1) to the command interaction interface between the route test logic and high speed forward logic of all-router in control area into Row standardization;The route test logic is mainly used for calculating neighbor table, global routing table, and ultimately generates for different network interfaces Forwarding table;The high speed forward logic is responsible for carrying out data packet processing and turns data packet high-speed according to the content of forwarding table Hair;
(2) all-router in control area is divided according to communications cost, the minimum router of communications cost is made For active router;
(3) active router monitors the workload of other routers in this control area in real time, and workload is less than The router of first preset value is picked out as from router;
(4) active router takes over the high speed forward logic from router and allows to enter suspend mode from the route test logic of router State;
(5) all to enter dormant state from the route test logic of router, and notify its high speed forward logical AND active router Route test logic carry out command interaction;
(6) command interaction respectively is carried out from the route test logic of the high speed forward logical AND active router of router;It specifically includes Step:
(601) after the data message for needing route test logic to handle being marked from the high speed forward logic of router It send to the route test logic of active router;
(602) the route test logic of active router receives after the data message after router marking, calculates forwarding table letter Forwarding table information is generated director data packet and exported to the high speed forward logic from router by breath;
(603) after the director data packet that the high speed forward logic of router receives that active router is sent, to director data packet In include instruction parsed, and this router is configured;
Complete the router design of shared route test logic.
2. a kind of router design method of shared route test logic according to claim 1, which is characterized in that step (1) the command interaction interface described in includes local interface and remote interface, and route test of the local interface for this router is patrolled The command interaction with high speed forward logic is collected, remote interface is used for the road of another router of the high speed forward logical AND of router By the command interaction of control logic.
3. a kind of router design method of shared route test logic according to claim 1, which is characterized in that step (2) communications cost described in is the communication overhead and time overhead that some router reaches other routers in control area.
4. a kind of router design method of shared route test logic according to claim 1, which is characterized in that from road By the command interaction key-encrypted processing between the route test logic of the high speed forward logical AND active router of device.
5. a kind of router design method of shared route test logic according to claim 1, which is characterized in that work as master Router monitoring is to being more than the second preset value from the workload of router, then it is assumed that great change occurs, active router wakes up All route test logics from router, the all-router in control area restore normal operating conditions.
CN201610459940.6A 2016-06-23 2016-06-23 A kind of router design method of shared route test logic Active CN105897576B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610459940.6A CN105897576B (en) 2016-06-23 2016-06-23 A kind of router design method of shared route test logic

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610459940.6A CN105897576B (en) 2016-06-23 2016-06-23 A kind of router design method of shared route test logic

Publications (2)

Publication Number Publication Date
CN105897576A CN105897576A (en) 2016-08-24
CN105897576B true CN105897576B (en) 2019-08-30

Family

ID=56718159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610459940.6A Active CN105897576B (en) 2016-06-23 2016-06-23 A kind of router design method of shared route test logic

Country Status (1)

Country Link
CN (1) CN105897576B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020103041A1 (en) * 2018-11-21 2020-05-28 深圳市柔宇科技有限公司 Bluetooth connection control method and router

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1330079A1 (en) * 2002-01-21 2003-07-23 Samsung Electronics Co., Ltd. Router system and method of duplicating one forwarding engine
CN102546351A (en) * 2012-03-15 2012-07-04 北京邮电大学 System and method for interconnecting openflow network and conventional Internet protocol (IP) network
CN104092605A (en) * 2014-07-15 2014-10-08 杭州华三通信技术有限公司 Routers for forming virtue routing device in stacking mode and virtue routing device
CN105553863A (en) * 2015-12-14 2016-05-04 大连梯耐德网络技术有限公司 Multi-logic variant router control system and control method based on OpenFlow

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8948179B2 (en) * 2012-08-21 2015-02-03 Futurewei Technologies, Inc. Method of multiprotocol label switching encapsulation for united router farm forwarding
CN103905523A (en) * 2013-12-23 2014-07-02 浪潮(北京)电子信息产业有限公司 Cloud computing network virtualization method and system based on SDN
CN103888360B (en) * 2014-03-19 2017-01-18 西安交通大学 Method for integrating covering method to obtain service node in SDN based on greedy algorithm

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1330079A1 (en) * 2002-01-21 2003-07-23 Samsung Electronics Co., Ltd. Router system and method of duplicating one forwarding engine
CN102546351A (en) * 2012-03-15 2012-07-04 北京邮电大学 System and method for interconnecting openflow network and conventional Internet protocol (IP) network
CN104092605A (en) * 2014-07-15 2014-10-08 杭州华三通信技术有限公司 Routers for forming virtue routing device in stacking mode and virtue routing device
CN105553863A (en) * 2015-12-14 2016-05-04 大连梯耐德网络技术有限公司 Multi-logic variant router control system and control method based on OpenFlow

Also Published As

Publication number Publication date
CN105897576A (en) 2016-08-24

Similar Documents

Publication Publication Date Title
US10749757B2 (en) Method and apparatus for generating network control policy, and network controller
US10257019B2 (en) Link aggregation split-brain detection and recovery
CN104335530B (en) Network routing protocol power-economizing method and device for network element
CN103534989B (en) Flow control based on priority in distributed frame agreement (DFP) exchange network framework
CN103986663B (en) Data center and its method and network controller for realizing data processing
CN105812340B (en) A kind of method and apparatus of virtual network access outer net
CN103179046A (en) Data center flow control method and data center flow control system based on openflow
US20200296624A1 (en) Frame aggregation method, network setting frame sending method, and device
CN106685903B (en) SDN-based data transmission method, SDN controller and SDN system
WO2014202026A1 (en) Method and system for virtual network mapping protection and computer storage medium
CN102594689A (en) Distributed network control method and device
CN103763310A (en) Firewall service system and method based on virtual network
CN109768924A (en) A kind of SDN network multilink fault restoration methods and system coexisted towards multithread
CN105812217A (en) Virtual network division method and multi-controller agent device
CN106330697A (en) Hybrid network spanning tree establishing method, backup method and control system thereof
CN105516292A (en) Hot standby method of cloud platform of intelligent substation
CN104243536B (en) A kind of bullet train controls network semi-matter simulating system
CN106254274B (en) The method that the transmission of substation's interchanger GOOSE message reduces the end of a thread obstruction
CN105306365A (en) Power communication network and capacity expansion and destroy-resistant routing path determination method thereof
CN108156004A (en) SDN controllers and switch management method
US20140047260A1 (en) Network management system, network management computer and network management method
CN105897576B (en) A kind of router design method of shared route test logic
CN102136957B (en) Label switched path monitoring realization method, device and system
CN112073326B (en) Intelligent substation process layer network data flow control method
JP5141830B2 (en) Communication device, statistical information collection control device, and statistical information collection control method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant