CN104184617B - InterWorking Equipment pre-add method for reconfiguration, device, system and the network equipment - Google Patents

InterWorking Equipment pre-add method for reconfiguration, device, system and the network equipment Download PDF

Info

Publication number
CN104184617B
CN104184617B CN201410394339.4A CN201410394339A CN104184617B CN 104184617 B CN104184617 B CN 104184617B CN 201410394339 A CN201410394339 A CN 201410394339A CN 104184617 B CN104184617 B CN 104184617B
Authority
CN
China
Prior art keywords
port
emphasis parameters
peer
group
local terminal
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
CN201410394339.4A
Other languages
Chinese (zh)
Other versions
CN104184617A (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.)
Ruijie Networks Co Ltd
Original Assignee
Fujian Star Net Communication 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 Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN201410394339.4A priority Critical patent/CN104184617B/en
Publication of CN104184617A publication Critical patent/CN104184617A/en
Application granted granted Critical
Publication of CN104184617B publication Critical patent/CN104184617B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a kind of InterWorking Equipment pre-add method for reconfiguration, device, system and the network equipment, to improve pre-add method for reconfiguration versatility.The InterWorking Equipment pre-add method for reconfiguration, including:After detecting that connection is established in local terminal port with Peer-Port, local terminal and Peer Negotiation Virtual crosspoint VSU, and it is virtual switch link VSL ports to configure local terminal port;After local terminal selects the chip that one group of pre-emphasis parameters configuration is connected with local terminal port successively from preemphasis allocation list, using each group of pre-emphasis parameters of configuration, continue to send test packet to the Peer-Port respectively in preset duration;The effective pre-emphasis parameters selected according to the Peer-Port configure the chip, and the effectively pre-emphasis parameters are what the Peer-Port was selected according to the test result of the test packet received.

Description

