CN107508773A - Port winding method, system and interchanger - Google Patents
Port winding method, system and interchanger Download PDFInfo
- Publication number
- CN107508773A CN107508773A CN201610415800.9A CN201610415800A CN107508773A CN 107508773 A CN107508773 A CN 107508773A CN 201610415800 A CN201610415800 A CN 201610415800A CN 107508773 A CN107508773 A CN 107508773A
- Authority
- CN
- China
- Prior art keywords
- port
- packet
- adjustment
- equipment
- address
- 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
Links
- 238000004804 winding Methods 0.000 title claims abstract description 36
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000013507 mapping Methods 0.000 claims abstract description 52
- 238000012545 processing Methods 0.000 claims abstract description 21
- 238000012546 transfer Methods 0.000 claims abstract description 8
- 238000004891 communication Methods 0.000 claims description 30
- 238000012937 correction Methods 0.000 claims description 9
- 230000003068 static effect Effects 0.000 description 14
- 230000008859 change Effects 0.000 description 13
- 238000012795 verification Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000036244 malformation Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/25—Routing or path finding in a switch fabric
- H04L49/253—Routing or path finding in a switch fabric using establishment or release of connections between ports
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a kind of port winding method, system and interchanger, and the port winding method includes:A packet is received using first port;Utilize the second port output packet being sent to according to the first mapping table with the Switching Module that the first port is connected as transfer port;Processing, output adjustment packet are adjusted to the packet using adjusting module;The destination address of the adjustment packet corresponds to the first port in first mapping table;The adjustment packet is received using the second port;The adjustment packet is sent into the first port according to first mapping table using the Switching Module being connected with the second port to export, so that second equipment receives the adjustment packet.The present invention, which breaches interchanger, can not carry out the thinking limitation of port winding, there is provided realize the method and system of port winding function, existing switch is possessed port winding function.
Description
Technical field
The invention belongs to communication technical field, is related to a kind of Ethernet switch, more particularly to a kind of port winding side
Method, system and interchanger.
Background technology
With the development of network, Ethernet switch (abbreviation interchanger) application is very universal.Interchanger is not only applied
Office, family lan, and the broadband access of Ethernet also turn into the Internet broadband and access one of most economical mode.
Interchanger is made up of exchanger chip (or exchanger chip group) and accessory circuit, and each chip manufacturer has in detail
Circuit data.Loopback will not occur in the case of the port normal use of exchanger chip.So-called loopback refers to packet from exchange
Also need to export from the port after a port input of machine, such as:Assuming that interchanger has 3 ports, packet A is from the 1st end
After mouth input, the output of the 1st port is returned again.Once generation winding, confusion will occur for the communication of interchanger, that is to say, that existing
Some interchangers can not realize this function of winding.
But external cable wrong or other it is special due to, port occur loopback situation occur,
Sometimes switch ports themselves are even needed to be capable of winding, faced with this situation, the present invention proposes a kind of specific solution party
Case.
The content of the invention
In view of the above the shortcomings that prior art, it is an object of the invention to provide a kind of port winding method, system
And interchanger, for solving the problems, such as that existing Ethernet switch can not realize this function of port winding.
In order to achieve the above objects and other related objects, the present invention provides a kind of port winding method, applied to extremely
In the exchange system of few 2 ports, the port winding method includes:A packet is received using first port;The data
The address of corresponding first equipment of the source address of bag, the address of corresponding second equipment of destination address of the packet;Described first
Equipment and the second equipment utilize the first port communication with the outside world;Utilize the interchange mode root tuber being connected with the first port
The packet is sent to according to the first mapping table and exported as the second port of transfer port;First corresponding relation
Table is the mapping table of port numbering and device address, wherein, the first port and the second port are dynamic end
Mouthful;Processing, output adjustment data are adjusted to the packet using the adjusting module being connected with second port communication
Bag;The destination address of the adjustment packet corresponds to the first port in first mapping table;Utilize described
Two-port netwerk receives the adjustment packet;It is corresponding according to described first using the Switching Module being connected with the second port
The adjustment packet is sent to the first port and exported by relation table, so that second equipment receives the adjustment number
According to bag.
In one embodiment of the invention, the packet is clear data bag, and the adjustment packet is coded data
The adjustment decoded packet data can be the clear data bag by bag, second equipment;Or the packet is coding
Packet, the adjustment packet is decoded clear data bag, and first equipment can compile the clear data bag
Code is the coded data packet.
In one embodiment of the invention, the adjusting module is line sequence adjusting module or/and data processing module.
In one embodiment of the invention, the second port has fault tolerance, can receive the wrong number of check bit
According to bag;The first port has error correction, is exported after packet to be output being recalculated into check bit.
The present invention also provides a kind of port loop system, and the port loop system includes:First port, receive a data
Bag;The address of corresponding first equipment of the source address of the packet, the ground of corresponding second equipment of destination address of the packet
Location;First equipment and the second equipment utilize the first port communication with the outside world;Switching Module, with the first port
It is connected, the packet is sent to according to the first mapping table and exported as the second port of transfer port;Described first
Mapping table is the mapping table of port numbering and device address, wherein, the first port and the second port are equal
For dynamic port;Adjusting module, it is connected with second port communication, processing, output adjustment is adjusted to the packet
Packet;The destination address of the adjustment packet corresponds to the first port in first mapping table;Described
Two-port netwerk receives the adjustment packet;The Switching Module passes the adjustment packet according to first mapping table
The first port output is delivered to, so that second equipment receives the adjustment packet.
In one embodiment of the invention, the packet is clear data bag, and the adjustment packet is coded data
The adjustment decoded packet data can be the clear data bag by bag, second equipment;Or the packet is coding
Packet, the adjustment packet is decoded clear data bag, and first equipment can compile the clear data bag
Code is the coded data packet.
In one embodiment of the invention, the adjusting module is line sequence adjusting module or/and data processing module.
In one embodiment of the invention, the second port has fault tolerance, can receive the wrong number of check bit
According to bag;The first port has error correction, is exported after packet to be output being recalculated into check bit.
The present invention also provides a kind of interchanger, and the port that the interchanger includes described in claim 5 to 8 any one is returned
Loop system.
In one embodiment of the invention, the interchanger also includes:The port of at least one the 3rd, with the Switching Module
Communication is connected.
As described above, port winding method, system and the interchanger of the present invention, have the advantages that:
The present invention, which breaches interchanger, can not carry out the thinking limitation of port winding, there is provided realize port winding function
Method and system, existing switch is set to possess port winding function.
Brief description of the drawings
Fig. 1 is shown as a kind of implementation process schematic diagram of the port winding method described in the embodiment of the present invention.
One kind that Fig. 2 is shown as the port loop system described in the embodiment of the present invention realizes structural representation.
One kind that Fig. 3 is shown as the interchanger described in the embodiment of the present invention realizes structural representation.
Component label instructions
110 first equipment
120 second equipment
200 port loop systems
210,310 first ports
220,320 Switching Modules
230,330 second ports
240,340 adjusting modules
300 interchangers
350 the 3rd ports
S101~S108 steps
Embodiment
Illustrate embodiments of the present invention below by way of specific instantiation, those skilled in the art can be by this specification
Disclosed content understands other advantages and effect of the present invention easily.The present invention can also pass through specific realities different in addition
The mode of applying is embodied or practiced, the various details in this specification can also be based on different viewpoints with application, without departing from
Various modifications or alterations are carried out under the spirit of the present invention.It should be noted that in the case where not conflicting, following examples and implementation
Feature in example can be mutually combined.
It should be noted that the diagram provided in following examples only illustrates the basic structure of the present invention in a schematic way
Think, only show the component relevant with the present invention in schema then rather than according to component count, shape and the size during actual implement
Draw, kenel, quantity and the ratio of each component can be a kind of random change during its actual implementation, and its assembly layout kenel
It is likely more complexity.
Referring to Fig. 1, when the first equipment passes through same port (such as Port of same switching equipment with the second equipment
1) communication with the outside world, and when can not be directly in communication with each other between the first equipment and the second equipment, then the first equipment is set with second
Standby interactive information just has to be input to the switching equipment, then the port Port from the switching equipment from port Port 1
1 output returns to the second equipment or the first equipment.One packet needs to input from the same port of switching equipment, then defeated from original
Inbound port exports, and here it is a winding process.However, existing any switching equipment does not possess winding function, once
Confusion will occur for generation winding, the communication of switching equipment.
To solve the above problems, the present embodiment provides a kind of port winding method, shown in Figure 1, this method can be applied
In the exchange system with least two port, the port winding method includes:
S101, a packet is received using first port (such as Port 1);The source address of the packet corresponding first is set
Standby address, the address of corresponding second equipment of destination address of the packet;I.e. the packet is sent to from the first equipment
Second equipment.First equipment and the second equipment utilize the first port communication with the outside world.
S102, the packet are transmitted to what the first port was connected from the first port (such as Port 1) and exchanged
Module.
S103, the packet is sent to according to the first mapping table by the use of the Switching Module and is used as transfer port
Second port (such as Port 2) output.First mapping table is the mapping table of port numbering and device address,
Wherein, the first port and the second port are dynamic port.
S104, the second port transmit the packet to the adjusting module being connected with second port communication.
S105, the adjusting module are adjusted processing, output adjustment packet to the packet;Utilize described second
Port receives the adjustment packet.Described in the destination address of the adjustment packet corresponds in first mapping table
First port.Wherein, the packet is clear data bag, and the adjustment packet is coded data packet, second equipment
Can be the clear data bag by the adjustment decoded packet data;Or the packet is coded data packet, the adjustment
Packet is decoded clear data bag, and the clear data packet encoder can be the coded data by first equipment
Bag.
The adjusting module is line sequence adjusting module, or/and data processing module.The line sequence adjusting module is to data
The functional module that the content ordering of bag is adjusted;Such as:Assuming that the packet is exported to 4 first from the second port
Line interface A1, A2, A3, A4,4 first line interfaces A1, A2, A3, A4 are connect by circuit and 4 the second circuits respectively
Mouth B1, B3, B4, B2, which is corresponded, to be connected, then the line sequence adjusting module is i.e. by 4 communication links A1-B1, A2-B3, A3-
B4, A4-B2 are formed.When packet is by 4 communication link A1-B1, A2-B2, A3-B3, when A4-B4 is transmitted, packet it is interior
Holding sequence will not change, and the communication link in addition to this corresponded manner all can cause the content ordering of packet to become
Change.The data processing module is the functional module that operation coding is carried out to the content of packet, such as:CPU, FPGA etc. are any
The module of codified processing.
S106, the second port transmit the adjustment packet to the Switching Module.Further, second end
Mouth has fault tolerance, can receive the wrong packet of check bit;, can meanwhile the first port has error correction
Exported after packet to be output is recalculated into check bit.Such as:When packet is changed into adjustment packet by adjusting module
Afterwards, the check bit for adjusting packet does not change therewith, remains as the check bit of the packet before change, then obviously adjust number
It is wrong according to bag, and second port can receive the wrong adjustment packet of such check bit.Meanwhile first port is exporting
Before the wrong adjustment packet of check bit, the correct check bit of the adjustment packet can be recalculated, then corrects adjustment
Exported again after the check bit of packet.
S107, using the Switching Module according to first mapping table by it is described adjustment packet be sent to described in
First port exports.
S108, second equipment receive the adjustment packet.
Such as:If the address of the first equipment is X, the address of the second equipment is Y;Wherein, it is address X ' after address X codings,
It is address Y ' after address Y codings.Accordingly, a kind of implementation of first mapping table can be found in shown in table 1.
Table 1
Step | State | Port numbering | Address | Explanation |
Addition in advance | It is static | Port 1 | Y' | Packet is sent to Port 2 |
Addition in advance | It is static | Port 2 | Y | Packet after adjusting is sent to Port 1 |
S101 | Dynamically | Port 1 | X | Recorded after Port 1 receives the packet |
S105 | Dynamically | Port 2 | X' | Recorded after Port 2 receives adjustment after packet |
First, the static address that first mapping table presets the first port is Y ', presets second end
The static address of mouth is Y.
In step S101, when it is the packet that X destination addresses are Y that first port, which receives the source address, described first
The dynamic address of the first port is arranged to X by mapping table.
In step S103, the Switching Module finds the static state of the second port when searching first mapping table
Address is Y, then sends the packet to the second port and export.
In step S105, the source address of the adjustment packet is encoded to X ', and destination address is encoded to Y '.Second end
After mouth receives the adjustment packet, the dynamic address of the second port is arranged to X ' by first mapping table.
In step S107, the Switching Module finds the static state of the first port when searching first mapping table
Address is Y ', then sends the packet to the first port and export.
In step S108, because the destination address of the adjustment packet is Y ', corresponding to the second equipment, so second sets
It is standby to receive the adjustment packet, and the first equipment will not receive the adjustment packet.
The protection domain of winding method in port of the present invention is not limited to the step execution sequence that the present embodiment is enumerated, all
The step of being the prior art done according to the principle of present invention increase and decrease, step replace realized scheme and are included in the present invention
Protection domain in.
The present invention also provides a kind of port loop system, and the port loop system can realize port of the present invention
Winding method, but the realization device of winding method in port of the present invention includes but is not limited to the port that the present embodiment is enumerated and returned
The structure of loop system, the malformation and replacement of the prior art that every principle according to the present invention is done, is included in this hair
In bright protection domain.
Shown in Figure 2, the port loop system 200 includes:First port 210, Switching Module 220, second port
230, adjusting module 240.
The first port 210 receives a packet.The address of corresponding first equipment 110 of the source address of the packet,
The address of corresponding second equipment 120 of the destination address of the packet;I.e. the packet is to be sent to second from the first equipment 110
Equipment 120.The equipment 120 of first equipment 110 and second utilizes the communication with the outside world of first port 210.
The Switching Module 220 is connected with the first port 210, is passed the packet according to the first mapping table
Deliver to and exported as the second port 230 of transfer port.First mapping table is port numbering and pair of device address
Relation table is answered, wherein, the first port and the second port are dynamic port.
Such as:When the address of the first equipment is X, the address of the second equipment is Y;Wherein, it is address X ' after address X codings,
It is address Y ' after address Y codings.So accordingly, a kind of implementation of first mapping table can be found in shown in table 1.
The static address that first mapping table presets the first port is Y ', and the static address for presetting the second port is
Y.When it is the packet that X destination addresses are Y that first port, which receives the source address, first mapping table is by described the
The dynamic address of Single port is arranged to X.The Switching Module finds the second port when searching first mapping table
Static address be Y, then by the packet send to the second port export.
The adjusting module 240 is connected with the second port 230 communication, and processing is adjusted to the packet, defeated
Go out to adjust packet.The destination address of the adjustment packet corresponds to the first port in first mapping table.
Wherein, the packet is clear data bag, and the adjustment packet is coded data packet, and second equipment can be by described in
Adjustment decoded packet data is the clear data bag;Or the packet is coded data packet, the adjustment packet is solution
Clear data bag after code, the clear data packet encoder can be the coded data packet by first equipment.
Such as:The source address of the adjustment packet is changed into X ', and destination address is changed into Y '.Described in the second port receives
After adjusting packet, the dynamic address of the second port is arranged to X ' by first mapping table.The Switching Module
The static address that the first port is found when searching first mapping table is Y ', then sends the packet to institute
State first port output.Because the destination address of the adjustment packet is Y ', corresponding to the second equipment, so the second equipment meeting
The adjustment packet is received, and the first equipment will not receive the adjustment packet.
Further, the adjusting module is line sequence adjusting module, or/and data processing module.The line sequence adjusting module
For the functional module being adjusted to the content ordering of packet;Such as:Assuming that the packet exports from the second port
To 4 first line interfaces A1, A2, A3, A4,4 first line interfaces A1, A2, A3, A4 pass through circuit and 4 respectively
Second line interface B1, B3, B4, B2, which are corresponded, to be connected, then the line sequence adjusting module i.e. by 4 communication link A1-B1,
A2-B3, A3-B4, A4-B2 are formed.When packet passes through 4 communication links A1-B1, A2-B2, A3-B3, when A4-B4 is transmitted, number
It will not be changed according to the content ordering of bag, the communication link in addition to this corresponded manner can all cause the content ordering of packet
Change.The data processing module is the functional module that operation coding is carried out to the content of packet, such as:CPU、FPGA
Etc. the module of any codified processing.
The second port 230 receives the adjustment packet.Further, the second port has fault tolerance, energy
Enough receive the wrong packet of check bit;, can be by packet weight to be output meanwhile the first port has error correction
Exported after new calculating check bit.Such as:After packet is changed into adjusting packet by adjusting module, the verification of packet is adjusted
Position does not change therewith, remains as the check bit of the packet before change, then obviously adjustment packet is wrong and second
Port can receive the wrong adjustment packet of such check bit.Meanwhile first port is in the wrong adjustment number in output verification position
Before bag, the correct check bit of the adjustment packet can be recalculated, then after the check bit of correction adjustment packet again
Output.
The adjustment packet is sent to the first end by the Switching Module 220 according to first mapping table
Mouth 210 exports, so that second equipment 120 receives the adjustment packet.
Shown in Figure 3, the present embodiment also provides a kind of interchanger, and the interchanger 300 includes:First port 310, hand over
Change the mold block 320, second port 330, adjusting module 340, the port 350 of at least one the 3rd.
The first port 310 receives a packet.The address of corresponding first equipment 110 of the source address of the packet,
The address of corresponding second equipment 120 of the destination address of the packet;I.e. the packet is to be sent to second from the first equipment to set
Standby.The equipment 120 of first equipment 110 and second utilizes the communication with the outside world of first port 210.
The Switching Module 320 is connected with the first port 310, is passed the packet according to the first mapping table
Deliver to and exported as the second port 330 of transfer port.First mapping table is port numbering and pair of device address
Relation table is answered, wherein, the first port and the second port are dynamic port.
Such as:When the address of the first equipment is X, the address of the second equipment is Y;Wherein, it is address X ' after address X codings,
It is address Y ' after address Y codings.So accordingly, a kind of implementation of first mapping table can be found in shown in table 1.
The static address that first mapping table presets the first port is Y ', and the static address for presetting the second port is
Y.When it is the packet that X destination addresses are Y that first port, which receives the source address, first mapping table is by described the
The dynamic address of Single port is arranged to X.The Switching Module finds the second port when searching first mapping table
Static address be Y, then by the packet send to the second port export.
The adjusting module 340 is connected with the second port 330 communication, and processing is adjusted to the packet, defeated
Go out to adjust packet.The destination address of the adjustment packet corresponds to the first port in first mapping table.
Wherein, the packet is clear data bag, and the adjustment packet is coded data packet, and second equipment can be by described in
Adjustment decoded packet data is the clear data bag;Or the packet is coded data packet, the adjustment packet is solution
Clear data bag after code, the clear data packet encoder can be the coded data packet by first equipment.
Such as:The source address of the adjustment packet is changed into X ', and destination address is changed into Y '.Described in the second port receives
After adjusting packet, the dynamic address of the second port is arranged to X ' by first mapping table.The Switching Module
The static address that the first port is found when searching first mapping table is Y ', then sends the packet to institute
State first port output.Because the destination address of the adjustment packet is Y ', corresponding to the second equipment, so the second equipment meeting
The adjustment packet is received, and the first equipment will not receive the adjustment packet.
Further, the adjusting module is line sequence adjusting module, or/and data processing module.The line sequence adjusting module
For the functional module being adjusted to the content ordering of packet;Such as:Assuming that the packet exports from the second port
To 4 first line interfaces A1, A2, A3, A4,4 first line interfaces A1, A2, A3, A4 pass through circuit and 4 respectively
Second line interface B1, B3, B4, B2, which are corresponded, to be connected, then the line sequence adjusting module i.e. by 4 communication link A1-B1,
A2-B3, A3-B4, A4-B2 are formed.When packet passes through 4 communication links A1-B1, A2-B2, A3-B3, when A4-B4 is transmitted, number
It will not be changed according to the content ordering of bag, the communication link in addition to this corresponded manner can all cause the content ordering of packet
Change.The data processing module is the functional module that operation coding is carried out to the content of packet, such as:CPU、FPGA
Etc. the module of any codified processing.
The second port 330 receives the adjustment packet.Further, the second port has fault tolerance, energy
Enough receive the wrong packet of check bit;, can be by packet weight to be output meanwhile the first port has error correction
Exported after new calculating check bit.Such as:After packet is changed into adjusting packet by adjusting module, the verification of packet is adjusted
Position does not change therewith, remains as the check bit of the packet before change, then obviously adjustment packet is wrong and second
Port can receive the wrong adjustment packet of such check bit.Meanwhile first port is in the wrong adjustment number in output verification position
Before bag, the correct check bit of the adjustment packet can be recalculated, then after the check bit of correction adjustment packet again
Output.
The adjustment packet is sent to the first end by the Switching Module 320 according to first mapping table
Mouth 310 exports, so that second equipment receives the adjustment packet.
3rd port 350 is connected with the Switching Module 320 communication.
The present invention, which breaches conventional switch, can not carry out the thinking limitation of port winding, there is provided realize port winding work(
Method, system and the interchanger of energy, existing switch is read in data from certain port, this is transmitted back to again after transform format
Read in port output.
In summary, the present invention effectively overcomes various shortcoming of the prior art and has high industrial utilization.
The above-described embodiments merely illustrate the principles and effects of the present invention, not for the limitation present invention.It is any ripe
Know the personage of this technology all can carry out modifications and changes under the spirit and scope without prejudice to the present invention to above-described embodiment.Cause
This, those of ordinary skill in the art is complete without departing from disclosed spirit and institute under technological thought such as
Into all equivalent modifications or change, should by the present invention claim be covered.
Claims (10)
- A kind of 1. port winding method, it is characterised in that applied in the exchange system with least two port, the port Winding method includes:A packet is received using first port;The address of corresponding first equipment of the source address of the packet, the packet Corresponding second equipment of destination address address;First equipment and the second equipment are led to using the first port with the external world Letter;By the use of with the Switching Module that the first port is connected according to the first mapping table using the packet be sent to as The second port output of transfer port;First mapping table is the mapping table of port numbering and device address, its In, the first port and the second port are dynamic port;Processing, output adjustment data are adjusted to the packet using the adjusting module being connected with second port communication Bag;The destination address of the adjustment packet corresponds to the first port in first mapping table;The adjustment packet is received using the second port;Using the Switching Module being connected with the second port according to first mapping table by the adjustment data Bag is sent to the first port output, so that second equipment receives the adjustment packet.
- 2. winding method in port according to claim 1, it is characterised in that:The packet is clear data bag, described Adjustment packet is coded data packet, and the adjustment decoded packet data can be the clear data bag by second equipment; Or the packet is coded data packet, the adjustment packet is decoded clear data bag, the first equipment energy It is the coded data packet enough by the clear data packet encoder.
- 3. winding method in port according to claim 1, it is characterised in that:The adjusting module be line sequence adjusting module, Or/and data processing module.
- 4. winding method in port according to claim 1, it is characterised in that:The second port has fault tolerance, energy Enough receive the wrong packet of check bit;The first port has error correction, can count packet to be output again Exported after calculating check bit.
- 5. a kind of port loop system, it is characterised in that the port loop system includes:First port, receive a packet;The address of corresponding first equipment of the source address of the packet, the mesh of the packet Corresponding second equipment in address address;First equipment and the second equipment utilize the first port communication with the outside world;Switching Module, it is connected with the first port, the packet is sent to as transfer according to the first mapping table The second port output of port;First mapping table is the mapping table of port numbering and device address, wherein, institute It is dynamic port that first port, which is stated, with the second port;Adjusting module, it is connected with second port communication, processing, output adjustment packet is adjusted to the packet; The destination address of the adjustment packet corresponds to the first port in first mapping table;The second port receives the adjustment packet;The adjustment packet is sent to the first port according to first mapping table and exported by the Switching Module, So that second equipment receives the adjustment packet.
- 6. port loop system according to claim 5, it is characterised in that:The packet is clear data bag, described Adjustment packet is coded data packet, and the adjustment decoded packet data can be the clear data bag by second equipment; Or the packet is coded data packet, the adjustment packet is decoded clear data bag, the first equipment energy It is the coded data packet enough by the clear data packet encoder.
- 7. port loop system according to claim 5, it is characterised in that:The adjusting module be line sequence adjusting module, Or/and data processing module.
- 8. port loop system according to claim 5, it is characterised in that:The second port has fault tolerance, energy Enough receive the wrong packet of check bit;The first port has error correction, can count packet to be output again Exported after calculating check bit.
- A kind of 9. interchanger, it is characterised in that:The interchanger includes the port winding described in claim 5 to 8 any one System.
- 10. interchanger according to claim 9, it is characterised in that the interchanger also includes:The port of at least one the 3rd, it is connected with Switching Module communication.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610415800.9A CN107508773B (en) | 2016-06-14 | 2016-06-14 | Port loopback method, system and switch |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610415800.9A CN107508773B (en) | 2016-06-14 | 2016-06-14 | Port loopback method, system and switch |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107508773A true CN107508773A (en) | 2017-12-22 |
CN107508773B CN107508773B (en) | 2020-11-13 |
Family
ID=60678555
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610415800.9A Active CN107508773B (en) | 2016-06-14 | 2016-06-14 | Port loopback method, system and switch |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107508773B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1466315A (en) * | 2002-06-05 | 2004-01-07 | 华为技术有限公司 | Implementation method of remote control loopback of communication equipment |
US20080137660A1 (en) * | 2006-12-08 | 2008-06-12 | Alcatel Lucent | Multicasting Unicast Packet/Multiple Classification of a Packet |
CN102377606A (en) * | 2010-08-11 | 2012-03-14 | 鸿富锦精密工业(深圳)有限公司 | Network connection device and port test method thereof |
US8218540B1 (en) * | 2007-12-28 | 2012-07-10 | World Wide Packets, Inc. | Modifying a duplicated packet and forwarding encapsulated packets |
CN103095583A (en) * | 2012-11-09 | 2013-05-08 | 盛科网络(苏州)有限公司 | Method achieving Open flow two-stage flow table through chip loopback and system thereof |
CN103152276A (en) * | 2012-11-23 | 2013-06-12 | 华为技术有限公司 | Port configuration method and Ethernet switch |
US8566649B1 (en) * | 2002-03-29 | 2013-10-22 | Marvell International Ltd. | Fast port failover in a network switch |
US20140126352A1 (en) * | 2012-11-08 | 2014-05-08 | Hitachi Metals, Ltd. | Communication system and network relay device |
TW201528724A (en) * | 2013-12-17 | 2015-07-16 | Hon Hai Prec Ind Co Ltd | System and method for testing switch |
-
2016
- 2016-06-14 CN CN201610415800.9A patent/CN107508773B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8566649B1 (en) * | 2002-03-29 | 2013-10-22 | Marvell International Ltd. | Fast port failover in a network switch |
CN1466315A (en) * | 2002-06-05 | 2004-01-07 | 华为技术有限公司 | Implementation method of remote control loopback of communication equipment |
US20080137660A1 (en) * | 2006-12-08 | 2008-06-12 | Alcatel Lucent | Multicasting Unicast Packet/Multiple Classification of a Packet |
US8218540B1 (en) * | 2007-12-28 | 2012-07-10 | World Wide Packets, Inc. | Modifying a duplicated packet and forwarding encapsulated packets |
CN102377606A (en) * | 2010-08-11 | 2012-03-14 | 鸿富锦精密工业(深圳)有限公司 | Network connection device and port test method thereof |
US20140126352A1 (en) * | 2012-11-08 | 2014-05-08 | Hitachi Metals, Ltd. | Communication system and network relay device |
CN103095583A (en) * | 2012-11-09 | 2013-05-08 | 盛科网络(苏州)有限公司 | Method achieving Open flow two-stage flow table through chip loopback and system thereof |
CN103152276A (en) * | 2012-11-23 | 2013-06-12 | 华为技术有限公司 | Port configuration method and Ethernet switch |
TW201528724A (en) * | 2013-12-17 | 2015-07-16 | Hon Hai Prec Ind Co Ltd | System and method for testing switch |
Non-Patent Citations (1)
Title |
---|
伍晓泉: "以太网交换机环路产生的原因及分析方法", 《电力信息与通信技术》 * |
Also Published As
Publication number | Publication date |
---|---|
CN107508773B (en) | 2020-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106850465B (en) | A kind of Flex E method for interchanging data and switching equipment | |
CN102325084B (en) | Method and system for realizing data exchange in IEC104 (international electrotechnical commission 104) communication protocol forwarding | |
CN102170430A (en) | Multi-port multi-network protocol converter | |
CN102957616A (en) | Method and system for transferring TRILL (transparent interconnection of lots of links) network messages in an ASIC(application specific integrated circuit ) | |
CN206433003U (en) | Ethernet link switching device | |
CN103701680A (en) | Cross-PCIe domain message transmitting method, equipment and system | |
CN107948059A (en) | EtherCAT and Modbus protocol conversion gateways based on SPARC architecture microprocessors | |
US20200412572A1 (en) | Apparatuses and methods involving first type of transaction registers mapped to second type of transaction addresses | |
CN101882975A (en) | A Method of Using Ethernet Frame Preamble to Transmit Data | |
CN100454890C (en) | Data Exchange Method Based on Virtual Local Area Network | |
CN104954205A (en) | Soft routing performance test method | |
CN107508773A (en) | Port winding method, system and interchanger | |
CN106951386A (en) | A kind of multifunction converter based on FPGA | |
CN104580028A (en) | Switch chip message processing method and device based on expansion interfaces | |
CN115776421B (en) | Electromagnetic isolation circuit and method for high-speed network bus | |
CN101227291A (en) | Ethernet MAC layer cross-connection system, transmission method and chip for its application | |
CN101192911B (en) | A data transmission method and system under time division multiplexing | |
CN205092874U (en) | Data link layer circuit of real -time ethernet of industry | |
CN114238193A (en) | Device for data interaction between PROFIBUS-DP bus and BLVDS bus | |
CN107018081A (en) | A kind of method for being used to realize the 1+1 protection of point-to-multipoint | |
CN207884655U (en) | A CAN-LIN communication gateway | |
CN107154871A (en) | VOIP business master-slave conversion system and method based on distributed DSP | |
CN104378313A (en) | Multi-configuration intelligent network switch | |
CN100574466C (en) | A kind of adaptation method of channel associated signalling and communication system | |
CN100393060C (en) | A data communication method inside a device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |