KR20030094936A - Apparatus and Method for Controlling MII Signal - Google Patents

Apparatus and Method for Controlling MII Signal Download PDF

Info

Publication number
KR20030094936A
KR20030094936A KR1020020032296A KR20020032296A KR20030094936A KR 20030094936 A KR20030094936 A KR 20030094936A KR 1020020032296 A KR1020020032296 A KR 1020020032296A KR 20020032296 A KR20020032296 A KR 20020032296A KR 20030094936 A KR20030094936 A KR 20030094936A
Authority
KR
South Korea
Prior art keywords
data
mii
network processor
interface unit
physical layer
Prior art date
Application number
KR1020020032296A
Other languages
Korean (ko)
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 엘지전자 주식회사
Priority to KR1020020032296A priority Critical patent/KR20030094936A/en
Publication of KR20030094936A publication Critical patent/KR20030094936A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/36Handling requests for interconnection or transfer for access to common bus or bus system
    • G06F13/362Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE: A device for controlling an MII(Media Independent Interface) signal and a method therefor are provided to duplex an Ethernet path, and to use different transmission media in one network processor, thereby controlling a traffic amount when performing an MII between a physical layer and the network processor. CONSTITUTION: When many data are received through the first MII interface unit(300a) and the second MII interface unit(300b), a controller(310) decides whether the third MII interface unit(320) is used. If so, the controller(310) stores the corresponding data in a data storage(340). If the third MII interface unit(320) is not used, the controller(310) sequentially transmits the received data to a network processor. The network processor processes the transmitted data. The processed data are transmitted to the controller(310) through the MII interface unit(320). The controller(310) stores the processed data, and transmits the stored data to a physical layer through the MII interface units(300a,300b).

Description

MII 신호 제어 장치 및 방법{Apparatus and Method for Controlling MII Signal}MII signal control apparatus and method {Apparatus and Method for Controlling MII Signal}

본 발명은 이더넷의 물리 계층과 네트워크 프로세서 사이의 이더넷 경로를 이중화하고 하나의 네트워크 프로세서로 서로 다른 전송 매체를 사용할 수 있는 MII 신호 제어 장치 및 방법에 관한 것이다.The present invention relates to an MII signal control apparatus and method that can duplicate an Ethernet path between a physical layer of Ethernet and a network processor and use different transmission media as one network processor.

최근에 와서 정보 처리의 많은 부분이 데스크탑 컴퓨터에 의해 이루어지고 있다. 이러한 데스크탑 컴퓨터들은 대부분 근거리 통신망(LAN: Local AreaNetwork)으로 연결되어 있으며, 이들은 10Mbps의 이더넷(Ethernet)으로 연결된 경우가 많다. 또한 이러한 데스크탑 컴퓨터에서 처리하는 응용 서비스는 점점 복잡해 지고 LAN에 연결되는 개수도 많아져서 네트워크의 트래픽이 매우 빠른 속도로 증가하였다. 따라서 고속 네트워크의 필요성이 점차 증대되고 있다.In recent years, much of the information processing has been done by desktop computers. Most of these desktop computers are connected by local area networks (LANs), which are often connected via Ethernet at 10 Mbps. In addition, the application services handled by these desktop computers have become more complex and have more connections to the LAN, which has resulted in very fast network traffic. Therefore, the need for high speed networks is increasing.

요즈음 사용 가능한 고속 LAN 기술 중에서 고속 이더넷(Fast Ethernet)이 가장 많이 사용되고 있다. 이것은 기존의 이더넷을 유연하게 100Mbps로 향상시킬 수 있기 때문이다. 최근에는 이러한 이더넷 기술을 발전시킨 초고속 네트워크 기술의 하나로 기가비트 이더넷이 등장하였다.Fast Ethernet is the most widely used high speed LAN technology available today. This is because existing Ethernet can be flexibly enhanced to 100Mbps. Recently, Gigabit Ethernet has emerged as one of the high-speed network technologies that has developed such Ethernet technology.

MII(Media Independent Interface)는 MAC Layer와 Physical Layer의 중간에 위치하며 100Base와 동시에 표준화 되었다. 10Base에서는 MAC Layer와 Physical Layer가 하나의 Chip으로 되어 있지만, 100Base에서는 MAC Layer의 LSI와 Physical Layer의 LSI가 별도로 되어 있다. 이것은 100Base 이상에서는 MAC Layer는 공통이지만 사용 가능한 Physical Layer가 여러 가지 있기 때문이다. MII의 목적은 MAC Layer용 LSI와 Physical Layer용 LSI를 접속 할 때 Interoperability(상호 접속성)을 보증하기 위한 것이다.MII (Media Independent Interface) is located in the middle of MAC Layer and Physical Layer and standardized at 100Base. In 10Base, MAC Layer and Physical Layer are one chip, but in 100Base, LSI of MAC Layer and LSI of Physical Layer are separate. This is because MAC layers are common in 100Base and above, but there are several physical layers available. The purpose of MII is to guarantee interoperability when connecting LSI for MAC Layer and LSI for Physical Layer.

도 1a 내지 도 1c는 종래의 물리계층부와 네트워크 프로세서간의 MII 인터페이스를 나타낸 도면이다.1A to 1C are diagrams illustrating an MII interface between a conventional physical layer unit and a network processor.

도 1a를 참조하면, 전송매체로서 동축 케이블(100a)을 이용한 경우의 물리계층부(110)와 네트워크 프로세서(120)간의 MII 인터페이스를 나타낸다.Referring to FIG. 1A, an MII interface between a physical layer unit 110 and a network processor 120 when a coaxial cable 100a is used as a transmission medium is shown.

도 1b를 참조하면, 전송매체로서 광케이블(100b)을 이용한 경우의 물리계층부(110)와 네트워크 프로세서(120)간의 MII 인터페이스를 나타낸다.Referring to FIG. 1B, the MII interface between the physical layer unit 110 and the network processor 120 when the optical cable 100b is used as a transmission medium is shown.

도 1c를 참조하면, 하나의 네트워크 프로세서(120)가 서로 다른 전송매체를 사용할 수 있게 하는 경우의 네트워크 프로세서(120)와 물리계층부(110)와의 MII 인터페이스를 나타낸다.Referring to FIG. 1C, it illustrates an MII interface between the network processor 120 and the physical layer unit 110 when one network processor 120 enables different transmission media.

상기 네트워크 프로세서(120)는 전송 매체 종류에 상응하는 개수의 포트(125a, 125b)를 포함한다. 상기 네트워크 프로세서(120)는 상기 포트(125a, 125b)를 이용하여 복수의 전송매체(100)를 수용하여 MII 인터페이스를 수행한다.The network processor 120 includes a number of ports 125a and 125b corresponding to the type of transmission medium. The network processor 120 accommodates a plurality of transmission media 100 using the ports 125a and 125b to perform an MII interface.

예를 들어, 전송매체(100)가 동축 케이블(100a), 광케이블(100b)로 이루어져있다고 가정하자.For example, assume that the transmission medium 100 is composed of a coaxial cable 100a and an optical cable 100b.

