CN105227424B - A kind of EOC local sides are by cascading the method and system of bridge virtual interface - Google Patents

A kind of EOC local sides are by cascading the method and system of bridge virtual interface Download PDF

Info

Publication number
CN105227424B
CN105227424B CN201510676802.9A CN201510676802A CN105227424B CN 105227424 B CN105227424 B CN 105227424B CN 201510676802 A CN201510676802 A CN 201510676802A CN 105227424 B CN105227424 B CN 105227424B
Authority
CN
China
Prior art keywords
bridge
interface
couplet
line
logic interfacing
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
Application number
CN201510676802.9A
Other languages
Chinese (zh)
Other versions
CN105227424A (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.)
Chengdu Guangda New Network Technology Co Ltd
Original Assignee
Chengdu Guangda New Network Technology Co Ltd
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 Chengdu Guangda New Network Technology Co Ltd filed Critical Chengdu Guangda New Network Technology Co Ltd
Priority to CN201510676802.9A priority Critical patent/CN105227424B/en
Publication of CN105227424A publication Critical patent/CN105227424A/en
Application granted granted Critical
Publication of CN105227424B publication Critical patent/CN105227424B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of EOC local sides by cascading the method and system of bridge virtual interface, the function of logic interfacing convergence is realized using bridge.Unique second line of a couplet interface is constructed by constructing nested bridge, bridge need to be cascaded, and realizes the forwarding isolation features cascaded inside sub- bridge according to demand, realizes that multiple second line of a couplet chips are abstracted as the purpose of an interface.Actual equipment application is realized using general bridge framework, it is ensured that system is the forwarding principle based on bridge, portable and maintainable higher.

Description

