WO2023121407A1 - 네트워크 테스트 방법 - Google Patents

네트워크 테스트 방법 Download PDF

Info

Publication number
WO2023121407A1
WO2023121407A1 PCT/KR2022/021234 KR2022021234W WO2023121407A1 WO 2023121407 A1 WO2023121407 A1 WO 2023121407A1 KR 2022021234 W KR2022021234 W KR 2022021234W WO 2023121407 A1 WO2023121407 A1 WO 2023121407A1
Authority
WO
WIPO (PCT)
Prior art keywords
test
packet
unit
access control
media access
Prior art date
Application number
PCT/KR2022/021234
Other languages
English (en)
French (fr)
Inventor
김지훈
Original Assignee
엘지이노텍 주식회사
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 엘지이노텍 주식회사 filed Critical 엘지이노텍 주식회사
Publication of WO2023121407A1 publication Critical patent/WO2023121407A1/ko

Links

Images

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
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports
    • H04L43/065Generation of reports related to network devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/321Interlayer communication protocols or service data unit [SDU] definitions; Interfaces between layers

Definitions

  • the embodiment relates to a network test method, and particularly relates to a test method of a network test device for verifying a network line of a MAC layer.
  • the power train control system may refer to an engine control system, an automatic shift control system, and the like.
  • the body control system may refer to a body electronic parts control system, a convenience device control system, a lamp control system, and the like.
  • the chassis control system may refer to a steering device control system, a brake control system, a suspension control system, and the like.
  • the vehicle network may mean a controller area network (CAN), a FlexRay-based network, a media oriented system transport (MOST)-based network, and the like.
  • CAN controller area network
  • MOST media oriented system transport
  • the multimedia system may refer to a navigation device system, a telematics system, an infotainment system, and the like.
  • CAN can support a transmission rate of up to 1 Mbps, and can support automatic retransmission of collided frames and error detection based on cycle redundancy check (CRC).
  • CRC cycle redundancy check
  • a FlexRay-based network can support a transmission speed of up to 10 Mbps, and can support simultaneous data transmission through 2 channels and synchronous data transmission.
  • the MOST-based network is a communication network for high-quality multimedia and can support a transmission rate of up to 150 Mbps.
  • a vehicle's telematics system, infotainment system, and enhanced safety system require high transmission speed and system scalability, and CAN and FlexRay-based networks do not sufficiently support them.
  • the MOST-based network can support a higher transmission speed than CAN and FlexRay-based networks, but it requires a lot of cost to apply the MOST-based network to all networks in the vehicle.
  • an Ethernet-based network may be considered as a vehicle network.
  • An Ethernet-based network can support bi-directional communication through a pair of Ethernet network lines and can support a transmission rate of up to 10 Gbps.
  • Ethernet communication is applied inside the vehicle in consideration of a wider application range, such as communication with a cloud server for communication devices and connected cars.
  • the Ethernet-based network device as described above includes a media access control (MAC) unit and a physical layer unit (PHY). At this time, most network devices produce a media access control unit and a physical layer unit separately.
  • MAC media access control
  • PHY physical layer unit
  • the media access control unit can operate in a state connected to the physical layer unit by default.
  • the physical layer unit may convert the data provided from the media access control unit into a digital signal in a form transmittable through an Ethernet network line.
  • the operation of the media access control unit is not possible, and thus the operation test of the media access control unit cannot be performed.
  • Embodiments are to provide a network test device and a test method thereof, which allow the test of the media access control layer to proceed even when the physical layer is not connected to the media access control layer.
  • the embodiment is to provide a network test device and a test method capable of supporting various test modes according to the network environment of the media access control layer.
  • a test method of a network test device is a test method of a controller unit implemented including a media access control layer, and acquiring data through a management data pin of the media access control layer; determining whether a physical layer connected to the media access control layer exists based on the acquired data; If it is determined that the connected physical layer exists, performing a test of the controller unit in a first test mode; and if it is determined that the connected physical layer does not exist, performing a test of the controller unit in a second test mode.
  • management data pin includes a management data input/output (MDIO) pin of the media access control layer.
  • MDIO management data input/output
  • the acquiring of the data includes acquiring identification information of the connected physical layer, and when the identification information of the physical layer is obtained, recognizing that the physical layer is connected to the media access control layer, , If identification information of the physical layer is not obtained, the media access control layer recognizes that the physical layer is in an unconnected state.
  • the test method further includes receiving a signal input through a specific pin of a General-Purpose Input/Output (GPIO) of the controller unit, and the acquiring of the data includes the step of receiving the signal through the specific pin. It is performed when signal 1 is received, and when a second signal is received through the specific pin, the step of performing a test of the controller unit in a third test mode is further included.
  • GPIO General-Purpose Input/Output
  • the test method may further include generating a first test packet; encrypting the generated first test packet; transmitting the encrypted first test packet; receiving a second test packet corresponding to the first test packet; decoding the received second test packet; and comparing the first test packet with the second test packet, wherein the transmission path of the first test packet and the reception path of the second test packet are determined according to the first to third test modes. is different.
  • the transmitting of the first test packet may include transmitting the first test packet to the connected physical layer in the first test mode, and the receiving of the second test packet may include: and receiving the second test packet transmitted from the connected physical layer in a first test mode.
  • a transmit pin and a receive pin of the media access control layer are directly connected, and the first test packet in the second test mode is transmitted through a transmit pin of the media access control layer.
  • a test packet, and the second test packet in the second test mode is a test packet received at a receiving pin of the media access control layer.
  • the transmitting of the first test packet may include transmitting the first test packet to a sub or slave media access control layer connected to the media access control layer in the third test mode, and Receiving 2 test packets includes receiving a second test packet corresponding to the first test packet transmitted from the sub or slave media access control layer.
  • test method further includes selecting an encryption algorithm for encrypting the generated first test packet.
  • the selecting of the encryption algorithm may include selecting different encryption algorithms according to a test mode for performing a test of the controller unit.
  • the network test apparatus includes a controller unit including a media access control layer, the controller unit, a packet generator for generating a first test packet; a packet encryption unit encrypting the generated first test packet; a packet decoder to decode the second test packet received from the media access control layer; a comparison unit comparing the first test packet with the second test packet; and determining a test mode, controlling transmission of the first test packet and reception of the second test packet through a test line corresponding to the determined test mode, and providing test result information according to a comparison result of the comparator.
  • a processor that outputs data wherein the processor obtains data through a management data input/output (MDIO) pin of the media access control layer, and based on the data obtained through the MDIO pin, the media access control layer It is determined whether a physical layer connected to is present, and if the connected physical layer exists, the first test packet is transmitted and the second test packet is received through a first test line corresponding to a first test mode. and if the connected physical layer does not exist, transmit the first test packet and receive the second test packet through a second test line corresponding to a second test mode, and The second test lines are different from each other.
  • MDIO management data input/output
  • the processor determines that the connected physical layer exists when the data obtained through the MDIO pin is identification information of a specific physical layer.
  • the processor receives a signal input through a specific pin of General-Purpose Input/Output (GPIO), and if the signal received through the specific pin is a first signal, based on data acquired through the MDIO pin. to determine the first test mode or the second test mode, and if the signal received through the specific pin is the second signal, transmit the first test packet through a third test line corresponding to the third test mode; and The second test packet is received.
  • GPIO General-Purpose Input/Output
  • the first test line connects between the media access control layer and the physical layer
  • the second test line directly connects between a transmit pin of the media access control layer and a receive pin of the media access control layer
  • the third test line connects the media access control layer and the sub or slave media access control layer.
  • the processor selects an encryption algorithm corresponding to the determined test mode, and enables encryption of the first test packet based on the selected encryption algorithm.
  • a network unit may include a controller unit implemented including a media access control layer. At this time, the network unit may operate under different conditions according to the established network environment. Accordingly, in an embodiment, a test environment may be configured to correspond to a network environment in which the network unit operates, and a test of the network unit may be performed in the configured test environment. Accordingly, in an embodiment, a test may be performed corresponding to a network environment in which the network unit is actually used, and thus, test accuracy of the network unit may be improved.
  • a first state in which the physical layer is connected to the network unit, a second state in which the physical layer is not connected, and a third state in which the sub media access control layer is connected are recognized, and based on this, the network unit is tested. to determine the mode.
  • the network unit in the embodiment supports the first to third test modes.
  • the network unit may recognize a currently configured test environment, enter a test mode corresponding to the recognized test environment, and perform a test of the network unit. Accordingly, in the embodiment, the test execution time can be shortened, and thus the productivity of the network unit can be improved.
  • tests may be performed on one network unit in various test environments, and based on this, product reliability and product satisfaction of the network unit may be improved.
  • FIG. 1 is a diagram illustrating a network test system according to a comparative example.
  • FIG. 2 is a diagram schematically illustrating a network test device according to an embodiment.
  • FIG. 3 is a diagram for explaining an interface of a media access control layer included in the network unit of FIG. 2 .
  • FIG. 4 is a diagram specifically illustrating a controller unit of a network unit according to an embodiment.
  • FIG. 5 is a diagram illustrating a test environment configuration unit of FIG. 2 according to an embodiment.
  • FIG. 6 is a diagram for explaining a first test line according to an embodiment.
  • FIG. 7 is a diagram for explaining a second test line according to an embodiment.
  • FIG. 8 is a diagram for explaining a third test line according to an embodiment.
  • FIG. 9 is a flowchart illustrating a method of determining a test mode of a network test apparatus according to an embodiment step by step.
  • FIG. 10 is a flowchart illustrating a first test method step by step according to an embodiment.
  • 11 is a flowchart illustrating a second test method step by step according to an embodiment.
  • FIG. 12 is a flowchart for explaining the setting operation of FIG. 11 step by step.
  • FIG. 13 is a flowchart illustrating a third test method step by step according to an embodiment.
  • FIG. 1 is a diagram illustrating a network test system according to a comparative example.
  • the network unit may refer to a unit including any one of a media access control (MAC) layer and a physical (PHY) layer.
  • MAC media access control
  • PHY physical
  • a typical network device includes a media access control (MAC) layer and a physical (PHY) layer. And, for the test of the network device, the first network device and the second network device including the media access control (MAC) layer and the physical (PHY) layer, respectively, must be provided.
  • MAC media access control
  • PHY physical
  • the network test system of the comparative example includes a first network device 10 and a second network device 20 .
  • the first network device 10 may mean a master device.
  • the first network device 10 may mean a target to be tested.
  • the second network device 20 may refer to a counterpart network device necessary for testing the first network device 10 .
  • the second network device 20 may be a slave device provided for testing the first network device 10 set as the master device.
  • the first network device 10 includes a first media access control layer (MAC1, 11) and a first physical layer (PHY1, 12).
  • MAC1, 11 media access control layer
  • PHY1, 12 first physical layer
  • the second network device 20 includes a second media access control layer (MAC2, 21) and a second physical layer (PHY2, 22) like the first network device 10.
  • MAC2, 21 media access control layer
  • PHY2, 22 second physical layer
  • a test process of the first network device 10 is described as follows.
  • the first media access control layer (MAC1, 11) of the first network device 10 outputs a test packet to the first physical layer (PHY1, 12).
  • the first physical layer (PHY1, 12) receives the test packet, and converts the received test packet into a signal that can be transmitted through an Ethernet line (ETH).
  • the first physical layer (PHY1, 12) transmits the converted test packet to the second physical layer (PHY2, 22) through an Ethernet line (ETH).
  • the second physical layer (PHY2, 22) receives the test packet transmitted from the first physical layer (PHY1, 12) and transfers it to the second media access control layer (MAC2, 21).
  • the second media access control layer (MAC2, 21) transmits the received test packet to the first physical layer (PHY1, 12) again through the second physical layer (PHY2, 22).
  • the first media access control layer (MAC1, 11) receives the test packet retransmitted from the second network device (20) through the first physical layer (PHY1, 12). Then, the first media access control layer (MAC1, 11) compares the transmitted test packet with the received test packet. And, the first media access control layer (MAC1, 11) verifies the network operating state according to the comparison result of the two test packets.
  • the network test system of the comparison example when a network unit including a media access control layer is produced, there is a problem in that an identical model or a counterpart product is additionally required for the test.
  • the network test system of the comparison example uses ping to exchange signals for testing between a master and a slave. Accordingly, the network test apparatus of the comparative example has to wait until receiving a response signal corresponding to the ping, and thus, there is a problem in that the test time increases.
  • the network test system of the comparative example needs to be tested using two network devices divided into a master and a slave as described above, which requires a lot of cost and time for testing, and tests of multiple products at the same time. There is a problem that cannot be Furthermore, when the network test system of the comparison example transmits a complicated test packet, there is a problem in that the verification process is complicated.
  • the embodiment enables the test of the media access control layer to proceed even when the physical layer is not connected to the media access control layer. Furthermore, the embodiment makes it possible to support various test modes according to the network environment of the media access control layer.
  • FIG. 2 is a diagram schematically illustrating a network test device according to an embodiment.
  • the network test device may include a network unit 100 and a test environment configuration unit 200 .
  • the network unit 100 may mean a network device to be tested.
  • the network unit 100 may mean a unit including the media access control layer 110.
  • the network unit 100 may mean a controller unit implemented including the media access control layer 110 . That is, the network unit 100 may mean a controller unit, and the controller unit may be implemented by including the media access control layer 110 .
  • the network unit 100 may be connected to a physical layer in an actually built network environment. Also, the network unit 100 may control the physical layer and perform various functions (eg, an infotainment function).
  • various functions eg, an infotainment function
  • the network unit 100 which is a controller unit including the media access control layer 110, may be implemented with the physical layer and one System on Chip (SoC).
  • SoC System on Chip
  • the network unit 100 which is a controller unit including the media access control layer 110, and the physical layer are configured as separate chips.
  • the controller unit including the media access control layer 110 may be manufactured as one network unit, and the physical layer may be manufactured separately.
  • a test environment is established so that an independent test of the network unit 100 that does not include the physical layer can be performed.
  • the network environment of the network unit 100 is recognized, and the network is set to one of various test modes according to the recognized network environment. Allows the unit 100 to be tested.
  • the network unit 100 may connect the physical layer and a media independent interface (MII).
  • the network unit 100 may include a plurality of pins (to be described later) corresponding to the medium independent interface.
  • the media access control layer 110 of the network unit 100 may include a plurality of pins connected to the physical layer according to a network construction environment.
  • the medium independent interface may mean an interface specified in IEEE 8023.
  • the embodiment may be composed of a data interface and a management interface between the network unit 100 and the physical layer.
  • the network unit 100 and the physical layer are RMII (reduced MII), GMII (gigabit MII), RGMII (reduced GMII), SGMII (serial GMII), XGMII (10 GMII) It can be connected through one of the interfaces.
  • the data interface may include a transmission channel and a reception channel, and each of the channels may have independent clock, data, and control signals.
  • the management interface may consist of a two-signal interface, one signal for clock and the other signal for data.
  • the test environment configuration unit 200 is connected to the network unit 100 . Also, the test environment configuration unit 200 configures an environment for testing the network unit 100 .
  • the test environment configuration unit 200 may provide a test line connected to a plurality of pins of the media access control layer 110 of the network unit 100 . In this case, a plurality of test lines may be included.
  • the test environment configuration unit 200 supports a plurality of test modes for testing the network unit 100 .
  • the test environment configuration unit 200 may include a plurality of test lines corresponding to the plurality of test modes.
  • the test environment configuration unit 200 may refer to a jig on which the network unit 100 is mounted.
  • the test environment configuration unit 200 includes a test line, and accordingly, as the network unit 100 is mounted, the test of the network unit 100 can be performed through the test line. It may mean a test jig.
  • FIG. 3 is a diagram for explaining an interface of a media access control layer included in the network unit of FIG. 2 .
  • the network unit 100 includes a media access control layer 110 .
  • the media access control layer 110 may include a plurality of pins.
  • the media access control layer 110 may include a first group of pins corresponding to a data interface and a second group of pins corresponding to a management interface.
  • the first group of pins may include a transmit pin corresponding to a transmit channel through which packet data is transmitted and received between the media access control layer 110 and the physical layer, and a receive pin corresponding to a receive channel.
  • a transmit pin corresponding to a transmit channel through which packet data is transmitted and received between the media access control layer 110 and the physical layer
  • a receive pin corresponding to a receive channel.
  • each of the transmit pin and the receive pin may be configured in plurality to transmit and receive the differential signal.
  • the media access control layer 110 may include a first transmission pin P1 and a second transmission pin P2.
  • the first transmission pin P1 and the second transmission pin P2 may output packet data to be transmitted as differential signals.
  • the media access control layer 110 may include a first receive pin P3 and a second receive pin P4.
  • the first receiving pin P3 and the fourth receiving pin P4 may receive packet data transmitted as a differential signal.
  • the media access control layer 110 may include a reset pin P5 for resetting the physical layer.
  • the media access control layer 110 may include an interrupt pin P6 for transmitting an interrupt signal to the physical layer.
  • the pins of the first group of the media access control layer 110 include the first transmit pin P1, the second transmit pin P2, the first receive pin P3, and the second receive pin P4. , a reset pin P5 and an interrupt pin P6.
  • the media access control layer 110 includes a second group of pins corresponding to management interfaces.
  • the media access control layer 110 may include a management data pin P7 that is connected to the physical layer and transmits and receives data in both directions.
  • the management data pin P7 may be a management data input/output (MDIO) pin.
  • the media access control layer 110 may read state information of the physical layer using a management data pin P7 corresponding to the MDIO pin.
  • the media access control layer 110 may change the arrangement information of the physical layer using the management data pin P7.
  • the media access control layer 110 may perform bi-directional communication with the physical layer using the management data pin P7.
  • the media access control layer 110 may include a clock pin P8 for providing a reference clock signal to the physical layer.
  • the clock pin P8 may be a management data clock (MDC) pin.
  • MDC management data clock
  • the media access control layer 110 includes a first transmission pin P1, a second transmission pin P2, a first reception pin P3, and a second reception pin P4. And, the media access control layer 110 may transmit a test packet through the first transmission pin P1 and the second transmission pin P2. In addition, the media access control layer 110 may receive a response packet corresponding to the transmitted test packet through the first receive pin P3 and the second receive pin P4.
  • the response packet may mean a test packet corresponding to the transmitted test packet.
  • a test packet is transmitted through the first transmission pin P1 and the second transmission pin P2 of the media access control layer 110.
  • the network unit 100 may receive the same test packet as the transmitted test packet through the first receive pin P3 and the second receive pin P4 of the media access control layer 110 . Also, the network unit 100 may perform a test of an operating state of the network unit 100 and a network environment by comparing the transmitted test packet with the received test packet. At this time, the test packets received through the first receiving pin P3 and the second receiving pin P4 of the media access control layer 110 of the network unit 100 are transmitted from different targets according to the test mode. can
  • the first to third test modes are supported in the embodiment.
  • the first test mode may refer to a mode in which a physical layer is connected to the network unit 100 and, accordingly, a test is performed in a state in which a target network unit corresponding to the network unit 100 is equipped.
  • the second test mode may refer to a mode in which the network unit 100 independently performs a self-test in a state in which the physical layer is not connected to the network unit 100 .
  • the third test mode is a mode in which a test can be performed by exchanging test packets with a sub-network unit identical to the network unit 100 in a state in which the physical layer is not connected to the network unit 100. can mean
  • the test environment configuration unit 200 configures test lines corresponding to the first to third test modes.
  • a test environment including a test line configured through the test environment configuration unit 200 will be described below.
  • FIG. 4 is a diagram specifically illustrating a controller unit of a network unit according to an embodiment.
  • a packet generating unit 120, a packet encrypting unit 130, a packet decrypting unit 140, a comparison unit 150, and a test result It may include an output unit 160 and a processor 170 .
  • the packet generator 120 may generate a test packet for performing a test of the network unit 100 .
  • the packet generator 120 may generate random data for testing the network unit 100 .
  • the test packet may have a certain size.
  • the packet generating unit 120 may generate a random test packet having a size of 10 bytes to 20 bytes.
  • the packet encryption unit 130 may receive the test packet generated by the packet generation unit 120 . Also, the packet encrypting unit 130 may encrypt the received test packet. At this time, the packet encryption unit 130 may selectively encrypt the test packet through one of a plurality of encryption algorithms.
  • the test packet may be encrypted by applying different encryption algorithms according to the test mode. That is, the test mode is determined according to a test environment built to test the network unit 100 . Accordingly, in the embodiment, in order to test the network unit 100, different encryption algorithms are applied according to test modes, thereby increasing test accuracy.
  • the test packet may be encrypted by applying a first encryption algorithm in a first test mode.
  • the test packet may be encrypted by applying a second encryption algorithm different from the first encryption algorithm in the second test mode.
  • the test packet may be encrypted by applying a third encryption algorithm different from the first and second encryption algorithms in the third test mode.
  • the test packet may be encrypted by applying an optimal encryption algorithm according to the test environment, thereby significantly reducing test time while increasing test accuracy.
  • the embodiment is not limited thereto, and the encryption algorithm of the test packet may be the same regardless of the test mode according to the embodiment.
  • the encryption algorithm may be randomly determined regardless of the test mode, and the test packet may be encrypted based on the encryption algorithm.
  • the test packet is encrypted as described above, thereby increasing test accuracy.
  • test packet when the payload of the test packet generated by the packet generating unit 120 is short or simple (eg, 0xfffff packet), the test packet is distinguished from the packet due to signal distortion This is difficult. Accordingly, in the embodiment, the test packet is encrypted through the packet encryption unit 130, and thus the received test packet is decrypted. Through this, in the embodiment, more complex data can be transmitted and received, and test reliability can be secured accordingly.
  • test packet encrypted by the packet encryption unit 130 may be transmitted through the first transmission pin P1 and the second transmission pin P2 of the media access control layer 110 .
  • the packet decoder 140 may decode the received test packet.
  • the packet decryption unit 140 may receive an encrypted and transmitted test packet and decode the test packet.
  • the packet decryption unit 140 may decrypt the received test packet by applying a decryption algorithm corresponding to the encryption algorithm used by the packet encryption unit 130 .
  • the packet decoder 140 may receive the test packet through the first receive pin P3 and the second receive pin P4 of the media access control layer 110 .
  • the comparator 150 may compare the transmitted test packet with the received test packet. For example, the comparator 150 may compare whether a test packet transmitted through the transmission pins P1 and P2 and a test packet received through the reception pins P3 and P4 are identical to each other.
  • comparison unit 150 may provide information corresponding to the comparison result to the processor 170 .
  • the comparator 150 may provide the processor 170 with information on whether or not the transmitted test packet and the received test packet match and the degree of match.
  • the test result output unit 160 may output test results performed according to an embodiment.
  • the test result output unit 160 may be implemented as a video output unit that outputs an image or an audio output unit that outputs audio.
  • the test environment configuration unit 200 may be implemented as a light output unit outputting different lights according to test results.
  • the processor 170 may overall control the test operation of the network unit 100 according to the embodiment.
  • the processor 170 may recognize a test environment of the network unit 100 .
  • the recognition of the test environment may be performed based on a signal transmitted from the outside to a specific pin of the processor 170 .
  • the recognition of the test environment may be performed using information obtained through a specific pin of the media access control layer 110. This will be described in more detail below.
  • the processor 170 may load a program to proceed with a specific test mode according to the recognized test environment. For example, operation programs corresponding to the first to third test modes may be stored in the processor 170 . Also, the processor 170 may load any one of the stored operation programs according to the recognized test environment. Also, the processor 170 may allow the network unit 100 to be tested centering on the loaded operation program.
  • the processor 170 When the test mode is determined, the processor 170 causes a test packet to be generated through the packet generator 120 to proceed with the test. Also, the processor 170 allows the generated test packet to be encrypted through the packet encryption unit 130 . To this end, the processor 170 selects one specific encryption algorithm among a plurality of encryption algorithms in the determined test mode or random, and encrypts the test packet based on (or based on) the selected encryption algorithm let it bear
  • the processor 170 causes the test packet encrypted by the packet encryption unit 130 to be transmitted through the transmission pins P1 and P2 of the media access control layer 110 .
  • the reception destination of the test packet transmitted through the transmission pins P1 and P2 may vary according to the determined test mode. This will be described in detail below.
  • the processor 170 transfers the received test packet to the packet decoder 140. And, the processor 170 causes the received test packet to be decoded through the packet decoding unit 140 . At this time, the processor 170 selects a decryption algorithm corresponding to the encryption algorithm applied to the packet encryption unit 130, and decrypts the received test packet based on (or based on) the selected decryption algorithm.
  • the packet decoder 140 may be controlled.
  • the processor 170 may control the comparing unit 150 to compare whether or not the transmitted test packet matches the received test packet.
  • the processor 170 may receive comparison result information through the comparison unit 150 and determine whether the network unit 100 normally operates and the state of the network line based on the received comparison result information.
  • the processor 170 may output information on the determined state through the test result output unit 160 .
  • FIG. 5 is a diagram illustrating a test environment configuration unit of FIG. 2 according to an embodiment.
  • the test environment configuration unit 200 includes a network unit connection unit 210, a test line providing unit 220, a first physical layer unit connection unit 230, a first connector 240, and a second connector ( 250), a second physical layer unit connection unit 260 and a second media access control layer unit connection unit 270.
  • the test environment configuration unit 200 shown in FIG. 5 configures a test environment for testing the network unit 100 .
  • the test environment configuration unit 200 may be a jig including a mounting portion on which the network unit 100 to be tested is mounted.
  • the test environment configuration unit 200 may be composed of jigs that are each classified according to the test mode of the network unit 100, and otherwise composed of one integrated jig capable of providing all three test modes. It can be.
  • the test environment configuration unit 200 includes a first unit configuring a first test environment corresponding to a first test mode and a second unit configuring a second test environment corresponding to a second test mode; A third unit constituting a third test environment corresponding to a third test mode may be included.
  • test environment configuration unit 200 may include an integrated unit that selectively provides first to third test environments corresponding to the first to third test modes.
  • test environment configuration unit 200 selectively provides first to third test environments in order to support all of the first to third test modes.
  • the embodiment is not limited thereto, and the test environment configuration unit 200 may be divided and separated into three units.
  • the test environment configuration unit 200 includes a network unit connection unit 210 .
  • the network unit connection unit 210 may be connected to the network unit 100 to be tested.
  • the network unit connection unit 210 may be a mounting unit on which the network unit 100 to be tested is mounted.
  • a test of the network unit 100 may be performed by mounting the network unit 100 to be tested after manufacturing is completed to the network unit connection unit 210 of the test environment configuration unit 200.
  • the network unit connection unit 210 may include a connection terminal (not shown) connected to the network unit 100 .
  • the network unit connection unit 210 includes a first transmission pin P1, a second transmission pin P2, a first reception pin P3, and a second reception pin P4 of the network unit 100.
  • a reset pin (P5), an interrupt pin (P6), a management data pin (P7) and a clock pin (P8) may include first to eighth connection terminals respectively connected.
  • the test line providing unit 220 may be connected to the network unit connection unit 210 .
  • the test line providing unit 220 may provide a test line for testing the network unit 100 connected to the network unit connection unit 210 .
  • test line provider 220 may provide a first test line for testing the network unit 100 in the first test mode.
  • test line provider 220 may provide a second test line for testing the network unit 100 in the second test mode.
  • test line provider 220 may provide a third test line for testing the network unit 100 in a third test mode.
  • the test line provider 220 may include a switch (not shown), and correspond to the test mode of the network unit 100, any one of the first to third test lines and the network
  • the unit connection unit 210 may be connected.
  • each unit may include only one test line among the first to third test lines.
  • test line provider 220 The first to third test lines provided by the test line provider 220 will be described below.
  • the first physical layer unit connection unit 230 may be a mounting unit on which the first physical layer is mounted. That is, the first physical layer unit connection unit 230 may connect the network unit 100 connected to the network unit connection unit 210 and the first physical layer. To this end, the first physical layer unit connection unit 230 may include an interface line (not shown) connecting the network unit 100 mounted on the network unit connection unit 210 and the first physical layer. . A first physical layer may be selectively mounted on the first physical layer unit connection unit 230 . For example, when testing the network unit 100 in the first test mode, a first physical layer may be mounted on the first physical layer unit connection unit 230 .
  • the first connector 240 may be connected to the first physical layer unit connection part 230 .
  • the first connector 240 may be a connector connecting between the first physical layer unit connection unit 230 and an Ethernet network line.
  • the first connector 240 may refer to a connector into which one end of an Ethernet network port (not shown) is inserted.
  • the second connector 250 may be connected to the first connector 240 .
  • the second connector 250 may be a connector connecting a second network device configured as a slave and the first physical layer through an Ethernet network line.
  • the second connector 250 may refer to a connector into which the other end of an Ethernet network port (not shown) is inserted.
  • the second physical layer unit connection unit 260 may be a mounting unit on which the second physical layer is mounted. That is, the second physical layer unit connection unit 260 may be equipped with a second physical layer connected to a first physical layer connected to the first physical layer unit connection unit 230 through an Ethernet network line. For example, a second physical layer may be selectively mounted on the second physical layer unit connection unit 260 . For example, when testing the network unit 100 in the first test mode, a second physical layer of a second network device set as a slave may be mounted on the second physical layer unit connection unit 260 .
  • the second media access control unit connection unit 270 may be a mounting unit to which the second media access control layer is mounted.
  • the second media access control unit connection unit 270 may be equipped with a media access control layer of a second network device corresponding thereto.
  • the second media access control unit connection unit 270 may be a mounting unit to which a controller unit including a media access control layer of a second network device set as a slave is mounted.
  • the media access control layer mounted on the second media access control unit connection unit 270 may be a network unit composed of a controller unit including a media access control layer, like the previously described network unit.
  • the second media access control layer mounted on the second media access control unit connection unit 270 may be referred to as a slave media access control layer.
  • the slave media access control layer mounted on the second media access control unit connection unit 270 may be connected to the test line providing unit 220 according to the test mode, and differently to the second physical layer unit connection unit 260. can be connected
  • the slave media access control layer mounted on the second media access control unit connector 270 may be connected to the second physical layer mounted on the second physical layer unit connector 260 in the first test mode. .
  • the test environment configuration unit 200 for testing the network unit 100 is provided as described above.
  • the test environment configuration unit 200 may include a mounting unit in which a product corresponding to the network unit 100 is mounted in order to support various test modes of the network unit 100 .
  • the test environment configuration unit 200 may provide first to third test lines corresponding thereto according to the first to third test modes of the network unit 100 .
  • test line provided by the test line providing unit 220 will be described.
  • FIG. 6 is a diagram for explaining a first test line according to an embodiment
  • FIG. 7 is a diagram for explaining a second test line according to an embodiment
  • FIG. 8 is a diagram for describing a third test line according to an embodiment. It is a drawing for
  • a first test line forms a test path for testing the network unit 100 in a first test mode.
  • the test in the first test mode, may be performed in a state in which the first physical layer is connected to the network unit 100 . Also, in the first test mode, the test may be performed in a state in which the second physical layer and the second media access control layer of the second network device or slave network device corresponding to the first physical layer are connected to the first physical layer.
  • the first test line may connect between the network unit 100 mounted on the network unit connection unit 210 and the first physical layer mounted on the first physical layer unit connection unit 230 .
  • the first physical layer may include a plurality of pins.
  • the first physical layer may include first through eighth pins P1a, P2a, P3a, P4a, P5a, P6a, P7a, and P8a.
  • the first physical layer includes a first pin (P1a) and a second pin (P2a) for receiving data packets in differential signals. Also, the first physical layer may include a third pin P3a and a fourth pin P4a for transmitting data packets using differential signals.
  • the first physical layer may include a fifth pin P5a connected to the reset pin P5 of the network unit 100 . Also, the first physical layer may include a sixth pin P6a connected to the interrupt pin P6 of the network unit 100 . In addition, the first physical layer may include a seventh pin P7a connected to the management data pin P7 of the network unit 100 . Also, the first physical layer may include an eighth pin P8a connected to the clock pin P8 of the network unit 100 .
  • the first test line may include first lines Tx1 and Tx2 for transmitting a test packet transmitted from the first media access control layer 110 of the network unit 100 to the first physical layer.
  • the first lines Tx1 and Tx2 may include a 1-1 line Tx1 and a 1-2 line Tx2 transmitting the test packet using a differential signal.
  • the 1-1 line (Tx1) connects between the first transmission pin (P1) of the first media access control layer 110 of the network unit 100 and the first pin (P1a) of the first physical layer. can connect
  • the 1-2 line Tx2 is connected to the second transmission pin P2 of the first media access control layer 110 of the network unit 100 and the second pin P2a of the second physical layer. can connect between them.
  • the 1-1 line (Tx1) and the 1-2 line (Tx2) transmit test packets provided from the 1st media access control layer 110 of the network unit 100 in the 1st test mode. 1 can be delivered to the physical layer.
  • the first test line may include second lines Rx1 and Rx2 for transmitting the test packet received at the first physical layer to the first media access control layer 110 of the network unit 100.
  • the second lines Rx1 and Rx2 may include a 2-1 line Rx1 and a 2-2 line Rx2 transmitting the test packet with a differential signal.
  • the 2-1 line (Rx1) is connected between the first receive pin (P3) of the first media access control layer 110 of the network unit 100 and the third pin (P3a) of the first physical layer.
  • the 2-2 line Rx2 may be connected between the second receiving pin P4 of the network unit 100 and the fourth pin P4a of the first physical layer.
  • the 2-1 line (Rx1) and the 2-2 line (Rx2) transmit the test packet transmitted from the slave network device in the first test mode to the first media access control layer 110 of the network unit 100. can be forwarded to
  • the first media access control layer 110 of the network unit 100 is connected to the first physical layer through the first test line in a first test mode. Accordingly, the first media access control layer 110 of the network unit 100 may transmit a test packet to the first physical layer in a first test mode, and the test packet transmitted from the first physical layer can receive
  • a second test line forms a test path for testing the network unit 100 in the second test mode.
  • the second test mode may refer to a mode in which the network unit 100 independently performs a test in a state in which the first physical layer is not connected to the network unit 100 .
  • the second test line may connect between a transmit pin and a receive pin of the first media access control layer 110 of the network unit 100 .
  • the second test line may include first lines TX1 and Rx1 and second lines Tx2 and Rx2.
  • the first lines Tx1 and Rx1 may directly connect a first transmit pin P1 and a first receive pin P3 of the first media access control layer 110 of the network unit 100 .
  • the second lines Tx2 and Rx2 may be directly connected between the second transmission pin P2 and the second reception pin P2 of the first media access control layer 110 of the network unit 100.
  • the network unit 100 receives the test packet output through the first transmission pin P1 and the second transmission pin P2 through the first reception pin P3 and the second reception pin P3. It can be received directly through pin P4.
  • a third test line forms a test path for testing the network unit 100 in a third test mode.
  • the third test mode is between the network unit 100 and the sub media access control layer 400 (eg, the slave media access control layer) in a state in which the first physical layer is not connected to the network unit 100. It may be a mode for performing a test using test packets exchanged in .
  • the third test line is a first line (Tx1, Tx2) may be included.
  • the third test line is a second line (Rx1, Rx2) may be included.
  • the sub media access control layer 400 has pins corresponding to a plurality of pins included in the first media access control layer 110 of the network unit 100 .
  • the sub media access control layer 400 includes a 1′ transmission pin P1b corresponding to the first transmission pin P1 of the first media access control layer 110, and a second transmission pin ( A 2' transmission pin P2b corresponding to P2), a 1' reception pin P3b corresponding to the first reception pin P3, and a 2' reception pin corresponding to the second reception pin P4 (P4b), a reset pin (P5b) corresponding to the reset pin (P5), an interrupt pin (P6b) corresponding to the interrupt pin (P6), and a management data pin (P7b) corresponding to the management data pin (P7). and a clock pin P8' corresponding to the clock pin P8.
  • the first line includes a 1-1 line (Tx1) connecting between the first transmission pin (P1) and the 1'receiving pin (P3b), and the second transmitting pin (P2) and the second'receiving pin (P3b).
  • a 1-2 line Tx2 connecting the pins P4b is included.
  • the second line includes a 2-1 line (Rx1) connecting between the first receiving pin (P3) and the 1'th transmitting pin (P1b), and the second receiving pin (P4) and the second' A 2-2 line Rx2 connecting the transmission pins P2b may be included.
  • the network unit 100 transmits a test packet to the sub media access control layer 400 through the third test line. Then, the network unit 100 receives the test packet transmitted from the sub media access control layer 400 . Then, the network unit 100 may perform a test by comparing the transmitted test packet with the received test packet.
  • a network unit may include a controller unit implemented including a media access control layer. At this time, the network unit may operate under different conditions according to the established network environment. Accordingly, in an embodiment, a test environment may be configured to correspond to a network environment in which the network unit operates, and a test of the network unit may be performed in the configured test environment. Accordingly, in an embodiment, a test may be performed corresponding to a network environment in which the network unit is actually used, and thus, test accuracy of the network unit may be improved.
  • the first state in which the physical layer is connected to the network unit, the second state in which the physical layer is not connected, and the third state in which the sub media access control layer is connected are recognized, and based on (or based on this) ) to determine the test mode of the network unit.
  • the network unit in the embodiment supports the first to third test modes.
  • the network unit may recognize a currently configured test environment, enter a test mode corresponding to the recognized test environment, and perform a test of the network unit. Accordingly, in the embodiment, the test execution time can be shortened, and thus the productivity of the network unit can be improved.
  • tests may be performed on one network unit in various test environments, and based on this, product reliability and product satisfaction of the network unit may be improved.
  • FIG. 9 is a flowchart illustrating a method of determining a test mode of a network test apparatus according to an embodiment step by step.
  • the network unit 100 in a state in which the network unit 100 is mounted on the test environment configuration unit 200, the network unit 100 is configured through the operation of the processor 170 of the network unit 100. of tests can proceed.
  • an input signal input through a specific pin of the processor 170 constituting the controller unit of the network unit 100 is checked (S110).
  • a specific pin of General-Purpose Input/Output (GPIO) of the processor 170 and a specific pin of the test environment configuration unit 200 are connected.
  • GPIO General-Purpose Input/Output
  • a basic signal to determine the test mode may be provided through a specific pin of the GPIO of the processor 170.
  • the test environment configuration unit 200 may include a pull-up circuit or a pull-down circuit.
  • a high level signal or a low level signal may be provided to a specific pin of the GPIO of the processor 170 through the pull-up circuit or the pull-down circuit.
  • a network environment has been constructed such that data is directly transmitted and received between controller units including a media access control layer between a plurality of network devices without a physical layer.
  • controller units including a media access control layer between a plurality of network devices without a physical layer.
  • media access control layers exchange signals with each other through a virtual physical layer driver in a state in which media access control layers are directly connected to each other without a physical layer.
  • the network test between the media access control layers can also be performed.
  • the processor 170 determines whether the signal input through the specific pin of the GPIO is the first signal (S120). For example, the processor 170 determines whether the second signal requesting to proceed to the third test mode for the MAC-MAC test is received or the first signal requesting to proceed to the first or second test mode is received. It can be determined whether or not it has been received.
  • the processor 170 transmits state information of the physical layer through the management data pin P7 of the first media access control layer 110.
  • the processor 170 may read identification information of the connected physical layer through the management data pin P7.
  • the processor 170 determines whether identification information of the first physical layer has been obtained through the management data pin P7 (S140). For example, the processor 170 may determine whether a first physical layer connected to the network unit 100 exists according to whether identification information of the first physical layer is obtained.
  • the processor 170 enters a first test mode, and in the first test mode A test of the network unit 100 proceeds (S150).
  • the processor 170 enters a second test mode when identification information of the first physical layer is not obtained (or when the connected first physical layer does not exist), and in the second test mode The network unit 100 is tested (S160).
  • the processor 170 enters the third test mode and proceeds with the test of the network unit 100 in the third test mode (S170). ).
  • FIG. 10 is a flowchart illustrating a first test method step by step according to an embodiment. Specifically, FIG. 10 is a flowchart illustrating a method of testing the network unit 100 according to the first test mode.
  • a first signal (eg, a low level signal) is input through a specific pin of the GPIO of the processor 170, and the media access control layer 110
  • the processor 170 may load a driver for proceeding with the first test mode.
  • the packet generation unit 120 of the network unit 100 generates a test packet to proceed with the test according to the first test mode (S200). At this time, the packet generator 120 may generate a random test packet.
  • the packet encrypting unit 130 of the network unit 100 receives the test packet generated through the packet generating unit 120 . And the packet encryption unit 130 encrypts the test packet (S210). To this end, the processor 170 of the network unit 100 selects an encryption algorithm for performing encryption through the packet encryption unit 130, and the packet encryption unit 130 performs the encryption according to the selected encryption algorithm. Let the encryption of the test packet proceed. At this time, the selection of the encryption algorithm may be made randomly. Alternatively, selection of the encryption algorithm in the embodiment may be made according to the test mode.
  • the media access control layer 110 of the network unit 100 may transmit the encrypted test packet through the transmission pins P1 and P2 (S220).
  • the media access control layer 110 is connected to the first physical layer, and accordingly, the encrypted test packet can be transmitted to the connected first physical layer.
  • the media access control layer 110 of the network unit 100 receives the test packet transmitted from the first physical layer through the receiving pins P3 and P4 (S230). Specifically, the first physical layer receives a test packet transmitted from the media access control layer 110, and sends the received test packet to the second physical layer of a slave network device or a second network device connected through an Ethernet network line. layer can be transmitted. In this case, when the test packet is received, the slave network device or the second network device may transmit a test packet corresponding to (eg, identical to) the test packet to the first physical layer. For example, when the test packet is received, the slave network device or the second network device may forward the received test packet to the first physical layer again. Also, the first physical layer may receive a test packet transmitted from the slave network device or the second network device and transmit the test packet to the media access control layer 110 of the network unit 100 .
  • the packet decoding unit 140 of the network unit 100 decodes the received test packet (S240).
  • the packet decryption unit 140 may decrypt the received test packet using a decryption algorithm corresponding to the encryption algorithm used by the packet encryption unit 130 .
  • the comparison unit 150 of the network unit 100 compares the test packet transmitted from the media access control layer 110 with the test packet received, and outputs the result of the comparison to the processor 170 ( S250).
  • the comparator 150 compares the test packet generated by the packet generator 120 and the test packet decoded by the packet decoder 140, and then outputs comparison result information. .
  • the processor 170 of the network unit 100 may receive the comparison result information and determine a test result based on the comparison result information. For example, the processor 170 of the network unit 100 may determine whether the transmitted test packet is the same as the received test packet according to the comparison result (S260).
  • the processor 170 determines the test result to be normal, and accordingly, the test result output unit 160 provides corresponding test result information. It is output (S270).
  • the processor 170 determines the test result to be abnormal or abnormal, and accordingly, the corresponding test is performed through the test result output unit 160. Result information is output (S280).
  • FIG. 11 is a flowchart for step-by-step description of a second test method according to an embodiment
  • FIG. 12 is a flow chart for step-by-step description of the setting operation of FIG. 11 .
  • FIG. 11 is a flowchart illustrating a method of testing the network unit 100 according to the second test mode
  • 12 is a flowchart for explaining the operation of S300 of FIG. 11 in more detail.
  • a first signal (eg, a low level signal) is input through a specific pin of the GPIO of the processor 170, and the media access control layer 110 If the identification information of the physical layer is not obtained through the management data pin P7 of ) (eg, if the connected physical layer does not exist), the second test mode may be entered. Accordingly, the processor 170 may load a driver for proceeding with the second test mode.
  • the processor 170 of the network unit 100 in the embodiment proceeds with a setting operation for executing the second test mode (S300).
  • the setting operation may be performed in the same manner in a third test mode described below. Since the physical layer connected to the media access control layer 110 of the network unit 100 does not exist, the setting operation may refer to an operation in which the physical layer is virtually connected. The setting operation will be described later with reference to FIG. 12 .
  • the packet generating unit 120 When the setting operation proceeds, the packet generating unit 120 generates a test packet to proceed with the test according to the second test mode (S310). At this time, the packet generator 120 may generate a random test packet. At this time, the packet generating unit 120 may generate different test packets according to the test mode. Alternatively, the packet generating unit 120 may generate a random test packet regardless of the test mode.
  • the packet encrypting unit 130 of the network unit 100 receives the test packet generated through the packet generating unit 120 . And the packet encryption unit 130 encrypts the test packet (S320). To this end, the processor 170 of the network unit 100 selects an encryption algorithm for performing encryption through the packet encryption unit 130, and the packet encryption unit 130 performs the encryption according to the selected encryption algorithm. Let the encryption of the test packet proceed. At this time, the selection of the encryption algorithm may be made randomly. Alternatively, selection of the encryption algorithm in the embodiment may be made according to the test mode.
  • the media access control layer 110 of the network unit 100 may transmit the encrypted test packet through the transmission pins P1 and P2 (S330).
  • the transmission pin and the reception pin are directly connected to each other. Accordingly, the test packet transmitted through the transmit pins P1 and P2 of the media access control layer 110 of the network unit 100 is transmitted through the receive pins P3 and P4 of the media access control layer 110. It can be directly received (S340).
  • the packet decoding unit 140 of the network unit 100 decodes the received test packet (S350).
  • the packet decryption unit 140 may decrypt the received test packet using a decryption algorithm corresponding to the encryption algorithm used by the packet encryption unit 130 .
  • the comparison unit 150 of the network unit 100 compares the test packet transmitted from the media access control layer 110 with the test packet received, and outputs the result of the comparison to the processor 170 ( S360).
  • the comparator 150 compares the test packet generated by the packet generator 120 and the test packet decoded by the packet decoder 140, and then outputs comparison result information. .
  • the processor 170 of the network unit 100 may receive the comparison result information and determine a test result based on the comparison result information. For example, the processor 170 of the network unit 100 may determine whether the transmitted test packet is the same as the received test packet according to the comparison result (S370).
  • the processor 170 determines the test result to be normal, and accordingly, the test result output unit 160 provides corresponding test result information. It is output (S380).
  • the processor 170 determines the test result to be abnormal or abnormal, and accordingly, the corresponding test is performed through the test result output unit 160. Result information is output (S390).
  • the processor 170 of the network unit 100 may be loaded as it enters the second test mode, and thus may load a driver for proceeding with the second test mode (S400 ).
  • the processor 170 of the network unit 100 in order to make the connected physical layer virtually exist, the virtual physical layer driver can be loaded (S410). As the virtual physical layer driver is loaded, the processor 170 may determine that the virtual physical layer exists.
  • the processor 170 of the network unit 100 is connected to the loaded virtual physical layer driver through a virtual link, and accordingly sets the speed of the virtual link (S420).
  • connection state between the virtual physical layer and the media access control layer 110 is maintained (S430), and the operations of S310 to S390 can be performed while the connection state is maintained. .
  • FIG. 13 is a flowchart illustrating a third test method step by step according to an embodiment. Specifically, FIG. 13 is a flowchart illustrating a method of testing the network unit 100 according to the third test mode.
  • the network unit 100 enters the third test mode when a second signal (eg, a high level signal) is input through a specific pin of the GPIO of the processor 170. can do. Accordingly, the processor 170 may load a driver for proceeding with the third test mode.
  • a second signal eg, a high level signal
  • the packet generation unit 120 of the network unit 100 generates a test packet to proceed with the test according to the first test mode (S500). At this time, the packet generator 120 may generate a random test packet.
  • the packet encrypting unit 130 of the network unit 100 receives the test packet generated through the packet generating unit 120 . And the packet encryption unit 130 encrypts the test packet (S510). To this end, the processor 170 of the network unit 100 selects an encryption algorithm for performing encryption through the packet encryption unit 130, and the packet encryption unit 130 performs the encryption according to the selected encryption algorithm. Let the encryption of the test packet proceed. At this time, the selection of the encryption algorithm may be made randomly. Alternatively, selection of the encryption algorithm in the embodiment may be made according to the test mode.
  • the media access control layer 110 of the network unit 100 may transmit the encrypted test packet through the transmission pins P1 and P2 (S520).
  • the media access control layer 110 is connected to the slave media access control layer, and accordingly, the encrypted test packet can be transmitted to the connected slave media access control layer.
  • the media access control layer 110 of the network unit 100 receives the test packet transmitted from the slave media access control layer through the receiving pins P3 and P4 (S530). Specifically, the slave media access control layer may receive a test packet transmitted from the media access control layer 110 and transmit the received test packet to the media access control layer 110 again.
  • the packet decoding unit 140 of the network unit 100 decodes the received test packet (S540).
  • the packet decryption unit 140 may decrypt the received test packet using a decryption algorithm corresponding to the encryption algorithm used by the packet encryption unit 130 .
  • the comparison unit 150 of the network unit 100 compares the test packet transmitted from the media access control layer 110 with the test packet received, and outputs the result of the comparison to the processor 170 ( S550). For example, the comparison unit 150 compares the test packet generated by the packet generation unit 120 and the test packet decoded by the packet decoding unit 140, and then outputs comparison result information. .
  • the processor 170 of the network unit 100 may receive the comparison result information and determine a test result based on the comparison result information. For example, the processor 170 of the network unit 100 may determine whether the transmitted test packet is the same as the received test packet according to the comparison result (S560).
  • test result output unit 160 provides corresponding test result information. It is output (S570).
  • the processor 170 determines that the test result is abnormal or abnormal, and accordingly, the corresponding test is performed through the test result output unit 160. Result information is output (S580).
  • a network unit may include a controller unit implemented including a media access control layer. At this time, the network unit may operate under different conditions according to the established network environment. Accordingly, in an embodiment, a test environment may be configured to correspond to a network environment in which the network unit operates, and a test of the network unit may be performed in the configured test environment. Accordingly, in an embodiment, a test may be performed corresponding to a network environment in which the network unit is actually used, and thus, test accuracy of the network unit may be improved.
  • the first state in which the physical layer is connected to the network unit, the second state in which the physical layer is not connected, and the third state in which the sub media access control layer is connected are recognized, and based on (or based on this) ) to determine the test mode of the network unit.
  • the network unit in the embodiment supports the first to third test modes.
  • the network unit may recognize a currently configured test environment, enter a test mode corresponding to the recognized test environment, and perform a test of the network unit. Accordingly, in the embodiment, the test execution time can be shortened, and thus the productivity of the network unit can be improved.
  • tests may be performed on one network unit in various test environments, and based on this, product reliability and product satisfaction of the network unit may be improved.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