그러면, 동축 케이블(100a)을 통해서 제1물리계층부(110a)로 전송된 데이터는 상기 포트0(125a)을 통해서 상기 네트워크 프로세서(120)와 MII 인터페이스를 수행한다. 또한, 광케이블(100b)을 통해서 제2물리 계층부(110b)로 전송된 데이터는 상기 포트1(125b)을 통해서 상기 네트워크 프로세서(120)와 MII 인터페이스를 수행한다.Then, the data transmitted to the first physical layer unit 110a through the coaxial cable 100a performs an MII interface with the network processor 120 through the port 0 125a. In addition, the data transmitted to the second physical layer unit 110b through the optical cable 100b performs an MII interface with the network processor 120 through the port 1 125b.

그러나, 상기와 같은 종래에는 물리계층부와 네트웍프로세간의 MII인터페이스시, 데이터 유실등을 체크할 수 없는 문제점이 있다.However, there is a problem in that such a data loss cannot be checked in the MII interface between the physical layer unit and the network processor.

또한, 물리계층부와 네트웍 프로세서간의 MII 인터페이스 수행시, 트래픽의 양을 조절할 수 없는 문제점이 있다.In addition, there is a problem in that the amount of traffic cannot be adjusted when performing the MII interface between the physical layer unit and the network processor.

또한, 하나의 네트웍 프로세서로 서로 다른 전송 매체를 사용하는 경우, 상기 네트웍 프로세서에 상기 전송매체의 종류에 상응하는 개수의 포트를 설치해야하는 문제점이 있다.In addition, when different transmission media are used as one network processor, there is a problem in that a number of ports corresponding to the type of the transmission medium must be installed in the network processor.

따라서, 본 발명의 목적은 이더넷 경로를 이중화하고, 하나의 네트워크 프로세서로 서로 다른 전송매체를 사용하게 하는 MII 신호 제어 장치 및 그 방법을 제공하는데 있다.Accordingly, an object of the present invention is to provide an MII signal control apparatus and method for duplexing an Ethernet path and using different transmission media with one network processor.

본 발명의 다른 목적은 물리계층부와 네트워크 프로세서간의 MII 인터페이스 수행시, 트래픽양을 조절할 수 있는 MII 신호 제어 장치 및 그 방법을 제공하는데 있다.Another object of the present invention is to provide an apparatus and method for controlling MII signals that can control the amount of traffic when performing an MII interface between a physical layer unit and a network processor.

본 발명의 또다른 목적은 물리계층부와 네트워크 프로세간의 MII인터페이스시, 데이터 유실등을 체크할 수 있는 MII 신호 제어 장치 및 그 방법을 제공하는데 있다.It is still another object of the present invention to provide an MII signal control device and a method thereof capable of checking for data loss during an MII interface between a physical layer unit and a network processor.

도 1a는 동축 케이블을 이용한 경우의 물리계층부와 네트웍 프로세서간의 MII 인터페이스를 나타낸 도면.1A is a diagram showing an MII interface between a physical layer unit and a network processor when using a coaxial cable.

도 1b는 광케이블을 이용한 경우의 물리계층부와 네트웍 프로세서간의 MII 인터페이스를 나타낸 도면.1B is a diagram showing an MII interface between a physical layer unit and a network processor in the case of using an optical cable.

도 1c는 하나의 네트웍 프로세서가 서로 다른 전송매체를 사용할 수 있게 하는 경우의 네트웍 프로세서와 물리계층부와의 MII 인터페이스를 나타낸 도면.1C is a diagram illustrating an MII interface between a network processor and a physical layer unit when one network processor enables different transmission media.

도 2는 본 발명의 바람직한 일 실시예에 따른 MII 신호 제어 장치를 활용하는 방법을 나타낸 블럭도.Figure 2 is a block diagram showing a method of using the MII signal control apparatus according to an embodiment of the present invention.

도 3은 본 발명의 바람직한 일 실시예에 따른 MII 신호 제어 장치의 구성을 개략적으로 나타낸 블럭도.Figure 3 is a block diagram schematically showing the configuration of the MII signal control apparatus according to an embodiment of the present invention.

도 4는 본 발명의 바람직한 일 실시예에 따른 MII 신호 제어 장치를 이용하여 데이터의 전송 경로를 이중화하여 데이터를 전송하는 방법을 나타낸 흐름도.4 is a flowchart illustrating a method of transmitting data by duplexing a transmission path of data using an MII signal control apparatus according to an exemplary embodiment of the present invention.

도 5는 본 발명의 바람직한 일 실시예에 따른 복수의 전송매체를 사용할 경우의 데이터 트래픽을 조절하는 방법을 나타낸 흐름도.5 is a flowchart illustrating a method of controlling data traffic when using a plurality of transmission media according to an embodiment of the present invention.

도 6은 본 발명의 바람직한 일 실시예에 따른 MII 신호 제어 장치를 이용하여 감시 기능을 구현하는 시스템을 나타낸 블럭도.Figure 6 is a block diagram showing a system for implementing a monitoring function using the MII signal control apparatus according to an embodiment of the present invention.

도 7은 본 발명의 바람직한 일 실시예에 따른 MII 신호 제어 장치를 이용하여 감시 기능을 구현하는 방법을 나타낸 흐름도.7 is a flowchart illustrating a method of implementing a monitoring function using an MII signal control apparatus according to an exemplary embodiment of the present invention.

<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>

100 : 전송 매체 110, 600 : 물리 계층부100: transmission medium 110, 600: physical layer portion

120, 620 : 네트워크 프로세서 210, 610 : MII 신호 제어 장치120, 620: network processor 210, 610: MII signal control device

300 : 물리 계층측 MII 인터페이스부 310 : 제어부300: physical layer side MII interface unit 310: control unit

320 : 네트워크 계층측 MII인터페이스부320: MII interface unit on the network layer side

330 : 어드레스 테이블 340 : 데이터 저장부330: address table 340: data storage

상기 목적들을 달성하기 위하여 본 발명의 일 측면에 따르면, 물리 계층과 네트워크 프로세서 사이에 위치하여 송수신되는 데이터의 인터페이스를 제어하는 장치에 있어서, 상기 물리 계층 또는 네트워크 프로세서로부터 전송된 데이터를 송수신하는 인터페이스부, 상기 인터페이스부로부터 전송된 데이터의 오류 여부를 판단하고, 데이터의 트래픽을 조절하는 제어부, 상기 제어부로부터 전송된 데이터를 수신하여 저장하는 저장부를 포함하는 것을 특징으로 하는 MII 신호 제어 장치가제공된다.According to an aspect of the present invention to achieve the above object, in the apparatus for controlling the interface of the data transmitted and received between the physical layer and the network processor, the interface unit for transmitting and receiving data transmitted from the physical layer or network processor And a control unit for determining whether an error of data transmitted from the interface unit is determined, controlling a traffic of data, and a storage unit for receiving and storing data transmitted from the control unit.