A kind of EOC local sides are by cascading the method and system of bridge virtual interface
Technical field
The present invention relates to a kind of EOC local sides by cascading the method and system of bridge virtual interface, more particularly to one kind EOC local sides suitable for data communication field are by cascading the method and system of bridge virtual interface.
Background technology
EOC in data communication field(Ethernet over Coax), can be in EOC local-side device on facility communication system On by cascading bridge, according to needed for the data flow of application layer protocol, create virtual interface, and by cascading some categories of bridge Property control virtual interface transmitting-receiving message behavior, so as to control the trend of data flow.
EOC network environments can also connect more EOC ends as shown in Figure 1, EOC local-side device can connect an EOC terminal End.
To EOC local-side device generally speaking:To under, coaxially EOC terminal is managed by COAX for EOC local sides and number According to the interaction of stream;To upper, EOC local-side device receive management stream and data flow from ONU or miscellaneous equipment, and by ONU with Other EOC local-side device communications.Therefore for some application layer protocols on EOC local sides, according to the trend of data flow Second line of a couplet data flow can be divided into(Come from EOC terminal equipment)With first line of a couplet data flow(From ONU or miscellaneous equipment), corresponding logic Interface is second line of a couplet mouth and upper united mouth.
For the framework inside EOC local-side device, as shown in Fig. 2, second line of a couplet mouth and upper united mouth are to be in application layer protocol The process of existing logic interfacing, its actual port and construction is transparent to application layer.In general being will by bridge Up and down mouth bridges, and is handled according to transmitting-receiving message of the bridge principle to each interface, such as completes forwarding with FDB tables.
In practical applications, if only connecing an EOC terminal under EOC local sides, and CPU provides two ports, so that it may Easily to mark off upper united mouth and second line of a couplet mouth(Without exchange chip)But if multiple EOC terminals are connected under EOC local sides, then Need to add exchange chip, there are multiple ports on exchange chip, correspond to the interface of each access EOC local sides, but in this multi-chip In the case of multiple second line of a couplet chips can not be abstracted into an interface in bridge.
Bridge can bridge multiple logic interfacings, and the relation of the logic interfacing under bridge is parallel, it is impossible to is patrolled several Collect interface and pool a second line of a couplet mouth or a upper united mouth.So multiple logic interfaces are not just transparent to some agreements of application layer , in order to solve this problem some EOC local sides, add intermediate layer between driving and protocol stack, by all logic interfacings Data flow relation delimited, the relation between logic interfacing is distinguished, such an approach achieves up and down mouth to application layer It is transparent, it is but portable poor and add maintenance cost.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of strong EOC local sides of portability virtually to be connect by cascading bridge The method and system of mouth.
The technical solution adopted by the present invention is as follows:A kind of method of EOC local sides by cascading bridge virtual interface, its feature It is:
First, the function of logic interfacing convergence is realized using bridge, constructs nested bridge;
2nd, at the same time, isolation in second line of a couplet bridge support bridge is changed, constructs unique second line of a couplet interface.
The specific method of the nested bridge of construction is:In CPU, create a bridge, for bridge upper united mouth and One second line of a couplet mouth bridge, wherein upper united mouth is data port, and second line of a couplet mouth bridge can bridge two interfaces for needing to converge, and is changed Second line of a couplet mouth bridge is isolation in support bridge.What is so presented for application layer protocol is second line of a couplet mouth and upper united mouth.
As shown in Fig. 2, chip0 and chip1 interfaces are bridged to second line of a couplet mouth bridge, upper united mouth is data mouthfuls, second line of a couplet mouth Bridged again by bridge br0 with upper united mouth, is i.e. a second line of a couplet mouth bridge and a upper united mouth is bridged under bridge br0, so Chip0 and chip1 is just converged on second line of a couplet mouth bridge, and what is presented for application layer protocol is second line of a couplet mouth and upper united mouth.
In general bridge is not supported to cascade, according to bridge to the principle of Message processing, it is necessary to sub- bridge to cascading bridge Some changes are done in forwarding behavior:
The method and step that possesses of the step 2 is:
1st, bridge is supported cascade bridge and realize that the interface under sub- bridge is isolated;
2nd, logic interfacing is created;
3rd, modification driving initiating port configuration, initializtion protocol stack port relation:The logic of multiple second line of a couplet chips is connect Mouth is added in sub- bridge, and the second line of a couplet interface that sub- bridge as takes out at this time, then Jiang Ziqiao and upper united mouth are added in father's bridge, is formed The cascade of bridge;
4th, the reception and transmission of logic interfacing process message are opened.
The specific method of the step 1 is:The limitation that interface is created in bridge is changed, sub- bridge is added as interface Into father's bridge;Input and output control method or other methods are used in User space, close the flooding of sub- bridge, are made all under sub- bridge Interface is isolated.
As shown in Fig. 2, use input and output control method in User space(ioctl)Or other methods, close the flood of sub- bridge It is general, isolate the total interface under sub- bridge.
The specific method of the step 2 is:Each port on exchange chip is configured in corresponding driving registration table.
System based on above-mentioned EOC local sides by cascading the virtual interface of the method for bridge virtual interface, it is characterised in that: Including,
Nested bridge constructing module, the functional configuration nesting bridge of logic interfacing convergence is realized using bridge;
Interface isolation module, makes bridge support cascade bridge and realizes that the interface under sub- bridge is isolated;
Logic interfacing creation module, creates logic interfacing;
Protocol stack port relation initialization module, modification driving initiating port configuration, initializtion protocol stack port relation;
The reception of logic interfacing process message and send opening module, for open logic interfacing process message reception and Send.
Compared with prior art, the beneficial effects of the invention are as follows:Realize that actual equipment should using general bridge framework With, it is ensured that system is the forwarding principle based on bridge, it is only necessary to bridge is cascaded, is achieved that multiple second line of a couplet chips are abstracted as One interface, and the forwarding isolation features cascaded inside sub- bridge are realized according to demand, it is portable and maintainable higher.
Brief description of the drawings
Fig. 1 is the basic network model schematic diagram of broadcasting and TV.
Fig. 2 is EOC data flowcharts of the present invention.
Fig. 3 is the INT data flowcharts of a wherein embodiment of the invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is right The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, not For limiting the present invention.
This specification(Including summary and attached drawing)Disclosed in any feature, unless specifically stated, can be equivalent by other Or the alternative features with similar purpose are replaced.I.e., unless specifically stated, each feature is a series of equivalent or class Like an example in feature.
As shown in figure 3, in this embodiment, it is specifically described by taking the application example in INT equipment as an example.Realize Up and down data flow as shown in figure 3, specific data flow is as follows:
1st, first line of a couplet data flow
Processing of the cpu-tag through kernel is added to data mouthfuls in exchange chip and find corresponding dataup upper united mouths, such as Protocol stack need to be gone up, and then dataup directly sends data message to bridge br0.
Dataup mouthfuls are found from MAC inquiry of the message that protocol stack is sent through bridge br0, by text delivery to dataup Mouthful, addition cpu-tag is sent to exchange chip.
2nd, second line of a couplet data flow
Second line of a couplet data flow is defined as from the data flow that COAX coaxial ports direction is sent to NC, is similarly added in exchange chip Enter cpu-tag and find corresponding logic interfacing chip0 through processing, according to processing rule of the bridge to message, chip0 mouthfuls of data Corresponding datadn bridges, i.e. second line of a couplet mouth can be sent to.The message sent from chip1 is also delivered to datadn second line of a couplet mouths, so Second line of a couplet mouth only has datadn for protocol stack, and datadn directly sends data message to father's bridge br0 if it need to go up protocol stack.
Datadn mouthfuls are found from MAC inquiry of the message that protocol stack is sent through bridge br0, by text delivery to datadn Mouthful, datadn bridges inquiry content-addressable memory, forwards the data to chip0 or chip1, chip0/chip1 and adds message through driving processing Cpu-tag is added to send to exchange chip.
In addition it can be added in User space and order the content-addressable memory for checking father's bridge and sub- bridge.

