CN107800584A - The selftest method of second too networked physics layer circuit and selftest system - Google Patents

The selftest method of second too networked physics layer circuit and selftest system Download PDF

Info

Publication number
CN107800584A
CN107800584A CN201610807154.0A CN201610807154A CN107800584A CN 107800584 A CN107800584 A CN 107800584A CN 201610807154 A CN201610807154 A CN 201610807154A CN 107800584 A CN107800584 A CN 107800584A
Authority
CN
China
Prior art keywords
circuit
layer circuit
transmission channels
transmission channel
networked physics
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.)
Pending
Application number
CN201610807154.0A
Other languages
Chinese (zh)
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.)
Ali Corp
Original Assignee
Ali Corp
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 Ali Corp filed Critical Ali Corp
Priority to CN201610807154.0A priority Critical patent/CN107800584A/en
Publication of CN107800584A publication Critical patent/CN107800584A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/24Testing correct operation
    • H04L1/242Testing correct operation by comparing a transmitted test signal with a locally generated replica
    • H04L1/243Testing correct operation by comparing a transmitted test signal with a locally generated replica at the transmitter, using a loop-back

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)

Abstract

A kind of selftest method of second too networked physics layer circuit and selftest system.Through multiple transmission channels of attachment means connection second too networked physics layer circuit, transmission channel is set to be connected in a manner of one-to-one.When into loopback test mode, setting second too networked physics layer circuit operation is in active physical layer modes.The idle signal for establishing the link is produced through transmission data processing circuit, and idle signal is transmitted via the corresponding data transfer path to transmission channel.Idle signal is received via attachment means through the reception data processing circuit of second too networked physics layer circuit, to receive idle signal via the corresponding data receiver path to transmission channel.Through data processing circuit is received reception data are produced according to idle signal.Judge whether to reach synchronization based on the reception data.

Description