상기 인터페이스부는 상기 물리 계층으로부터 전송된 데이터를 제어부를 통하여 네트워크 프로세서로 전송하고, 상기 네트워크 프로세서로부터 전송된 데이터를 제어부를 통하여 수신하는 복수의 물리 계층측 MII 인터페이스부, 상기 네트워크 프로세서로부터 전송된 데이터를 제어부를 통하여 물리 계층에 전송하고, 상기 물리 계층으로부터 전송된 데이터를 제어부를 통하여 수신하는 네트워크 프로세서측 MII인터페이스부를 포함한다.The interface unit transmits the data transmitted from the physical layer to the network processor through the control unit, a plurality of physical layer side MII interface unit for receiving the data transmitted from the network processor through the control unit, the data transmitted from the network processor And a network processor-side MII interface unit for transmitting to the physical layer through the control unit and receiving data transmitted from the physical layer through the control unit.

상기 저장부는 수신되는 데이터의 어드레스 정보를 저장하는 어드레스 저장부, 상기 수신되는 데이터를 저장하는 데이터 저장부를 포함한다.The storage unit includes an address storage unit for storing address information of the received data, and a data storage unit for storing the received data.

본 발명의 다른 측면에 따르면, 물리 계층과 네트워크 프로세서 사이에서 데이터를 송수신하는 방법에 있어서, 물리 계층측의 복수의 MII인터페이스부로부터 전송된 복수의 데이터를 수신하여 저장하고, 네트워크 프로세서측 MII 인터페이스부의 사용여부를 판단하여 상기 네트워크 프로세서측 MII 인터페이스부가 사용중이 아닌 경우, 상기 네트워크 프로세서측 MII 인터페이스부를 통하여 상기 데이터를 네트워크 프로세서에 전송하고, 상기 네트워크 프로세서에서 처리된 처리 데이터가 상기 네트워크 프로세서측 MII 인터페이스부를 통하여 수신되면, 상기 수신된 처리 데이터를 저장하고, 상기 처리 데이터의 물리 계층측 MII 인터페이스부를 판단하여 해당 물리 계층측 MII 인터페이스부를 통하여 목적지에 전송하고, 상기 목적지에 전송한 처리 데이터의 정상 도달 여부를 판단하고, 상기 판단결과 상기 전송한 처리 데이터가 정상으로 도달하지 않았으면, 동일 데이터가 미리 정해진 일정 회수이상으로 정상 도달하지 않았는지의 여부를 판단하고, 상기 판단결과 동일 데이터가 미리 정해진 회수 이상으로 정상 도달하지 않았으면, 저장부에서 해당 데이터를 추출하여 사용하지 않는 물리 계층측 MII 인터페이스부를 통하여 상기 추출된 데이터를 전송하는 것을 특징으로 하는 MII 신호 제어 방법이 제공된다.According to another aspect of the present invention, in a method for transmitting and receiving data between a physical layer and a network processor, a plurality of data transmitted from the plurality of MII interface unit on the physical layer side is received and stored, the network processor side MII interface unit If it is determined that the network processor side MII interface unit is not in use, the data is transmitted to the network processor through the network processor side MII interface unit, and the processed data processed by the network processor includes the network processor side MII interface unit. When received through, store the received processing data, determine the physical layer side MII interface unit of the processing data and transmit it to the destination through the corresponding physical layer side MII interface unit, the processing data transmitted to the destination If it is determined whether or not the normal data is reached, if the transmitted processing data does not reach the normal, it is determined whether the same data has not reached the normal or more than a predetermined number of times, and the determination result is the same data If the sum is not reached more than a predetermined number of times, the MII signal control method is provided, wherein the extracted data is transmitted through a physical layer side MII interface unit which does not extract and use the data.

상기 목적지에 전송한 처리 데이터의 정상 도달 여부를 판단하는 것은 상기 목적지로부터 전송된 ACK 신호가 상기 물리 계층을 통하여 수신되면, 상기 수신된 ACK 신호가 미리 정해진 일정 시간내에 수신되었는지의 여부를 판단하고, 상기 판단결과 상기 ACK 신호가 미리 정해진 일정 시간내에 수신되면, 상기 데이터가 정상적으로 목적지에 도달한 것으로 판단하고, 상기 ACK 신호가 미리 정해진 일정 시간내에 수신되지 않으면, 상기 데이터가 정상적으로 상기 목적지에 도달하지 않은 것으로 판단하는 것을 특징으로 한다.Determining whether or not the processing data transmitted to the destination is normally reached may include determining whether the received ACK signal is received within a predetermined time when an ACK signal transmitted from the destination is received through the physical layer. If the ACK signal is received within a predetermined time as a result of the determination, it is determined that the data has reached the destination normally, and if the ACK signal is not received within the predetermined time, the data does not normally reach the destination. It is characterized by judging.

상기 처리 데이터가 목적지에 정상으로 도달하였으면, 저장부에 저장되어있는 해당 데이터를 삭제한 후, 해당 물리 계층측 MII 인터페이스부를 통하여 상기 네트워크 프로세서에 ACK 신호를 전송한다.When the processing data reaches the destination, the data stored in the storage unit is deleted, and then an ACK signal is transmitted to the network processor through the MII interface unit of the physical layer.

상기 네트워크 프로세서측 MII 인터페이스부가 사용중이면, 상기 네트워크 프로세서측 MII 인터페이스부의 사용이 끝날때 데이터를 전송한다.When the network processor side MII interface unit is in use, data is transmitted when the network processor side MII interface unit is finished.

이하 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명의 바람직한 일 실시예에 따른 MII 신호 제어 장치를 활용하는 방법을 나타낸 블럭도이다.2 is a block diagram illustrating a method of using an MII signal control apparatus according to an exemplary embodiment of the present invention.

도 2를 참조하면, MII 신호 제어 장치(210)는 물리 계층부(200)와 네트워크 프로세서(220) 사이에 위치하여 송수신되는 데이터의 MII 인터페이스를 제어하는 역할을 한다.Referring to FIG. 2, the MII signal control device 210 controls the MII interface of data transmitted and received between the physical layer unit 200 and the network processor 220.

상기 MII 신호 제어 장치(210)는 물리계층부(200)로부터 전송된 데이터의 트래픽을 조절하여 네트워크 프로세서(220)에 전송하는 역할을 한다.The MII signal control device 210 controls the traffic of data transmitted from the physical layer unit 200 and transmits the traffic to the network processor 220.

즉, 상기 MII 신호 제어 장치(210)는 상기 물리계층부(200)로부터 전송된 데이터를 수신한후, 네트워크 프로세서측의 MII 인터페이스부가 사용중인지의 여부를 판단한다. 상기 판단결과 상기 네트워크 프로세서측의 MII 인터페이스부가 사용중이면, 상기 데이터를 저장한 후, 상기 네트워크 프로세서측의 MII인터페이스부가 사용중이 아닐때, 상기 데이터를 전송한다.That is, the MII signal control apparatus 210 determines whether the MII interface unit on the network processor side is in use after receiving the data transmitted from the physical layer unit 200. If the MII interface unit on the network processor side is in use as a result of the determination, the data is stored and then transmitted when the MII interface unit on the network processor side is not in use.

또한, 상기 MII 신호 제어 장치(210)는 상기 네트워크 프로세서(220)로부터 전송된 데이터를 저장한 후, 물리 계층부(200)를 통하여 목적지에 전송한다.In addition, the MII signal control apparatus 210 stores the data transmitted from the network processor 220 and transmits the data to the destination through the physical layer unit 200.

