[go: up one dir, main page]

CN105227424A - A kind of EOC local side is by the method and system of cascade bridge virtual interface - Google Patents

A kind of EOC local side is by the method and system of cascade bridge virtual interface Download PDF

Info

Publication number
CN105227424A
CN105227424A CN201510676802.9A CN201510676802A CN105227424A CN 105227424 A CN105227424 A CN 105227424A CN 201510676802 A CN201510676802 A CN 201510676802A CN 105227424 A CN105227424 A CN 105227424A
Authority
CN
China
Prior art keywords
bridge
interface
cascade
couplet
line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510676802.9A
Other languages
Chinese (zh)
Other versions
CN105227424B (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

Landscapes

  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Abstract

The invention provides the method and system of a kind of EOC local side by cascade bridge virtual interface, utilize bridge to achieve the function of logic interfacing convergence.Constructing unique second line of a couplet interface by constructing nested bridge, need carry out cascade, and realize the forwarding isolation features of the sub-bridge inside of cascade according to demand to bridge, realizing multiple second line of a couplet chip abstract is the object of an interface.Use general bridge framework to realize actual equipment application, the system of ensure that is the forwarding principle based on bridge, portable and maintainability is higher.

Description

A kind of EOC local side is by the method and system of cascade bridge virtual interface
Technical field
The present invention relates to the method and system of a kind of EOC local side by cascade bridge virtual interface, particularly relate to and be a kind ofly applicable to the method and system of the EOC local side in data communication field by cascade bridge virtual interface.
Background technology
EOC(EthernetoverCoax in data communication field) on facility communication system, cascade bridge can be passed through in EOC local-side device, according to application layer protocol data flow needed for, create virtual interface, and received and dispatched the behavior of message by some property control virtual interfaces of cascade bridge, thus the trend of control data stream.
As shown in Figure 1, EOC local-side device can connect an EOC terminal to EOC network environment, also can connect multiple stage EOC terminal.
To EOC local-side device generally speaking: under, EOC local side is coaxially managed EOC terminal by COAX and data flow mutual; To upper, EOC local-side device receives management flow from ONU or miscellaneous equipment and data flow, and is communicated with other EOC local-side device by ONU.Therefore for some application layer protocols on EOC local side, can be divided into second line of a couplet data flow (coming from EOC terminal equipment) and first line of a couplet data flow (from ONU or miscellaneous equipment) according to the trend of data flow, corresponding logic interfacing is second line of a couplet mouth and upper united mouth.
From the framework of EOC local-side device inside, as shown in Figure 2, second line of a couplet mouth and upper united mouth are the logic interfacing presented application layer protocol, and the physics mouth of its reality and the process of structure are transparent to application layer.In general be by bridge by up and down mouth bridge joint, and process, as shown forwarding with FDB according to the transmitting-receiving message of bridge principle to each interface.
In actual applications, if only connect an EOC terminal under EOC local side, and CPU provides two physics mouths, just easily can mark off upper united mouth and second line of a couplet mouth (without the need to exchange chip), if but connected multiple EOC terminal under EOC local side, would then need to add exchange chip, exchange chip has multiple port, the interface of corresponding each access EOC local side, but in bridge, multiple second line of a couplet chip cannot be abstracted into an interface when this multi-chip.
Bridge can the multiple logic interfacing of bridge joint, and the relation of the logic interfacing under bridge is parallel, several logic interfacing can not be pooled a second line of a couplet mouth or a upper united mouth.Multiple like this logic interface is not just transparent to some agreement of application layer, some EOC local side is in order to address this problem, intermediate layer is added between driving and protocol stack, the data flow relation of all logic interfacing delimited, distinguish the relation between logic interfacing, such an approach achieves transparent to application layer of up and down mouth, but portable poor and add maintenance cost.
Summary of the invention
The technical problem to be solved in the present invention is to provide the method and system of the strong EOC local side of a kind of portability by cascade bridge virtual interface.
The technical solution used in the present invention is as follows: a kind of EOC local side, by the method for cascade bridge virtual interface, is characterized in that:
One, utilize bridge to realize the function of logic interfacing convergence, construct nested bridge;
Two, simultaneously, isolation in amendment second line of a couplet bridge support bridge, constructs unique second line of a couplet interface.
The concrete grammar of the nested bridge of described structure is: in CPU, create a bridge, for bridge joint upper united mouth and a second line of a couplet mouth bridge, wherein upper united mouth is data port, and second line of a couplet mouth bridge can need two interfaces converging by bridge joint, and to revise second line of a couplet mouth bridge be isolation in support bridge.What present application layer protocol like this is second line of a couplet mouth and upper united mouth.
As shown in Figure 2, chip0 and chip1 interface bridge receives second line of a couplet mouth bridge, upper united mouth is data mouth, second line of a couplet mouth and upper united mouth are again by bridge br0 bridge joint, namely a second line of a couplet mouth bridge and upper united mouth is bridged under bridge br0, such chip0 and chip1 just converges on second line of a couplet mouth bridge, and what present application layer protocol is second line of a couplet mouth and upper united mouth.
Generally speaking bridge does not support cascade, according to the principle of bridge to Message processing, needs to do some changes to the forwarding behavior of the sub-bridge of cascade bridge:
The method step that possesses of described step 2 is:
1, make bridge support cascade bridge and under realizing sub-bridge interface isolation;
2, logic interfacing is created;
3, amendment drives initiating port configuration, initializtion protocol stack port relation: add in sub-bridge by the logic interfacing of multiple second line of a couplet chip, and now sub-bridge is the second line of a couplet interface taken out, then Jiang Ziqiao and upper united mouth are added in father's bridge, forms the cascade of bridge;
4, reception and the transmission of logic interfacing process message is opened.
The concrete grammar of described step 1 is: the restriction creating interface in amendment bridge, makes sub-bridge can add in father's bridge as interface; Adopt input and output control method or additive method at User space, close the inundation of sub-bridge, the total interface under sub-bridge is isolated.
As shown in Figure 2, adopt input and output control method (ioctl) or additive method at User space, close the inundation of sub-bridge, the total interface under sub-bridge is isolated.
The concrete grammar of described step 2 is: each port arrangement on exchange chip drives in registration table to corresponding.
Based on the system of above-mentioned EOC local side by the virtual interface of the method for cascade bridge virtual interface, it is characterized in that: comprise,
Nested bridge constructing module, utilizes bridge to realize the nested bridge of functional configuration of logic interfacing convergence;
Interface isolation module, make bridge support cascade bridge and under realizing sub-bridge interface isolation;
Logic interfacing creation module, creates logic interfacing;
Protocol stack port relation initialization module, amendment drives initiating port configuration, initializtion protocol stack port relation;
The reception of logic interfacing process message and transmission opening module, for opening reception and the transmission of logic interfacing process message.
Compared with prior art, the invention has the beneficial effects as follows: utilize general bridge framework to realize actual equipment application, the system of ensure that is the forwarding principle based on bridge, only need to carry out cascade to bridge, just achieving multiple second line of a couplet chip abstract is an interface, and realize the forwarding isolation features of the sub-bridge inside of cascade according to demand, portable and maintainability is higher.
Accompanying drawing explanation
Fig. 1 is the basic network model schematic diagrames of broadcasting and TV.
Fig. 2 is EOC data flowchart of the present invention.
Fig. 3 is the INT data flowchart of the present invention's wherein embodiment.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Arbitrary feature disclosed in this specification (comprise summary and accompanying drawing), unless specifically stated otherwise, all can be replaced by other equivalences or the alternative features with similar object.That is, unless specifically stated otherwise, each feature is an example in a series of equivalence or similar characteristics.
As shown in Figure 3, in this specific embodiment, to be specifically described at the application example of INT equipment.As shown in Figure 3, concrete data flow is as follows for the data flow of the up and down realized:
1, first line of a couplet data flow
In exchange chip, cpu-tag is added to data mouth and finds corresponding dataup upper united mouth through the process of kernel, as need go up protocol stack then dataup directly data message is sent to bridge br0.
The message sent from protocol stack finds dataup mouth through the MAC inquiry of bridge br0, by text delivery to dataup mouth, adds cpu-tag and is sent to exchange chip.
2, second line of a couplet data flow
The data flow being sent to NC from COAX coaxial port direction is all defined as second line of a couplet data flow, in exchange chip, in like manner add the treated logic interfacing chip0 finding correspondence of cpu-tag, according to the processing rule of bridge to message, the data of chip0 mouth can be sent to corresponding datadn bridge, i.e. second line of a couplet mouth.The message sent from chip1 is also delivered to datadn second line of a couplet mouth, only has datadn like this for protocol stack second line of a couplet mouth, as need go up protocol stack then datadn directly data message is sent to father's bridge br0.
The message sent from protocol stack finds datadn mouth through the MAC inquiry of bridge br0, by text delivery to datadn mouth, datadn bridge inquiry content-addressable memory, forwards the data to chip0 or chip1, and chip0/chip1 is sent to exchange chip through driving process that message is added cpu-tag.
In addition can add at User space the content-addressable memory that father's bridge and sub-bridge are checked in order.

Claims (6)

1. EOC local side is by a method for cascade bridge virtual interface, it is characterized in that:
Utilize bridge to realize the function of logic interfacing convergence, construct nested bridge;
Meanwhile, isolation in amendment second line of a couplet bridge support bridge, constructs unique second line of a couplet interface.
2. EOC local side according to claim 1 is by the method for cascade bridge virtual interface, it is characterized in that: the concrete grammar of the nested bridge of described structure is: in CPU, create a kernel bridge, for bridge joint upper united mouth and a second line of a couplet mouth bridge, wherein upper united mouth is data port, and second line of a couplet mouth bridge can need two interfaces converging by bridge joint, and to revise second line of a couplet mouth bridge be isolation in support bridge.
3. EOC local side according to claim 1 and 2 is by the method for cascade bridge virtual interface, it is characterized in that: the method step that possesses of described step 2 is:
1, make bridge support cascade bridge and under realizing sub-bridge interface isolation;
2, logic interfacing is created;
3, amendment drives initiating port configuration, initializtion protocol stack port relation: add in sub-bridge by the logic interfacing of multiple second line of a couplet chip, and now sub-bridge is the second line of a couplet interface taken out, then Jiang Ziqiao and upper united mouth are added in father's bridge, forms the cascade of bridge;
4, reception and the transmission of logic interfacing process message is opened.
4. EOC local side according to claim 3 is by the method for cascade bridge virtual interface, it is characterized in that: the concrete grammar of described step 1 is: the restriction creating interface in amendment bridge, makes sub-bridge can add in father's bridge as interface; Adopt input and output control method or additive method at User space, close the inundation of sub-bridge, the total interface under sub-bridge is isolated.
5. EOC local side according to claim 3 is by the method for cascade bridge virtual interface, it is characterized in that: the concrete grammar of described step 2 is: each port arrangement on exchange chip drives in registration table to corresponding.
6., based on the system of EOC local side according to claim 1 by the virtual interface of the method for cascade bridge virtual interface, it is characterized in that: comprise,
Nested bridge constructing module, utilizes bridge to realize the nested bridge of functional configuration of logic interfacing convergence;
Interface isolation module, make bridge support cascade bridge and under realizing sub-bridge interface isolation;
Logic interfacing creation module, creates logic interfacing;
Protocol stack port relation initialization module, amendment drives initiating port configuration, initializtion protocol stack port relation;
The reception of logic interfacing process message and transmission opening module, for opening reception and the transmission of logic interfacing process message.
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 true CN105227424A (en) 2016-01-06
CN105227424B 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)