The selftest method of second too networked physics layer circuit and selftest system
Technical field
The invention relates to a kind of technology for testing second too networked physics layer, and in particular to a kind of second too network The selftest method of physical layer circuit and selftest system.
Background technology
With the prosperity of science and technology, network is to turn into the necessary configuration that information exchanges.In a variety of network configurations, by There is the characteristics such as acquirement is easy, erection is convenient and transmission speed is fast in second too network (Ethernet) so that second too network is relevant Equipment flourish, its transmission rate also by 10Mbps evolution to 100Mbps even 1Gbps.In order to meet industry to package The demand that exchange network is increasingly grown up, second too network (Ethernet) technology are also constantly evolved, and seem that ultrahigh speed second too network is It is defined within the standards of IEEE 802.3.In these new generation second too network standards, high speed second too networked physics layer (PHY Layer) research and development of circuit and element are undoubtedly the key link with test.
Fig. 1 is the schematic diagram of the test system of known second too networked physics layer.Fig. 1 test system 10 is refer to, if Developer wants to test physical layer 121 to be measured, then needs physical layer 121 to be measured via connecting element 130, connection Netting twine 11, and connecting element 140 are connected to another physical layer 120.Then, through medium access control layer (Media Access Control Layer, MAC Layer) 110 send test packets data_Tx, physical layer 120 will can seal according to test Wrap test data caused by data_Tx via medium dependent interfaces (media dependent interface, MDI) I1 and Connected with network cable 11 is sent to physical layer 121 to be measured.In known test system, physical layer 121 to be measured and medium plan Data transmitting path (the Tx in GMII I2 (Media Independent Interface, MII) between layer 110 Path) it is configured and is connected to data receiver path (Rx path), causes test data to be recycled to via data path P1 and treat Survey physical layer 121.In this way, test data can be back to physical layer 120 by physical layer 121 to be measured via connected with network cable 11, and thing Reason layer 120 can produce test packets data_Rx according to this and test packets data_Rx is sent back into medium access control layer 110, from And whether the mode of operation that physical layer 121 to be measured is detected according to test packets data_Rx is normal.However, above-mentioned test system Two second too networked physics layer circuit is needed to reach the purpose of test, and be able to must perform to establish link because of two physical layers Some standardization programs and spend longer time.Furthermore, it is understood that known physical layer circuit test system not only take and The extra network equipment is needed to cooperate with test.Base this, how for second too networked physics layer design low cost and quickly survey Method for testing actually one of those skilled in the art's important issue of concern.
The content of the invention
In view of this, the present invention provides a kind of second too selftest method of networked physics layer circuit and selftest system System, it is connected multiple transmission channels of second too networked physics layer circuit using attachment means, causes second too network thing in pairs Reason layer circuit can complete quick second too networked physics layer alone and test.
One embodiment of the invention provides a kind of selftest method of second too networked physics layer circuit, and methods described includes The following steps.Through multiple transmission channels of attachment means connection second too networked physics layer circuit, make transmission channel with a pair One mode is connected.When entering a loopback (loopback) test pattern, setting second too networked physics layer circuit operation is in active Physical layer (Master PHY) pattern.Idle signal is produced through data processing circuit is sent, and via corresponding to transmission channel Data transfer path transmission idle signal.Filled through the reception data processing circuit of second too networked physics layer circuit via connection Reception idle signal is put, to receive idle signal via the corresponding data receiver path to transmission channel.At reception data Manage circuit and produce reception data according to idle signal.Judge whether to reach synchronization based on data are received.
Another embodiment of the present invention provides a kind of selftest system of second too networked physics layer circuit, this second too network Physical layer circuit includes multiple transmission channels.This selftest system includes attachment means and second too networked physics layer circuit. Attachment means include being respectively corresponding to a plurality of transmission yarn of transmission channel, and one end of these transmission yarns is in pairs each other It is connected.Second too networked physics layer circuit includes control circuit, compound transmission circuit, sends data processing circuit, and receives number According to process circuit.When into loopback test mode, control circuit sets second too networked physics layer circuit operation in active physics Layer model.Compound transmission circuit connects the transmission yarn of above-mentioned attachment means, would sit idle for signal and is sent to attachment means, and from Attachment means receive idle signal.Send data processing circuit and couple compound transmission circuit and control circuit, produce idle signal, And would sit idle for signal and be sent to compound transmission circuit, to transmit idle signal via the data transfer path of transmission channel.Receive Data processing circuit couples compound transmission circuit and control circuit, idle signal is received via compound transmission circuit, with via biography The data receiver path of defeated passage receives idle signal, and is produced according to idle signal and receive data, and control circuit is based on receiving Data judge whether to reach synchronization.
Based on above-mentioned, in one embodiment of this invention, after second too networked physics layer circuit enters loopback test mode, Second too networked physics layer circuit can determine to operate in active physical layer modes under conditions of auto-negotiation program is omitted.Connect , the second idle signal that too networked physics layer circuit is sent can be back to second too networked physics layer circuit via attachment means Itself.In response to the transmitting-receiving of above-mentioned idle signal, the test result of second too networked physics layer circuit can be according to physical layer circuit The enabled status of interior each functional module and the idle signal based on passback and it is caused reception data and obtain.
For features described above of the invention and advantage can be become apparent, special embodiment below, and coordinate institute's accompanying drawings It is described in detail below.
Brief description of the drawings
Fig. 1 is the schematic diagram of the test system of known second too networked physics layer.
Fig. 2 is showing for the selftest system of the second too networked physics layer circuit according to depicted in one embodiment of the invention It is intended to.
Fig. 3 A are the schematic diagrames of the connection transmission channel according to depicted in one embodiment of the invention.
Fig. 3 B are the schematic diagrames of the connection transmission channel according to depicted in one embodiment of the invention.
Fig. 3 C are the schematic diagrames of the connection transmission channel according to depicted in one embodiment of the invention.
Fig. 4 is the schematic diagram of the second too networked physics layer according to depicted in one embodiment of the invention.
Fig. 5 is the stream of the selftest method of the second too networked physics layer circuit according to depicted in one embodiment of the invention Cheng Tu.
Fig. 6 is the stream of the selftest method of the second too networked physics layer circuit according to depicted in one embodiment of the invention Cheng Tu.
Description of reference numerals
10:Test system
121:To physical layer to be measured
130、140:Connecting element
11:Connected with network cable
120:Physical layer
data_Tx:Test packets
data_Rx:Test packets
I1:Medium dependent interfaces
I2:GMII
110:Medium access control layer
P1:Data path
20:Selftest system
210:Medium access control layer circuit
220:Second too networked physics layer circuit
230:Attachment means
221:Control circuit
222:Send data processing circuit
223:Receive data processing circuit
224、224a、224b、224c、224d:Compound transmission circuit
Ch1~Ch4:Transmission channel
loopback_test_en:Test enable signal
link_status:Synchronous regime cue
S1:Idle signal
P2~P3:Loop path
280、280a、280b、280c、280d:Data transfer path
290、290a、290b、290c、290d:Data receiver path
L1~L8:Transmission yarn
221_1:Tangible media connects sublayer control module
222_2:The automatic correction module of twisted-pair feeder positive-negative connected
221_3:State machine module
221_4:Auto-negotiation module
222_1:Disarrangement device
222_2:Encoder
222_3:Wave filter
222_4:Digital analog converter
222_5:Linear actuator
223_1:Descrambler
223_2:De-mapping device
223_3:Decoder
223_4:Remove delay circuit
223_5:Wave filter
223_6:Cross-talk echo canceller
223_7:Clock recovery circuitry
223_8:Baseline wander compensation circuit
223_9:Phase-locked loop circuit
223_10:Multiplexer
223_11:Analog-digital converter
223_12:Automatic gain control circuit
223_13:Gain amplifier
235:Entity coding sublayer sends front-end circuit
236:Entity coding sublayer receiving front-end circuit
237:Gigabit GMII
S501~S513, S601~S606:Step
Embodiment
With detailed reference to this one exemplary embodiment, illustrate the example of the one exemplary embodiment in the accompanying drawings.It is in addition, all Possible part, same or like part is represented in schema and embodiment using element/component of identical label.
Fig. 2 is self surveying for second too network (Ethernet) physical layer circuit according to depicted in one embodiment of the invention The schematic diagram of test system.Fig. 2 is refer to, selftest system 20 includes second too networked physics layer circuit 220 and attachment means 230.Second too networked physics layer circuit 220 is suitable to be arranged among a network equipment, the network equipment is had networking function.At this In embodiment, the network equipment is, for example, box on machine, notebook computer, or the consumer electronic device such as wisdom TV or Router (router), interchanger (switch) or access point (Access Point, AP) etc. have advanced Network Management Function And/or the network communication device of network sharing function, the present invention are not limited this.In the present embodiment, second too networked physics layer Circuit 220 is, for example, kilomegabit physical layer (gigabit physical layer, GPHY) second too network chip, but the present invention is simultaneously It is not restricted to this.
In addition, in the present embodiment, attachment means 230 can be in fact as a special test netting twine, this special test netting twine One end have connector, e.g. RJ45 joints, to be connected to second too network physical via an entity slot (not illustrating) Layer circuit 220.Second too networked physics layer circuit 220 due to supporting IEEE 802.3 has multiple transmission channels, therefore connects Device 230 includes the multiple transmission yarns for being respectively corresponding to multiple transmission channels.As shown in Fig. 2 example, second too network physical Layer circuit 220 has 4 transmission channel Ch1~Ch4.Base this, attachment means 230 will include be respectively corresponding to these transmission channels Ch1~Ch4 a plurality of transmission yarn.It is each so that twisted-pair feeder (Twisted Pair) is transmission medium as an example in the present embodiment Transmission channel Ch1~Ch4 transmission medium can be respectively form twisted-pair feeder two transmission yarns, and attachment means 230 because This has eight transmission yarns.It should be specified, in the present embodiment, one end of the transmission yarn in attachment means 230 It is connected with each other two-by-two, i.e., the transmission yarn in attachment means 230 is electrically connected with two-by-two and forms signal circuit for a pair.
Therefore, in the present embodiment, it is connected to second too networked physics layer circuit 220, test machine through by attachment means 230 Platform can be tested circuit module of the second too inside networked physics layer circuit 220, to learn second too networked physics layer circuit 220 Mode of operation it is whether normal.Furthermore, it is understood that after attachment means 230 are connected to second too networked physics layer circuit 220, second Too networked physics layer circuit 220 can enter loopback test mode and being received via the tieback of attachment means 230 oneself send out it is idle Signal, so as to reach the purpose of test second too networked physics layer circuit 220.Above-mentioned idle signal is, for example, that IEEE 802.3 is marked It is used for idle (idle) signal for establishing physical layer link in standard.In other words, the second of the present embodiment too networked physics layer circuit 220 Play the part of the role of signal sending end and signal receiving end simultaneously, to complete the selftest of second too networked physics layer circuit 220.
Specifically, in the present embodiment, second too networked physics layer circuit 220 includes control circuit 221, compound transmitting-receiving electricity Road 224, data processing circuit 222 is sent, and receive data processing circuit 223.Attachment means 230 are being connected to second too net After network physical layer circuit 220, external control signal that second too networked physics layer circuit 220 can be received according to pin or according to interior The temporary bit of portion's buffer and enter loopback test mode.When second too networked physics layer circuit 220 enters loopback test mode, Control circuit 221 sets second too networked physics layer circuit 220 and operates in active physical layer (Master PHY) pattern.
In the present embodiment, active physical layer modes are operated in when second too networked physics layer circuit 220 is set to, are sent Data processing circuit 222 produces idle signal S1 according to test enable signal loopback_test_en, and via corresponding to biography Defeated channel C h1~Ch4 data transfer path 280 transmits idle signal S1 to compound transmission circuit 224.Afterwards, due to compound Transmission circuit 224 is connected to the transmission yarn of attachment means 230, and compound transmission circuit 224 would sit idle for signal S1 and be sent to connection Device 230, and reclaim idle signal S1 from attachment means 230.By taking Fig. 2 example as an example, idle signal S1 can be logical via transmission The loop path P2 that road Ch1 and transmission channel Ch2 are formed is back to compound transmission circuit 224, and idle signal S1 also can be via The loop path P3 that transmission channel Ch3 and transmission channel Ch4 is formed is back to compound transmission circuit 224.
Receive data processing circuit 223 and couple compound transmission circuit 224 and control circuit 221, receive data processing circuit 223 receive idle signal S1 from compound transmission circuit 224.Receive data processing circuit 223 via it is corresponding to transmission channel Ch1~ Ch4 data receiver path 290 receives idle signal S1, and produces decoded reception data, and base according to idle signal S1 Synchronous regime cue link_status is produced in decoded reception data, to indicate whether to reach transmitting terminal with receiving The synchronization at end.Then, control circuit 221 can be based on receiving synchronous regime cue caused by data processing circuit 223 Link_status judges whether to reach synchronization.
It should be specified, entering the initial stage of loopback test mode, send data processing circuit 222 with receiving data Part circuit module inside process circuit 223 sequentially enable and can converge on stable state or lock-out state.For example, in In the state of normal operating, the clock recovery circuitry received in data processing circuit 223 can be by one time interval of statistics Phase difference changes to lock phase-locked loop circuit.Afterwards, data processing circuit 222 is sent with receiving inside data processing circuit 223 Circuit module can complete internal circuit blocks setting after, establish physical layer link with via physical layer link transmitting-receiving letter Number.Therefore, if send data processing circuit 222 and receive data processing circuit 223 in these circuit modules wherein it Any normally enable or can not normally to restrain, then control circuit 221 will be unable to receive synchronous regime cue link_ status。
Base this, in an embodiment, second too networked physics layer circuit 220 enter loopback test mode after, control electricity Road 221 initializes a timer.If timer not yet produces descrambling up to a time expiration and reception data processing circuit 223 Random reception data, control circuit 221 can judge second too net because synchronous regime cue link_status is not received Network physical layer circuit 220 does not pass through test.Base this, in the present embodiment, by judging whether to receive synchronous regime prompting letter Number link_status, developer can learn whether second too networked physics layer circuit 220 operates in expected normal condition.
It is further to note that in an embodiment, test packets are sent through medium access control layer circuit 210, Second too networked physics layer circuit 220 can also be tested under loopback test mode.Furthermore, it is understood that when attachment means 230 connect It is connected to second too networked physics layer circuit 220 and after the second too entrance of networked physics layer circuit 220 loopback test mode, medium access control Preparative layer circuit 210 can transmit test packets to second too networked physics layer circuit 220 via GMII (MII), and second is too Above-mentioned test packets can be returned to oneself by networked physics layer circuit 220 via attachment means 230.In this way, by detection second too Whether the packet data that networked physics layer circuit 220 reclaims via attachment means 230, second too networked physics layer circuit 220 are normal Operation can be detected according to this.
However, in Fig. 2 example, the hardware of attachment means 230 sets system to connect transmission channel Ch1 and transmission channel Exemplified by Ch2 and connection transmission channel Ch2 and transmission channel Ch3, but the present invention is not restricted to this.It will enumerate below different Embodiment aspect is to describe in detail.
Fig. 3 A are the schematic diagrames of the connection transmission channel according to depicted in one embodiment of the invention.Fig. 3 A are refer to, it is multiple Closing compound transmission circuit 224a, 224b, 224c, 224d in transmission circuit 234 can receive from transmission data processing circuit 222 Signal and send this signal to attachment means 230.As shown in Figure 3A, data transfer path 280 includes data transfer path 280a, 280b, 280c, 280d, respectively outwards transmitting data via compound transmission circuit 224a, 224b, 224c, 224d. Data transfer path 290 includes data receiver path 290a, 290b, 290c, 290d, respectively to via compound transmission circuit 224a, 224b, 224c, 224d receive external data.
It should be noted that in Fig. 3 A example, attachment means 230 connect the transmission of second too networked physics layer circuit 220 Channel C h1 connects the transmission channel Ch3 to transmission channel Ch4 of second too networked physics layer circuit 220 to transmission channel Ch2.Enter For one step, transmission channel Ch1 transmission yarn L1 one end is electrically connected with transmission channel Ch2 transmission yarn L4, transmission Channel C h1 transmission yarn L2 one end is electrically connected with transmission channel Ch2 transmission yarn L3.Similar, transmission channel Ch3 Transmission yarn L5 one end and transmission channel Ch4 transmission yarn L8 be electrically connected with, transmission channel Ch3 transmission yarn L6's One end and transmission channel Ch4 transmission yarn L7 are electrically connected with.In this way, compound transmission circuit 224a is sent out via transmission channel Ch1 The idle signal sent can be back to compound transmission circuit 224b via transmission channel Ch2 again.Compound transmission circuit 224c via The idle signal that transmission channel Ch3 is sent can be back to compound transmission circuit 224d via transmission channel Ch4 again.
Fig. 3 B are the schematic diagrames of the connection transmission channel according to depicted in one embodiment of the invention.Fig. 3 B are refer to, even Connection device 230 connects the transmission channel Ch1 of second too networked physics layer circuit 220 to transmission channel Ch3, and connects second too network thing Manage the transmission channel Ch2 to transmission channel Ch4 of layer circuit 220.Furthermore, it is understood that the one of transmission channel Ch1 transmission yarn L1 End and transmission channel Ch3 transmission yarn L6 are electrically connected with, transmission channel Ch1 transmission yarn L2 one end and transmission channel Ch3 transmission yarn L5 is electrically connected with.Similar, transmission channel Ch2 transmission yarn L3 one end and transmission channel Ch4 biography Defeated cable L8 is electrically connected with, and transmission channel Ch2 transmission yarn L4 one end electrically connects with transmission channel Ch4 transmission yarn L7 Connect.In this way, the idle signal that compound transmission circuit 224a is sent via transmission channel Ch1 can return via transmission channel Ch3 again Reach compound transmission circuit 224c.The idle signal that compound transmission circuit 224b is sent via transmission channel Ch2 can be again via biography Defeated channel C h4 and be back to compound transmission circuit 224d.
Fig. 3 C are the schematic diagrames of the connection transmission channel according to depicted in one embodiment of the invention.Fig. 3 C are refer to, even Connection device 230 connects the transmission channel Ch1 of second too networked physics layer circuit 220 to transmission channel Ch4, and connects second too network thing Manage the transmission channel Ch2 to transmission channel Ch3 of layer circuit 220.Furthermore, it is understood that the one of transmission channel Ch1 transmission yarn L1 End and transmission channel Ch4 transmission yarn L8 are electrically connected with, transmission channel Ch1 transmission yarn L2 one end and transmission channel Ch4 transmission yarn L7 is electrically connected with.Similar, transmission channel Ch2 transmission yarn L3 one end and transmission channel Ch3 biography Defeated cable L6 is electrically connected with, and transmission channel Ch2 transmission yarn L4 one end electrically connects with transmission channel Ch3 transmission yarn L5 Connect.In this way, the idle signal that compound transmission circuit 224a is sent via transmission channel Ch1 can return via transmission channel Ch4 again Reach compound transmission circuit 224d.The idle signal that compound transmission circuit 224b is sent via transmission channel Ch2 can be again via biography Defeated channel C h3 and be back to compound transmission circuit 224c.
Fig. 4 is the schematic diagram of the second too networked physics layer according to depicted in one embodiment of the invention.Fig. 4 is refer to, it is false If second too networked physics layer circuit 220 supports kilomegabit physical layer (gigabit physical layer, GPHY), and via thousand Million GMIIs 237 (gigabit Media Independent Interface, GMII) and medium access control layer electricity Road is connected.In the present embodiment, second too networked physics layer circuit 220 further includes entity coding sublayer (Physical Code Sublayer, PCS) send front-end circuit 235, and PCS receiving front-end circuits 236.PCS sends front-end circuit 235 and is coupled to Between gigabit GMII 237 and transmission data processing circuit 222, PCS receiving front-end circuits 236 are coupled to gigabit media Between stand-alone interface 237 and reception data processing circuit 223.
In Fig. 4 embodiment, sending data processing circuit 222 includes disarrangement device 222_1, encoder 222_2, wave filter 222_3, digital analog converter 222_4, and Linear actuator 222_5.Control circuit 221 connects including tangible media (Physical Medium Attachment, PMA) control of substate module 221_1, the automatic correction module of twisted-pair feeder positive-negative connected 222_2, state machine module 221_3, and auto-negotiation module 221_4.Receiving data processing circuit 222 includes descrambler 223_ 1st, de-mapping device 223_2, decoder 223_3, go delay circuit 223_4, wave filter 223_5, cross-talk echo canceller 223_6, Clock recovery circuitry 223_7, Baseline wander compensation circuit 223_8, phase-locked loop circuit 223_9, multiplexer 223_10, simulation numeral Converter 223_11, automatic gain control circuit 223_12, and gain amplifier 223_13.
In the present embodiment, in response to being disabled into loopback test mode, auto-negotiation module 221_4 and omitting execution second The too auto negotiation program of networked physics layer circuit 220.Due to omitting auto negotiation program, therefore control circuit 221 can be set Second too networked physics layer circuit 220 operates in an active physical layer modes, with the ability for actively sending idle signal.This Outside, when second too networked physics layer circuit 220 operates in active physical layer modes, transmission data processing circuit 222 is according to actively The first seed determined under formula physical layer modes is encoded, to produce the idle signal after coding.On the other hand, control electricity Road 221 sets the seed generation mode for receiving data processing circuit 223 as active physical layer modes, and is based on active physics Layer model sets the second seed for receiving data processing circuit, and reception data are produced to be decoded using second seed.
For example, when second too networked physics layer circuit 220 operates in active physical layer modes, disarrangement device 222_1 meetings Idle signal is upset according to the upset multinomial in active physical layer modes and the first seed.On the other hand, control circuit 221 setting descrambler 223_1 seed generation mode is also all active physical layer modes, and is based on active physical layer mould Formula sets descrambler 223_1 second seed, to utilize the upset multinomial and second seed in active physical layer modes Solve upset and produce reception data.Base this, through omit auto negotiation program and setting receive data processing circuit 223 In can pass through recovery to the seed generation mode that encodes/upset, the second too networked physics layer circuit of the present embodiment and oneself send Idle signal tested, and send the circuit module in data processing circuit 222, circuit mould in control circuit 221 Whether therefore normal operating can be also detected circuit module in block, and reception data processing circuit 223.It is worth mentioning It is that the framework of the too networked physics layer circuit of the second mentioned by Fig. 4 exemplary embodiment is an example, and such framework is in reality It can also be adjusted in business depending on practical application with demand.
Fig. 5 is the stream of the selftest method of the second too networked physics layer circuit according to depicted in one embodiment of the invention Cheng Tu.In addition, each step/each flow in Fig. 5 exemplary embodiment can for example arrange in pairs or groups, Fig. 2 to Fig. 4 exemplary embodiment is come Use, but the present invention is not restricted to this.
Fig. 5 is refer to, in step S501, second too networked physics layer circuit enters loopback test mode.In step S502, save Omit auto negotiation program and setting operation is in active physical layer modes, and one timer of initialization.In step S503, enable Disarrangement device, encoder, and send the wave filter in data processing circuit.In step S504, enable automatic gain module and profit Start timing with timer.In step S505, judge whether automatic gain module restrains before time expiration in timer To lock-out state.If step S505 is yes, in step S506, enable clock recovery circuitry, eqalizing cricuit and cross-talk echo cancellation Device.If step S505 is no, represents automatic gain module and do not converge to lock-out state, in step S513, return second too network Physical layer circuit does not pass through test.
Then, in step S507, judge in timer before time expiration eqalizing cricuit and clock recovery circuitry whether Converge to lock-out state.If step S507 is yes, in step S508, delay circuit is removed in enable.If step S507 is no, represent etc. Change device or clock recovery circuitry does not converge to lock-out state, in step S513, return second too networked physics layer circuit does not pass through Test.In step S509, judge to go whether delay circuit converges to lock-out state before time expiration in timer.If step Rapid S509 is yes, in step S508, enable descrambler and de-mapping device.If step S509 is no, delay circuit is removed in representative Lock-out state is not converged to, in step S513, return second too networked physics layer circuit does not pass through test.Finally, in step S511, judge whether to reach synchronization.If step S509 is yes, in step S512, return second too networked physics layer circuit passes through survey Examination.If step S509 is no, in step S513, return second too networked physics layer circuit does not pass through test.
Fig. 6 is the stream of the selftest method of the second too networked physics layer circuit according to depicted in one embodiment of the invention Cheng Tu.In addition, each step/each flow in Fig. 6 exemplary embodiment can for example arrange in pairs or groups, Fig. 2 to Fig. 4 exemplary embodiment is come Use, but the present invention is not restricted to this.
In step S601, multiple transmission channels of second too networked physics layer circuit are connected through attachment means, lead to transmission Road is connected in a manner of one-to-one.In step S602, when into loopback test mode, setting second too networked physics layer circuit operation in Active physical layer modes.In step S603, idle signal is produced through data processing circuit is sent, and via corresponding to transmission The data hair transmitting path transmission idle signal of passage.In step S604, through the reception data of second too networked physics layer circuit Process circuit receives idle signal via attachment means, to receive idle letter via the corresponding data receiver path to transmission channel Number.In step S605, reception data are produced according to idle signal through data processing circuit is received.In step S606, based on connecing Data are received to judge whether to reach synchronization.
In summary, in one embodiment of this invention, second too networked physics layer circuit can be because of omission auto negotiation journey Sequence and quickly finish test, and second too networked physics layer circuit can be completed in the presence of no medium access control layer survey Examination.In addition, in one embodiment of the invention, the test result of second too networked physics layer circuit can be according to physical layer circuit The enabled status and transmission of interior each functional module reclaim idle signal caused by oneself and obtained.Thereby, developer is not Timesaving detection must can be carried out to second too networked physics layer circuit, through the extra network equipment so as to improve test second too net The convenience of network physical layer circuit and greatly improve second too networked physics layer chip development production speed and efficiency.
Although the present invention is disclosed above with embodiment, so it is not limited to the present invention, any art Middle tool usually intellectual, without departing from the spirit and scope of the present invention, when a little change and retouching can be made, thus it is of the invention Protection domain when being defined depending on appended claims institute defender.