그런다음 상기 MII신호 제어 장치(210)는 상기 목적지로부터 미리 정해진 일정 시간내에 ACK 신호가 수신되는지의 여부를 판단한다. 상기 판단결과 미리 정해진 일정 시간내에 ACK 신호가 수신되면, 상기 MII 신호 제어 장치(210)는 저장되어 있는 해당 데이터를 삭제하고, 상기 네트워크 프로세서(220)에 ACK 신호를 전송한다.The MII signal control device 210 then determines whether an ACK signal is received from the destination within a predetermined time. If the ACK signal is received within a predetermined time as a result of the determination, the MII signal control apparatus 210 deletes the corresponding data stored therein and transmits the ACK signal to the network processor 220.

만약, 미리 정해진 일정 시간내에 ACK 신호가 수신되지 않으면, 상기 MII 신호 제어 장치(210)는 저장되어 있는 해당 데이터를 추출하여 다시 물리계층부(200)를 통하여 목적지에 전송한다.If the ACK signal is not received within a predetermined time, the MII signal control apparatus 210 extracts the corresponding data stored therein and transmits the corresponding data to the destination through the physical layer unit 200 again.

이하, MII 신호 제어 장치(210)에 대한 상세한 설명은 도 3을 참조한다.Hereinafter, the MII signal control apparatus 210 will be described in detail with reference to FIG. 3.

도 3은 본 발명의 바람직한 일 실시예에 따른 MII 신호 제어 장치의 구성을 개략적으로 나타낸 블럭도이다.3 is a block diagram schematically showing the configuration of the MII signal control apparatus according to an embodiment of the present invention.

도 3을 참조하면, MII 신호 제어 장치는 물리계층측 MII 인터페이스부(300), 제어부(310), 네트웍프로세서측 MII 인터페이스부(320), 어드레스 테이블(330), 데이터 저장부(340)를 포함한다.Referring to FIG. 3, the MII signal control apparatus includes a physical layer side MII interface unit 300, a controller 310, a network processor side MII interface unit 320, an address table 330, and a data storage unit 340. do.

물리계층부로부터 전송된 데이터는 물리계층측 MII 인터페이스부(300)를 통하여 제어부(310)에 전송된다.Data transmitted from the physical layer unit is transmitted to the controller 310 through the physical layer side MII interface unit 300.

상기 제어부(310)는 상기 전송된 데이터를 저장한 후, 네트워크 프로세서측 MII 인터페이스부(320)의 사용여부를 판단한다.After storing the transmitted data, the controller 310 determines whether the MII interface unit 320 of the network processor is used.

상기 판단결과 상기 네트워크 프로세서측 MII 인터페이스부(320)가 사용중이 아니면, 상기 제어부(310)는 상기 전송된 데이터를 상기 네트워크 프로세서측 MII 인터페이스부(310)를 통하여 상기 네트워크 프로세서에 전송한다.If the network processor side MII interface unit 320 is not in use, the controller 310 transmits the transmitted data to the network processor through the network processor side MII interface unit 310.

여기서, 상기 제어부(310)는 어드레스 테이블(330)에 상기 데이터의 목적지 어드레스, 발신지 어드레스 등을 저장하고, 데이터 저장부(340)에 해당 데이터를 저장한다.Here, the controller 310 stores the destination address, the source address, and the like of the data in the address table 330, and stores the corresponding data in the data storage 340.

즉, 상기 제어부(310)는 제1 MII 인터페이스부(300a)와 제2 MII 인터페이스부(300b)를 통하여 복수의 데이터가 수신되면, 제3 MII 인터페이스부(320)의 사용여부를 판단한다. 상기 판단결과 상기 제3 MII 인터페이스부(320)가 사용중이면,상기 제어부(310)는 데이터 저장부(340)에 해당 데이터를 저장한 후, 상기 제3 MII인터페이스부(320)가 사용중이 아닐때, 상기 수신된 복수의 데이터를 차례대로 상기 네트워크 프로세서에 전송한다. 그러면, 상기 네트워크 프로세서는 상기 전송된 데이터를 처리한다.That is, the controller 310 determines whether to use the third MII interface unit 320 when a plurality of pieces of data are received through the first MII interface unit 300a and the second MII interface unit 300b. If the third MII interface unit 320 is in use, the controller 310 stores the data in the data storage unit 340 and then the third MII interface unit 320 is not in use. The plurality of received data is sequentially transmitted to the network processor. The network processor then processes the transmitted data.

상기 네트웍 프로세서에서 처리된 처리 데이터는 네트워크 프로세서측 MII인터페이스부(320)를 통하여 제어부(310)에 전송된다.The processing data processed by the network processor is transmitted to the controller 310 through the network processor side MII interface unit 320.

상기 제어부(310)는 상기 전송된 처리 데이터를 저장한 후, 물리계층측 MII 인터페이스부(300)를 통하여 해당 물리 계층부에 전송한다.The controller 310 stores the transmitted data and transmits the data to the corresponding physical layer through the physical layer-side MII interface unit 300.

즉, 상기 제어부(310)는 상기 처리 데이터를 제3 MII 인터페이스부(320)를 통하여 수신한후, 상기 처리 데이터의 물리 계층측 MII 인터페이스부 어드레스를 판단한다. 이때, 상기 처리 데이터의 물리 계층측 MII 인터페이스부 어드레스는 어드레스 테이블(330)에 저장된 정보이다.That is, the controller 310 receives the processing data through the third MII interface unit 320 and then determines the physical layer side MII interface unit address of the processing data. At this time, the physical layer side MII interface unit address of the processing data is information stored in the address table 330.

그런다음 상기 제어부(310)는 상기 판단된 물리 계층측 MII 인터페이스부 어드레스를 이용하여 상기 처리 데이터를 해당 목적지에 전송한다.Then, the controller 310 transmits the processing data to the corresponding destination by using the determined physical layer side MII interface unit address.

예를 들어, 상기 처리 데이터의 물리 계층측 MII 인터페이스부 어드레스가 제1 MII 인터페이스부(300a)이면, 상기 제어부(310)는 상기 처리 데이터를 제1 MII 인터페이스부(300a)를 통하여 해당 목적지에 전송한다.For example, if the physical layer side MII interface unit address of the processing data is the first MII interface unit 300a, the controller 310 transmits the processing data to the corresponding destination through the first MII interface unit 300a. do.

상기 제어부(310)는 상기 처리 데이터를 물리 계층부를 통하여 목적지로 전송한 후, 상기 목적지로부터 상기 처리 데이터의 수신 여부를 나타내는 ACK 신호가 미리 정해진 일정 시간내에 수신되는지의 여부를 판단한다.The controller 310 transmits the processing data to a destination through the physical layer unit, and then determines whether an ACK signal indicating whether the processing data is received from the destination within a predetermined time period.

상기 판단결과 미리 정해진 일정 시간내에 ACK 신호가 수신되면, 상기 제어부(310)는 데이터 저장부(340)에 저장되어 있는 처리 데이터를 삭제하고, 상기 네트워크 프로세서에 ACK 신호를 전송한다.If the ACK signal is received within a predetermined time as a result of the determination, the controller 310 deletes the processing data stored in the data storage unit 340 and transmits the ACK signal to the network processor.