Claims (4)

  1. A kind of 1. method of EOC local sides by cascading bridge virtual interface, it is characterised in that:
    The function of logic interfacing convergence is realized using bridge, constructs nested bridge;
    Meanwhile isolation in second line of a couplet bridge support bridge is changed, construct unique second line of a couplet interface;
    The specific method of the nested bridge of construction is:In CPU, create a kernel bridge, for bridge upper united mouth and One second line of a couplet bridge, wherein upper united mouth are data port, and second line of a couplet bridge can bridge two interfaces for needing to converge, and change the second line of a couplet Bridge is isolation in support bridge;
    The unique second line of a couplet interface of construction comprises the following steps:
    1st, bridge is supported cascade bridge and realize that the interface under sub- bridge is isolated;
    2nd, logic interfacing is created;
    3rd, modification driving initiating port configuration, initializtion protocol stack port relation:The logic interfacing of multiple second line of a couplet chips is added It is added in sub- bridge, the second line of a couplet interface that sub- bridge as takes out at this time, then Jiang Ziqiao and upper united mouth are added in father's bridge, form bridge Cascade;
    4th, the reception and transmission of logic interfacing process message are opened.
  2. 2. method of the EOC local sides according to claim 1 by cascading bridge virtual interface, it is characterised in that:The step Rapid 1 specific method is:The limitation that interface is created in bridge is changed, sub- bridge is added to as interface in father's bridge;With Family state uses input and output control method, closes the flooding of sub- bridge, isolates the total interface under sub- bridge.
  3. 3. method of the EOC local sides according to claim 1 by cascading bridge virtual interface, it is characterised in that:The step Rapid 2 specific method is:Each port on exchange chip is configured in corresponding driving registration table.
  4. 4. based on system of the EOC local sides by cascading the virtual interface of the method for bridge virtual interface described in claim 1, its It is characterized in that:Including,
    Nested bridge constructing module, the functional configuration nesting bridge of logic interfacing convergence is realized using bridge;
    Interface isolation module, makes bridge support cascade bridge and realizes that the interface under sub- bridge is isolated;
    Logic interfacing creation module, creates logic interfacing;
    Protocol stack port relation initialization module, modification driving initiating port configuration, initializtion protocol stack port relation;
    The reception of logic interfacing process message and transmission opening module, for opening reception and the hair of logic interfacing process message Send.
CN201510676802.9A 2015-10-20 2015-10-20 A kind of EOC local sides are by cascading the method and system of bridge virtual interface Expired - Fee Related CN105227424B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510676802.9A CN105227424B (en) 2015-10-20 2015-10-20 A kind of EOC local sides are by cascading the method and system of bridge virtual interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510676802.9A CN105227424B (en) 2015-10-20 2015-10-20 A kind of EOC local sides are by cascading the method and system of bridge virtual interface

Publications (2)

Publication Number Publication Date
CN105227424A CN105227424A (en) 2016-01-06
CN105227424B true CN105227424B (en) 2018-05-15

Family

ID=54996131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510676802.9A Expired - Fee Related CN105227424B (en) 2015-10-20 2015-10-20 A kind of EOC local sides are by cascading the method and system of bridge virtual interface

Country Status (1)