Cited By (3)

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

Citations (6)

* 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
US20100325257A1 (en) * 2009-06-22 2010-12-23 Deepak Goel Systems and methods for providing link management in a multi-core system
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

Patent Citations (6)

* 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
US20100325257A1 (en) * 2009-06-22 2010-12-23 Deepak Goel Systems and methods for providing link management in a multi-core system
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

Cited By (5)

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

Also Published As

Publication number Publication date
CN105227424B (en) 2018-05-15

Similar Documents

Publication Publication Date Title
CN105260337B (en) A kind of automatic addressing method and system of single-chip microcomputer
CN103338161B (en) A kind of method and apparatus realizing cross-equipment aggregation
CN103095583B (en) The method and system of Openflow two-stage stream table are realized by chip loopback
US9614759B2 (en) Systems and methods for providing anycast MAC addressing in an information handling system
CN103188173B (en) A kind of switch device
CN105051706A (en) Device, method and system for operation of a low power PHY with a PCIe protocol stack
US20140126352A1 (en) Communication system and network relay device
CN105227424A (en) A kind of EOC local side is by the method and system of cascade bridge virtual interface
CN104378299A (en) Flow table entry processing method and device
CN102812744A (en) Inter-working of EFM-OAM and CFM-OAM for mobile backhaul networks
CN108173691A (en) A kind of method and device of cross-equipment aggregation
CN104579973B (en) Message forwarding method and device in a kind of Virtual Cluster
CN101222437B (en) Method and system for transparent transmission of BPDU packet in two-layer switching network
CN105094037A (en) Expansion module for programmable logic controller using usb communication
CN103944886B (en) A kind of realization method and system of port security
CN106850261B (en) Network equipment and data transmission method
CN102171976A (en) Data transmission method on switch device and apparatus thereof
CN108881502A (en) A kind of multiple terminals IP address conversion method, apparatus and system
CN111309168A (en) System and device for realizing remote control of intelligent equipment by mouse and keyboard
CN103763219A (en) Method for stacking chips of exchanger
CN103997422A (en) Fault processing method and device for IP interface board
CN104202267A (en) Network equipment configuration method and VSD (vacuum switch dump)
CN105704023B (en) Message forwarding method and device of stacking system and stacking equipment
CN104994137B (en) A method of network transparent proxy
CN103825767B (en) The implementation method and bridge of service quality

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