만약, 미리 정해진 일정 시간내에 ACK 신호가 수신되지 않으면, 상기 제어부(310)는 상기 처리 데이터가 유실된 것으로 판단하여 데이터 저장부(340)에 저장되어 있는 해당 데이터를 추출하여 해당 목적지에 다시 전송한다.If the ACK signal is not received within a predetermined time period, the controller 310 determines that the processing data is lost and extracts the corresponding data stored in the data storage unit 340 and transmits the data again to the corresponding destination. .

상기 어드레스 테이블(330)은 물리 계층부 또는 네트웍 프로세서로부터 전송된 데이터의 MII 인터페이스부에 따라, 해당 데이터의 목적지 어드레스, 발신지 어드레스 등을 저장한다. 즉, 상기 어드레스 테이블(330)은 제1 MII 인터페이스부, 제2 MII 인터페이스부, 제3 MII 인터페이스부로 구성된다. 상기 MII 인터페이스부는 해당 데이터의 목적지 어드레스, 발신지 어드레스 등을 포함한다.The address table 330 stores a destination address, a source address, and the like of the data according to the MII interface unit of the data transmitted from the physical layer unit or the network processor. That is, the address table 330 includes a first MII interface unit, a second MII interface unit, and a third MII interface unit. The MII interface unit includes a destination address, a source address, and the like of the corresponding data.

예를 들어, 제1 MII 인터페이스부(300a)를 통하여 전송된 데이터는 제 1MII 인터페이스부에 목적지 어드레스, 발신지 어드레스 등이 저장하고, 제2 MII 인터페이스부(300b)를 통하여 전송된 데이터는 제2 MII 인터페이스부에 목적지 어드레스, 발신지 어드레스 등이 저장된다.For example, the data transmitted through the first MII interface 300a is stored in a destination address, a source address, etc., and the data transmitted through the second MII interface 300b is a second MII. The destination address, the source address, and the like are stored in the interface unit.

상기 데이터 저장부(340)는 물리 계층부 또는 네트웍 프로세서로부터 전송된 데이터를 저장하는 역할을 한다.The data storage unit 340 stores data transmitted from a physical layer unit or a network processor.

상기 제어부(310)는 데이터의 유실등이 발생한 경우, 상기 데이터 저장부(340)에 저장된 해당 데이터를 추출하여 해당 목적지에 전송한다.The controller 310 extracts the data stored in the data storage unit 340 and transmits the data to the corresponding destination when data loss or the like occurs.

그런다음 상기 데이터 저장부(340)에 저장된 데이터는 데이터의 전송이 완료된 후에 삭제된다.Then, the data stored in the data storage unit 340 is deleted after the transmission of data is completed.

도 4는 본 발명의 바람직한 일 실시예에 따른 MII 신호 제어 장치를 이용하여 데이터의 전송 경로를 이중화하여 데이터를 전송하는 방법을 나타낸 흐름도이다.4 is a flowchart illustrating a method of transmitting data by duplexing a transmission path of data using an MII signal control apparatus according to an exemplary embodiment of the present invention.

도 4를 참조하면, 네트웍 프로세서가 MII 신호 제어 장치에 데이터를 전송하면(S400), 상기 MII 신호 제어 장치는 제3 MII 인터페이스부를 통하여 데이터를 수신한다(S402). 여기서, 상기 제3 MII 인터페이스부는 네트웍 프로세서측 MII 인터페이스부일 수 있다.Referring to FIG. 4, when the network processor transmits data to the MII signal control apparatus (S400), the MII signal control apparatus receives data through the third MII interface unit (S402). The third MII interface unit may be a network processor side MII interface unit.

그러면, 상기 MII 신호 제어 장치는 상기 수신된 데이터를 저장부에 저장한 후, 제1 MII 인터페이스부를 통하여 상기 데이터를 해당 물리 계층부에 전송한다(S404). 여기서 상기 제1 MII 인터페이스부는 물리 계층측 MII 인터페이스부일 수 있다.Then, the MII signal control apparatus stores the received data in the storage unit and then transmits the data to the corresponding physical layer unit through the first MII interface unit (S404). The first MII interface unit may be a physical layer side MII interface unit.

이때, 상기 MII 신호 제어 장치는 제3 MII 인터페이스 테이블에 발신지 어드레스, 목적지 어드레스 등을 저장하고, 해당 데이터는 데이터 저장부에 저장한다.In this case, the MII signal control apparatus stores a source address, a destination address, and the like in a third MII interface table, and stores the corresponding data in the data storage unit.

상기 물리 계층부는 상기 전송된 데이터를 수신하여 목적지 어드레스에 상응하는 목적지에 상기 수신된 데이터를 전송한다(S406).The physical layer unit receives the transmitted data and transmits the received data to a destination corresponding to a destination address (S406).

그러면, 상기 목적지는 상기 데이터를 수신한 후, ACK 신호를 발생하여 물리 계층부에 전송한다.Then, after receiving the data, the destination generates an ACK signal and transmits it to the physical layer unit.

상기 물리 계층부는 상기 목적지로부터 ACK 신호를 수신하여 상기 MII 신호 제어 장치에 전송한다(S408).The physical layer unit receives an ACK signal from the destination and transmits the ACK signal to the MII signal controller (S408).

그러면, 상기 MII 신호 제어 장치는 상기 전송된 ACK 신호를 수신하여(S410), 상기 수신된 ACK 신호가 미리 정해진 일정 시간내에 수신되었는지의 여부를 판단한다(S412).Then, the MII signal control device receives the transmitted ACK signal (S410), and determines whether the received ACK signal is received within a predetermined predetermined time (S412).

단계 412의 판단결과 상기 ACK 신호가 미리 정해진 일정 시간내에 수신된 것이면, 상기 MII 신호 제어 장치는 저장부에 저장되어 있는 해당 데이터를 삭제한다(S414). 그런다음 상기 MII 신호 제어 장치는 제3 MII 인터페이스부를 통하여 ACK 신호를 상기 네트웍 프로세서에 전송한다(S416).If it is determined in step 412 that the ACK signal is received within a predetermined time, the MII signal control apparatus deletes the corresponding data stored in the storage unit (S414). Then, the MII signal control apparatus transmits an ACK signal to the network processor through the third MII interface unit (S416).

그러면, 상기 네트웍 프로세서서는 상기 MII 신호 제어 장치로부터 전송된 ACK 신호를 수신한다(S418).Then, the network processor receives the ACK signal transmitted from the MII signal control device (S418).

만약, 단계 412의 판단결과 상기 ACK 신호가 미리 정해진 일정 시간내에 수신되지 않으면, 상기 MII 신호 제어 장치는 동일 데이터가 3회이상 유실되었는지의 여부를 판단한다(S420). 즉, 상기 MII 신호 제어 장치가 동일 데이터를 3회 이상 전송하였을때, 상기 목적지로부터 ACK 신호가 3회 이상 미리 정해진 일정 시간내에 수신되지 않았는지의 여부를 판단한다.If the ACK signal is not received within a predetermined time as a result of the determination of step 412, the MII signal control device determines whether the same data is lost three or more times (S420). That is, when the MII signal control apparatus transmits the same data three or more times, it is determined whether the ACK signal has not been received from the destination three or more times within a predetermined predetermined time.