Claims (14)

1. the selftest method of a kind of second too networked physics layer circuit, it is characterised in that methods described includes:
Multiple transmission channels of the second too networked physics layer circuit are connected through an attachment means, make those transmission channels with a pair One mode is connected;
When entering a loopback test mode, the second too networked physics layer circuit operation is set in an active physical layer modes;
Data processing circuit, which is sent, through one produces an idle signal, and via the corresponding data transfer to those transmission channels Transmit the idle signal in footpath;
The idle signal is received via the attachment means through a reception data processing circuit of the second too networked physics layer circuit, To receive the idle signal via correspondence to the data receiver path of those transmission channels;
One is produced according to the idle signal receive data through the reception data processing circuit;
Judge whether to reach synchronization based on the reception data.
2. selftest method as claimed in claim 1, it is characterised in that further include:
After the loopback test mode is entered, a timer is initialized;And
If the timer not yet produces the reception data up to a time expiration and the reception data processing circuit, the second is judged Too networked physics layer circuit does not pass through test.
3. selftest method as claimed in claim 1, it is characterised in that connect the second too network thing through the attachment means Those transmission channels of layer circuit are managed, include the step that those transmission channels are connected in a manner of one-to-one:
The first transmission channel of the second too those transmission channels of networked physics layer circuit is connected to the second of those transmission channels Transmission channel, and the 3rd transmission channel of the second too those transmission channels of networked physics layer circuit is connected to those transmission channels The 4th transmission channel.
4. selftest method as claimed in claim 1, it is characterised in that connect the second too network thing through the attachment means Those transmission channels of layer circuit are managed, include the step that those transmission channels are connected in a manner of one-to-one:
The first transmission channel of the second too those transmission channels of networked physics layer circuit is connected to the 3rd of those transmission channels Transmission channel, and the second transmission channel of the second too those transmission channels of networked physics layer circuit is connected to those transmission channels The 4th transmission channel.
5. selftest method as claimed in claim 1, it is characterised in that connect the second too network thing through the attachment means Those transmission channels of layer circuit are managed, include the step that those transmission channels are connected in a manner of one-to-one:
The first transmission channel of the second too those transmission channels of networked physics layer circuit is connected to the 4th of those transmission channels Transmission channel, and the second transmission channel of the second too those transmission channels of networked physics layer circuit is connected to those transmission channels The 3rd transmission channel.
6. selftest method as claimed in claim 1, it is characterised in that further include:
When the second too networked physics layer circuit operation is in the active physical layer modes, according to institute under the active physical layer modes One first seed determined is encoded, to produce the idle signal after coding;And
A seed generation mode of the reception data processing circuit is set as the active physical layer modes, and it is active based on this Physical layer modes set a second seed of the reception data processing circuit, and this is produced to be decoded using the second seed Receive data.
7. selftest method as claimed in claim 1, it is characterised in that further include:
In response to entering the loopback test mode, the auto negotiation program for performing the second too networked physics layer circuit is omitted.
8. a kind of selftest system of second too networked physics layer circuit, the wherein second too networked physics layer circuit include multiple biographies Defeated passage, it is characterised in that including:
One attachment means, including be respectively corresponding to those transmission channels multiple transmission yarns, wherein those transmission yarns one End is connected with each other two-by-two;And
One second too networked physics layer circuit, including:
One control circuit, when entering a loopback test mode, the second too networked physics layer circuit operation is set in an active thing Manage layer model;
One compound transmission circuit, connects those transmission yarns of the attachment means, and an idle signal is sent into the attachment means, And receive the idle signal from the attachment means;
One sends data processing circuit, couples the compound transmission circuit and the control circuit, produces the idle signal, and by the spare time Confidence number is sent to the compound transmission circuit, and the idle signal is transmitted with the data transfer path via those transmission channels;With And
One receives data processing circuit, couples the compound transmission circuit and the control circuit, is received via the compound transmission circuit The idle signal, the idle signal is received with the data receiver path via those transmission channels, and produced according to the idle signal Raw one receives data,
Wherein the control circuit judges whether to reach synchronization based on the reception data.
9. selftest system as claimed in claim 8, it is characterised in that the control circuit is entering the loopback (loopback) after test pattern, a timer is initialized;And if the timer is up to a time expiration and the reception Data processing circuit not yet produces the reception data, and the control circuit judges that the second too networked physics layer circuit does not pass through test.
10. selftest system as claimed in claim 8, it is characterised in that the attachment means connect the second too network physical First transmission channel of those transmission channels of layer circuit and connects the second too net to the second transmission channel of those transmission channels Fourth transmission channel of 3rd transmission channel of those transmission channels of network physical layer circuit to those transmission channels.
11. selftest system as claimed in claim 8, it is characterised in that the attachment means connect the second too network physical First transmission channel of those transmission channels of layer circuit and connects the second too net to the 3rd transmission channel of those transmission channels Fourth transmission channel of second transmission channel of those transmission channels of network physical layer circuit to those transmission channels.
12. selftest system as claimed in claim 8, it is characterised in that the attachment means connect the second too network physical First transmission channel of those transmission channels of layer circuit and connects the second too net to the 4th transmission channel of those transmission channels Threeth transmission channel of second transmission channel of those transmission channels of network physical layer circuit to those transmission channels.
13. selftest system as claimed in claim 8, it is characterised in that when the second too networked physics layer circuit operation in The active physical layer modes, the transmission data processing circuit according to one determined under the active physical layer modes the first Son is encoded, to produce the idle signal after coding,
Wherein the control circuit sets a seed generation mode of the reception data processing circuit as the active physical layer modes, And a second seed of the reception data processing circuit is set based on the active physical layer modes, to be entered using the second seed Row decodes and produces the life and receive data.
14. selftest system as claimed in claim 8, it is characterised in that the second too networked physics layer circuit further includes one Auto-negotiation module, in response to entering the loopback test mode, the control circuit controls the auto-negotiation module to omit and performs the second too One auto negotiation program of networked physics layer circuit.
CN201610807154.0A 2016-09-07 2016-09-07 The selftest method of second too networked physics layer circuit and selftest system Pending CN107800584A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610807154.0A CN107800584A (en) 2016-09-07 2016-09-07 The selftest method of second too networked physics layer circuit and selftest system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610807154.0A CN107800584A (en) 2016-09-07 2016-09-07 The selftest method of second too networked physics layer circuit and selftest system