Country Link
CN (1) CN105227424B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506216B (en) * 2016-11-17 2019-07-02 深圳市茁壮网络股份有限公司 A kind of EOC terminal, port configuration method and device
CN111181866B (en) * 2019-12-21 2023-06-30 武汉迈威通信股份有限公司 Port aggregation method and system based on port isolation
CN111182063B (en) * 2019-12-30 2022-09-09 奇安信科技集团股份有限公司 Data processing method applied to electronic equipment, electronic equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1521986A (en) * 2003-01-28 2004-08-18 华为技术有限公司 Multi-node network management method based on spanning tree protocol
CN2729808Y (en) * 2004-06-22 2005-09-28 北京思倍驰科技有限公司 Data collection device
CN102904759A (en) * 2012-10-18 2013-01-30 太仓市同维电子有限公司 Reinforced EOC (Ethernet over Coax) terminal management system and method for broadcast television network
CN103236942A (en) * 2013-04-07 2013-08-07 潍坊学院 Ethernet port role control device and method for OLT (optical line terminal) equipment
CN104125128A (en) * 2014-08-12 2014-10-29 烽火通信科技股份有限公司 Method for supporting VLAN (virtual local area network) by aid of Linux soft bridge

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2267983B1 (en) * 2009-06-22 2018-08-08 Citrix Systems, Inc. System and method for providing link management in a multi-core system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1521986A (en) * 2003-01-28 2004-08-18 华为技术有限公司 Multi-node network management method based on spanning tree protocol
CN2729808Y (en) * 2004-06-22 2005-09-28 北京思倍驰科技有限公司 Data collection device
CN102904759A (en) * 2012-10-18 2013-01-30 太仓市同维电子有限公司 Reinforced EOC (Ethernet over Coax) terminal management system and method for broadcast television network
CN103236942A (en) * 2013-04-07 2013-08-07 潍坊学院 Ethernet port role control device and method for OLT (optical line terminal) equipment
CN104125128A (en) * 2014-08-12 2014-10-29 烽火通信科技股份有限公司 Method for supporting VLAN (virtual local area network) by aid of Linux soft bridge

Also Published As

Publication number Publication date
CN105227424A (en) 2016-01-06

Similar Documents

Publication Publication Date Title
US9614759B2 (en) Systems and methods for providing anycast MAC addressing in an information handling system
US8369347B2 (en) Fiber channel over Ethernet and fiber channel switching based on Ethernet switch fabrics
CN106302199A (en) A kind of User space protocol stack realization method and system based on L3 Switching machine equipment
CN105227424B (en) A kind of EOC local sides are by cascading the method and system of bridge virtual interface
CN105052081A (en) Communication traffic processing architectures and methods
CN102355377A (en) Entire test system and method for Ethernet switch
CN107302528A (en) A kind of transmission method of multi-protocol data and a kind of gateway apparatus
CN103888349B (en) A kind of family gateway equipment with electric lines of force communication function
CN108173691A (en) A kind of method and device of cross-equipment aggregation
CN103490961A (en) Network equipment
CN206422787U (en) Equipment and system for communication
WO2014132967A1 (en) Communication system, switch, control apparatus, control channel configuration method and program
CN102812744A (en) Inter-working of EFM-OAM and CFM-OAM for mobile backhaul networks
CN101123510A (en) Method, switch and switching chip for port separation of switch
CN101242370B (en) Method for realizing Ethernet and frame-relay Internet and protocol conversion device
CN101296168A (en) Method for chip internal link list supporting policy routing
CN104092684A (en) Method and device for supporting VPN based on OpenFlow protocol
CN103200101A (en) Method and device of open flow multi-table inquiry based on exchange chip
CN106100960A (en) Method, Apparatus and system across the intercommunication of storage area network Fabric
CN103986714B (en) Bus marco network insertion AVB networks are acted on behalf of into implementation method and device
CN106657377B (en) A kind of WIA-PA/ interconnects manufacture network information service adapter and implementation method entirely
Rostami et al. ORAN: OpenFlow routers for academic networks
CN206226450U (en) A kind of distribution Tiny Encryption terminal
CN102447669A (en) Forwarding method of multimedia data streams and forwarding equipment
CN107566238A (en) A kind of method of User space configuration physical interface automatic identification vlan frames and non-vlan frames

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180515

Termination date: 20201020