단계 420의 판단결과 동일 데이터가 3회이상 유실되었으면, 상기 MII 신호 제어 장치는 사용하지 않은 제2 MII 인터페이스부를 통하여 물리계층부에 데이터를전송한다(S422). 여기서 상기 제2 MII 인터페이스부는 물리 계층측 MII 인터페이스부일 수 있다. 그런다음 단계 406부터 실행한다.If the same data is lost three or more times as a result of the determination in step 420, the MII signal control apparatus transmits the data to the physical layer through the unused second MII interface unit (S422). The second MII interface unit may be a physical layer side MII interface unit. Then run from step 406.

만약, 단계 420의 판단결과 동일 데이터가 3회이상 유실되지 않았으면, 상기 MII 신호 제어 장치는 저장부에서 해당 데이터를 추출하여 제1 MII 인터페이스부를통하여 해당 데이터를 물리계층부에 전송한다(S424). 그럼다음 단계 406부터 실행한다.If the same data is not lost more than three times as a result of the determination of step 420, the MII signal control apparatus extracts the corresponding data from the storage and transmits the corresponding data to the physical layer through the first MII interface unit (S424). Then run from step 406.

도 5는 본 발명의 바람직한 일 실시예에 따른 복수의 전송매체를 사용할 경우의 데이터 트래픽을 조절하는 방법을 나타낸 흐름도이다.5 is a flowchart illustrating a method of controlling data traffic when using a plurality of transmission media according to an exemplary embodiment of the present invention.

도 5를 참조하면, MII 신호 제어 장치는 복수의 전송 매체로부터 전송된 데이터를 제1 MII 인터페이스부와 제2 MII 인터페이스부를 통하여 각각 수신한다(S500). 즉, 상기 MII 신호 제어 장치는 동축 케이블로부터 전송된 데이터는 제 1MII 인터페이스부를 통하여 수신하고, 광케이블로부터 전송된 데이터는 제2 MII 인터페이스부를 통하여 수신한다.Referring to FIG. 5, the MII signal control apparatus receives data transmitted from a plurality of transmission media through the first MII interface unit and the second MII interface unit, respectively (S500). That is, the MII signal control device receives data transmitted from the coaxial cable through the first MII interface unit and data transmitted from the optical cable through the second MII interface unit.

단계 500의 수행후, 상기 MII 신호 제어 장치는 상기 수신된 각각의 데이터를 해당 어드레스 테이블에 저장한다(S502).After performing step 500, the MII signal control apparatus stores each received data in a corresponding address table (S502).

즉, 제1 MII 인터페이스부를 통하여 수신된 데이터의 어드레스는 제1 MII 어드레스 테이블에 저장되고, 해당 데이터는 데이터 저장부에 저장된다. 또한, 제2 MII 인터페이스부를 통하여 수신된 데이터의 어드레스는 제2 MII 어드레스 테이블에 저장되고, 해당 데이터는 데이터 저장부에 저장된다.That is, the address of the data received through the first MII interface unit is stored in the first MII address table, and the corresponding data is stored in the data storage unit. In addition, the address of the data received through the second MII interface unit is stored in the second MII address table, and the corresponding data is stored in the data storage unit.

단계 502의 수행후, 상기 MII 신호 제어 장치는 제3 MII 인터페이스부가 사용중인지의 여부를 판단한다(S504). 여기서, 상기 제3 MII 인터페이스부는 네트웍 프로세서측 MII 인터페이스부일 수 있다.After performing step 502, the MII signal control apparatus determines whether the third MII interface unit is in use (S504). The third MII interface unit may be a network processor side MII interface unit.

단계 504의 판단결과 상기 제3 MII 인터페이스부가 사용중이 아니면, 상기 MII 신호 제어 장치는 제3 MII 인터페이스부를 통하여 상기 수신된 데이터를 네트웍 프로세서에 전송한다(S506). 그러면, 상기 네트웍 프로세서는 상기 수신된 데이터를 처리하여 상기 MII 신호 제어 장치에 전송한다.If it is determined in step 504 that the third MII interface unit is not in use, the MII signal control apparatus transmits the received data to a network processor through a third MII interface unit (S506). Then, the network processor processes the received data and transmits the received data to the MII signal control device.

그러면, 상기 MII 신호 제어 장치는 상기 네트워크 프로세서에서 처리된 데이터를 제3 MII 인터페이스부를 통하여 수신한다(S508).Then, the MII signal control device receives the data processed by the network processor through the third MII interface unit (S508).

단계 508의 수행후, 상기 MII 신호 제어 장치는 어드레스 테이블을 이용하여 상기 수신된 처리 데이터의 물리 계층측 MII 인터페이스부를 판단한다(S510).After performing step 508, the MII signal control apparatus determines the physical layer side MII interface unit of the received processing data by using an address table (S510).

단계 510의 수행후, 상기 MII 신호 제어 장치는 상기 처리 데이터를 해당 MII 인터페이스부를 통하여 물리 계층부에 전송한다(S512).After performing step 510, the MII signal control apparatus transmits the processing data to the physical layer through the corresponding MII interface unit (S512).

예를 들어, 처리 데이터의 물리 계층측 MII 인터페이스부를 판단한 결과, 제1 MII 인터페이스부이면, 상기 MII 신호 제어 장치는 상기 처리 데이터를 제1 MII 인터페이스부를 통하여 물리 계층부에 전송한다. 상기 물리 계층부에 전송된 처리 데이터가 해당 목적지에 정상적으로 도달했는지의 여부를 판단하는 것은 도 4를 참조한다.For example, when it is determined that the physical layer side MII interface unit of the processing data is the first MII interface unit, the MII signal control device transmits the processing data to the physical layer unit through the first MII interface unit. Refer to FIG. 4 for determining whether the process data transmitted to the physical layer unit has reached the corresponding destination normally.

도 6은 본 발명의 바람직한 일 실시예에 따른 MII 신호 제어 장치를 이용하여 감시 기능을 구현하는 시스템을 나타낸 블럭도이다.6 is a block diagram illustrating a system for implementing a monitoring function using an MII signal control apparatus according to an exemplary embodiment of the present invention.

도 6을 참조하면, MII 신호 제어 장치를 이용하여 감시 기능을 구현하는 시스템에서 제1 물리 계층부(600a)는 망을 통하여 데이터를 수신하고, 제2 물리 계층부(600b)는 감시용 장비와 연결되어 있다.Referring to FIG. 6, in a system implementing a monitoring function using an MII signal control device, the first physical layer unit 600a receives data through a network, and the second physical layer unit 600b may be connected to the monitoring equipment. It is connected.

상기 MII 신호 제어 장치(610)는 상기 제1 물리 계층부(600a)로부터 전송된 데이터를 네트워크 프로세서(620)와 제2 물리 계층부(600b)를 통하여 감시용 장비에 전송한다.The MII signal control apparatus 610 transmits the data transmitted from the first physical layer unit 600a to the monitoring equipment through the network processor 620 and the second physical layer unit 600b.

상기 감시용 장비는 데이터의 유실 여부, 폭주 여부 등을 확인하는 역할을 한다. 상기 네트워크 프로세서(620)는 MII 신호 제어 장치(610)로부터 전송된 데이터를 처리한다.The monitoring equipment checks whether data is lost or congested. The network processor 620 processes data transmitted from the MII signal control device 610.