Publications (1)

Publication Number Publication Date
CN107800584A true CN107800584A (en) 2018-03-13

Family

ID=61530712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610807154.0A Pending CN107800584A (en) 2016-09-07 2016-09-07 The selftest method of second too networked physics layer circuit and selftest system

Country Status (1)

Country Link
CN (1) CN107800584A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109450516A (en) * 2018-12-27 2019-03-08 天津卓越信通科技有限公司 Low-delay relay card

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183948A (en) * 2007-12-05 2008-05-21 中兴通讯股份有限公司 Ethernet serial port driving unit and method of transmitting data flow when performing narrowband dialing
CN101316197A (en) * 2007-05-28 2008-12-03 中国电信股份有限公司 Detection method and apparatus for Ethernet port loop of MSTP equipment
CN101493499A (en) * 2009-03-09 2009-07-29 合肥工业大学 Exponent cut LFSR replanting VLSI test data compression method
CN101582809A (en) * 2008-05-14 2009-11-18 襄樊博创伟业电子有限公司 Loop-back detecting and inhibiting method of Ethernet exchanger chip port
CN101763652A (en) * 2009-06-03 2010-06-30 中国科学院自动化研究所 Three-dimensional framework fast extraction method based on branch feathers
KR20110020512A (en) * 2009-08-24 2011-03-03 양종해 The remote computer virtualization system which uses the network and ethernet
CN102081142A (en) * 2010-12-02 2011-06-01 合肥工业大学 Re-sowing test plan based on parallel folding counter
CN102567168A (en) * 2010-12-27 2012-07-11 北京国睿中数科技股份有限公司 BIST (Built-in Self-test) automatic test circuit and test method aiming at PHY (Physical Layer) high-speed interface circuit
CN104333415A (en) * 2014-09-26 2015-02-04 武汉光迅科技股份有限公司 Multi-channel automatic test method used for testing optical modules and system thereof

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316197A (en) * 2007-05-28 2008-12-03 中国电信股份有限公司 Detection method and apparatus for Ethernet port loop of MSTP equipment
CN101183948A (en) * 2007-12-05 2008-05-21 中兴通讯股份有限公司 Ethernet serial port driving unit and method of transmitting data flow when performing narrowband dialing
CN101582809A (en) * 2008-05-14 2009-11-18 襄樊博创伟业电子有限公司 Loop-back detecting and inhibiting method of Ethernet exchanger chip port
CN101493499A (en) * 2009-03-09 2009-07-29 合肥工业大学 Exponent cut LFSR replanting VLSI test data compression method
CN101763652A (en) * 2009-06-03 2010-06-30 中国科学院自动化研究所 Three-dimensional framework fast extraction method based on branch feathers
KR20110020512A (en) * 2009-08-24 2011-03-03 양종해 The remote computer virtualization system which uses the network and ethernet
CN102081142A (en) * 2010-12-02 2011-06-01 合肥工业大学 Re-sowing test plan based on parallel folding counter
CN102567168A (en) * 2010-12-27 2012-07-11 北京国睿中数科技股份有限公司 BIST (Built-in Self-test) automatic test circuit and test method aiming at PHY (Physical Layer) high-speed interface circuit
CN104333415A (en) * 2014-09-26 2015-02-04 武汉光迅科技股份有限公司 Multi-channel automatic test method used for testing optical modules and system thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109450516A (en) * 2018-12-27 2019-03-08 天津卓越信通科技有限公司 Low-delay relay card
CN109450516B (en) * 2018-12-27 2024-01-26 天津卓越信通科技有限公司 Low-delay relay card