InterWorking Equipment pre-add method for reconfiguration, device, system and the network equipment
Technical field
The present invention relates to network communication technology field, more particularly to a kind of InterWorking Equipment pre-add method for reconfiguration, device, it is System and the network equipment.
Background technology
Interconnection port refer to two ports on two network equipments by physical transmission medium (such as copper cable module or Person's optical module) connection situation, as shown in figure 1, the port B on port A and equipment 2 in equipment 1 passes through physical transmission medium Connection, the message that A is sent from port directly reach port B by physical transmission medium, and vice versa.Connected by interconnection port Two network equipments be properly termed as InterWorking Equipment.
Existing access and convergence switch equipment etc. all carry optical port, in order to realize that the short distance of switch device is mutual Connection, at the same it is cost-effective, generally select the interconnection of copper cable module, the especially application environment of the virtual switch machine equipment of data center In.Because the indicator difference that the switch device copper cable module of different model interconnects is larger, most of switch device can only prop up 3 meters of copper cable module interconnection is held, small part can support 5M copper cable module to interconnect.If necessary to support 7M even longer copper cables Module is interconnected, it is necessary to which increasing PHY chip carries out enhancing driving.
The primary factor for influenceing communication bit error rates (BER, Bit Error Rate) is signal transmission quality, including amplitude, Noise etc..Because signal attenuation is larger, different length, the copper cable module of specification, attenuation degree have differences copper cable module.Exchange Machine equipment transmitting terminal tests whether to meet copper cable module interconnection port by adjusting the output signal (pre-add reconfigures) of chip Between request signal transmission, receiving terminal realizes the optimization of receiving end signal by adjusting equalization function.
Transmitting terminal pre-add method for reconfiguration mainly has two kinds at present:Signal testing screening solidify afterwards configuration and strike-machine test. Signal testing screening solidify afterwards configuration refers to by under copper cable module interconnection mode, joining to switch device to various preemphasis Signal under array is closed carries out signal testing, and one group of optimal pre-emphasis parameters of selection signal are configured.Its advantage is can be with Quantify the signal quality of transmitting terminal, more intuitively, shortcoming is that the product of each model can not be tested, the production of same design Product, because of PCB (Printed Circuit Board, printed circuit board (PCB)) difference, chip differences or case (radomes, for inserting Entering optical module or the container of copper cable module) difference can cause same model different product individual difference to be present, and signal testing All products can not be completely covered.Strike-machine test refers to combine by configuring various pre-emphasis parameters, and strike-machine is carried out to product Test, the stability of product is verified, similar with solidification collocation method, it still can not cover all products, reduce existing Pre-add method for reconfiguration versatility.
The content of the invention
The embodiment of the present invention provides a kind of InterWorking Equipment pre-add method for reconfiguration, device, system and the network equipment, to carry High pre-add method for reconfiguration versatility.
The embodiment of the present invention provides a kind of InterWorking Equipment pre-add method for reconfiguration, including:
After detecting that connection is established in local terminal port with Peer-Port, local terminal and Peer Negotiation Virtual crosspoint VSU, and it is virtual switch link VSL ports to configure local terminal port;
After local terminal selects the chip that one group of pre-emphasis parameters configuration is connected with local terminal port successively from preemphasis allocation list, Using each group of pre-emphasis parameters of configuration, continue to send test packet to the Peer-Port respectively in preset duration;
The effective pre-emphasis parameters selected according to the Peer-Port configure the chip, effective pre-emphasis parameters Selected for the Peer-Port according to the test result of the test packet received.
The present invention implements to provide another InterWorking Equipment pre-add method for reconfiguration, including:
After detecting that connection is established in local terminal port with Peer-Port, local terminal and Peer Negotiation Virtual crosspoint VSU, and it is virtual switch link VSL ports to configure local terminal port;
The test packet that Peer-Port is sent is received, the test packet is that opposite end selects successively from preemphasis allocation list After the chip that one group of pre-emphasis parameters configuration is connected with local terminal port, using each group of pre-emphasis parameters of configuration, respectively pre- If continue what is sent to local terminal port in duration;
For each group of pre-emphasis parameters, test result corresponding to this group of pre-emphasis parameters is determined respectively;
Selection test result meets that any group of pre-emphasis parameters of preparatory condition notify the Peer-Port.
The embodiment of the present invention provides a kind of InterWorking Equipment pre-add reconfiguration device, including:
VSU administrative units, for after detecting that connection is established in local terminal port with Peer-Port, being set up with Peer Negotiation empty Intend crosspoint VSU, and it is virtual switch link VSL ports to configure local terminal port;
Test cell, for selecting one group of pre-emphasis parameters configuration to be connected with local terminal port successively from preemphasis allocation list Chip after, using each group of pre-emphasis parameters of configuration, continue to send to the Peer-Port in preset duration respectively and survey Try message;
Dispensing unit, effective pre-emphasis parameters for being selected according to Peer-Port configure the chip, described effective Pre-emphasis parameters are what the Peer-Port was selected according to the test result of the test packet received.
The embodiment of the present invention provides another InterWorking Equipment pre-add reconfiguration device, including:
VSU administrative units, for after detecting that connection is established in local terminal port with Peer-Port, being set up with Peer Negotiation empty Intend crosspoint VSU, and it is virtual switch link VSL ports to configure local terminal port;
Receiving unit, for receiving the test packet of Peer-Port transmission, the test packet is that opposite end is matched somebody with somebody from preemphasis After putting the chip for selecting one group of pre-emphasis parameters configuration to be connected with local terminal port in table successively, each group of preemphasis of configuration is utilized Parameter, continue what is sent to local terminal port in preset duration respectively;
Determining unit, for for each group of pre-emphasis parameters, determining test knot corresponding to this group of pre-emphasis parameters respectively Fruit;
Selecting unit, for selecting test result to meet that any group of pre-emphasis parameters of preparatory condition notify the opposite end end Mouthful.
A kind of network equipment of offer of the embodiment of the present invention, including the first above-mentioned InterWorking Equipment pre-add reconfiguration device, and/ Or above-mentioned second of InterWorking Equipment pre-add reconfiguration device.
The embodiment of the present invention provides a kind of InterWorking Equipment pre-add reconfiguration system, including the first equipment and the second equipment, its In the first above-mentioned InterWorking Equipment pre-add reconfiguration device of equipment in the first equipment, above-mentioned second of the interconnection of equipment in the second equipment Equipment pre-add reconfiguration device.
InterWorking Equipment pre-add method for reconfiguration, device, system and the network equipment provided in an embodiment of the present invention, at local terminal end After mouth establishes connection with Peer-Port, local terminal and opposite end establishment VSU, and it is VSL ports to configure local terminal port, is utilized respectively pre- The chip that the combination configuration of each group of pre-emphasis parameters in allocation list is connected with local terminal port is aggravated, to opposite end in preset duration Test packet is persistently sent, Peer-Port selects effective pre-emphasis parameters according to the test result to test packet, according to right Effective pre-emphasis parameters that end port is selected configure the chip, for arbitrarily two independent network equipments of interconnection, can adopt The pre-emphasis parameters of transmitting terminal are determined in aforementioned manners, so as to improve the versatility of InterWorking Equipment pre-add method for reconfiguration.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write Specifically noted structure is realized and obtained in book, claims and accompanying drawing.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the present invention, this hair Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the structure that the port A in equipment 1 is connected with the port B in equipment 2 by transmission medium in the prior art Schematic diagram;
Fig. 2 is the application scenarios schematic diagram of pre-add method for reconfiguration in the embodiment of the present invention;
Fig. 3 is in the embodiment of the present invention, and transmitting terminal implements the implementation process diagram of pre-add method for reconfiguration;
Fig. 4 is in the embodiment of the present invention, and receiving terminal implements the implementation process diagram of pre-add method for reconfiguration;
Fig. 5 is the structural representation of the first InterWorking Equipment pre-add reconfiguration device in the embodiment of the present invention;
Fig. 6 is the structural representation of second of InterWorking Equipment pre-add reconfiguration device in the embodiment of the present invention;
Fig. 7 is the structural representation of InterWorking Equipment pre-add reconfiguration system in the embodiment of the present invention.
Embodiment
In order to realize the object of the invention, in the scheme of the embodiment of the present invention, local terminal port and Peer-Port are being detected After establishing connection, local terminal sets up VSU (virtual switch unit) with Peer Negotiation, make it that control can be interacted between local terminal and opposite end Message processed.After VSU is established, configuration local terminal port is VSL (virtual switch link) port, and local terminal is directed to each group of pre-add Weight parameter, test packet is sent in preset duration to opposite end, and opposite end selects according to the test result of the test packet received One group of pre-emphasis parameters simultaneously notifies local terminal, and the pre-emphasis parameters that local terminal is selected using opposite end are configured.
Scheme in various embodiments of the present invention can apply to during InterWorking Equipment pre-add reconfigures, wherein, two equipment it Between can be interconnected by copper cable module, can also be interconnected by optical module, but because optical module signal quality is relatively stable, because This, the embodiment of the present invention is particularly suitable for use in two network equipments interconnected by copper cable module.
The preferred embodiments of the present invention are illustrated below in conjunction with Figure of description, it will be appreciated that described herein Preferred embodiment is merely to illustrate and explain the present invention, and is not intended to limit the present invention, and in the case where not conflicting, this hair The feature in embodiment and embodiment in bright can be mutually combined.
As shown in Fig. 2 the application scenarios schematic diagram for the embodiment of the present invention.The network equipment 1 is configured with service card 1, network Equipment 2 is configured with service card 2.Wherein, service card 1 includes port x E0, XE1, and CPLD (complicated programmable logic device Part), CPU (CPU) 1 and MAC (medium access control) 1, service card 2 include port x E0 ', XE1 ', and CPLD, CPU2 and MAC2.In each service card, the annexation between each device is described as follows:
CPU and MAC by PCIE (Peripheral Component Interconnect Express) bus bar, The management and configuration to MAC chips are realized, while CPU is responsible for the layer protocol message processing of part three.CPU and CPLD pass through local Bus (LBUS, asynchronous parallel bus, be frequently used for interface FLASH CPLD UART controller, be also commonly used for I/O interface controller Initial configuration, or even be also used for data channel) interconnection, CPLD realizes interface conversion, equivalent to one bridge, realizes CPU The communication of management data, realize CPLD and other devices management function.
CPU and module (optical module/copper cable module) are by II2 interface inter-links, and CPU is master equipment, and module is Slaver equipment, realize to module management, such as information such as acquisition module type, speed, it is necessary to the II2 passages for passing through CPU.
Directly interconnected between module and mac chips by high speed serders signals, if 10G optical modules, interface protocol Into SFI, (SerDes (SERializer/DESerializer) serial line interface, it is one kind that broadcom is defined to pattern configurations Agreement, the protocol mode is configured to when using optical module) pattern, if copper cable module, it is configured to CR (SerDes (SERializer/DESerializer) serial line interface, it is another agreement that broadcom is defined, and uses copper cable module When be configured to the protocol mode) pattern.
Interconnected between module and CPLD and by local bus, mainly realize the signal collecting and controlling of module, Such as prsent signal acquisitions, speed control etc..
In equipment initial phase, default configuration is configured between MAC and module, that is, is configured to SFI patterns, and The preemphasis of PHY inside MAC is configured to default configuration, that is, what the mode for being configured with providing in background technology was determined Pre-emphasis parameters.
, can whether in place by CPLD and module local bus interfaces present signal detection modules after upper electricity; If module is not in place, without operative configuration;If in place, module type is identified by II2C interfaces by CPU, is judged For optical module or copper cable module.Illustrated below by taking copper cable module as an example, if optical module, its pre-add method for reconfiguration Reconfigure identical with carrying out pre-add to the network equipment that is connected by copper cable module, repeat no more here.
When it is implemented, if it is determined that when being copper cable module, corresponding port is configured to CR interface types, CPU passes through PCIE interfaces read MAC link (connection) status register bit.And judge whether port is connected with Peer-Port, if do not had Connection, then without operation, connected if detecting and being established with Peer-Port, according to method pair provided in an embodiment of the present invention MAC chips carry out pre-add and reconfigured.
It should be noted that refer to whole physical port, such as interchanger in the port generalized being related in the embodiment of the present invention In each form in involved port form be exactly unique port;Module refers to optical module or copper cable module, and it is It is hot-pluggable.When needing to use corresponding ports, optical module/copper cable module is inserted into corresponding ports.Therefore, module Port using when the device that there must be.
As shown in figure 3, be the implementation process diagram of InterWorking Equipment pre-add method for reconfiguration in the embodiment of the present invention one, bag Include following steps:
S31, after detecting that local terminal port and Peer-Port establish connection, local terminal sets up VSU with Peer Negotiation, and configures Local terminal port is virtual switch link VSL ports.
When it is implemented, after detecting that local terminal port is established with Peer-Port, local terminal CPU matches somebody with somebody with opposite end CPU It is set to VSU relations.By taking the port x E0 ' of the port x E0 of service card in Fig. 21 and service card 2 as an example, both are establishing opening relationships Afterwards, CPU1 and CPU2 consults to set up VSU.After establishing VSU, port x E0 is configured to VSL ports by CPU1, and CPU2 is by end Mouth XE0 ' is configured to VSL ports.CPU1 carries the mark in VSU domains belonging to service card 1, by port x E0 to the port of service card 2 XE0' sends detection property message, while CPU2 carries the mark in VSU domains belonging to service card 2, and detection property is sent to XE0 by XE0' Message, two autonomous devices are built into VSU systems, and determine the hot standby relation of principal and subordinate.Assuming that based on CPU1 is determined, then this hair Preferentially pre-add is carried out in bright embodiment to port XE0 to reconfigure.
It should be noted that in the embodiment of the present invention, pre-add is carried out to port XE0 and reconfigured, referred to pair and port x E0 phases The chip of pass is configured, and is typically pair to be configured with the port x E0 chips being connected, is to MAC chips for this example Configured.
S32, local terminal select the core that one group of pre-emphasis parameters configuration is connected with local terminal port successively from preemphasis allocation list After piece, using each group of pre-emphasis parameters of configuration, continue to send test report to the Peer-Port respectively in preset duration Text.
When it is implemented, CPU1 configures MAC first with first group of pre-emphasis parameters in default preemphasis allocation list Chip, and continue in preset duration to Peer-Port XE0 ' transmission test packets, the survey that Peer-Port XE0 ' parsings receive Message is tried, MAC2 judges error message whether is carried in each test packet, and calculates the bit error rate (in preset duration It is interior, the ratio of the quantity of the error message received and the test packet total quantity received), the like, CPU1 is sharp successively With second group in default preemphasis allocation list, the 3rd group ... pre-emphasis parameters configuration MAC chips, and respectively when default Continue to send test packet to Peer-Port XE0 ' in length, MAC2 calculates error code corresponding to each group of pre-emphasis parameters successively Rate, until each group of pre-emphasis parameters in traversal preemphasis allocation list.
Preferably, when it is implemented, test packet can be PRBS (pseudo-random binary sequence, Pseudo-Random Binary Sequence), CPU1 structure PRBS code streams, a pseudo noise code binary generator is realized, between generation (0,1) Pseudo-random binary sequence, in preset duration by local terminal port x E0 continue to Peer-Port XE0 ' send structure PRBS code streams.PRBS can be used for the bit error rate for testing high-speed serial channel transmission, generally be surveyed by sending PRBS codes Examination.The bit error rate that the bit error rate Billy obtained using PRBS is obtained with common test message is more accurate.
Opposite end CPU is verified that PRBS checking is exactly PRBS caused inverse process, specifically receiving PRBS code streams Method is that the data register one received is clapped into (parallel data) first, the data of deposit is carried out into PRBS codings, the number after coding According to compared with the data received, representing that PRBS verifications are correct if consistent, PBRS tests pass through, and otherwise PBRS is tested Do not pass through.
The chip that S33, the effective pre-emphasis parameters selected according to Peer-Port configuration are connected with local terminal port.
When it is implemented, Peer-Port can be directed to each group of pre-emphasis parameters, judge whether received in preset duration The bit error rate is counted to error message and according to the error message received, so that test packet is PBRS as an example, such as the institute of table 1 Show:
Table 1
Pre-emphasis parameters identify PRBS test results Error message quantity The bit error rate
1 fail n1 n1/n
………. fail n+x (n+x)/n
N fail n2 n2/n
N+1 Pass 0 0
N+2 Pass 0 0
…………. pass 0 0
N+M Pass 0 0
N+M+1 fai k3 k3/n
…………. fail k+x (k+x)/n
K-2 fail k2 k2/n
K-1 fail K1 k1/n
As long as when it is implemented, receiving an error message, that is, judge that PBRS test results (do not pass through) for fail, only Have and do not include an error message in all messages received, just judge that PBRS test results (pass through) for Pass.Selecting During effective pre-emphasis parameters, CPU2 exclude first test result be fail pre-emphasis parameters combine, and from test result be into Any group of preemphasis is selected in the pre-emphasis parameters that work((quantity of the error message received is zero) and the bit error rate are zero Parameter is as effective pre-emphasis parameters and by XE0 and XE0 ' between establish VSL links notice CPU1, CPU1 using effectively it is pre- Parameter is aggravated to configure MAC chips.
Preferably, when it is implemented, CPU2 can be in being selected in the pre-emphasis parameters passed through from continuous test result Between be effective pre-emphasis parameters, pre-emphasis parameters as shown in table 1 are identified as " N+2 " and its effective preemphasis ginseng of next conduct Number notice service card 1.
When it is implemented, after local terminal (i.e. service card 1) carries out configuration completion, Turnover testing is carried out, that is, is repeated above-mentioned Step carries out pre-emphasis parameters configuration to service card 2.Test packet is sent out from CPU2 to CPU1, after CPU1 carries out analytical analysis, The effective pre-emphasis parameters selected are advertised to CPU2, the pre-add that CPU2 completes corresponding ports XE0' reconfigures.
CPU1 and CPU2 is after the effective pre-emphasis parameters selected according to opposite end configure to local terminal port, release The VSU of foundation, and local terminal port is configured to common switching port respectively.
When it is implemented, because signal quality variation caused by environmental change, and copper cable module and switch device make Cause the signal quality variation of ageing equipment introducing with the time so that the signal quality meeting transmitted between copper cable module interconnection port Decline as ambient parameter changes.
In order to solve the above problems, in the embodiment of the present invention, local terminal port is being carried out after pre-add reconfigures, can be with The ambient parameter that record configuration pre-emphasis parameters are, changes in ambient parameter and meets that pre-emphasis parameters reconfigure condition When, the chip to be connected with local terminal port configures pre-emphasis parameters again.So that ambient parameter is time and temperature as an example, the present invention Local terminal port is being carried out after pre-add reconfigures in embodiment, record setup time and configuration temperature (in the embodiment of the present invention, To be configured the temperature of chip as configuration temperature).Local terminal CPU monitors the temperature of current time and current MAC chips in real time, is working as The time interval of preceding time and setup time are more than prefixed time interval or Current Temperatures and are more than preset temperature with configuration temperature To be that the chip being connected with local terminal port configures pre-emphasis parameters again during interval.
In addition, in the embodiment of the present invention, the counter registers of opposite end MAC chips monitor in the message received in real time Whether error message is included, once finding to receive error message, interrupt signal will be sent to local terminal CPU, local terminal CPU is being received To after interrupt signal, it will be that the chip being connected with local terminal port reconfigures pre-emphasis parameters again, that is, re-execute above-mentioned Step S31~step S33.
It should be noted that due to carry out pre-emphasis parameters configuration need to take certain bandwidth resources, in order to avoid by Network congestion is caused in carrying out pre-emphasis parameters configuration occupied bandwidth resource, in the embodiment of the present invention, it may be determined that there is currently During network bandwidth surplus, pre-emphasis parameters configuration is carried out using network bandwidth surplus.Specifically, re-starting pre-emphasis parameters Before configuration, the bandwidth of the current occupancy that E-Packets of statistics, if the bandwidth sum shared with carrying out pre-emphasis parameters configuration More than current network maximum bandwidth, then pre-emphasis parameters configuration is not re-started, if it is with carrying out pre-emphasis parameters configuration institute The bandwidth sum of occupancy is no more than current network maximum bandwidth, then re-starts pre-emphasis parameters configuration.Hereby it is achieved that pre-add The dynamic configuration of weight parameter, can dynamically it be adjusted with the change of ambient parameter (such as time, temperature), to ensure to appoint The one moment pre-emphasis parameters of configuration are current allocation optimum.
In the embodiment of the present invention, two independent network equipments configurations of interconnection are configured into VSU, two ports of interconnection For VSL, CPU structure pseudo noise code binary generators carry out pseudo noise code binary sequence test, opposite end be configured as it is pseudo- with Machine code binary system checker is verified, and so as to filter out optimal pre-add reconfiguration parameters and notify local terminal CPU, makes it to this End carries out pre-add and reconfigured.And monitoring influences the critical environments parameter of signal quality in real time, adaptive configuration is realized, improves letter Number quality stability, strengthen the robustness of application.
The embodiment of the present invention can apply to any port type, and adaptive under any virtual switch implementation is matched somebody with somebody Put.
Based on same inventive concept, a kind of opposite end implementation InterWorking Equipment pre-add is additionally provided in the embodiment of the present invention and is reconfigured Method and corresponding InterWorking Equipment pre-add reconfiguration device, the network equipment and system, due to the above method, device, equipment and The principle that system solves problem is similar to above-mentioned InterWorking Equipment pre-add method for reconfiguration, therefore the above method, device, equipment and is The implementation of system may refer to the implementation of method, repeats part and repeats no more.
As shown in figure 4, implement the implementation process diagram of InterWorking Equipment pre-add method for reconfiguration for receiving terminal, including it is following Step:
S41, after detecting that local terminal port and Peer-Port establish connection, local terminal exchanges singly with Peer Negotiation Virtual First VSU, and it is virtual switch link VSL ports to configure local terminal port.
S42, receive the test packet that Peer-Port is sent.
Wherein, the test packet is that opposite end selects one group of pre-emphasis parameters configuration and this successively from preemphasis allocation list After the chip for holding port connection, using each group of pre-emphasis parameters of configuration, continue respectively in preset duration to local terminal port Send.
S43, for each group of pre-emphasis parameters, determine test result corresponding to this group of pre-emphasis parameters respectively.
S44, selection test result meet any group of pre-emphasis parameters notice Peer-Port of preparatory condition.
Wherein, step S43 can be directed to each group of pre-emphasis parameters, determine whether receive mistake in preset duration respectively Report the bit error rate corresponding to the quantity and this group of pre-emphasis parameters of text by mistake;Step S44 can be from the error message quantity received With the group corresponding to the bit error rate be to select one group of pre-emphasis parameters to notify the Peer-Port in zero one group of pre-emphasis parameters.
As shown in figure 5, the structural representation for the first InterWorking Equipment pre-add reconfiguration device provided in an embodiment of the present invention Figure, including:
VSU administrative units 51, for after detecting that connection is established in local terminal port with Peer-Port, being set up with Peer Negotiation Virtual switch unit VSU, and it is virtual switch link VSL ports to configure local terminal port;
Test cell 52, for selecting one group of pre-emphasis parameters configuration to connect with local terminal port successively from preemphasis allocation list After the chip connect, using each group of pre-emphasis parameters of configuration, continue to send to the Peer-Port in preset duration respectively Test packet;
Dispensing unit 53, effective pre-emphasis parameters for being selected according to Peer-Port configure the chip, described to have Effect pre-emphasis parameters are what the Peer-Port was selected according to the test result of the test packet received.
Preferably, test packet includes pseudorandom binary sequence PRBS.Test cell 52 can be used for building PRBS code streams, Continue to send the PRBS code streams built to the Peer-Port in preset duration.
When it is implemented, the first above-mentioned InterWorking Equipment pre-add reconfiguration device, can also include recording unit, wherein:
The recording unit, for the effective pre-emphasis parameters selected in the dispensing unit according to the Peer-Port After configuring the chip, record configures ambient parameter during pre-emphasis parameters;
The dispensing unit, it is additionally operable to change in the ambient parameter and meets that pre-emphasis parameters reconfigure condition When, configure pre-emphasis parameters again for the chip.
When it is implemented, the VSU administrative units 51, are additionally operable in the effective pre-add selected according to the Peer-Port After chip described in weight parameter configuration, the VSU of establishment is discharged, configuration local terminal port is switching port;The dispensing unit 53, also For when receiving the interrupt signal of opposite end transmission, configuring pre-emphasis parameters again for the chip, wherein described interrupt letter Sent when number in the message received including error message for opposite end.
When it is implemented, the first above-mentioned InterWorking Equipment pre-add reconfiguration device, can also include recording unit, for Before the dispensing unit 53 configures pre-emphasis parameters for the chip again, it is defined as the chip configuration pre-emphasis parameters element The shared bandwidth bandwidth sum shared with current message forwarding is no more than network maximum bandwidth.
As shown in fig. 6, be second of InterWorking Equipment pre-add reconfiguration device provided in an embodiment of the present invention, including:
VSU administrative units 61, for after detecting that connection is established in local terminal port with Peer-Port, being set up with Peer Negotiation Virtual switch unit VSU, and it is virtual switch link VSL ports to configure local terminal port;
Receiving unit 62, for receiving the test packet of Peer-Port transmission, the test packet is opposite end from preemphasis After selecting the chip that one group of pre-emphasis parameters configuration is connected with local terminal port in allocation list successively, each group of pre-add of configuration is utilized Weight parameter, continue what is sent to local terminal port in preset duration respectively;
Determining unit 63, for for each group of pre-emphasis parameters, determining to test corresponding to this group of pre-emphasis parameters respectively As a result;
Selecting unit 64, for selecting test result to meet that any group of pre-emphasis parameters of preparatory condition notify the opposite end Port.
When it is implemented, the determining unit 63, specifically for for each group of pre-emphasis parameters, determining respectively default Whether the quantity and this group pre-emphasis parameters of error message corresponding to the bit error rate is received in duration;The selecting unit 64, tool It is to select one in zero one group of pre-emphasis parameters that body, which is used for from the bit error rate corresponding to the error message quantity and the group received, Group pre-emphasis parameters notify the Peer-Port.
For convenience of description, above each several part is divided by function describes respectively for each module (or unit).Certainly, exist The function of each module (or unit) can be realized in same or multiple softwares or hardware when implementing of the invention.It is such as above-mentioned The first InterWorking Equipment pre-add reconfiguration device and second above-mentioned of InterWorking Equipment pre-add reconfiguration device can distinguish It is arranged in the network equipments such as interchanger, the network equipments such as interchanger can also be arranged at simultaneously, the present invention is not limited this.
As shown in fig. 7, be the structural representation of InterWorking Equipment pre-add reconfiguration system provided in an embodiment of the present invention, including First equipment 71 and the second equipment 72, wherein, the first above-mentioned InterWorking Equipment pre-add reconfiguration device is included in the first equipment 71, Equipment has above-mentioned second of InterWorking Equipment pre-add reconfiguration device in second network equipment.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (17)

  1. A kind of 1. InterWorking Equipment pre-add method for reconfiguration, it is characterised in that including:
    After detecting that connection is established in local terminal port with Peer-Port, local terminal and Peer Negotiation Virtual crosspoint VSU, and It is virtual switch link VSL ports to configure local terminal port;
    After local terminal selects the chip that one group of pre-emphasis parameters configuration is connected with local terminal port successively from preemphasis allocation list, utilize Each group of pre-emphasis parameters of configuration, continue to send test packet to the Peer-Port respectively in preset duration;
    The effective pre-emphasis parameters selected according to the Peer-Port configure the chip, and the effectively pre-emphasis parameters are institute State what Peer-Port was selected according to the test result of the test packet received.
  2. 2. the method as described in claim 1, it is characterised in that the test packet includes pseudorandom binary sequence PRBS;And
    Continue to send test packet to the Peer-Port in preset duration, including:
    PRBS code streams are built, continue to send the PRBS code streams of structure to the Peer-Port in preset duration.
  3. 3. the method as described in claim 1, it is characterised in that in the effective preemphasis ginseng selected according to the Peer-Port After number configures the chip, in addition to:
    Ambient parameter during record configuration pre-emphasis parameters;
    When the ambient parameter changes and meets that pre-emphasis parameters reconfigure condition, pre-add is configured again for the chip Weight parameter.
  4. 4. method as claimed in claim 3, it is characterised in that the ambient parameter includes time and temperature;And
    The pre-emphasis parameters, which reconfigure condition, to be included:Time interval between current time and setup time is more than preset time Interval or Current Temperatures are more than preset temperature interval with configuration temperature.
  5. 5. the method as described in claim 1, it is characterised in that in the effective preemphasis ginseng selected according to the Peer-Port After number configures the chip, in addition to:
    The VSU set up is discharged, configuration local terminal port is switching port;And
    When receiving the interrupt signal of opposite end transmission, pre-emphasis parameters are configured for the chip again, wherein described interrupt letter Sent when number in the message received including error message for opposite end.
  6. 6. the method as described in claim 3,4 or 5, it is characterised in that again be the chip configure pre-emphasis parameters it Before, in addition to:
    It is defined as bandwidth sum of the bandwidth shared by the chip configuration pre-emphasis parameters element shared by with current message forwarding No more than network maximum bandwidth.
  7. A kind of 7. InterWorking Equipment pre-add method for reconfiguration, it is characterised in that including:
    After detecting that connection is established in local terminal port with Peer-Port, local terminal and Peer Negotiation Virtual crosspoint VSU, and It is virtual switch link VSL ports to configure local terminal port;
    The test packet that Peer-Port is sent is received, the test packet is that opposite end selects one group successively from preemphasis allocation list After the chip that is connected with local terminal port of pre-emphasis parameters configuration, using each group of pre-emphasis parameters of configuration, respectively when default Continue what is sent to local terminal port in length;
    For each group of pre-emphasis parameters, test result corresponding to this group of pre-emphasis parameters is determined respectively;
    Selection test result meets that any group of pre-emphasis parameters of preparatory condition notify the Peer-Port.
  8. 8. method as claimed in claim 7, it is characterised in that for each group of pre-emphasis parameters, determine this group of pre-add respectively Test result corresponding to weight parameter, including:
    For each group of pre-emphasis parameters, determine whether to receive the quantity of error message in preset duration respectively and the group is pre- Aggravate the bit error rate corresponding to parameter;
    Selection test result meets that any group of pre-emphasis parameters of preparatory condition notify the Peer-Port, including:
    It is zero one group of pre-emphasis parameters from the bit error rate corresponding to the error message quantity received and this group of pre-emphasis parameters One group of pre-emphasis parameters of middle selection notify the Peer-Port.
  9. A kind of 9. InterWorking Equipment pre-add reconfiguration device, it is characterised in that including:
    VSU administrative units, for after detecting that connection is established in local terminal port with Peer-Port, being handed over Peer Negotiation Virtual Unit VSU is changed, and it is virtual switch link VSL ports to configure local terminal port;
    Test cell, for the core for selecting one group of pre-emphasis parameters configuration to be connected with local terminal port successively from preemphasis allocation list After piece, using each group of pre-emphasis parameters of configuration, continue to send test report to the Peer-Port respectively in preset duration Text;
    Dispensing unit, effective pre-emphasis parameters for being selected according to Peer-Port configure the chip, effective pre-add Weight parameter is what the Peer-Port was selected according to the test result of the test packet received.
  10. 10. device as claimed in claim 9, it is characterised in that the test packet includes pseudorandom binary sequence PRBS;And
    The test cell, specifically for building PRBS code streams, continue to send structure to the Peer-Port in preset duration PRBS code streams.
  11. 11. device as claimed in claim 9, it is characterised in that also including recording unit, wherein:
    The recording unit, effective pre-emphasis parameters for being selected in the dispensing unit according to the Peer-Port configure After the chip, record configures ambient parameter during pre-emphasis parameters;
    The dispensing unit, it is additionally operable to when the ambient parameter changes and meets that pre-emphasis parameters reconfigure condition, weight Newly pre-emphasis parameters are configured for the chip.
  12. 12. device as claimed in claim 11, it is characterised in that
    The VSU administrative units, it is additionally operable to configure the core in the effective pre-emphasis parameters selected according to the Peer-Port After piece, the VSU of establishment is discharged, configuration local terminal port is switching port;
    The dispensing unit, it is additionally operable to, when receiving the interrupt signal of opposite end transmission, configure preemphasis again for the chip Parameter, wherein what the interrupt signal was sent when including error message in the message received for opposite end.
  13. 13. the device as described in claim 11 or 12, it is characterised in that also include:
    Determining unit, for before the dispensing unit configures pre-emphasis parameters for the chip again, being defined as the core Bandwidth shared by piece configuration pre-emphasis parameters element is no more than network maximum belt with the bandwidth sum shared by current message forwarding It is wide.
  14. A kind of 14. InterWorking Equipment pre-add reconfiguration device, it is characterised in that including:
    VSU administrative units, for after detecting that connection is established in local terminal port with Peer-Port, being handed over Peer Negotiation Virtual Unit VSU is changed, and it is virtual switch link VSL ports to configure local terminal port;
    Receiving unit, for receiving the test packet of Peer-Port transmission, the test packet is opposite end from preemphasis allocation list In select the chip that the configuration of one group of pre-emphasis parameters is connected with local terminal port successively after, utilize each group of preemphasis ginseng of configuration Number, continue what is sent to local terminal port in preset duration respectively;
    Determining unit, for for each group of pre-emphasis parameters, determining test result corresponding to this group of pre-emphasis parameters respectively;
    Selecting unit, for selecting test result to meet that any group of pre-emphasis parameters of preparatory condition notify the Peer-Port.
  15. 15. device as claimed in claim 14, it is characterised in that
    The determining unit, specifically for for each group of pre-emphasis parameters, determining whether received in preset duration respectively The bit error rate corresponding to the quantity of error message and this group of pre-emphasis parameters;
    The selecting unit, specifically for equal from the bit error rate corresponding to the error message quantity received and this group of pre-emphasis parameters One group of pre-emphasis parameters is selected to notify the Peer-Port in one group of pre-emphasis parameters for being zero.
  16. 16. a kind of network equipment, it is characterised in that including the InterWorking Equipment as described in claim 9~13 any claim Pre-add reconfiguration device, and/or the InterWorking Equipment pre-add reconfiguration device as described in claims 14 or 15.
  17. 17. a kind of InterWorking Equipment pre-add reconfiguration system, including the first equipment and the second equipment, it is characterised in that:Described first InterWorking Equipment pre-add reconfiguration device as described in claim 9~13 any claim is set in equipment, and described second sets InterWorking Equipment pre-add reconfiguration device of the standby middle setting as described in claims 14 or 15.
CN201410394339.4A 2014-08-12 2014-08-12 InterWorking Equipment pre-add method for reconfiguration, device, system and the network equipment Active CN104184617B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410394339.4A CN104184617B (en) 2014-08-12 2014-08-12 InterWorking Equipment pre-add method for reconfiguration, device, system and the network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410394339.4A CN104184617B (en) 2014-08-12 2014-08-12 InterWorking Equipment pre-add method for reconfiguration, device, system and the network equipment

Publications (2)

Publication Number Publication Date
CN104184617A CN104184617A (en) 2014-12-03
CN104184617B true CN104184617B (en) 2017-12-26

Family

ID=51965377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410394339.4A Active CN104184617B (en) 2014-08-12 2014-08-12 InterWorking Equipment pre-add method for reconfiguration, device, system and the network equipment

Country Status (1)

Country Link
CN (1) CN104184617B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486270A (en) * 2014-09-28 2015-04-01 浪潮(北京)电子信息产业有限公司 Method and device for obtaining pre-emphasis equilibrium value of worst case
CN104579897B (en) * 2014-12-04 2018-12-14 福建星网锐捷网络有限公司 A kind of frame access configuration method, apparatus and system
WO2016192112A1 (en) * 2015-06-05 2016-12-08 华为技术有限公司 Method and apparatus for processing high-speed serial signal
CN106330594A (en) * 2015-07-02 2017-01-11 中兴通讯股份有限公司 Pre-emphasis parameter configuration method and apparatus
CN105450568B (en) * 2015-10-31 2018-11-09 成都华为技术有限公司 A kind of communication means, apparatus and system based on parameter negotiation
CN105610607A (en) * 2015-12-17 2016-05-25 上海市共进通信技术有限公司 Method for achieving automatic adjustment of parameters of Ethernet based on PRBS
CN105703840A (en) * 2016-01-22 2016-06-22 盛科网络(苏州)有限公司 Method for quickly selecting pre-emphasis parameter of high-speed serdes
CN113114414B (en) * 2016-03-28 2022-07-12 华为技术有限公司 Method and device for determining parameters
CN105930225B (en) * 2016-04-25 2017-12-05 浪潮电子信息产业股份有限公司 Self-adaptive link quality optimization method
CN106375110B (en) * 2016-08-23 2019-09-06 新华三技术有限公司 A kind of port training method and device
CN108933600B (en) * 2017-05-26 2020-11-06 深圳市中兴微电子技术有限公司 Automatic debugging method for SerDes link parameters
CN107592227A (en) * 2017-09-15 2018-01-16 北京百卓网络技术有限公司 The automatic method for removing of network equipment failure and communication system and the network equipment
CN108039961A (en) * 2017-12-01 2018-05-15 周阳 A kind of apparatus and method for automatically configuring high speed serialization transceiver parameters
CN109462436B (en) * 2018-12-27 2021-02-09 新华三技术有限公司 Test board, signal transmission method and test system
CN109936425B (en) * 2019-03-29 2022-02-08 武汉邮电科学研究院有限公司 Pre-emphasis debugging system and method
CN110166175B (en) * 2019-05-21 2022-05-27 新华三技术有限公司 Method, device and network equipment for adaptively configuring pre-emphasis value
CN111984477B (en) * 2020-07-09 2022-05-17 瑞芯微电子股份有限公司 PCIe equipment signal parameter dynamic correction device and method
CN111984199A (en) * 2020-08-26 2020-11-24 山东超越数控电子股份有限公司 Concurrent large-capacity storage method and system
CN117155838A (en) * 2023-11-01 2023-12-01 成都市楠菲微电子有限公司 Parameter screening method, system, computer equipment and medium based on SerDes

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223297A (en) * 2011-06-03 2011-10-19 福建星网锐捷网络有限公司 Method, device and switching equipment for determining member port of virtual switching link (VSL)
CN102662896A (en) * 2012-03-30 2012-09-12 中兴通讯股份有限公司 Method and device for automatically adjusting preemphasis parameter and/or equalization parameter
CN102664837A (en) * 2012-04-05 2012-09-12 烽火通信科技股份有限公司 Method for automatically detecting and completing setting matching of high speed digital signal in receiving and transmitting directions

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4741991B2 (en) * 2006-07-14 2011-08-10 株式会社日立製作所 Serializer / deserializer transfer device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223297A (en) * 2011-06-03 2011-10-19 福建星网锐捷网络有限公司 Method, device and switching equipment for determining member port of virtual switching link (VSL)
CN102662896A (en) * 2012-03-30 2012-09-12 中兴通讯股份有限公司 Method and device for automatically adjusting preemphasis parameter and/or equalization parameter
CN102664837A (en) * 2012-04-05 2012-09-12 烽火通信科技股份有限公司 Method for automatically detecting and completing setting matching of high speed digital signal in receiving and transmitting directions

Also Published As

Publication number Publication date
CN104184617A (en) 2014-12-03

Similar Documents

Publication Publication Date Title
CN104184617B (en) InterWorking Equipment pre-add method for reconfiguration, device, system and the network equipment
CN104980317A (en) Automatic test system and test method for dispatching data network equipment
CN106302017B (en) The small capaciated flow network velocity-measuring system of high concurrent and method
CN108896841A (en) Test macro, test method and device
CN106330604B (en) A kind of method and device of port connectivity test
CN105991358A (en) Method, device, test board and system for testing traffic of interface board
CN106649012B (en) A kind of method and apparatus of automatic test
CN108683556A (en) Detect the method, apparatus and computer storage media of network interface card functional status
CN107864072A (en) The ethernet test method of tester and its multiport equipment under test
CN106411473A (en) Reference signal mapping method and device
CN108111367A (en) Performance test methods and device
CN107037277A (en) Detection device and method for multiple powered devices of Ethernet power supply system
CN104506396B (en) The method of testing and system of the full port Full Mesh performances of equipment
CN105610627A (en) Method and device for upgrading network device
CN108141381B (en) System and method to coordinate cable test results with cable test configuration
CN106791679B (en) A kind of determination method and device of video transmission path
US20080109579A1 (en) System and method for frequency offset testing
CN105588993A (en) Signal test method, tested equipment and signal test system
CN105323122B (en) A kind of throughput of network device test device and test method based on interchanger
CN107733743A (en) Realize the method and system that industry ethernet data are tested automatically
CN103441894A (en) Method and system for L2TP concurrent connection performance test
CN105897494A (en) Testing method of network transmission rate
CN105376118B (en) A kind of test method of AFDX interchangers sending performance
CN103152228B (en) A kind of bandwidth detection method and apparatus
CN115657646A (en) Test method and device of CAN controller

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee after: RUIJIE NETWORKS Co.,Ltd.

Address before: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee before: Beijing Star-Net Ruijie Networks Co.,Ltd.