도 7은 본 발명의 바람직한 일 실시예에 따른 MII 신호 제어 장치를 이용하여 감시 기능을 구현하는 방법을 나타낸 흐름도이다.7 is a flowchart illustrating a method of implementing a monitoring function using an MII signal control apparatus according to an exemplary embodiment of the present invention.

도 7을 참조하면, 물리 계층부로부터 전송된 데이터가 제1 MII 인터페이스부를 통하여 수신되면(S700), MII 신호 제어 장치는 데이터 감시 기능 사용 여부를 질의한다(S702).Referring to FIG. 7, when data transmitted from the physical layer unit is received through the first MII interface unit (S700), the MII signal control device inquires whether to use a data monitoring function (S702).

데이터 감시 기능의 사용을 원하면, 상기 MII 신호 제어 장치는 상기 수신된 데이터를 제3 MII 인터페이스부를 통하여 네트워크 프로세서에 전송함과 동시에 제2 MII 인터페이스부를 통하여 감시용 장비에 전송한다(S704).If the user wants to use the data monitoring function, the MII signal control apparatus transmits the received data to the network processor through the third MII interface unit and to the monitoring equipment through the second MII interface unit (S704).

상기 감시용 장비는 상기 전송된 데이터를 확인하여 데이터의 유실, 데이터 폭주 등을 감시하여, 데이터의 유실 또는 폭주가 발생하면, 사용자에게 데이터 전송 장애 발생 정보를 전송한다.The monitoring equipment checks the transmitted data and monitors data loss and data congestion, and transmits data transmission failure occurrence information to the user when data loss or congestion occurs.

만약, 데이터 감시 기능 사용을 원하지 않으면, MII 신호 제어 장치는 상기 수신된 데이터를 제3 MII 인터페이스부를 통하여 네트워크 프로세서에 전송한다(S706).If it is not desired to use the data monitoring function, the MII signal control apparatus transmits the received data to the network processor through the third MII interface unit (S706).

상기 네트워크 프로세서는 상기 전송된 데이터를 처리하여 해당 물리 계층부에 전송한다. 상기 네트워크 프로세서가 상기 전송된 데이터를 처리하여 해당 물리계층으로 전송하는 과정에 대한 상세한 설명은 도 4를 참조한다.The network processor processes the transmitted data and transmits the data to the corresponding physical layer unit. A detailed description of the process of transmitting the transmitted data to the corresponding physical layer by the network processor is described with reference to FIG. 4.

본 발명은 상기 실시예에 한정되지 않으며, 많은 변형이 본 발명의 사상 내에서 당 분야에서 통상의 지식을 가진 자에 의하여 가능함은 물론이다.The present invention is not limited to the above embodiments, and many variations are possible by those skilled in the art within the spirit of the present invention.

상술한 바와 같이 본 발명에 따르면, 이더넷 경로를 이중화하고, 하나의 네트워크 프로세서로 서로 다른 전송매체를 사용하게 하는 MII 신호 제어 장치 및 그 방법을 제공할 수 있다.As described above, according to the present invention, it is possible to provide an MII signal control apparatus and method for duplexing an Ethernet path and allowing different transmission media to be used by one network processor.

또한, 본 발명에 따르면, 물리계층부와 네트워크 프로세서간의 MII 인터페이스 수행시, 트래픽양을 조절할 수 있는 MII 신호 제어 장치 및 그 방법을 제공할 수 있다.In addition, according to the present invention, when performing the MII interface between the physical layer unit and the network processor, it is possible to provide an apparatus and method for controlling the MII signal that can adjust the traffic amount.

또한, 본 발명에 따르면, 물리계층부와 네트워크 프로세간의 MII인터페이스시, 데이터 유실등을 체크할 수 있는 MII 신호 제어 장치 및 그 방법을 제공할 수 있다.In addition, according to the present invention, it is possible to provide an MII signal control device and a method capable of checking data loss, etc., in the MII interface between a physical layer unit and a network processor.

Claims (7)