Similar Documents

Publication Publication Date Title
CN104145448B (en) The method and transceiver of the power consumption of ethernet device of the reduction with GMII
US7111208B2 (en) On-chip standalone self-test system and method
CN101394678B (en) Serialization/de-serialization interface module generally used in GEPON/GPON
US20080228941A1 (en) Ethernet Link Monitoring Channel
US20030179771A1 (en) Physical layer device having an analog SERDES pass through mode
CN108075937A (en) A kind of method and apparatus of adaptive network speed matching process
TW200536715A (en) System, method and device for autonegotiation
TWI589128B (en) Method of testing multiple data packet signal transceivers concurrently
US9742465B1 (en) NBASE-T PHY-to-PHY information exchange method and apparatus
US20140126444A1 (en) Energy efficient network communication device and method
US20210286748A1 (en) Single-pair to multi-pair ethernet converter
US8291254B2 (en) High speed digital bit stream automatic rate sense detection
CN103186249A (en) Remote management system and remote management method
CN107800584A (en) The selftest method of second too networked physics layer circuit and selftest system
JP6077097B2 (en) Multiple serial media independent interface
CN103391329B (en) A kind of interface module and its method for supporting multiplex roles standard
CN107566085A (en) A kind of bit error code method of testing and system based on FC buses
Farag et al. Interacting with hardware Trojans over a network
CN102726091B (en) Method and device for testing link performance
CN101136807B (en) Port VLAN based switching chip port detecting method
CN208707659U (en) A kind of Ethernet interface physical layer detection circuit based on RMII interface
CN102664761B (en) Method for EPON (Ethernet passive optical network) system to be compatible with authorization of multilink ONU (optical network unit) and single-link ONU
CN110365530A (en) A kind of test token passing network independently of network-on-chip
CN103532811B (en) Method and equipment for configuring RRPP (Rapid Ring Protection Protocol) ring assembly
CN209517168U (en) A kind of bypass test cable suitable for daisy chain looped network

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180313