실시 예에 따른 네트워크 테스트 장치의 테스트 방법은 미디어 접근 제어 계층을 포함하여 구현된 컨트롤러 유닛의 테스트 방법이고, 상기 미디어 접근 제어 계층의 관리 데이터 핀을 통해 데이터를 획득하는 단계; 상기 획득된 데이터에 기초하여, 상기 미디어 접근 제어 계층에 연결된 물리 계층의 존재 여부를 판단하는 단계; 상기 연결된 물리 계층이 존재하는 것으로 판단되면, 제1 테스트 모드에서 상기 컨트롤러 유닛의 테스트를 진행하는 단계; 및 상기 연결된 물리 계층이 존재하지 않는 것으로 판단되면, 제2 테스트 모드에서 상기 컨트롤러 유닛의 테스트를 진행하는 단계를 포함한다.

Description

네트워크 테스트 방법
실시 예는 네트워크 테스트 방법에 관한 것으로, 특히 MAC 계층의 네트워크 라인의 검증을 위한 네트워크 테스트 장치의 테스트 방법에 관한 것이다.
차량용 부품의 전자화가 급속도로 진행됨에 따라 차량에 탑재되는 전자 장치(예를 들어, ECU(electronic control unit))의 종류와 수가 크게 증가하고 있다. 전자 장치는 크게 파워 트레인(power train) 제어 시스템, 바디(body) 제어 시스템, 새시(chassis) 제어 시스템, 차량 네트워크(network), 멀티미디어(multimedia) 시스템 등에서 사용될 수 있다. 파워 트레인 제어 시스템은 엔진 제어 시스템, 자동 변속 제어 시스템 등을 의미할 수 있다. 바디 제어 시스템은 바디 전장품 제어 시스템, 편의 장치 제어 시스템, 램프(lamp) 제어 시스템 등을 의미할 수 있다. 새시 제어 시스템은 조향 장치 제어 시스템, 브레이크(brake) 제어 시스템, 서스팬션(suspension) 제어 시스템 등을 의미할 수 있다. 차량 네트워크는 CAN(controller area network), 플렉스레이(FlexRay) 기반의 네트워크, MOST(media oriented system transport) 기반의 네트워크 등을 의미할 수 있다.
멀티미디어 시스템은 항법 장치 시스템, 텔레메틱스(telematics) 시스템, 인포테이먼트(infotainment) 시스템 등을 의미할 수 있다.
이러한 시스템들 및 시스템들 각각을 구성하는 전자 장치들은 차량 네트워크를 통해 연결되어 있으며, 전자 장치들 각각의 기능을 지원하기 위한 차량 네트워크가 요구되고 있다. CAN은 최대 1Mbps의 전송 속도를 지원할 수 있으며, 충돌된 프레임의 자동 재전송, CRC(cycle redundancy check) 기반의 오류 검출 등을 지원할 수 있다. 플렉스레이 기반의 네트워크는 최대 10Mbps의 전송 속도를 지원할 수 있으며, 2채널을 통한 데이터의 동시 전송, 동기 방식의 데이터 전송 등을 지원할 수 있다. MOST 기반의 네트워크는 고품질의 멀티미디어를 위한 통신 네트워크로, 최대 150Mbps의 전송 속도를 지원할 수 있다.
한편, 차량의 텔레메틱스 시스템, 인포테이먼트 시스템, 향상된 안전 시스템 등은 높은 전송 속도, 시스템 확장성 등을 요구하며, CAN, 플렉스레이 기반의 네트워크 등은 이를 충분히 지원하지 못한다. MOST 기반의 네트워크는 CAN 및 플렉스레이 기반의 네트워크에 비해 높은 전송 속도를 지원할 수 있으나, 차량의 모든 네트워크에 MOST 기반의 네트워크가 적용되기 위해서는 많은 비용이 소모된다.
이러한 문제들에 의해, 차량 네트워크로 이더넷(ethernet) 기반의 네트워크가 고려될 수 있다. 이더넷 기반의 네트워크는 한 쌍의 이더넷 네트워크 라인을 통한 양방향 통신을 지원할 수 있으며, 최대 10Gbps의 전송 속도를 지원할 수 있다.
차량의 통신 시스템의 시스템 구성에 따라 차량 내부 네트워크뿐만 아니라 기존 CAN 기반의 통신 적용 네트워크와 대비하여 외부와의 연결성 측면 확장성이 점차 확대되고 있다. 통신 장치 및 커넥티드카 대응을 위한 클라우드 서버와의 통신 등 보다 넓음 적용 범위를 고려하여 차량 내부에 이더넷 통신을 적용하고 있다.
한편, 상기와 같은 이더넷 기반의 네트워크 장치는 미디어 접근 제어(MAC: Media Access Control) 유닛과 물리 계층 유닛(PHY)을 포함한다. 이때, 대부분의 네트워크 장치는 미디어 접근 제어 유닛과 물리 계층 유닛을 분리하여 생산하고 있다.
이때, 상기 미디어 접근 제어 유닛은 기본적으로 물리 계층 유닛과 연결된 상태에서 동작이 가능하다. 이때, 상기 물리 계층 유닛은 상기 미디어 접근 제어 유닛으로부터 제공되는 데이터를 이더넷 네트워크 라인을 통해 전송 가능한 형태의 디지털 신호로 변환할 수 있다. 그리고 상기 미디어 접근 제어 유닛에 연결된 물리 계층 유닛이 없는 경우, 상기 미디어 접근 제어 유닛의 동작이 불가하며, 이에 따라 상기 미디어 접근 제어 유닛의 동작 테스트를 진행하지 못하는 문제가 있다.
이에 따라, 상기 미디어 접근 제어 유닛의 테스트를 효율적으로 진행할 수 있도록 하는 새로운 방안이 요구되고 있다.
실시 예는 미디어 접근 제어 계층에 물리 계층이 미연결된 상태에서도 상기 미디어 접근 제어 계층의 테스트를 진행할 수 있도록 한, 네트워크 테스트 장치 및 이의 테스트 방법을 제공하도록 한다.
또한, 실시 예는 미디어 접근 제어 계층의 네트워크 환경에 따라 다양한 테스트 모드를 지원할 수 있는 네트워크 테스트 장치 및 이의 테스트 방법을 제공하도록 한다.
제안되는 실시 예에서 이루고자 하는 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 제안되는 실시 예가 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.
실시 예에 따른 네트워크 테스트 장치의 테스트 방법은 미디어 접근 제어 계층을 포함하여 구현된 컨트롤러 유닛의 테스트 방법이고, 상기 미디어 접근 제어 계층의 관리 데이터 핀을 통해 데이터를 획득하는 단계; 상기 획득된 데이터에 기초하여 상기 미디어 접근 제어 계층에 연결된 물리 계층의 존재 여부를 판단하는 단계; 상기 연결된 물리 계층이 존재하는 것으로 판단되면, 제1 테스트 모드에서 상기 컨트롤러 유닛의 테스트를 진행하는 단계; 및 상기 연결된 물리 계층이 존재하지 않는 것으로 판단되면, 제2 테스트 모드에서 상기 컨트롤러 유닛의 테스트를 진행하는 단계를 포함한다.
또한, 상기 관리 데이터 핀은 상기 미디어 접근 제어 계층의 MDIO(Management Data Input/Output) 핀을 포함한다.
또한, 상기 데이터를 획득하는 단계는, 상기 연결된 물리 계층의 식별 정보를 획득하는 단계를 포함하고, 상기 물리 계층의 식별 정보가 획득되면, 상기 미디어 접근 제어 계층에 물리 계층이 연결된 상태인 것으로 인식하고, 상기 물리 계층의 식별 정보가 획득되지 않으면, 상기 미디어 접근 제어 계층이 상기 물리 계층이 미연결된 상태인 것으로 인식한다.
또한, 상기 테스트 방법은 상기 컨트롤러 유닛의 GPIO(General-Purpose Input/Output)의 특정 핀을 통해 입력되는 신호를 수신하는 단계를 더 포함하고, 상기 데이터를 획득하는 단계는, 상기 특정 핀을 통해 제1 신호가 수신되는 경우에 수행되고, 상기 특정 핀을 통해 제2 신호가 수신되면, 제3 테스트 모드에서 상기 컨트롤러 유닛의 테스트를 진행하는 단계를 더 포함한다.
또한, 상기 테스트 방법은 제1 테스트 패킷을 생성하는 단계; 상기 생성된 제1 테스트 패킷을 암호화하는 단계; 상기 암호화된 제1 테스트 패킷을 송신하는 단계; 상기 제1 테스트 패킷에 대응되는 제2 테스트 패킷을 수신하는 단계; 상기 수신된 제2 테스트 패킷을 복호화하는 단계; 및 상기 제1 테스트 패킷과 상기 제2 테스트 패킷을 비교하는 단계;를 더 포함하고, 상기 제1 내지 제3 테스트 모드에 따라, 상기 제1 테스트 패킷의 송신 경로 및 상기 제2 테스트 패킷의 수신 경로는 다르다.
또한, 상기 제1 테스트 패킷을 송신하는 단계는, 상기 제1 테스트 모드에서, 상기 연결된 물리 계층으로 상기 제1 테스트 패킷을 송신하는 단계를 포함하고, 상기 제2 테스트 패킷을 수신하는 단계는, 상기 제1 테스트 모드에서, 상기 연결된 물리 계층으로부터 송신되는 상기 제2 테스트 패킷을 수신하는 단계를 포함한다.
또한, 상기 제2 테스트 모드에서, 상기 미디어 접근 제어 계층의 송신 핀과 수신 핀은 직접 연결되며, 상기 제2 테스트 모드에서의 상기 제1 테스트 패킷은, 상기 미디어 접근 제어 계층의 송신 핀에서 송신된 테스트 패킷이고, 상기 제2 테스트 모드에서의 상기 제2 테스트 패킷은 상기 미디어 접근 제어 계층의 수신핀에서 수신된 테스트 패킷이다.
또한, 상기 제1 테스트 패킷을 송신하는 단계는, 상기 제3 테스트 모드에서, 상기 미디어 접근 제어 계층에 연결된 서브 또는 슬레이브 미디어 접근 제어 계층으로 상기 제1 테스트 패킷을 송신하는 단계를 포함하고, 상기 제2 테스트 패킷을 수신하는 단계는, 상기 서브 또는 슬레이브 미디어 접근 제어 계층으로부터 전송되는 상기 제1 테스트 패킷에 대응하는 제2 테스트 패킷을 수신하는 단계를 포함한다.
또한, 상기 테스트 방법은 상기 생성된 제1 테스트 패킷을 암호화하기 위한 암호화 알고리즘을 선택하는 단계를 더 포함한다.
또한, 상기 암호화 알고리즘을 선택하는 단계는, 상기 컨트롤러 유닛의 테스트를 진행하기 위한 테스트 모드에 따라 서로 다른 암호화 알고리즘을 선택하는 단계를 포함한다.
한편, 실시 예에 따른 네트워크 테스트 장치는 미디어 접근 제어 계층을 포함하는 컨트롤러 유닛을 포함하고, 상기 컨트롤러 유닛은, 제1 테스트 패킷을 생성하는 패킷 생성부; 상기 생성된 제1 테스트 패킷을 암호화하는 패킷 암호화부; 상기 미디어 접근 제어 계층에서 수신한 제2 테스트 패킷을 복호화하는 패킷 복호화부; 상기 제1 테스트 패킷과 상기 제2 테스트 패킷을 비교하는 비교부; 및 테스트 모드를 결정하고, 상기 결정된 테스트 모드에 대응되는 테스트 라인을 통해 상기 제1 테스트 패킷의 송신 및 상기 제2 테스트 패킷의 수신이 이루어지도록 제어하고, 상기 비교부의 비교 결과에 따른 테스트 결과 정보를 출력하는 프로세서를 포함하고, 상기 프로세서는, 상기 미디어 접근 제어 계층의 MDIO(Management Data Input/Output) 핀을 통해 데이터를 획득하고, 상기 MDIO 핀을 통해 획득된 데이터에 기초하여, 상기 미디어 접근 제어 계층에 연결된 물리 계층의 존재 여부를 판단하고, 상기 연결된 물리 계층이 존재하면, 제1 테스트 모드에 대응하는 제1 테스트 라인을 통해 상기 제1 테스트 패킷의 송신 및 상기 제2 테스트 패킷의 수신이 이루어지도록 하고, 상기 연결된 물리 계층이 존재하지 않으면, 제2 테스트 모드에 대응하는 제2 테스트 라인을 통해 상기 제1 테스트 패킷의 송신 및 상기 제2 테스트 패킷의 수신이 이루어지도록 하며, 상기 제1 테스트 라인과 상기 제2 테스트 라인은 서로 다르다.
또한, 상기 프로세서는 상기 MDIO 핀을 통해 획득된 데이터가 특정 물리 계층의 식별 정보이면, 상기 연결된 물리 계층이 존재하는 것을 판단한다.
또한, 상기 프로세서는 GPIO(General-Purpose Input/Output)의 특정 핀을 통해 입력되는 신호를 수신하고, 상기 특정 핀을 통해 수신된 신호가 제1 신호이면, 상기 MDIO 핀을 통해 획득된 데이터에 기초하여 상기 제1 테스트 모드 또는 제2 테스트 모드를 결정하고, 상기 특정 핀을 통해 수신된 신호가 제2 신호이면, 제3 테스트 모드에 대응하는 제3 테스트 라인을 통해 상기 제1 테스트 패킷의 송신 및 상기 제2 테스트 패킷의 수신이 이루어지도록 한다.
또한, 상기 제1 테스트 라인은 상기 미디어 접근 제어 계층 및 상기 물리 계층 사이를 연결하고, 상기 제2 테스트 라인은 상기 미디어 접근 제어 계층의 송신 핀과 상기 미디어 접근 제어 계층의 수신 핀 사이를 직접 연결하며, 상기 제3 테스트 라인은 상기 미디어 접근 제어 계층과 서브 또는 슬레이브 미디어 접근 제어 계층 사이를 연결한다.
또한, 상기 프로세서는, 상기 결정된 테스트 모드에 대응하는 암호화 알고리즘을 선택하고, 상기 선택된 암호화 알고리즘에 기초하여 상기 제1 테스트 패킷의 암호화가 이루어지도록 한다.
실시 예에 따른 네트워크 유닛은 미디어 접근 제어 계층을 포함하여 구현된 컨트롤러 유닛을 포함할 수 있다. 이때, 상기 네트워크 유닛은 구축된 네트워크 환경에 따라 서로 다른 조건에서 동작할 수 있다. 이에 따라, 실시 예에서는 상기 네트워크 유닛이 동작하는 네트워크 환경에 대응하게 테스트 환경을 구성하고, 상기 구성된 테스트 환경에서 상기 네트워크 유닛의 테스트가 수행되도록 할 수 있다. 이에 따라, 실시 예에서는 상기 네트워크 유닛이 실제 사용되는 네트워크 환경에 대응하게 테스트를 진행할 수 있으며, 이에 따른 상기 네트워크 유닛의 테스트 정확도를 향상시킬 수 있다.
또한, 실시 예에서는 상기 네트워크 유닛에 물리 계층이 연결된 제1 상태, 상기 물리 계층이 연결되지 않은 제2 상태 및 서브 미디어 접근 제어 계층이 연결된 제3 상태를 인식하고, 이에 기초하여 상기 네트워크 유닛의 테스트 모드를 결정하도록 한다. 구체적으로, 실시 예에서의 네트워크 유닛은 제1 내지 제3 테스트 모드를 지원한다. 그리고 상기 네트워크 유닛은 현재 구성된 테스트 환경을 인식하고, 상기 인식한 테스트 환경에 대응하는 테스트 모드로 진입하여 상기 네트워크 유닛의 테스트를 진행할 수 있다. 이에 따라 실시 예에서는 테스트 진행 시간을 단축할 수 있으며, 이에 따른 네트워크 유닛의 생산성을 향상시킬 수 있다.
나아가, 실시 예에서는 하나의 네트워크 유닛에 대해 다양한 테스트 환경에서 테스트를 진행할 수 있으며, 이를 토대로 상기 네트워크 유닛의 제품 신뢰성 및 제품 만족도를 향상시킬 수 있다.
도 1은 비교 예에 따른 네트워크 테스트 시스템을 나타낸 도면이다.
도 2는 실시 예에 따른 네트워크 테스트 장치를 개략적으로 나타낸 도면이다.
도 3은 도 2의 네트워크 유닛에 포함된 미디어 접근 제어 계층의 인터페이스를 설명하기 위한 도면이다.
도 4는 실시 예에 따른 네트워크 유닛의 컨트롤러 유닛을 구체적으로 나타낸 도면이다.
도 5는 실시 예에 따른 도 2의 테스트 환경 구성 유닛을 나타낸 도면이다.
도 6은 실시 예에 따른 제1 테스트 라인을 설명하기 위한 도면이다.
도 7은 실시 예에 따른 제2 테스트 라인을 설명하기 위한 도면이다.
도 8은 실시 예에 다른 제3 테스트 라인을 설명하기 위한 도면이다.
도 9는 실시 예에 따른 네트워크 테스트 장치의 테스트 모드 결정 방법을 단계별로 설명하기 위한 흐름도이다.
도 10은 실시 예에 따른 제1 테스트 방법을 단계별로 설명하기 위한 흐름도이다.
도 11은 실시 예에 따른 제2 테스트 방법을 단계별로 설명하기 위한 흐름도이다.
도 12는 도 11의 세팅 동작을 단계별로 설명하기 위한 흐름도이다.
도 13은 실시 예에 따른 제3 테스트 방법을 단계별로 설명하기 위한 흐름도이다.
이하, 첨부된 도면을 참조하여 본 명세서에 개시된 실시 예를 상세히 설명하되, 도면 부호에 관계없이 동일하거나 유사한 구성요소는 동일한 참조 번호를 부여하고, 이에 대한 중복되는 설명은 생략하기로 한다. 이하의 설명에서 사용되는 구성요소에 대한 접미사 "모듈" 및 "부"는 명세서 작성의 용이함만이 고려되어 부여되거나 혼용되는 것으로서, 그 자체로 서로 구별되는 의미 또는 역할을 갖는 것은 아니다. 또한, 본 명세서에 개시된 실시 예를 설명함에 있어 관련된 공지 기술에 대한 구체적인 설명이 본 명세서에 개시된 실시 예의 요지를 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다. 또한, 첨부된 도면은 본 명세서에 개시된 실시 예를 쉽게 이해할 수 있도록 하기 위한 것일 뿐, 첨부된 도면에 의해 본 명세서에 개시된 기술적 사상이 제한되지 않으며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.
제1, 제2 등과 같이 서수를 포함하는 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되지는 않는다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다.
어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다.
단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다.
본 출원에서, "포함한다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.
이하, 첨부한 도면을 참조하여 본 발명의 실시 예의 설명에 앞서, 비교 예에 대해 설명하기로 한다.
도 1은 비교 예에 따른 네트워크 테스트 시스템을 나타낸 도면이다.
도 1을 참조하면, 비교 예에서는 네트워크 유닛의 테스트를 위해서는 동일한 기종 또는 테스트 대상의 상태가 되는 또 다른 네트워크 유닛이 필요하다. 여기에서, 네트워크 유닛은 미디어 접근 제어(MAC) 계층 및 물리(PHY) 계층 중 어느 하나의 계층을 포함하는 유닛을 의미할 수 있다.
즉, 일반적인 네트워크 장치는 미디어 접근 제어(MAC) 계층 및 물리(PHY) 계층을 포함한다. 그리고, 상기 네트워크 장치의 테스트를 위해서는 상기 미디어 접근 제어(MAC) 계층 및 물리(PHY) 계층을 각각 포함하는 제1 네트워크 장치 및 제2 네트워크 장치가 구비된 상태이어야 한다.
구체적으로, 비교 예의 네트워크 테스트 시스템은 제1 네트워크 장치(10) 및 제2 네트워크 장치(20)를 포함한다.
이때, 상기 제1 네트워크 장치(10)는 마스터 장치를 의미할 수 있다. 예를 들어, 상기 제1 네트워크 장치(10)는 테스트하고자 하는 대상을 의미할 수 있다. 제2 네트워크 장치(20)는 상기 제1 네트워크 장치(10)의 테스트를 위해 필요한 상대 네트워크 장치를 의미할 수 있다. 제2 네트워크 장치(20)는 상기 마스터 장치로 설정된 제1 네트워크 장치(10)의 테스트를 위해 제공되는 슬레이브 장치일 수 있다.
상기 제1 네트워크 장치(10)는 제1 미디어 접근 제어 계층(MAC1, 11) 및 제1 물리 계층(PHY1, 12)을 포함한다.
그리고 상기 제2 네트워크 장치(20)는 상기 제1 네트워크 장치(10)와 동일하게 제2 미디어 접근 제어 계층(MAC2, 21) 및 제2 물리 계층(PHY2, 22)을 포함한다.
상기 제1 네트워크 장치(10)의 테스트 과정을 설명하면 다음과 같다.
상기 제1 네트워크 장치(10)의 제1 미디어 접근 제어 계층(MAC1, 11)은 테스트 패킷을 상기 제1 물리 계층(PHY1, 12)으로 출력한다. 상기 제1 물리 계층(PHY1, 12)은 상기 테스트 패킷을 수신하고, 상기 수신한 테스트 패킷을 이더넷 라인(ETH)을 통해 전송 가능한 형태의 신호로 변환한다. 그리고 상기 제1 물리 계층(PHY1, 12)은 상기 변환된 테스트 패킷을 이더넷 라인(ETH)을 통해 상기 제2 물리 계층(PHY2, 22)으로 전송한다.
상기 제2 물리 계층(PHY2, 22)은 상기 제1 물리 계층(PHY1, 12)으로부터 전송되는 테스트 패킷을 수신하고, 이를 상기 제2 미디어 접근 제어 계층(MAC2, 21)으로 전달한다. 상기 제2 미디어 접근 제어 계층(MAC2, 21)은 상기 수신한 테스트 패킷을 다시 상기 제2 물리 계층(PHY2, 22)을 통해 상기 제1 물리 계층(PHY1, 12)으로 전송한다.
이후, 상기 제1 미디어 접근 제어 계층(MAC1, 11)은 상기 제1 물리 계층(PHY1, 12)을 통해 상기 제2 네트워크 장치(20)로부터 재전송한 테스트 패킷을 수신한다. 이후, 상기 제1 미디어 접근 제어 계층(MAC1, 11)은 상기 전송한 테스트 패킷과 상기 수신한 테스트 패킷을 비교한다. 그리고, 상기 제1 미디어 접근 제어 계층(MAC1, 11)은 상기 2개의 테스트 패킷의 비교 결과에 따라, 네트워크 동작 상태를 검증한다.
그러나 이와 같은 비교 예의 네트워크 테스트 시스템은 미디어 접근 제어 계층을 포함하는 네트워크 장치 생산 시에, 이더넷 라인(ETH)의 검증 및 네트워크 동작 상태를 검증하기 위해 많은 시간이 할애되고, 이에 따른 양산성이 떨어지는 문제점이 있다.
예를 들어, 비교 예의 네트워크 테스트 시스템은, 미디어 접근 제어 계층을 포함하는 네트워크 유닛을 생산하는 하는 경우, 이의 테스트를 위해서는 동일한 기종 또는 상대가 되는 제품이 추가로 필요한 문제가 있다. 또한, 비교 예의 네트워크 테스트 시스템은 테스트를 진행하기 위하여, 마스터와 슬레이브 기종의 구분이 필요하다. 그리고 비교 예의 네트워크 테스트 시스템은 핑을 사용하여 마스터와 슬레이브 사이에서 테스트를 위한 신호를 주고 받는다. 이에 따라, 비교 예의 네트워크 테스트 장치는 상기 핑에 대응하는 응답 신호를 수신하기까지 대기해야 하며, 이에 따른 테스트 시간이 증가하는 문제가 있다.
그리고 비교 예의 네트워크 테스트 시스템은 상기와 같이 마스터와 슬레이브로 구분된 2개의 네트워크 장치를 이용하여 테스트를 진행해야 하며, 이에 따른 테스트 진행을 위한 비용 및 시간이 많이 소요되며, 여러 제품의 테스트를 동시에 진행할 수 없는 문제가 있다. 나아가, 비교 예의 네트워크 테스트 시스템은 복잡한 테스트 패킷을 전송하는 경우, 이의 확인 과정이 복잡한 문제가 있다.
나아가, 일반적으로는 미디어 접근 제어 계층만을 포함하는 네트워크 유닛을 생산하고, 상기 생산된 네트워크 유닛(물리 계층이 미포함 또는 미연결된 상태)만을 이용하여 테스트를 진행하길 원한다. 그러나 비교 예에서는 상기 미디어 접근 제어 계층만을 포함하는 네트워크 유닛을 단독적으로 동작시켜 이의 테스트를 진행할 수가 없는 문제가 있다. 나아가, 비교 예에서는 다양한 테스트 모드 중 어느 하나의 테스트 모드를 적용하여 상기 네트워크 유닛의 테스트를 진행할 수 없는 문제가 있다.
이에 따라, 실시 예는 미디어 접근 제어 계층에 물리 계층이 미연결된 상태에서도 상기 미디어 접근 제어 계층의 테스트를 진행할 수 있도록 한다. 나아가, 실시 예는 미디어 접근 제어 계층의 네트워크 환경에 따라 다양한 테스트 모드를 지원할 수 있도록 한다.
도 2는 실시 예에 따른 네트워크 테스트 장치를 개략적으로 나타낸 도면이다.
도 2를 참조하면, 네트워크 테스트 장치는 네트워크 유닛(100) 및 테스트 환경 구성 유닛(200)을 포함할 수 있다.
네트워크 유닛(100)은 테스트하고자 하는 네트워크 장치를 의미할 수 있다. 예를 들어, 네트워크 유닛(100)은 미디어 접근 제어 계층(110)을 포함하는 유닛을 의미할 수 있다.
구체적으로, 네트워크 유닛(100)은 미디어 접근 제어 계층(110)을 포함하여 구현된 컨트롤러 유닛을 의미할 수 있다. 즉, 상기 네트워크 유닛(100)은 컨트롤러 유닛을 의미할 수 있고, 상기 컨트롤러 유닛은 미디어 접근 제어 계층(110)을 포함하여 구현될 수 있다.
상기 네트워크 유닛(100)은 실제 구축된 네트워크 환경에서, 물리 계층과 연결될 수 있다. 그리고 네트워크 유닛(100)은 상기 물리 계층을 제어할 수 있고, 다양한 기능들(예를 들어, 인포테인먼트 기능)을 수행하도록 할 수 있다.
이때, 일반적인 네트워크 장치에서, 상기 미디어 접근 제어 계층(110)을 포함하는 컨트롤러 유닛인 네트워크 유닛(100)은 상기 물리 계층과 하나의 SoC(System on Chip)으로 구현될 수 있다.
다만, 실시 예에서의 네트워크 장치는 상기 미디어 접근 제어 계층(110)을 포함하는 컨트롤러 유닛인 네트워크 유닛(100)과 상기 물리 계층이 별도의 칩으로 구성된다.
즉, 실시 예에서는 상기 미디어 접근 제어 계층(110)을 포함하는 컨트롤러 유닛을 하나의 네트워크 유닛으로 제작하고, 이와 별도로 상기 물리 계층을 제작할 수 있다.
그리고 실시 예에서는 상기 물리 계층을 포함하지 않는 상기 네트워크 유닛(100)에 대해, 이의 단독적인 테스트가 진행될 수 있도록 테스트 환경을 구축한다.
예를 들어, 실시 예에서는 상기 네트워크 유닛(100)의 테스트를 위해, 상기 네트워크 유닛(100)의 네트워크 환경을 인식하고, 상기 인식한 네트워크 환경에 따라 다양한 테스트 모드 중 어느 하나의 테스트 모드로 상기 네트워크 유닛(100)의 테스트를 진행할 수 있도록 한다.
한편, 상기 네트워크 유닛(100)은 상기 물리 계층과 매체 독립 인터페이스(media independent interface, MII)를 연결될 수 있다. 이를 위해, 상기 네트워크 유닛(100)은 상기 매체 독립 인터페이스에 대응하는 복수의 핀(추후 설명)을 포함할 수 있다. 바람직하게, 상기 네트워크 유닛(100)의 상기 미디어 접근 제어 계층(110)은 네트워크 구축 환경에 따라 상기 물리 계층과 연결되는 복수의 핀을 포함할 수 있다.
이때, 상기 매체 독립 인터페이스는 IEEE 8023에 규정된 인터페이스를 의미할 수 있다. 이에 따라, 실시 예는 상기 네트워크 유닛(100)과 상기 물리 계층 사이의 데이터 인터페이스 및 관리 인터페이스로 구성될 수 있다. 다만, 실시 예는 이에 한정되지 않으며, 상기 네트워크 유닛(100)과 상기 물리 계층은 RMII(reduced MII), GMII(gigabit MII), RGMII(reduced GMII), SGMII(serial GMII), XGMII(10 GMII) 중 하나의 인터페이스를 통해 연결될 수 있다. 이때, 데이터 인터페이스는 전송 채널(channel) 및 수신 채널을 포함할 수 있으며, 채널들 각각은 독립적인 클럭(clock), 데이터 및 제어 신호를 가질 수 있다. 관리 인터페이스는 2-신호 인터페이스로 구성될 수 있으며, 하나는 클록을 위한 신호이고 다른 하나는 데이터를 위한 신호일 수 있다.
상기 테스트 환경 구성 유닛(200)은 상기 네트워크 유닛(100)과 연결된다. 그리고, 상기 테스트 환경 구성 유닛(200)은 상기 네트워크 유닛(100)의 테스트를 위한 환경을 구성한다. 예를 들어, 상기 테스트 환경 구성 유닛(200)은 상기 네트워크 유닛(100)의 미디어 접근 제어 계층(110)의 복수의 핀들과 연결되는 테스트 라인을 제공할 수 있다. 이때, 상기 테스트 라인은 복수 개 포함될 수 있다. 예를 들어, 실시 예에서, 상기 테스트 환경 구성 유닛(200)은 상기 네트워크 유닛(100)의 테스트를 위한 복수의 테스트 모드를 지원한다. 이를 위해 상기 테스트 환경 구성 유닛(200)은 상기 복수의 테스트 모드에 대응하는 복수의 테스트 라인을 포함할 수 있다.
상기 테스트 환경 구성 유닛(200)은 상기 네트워크 유닛(100)이 장착되는 지그를 의미할 수 있다. 예를 들어, 상기 테스트 환경 구성 유닛(200)은 테스트 라인을 포함하며, 그에 따라 상기 네트워크 유닛(100)이 장착됨에 따라 상기 테스트 라인을 통해 상기 네트워크 유닛(100)의 테스트의 진행이 가능하도록 하는 테스트 지그를 의미할 수 있다.
이하에서는 실시 예에 따른 네트워크 테스트 장치의 각 구성에 대해 보다 구체적으로 설명하기로 한다.
도 3은 도 2의 네트워크 유닛에 포함된 미디어 접근 제어 계층의 인터페이스를 설명하기 위한 도면이다.
도 3을 참조하면, 상기 네트워크 유닛(100)은 미디어 접근 제어 계층(110)을 포함한다. 그리고 상기 미디어 접근 제어 계층(110)은 복수의 핀을 포함할 수 있다. 이하에서는, 예를 들어, 상기 미디어 접근 제어 계층(110)은 데이터 인터페이스에 대응하는 제1 그룹의 핀 및 관리 인터페이스에 대응하는 제2 그룹의 핀을 포함할 수 있다.
상기 제1 그룹의 핀은 상기 미디어 접근 제어 계층(110)과 물리 계층 사이에서 패킷 데이터가 송수신되도록 하는 송신 채널에 대응한 송신 핀과, 수신 채널에 대응한 수신 핀을 포함할 수 있다. 이때, 실시 예에서는 패킷 데이터를 송수신할 때, 이를 차동 신호(differential signal)로 송수신할 수 있다. 이에 따라, 상기 송신 핀과 수신 핀 각각은 상기 차동 신호를 송수신하기 위해 복수 개로 구성될 수 있다.
예를 들어, 상기 미디어 접근 제어 계층(110)은 제1 송신 핀(P1) 및 제2 송신 핀(P2)을 포함할 수 있다. 상기 제1 송신 핀(P1) 및 제2 송신 핀(P2)은 전송하고자 하는 패킷 데이터를 차동 신호로 출력할 수 있다.
또한, 미디어 접근 제어 계층(110)은 제1 수신 핀(P3) 및 제2 수신 핀(P4)을 포함할 수 있다. 상기 제1 수신 핀(P3) 및 제4 수신 핀(P4)은 차동 신호로 전송되는 패킷 데이터를 수신할 수 있다.
또한, 상기 미디어 접근 제어 계층(110)은 상기 물리 계층을 리셋하기 위한 리셋 핀(P5)을 포함할 수 있다. 또한, 상기 미디어 접근 제어 계층(110)은 상기 물리 계층에 인터럽트 신호를 전달하기 위한 인터럽트 핀(P6)을 포함할 수 있다.
이에 따라, 상기 미디어 접근 제어 계층(110)의 제1 그룹의 핀은 상기 제1 송신 핀(P1), 제2 송신 핀(P2), 제1 수신 핀(P3), 제2 수신 핀(P4), 리셋 핀(P5) 및 인터럽트 핀(P6)을 포함할 수 있다.
또한, 상기 미디어 접근 제어 계층(110)은 관리 인터페이스에 대응하는 제2 그룹의 핀을 포함한다. 구체적으로, 상기 미디어 접근 제어 계층(110)은 상기 물리 계층과 연결되어 양방향으로 데이터를 송수신하는 관리 데이터 핀(P7)을 포함할 수 있다. 상기 관리 데이터 핀(P7)은 MDIO(Management Data Input/Output) 핀일 수 있다. 상기 미디어 접근 제어 계층(110)은 상기 MDIO 핀에 대응하는 관리 데이터 핀(P7)을 이용하여 상기 물리 계층의 상태 정보를 읽을 수 있다. 또한, 상기 미디어 접근 제어 계층(110)은 상기 관리 데이터 핀(P7)을 이용하여 상기 물리 계층의 배열 정보를 변경할 수 있다. 상기 미디어 접근 제어 계층(110)은 상기 관리 데이터 핀(P7)을 이용하여 상기 물리 계층과 양방향 통신이 가능할 수 있다.
또한, 상기 미디어 접근 제어 계층(110)은 상기 물리 계층에 기준 클록 신호를 제공하기 위한 클록 핀(P8)을 포함할 수 있다. 상기 클록 핀(P8)은 MDC(Management Data Clock)핀일 수 있다.
상기 미디어 접근 제어 계층(110)은 상기와 같이 제1 송신 핀(P1), 제2 송신 핀(P2), 제1 수신 핀(P3) 및 제2 수신 핀(P4)을 포함한다. 그리고, 상기 미디어 접근 제어 계층(110)은 상기 제1 송신 핀(P1) 및 제2 송신 핀(P2)을 통해 테스트 패킷을 전송할 수 있다. 또한, 상기 미디어 접근 제어 계층(110)은 상기 제1 수신 핀(P3) 및 제2 수신 핀(P4)을 통해 상기 전송한 테스트 패킷에 대응하는 응답 패킷을 수신할 수 있다. 여기에서, 상기 응답 패킷은 상기 전송한 테스트 패킷에 대응하는 테스트 패킷을 의미할 수 있다. 예를 들어, 실시 예에서는 상기 네트워크 유닛(100)의 테스트를 위해서, 상기 미디어 접근 제어 계층(110)의 제1 송신 핀(P1) 및 제2 송신 핀(P2)을 통해 테스트 패킷을 전송한다. 그리고 상기 네트워크 유닛(100)은 상기 미디어 접근 제어 계층(110)의 제1 수신 핀(P3) 및 제2 수신 핀(P4)을 통해 상기 전송한 테스트 패킷과 동일한 테스트 패킷을 수신할 수 있다. 그리고, 상기 네트워크 유닛(100)은 상기 전송한 테스트 패킷과 상기 수신한 테스트 패킷의 비교를 통해, 상기 네트워크 유닛(100)의 동작 상태 및 네트워크 환경의 테스트를 진행할 수 있다. 이때, 상기 네트워크 유닛(100)의 상기 미디어 접근 제어 계층(110)의 제1 수신 핀(P3) 및 제2 수신 핀(P4)을 통해 수신되는 테스트 패킷은 테스트 모드에 따라 서로 다른 대상으로부터 전송될 수 있다.
예를 들어, 실시 예에서는 제1 내지 제3 테스트 모드를 지원한다.
제1 테스트 모드는, 상기 네트워크 유닛(100)에 물리 계층이 연결되고, 그에 따라 상기 네트워크 유닛(100)에 대응하는 대상 네트워크 유닛이 구비된 상태에서 테스트를 진행하는 모드를 의미할 수 있다.
또한, 제2 테스트 모드는, 상기 네트워크 유닛(100)에 물리 계층이 연결되지 않은 상태에서, 상기 네트워크 유닛(100)이 독립적으로 자가 테스트를 진행하는 모드를 의미할 수 있다.
또한, 상기 제3 테스트 모드는 상기 네트워크 유닛(100)에 물리 계층이 연결되지 않은 상태에서, 상기 네트워크 유닛(100)과 동일한 서브 네트워크 유닛과 테스트 패킷을 주고 받음에 따라 테스트를 진행할 수 있는 모드를 의미할 수 있다.
그리고 상기 테스트 환경 구성 유닛(200)은 상기 제1 내지 제3 테스트 모드에 따라, 이에 대응하는 테스트 라인을 구성하도록 한다. 상기 테스트 환경 구성 유닛(200)을 통해 구성되는 테스트 라인을 포함한 테스트 환경에 대해서는 하기에서 설명하기로 한다.
도 4는 실시 예에 따른 네트워크 유닛의 컨트롤러 유닛을 구체적으로 나타낸 도면이다.
도 4를 참조하면, 실시 예에서는 네트워크 유닛(100)의 테스트를 진행하기 위해서, 패킷 생성부(120), 패킷 암호화부(130), 패킷 복호화부(140), 비교부(150), 테스트 결과 출력부(160) 및 프로세서(170)를 포함할 수 있다.
상기 패킷 생성부(120)는 상기 네트워크 유닛(100)의 테스트를 진행하기 위한 테스트 패킷을 생성할 수 있다. 상기 패킷 생성부(120)는 네트워크 유닛(100)의 테스트를 진행하기 위한 랜덤의 데이터를 생성할 수 있다. 이때, 상기 테스트 패킷은 일정 크기를 가질 수 있다. 이때, 상기 테스트 패킷이 너무 단순한 경우, 실시 예에 따른 테스트 결과의 정확도가 낮아질 수 있다. 또한, 상기 테스트 패킷이 너무 복잡할 경우, 실시 예에 따른 테스트를 진행하는데 소요되는 시간이 증가할 수 있다. 이에 따라, 상기 패킷 생성부(120)는 10바이트 내지 20바이트의 크기를 가지는 랜덤의 테스트 패킷을 생성할 수 있다.
패킷 암호화부(130)는 상기 패킷 생성부(120)를 통해 생성된 테스트 패킷을 수신할 수 있다. 그리고 상기 패킷 암호화부(130)는 상기 수신한 테스트 패킷을 암호화할 수 있다. 이때, 상기 패킷 암호화부(130)는 복수의 암호화 알고리즘 중 어느 하나의 알고리즘을 통해 선택적으로 상기 테스트 패킷을 암호화할 수 있다.
이때, 실시 예에서는 테스트 모드에 따라 서로 다른 암호화 알고리즘을 적용하여 상기 테스트 패킷을 암호화할 수 있다. 즉, 상기 테스트 모드는 네트워크 유닛(100)의 테스트를 진행하기 위해 구축된 테스트 환경에 따라 결정된다. 이에 따라, 실시 예에서는 상기 네트워크 유닛(100)의 테스트를 진행하기 위해 테스트 모드에 따라 서로 다른 암호화 알고리즘을 적용하여, 이에 따른 테스트 정확도를 높일 수 있도록 한다. 예를 들어, 실시 예에서는 제1 테스트 모드에서 제1 암호화 알고리즘을 적용하여 상기 테스트 패킷을 암호화할 수 있다. 예를 들어, 실시 예에서는 제2 테스트 모드에서 상기 제1 암호화 알고리즘과 다른 제2 암호화 알고리즘을 적용하여 상기 테스트 패킷을 암호화할 수 있다. 예를 들어, 실시 예에서는 제3 테스트 모드에서 상기 제1 및 제2 암호화 알고리즘과 다른 제3 암호화 알고리즘을 적용하여 상기 테스트 패킷을 암호화할 수 있다.
이에 따라, 실시 예에서는 테스트 환경에 따라, 최적의 암호화 알고리즘을 적용하여 상기 테스트 패킷의 암호화를 진행할 수 있으며, 이에 따른 테스트 정확도를 높이면서, 테스트 시간을 획기적으로 단축할 수 있다.
한편, 실시 예는 이에 한정되지 않으며, 실시 예에 따라 상기 테스트 모드와 관계 없이 상기 테스트 패킷의 암호화 알고리즘은 동일할 수 있다. 또한, 이와 다르게, 실시 예에서는 상기 테스트 모드와 관계없이 상기 암호화 알고리즘을 랜덤으로 결정하고, 이를 토대로 상기 테스트 패킷을 암호화할 수 있다.
이때, 실시 예에서는 상기와 같이 테스트 패킷을 암호화하여, 이에 따른 테스트 정확도를 높일 수 있도록 한다.
예를 들어, 상기 패킷 생성부(120)를 통해 생성된 테스트 패킷의 페이로드(payload)가 짧거나 단순한 경우(예를 들어, 0xfffff 패킷인 경우), 신호 왜곡에 의한 패킷과 상기 테스트 패킷의 구분이 어렵다. 이에 따라, 실시 예에서는 패킷 암호화부(130)를 통해 상기 테스트 패킷의 암호화를 진행하고, 이에 따라 수신된 테스트 패킷의 복호화를 진행하도록 한다. 이를 통해, 실시 예에서는 좀 더 복잡한 데이터를 송수신할 수 있으며, 이에 따른 테스트 신뢰성을 확보할 수 있다.
한편, 상기 패킷 암호화부(130)를 통해 암호화된 테스트 패킷은 상기 미디어 접근 제어 계층(110)의 제1 송신 핀(P1) 및 제2 송신 핀(P2)을 통해 송신될 수 있다.
패킷 복호화부(140)는 수신되는 테스트 패킷을 복호화할 수 있다. 예를 들어, 상기 패킷 복호화부(140)는 암호화되어 전송되는 테스트 패킷을 수신하고, 상기 테스트 패킷을 복호화할 수 있다. 이때, 상기 패킷 복호화부(140)은 상기 패킷 암호화부(130)에서 사용한 암호화 알고리즘에 대응하는 복호화 알고리즘을 적용하여 상기 수신된 테스트 패킷을 복호화할 수 있다.
이때, 상기 패킷 복호화부(140)는 상기 미디어 접근 제어 계층(110)의 제1 수신 핀(P3) 및 제2 수신 핀(P4)을 통해 상기 테스트 패킷을 수신할 수 있다.
비교부(150)는 상기 송신된 테스트 패킷과 상기 수신된 테스트 패킷을 비교할 수 있다. 예를 들어, 상기 비교부(150)는 상기 송신 핀(P1, P2)을 통해 송신된 테스트 패킷과 상기 수신 핀(P3, P4)을 통해 수신된 테스트 패킷이 서로 동일한지 비교할 수 있다.
그리고 상기 비교부(150)는 상기 비교 결과에 대응하는 정보를 프로세서(170)에 제공할 수 있다.
예를 들어, 상기 비교부(150)는 상기 송신된 테스트 패킷과 상기 수신된 테스트 패킷 사이의 일치 여부 및 일치 정도에 대한 정보를 상기 프로세서(170)에 제공할 수 있다.
테스트 결과 출력부(160)는 실시 예에 따라 진행된 테스트 결과를 출력할 수 있다. 이때, 상기 테스트 결과 출력부(160)는 영상을 출력하는 영상 출력부 또는 음성을 출력하는 음성 출력부로 구현될 수 있다. 이와 다르게, 상기 테스트 환경 구성 유닛(200)은 테스트 결과에 따라 서로 다른 광을 출력하는 광 출력부로 구현될 수 있다.
상기 프로세서(170)는 실시 예의 네트워크 유닛(100)의 테스트 동작을 전반적으로 제어할 수 있다.
구체적으로, 상기 프로세서(170)는 상기 네트워크 유닛(100)의 테스트 환경을 인식할 수 있다. 이때, 상기 테스트 환경의 인식은 외부로부터 상기 프로세서(170)의 특정 핀으로 전달되는 신호에 기초하여 이루어질 수 있다. 또한, 상기 테스트 환경의 인식은 상기 미디어 접근 제어 계층(110)의 특정 핀을 통해 획득된 정보를 이용하여 이루어질 수 있다. 이에 대해서는 하기에서 더욱 상세히 설명하기로 한다.
상기 프로세서(170)는 상기 테스트 환경이 인식되면, 상기 인식된 테스트 환경에 따른 특정 테스트 모드를 진행하기 위한 프로그램을 로딩할 수 있다. 예를 들어, 상기 프로세서(170)에는 제1 내지 제3 테스트 모드에 대응하는 동작 프로그램이 저장될 수 있다. 그리고, 상기 프로세서(170)는 상기 인식한 테스트 환경에 따라 상기 저장된 동작 프로그램 중 어느 하나의 동작 프로그램을 로딩할 수 있다. 또한, 상기 프로세서(170)는 상기 로딩한 동작 프로그램을 중심으로 네트워크 유닛(100)의 테스트가 진행되도록 할 수 있다.
상기 프로세서(170)는 상기 테스트 모드가 결정되면, 상기 패킷 생성부(120)를 통해 테스트 진행을 위한 테스트 패킷이 생성되도록 한다. 또한, 상기 프로세서(170)는 상기 패킷 암호화부(130)를 통해 상기 생성된 테스트 패킷의 암호화가 이루어지도록 한다. 이를 위해, 상기 프로세서(170)는 복수의 암호화 알고리즘 중 상기 결정된 테스트 모드 또는 램덤으로 어느 하나의 특정 암호화 알고리즘을 선택하고, 상기 선택된 암호화 알고리즘을 기준으로(또는 기초하여) 상기 테스트 패킷의 암호화가 이루어지도록 한다.
이후, 상기 프로세서(170)는 상기 패킷 암호화부(130)를 통해 암호화된 테스트 패킷이 상기 미디어 접근 제어 계층(110)의 송신 핀(P1, P2)을 통해 송신되도록 한다. 이때, 상기 송신 핀(P1, P2)을 통해 송신되는 테스트 패킷의 수신 목적지는 상기 결정된 테스트 모드에 따라 달라질 수 있다. 이에 대해서는 하기에서 상세히 설명하기로 한다.
또한, 상기 프로세서(170)는 상기 수신 핀(P3, P4)을 통해 테스트 패킷이 수신되면, 상기 수신된 테스트 패킷을 상기 패킷 복호화부(140)에 전달한다. 그리고, 상기 프로세서(170)는 상기 패킷 복호화부(140)를 통해 상기 수신된 테스트 패킷의 복호화가 이루어지도록 한다. 이때, 상기 프로세서(170)는 상기 패킷 암호화부(130)에 적용된 암호화 알고리즘에 대응하는 복호화 알고리즘을 선택하고, 상기 선택된 복호화 알고리즘을 기준으로(또는 기초하여) 상기 수신된 테스트 패킷의 복호화가 이루어지도록 상기 패킷 복호화부(140)를 제어할 수 있다.
또한, 상기 프로세서(170)는 상기 송신된 테스트 패킷과 상기 수신된 테스트 패킷 사이의 일치 여부가 비교되도록 상기 비교부(150)를 제어할 수 있다. 또한, 상기 프로세서(170)는 상기 비교부(150)를 통해 비교 결과 정보를 수신하고, 이를 토대로 상기 네트워크 유닛(100)의 정상 동작 여부 및 네트워크 라인의 상태를 판단할 수 있다. 그리고 상기 프로세서(170)는 상기 판단한 상태에 대한 정보가 상기 테스트 결과 출력부(160)를 통해 출력되도록 할 수 있다.
도 5는 실시 예에 따른 도 2의 테스트 환경 구성 유닛을 나타낸 도면이다.
도 5를 참조하면, 테스트 환경 구성 유닛(200)은 네트워크 유닛 연결부(210), 테스트 라인 제공부(220), 제1 물리 계층 유닛 연결부(230), 제1 커넥터(240), 제2 커넥터(250), 제2 물리 계층 유닛 연결부(260) 및 제2 미디어 접근 제어 계층 유닛 연결부(270)를 포함할 수 있다.
본원의 설명에 앞서, 도 5에 도시된 테스트 환경 구성 유닛(200)은 상기 네트워크 유닛(100)의 테스트를 위한 테스트 환경을 구성한다. 이때, 상기 테스트 환경 구성 유닛(200)은 테스트하고자 하는 네트워크 유닛(100)이 장착되는 장착부를 포함하는 지그일 수 있다. 이때, 상기 테스트 환경 구성 유닛(200)는 상기 네트워크 유닛(100)의 테스트 모드에 따라 각각 구분된 지그로 구성될 수 있고, 이와 다르게 3개의 테스트 모드를 모두 제공할 수 있는 하나의 일체형 지그로 구성될 수 있다.
일 예로, 상기 테스트 환경 구성 유닛(200)은 제1 테스트 모드에 대응하는 제1 테스트 환경을 구성하는 제1 유닛과, 제2 테스트 모드에 대응하는 제2 테스트 환경을 구성하는 제2 유닛과, 제3 테스트 모드에 대응하는 제3 테스트 환경을 구성하는 제3 유닛을 포함할 수 있다.
이와 다르게, 상기 테스트 환경 구성 유닛(200)은 제1 내지 제3 테스트 모드에 대응하는 제1 내지 제3 테스트 환경을 선택적으로 제공하는 하나의 일체형 유닛을 포함할 수 있다.
이하에서는, 상기 테스트 환경 구성 유닛(200)이 제1 내지 제3 테스트 모드를 모두 지원하기 위하여, 제1 내지 제3 테스트 환경을 선택적으로 제공하는 것으로 하여 설명하기로 한다. 다만, 실시 예는 이에 한정되지 않으며, 상기 테스트 환경 구성 유닛(200)은 3개의 유닛으로 구분 및 분리될 수도 있을 것이다.
상기 테스트 환경 구성 유닛(200)은 네트워크 유닛 연결부(210)를 포함한다. 상기 네트워크 유닛 연결부(210)는 테스트하고자 하는 네트워크 유닛(100)과 연결될 수 있다. 예를 들어, 상기 네트워크 유닛 연결부(210)는 테스트하고자 하는 네트워크 유닛(100)이 장착되는 장착부일 수 있다. 실시 예에서는 제조가 완료되어 테스트를 진행하고자 하는 네트워크 유닛(100)을 상기 테스트 환경 구성 유닛(200)의 네트워크 유닛 연결부(210)에 장착하여, 상기 네트워크 유닛(100)의 테스트를 진행할 수 있다.
상기 네트워크 유닛 연결부(210)는 상기 네트워크 유닛(100)과 연결되는 연결 단자(미도시)를 포함할 수 있다. 예를 들어, 상기 네트워크 유닛 연결부(210)는 상기 네트워크 유닛(100)의 제1 송신 핀(P1), 제2 송신 핀(P2), 제1 수신 핀(P3), 제2 수신 핀(P4), 리셋 핀(P5), 인터럽트 핀(P6), 관리 데이터 핀(P7) 및 클록 핀(P8)과 각각 연결되는 제1 내지 제8 연결 단자를 포함할 수 있다.
테스트 라인 제공부(220)는 상기 네트워크 유닛 연결부(210)과 연결될 수 있다. 상기 테스트 라인 제공부(220)는 상기 네트워크 유닛 연결부(210)에 연결된 네트워크 유닛(100)의 테스트를 위한 테스트 라인을 제공할 수 있다.
즉, 상기 테스트 라인 제공부(220)는 제1 테스트 모드에서의 상기 네트워크 유닛(100)의 테스트를 위한 제1 테스트 라인을 제공할 수 있다.
또한, 상기 테스트 라인 제공부(220)는 제2 테스트 모드에서의 상기 네트워크 유닛(100)의 테스트를 위한 제2 테스트 라인을 제공할 수 있다.
또한, 상기 테스트 라인 제공부(220)는 제3 테스트 모드에서의 상기 네트워크 유닛(100)의 테스트를 위한 제3 테스트 라인을 제공할 수 있다.
상기 테스트 라인 제공부(220)는 스위치(미도시)를 포함할 수 있고, 상기 네트워크 유닛(100)의 테스트 모드에 대응하게, 상기 제1 내지 제3 테스트 라인 중 어느 하나의 테스트 라인과 상기 네트워크 유닛 연결부(210)를 연결할 수 있다.
한편, 상기 테스트 환경 구성 유닛(200)이 각각의 테스트 모드에 대응하게 구분된 유닛으로 구성되는 경우, 각각의 유닛은 상기 제1 내지 제3 테스트 라인 중 어느 하나의 테스트 라인만을 포함할 수 있을 것이다.
상기 테스트 라인 제공부(220)에서 제공되는 제1 내지 제3 테스트 라인에 대해서는 하기에서 설명하기로 한다.
제1 물리 계층 유닛 연결부(230)는 제1 물리 계층이 장착되는 장착부일 수 있다. 즉, 상기 제1 물리 계층 유닛 연결부(230)는 상기 네트워크 유닛 연결부(210)에 연결된 네트워크 유닛(100)과 상기 제1 물리 계층을 연결할 수 있다. 이를 위해, 상기 제1 물리 계층 유닛 연결부(230)는 상기 네트워크 유닛 연결부(210)에 장착된 네트워크 유닛(100)과 상기 제1 물리 계층 사이를 연결하는 인터페이스 라인(미도시)을 포함할 수 있다. 상기 제1 물리 계층 유닛 연결부(230)에는 제1 물리 계층이 선택적으로 장착될 수 있다. 예를 들어, 상기 네트워크 유닛(100)을 제1 테스트 모드로 테스트하고자 하는 경우, 상기 제1 물리 계층 유닛 연결부(230)에는 제1 물리 계층이 장착될 수 있다.
제1 커넥터(240)는 상기 제1 물리 계층 유닛 연결부(230)과 연결될 수 있다. 상기 제1 커넥터(240)는 상기 제1 물리 계층 유닛 연결부(230)과 이더넷 네트워크 라인 사이를 연결하는 커넥터일 수 있다. 예를 들어, 상기 제1 커넥터(240)는 이더넷 네트워크 포트(미도시)의 일단이 삽입되는 커넥터를 의미할 수 있다.
제2 커넥터(250)는 상기 제1 커넥터(240)와 연결될 수 있다. 예를 들어, 상기 제2 커넥터(250)는 이더넷 네트워크 라인을 통해, 슬레이브로 설정되는 제2 네트워크 장치와 상기 제1 물리 계층 사이를 연결하는 커넥터일 수 있다. 예를 들어, 상기 제2 커넥터(250)는 이더넷 네트워크 포트(미도시)의 타단이 삽입되는 커넥터를 의미할 수 있다.
제2 물리 계층 유닛 연결부(260)는 제2 물리 계층이 장착되는 장착부일 수 있다. 즉, 상기 제2 물리 계층 유닛 연결부(260)는 이더넷 네트워크 라인을 통해 상기 제1 물리 계층 유닛 연결부(230)에 연결된 제1 물리 계층과 연결되는 제2 물리 계층이 장착될 수 있다. 예를 들어, 상기 제2 물리 계층 유닛 연결부(260)에는 제2 물리 계층이 선택적으로 장착될 수 있다. 예를 들어, 상기 네트워크 유닛(100)을 제1 테스트 모드로 테스트하고자 하는 경우, 상기 제2 물리 계층 유닛 연결부(260)에는 슬레이브로 설정된 제2 네트워크 장치의 제2 물리 계층이 장착될 수 있다.
제2 미디어 접근 제어 유닛 연결부(270)는 제2 미디어 접근 제어 계층이 장착되는 장착부일 수 있다. 예를 들어, 상기 제2 미디어 접근 제어 유닛 연결부(270)는 상기 네트워크 유닛(100)의 테스트를 위해, 이의 상대가 되는 제2 네트워크 장치의 미디어 접근 제어 계층이 장착될 수 있다. 예를 들어, 상기 제2 미디어 접근 제어 유닛 연결부(270)에는 슬레이브로 설정되는 제2 네트워크 장치의 미디어 접근 제어 계층을 포함하는 컨트롤러 유닛이 장착되는 장착부일 수 있다. 상기 제2 미디어 접근 제어 유닛 연결부(270)에 장착되는 미디어 접근 제어 계층은, 이전에 설명한 네트워크 유닛과 같이, 미디어 접근 제어 계층을 포함한 컨트롤러 유닛으로 구성된 네트워크 유닛일 수 있다.
상기 제2 미디어 접근 제어 유닛 연결부(270)에 장착된 제2 미디어 접근 제어 계층은 슬레이브 미디어 접근 제어 계층이라고 할 수 있다.
상기 제2 미디어 접근 제어 유닛 연결부(270)에 장착된 슬레이브 미디어 접근 제어 계층은 테스트 모드에 따라 상기 테스트 라인 제공부(220)에 연결될 수 있고, 이와 다르게 상기 제2 물리 계층 유닛 연결부(260)에 연결될 수 있다.
즉, 상기 제2 미디어 접근 제어 유닛 연결부(270)에 장착된 슬레이브 미디어 접근 제어 계층은, 제1 테스트 모드에서, 상기 제2 물리 계층 유닛 연결부(260)에 장착된 제2 물리 계층과 연결될 수 있다.
또한, 상기 제2 미디어 접근 제어 유닛 연결부(270)에 장착된 슬레이브 미디어 접근 제어 계층은, 제3 테스트 모드에서, 상기 테스트 라인 제공부(220)를 통해 상기 네트워크 유닛 연결부(210)에 장착된 네트워크 유닛(100)과 연결될 수 있다.
실시 예에서는 상기와 같이 네트워크 유닛(100)의 테스트를 위한 테스트 환경 구성 유닛(200)을 제공한다. 이때, 상기 테스트 환경 구성 유닛(200)은 상기 네트워크 유닛(100)의 다양한 테스트 모드의 지원을 위해, 상기 네트워크 유닛(100)의 상대가 되는 제품이 장착되는 장착부를 포함할 수 있다. 또한, 상기 테스트 환경 구성 유닛(200)은 상기 네트워크 유닛(100)의 제1 내지 제3 테스트 모드에 따라 이에 대응하는 제1 내지 제3 테스트 라인을 제공할 수 있다.
이하에서는, 상기 테스트 라인 제공부(220)에서 제공되는 테스트 라인에 대해 설명하기로 한다.
도 6은 실시 예에 따른 제1 테스트 라인을 설명하기 위한 도면이고, 도 7은 실시 예에 따른 제2 테스트 라인을 설명하기 위한 도면이며, 도 8은 실시 예에 다른 제3 테스트 라인을 설명하기 위한 도면이다.
도 6을 참조하면, 제1 테스트 라인은 제1 테스트 모드에서 상기 네트워크 유닛(100)의 테스트를 위한 테스트 경로를 형성한다.
이때, 상기 제1 테스트 모드는 네트워크 유닛(100)에 제1 물리 계층이 연결된 상태에서 테스트가 진행될 수 있다. 또한, 상기 제1 테스트 모드는 상기 제1 물리 계층에 이의 상대가 되는 제2 네트워크 장치 또는 슬레이브 네트워크 장치의 제2 물리 계층 및 제2 미디어 접근 제어 계층이 연결된 상태에서 테스트가 진행될 수 있다.
이에 따라, 상기 제1 테스트 라인은 상기 네트워크 유닛 연결부(210)에 장착된 네트워크 유닛(100)과 상기 제1 물리 계층 유닛 연결부(230)에 장착된 제1 물리 계층 사이를 연결할 수 있다.
구체적으로, 상기 제1 물리 계층은 복수의 핀을 포함할 수 있다.
예를 들어, 상기 제1 물리 계층은 제1 내지 제8 핀(P1a, P2a, P3a, P4a, P5a, P6a, P7a, P8a)를 포함할 수 있다.
상기 제1 물리 계층은 차동 신호로 데이터 패킷을 수신하는 제1 핀(P1a) 및 제2 핀(P2a)을 포함한다. 또한, 상기 제1 물리 계층은 차동 신호로 데이터 패킷을 송신하는 제3 핀(P3a) 및 제4 핀(P4a)을 포함할 수 있다.
또한, 상기 제1 물리 계층은 상기 네트워크 유닛(100)의 리셋 핀(P5)과 연결되는 제5 핀(P5a)을 포함할 수 있다. 또한, 상기 제1 물리 계층은 상기 네트워크 유닛(100)의 인터럽트 핀(P6)과 연결되는 제6 핀(P6a)을 포함할 수 있다. 또한, 상기 제1 물리 계층은 상기 네트워크 유닛(100)의 관리 데이터 핀(P7)과 연결되는 제7 핀(P7a)을 포함할 수 있다. 또한, 상기 제1 물리 계층은 상기 네트워크 유닛(100)의 클록 핀(P8)과 연결되는 제8 핀(P8a)을 포함할 수 있다.
그리고 상기 제1 테스트 라인은 상기 네트워크 유닛(100)의 제1 미디어 접근 제어 계층(110)에서 송신되는 테스트 패킷을 상기 제1 물리 계층으로 전송하는 제1 라인(Tx1, Tx2)을 포함할 수 있다. 상기 제1 라인(Tx1, Tx2)은 차동 신호로 상기 테스트 패킷을 전달하는 제1-1 라인(Tx1) 및 제1-2 라인(Tx2)을 포함할 수 있다.
상기 제1-1 라인(Tx1)은 상기 네트워크 유닛(100)의 제1 미디어 접근 제어 계층(110)의 제1 송신 핀(P1)과 상기 제1 물리 계층의 상기 제1 핀(P1a) 사이를 연결할 수 있다. 또한, 상기 제1-2 라인(Tx2)은 상기 네트워크 유닛(100)의 제1 미디어 접근 제어 계층(110)의 제2 송신 핀(P2)과 상기 제2 물리 계층의 상기 제2 핀(P2a) 사이를 연결할 수 있다. 상기 제1-1 라인(Tx1) 및 제1-2 라인(Tx2)은 제1 테스트 모드에서, 상기 네트워크 유닛(100)의 상기 제1 미디어 접근 제어 계층(110)에서 제공되는 테스트 패킷을 상기 제1 물리 계층으로 전달할 수 있다.
또한, 상기 제1 테스트 라인은 상기 제1 물리 계층에 수신된 테스트 패킷을 상기 네트워크 유닛(100)의 제1 미디어 접근 제어 계층(110)에 송신하는 제2 라인(Rx1, Rx2)을 포함할 수 있다. 상기 제2 라인(Rx1, Rx2)은 차동 신호로 상기 테스트 패킷을 전달하는 제2-1 라인(Rx1) 및 제2-2 라인(Rx2)을 포함할 수 있다.
상기 제2-1 라인(Rx1)은 상기 네트워크 유닛(100)의 제1 미디어 접근 제어 계층(110)의 제1 수신 핀(P3)과 상기 제1 물리 계층의 제3 핀(P3a) 사이를 연결할 수 있다. 또한, 상기 제2-2 라인(Rx2)은 상기 네트워크 유닛(100)의 제2 수신 핀(P4)과 상기 제1 물리 계층의 제4 핀(P4a) 사이를 연결할 수 있다. 상기 제2-1 라인(Rx1) 및 제2-2 라인(Rx2)은 제1 테스트 모드에서, 슬레이브 네트워크 장치에서 송신된 테스트 패킷을 상기 네트워크 유닛(100)의 제1 미디어 접근 제어 계층(110)으로 전달할 수 있다.
상기 네트워크 유닛(100)의 제1 미디어 접근 제어 계층(110)은 제1 테스트 모드에서, 상기 제1 테스트 라인을 통해 상기 제1 물리 계층과 연결된다. 이에 따라, 상기 네트워크 유닛(100)의 제1 미디어 접근 제어 계층(110)은 제1 테스트 모드에서, 테스트 패킷을 상기 제1 물리 계층으로 송신할 수 있고, 상기 제1 물리 계층으로부터 송신되는 테스트 패킷을 수신할 수 있다.
한편, 도 7을 참조하면, 제2 테스트 라인은 제2 테스트 모드에서 상기 네트워크 유닛(100)의 테스트를 위한 테스트 경로를 형성한다.
이때, 제2 테스트 모드는 상기 네트워크 유닛(100)에 제1 물리 계층이 미연결된 상태에서, 상기 네트워크 유닛(100)이 단독적으로 테스트를 진행하기 위한 모드를 의미할 수 있다.
이에 따라, 상기 제2 테스트 라인은 상기 네트워크 유닛(100)의 제1 미디어 접근 제어 계층(110)의 송신 핀과 수신 핀 사이를 연결할 수 있다.
예를 들어, 상기 제2 테스트 라인은 제1 라인(TX1, Rx1) 및 제2 라인(Tx2, Rx2)을 포함할 수 있다.
상기 제1 라인(Tx1, Rx1)은 상기 네트워크 유닛(100)의 제1 미디어 접근 제어 계층(110)의 제1 송신 핀(P1)과 제1 수신 핀(P3) 사이를 직접 연결할 수 있다.
또한, 상기 제2 라인(Tx2, Rx2)은 상기 네트워크 유닛(100)의 제1 미디어 접근 제어 계층(110)의 제2 송신 핀(P2)과 제2 수신 핀(P2) 사이를 직접 연결할 수 있다.
이에 따라, 상기 네트워크 유닛(100)은 제2 테스트 모드에서, 상기 제1 송신 핀(P1) 및 제2 송신 핀(P2)을 통해 출력한 테스트 패킷을 제1 수신 핀(P3) 및 제2 수신 핀(P4)을 통해 직접 수신할 수 있다.
한편, 도 8을 참조하면, 제3 테스트 라인은 제3 테스트 모드에서 상기 네트워크 유닛(100)의 테스트를 위한 테스트 경로를 형성한다.
이때, 제3 테스트 모드는 상기 네트워크 유닛(100)에 제1 물리 계층이 미연결된 상태에서, 상기 네트워크 유닛(100)과 서브 미디어 접근 제어 계층(400, 예를 들어, 슬레이브 미디어 접근 제어 계층) 사이에서 주고받은 테스트 패킷을 이용하여 테스트를 진행하기 위한 모드일 수 있다.
이에 따라, 상기 제3 테스트 라인은 상기 네트워크 유닛(100)의 제1 미디어 접근 제어 계층(110)의 송신 핀과 서브 미디어 접근 제어 계층(400)의 수신 핀 사이를 연결하는 제1 라인(Tx1, Tx2)을 포함할 수 있다. 또한, 상기 제3 테스트 라인은 상기 네트워크 유닛(100)의 제1 미디어 접근 제어 계층(110)의 수신핀과 상기 서브 미디어 접근 제어 계층(400)의 송신 핀 사이를 연결하는 제2 라인(Rx1, Rx2)을 포함할 수 있다.
예를 들어, 상기 서브 미디어 접근 제어 계층(400)은 상기 네트워크 유닛(100)의 제1 미디어 접근 제어 계층(110)에 포함된 복수의 핀에 대응하는 핀을 가지고 있다.
예를 들어, 상기 서브 미디어 접근 제어 계층(400)은 상기 제1 미디어 접근 제어 계층(110)의 제1 송신 핀(P1)에 대응하는 제1' 송신 핀(P1b)과, 제2 송신 핀(P2)에 대응하는 제2' 송신 핀(P2b)과, 제1 수신 핀(P3)에 대응하는 제1' 수신 핀(P3b)과, 제2 수신 핀(P4)에 대응하는 제2' 수신 핀(P4b)과, 리셋 핀(P5)에 대응하는 리셋 핀(P5b)과, 인터럽트 핀(P6)에 대응하는 인터럽트 핀(P6b)과, 관리 데이터 핀(P7)에 대응하는 관리 데이터 핀(P7b)과, 클록 핀(P8)에 대응하는 클록 핀(P8')을 포함할 수 있다.
그리고 상기 제1 라인은 상기 제1 송신 핀(P1)과 제1' 수신 핀(P3b) 사이를 연결하는 제1-1 라인(Tx1)과, 상기 제2 송신 핀(P2)과 제2' 수신 핀(P4b) 사이를 연결하는 제1-2 라인(Tx2)을 포함한다. 또한, 상기 제2 라인은 상기 제1 수신 핀(P3)과 제1' 송신 핀(P1b) 사이를 연결하는 제2-1 라인(Rx1)과, 상기 제2 수신 핀(P4)과 제2' 송신 핀(P2b) 사이를 연결하는 제2-2 라인(Rx2)을 포함할 수 있다.
이에 따라, 제3 테스트 모드에서, 상기 네트워크 유닛(100)은 상기 제3 테스트 라인을 통해, 상기 서브 미디어 접근 제어 계층(400)으로 테스트 패킷을 송신한다. 이후, 상기 네트워크 유닛(100)은 상기 서브 미디어 접근 제어 계층(400)에서 송신되는 테스트 패킷을 수신한다. 이후, 상기 네트워크 유닛(100)은 상기 송신된 테스트 패킷과 상기 수신된 테스트 패킷을 비교하여, 테스트를 진행할 수 있다.
실시 예에 따른 네트워크 유닛은 미디어 접근 제어 계층을 포함하여 구현된 컨트롤러 유닛을 포함할 수 있다. 이때, 상기 네트워크 유닛은 구축된 네트워크 환경에 따라 서로 다른 조건에서 동작할 수 있다. 이에 따라, 실시 예에서는 상기 네트워크 유닛이 동작하는 네트워크 환경에 대응하게 테스트 환경을 구성하고, 상기 구성된 테스트 환경에서 상기 네트워크 유닛의 테스트가 수행되도록 할 수 있다. 이에 따라, 실시 예에서는 상기 네트워크 유닛이 실제 사용되는 네트워크 환경에 대응하게 테스트를 진행할 수 있으며, 이에 따른 상기 네트워크 유닛의 테스트 정확도를 향상시킬 수 있다.
또한, 실시 예에서는 상기 네트워크 유닛에 물리 계층이 연결된 제1 상태, 상기 물리 계층이 연결되지 않은 제2 상태 및 서브 미디어 접근 제어 계층이 연결된 제3 상태를 인식하고, 이를 기준으로(또는 이에 기초하여) 상기 네트워크 유닛의 테스트 모드를 결정하도록 한다. 구체적으로, 실시 예에서의 네트워크 유닛은 제1 내지 제3 테스트 모드를 지원한다. 그리고 상기 네트워크 유닛은 현재 구성된 테스트 환경을 인식하고, 상기 인식한 테스트 환경에 대응하는 테스트 모드로 진입하여 상기 네트워크 유닛의 테스트를 진행할 수 있다. 이에 따라 실시 예에서는 테스트 진행 시간을 단축할 수 있으며, 이에 따른 네트워크 유닛의 생산성을 향상시킬 수 있다.
나아가, 실시 예에서는 하나의 네트워크 유닛에 대해 다양한 테스트 환경에서 테스트를 진행할 수 있으며, 이를 토대로 상기 네트워크 유닛의 제품 신뢰성 및 제품 만족도를 향상시킬 수 있다.
이하에서는 실시 예에 따른 테스트 모드 결정 방법 및 결정된 테스트 모드에 따라 네트워크 유닛의 테스트를 진행하는 방법에 대해 설명하기로 한다.
도 9는 실시 예에 따른 네트워크 테스트 장치의 테스트 모드 결정 방법을 단계별로 설명하기 위한 흐름도이다.
도 9를 참조하면, 실시 예에서는 테스트 환경 구성 유닛(200)에 네트워크 유닛(100)을 장착한 상태에서, 상기 네트워크 유닛(100)의 프로세서(170)의 동작을 통해, 상기 네트워크 유닛(100)의 테스트가 진행될 수 있다.
이를 위해, 실시 예에서는 상기 테스트 환경 구성 유닛(200)에 상기 네트워크 유닛(100)이 장착됨에 따라, 상기 장착된 네트워크 유닛(100)에 전원을 공급(전원 온)할 수 있다(S100).
이후, 실시 예에서는 상기 네트워크 유닛(100)의 컨트롤러 유닛을 구성하는 프로세서(170)의 특정 핀을 통해 입력되는 입력 신호를 확인한다(S110). 예를 들어, 실시 예에서는 상기 프로세서(170)의 GPIO(General-Purpose Input/Output)의 특정 핀과 상기 테스트 환경 구성 유닛(200)의 특정 핀을 연결한다. 그리고 실시 예에서는 상기 프로세서(170)의 GPIO의 특정 핀을 통해 테스트 모드를 결정하기 위해 기본이 되는 신호를 제공할 수 있다. 예를 들어, 상기 테스트 환경 구성 유닛(200)은 풀-업 회로 또는 풀-다운 회로를 포함할 수 있다. 그리고, 실시 예에서는 상기 풀-업 회로 또는 풀-다운 회로를 통해, 상기 프로세서(170)의 GPIO의 특정 핀으로 하이 레벨의 신호 또는 로우 레벨의 신호를 제공할 수 있다.
예를 들어, 최근에는 물리 계층 없이, 복수의 네트워크 장치 사이의 미디어 접근 제어 계층을 포함한 컨트롤러 유닛들 사이에서 직접 데이터가 송수신되도록 네트워크 환경이 구축되고 있다. 일 예로, HDBASE-T 등의 신규 네트워크 규격에서는, 물리계층 없이 미디어 접근 제어 계층들이 서로 직접 연결된 상태에서, 가상의 물리 계층 드라이버를 통해 상호 신호를 주고받게 된다.
이에 따라, 실시 예에서는 상기 네트워크 유닛(100)의 테스트를 진행할 때, 미디어 접근 제어 계층들 사이에서의 네트워크 테스트도 진행할 수 있도록 한다.
따라서, 실시 예에서는 미디어 접근 제어 계층들 사이에서의 네트워크 테스트를 진행하고자 하는 경우, 상기 네트워크 유닛(100)의 프로세서(170)의 특정 핀으로 이에 대한 하이 레벨의 신호 또는 로우 레벨의 신호를 제공하도록 한다.
따라서, 상기 프로세서(170)는 상기 GPIO의 특정 핀을 통해 입력되는 신호가 제1 신호인지 여부를 판단한다(S120). 예를 들어, 프로세서(170)는 MAC-MAC 사이의 테스트를 위한 제3 테스트 모드로 진행할 것을 요청하는 제2 신호가 수신되었는지, 아니면 제1 또는 제2 테스트 모드로 진행할 것을 요청하는 제1 신호가 수신되었는지 여부를 판단할 수 있다.
또한, 상기 프로세서(170)는 상기 GPIO의 특정 핀을 통해 획득한 신호가 제1 신호인 경우, 상기 제1 미디어 접근 제어 계층(110)의 관리 데이터 핀(P7)을 통해 물리 계층의 상태 정보를 획득한다(S130). 예를 들어, 상기 네트워크 유닛(100)에 연결된 제1 물리 계층이 존재하는 경우, 상기 프로세서(170)는 상기 관리 데이터 핀(P7)을 통해 상기 연결된 물리 계층의 식별 정보 등을 읽을 수 있다.
이후, 상기 프로세서(170)는 상기 관리 데이터 핀(P7)을 통해 상기 제1 물리 계층의 식별 정보가 획득되었는지 여부를 판단한다(S140). 예를 들어, 상기 프로세서(170)는 상기 제1 물리 계층의 식별 정보의 획득 여부에 따라, 상기 네트워크 유닛(100)에 연결된 제1 물리 계층이 존재하는지 여부를 판단할 수 있다.
다음으로, 상기 프로세서(170)는 상기 제1 물리 계층의 식별 정보가 획득된 경우(또는 상기 연결된 제1 물리 계층이 존재하는 경우), 제1 테스트 모드로 진입하고, 상기 제1 테스트 모드에서 상기 네트워크 유닛(100)의 테스트를 진행한다(S150).
또한, 상기 프로세서(170)는 상기 제1 물리 계층의 식별 정보가 획득되지 않은 경우(또는 상기 연결된 제1 물리 계층이 존재하지 않는 경우), 제2 테스트 모드로 진입하고, 상기 제2 테스트 모드에서 상기 네트워크 유닛(100)의 테스트를 진행한다(S160).
또한, 상기 프로세서(170)는 상기 GPIO의 특정 핀을 통해 제2 신호가 입력된 경우, 제3 테스트 모드로 진입하고, 상기 제3 테스트 모드에서 상기 네트워크 유닛(100)의 테스트를 진행한다(S170).
도 10은 실시 예에 따른 제1 테스트 방법을 단계별로 설명하기 위한 흐름도이다. 구체적으로, 도 10은 제1 테스트 모드에 따른 네트워크 유닛(100)의 테스트 방법을 설명하기 위한 흐름도이다.
도 10을 참조하면, 실시 예에 따른 네트워크 유닛(100)은 프로세서(170)의 GPIO의 특정 핀을 통해 제1 신호(예를 들어, 로우 레벨의 신호)가 입력되고, 미디어 접근 제어 계층(110)의 관리 데이터 핀(P7)을 통해 물리 계층의 식별 정보가 획득되면, 제1 테스트 모드로 진입할 수 있다. 이에 따라, 상기 프로세서(170)는 제1 테스트 모드의 진행을 위한 드라이버를 로드할 수 있다.
이후, 실시 예에서의 네트워크 유닛(100)의 패킷 생성부(120)는 제1 테스트 모드에 따른 테스트 진행을 위해 테스트 패킷을 생성한다(S200). 이때, 상기 패킷 생성부(120)는 랜덤의 테스트 패킷을 생성할 수 있다.
다음으로, 실시 예에서의 네트워크 유닛(100)의 패킷 암호화부(130)는 상기 패킷 생성부(120)를 통해 생성된 테스트 패킷을 수신한다. 그리고 상기 패킷 암호화부(130)는 상기 테스트 패킷을 암호화한다(S210). 이를 위해, 네트워크 유닛(100)의 프로세서(170)는 상기 패킷 암호화부(130)를 통해 암호화를 진행하기 위한 암호화 알고리즘을 선택하고, 상기 선택된 암호화 알고리즘에 따라 상기 패킷 암호화부(130)를 통해 상기 테스트 패킷의 암호화가 진행되도록 한다. 이때, 상기 암호화 알고리즘의 선택은 랜덤으로 이루어질 수 있다. 이와 다르게, 실시 예에서의 상기 암호화 알고리즘의 선택은 테스트 모드에 따라 이루어질 수 있다.
다음으로, 네트워크 유닛(100)의 미디어 접근 제어 계층(110)은 송신 핀(P1, P2)을 통해 상기 암호화된 테스트 패킷을 송신할 수 있다(S220). 이때, 상기 미디어 접근 제어 계층(110)은 제1 물리 계층과 연결된 상태이며, 이에 따라 상기 암호화된 테스트 패킷은 상기 연결된 제1 물리 계층으로 송신될 수 있다.
다음으로, 상기 네트워크 유닛(100)의 미디어 접근 제어 계층(110)은 수신 핀(P3, P4)을 통해, 상기 제1 물리 계층으로부터 전송되는 테스트 패킷을 수신한다(S230). 구체적으로, 상기 제1 물리 계층은 상기 미디어 접근 제어 계층(110)으로부터 송신되는 테스트 패킷을 수신하고, 상기 수신한 테스트 패킷을 이더넷 네트워크 라인을 통해 연결된 슬레이브 네트워크 장치 또는 제2 네트워크 장치의 제2 물리 계층으로 송신할 수 있다. 이때, 상기 슬레이브 네트워크 장치 또는 제2 네트워크 장치는 상기 테스트 패킷이 수신되면, 이에 대응하는(예를 들어, 이와 동일한) 테스트 패킷을 다시 상기 제1 물리 계층으로 전달할 수 있다. 예를 들어, 상기 슬레이브 네트워크 장치 또는 제2 네트워크 장치는 상기 테스트 패킷이 수신되면, 상기 수신된 테스트 패킷을 다시 상기 제1 물리 계층으로 전달할 수 있다. 그리고 상기 제1 물리 계층은 상기 슬레이브 네트워크 장치 또는 제2 네트워크 장치로부터 송신되는 테스트 패킷을 수신하고, 이를 상기 네트워크 유닛(100)의 미디어 접근 제어 계층(110)으로 송신할 수 있다.
다음으로, 상기 네트워크 유닛(100)의 패킷 복호화부(140)는 상기 수신된 테스트 패킷을 복호화한다(S240). 예를 들어, 상기 패킷 복호화부(140)는 상기 패킷 암호화부(130)에서 사용한 암호화 알고리즘에 대응하는 복호화 알고리즘을 이용하여, 상기 수신한 테스트 패킷을 복호화할 수 있다.
다음으로, 네트워크 유닛(100)의 비교부(150)는 미디어 접근 제어 계층(110)에서 송신한 테스트 패킷과 수신한 테스트 패킷을 비교하고, 이에 따른 비교 결과 정보를 프로세서(170)로 출력한다(S250). 예를 들어, 상기 비교부(150)는 상기 패킷 생성부(120)에서 생성된 테스트 패킷과, 상기 패킷 복호화부(140)에서 복호화된 테스트 패킷을 비교한 후에 이의 비교 결과 정보를 출력할 수 있다.
다음으로, 네트워크 유닛(100)의 프로세서(170)는 상기 비교 결과 정보를 수신하고, 상기 비교 결과 정보를 토대로 테스트 결과를 판단할 수 있다. 예를 들어, 상기 네트워크 유닛(100)의 프로세서(170)는 상기 비교 결과에 따라, 상기 송신된 테스트 패킷과 상기 수신한 테스트 패킷의 동일 여부를 판단할 수 있다(S260).
다음으로, 프로세서(170)는 상기 송신된 테스트 패킷과 상기 수신한 테스트 패킷이 동일하면, 테스트 결과를 정상으로 판단하고, 이에 따라 상기 테스트 결과 출력부(160)를 통해 이에 대응하는 테스트 결과 정보가 출력되도록 한다(S270).
또한, 상기 프로세서(170)는 상기 송신된 테스트 패킷과 상기 수신한 테스트 패킷이 서로 다르면, 테스트 결과를 비정상 또는 이상 상태로 판단하고, 이에 따라 상기 테스트 결과 출력부(160)를 통해 이에 대응하는 테스트 결과 정보가 출력되도록 한다(S280).
도 11은 실시 예에 따른 제2 테스트 방법을 단계별로 설명하기 위한 흐름도이고 도 12는 도 11의 세팅 동작을 단계별로 설명하기 위한 흐름도이다. 구체적으로, 도 11은 제2 테스트 모드에 따른 네트워크 유닛(100)의 테스트 방법을 설명하기 위한 흐름도이다. 또한, 도 12는 도 11의 S300의 동작을 보다 구체적으로 설명하기 위한 흐름도이다.
도 11을 참조하면, 실시 예에 따른 네트워크 유닛(100)은 프로세서(170)의 GPIO의 특정 핀을 통해 제1 신호(예를 들어, 로우 레벨의 신호)가 입력되고, 미디어 접근 제어 계층(110)의 관리 데이터 핀(P7)을 통해 물리 계층의 식별 정보가 획득되지 않으면(예를 들어, 연결된 물리 계층이 존재하지 않으면), 제2 테스트 모드로 진입할 수 있다. 이에 따라, 상기 프로세서(170)는 제2 테스트 모드의 진행을 위한 드라이버를 로드할 수 있다.
이후, 실시 예에서의 네트워크 유닛(100)의 프로세서(170)는 상기 제2 테스트 모드를 실행하기 위한 세팅 동작을 진행한다(S300). 상기 세팅 동작은 이하에서 설명되는 제3 테스트 모드에서도 동일하게 수행될 수 있다. 상기 세팅 동작은 상기 네트워크 유닛(100)의 미디어 접근 제어 계층(110)에 연결된 물리 계층이 존재하지 않기 때문에, 가상으로 상기 물리 계층이 연결된 상태인 것으로 하는 동작을 의미할 수 있다. 상기 세팅 동작은 이후의 도 12를 참조하여 설명하기로 한다.
상기 세팅 동작이 진행되면, 상기 패킷 생성부(120)는 제2 테스트 모드에 따른 테스트 진행을 위해 테스트 패킷을 생성한다(S310). 이때, 상기 패킷 생성부(120)는 랜덤의 테스트 패킷을 생성할 수 있다. 이때, 상기 패킷 생성부(120)는 테스트 모드에 따라 서로 다른 테스트 패킷을 생성할 수 있다. 이와 다르게, 상기 패킷 생성부(120)는 테스트 모드에 관계없이, 랜덤의 테스트 패킷을 생성할 수 있다.
다음으로, 실시 예에서의 네트워크 유닛(100)의 패킷 암호화부(130)는 상기 패킷 생성부(120)를 통해 생성된 테스트 패킷을 수신한다. 그리고 상기 패킷 암호화부(130)는 상기 테스트 패킷을 암호화한다(S320). 이를 위해, 네트워크 유닛(100)의 프로세서(170)는 상기 패킷 암호화부(130)를 통해 암호화를 진행하기 위한 암호화 알고리즘을 선택하고, 상기 선택된 암호화 알고리즘에 따라 상기 패킷 암호화부(130)를 통해 상기 테스트 패킷의 암호화가 진행되도록 한다. 이때, 상기 암호화 알고리즘의 선택은 랜덤으로 이루어질 수 있다. 이와 다르게, 실시 예에서의 상기 암호화 알고리즘의 선택은 테스트 모드에 따라 이루어질 수 있다.
다음으로, 네트워크 유닛(100)의 미디어 접근 제어 계층(110)은 송신 핀(P1, P2)을 통해 상기 암호화된 테스트 패킷을 송신할 수 있다(S330).
이때, 상기 미디어 접근 제어 계층(110)은 송신 핀과 수신 핀의 서로 직접 연결된 상태이다. 이에 따라, 상기 네트워크 유닛(100)의 미디어 접근 제어 계층(110)의 송신 핀(P1, P2)을 통해 송신되는 테스트 패킷은 상기 미디어 접근 제어 계층(110)의 수신 핀(P3, P4)을 통해 직접 수신될 수 있다(S340).
다음으로, 상기 네트워크 유닛(100)의 패킷 복호화부(140)는 상기 수신된 테스트 패킷을 복호화한다(S350). 예를 들어, 상기 패킷 복호화부(140)는 상기 패킷 암호화부(130)에서 사용한 암호화 알고리즘에 대응하는 복호화 알고리즘을 이용하여, 상기 수신한 테스트 패킷을 복호화할 수 있다.
다음으로, 네트워크 유닛(100)의 비교부(150)는 미디어 접근 제어 계층(110)에서 송신한 테스트 패킷과 수신한 테스트 패킷을 비교하고, 이에 따른 비교 결과 정보를 프로세서(170)로 출력한다(S360). 예를 들어, 상기 비교부(150)는 상기 패킷 생성부(120)에서 생성된 테스트 패킷과, 상기 패킷 복호화부(140)에서 복호화된 테스트 패킷을 비교한 후에 이의 비교 결과 정보를 출력할 수 있다.
다음으로, 네트워크 유닛(100)의 프로세서(170)는 상기 비교 결과 정보를 수신하고, 상기 비교 결과 정보를 토대로 테스트 결과를 판단할 수 있다. 예를 들어, 상기 네트워크 유닛(100)의 프로세서(170)는 상기 비교 결과에 따라, 상기 송신된 테스트 패킷과 상기 수신한 테스트 패킷의 동일 여부를 판단할 수 있다(S370).
다음으로, 프로세서(170)는 상기 송신된 테스트 패킷과 상기 수신한 테스트 패킷이 동일하면, 테스트 결과를 정상으로 판단하고, 이에 따라 상기 테스트 결과 출력부(160)를 통해 이에 대응하는 테스트 결과 정보가 출력되도록 한다(S380).
또한, 상기 프로세서(170)는 상기 송신된 테스트 패킷과 상기 수신한 테스트 패킷이 서로 다르면, 테스트 결과를 비정상 또는 이상 상태로 판단하고, 이에 따라 상기 테스트 결과 출력부(160)를 통해 이에 대응하는 테스트 결과 정보가 출력되도록 한다(S390).
도 12를 참조하면, 네트워크 유닛(100)의 프로세서(170)는 상기 제2 테스트 모드로 진입함에 따라 로딩될 수 있고, 이에 따라 상기 제2 테스트 모드를 진행하기 위한 드라이버를 로딩할 수 있다(S400).
다음으로, 네트워크 유닛(100)의 프로세서(170)는 상기 미디어 접근 제어 계층(110)에 연결된 물리 계층이 존재하지 않음에 따라, 상기 연결된 물리 계층이 가상으로 존재하도록 하기 위하여, 가상의 물리 계층 드라이버를 로딩할 수 있다(S410). 상기 가상의 물리 계층 드라이버가 로딩됨에 따라, 프로세서(170)는 가상의 물리 계층이 존재하는 것으로 판단할 수 있다.
이후, 실시 예에서는 네트워크 유닛(100)의 프로세서(170)는 상기 로딩된 가상의 물리 계층 드라이버와 가상의 링크를 통해 연결되고, 이에 따라 상기 가상의 링크의 속도를 설정한다(S420).
다음으로, 실시 예에서는 상기 가상의 물리 계층과 상기 미디어 접근 제어 계층(110) 사이의 연결 상태를 유지시키고(S430), 상기 연결 상태가 유지된 상태에서 상기 S310 내지 S390의 동작을 수행할 수 있다.
도 13은 실시 예에 따른 제3 테스트 방법을 단계별로 설명하기 위한 흐름도이다. 구체적으로, 도 13은 제3 테스트 모드에 따른 네트워크 유닛(100)의 테스트 방법을 설명하기 위한 흐름도이다.
도 13을 참조하면, 실시 예에 따른 네트워크 유닛(100)은 프로세서(170)의 GPIO의 특정 핀을 통해 제2 신호(예를 들어, 하이 레벨의 신호)가 입력되면, 제3 테스트 모드로 진입할 수 있다. 이에 따라, 상기 프로세서(170)는 제3 테스트 모드의 진행을 위한 드라이버를 로드할 수 있다.
이후, 실시 예에서의 네트워크 유닛(100)의 패킷 생성부(120)는 제1 테스트 모드에 따른 테스트 진행을 위해 테스트 패킷을 생성한다(S500). 이때, 상기 패킷 생성부(120)는 랜덤의 테스트 패킷을 생성할 수 있다.
다음으로, 실시 예에서의 네트워크 유닛(100)의 패킷 암호화부(130)는 상기 패킷 생성부(120)를 통해 생성된 테스트 패킷을 수신한다. 그리고 상기 패킷 암호화부(130)는 상기 테스트 패킷을 암호화한다(S510). 이를 위해, 네트워크 유닛(100)의 프로세서(170)는 상기 패킷 암호화부(130)를 통해 암호화를 진행하기 위한 암호화 알고리즘을 선택하고, 상기 선택된 암호화 알고리즘에 따라 상기 패킷 암호화부(130)를 통해 상기 테스트 패킷의 암호화가 진행되도록 한다. 이때, 상기 암호화 알고리즘의 선택은 랜덤으로 이루어질 수 있다. 이와 다르게, 실시 예에서의 상기 암호화 알고리즘의 선택은 테스트 모드에 따라 이루어질 수 있다.
다음으로, 네트워크 유닛(100)의 미디어 접근 제어 계층(110)은 송신 핀(P1, P2)을 통해 상기 암호화된 테스트 패킷을 송신할 수 있다(S520). 이때, 상기 미디어 접근 제어 계층(110)은 슬레이브 미디어 접근 제어 계층과 연결된 상태이며, 이에 따라 상기 암호화된 테스트 패킷은 상기 연결된 슬레이브 미디어 접근 제어 계층으로 송신될 수 있다.
다음으로, 상기 네트워크 유닛(100)의 미디어 접근 제어 계층(110)은 수신 핀(P3, P4)을 통해, 상기 슬레이브 미디어 접근 제어 계층으로부터 전송되는 테스트 패킷을 수신한다(S530). 구체적으로, 상기 슬레이브 미디어 접근 제어 계층은 상기 미디어 접근 제어 계층(110)으로부터 송신되는 테스트 패킷을 수신하고, 상기 수신한 테스트 패킷을 다시 상기 미디어 접근 제어 계층(110)으로 송신할 수 있다.
다음으로, 상기 네트워크 유닛(100)의 패킷 복호화부(140)는 상기 수신된 테스트 패킷을 복호화한다(S540). 예를 들어, 상기 패킷 복호화부(140)는 상기 패킷 암호화부(130)에서 사용한 암호화 알고리즘에 대응하는 복호화 알고리즘을 이용하여, 상기 수신한 테스트 패킷을 복호화할 수 있다.
다음으로, 네트워크 유닛(100)의 비교부(150)는 미디어 접근 제어 계층(110)에서 송신한 테스트 패킷과 수신한 테스트 패킷을 비교하고, 이에 따른 비교 결과 정보를 프로세서(170)로 출력한다(S550). 예를 들어, 상기 비교부(150)는 상기 패킷 생성부(120)에서 생성된 테스트 패킷과, 상기 패킷 복호화부(140)에서 복호화된 테스트 패킷을 비교한 후에 이의 비교 결과 정보를 출력할 수 있다.
다음으로, 네트워크 유닛(100)의 프로세서(170)는 상기 비교 결과 정보를 수신하고, 상기 비교 결과 정보를 토대로 테스트 결과를 판단할 수 있다. 예를 들어, 상기 네트워크 유닛(100)의 프로세서(170)는 상기 비교 결과에 따라, 상기 송신된 테스트 패킷과 상기 수신한 테스트 패킷의 동일 여부를 판단할 수 있다(S560).
다음으로, 프로세서(170)는 상기 송신된 테스트 패킷과 상기 수신한 테스트 패킷이 동일하면, 테스트 결과를 정상으로 판단하고, 이에 따라 상기 테스트 결과 출력부(160)를 통해 이에 대응하는 테스트 결과 정보가 출력되도록 한다(S570).
또한, 상기 프로세서(170)는 상기 송신된 테스트 패킷과 상기 수신한 테스트 패킷이 서로 다르면, 테스트 결과를 비정상 또는 이상 상태로 판단하고, 이에 따라 상기 테스트 결과 출력부(160)를 통해 이에 대응하는 테스트 결과 정보가 출력되도록 한다(S580).
실시 예에 따른 네트워크 유닛은 미디어 접근 제어 계층을 포함하여 구현된 컨트롤러 유닛을 포함할 수 있다. 이때, 상기 네트워크 유닛은 구축된 네트워크 환경에 따라 서로 다른 조건에서 동작할 수 있다. 이에 따라, 실시 예에서는 상기 네트워크 유닛이 동작하는 네트워크 환경에 대응하게 테스트 환경을 구성하고, 상기 구성된 테스트 환경에서 상기 네트워크 유닛의 테스트가 수행되도록 할 수 있다. 이에 따라, 실시 예에서는 상기 네트워크 유닛이 실제 사용되는 네트워크 환경에 대응하게 테스트를 진행할 수 있으며, 이에 따른 상기 네트워크 유닛의 테스트 정확도를 향상시킬 수 있다.
또한, 실시 예에서는 상기 네트워크 유닛에 물리 계층이 연결된 제1 상태, 상기 물리 계층이 연결되지 않은 제2 상태 및 서브 미디어 접근 제어 계층이 연결된 제3 상태를 인식하고, 이를 기준으로(또는 이에 기초하여) 상기 네트워크 유닛의 테스트 모드를 결정하도록 한다. 구체적으로, 실시 예에서의 네트워크 유닛은 제1 내지 제3 테스트 모드를 지원한다. 그리고 상기 네트워크 유닛은 현재 구성된 테스트 환경을 인식하고, 상기 인식한 테스트 환경에 대응하는 테스트 모드로 진입하여 상기 네트워크 유닛의 테스트를 진행할 수 있다. 이에 따라 실시 예에서는 테스트 진행 시간을 단축할 수 있으며, 이에 따른 네트워크 유닛의 생산성을 향상시킬 수 있다.
나아가, 실시 예에서는 하나의 네트워크 유닛에 대해 다양한 테스트 환경에서 테스트를 진행할 수 있으며, 이를 토대로 상기 네트워크 유닛의 제품 신뢰성 및 제품 만족도를 향상시킬 수 있다.
이상에서 실시 예들에 설명된 특징, 구조, 효과 등은 적어도 하나의 실시 예에 포함되며, 반드시 하나의 실시 예에만 한정되는 것은 아니다. 나아가, 각 실시 예에서 예시된 특징, 구조, 효과 등은 실시 예들이 속하는 분야의 통상의 지식을 가지는 자에 의해 다른 실시 예들에 대해서도 조합 또는 변형되어 실시 가능하다. 따라서 이러한 조합과 변형에 관계된 내용은 실시 예의 범위에 포함되는 것으로 해석되어야 할 것이다.
이상에서 실시 예를 중심으로 설명하였으나 이는 단지 예시일 뿐 실시 예를 한정하는 것이 아니며, 실시 예가 속하는 분야의 통상의 지식을 가진 자라면 본 실시 예의 본질적인 특성을 벗어나지 않는 범위에서 이상에 예시되지 않은 여러 가지의 변형과 응용이 가능함을 알 수 있을 것이다. 예를 들어, 실시 예에 구체적으로 나타난 각 구성 요소는 변형하여 실시할 수 있는 것이다. 그리고 이러한 변형과 응용에 관계된 차이점들은 첨부된 청구 범위에서 설정하는 실시 예의 범위에 포함되는 것으로 해석되어야 할 것이다.

Claims (10)

  1. 미디어 접근 제어 계층을 포함하여 구현된 컨트롤러 유닛의 테스트 방법에 있어서,
    상기 미디어 접근 제어 계층의 관리 데이터 핀을 통해 데이터를 획득하는 단계;
    상기 획득된 데이터에 기초하여, 상기 미디어 접근 제어 계층에 연결된 물리 계층의 존재 여부를 판단하는 단계;
    상기 연결된 물리 계층이 존재하는 것으로 판단되면, 제1 테스트 모드에서 상기 컨트롤러 유닛의 테스트를 진행하는 단계; 및
    상기 연결된 물리 계층이 존재하지 않는 것으로 판단되면, 제2 테스트 모드에서 상기 컨트롤러 유닛의 테스트를 진행하는 단계를 포함하는,
    테스트 방법.
  2. 제1항에 있어서,
    상기 관리 데이터 핀은 상기 미디어 접근 제어 계층의 MDIO(Management Data Input/Output) 핀을 포함하는,
    테스트 방법.
  3. 제1항 또는 제2항에 있어서,
    상기 데이터를 획득하는 단계는,
    상기 연결된 물리 계층의 식별 정보를 획득하는 단계를 포함하고,
    상기 물리 계층의 식별 정보가 획득되면, 상기 미디어 접근 제어 계층에 물리 계층이 연결된 상태인 것으로 인식하고,
    상기 물리 계층의 식별 정보가 획득되지 않으면, 상기 미디어 접근 제어 계층이 상기 물리 계층이 미연결된 상태인 것으로 인식하는,
    테스트 방법.
  4. 제1항에 있어서,
    상기 컨트롤러 유닛의 GPIO(General-Purpose Input/Output)의 특정 핀을 통해 입력되는 신호를 수신하는 단계를 더 포함하고,
    상기 데이터를 획득하는 단계는,
    상기 특정 핀을 통해 제1 신호가 수신되는 경우에 수행되고,
    상기 특정 핀을 통해 제2 신호가 수신되면, 제3 테스트 모드에서 상기 컨트롤러 유닛의 테스트를 진행하는 단계를 더 포함하는,
    테스트 방법.
  5. 제4항에 있어서,
    제1 테스트 패킷을 생성하는 단계;
    상기 생성된 제1 테스트 패킷을 암호화하는 단계;
    상기 암호화된 제1 테스트 패킷을 송신하는 단계;
    상기 제1 테스트 패킷에 대응되는 제2 테스트 패킷을 수신하는 단계;
    상기 수신된 제2 테스트 패킷을 복호화하는 단계; 및
    상기 제1 테스트 패킷과 상기 제2 테스트 패킷을 비교하는 단계;를 더 포함하고,
    상기 제1 내지 제3 테스트 모드에 따라, 상기 제1 테스트 패킷의 송신 경로 및 상기 제2 테스트 패킷의 수신 경로는 다른,
    테스트 방법.
  6. 제5항에 있어서,
    상기 제1 테스트 패킷을 송신하는 단계는,
    상기 제1 테스트 모드에서, 상기 연결된 물리 계층으로 상기 제1 테스트 패킷을 송신하는 단계를 포함하고,
    상기 제2 테스트 패킷을 수신하는 단계는,
    상기 제1 테스트 모드에서, 상기 연결된 물리 계층으로부터 송신되는 상기 제2 테스트 패킷을 수신하는 단계를 포함하는,
    테스트 방법.
  7. 제5항에 있어서,
    상기 제2 테스트 모드에서, 상기 미디어 접근 제어 계층의 송신 핀과 수신 핀은 직접 연결되며,
    상기 제2 테스트 모드에서의 상기 제1 테스트 패킷은, 상기 미디어 접근 제어 계층의 송신 핀에서 송신된 테스트 패킷이고,
    상기 제2 테스트 모드에서의 상기 제2 테스트 패킷은 상기 미디어 접근 제어 계층의 수신핀에서 수신된 테스트 패킷인,
    테스트 방법.
  8. 제5항에 있어서,
    상기 제1 테스트 패킷을 송신하는 단계는,
    상기 제3 테스트 모드에서, 상기 미디어 접근 제어 계층에 연결된 서브 또는 슬레이브 미디어 접근 제어 계층으로 상기 제1 테스트 패킷을 송신하는 단계를 포함하고,
    상기 제2 테스트 패킷을 수신하는 단계는,
    상기 서브 또는 슬레이브 미디어 접근 제어 계층으로부터 전송되는 상기 제1 테스트 패킷에 대응하는 제2 테스트 패킷을 수신하는 단계를 포함하는,
    테스트 방법.
  9. 제5항 내지 제8항 중 어느 한 항에 있어서,
    상기 생성된 제1 테스트 패킷을 암호화하기 위한 암호화 알고리즘을 선택하는 단계를 더 포함하는,
    테스트 방법.
  10. 제9항에 있어서,
    상기 암호화 알고리즘을 선택하는 단계는,
    상기 컨트롤러 유닛의 테스트를 진행하기 위한 테스트 모드에 따라 서로 다른 암호화 알고리즘을 선택하는 단계를 포함하는,
    테스트 방법.
PCT/KR2022/021234 2021-12-23 2022-12-23 네트워크 테스트 방법 WO2023121407A1 (ko)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2021-0186577 2021-12-23
KR1020210186577A KR20230096755A (ko) 2021-12-23 2021-12-23 네트워크 테스트 장치, 네트워크 테스트 시스템 및 이의 테스트 방법

Publications (1)

Publication Number Publication Date
WO2023121407A1 true WO2023121407A1 (ko) 2023-06-29

Family

ID=86903193

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2022/021234 WO2023121407A1 (ko) 2021-12-23 2022-12-23 네트워크 테스트 방법

Country Status (2)

Country Link
KR (1) KR20230096755A (ko)
WO (1) WO2023121407A1 (ko)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110122184A (ko) * 2009-02-13 2011-11-09 에이디씨 텔레커뮤니케이션스 인코포레이티드 관리된 접속성 장치, 시스템, 및 방법
KR101212823B1 (ko) * 2012-05-24 2012-12-21 주식회사 아이티엔티 테스트 장치를 제어하기 위한 시스템
KR20150096495A (ko) * 2012-12-20 2015-08-24 퀄컴 인코포레이티드 Mdio를 sgmii 송신들로 인코딩하기 위한 장치 및 방법
JP2020036099A (ja) * 2018-08-27 2020-03-05 日本無線株式会社 無線通信テスト装置、無線通信テスト方法及びコンピュータプログラム
US20200351121A1 (en) * 2017-03-22 2020-11-05 Shenzhen Tatfook Wisdom Health Technology Co., Ltd. Ethernet interconnection circuit and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110122184A (ko) * 2009-02-13 2011-11-09 에이디씨 텔레커뮤니케이션스 인코포레이티드 관리된 접속성 장치, 시스템, 및 방법
KR101212823B1 (ko) * 2012-05-24 2012-12-21 주식회사 아이티엔티 테스트 장치를 제어하기 위한 시스템
KR20150096495A (ko) * 2012-12-20 2015-08-24 퀄컴 인코포레이티드 Mdio를 sgmii 송신들로 인코딩하기 위한 장치 및 방법
US20200351121A1 (en) * 2017-03-22 2020-11-05 Shenzhen Tatfook Wisdom Health Technology Co., Ltd. Ethernet interconnection circuit and apparatus
JP2020036099A (ja) * 2018-08-27 2020-03-05 日本無線株式会社 無線通信テスト装置、無線通信テスト方法及びコンピュータプログラム

Also Published As

Publication number Publication date
KR20230096755A (ko) 2023-06-30

Similar Documents

Publication Publication Date Title
WO2018008943A1 (en) Method and device for managing security according to service in wireless communication system
WO2014104752A1 (en) Service providing terminal connection method and apparatus
WO2011087210A2 (ko) 전자기기 및 전자기기의 동작 방법
WO2020246712A1 (en) Method and apparatus for measuring location of multiple electronic devices based on time scheduling information in connection with ultra-wide band communication
WO2011105780A2 (en) A method and an apparatus for initiating a session in home network system
WO2016023148A1 (zh) 报文的控制方法、交换机及控制器
WO2019146812A1 (ko) 차량용 업데이트 시스템 및 제어 방법
WO2020197221A1 (ko) 통신 방법 및 통신 디바이스
WO2022019720A1 (ko) 엣지 플랫폼 네트워크의 가속화 제어 방법 및 이를 사용하는 전자 장치
WO2016163634A1 (ko) 보안 터널링 및 데이터 재전송을 수행하는 물리적 단방향 통신의 보안 게이트웨이의 송신/수신 장치 및 그것을 이용하는 데이터 전송 방법
EP3808116A1 (en) Method for uwb transaction and electronic device therefor
WO2023121407A1 (ko) 네트워크 테스트 방법
WO2015027458A1 (zh) 非接入层消息的处理方法、用户设备和网络侧设备
WO2011136538A2 (en) Method and apparatus for transmitting ethernet data through audio/video interface
WO2021060900A1 (ko) 배터리 관리 장치 및 방법
WO2018110775A1 (ko) 전자 기기 인증 매니저 장치
WO2017007146A1 (en) Communication device, communication method, and communication system
WO2021133074A2 (ko) 경량 기기 전용 개체 또는 메시지 인증 방법 및 이를 수행하는 장치들
WO2015050302A1 (en) Method and apparatus for content verification
WO2011031097A2 (ko) 복수의 세션 설정 방법 및 이를 이용하는 노드
WO2019088614A1 (ko) 데이터 송수신장치 및 데이터 송수신장치의 동작 방법
WO2024014586A1 (ko) 무선 오디오 수신 장치, 무선 오디오 전송 장치 및 이를 구비하는 무선 오디오 출력 시스템
WO2023128181A1 (ko) 스플릿 터널링 방법 및 장치
WO2021071252A1 (ko) 블루투스 네트워크 환경에서 데이터를 전송하기 위한 전자 장치 및 그에 관한 방법
WO2020166863A1 (ko) 컨텐츠를 업로드 및/또는 다운로드하기 위한 전자 장치와 시스템 및 그의 동작 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22912040

Country of ref document: EP

Kind code of ref document: A1