물리 계층과 네트워크 프로세서 사이에 위치하여 송수신되는 데이터의 인터페이스를 제어하는 장치에 있어서,An apparatus for controlling an interface of data transmitted and received between a physical layer and a network processor, the apparatus comprising: 상기 물리 계층 또는 네트워크 프로세서로부터 전송된 데이터를 송수신하는 인터페이스부;An interface unit for transmitting and receiving data transmitted from the physical layer or a network processor; 상기 인터페이스부로부터 전송된 데이터의 오류 여부를 판단하고, 데이터의 트래픽을 조절하는 제어부;A controller which determines whether an error of data transmitted from the interface unit is detected and adjusts traffic of the data; 상기 제어부로부터 전송된 데이터를 수신하여 저장하는 저장부Storage unit for receiving and storing the data transmitted from the controller 를 포함하는것을 특징으로 하는 MII 신호 제어 장치.MII signal control device comprising a. 제1항에 있어서,The method of claim 1, 상기 인터페이스부는The interface unit 상기 물리 계층으로부터 전송된 데이터를 제어부를 통하여 네트워크 프로세서로 전송하고, 상기 네트워크 프로세서로부터 전송된 데이터를 제어부를 통하여 수신하는 복수의 물리 계층측 MII인터페이스부;A plurality of physical layer side MII interface units configured to transmit data transmitted from the physical layer to a network processor through a controller, and receive data transmitted from the network processor through a controller; 상기 네트워크 프로세서로부터 전송된 데이터를 제어부를 통하여 물리 계층에 전송하고, 상기 물리 계층으로부터 전송된 데이터를 제어부를 통하여 수신하는 네트워크 프로세서측 MII인터페이스부The MII interface unit for transmitting the data transmitted from the network processor to the physical layer through the control unit and receiving the data transmitted from the physical layer through the control unit. 를 포함하는 것을 특징으로 하는 MII 신호 제어 장치.MII signal control device comprising a. 제1항에 있어서,The method of claim 1, 상기 저장부는The storage unit 수신되는 데이터의 어드레스 정보를 저장하는 어드레스 저장부;An address storage unit for storing address information of the received data; 상기 수신되는 데이터를 저장하는 데이터 저장부A data storage unit for storing the received data 를 포함하는 것을 특징으로 하는 MII 신호 제어 장치.MII signal control device comprising a. 물리 계층과 네트워크 프로세서 사이에서 데이터를 송수신하는 방법에 있어서,In the method for transmitting and receiving data between the physical layer and the network processor, 물리 계층측의 복수의 MII 인터페이스부로부터 전송된 복수의 데이터를 수신하여 저장하는 단계;Receiving and storing a plurality of data transmitted from the plurality of MII interface units on the physical layer side; 네트워크 프로세서측 MII 인터페이스부의 사용여부를 판단하여 상기 네트워크 프로세서측 MII 인터페이스부가 사용중이 아닌 경우, 상기 네트워크 프로세서측 MII 인터페이스부를 통하여 상기 데이터를 네트워크 프로세서에 전송하는 단계;Determining whether to use a network processor-side MII interface unit and transmitting the data to a network processor through the network processor-side MII interface unit when the network processor-side MII interface unit is not in use; 상기 네트워크 프로세서에서 처리된 처리 데이터가 상기 네트워크 프로세서측 MII 인터페이스부를 통하여 수신되면, 상기 처리 데이터를 저장하는 단계;Storing processing data when the processing data processed by the network processor is received through the network processor-side MII interface unit; 상기 처리 데이터의 물리 계층측 MII 인터페이스부를 판단하여 해당 물리 계층측 MII 인터페이스부를 통하여 목적지에 전송하는 단계;Determining the physical layer side MII interface unit of the processed data and transmitting the same to the destination through the physical layer side MII interface unit; 상기 목적지에 전송한 처리 데이터의 정상 도달 여부를 판단하는 단계;Determining whether the processing data transmitted to the destination is normally reached; 상기 판단결과 상기 전송한 처리 데이터가 정상으로 도달하지 않았으면, 동일 데이터가 미리 정해진 일정 회수 이상으로 정상 도달하지 않았는지의 여부를 판단하는 단계;Determining whether the same data has not reached a predetermined number of times or more if a result of the determination does not reach the normal; 상기 판단결과 동일 데이터가 미리 정해진 회수 이상으로 정상 도달하지 않았으면, 저장부에서 해당 데이터를 추출하여 사용하지 않는 물리 계층측 MII 인터페이스부를 통하여 상기 추출된 데이터를 전송하는 단계If the same data does not reach the predetermined number of times more than a predetermined number of times, transmitting the extracted data through the physical layer side MII interface unit which does not extract the corresponding data from the storage unit; 를 포함하는 것을 특징으로 하는 MII 신호 제어 방법.MII signal control method comprising a. 제4항에 있어서,The method of claim 4, wherein 상기 목적지에 전송한 처리 데이터의 정상 도달 여부를 판단하는 단계는Determining whether or not the process data transmitted to the destination reaches the normal 상기 목적지로부터 전송된 ACK 신호가 상기 물리 계층을 통하여 수신되면, 상기 수신된 ACK 신호가 미리 정해진 일정 시간내에 수신되었는지의 여부를 판단하는 단계;If an ACK signal transmitted from the destination is received through the physical layer, determining whether the received ACK signal is received within a predetermined predetermined time; 상기 판단결과 상기 ACK 신호가 미리 정해진 일정 시간내에 수신되면, 상기 데이터가 정상적으로 목적지에 도달한 것으로 판단하고, 상기 ACK 신호가 미리 정해진 일정 시간내에 수신되지 않으면, 상기 데이터가 정상적으로 상기 목적지에 도달하지 않은 것으로 판단하는 단계If the ACK signal is received within a predetermined time as a result of the determination, it is determined that the data has reached the destination normally, and if the ACK signal is not received within the predetermined time, the data does not normally reach the destination. Step to judge 를 포함하는 것을 특징으로 하는 MII 신호 제어 방법.MII signal control method comprising a. 제4항에 있어서,The method of claim 4, wherein 상기 처리 데이터가 목적지에 정상으로 도달하였으면, 저장부에 저장되어있는 해당 데이터를 삭제한 후, 해당 물리 계층측 MII 인터페이스부를 통하여 상기 네트워크 프로세서에 ACK 신호를 전송하는 것을 특징으로 하는 MII 신호 제어 방법.And when the processing data reaches the destination, the corresponding data stored in the storage unit is deleted, and then an ACK signal is transmitted to the network processor through the corresponding physical layer side MII interface unit. 제4항에 있어서,The method of claim 4, wherein 상기 네트워크 프로세서측 MII 인터페이스부가 사용중이면, 상기 네트워크 프로세서측 MII 인터페이스부의 사용이 끝날때 데이터를 전송하는 것을 특징으로 하는 MII 신호 제어 방법.And when the network processor side MII interface unit is in use, transmitting data when the network processor side MII interface unit is finished.
KR1020020032296A 2002-06-10 2002-06-10 Apparatus and Method for Controlling MII Signal KR20030094936A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020020032296A KR20030094936A (en) 2002-06-10 2002-06-10 Apparatus and Method for Controlling MII Signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020020032296A KR20030094936A (en) 2002-06-10 2002-06-10 Apparatus and Method for Controlling MII Signal

Publications (1)

Publication Number Publication Date
KR20030094936A true KR20030094936A (en) 2003-12-18

Family

ID=32386437

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020020032296A KR20030094936A (en) 2002-06-10 2002-06-10 Apparatus and Method for Controlling MII Signal

Country Status (1)

Country Link
KR (1) KR20030094936A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100860409B1 (en) * 2006-12-07 2008-09-26 한국전자통신연구원 Gigabit Ethernet Line Interface Apparatus
KR20150108060A (en) * 2014-03-17 2015-09-25 엘에스산전 주식회사 Monitoring device of two channels bus data in network system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100860409B1 (en) * 2006-12-07 2008-09-26 한국전자통신연구원 Gigabit Ethernet Line Interface Apparatus
KR20150108060A (en) * 2014-03-17 2015-09-25 엘에스산전 주식회사 Monitoring device of two channels bus data in network system

Similar Documents

Publication Publication Date Title
US7289432B2 (en) High speed switching router using APS and method for switching the same
US6055568A (en) Method and apparatus for dynamically configuring a decentralized network of computers
US7400574B2 (en) Method and apparatus for managing a loop network
EP2318926B1 (en) Method and system for low-overhead data transfer
US7200641B1 (en) Method and system for encoding SCSI requests for transmission using TCP/IP
US9379988B2 (en) Multi-rate MAC to PHY interface
US20050128949A1 (en) Network system having a plurality of switches capable of improving transmission efficiency and method thereof
US9231860B2 (en) System and method for hierarchical link aggregation
US11979326B2 (en) Tool port throttling at a network visibility node
US20170063696A1 (en) Data packet flow rule field range of an application specific integrated circuit
TW202234190A (en) Control system, control method, control program, local device, remote device, signal processing method, packet processing method, signal processing program, and packet processing program
KR101576833B1 (en) Redundancy Check Method for Communication Data using Receiving Buffer in Redundancy Apparatus
KR20030094936A (en) Apparatus and Method for Controlling MII Signal
US20080005436A1 (en) Performance profiling for improved data throughput
US6728772B1 (en) Automatic configuration of a channel-to-channel connection employing channel-to-channel functioning integrated within one or more channels of a computing environment
KR20100087009A (en) Usage of persistent information unit pacing protocol in fibre channel communications
US7443788B2 (en) Method and apparatus for improving performance of a loop network
US7860113B2 (en) Enforced routing in switch
US6859439B1 (en) Partition-to-partition communication employing a single channel path with integrated channel-to-channel function
KR100550013B1 (en) Packet communication method between router and virtual local area network
US6671740B1 (en) Integration of channel-to-channel communication capability into a communication channel of a computing environment
US8005082B2 (en) Concurrent enablement of persistent information unit pacing
US7694023B1 (en) Routing a processor communication
JP2004194272A (en) Device for resolving conflict between home network stations using carrier sensing signal
JP2020102764A (en) Communication device, link control method, and program

Legal Events

Date Code Title Description
N231 Notification of change of applicant
WITN Withdrawal due to no request for examination