KR102177406B1 - Apparatus for monitoring and recovering protocol and the method thereof - Google Patents
Apparatus for monitoring and recovering protocol and the method thereof Download PDFInfo
- Publication number
- KR102177406B1 KR102177406B1 KR1020140134142A KR20140134142A KR102177406B1 KR 102177406 B1 KR102177406 B1 KR 102177406B1 KR 1020140134142 A KR1020140134142 A KR 1020140134142A KR 20140134142 A KR20140134142 A KR 20140134142A KR 102177406 B1 KR102177406 B1 KR 102177406B1
- Authority
- KR
- South Korea
- Prior art keywords
- protocol
- host
- signal
- monitor
- internal
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3089—Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/24—Resetting means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3013—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is an embedded system, i.e. a combination of hardware and software dedicated to perform a certain function in mobile devices, printers, automotive or aircraft systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3041—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is an input/output interface
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0032—Serial ATA [SATA]
Abstract
본 발명은 프로토콜의 모니터링 및 복구 장치와 방법에 관한 것으로, 차량용 AVN(Audio, Video, Navigation) 장치에서 호스트와 디바이스 간에 SATA(Serial Advanced Technology Attachment) 인터페이스가 시작되면, 상기 호스트로부터 디바이스로 송신되는 프로토콜 신호를 캡쳐하는 프로토콜 모니터 및 미리 입력된 정상 프로토콜을 내부 버퍼에 저장하며, 상기 프로토콜 모니터로부터 캡쳐된 프로토콜 신호를 미리 입력된 프로토콜과 비교하여 프로토콜 오류를 판단하고, 프로토콜 오류 시 상기 호스트의 SATA 컨트롤러를 리셋한 후 정상 프로토콜로 복구시키는 프로토콜 컨트롤러를 포함한다.The present invention relates to an apparatus and method for monitoring and recovering a protocol, and when a Serial Advanced Technology Attachment (SATA) interface is started between a host and a device in a vehicle AVN (Audio, Video, Navigation) device, a protocol transmitted from the host to the device A protocol monitor that captures a signal and a pre-input normal protocol are stored in an internal buffer, and the protocol signal captured from the protocol monitor is compared with a pre-input protocol to determine a protocol error, and in case of a protocol error, the host's SATA controller is It includes a protocol controller that restores the normal protocol after reset.
Description
본 발명은 프로토콜의 모니터링 및 복구 장치와 그 방법에 관한 것으로, 보다 상세하게는 SSD(Solid State Drive)와 MCU(Micro Controller Unit) 간의 SATA(Serial Advanced Technology Attachment) 인터페이스 신호를 실시간 모니터링하여 프로토콜 오류 시 자동으로 복구할 수 있도록 하는 프로토콜의 모니터링 및 복구 장치와 그 방법에 관한 것이다.
The present invention relates to a protocol monitoring and recovery apparatus and a method thereof, and more particularly, by monitoring a serial advanced technology attachment (SATA) interface signal between a solid state drive (SSD) and a micro controller unit (MCU) in real time, when a protocol error occurs. It relates to an apparatus and method for monitoring and recovering protocols that enable automatic recovery.
일반적으로 내비게이션은 자동차에 없어서는 안 될 장치이지만, 대시보드 위에 설치하는 일반 내비게이션은 오히려 운전에 방해가 되고, 따라서 안전을 생각하는 운전자들은 매립형 내비게이션을 설치하는데, 내비게이션을 센터페시아에 매립할 경우 카오디오를 설치할 곳이 애매해진다. In general, navigation is an indispensable device for automobiles, but general navigation installed on the dashboard rather interferes with driving. Therefore, drivers who are concerned about safety install a buried navigation system. The place to install it becomes ambiguous.
이에 따라 최근에는 카오디오와 비디오, 내비게이션 기능이 모두 합쳐진 AVN(Audio, Video, Navigation) 장치를 설치하는 것이 일반적이다.Accordingly, in recent years, it is common to install an AVN (Audio, Video, Navigation) device in which all car audio, video, and navigation functions are combined.
이때 상기 AVN 장치는 제어장치(예 : MCU)와 내부 저장장치(예 : SSD, 하드디스크, 메모리 등) 및 외부장치(예 : USB 메모리, 전/후방 카메라, 휴대폰 등) 간의 인터페이스를 위하여 다양한 인터페이스(예 : SATA, USB 등) 기능을 포함하고 있다.At this time, the AVN device is a variety of interfaces for an interface between a control device (eg, MCU) and an internal storage device (eg, SSD, hard disk, memory, etc.) and external devices (eg, USB memory, front/rear camera, mobile phone, etc.) (Example: SATA, USB, etc.) features are included.
특히 SATA 프로토콜은 시스템(예 : AVN 장치)의 파워 이벤트(즉, 파워 온) 시작 직후 SATA PHY 단의 상호 통신을 통해 인터페이스를 수립하는데, 이때 프로토콜상의 오류가 발생하면 호스트와 디바이스가 무한 대기상태로 진입하게 되어 OS/Image/Driver 등을 저장장치(Storage Device)로 부터 읽어 들이지 못해 시스템이 오작동하게 되는 문제점이 있다.In particular, the SATA protocol establishes an interface through mutual communication between the SATA PHY stage immediately after the start of a power event (i.e., power-on) of the system (e.g. AVN device). In this case, if an error occurs in the protocol, the host and the device go into an infinite standby state. There is a problem in that the system malfunctions due to the inability to read OS/Image/Driver from the storage device due to the entry.
즉, SATA 인터페이스 수립 중 프로토콜상의 오류가 발생하여 호스트(예 : MCU)와 디바이스(예 : SSD)가 무한 대기상태로 진입하게 되어 OS/Image/Driver 등을 저장장치로부터 읽어 들이지 못해 임계 오류(Critical error : 소프트웨어나 사용자의 개입에 의해 상태가 복구될 때까지 처리를 중지하는 오류) 등 다양한 문제가 발생할 수 있다.In other words, a protocol error occurs during the establishment of the SATA interface, and the host (e.g., MCU) and device (e.g., SSD) enter an infinite standby state, and the OS/Image/Driver, etc. cannot be read from the storage device. error: An error that stops processing until the state is restored due to software or user intervention). Various problems can occur.
본 발명의 배경기술은 대한민국 공개특허 10-2010-0057324호(2010.05.31.공개, 호스트 컴퓨터와 외부 디바이스를 연결하는 SATA 인터페이스 장치)에 개시되어 있다.
Background art of the present invention is disclosed in Korean Patent Application Laid-Open No. 10-2010-0057324 (published on May 31, 2010, a SATA interface device connecting a host computer and an external device).
본 발명은 상기와 같은 문제점을 해결하기 위해 창작된 것으로서, SSD와 MCU 간의 SATA 인터페이스 신호를 실시간 모니터링하여 프로토콜 오류 시 자동으로 복구할 수 있도록 하는 프로토콜의 모니터링 및 복구 장치와 그 방법을 제공하는데 그 목적이 있다. The present invention was created to solve the above problems, and provides a protocol monitoring and recovery apparatus and method for automatically recovering when a protocol error occurs by monitoring a SATA interface signal between SSD and MCU in real time. There is this.
본 발명의 다른 목적은 칩 상호간 시그널링(Chip-to-Chip signaling) 의 보정을 통하여 신호 무결성(Signal Integrity) 효율을 극대화 시킬 수 있도록 하는 프로토콜의 모니터링 및 복구 장치와 그 방법을 제공하는데 그 목적이 있다.Another object of the present invention is to provide a protocol monitoring and recovery apparatus and method for maximizing Signal Integrity efficiency through correction of chip-to-chip signaling. .
본 발명의 또 다른 목적은 칩 상호간 인터페이스 에러 발생 시 즉각적인 복구를 통하여 시스템을 안정화시킬 수 있도록 하는 프로토콜의 모니터링 및 복구 장치와 그 방법을 제공하는데 그 목적이 있다.
Another object of the present invention is to provide a protocol monitoring and recovery apparatus and a method for stabilizing a system through immediate recovery when an interface error occurs between chips.
본 발명의 일 측면에 따른 프로토콜의 모니터링 및 복구 장치는, 차량용 AVN(Audio, Video, Navigation) 장치에서 호스트와 디바이스 간에 SATA(Serial Advanced Technology Attachment) 인터페이스가 시작되면, 상기 호스트로부터 디바이스로 송신되는 프로토콜 신호를 캡쳐하는 프로토콜 모니터; 및 미리 입력된 정상 프로토콜을 내부 버퍼에 저장하며, 상기 프로토콜 모니터로부터 캡쳐된 프로토콜 신호를 미리 입력된 프로토콜과 비교하여 프로토콜 오류를 판단하고, 프로토콜 오류 시 상기 호스트의 SATA 컨트롤러를 리셋한 후 정상 프로토콜로 복구시키는 프로토콜 컨트롤러;를 포함하는 것을 특징으로 한다.Protocol monitoring and recovery apparatus according to an aspect of the present invention, when a serial Advanced Technology Attachment (SATA) interface between a host and a device in a vehicle AVN (Audio, Video, Navigation) device is started, the protocol transmitted from the host to the device A protocol monitor to capture the signal; And storing the previously inputted normal protocol in an internal buffer, comparing the protocol signal captured from the protocol monitor with the previously inputted protocol, determining a protocol error, and resetting the host's SATA controller to a normal protocol. It characterized in that it comprises a; protocol controller to recover.
본 발명에 있어서, 상기 모니터링 및 복구 장치는, 상기 호스트와 디바이스 간에 송/수신되는 프로토콜 신호에 발생할 수 있는 손실을 보상하기 위한 내부 보상장치로서, 터미네이터, 및 프리/디 엠파시스 중 적어도 하나를 포함하는 것을 특징으로 한다.In the present invention, the monitoring and recovery device is an internal compensation device for compensating for a loss that may occur in the protocol signal transmitted/received between the host and the device, and includes at least one of a terminator and pre/de-emphasis. Characterized in that.
본 발명에 있어서, 상기 모니터링 및 복구 장치는, 상기 프로토콜 모니터에 의해 발생될 수 있는 임피던스 미스매칭, 또는 신호 진폭의 변화에 대한 보상을 수행하는 이퀄라이저; 및 상기 이퀄라이저를 통해 보상이 이루어진 프로토콜 신호를 상기 호스트 및 디바이스로 전달하는 이퀄라이저 컨트롤러;를 더 포함하는 것을 특징으로 한다.In the present invention, the monitoring and recovery device comprises: an equalizer that compensates for an impedance mismatch that may be generated by the protocol monitor or a change in signal amplitude; And an equalizer controller that transmits a protocol signal compensated through the equalizer to the host and device.
본 발명에 있어서, 상기 호스트와 디바이스는 엠씨유(MCU)와 저장장치 중 하나에 대응되며, 상기 엠씨유가 호스트인 경우 저장장치가 디바이스가 되고, 상기 저장장치가 호스트인 경우 엠씨유가 디바이스가 되는 것을 특징으로 한다.
In the present invention, the host and the device correspond to one of an MCU and a storage device, and when the MCU is a host, the storage device becomes a device, and when the storage device is a host, the MCU becomes a device. It is characterized.
본 발명의 다른 측면에 따른 프로토콜의 모니터링 및 복구 방법은, 차량용 AVN 장치에서 호스트와 디바이스 간에 SATA 인터페이스가 시작되면, 프로토콜 컨트롤러가 내부 버퍼에 미리 입력되어 있던 프로토콜 및 상기 호스트와 디바이스 간에 실시간 송/수신되는 프로토콜을 캡쳐하여 비교하는 단계; 상기 프로토콜의 비교를 통해, 상기 프로토콜 컨트롤러는 상기 실시간 캡쳐된 프로토콜이 미리 입력되어 있던 프로토콜과 다른지 판단하는 단계; 및 상기 실시간 캡쳐된 프로토콜이 미리 입력되어 있던 프로토콜이 다르면, 상기 프로토콜 컨트롤러는 호스트의 SATA 컨트롤러를 리셋한 후 정상 프로토콜로 복구하는 단계;를 포함하는 것을 특징으로 한다.Protocol monitoring and recovery method according to another aspect of the present invention, when a SATA interface between a host and a device is started in a vehicle AVN device, a protocol that has been previously input to an internal buffer by a protocol controller and a real-time transmission/reception between the host and the device. Capturing and comparing protocols to be performed; Determining, at the protocol controller, whether the protocol captured in real time is different from a previously input protocol through comparison of the protocols; And if the protocol captured in real time is different from the previously input protocol, the protocol controller resetting the SATA controller of the host and then restoring to a normal protocol.
본 발명에 있어서, 상기 SATA 컨트롤러를 리셋한 후 정상 프로토콜로 복구하는 단계 이후, 상기 호스트가 상기 복구 완료된 프로토콜을 이용해 다시 상기 디바이스와 SATA 인터페이스를 수행하면, 이퀄라이저가 상기 복구 완료된 프로토콜 신호를 전달받아 신호 무결성을 판단하는 단계; 상기 프로토콜 신호에 손실이 발생한 경우, 상기 이퀄라이저가 프로토콜 신호의 손실을 보상하는 단계; 및 상기 이퀄라이저를 통해 보상된 프로토콜 신호를 이퀄라이저 컨트롤러가 디바이스로 전달하는 단계;를 더 포함하는 것을 특징으로 한다.In the present invention, after the step of restoring to a normal protocol after resetting the SATA controller, when the host performs the SATA interface with the device again using the restored protocol, an equalizer receives the restored protocol signal and receives a signal. Determining integrity; When loss of the protocol signal occurs, the equalizer compensating for the loss of the protocol signal; And transmitting, by an equalizer controller, the protocol signal compensated through the equalizer to the device.
본 발명에 있어서, 상기 이퀄라이저가 프로토콜 신호의 손실을 보상하는 단계에서, 상기 이퀄라이저는, 상기 호스트와 디바이스 간에 송/수신되는 프로토콜 신호에 발생할 수 있는 손실을 보상하기 위한 내부 보상장치로서, 터미네이터, 프리/디 엠파시스 중 적어도 하나를 포함하는 것을 특징으로 한다.In the present invention, in the step of compensating the loss of the protocol signal by the equalizer, the equalizer is an internal compensating device for compensating for a loss that may occur in the protocol signal transmitted/received between the host and the device. It characterized in that it includes at least one of / the empathy.
본 발명에 있어서, 상기 호스트와 디바이스는 엠씨유(MCU)와 저장장치 중 하나에 대응되며, 상기 엠씨유가 호스트인 경우 저장장치가 디바이스가 되고, 상기 저장장치가 호스트인 경우 엠씨유가 디바이스가 되는 것을 특징으로 한다.
In the present invention, the host and the device correspond to one of an MCU and a storage device, and when the MCU is a host, the storage device becomes a device, and when the storage device is a host, the MCU becomes a device. It is characterized.
본 발명은 SSD와 MCU 간의 SATA 인터페이스 신호를 실시간 모니터링하여 프로토콜 오류 시 자동으로 복구할 수 있도록 하고, 칩 상호간 시그널링의 보정을 통하여 신호 무결성 효율을 극대화 시킬 수 있도록 하며, 또한 칩 상호간 인터페이스 에러 발생 시 즉각적인 복구를 통하여 시스템을 안정화시킬 수 있도록 한다.
The present invention enables real-time monitoring of the SATA interface signal between the SSD and the MCU to automatically recover in case of a protocol error, and maximizes signal integrity efficiency through correction of signaling between chips, and immediately when an interface error occurs between chips. The system can be stabilized through recovery.
도 1은 본 발명의 일 실시예에 따른 프로토콜의 모니터링 및 복구 장치의 개략적인 구성을 보인 예시도.
도 2는 상기 도 1에 있어서, 프로토콜의 모니터링 및 복구 장치의 동작을 설명하기 위한 예시도.
도 3은 상기 도 1에 있어서, 프로토콜의 모니터링 및 복구 장치의 보다 상세한 구성을 보인 예시도.
도 4는 본 발명의 일 실시예에 따른 프로토콜의 모니터링 및 복구 방법을 설명하기 위한 흐름도.1 is an exemplary view showing a schematic configuration of a protocol monitoring and recovery apparatus according to an embodiment of the present invention.
FIG. 2 is an exemplary diagram for explaining the operation of a protocol monitoring and recovery apparatus in FIG. 1;
3 is an exemplary view showing a more detailed configuration of a protocol monitoring and recovery apparatus in FIG. 1;
4 is a flowchart illustrating a method of monitoring and recovering a protocol according to an embodiment of the present invention.
이하, 첨부된 도면을 참조하여 본 발명에 따른 프로토콜의 모니터링 및 복구 장치와 그 방법의 일 실시예를 설명한다. Hereinafter, an embodiment of a protocol monitoring and recovery apparatus and method according to the present invention will be described with reference to the accompanying drawings.
이 과정에서 도면에 도시된 선들의 두께나 구성요소의 크기 등은 설명의 명료성과 편의상 과장되게 도시되어 있을 수 있다. 또한, 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례에 따라 달라질 수 있다. 그러므로 이러한 용어들에 대한 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.In this process, the thickness of the lines or the size of components shown in the drawings may be exaggerated for clarity and convenience of description. In addition, terms to be described later are terms defined in consideration of functions in the present invention and may vary according to the intention or custom of users or operators. Therefore, definitions of these terms should be made based on the contents throughout the present specification.
본 발명은 SATA 인터페이스 수립 중 프로토콜상의 오류가 발생하여 호스트와 디바이스가 무한 대기상태로 진입하게 되어 OS/Image/Driver 등을 저장장치로부터 읽어 들이지 못해 임계 오류 등 다양한 문제가 발생하였을 경우 즉각적으로 복구하여 시스템을 안정화 시킬 수 있도록 하는 장치 및 방법에 관한 것이다.In the present invention, when an error in the protocol occurs during establishment of the SATA interface, the host and the device enter the infinite standby state, and thus, when various problems such as critical errors occur because the OS/Image/Driver cannot be read from the storage device, It relates to an apparatus and a method for stabilizing a system.
본 발명은 상기와 같은 오류 발생 시 즉각적으로 복구하기 위하여, 도 1에 도시된 바와 같이, 호스트와 디바이스의 인터페이스 중간 구간에 본 실시예에 따른 프로토콜 모니터링 및 복구 장치를 개입시켜 미리 입력된 적어도 하나 이상의 동작(예 : OOB(Out Of Band) 테스트, BIST(Built In Self Test), COMINIT, COMWAKE 등)을 수행하는 SATA 프로토콜과 실시간 캡쳐(Capture)된 프로토콜을 대조 분석하여 비정상적인 동작으로 판단되었을 경우, 상기 프로토콜 모니터링 및 복구 장치가 즉각적으로 호스트를 리셋(Reset)시킨 후 미스매치(Mis-Match)된 에러 패킷을 올바른 정보로 수정하여 호스트로 전송해줌으로써 자체 복구를 실행해 시스템(예 : AVN 장치)을 안정화 시키는 것을 특징으로 한다.In the present invention, in order to immediately recover in the event of an error as described above, as shown in FIG. 1, at least one or more previously inputted through the protocol monitoring and recovery apparatus according to the present embodiment in the intermediate section of the interface between the host and the device. When it is determined that it is abnormal by comparing and analyzing the SATA protocol that performs the operation (e.g. OOB (Out Of Band) test, BIST (Built In Self Test), COMINIT, COMWAKE, etc.) and the real-time captured protocol, the above After the protocol monitoring and recovery device immediately resets the host, it corrects the mismatched error packet to the correct information and sends it to the host to perform self-recovery to restore the system (e.g. AVN device). It is characterized by stabilizing.
또한 본 발명은 본 실시예에 따른 프로토콜 모니터링 및 복구 장치의 개입으로 TX/RX 신호(송/수신 신호)의 임피던스 미스매치가 발생하여 지터(Jitter) 및 노이즈(Noise)가 발생되는 것을 방지하기 위하여 종단장치(Terminator, 전송 선로의 끝에 선로의 특성 임피던스와 동일한 전기 저항을 부착하여 전송 에너지를 흡수하게 하는 장치)를 추가하고, 송/수신 신호에 프레엠파시스 및 디엠파시스를 적용하여 신호대잡음비(S/N)를 개선함으로써 신호 무결성(Signal Integrity)을 유지하는 것을 특징으로 한다.In addition, the present invention is to prevent jitter and noise from occurring due to impedance mismatch of TX/RX signals (transmission/reception signals) caused by the intervention of the protocol monitoring and recovery device according to the present embodiment. A terminator (a device that absorbs transmission energy by attaching an electric resistance equal to the characteristic impedance of the line at the end of a transmission line) is added, and a signal-to-noise ratio (pre-emphasis and de-emphasis) is applied to the transmission/reception signal. It is characterized by maintaining signal integrity by improving S/N).
도 1은 본 발명의 일 실시예에 따른 프로토콜의 모니터링 및 복구 장치의 개략적인 구성을 보인 예시도이다.1 is an exemplary diagram showing a schematic configuration of a protocol monitoring and recovery apparatus according to an embodiment of the present invention.
도 1에 도시된 바와 같이, 본 실시예에 따른 프로토콜의 모니터링 및 복구 장치(300)는 호스트(100)와 디바이스(200)의 인터페이스 중간 구간에서 미리 입력된 동작(예 : OOB(Out Of Band) 테스트, BIST(Built In Self Test), COMINIT, COMWAKE 등)을 수행하는 SATA 프로토콜과 실시간 캡쳐(Capture)된 프로토콜을 대조 분석하여 정상/비정상 동작 여부를 판단한다.As shown in Figure 1, the protocol monitoring and
그리고 상기 판단 결과에 따라, 상기 캡쳐된 프로토콜이 비정상 동작인 것으로 판단되면 즉각적으로 호스트(100)를 리셋(Reset)시킨 후 미스매치(Mis-Match)된 에러 패킷을 올바른 정보로 수정하여 호스트(100)로 전송해줌으로써 자체 복구를 실행한다.And according to the determination result, if it is determined that the captured protocol is an abnormal operation, the
예컨대 본 실시예에서 상기 호스트(100)는 MCU(Mirco Controller Unit)로서, 그래픽 엔진, 메모리 컨트롤러, SATA 컨트롤러 등의 기능을 수행하고, 상기 디바이스(200)는 SSD(Solid State Drive)로서, 소비전력 및 Access/Write/Read 시간이 HDD(하드디스크) 보다 월등히 우수하여 차량용 AVN 장치에 적용 가능한 대용량 저장장치인 것으로 가정하여 설명한다.For example, in this embodiment, the
이하 상기 프로토콜의 모니터링 및 복구 장치의 동작에 대해서 설명한다.Hereinafter, the operation of the apparatus for monitoring and recovering the protocol will be described.
도 2는 상기 도 1에 있어서, 프로토콜의 모니터링 및 복구 장치의 동작을 설명하기 위한 예시도이다.2 is an exemplary diagram for explaining the operation of the apparatus for monitoring and recovering a protocol in FIG. 1.
도 2에 도시된 바와 같이, 본 실시예에 따른 프로토콜의 모니터링 및 복구 장치(300)는, 호스트(100)와 디바이스(300) 간의 송/수신 신호 인터페이스를 모니터링하고, 사용자에 의해 내부 버퍼(미도시)에 미리 저장되어진 정상 프로토콜(예 : SATA 프로토콜)과 상기 호스트(100)와 디바이스(200)에서 실시간 캡쳐된 프로토콜을 비교하여 오류(Error)가 판단될 경우, 상기 미리 입력된 정상 프로토콜 대비 오류로 판단된 프로토콜 신호에 대한 복구를 수행하며, 상기 호스트(100)의 리셋 후 복구 신호(P_CNTRL)를 전송한다.As shown in FIG. 2, the protocol monitoring and
이에 따라 상기 호스트(100)와 디바이스(200) 간에 프로토콜 오류가 발생하더라도 상기 호스트(100)와 디바이스(200) 간의 통신을 즉각적으로 재개할 수 있도록 한다.Accordingly, even if a protocol error occurs between the
또한 상기 프로토콜의 모니터링 및 복구 장치(300)를 통해 송/수신 신호에 발생할 수 있는 손실을 보상하기 위한 내부 보상장치(예 : 터미네이터, 프리엠파시스/디엠파시스 등)를 상기 프로토콜의 모니터링 및 복구 장치(300)에 포함시켜 신호 무결성 마진(Magin)을 확보할 수 있도록 한다.In addition, an internal compensation device (e.g. terminator, pre-emphasis/de-emphasis, etc.) to compensate for loss that may occur in the transmission/reception signal through the monitoring and
도 3은 상기 도 1에 있어서, 프로토콜의 모니터링 및 복구 장치의 보다 상세한 구성을 보인 예시도이다.FIG. 3 is an exemplary diagram showing a more detailed configuration of a protocol monitoring and recovery apparatus in FIG. 1.
도 3에 도시된 바와 같이, 본 실시예에 따른 프로토콜의 모니터링 및 복구 장치(300)는, 제1 내부 프로토콜 모니터(310), 제1 이퀄라이저(320), 이퀄라이저 컨트롤러(Equal. CNTRL)(330), 프로토콜 컨트롤러(Protocol CNTRL)(340), 제2 내부 프로토콜 모니터(350), 및 제2 이퀄라이저(360)를 포함한다.As shown in FIG. 3, the
상기 제1 내부 프로토콜 모니터(310)는 호스트(100)로부터 디바이스(200)로 송신되는 신호(TX1+, TX1-)를 캡쳐한다.The first internal protocol monitor 310 captures signals TX1+ and TX1- transmitted from the
상기 제2 내부 프로토콜 모니터(350)는 디바이스(200)로부터 호스트(100)로 송신되는 신호(TX2+, TX2-)를 캡쳐한다.The second internal protocol monitor 350 captures signals TX2+ and TX2- transmitted from the
상기 제1 이퀄라이저(320)는 상기 제1 내부 프로토콜 모니터(310)를 통해 발생할 수 있는 임피던스 미스매칭(Impedance mis-matching), 또는 신호 진폭(Signal Amplitude)의 변화에 대한 보상을 수행한다. The
상기 제2 이퀄라이저(360)는 상기 제2 내부 프로토콜 모니터(350)를 통해 발생할 수 있는 임피던스 미스매칭(Impedance mis-matching), 또는 신호 진폭(Signal Amplitude)의 변화에 대한 보상을 수행한다. The
상기 프로토콜 컨트롤러(340)는 사용자에 의해 미리 입력된 규격 프로토콜(정상 프로토콜)을 내부 버퍼(미도시)에 저장하며, 상기 제1, 제2 내부 프로토콜 모니터(310, 350)로부터 캡쳐된 송/수신 신호를 미리 입력된 프로토콜과 비교한다. The
그리고 상기 비교 결과에 따라 실시간 캡쳐된 프로토콜에 오류(Error)가 있는 것으로 판단될 경우, 상기 프로토콜 컨트롤러(340)는 상기 호스트(100)의 리셋 후 복구 신호(P_CNTRL)를 전송하여 상기 미리 입력된 정상 프로토콜 대비 오류로 판단된 프로토콜 신호에 대한 복구를 수행한다.And, if it is determined that there is an error in the protocol captured in real time according to the comparison result, the
그리고 상기 이퀄라이저 컨트롤러(330)는 상기 제1 제2 이퀄라이저(320, 360)를 통해 보상이 이루어진 프로토콜 송/수신 신호를 호스트(100) 및 디바이스(200)로 전달한다.In addition, the
도 4는 본 발명의 일 실시예에 따른 프로토콜의 모니터링 및 복구 방법을 설명하기 위한 흐름도이다.4 is a flowchart illustrating a protocol monitoring and recovery method according to an embodiment of the present invention.
도 4에 도시된 바와 같이, AVN 장치의 호스트(100)와 디바이스(200) 간에 SATA 인터페이스가 시작되면(S101), 본 실시예에 따른 프로토콜의 모니터링 및 복구 장치(300)의 프로토콜 컨트롤러(340)는 미리 입력되어 있던 프로토콜과 상기 호스트(100)와 디바이스(200) 간에 실시간 송/수신되는 프로토콜을 캡쳐하여 비교한다(S102).As shown in FIG. 4, when the SATA interface between the
상기 프로토콜의 비교를 통해, 상기 프로토콜 컨트롤러(340)는 상기 실시간 모니터링(캡쳐)된 프로토콜이 미리 입력되어 있던 프로토콜과 다른지 판단한다(S103).Through the comparison of the protocols, the
그리고 상기 판단 결과에 따라, 상기 실시간 모니터링(캡쳐)된 프로토콜이 미리 입력되어 있던 프로토콜과 다르면(S103의 아니오), 상기 프로토콜 컨트롤러(340)는 호스트(100)(즉, 호스트의 SATA 컨트롤러)를 리셋한 후 복구한다(S104).And according to the determination result, if the real-time monitored (captured) protocol is different from the previously input protocol (No in S103), the
이에 따라 상기 호스트(100)는 상기 복구 완료된 프로토콜을 이용해 다시 상기 디바이스(200)와 SATA 인터페이스를 수행하고, 상기 복구 완료된 프로토콜 신호를 본 실시예에 따른 프로토콜의 모니터링 및 복구 장치(300)의 이퀄라이저(320)가 전달받고(S105), 상기 프로토콜 신호의 무결성을 판단한다(S106).Accordingly, the
상기 무결성 판단 결과에 따라, 신호에 손실이 발생한 경우(S106의 아니오), 즉, 상기 프로토콜의 모니터링 및 복구 장치(300)를 통해 프로토콜 신호에서 손실(예 : 지터, 노이즈 등에 의한 신호의 감쇄 등)이 발생한 경우, 상기 이퀄라이저(320)가 내부 보상장치(예 : 터미네이터, 프리/디 엠파시스 등)를 통해 상기 프로토콜 신호를 보상한다(S107).When loss occurs in the signal according to the result of the integrity determination (No in S106), that is, loss in the protocol signal through the protocol monitoring and recovery device 300 (eg, signal attenuation due to jitter, noise, etc.) When this occurs, the
즉, 상기 호스트(100)와 디바이스(200) 간의 프로토콜 신호(Tx/Rx Signal)가 본 실시예에 따른 프로토콜의 모니터링 및 복구 장치(300)에 의해 임피던스-미스매칭 되거나, 신호 진폭(Signal Amplitude)에 영향을 미쳐 디바이스(200) 수신 단에서 정상적인 해석이 불가능할 경우, 이퀄라이저(320)가 프로토콜 신호를 보상하고 상기 이퀄라이저 컨트롤러(330)의 제어를 받아 상기 보상된 프로토콜 신호를 디바이스(200)로 전달한다.That is, the protocol signal (Tx/Rx signal) between the
한편 상기 실시예에서는 호스트(100)가 MCU이고 디바이스(200)가 저장장치(SSD)인 경우에 대해서 설명하였으나, 호스트(100)와 디바이스(200)가 서로 반대인 경우(즉, 프로토콜 신호의 송신 장치와 수신 장치가 반대인 경우)에도 동일한 방법이 적용됨에 유의한다.Meanwhile, in the above embodiment, a case where the
이상으로 본 발명은 도면에 도시된 실시예를 참고로 하여 설명되었으나, 이는 예시적인 것에 불과하며, 당해 기술이 속하는 분야에서 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서 본 발명의 기술적 보호범위는 아래의 특허청구범위에 의해서 정하여져야 할 것이다.
As described above, the present invention has been described with reference to the embodiments shown in the drawings, but these are only exemplary, and those of ordinary skill in the field to which the technology pertains, various modifications and other equivalent embodiments are possible. I will understand the point. Therefore, the technical protection scope of the present invention should be determined by the following claims.
100 : 호스트
200 : 디바이스
300 : 프로토콜의 모니터링 및 복구 장치
310 : 제1 내부 프로토콜 모니터
320 : 제1 이퀄라이저
330 : 이퀄라이저 컨트롤러
340 : 프로토콜 컨트롤러
350 : 제2 내부 프로토콜 모니터
360 : 제2 이퀄라이저100: host
200: device
300: Protocol monitoring and recovery device
310: First internal protocol monitor
320: first equalizer
330: equalizer controller
340: protocol controller
350: second internal protocol monitor
360: second equalizer
Claims (8)
미리 입력된 정상 프로토콜을 내부 버퍼에 저장하며, 상기 프로토콜 모니터로부터 캡쳐된 호스트와 디바이스간에 송/수신되는 프로토콜 신호를 미리 저장된 정상 프로토콜과 비교하여 프로토콜 오류를 판단하고, 프로토콜 오류 시 상기 호스트의 SATA 컨트롤러를 리셋한 후 정상 프로토콜로 복구시키는 프로토콜 컨트롤러;를 포함하되,
상기 프로토콜 모니터는,
상기 호스트로부터 상기 디바이스로 송신되는 신호(TX1+,TX1-)를 캡쳐하는 제1 내부 프로토콜 모니터 ; 및 상기 디바이스로부터 상기 호스트로 송신되는 신호(TX2+,TX2-)를 캡쳐하는 제2 내부 프로토콜 모니터;를 포함하고,
상기 프로토콜 컨트롤러는,
사용자에 의해 미리 입력된 정상 프로토콜을 내부 버퍼에 저장하며, 상기 제1, 제2 내부 프로토콜 모니터로부터 캡쳐된 송신 또는 수신 신호를 미리 입력된 프로토콜과 비교하고, 비교 결과에 따라 실시간 캡쳐된 프로토콜에 오류가 있는 것으로 판단될 경우, 상기 호스트의 리셋 후 복구 신호를 전송하여 상기 미리 입력된 정상 프로토콜 대비 오류로 판단된 프로토콜 신호에 대한 복구를 수행하며,
상기 제1 내부 프로토콜 모니터를 통해 발생할 수 있는 임피던스 미스매칭, 또는 신호 진폭의 변화에 대한 보상을 수행하는 제1 이퀄라이저; 및 상기 제2 내부 프로토콜 모니터를 통해 발생할 수 있는 임피던스 미스매칭, 또는 신호 진폭의 변화에 대한 보상을 수행하는 제2 이퀄라이저;를 더 포함하는 것을 특징으로 하는 프로토콜의 모니터링 및 복구 장치.
When the Serial Advanced Technology Attachment (SATA) interface is started between a host and a device in an audio, video, navigation (AVN) device for a vehicle, a protocol monitor for capturing a protocol signal transmitted/received between the host and the device; And
Stores the previously input normal protocol in the internal buffer, compares the protocol signal transmitted/received between the host and the device captured from the protocol monitor with the previously stored normal protocol to determine a protocol error, and in case of a protocol error, the host's SATA controller Including; a protocol controller for restoring to a normal protocol after resetting
The protocol monitor,
A first internal protocol monitor that captures a signal (TX1+, TX1-) transmitted from the host to the device; And a second internal protocol monitor that captures a signal (TX2+, TX2-) transmitted from the device to the host,
The protocol controller,
The normal protocol previously input by the user is stored in the internal buffer, the transmitted or received signals captured from the first and second internal protocol monitors are compared with the previously input protocol, and errors in the captured protocol in real time according to the comparison result If it is determined that there is, after the host is reset, a recovery signal is transmitted to recover the protocol signal determined as an error compared to the previously input normal protocol,
A first equalizer that compensates for an impedance mismatch that may occur through the first internal protocol monitor or a change in signal amplitude; And a second equalizer that compensates for impedance mismatching or a change in signal amplitude that may occur through the second internal protocol monitor.
상기 호스트와 디바이스는 엠씨유(MCU)와 저장장치 중 하나에 대응되며,
상기 엠씨유가 호스트인 경우 저장장치가 디바이스가 되고, 상기 저장장치가 호스트인 경우 엠씨유가 디바이스가 되는 것을 특징으로 하는 프로토콜의 모니터링 및 복구 장치.
The method of claim 1,
The host and device correspond to one of an MCU and a storage device,
When the MCU is a host, a storage device becomes a device, and when the storage device is a host, MCU becomes a device.
상기 프로토콜의 비교를 통해, 상기 프로토콜 컨트롤러는 상기 실시간 캡쳐된 프로토콜이 미리 저장되어 있던 프로토콜과 다른지 판단하는 단계; 및
상기 실시간 캡쳐된 프로토콜이 미리 저장되어 있던 프로토콜과 다르면, 상기 프로토콜 컨트롤러는 호스트의 SATA 컨트롤러를 리셋한 후 정상 프로토콜로 복구하는 단계;를 포함하되,
상기 프로토콜 모니터는,
상기 호스트로부터 상기 디바이스로 송신되는 신호(TX1+,TX1-)를 캡쳐하는 제1 내부 프로토콜 모니터; 및 상기 디바이스로부터 상기 호스트로 송신되는 신호(TX2+,TX2-)를 캡쳐하는 제2 내부 프로토콜 모니터;를 포함하고,
상기 프로토콜 컨트롤러는,
사용자에 의해 미리 입력된 정상 프로토콜을 내부 버퍼에 저장하며, 상기 제1, 제2 내부 프로토콜 모니터로부터 캡쳐된 송신 또는 수신 신호를 미리 입력된 프로토콜과 비교하고, 비교 결과에 따라 실시간 캡쳐된 프로토콜에 오류가 있는 것으로 판단될 경우, 상기 호스트의 리셋 후 복구 신호를 전송하여 상기 미리 입력된 정상 프로토콜 대비 오류로 판단된 프로토콜 신호에 대한 복구를 수행하며,
제1 이퀄라이저가 상기 제1 내부 프로토콜 모니터를 통해 발생할 수 있는 임피던스 미스매칭, 또는 신호 진폭의 변화에 대한 보상을 수행하며, 제2 이퀄라이저가 상기 제2 내부 프로토콜 모니터를 통해 발생할 수 있는 임피던스 미스매칭, 또는 신호 진폭의 변화에 대한 보상을 수행하는 것을 특징으로 하는 프로토콜의 모니터링 및 복구 방법.
When the SATA interface between the host and the device is started in the vehicle AVN device, the protocol monitor captures the protocol signal transmitted/received in real time between the host and the device, and the protocol controller has the protocol previously stored in the internal buffer and the captured host. Comparing protocol signals transmitted/received in real time between devices;
Determining, by the protocol controller, whether the protocol captured in real time is different from a previously stored protocol through comparison of the protocols; And
If the protocol captured in real time is different from the protocol stored in advance, the protocol controller resetting the SATA controller of the host and then restoring to a normal protocol; including,
The protocol monitor,
A first internal protocol monitor for capturing a signal (TX1+, TX1-) transmitted from the host to the device; And a second internal protocol monitor that captures a signal (TX2+, TX2-) transmitted from the device to the host,
The protocol controller,
The normal protocol previously input by the user is stored in the internal buffer, the transmitted or received signals captured from the first and second internal protocol monitors are compared with the previously input protocol, and errors in the captured protocol in real time according to the comparison result If it is determined that there is, after the host is reset, a recovery signal is transmitted to recover the protocol signal determined as an error compared to the previously input normal protocol,
The first equalizer compensates for an impedance mismatch that may occur through the first internal protocol monitor or a change in signal amplitude, and the second equalizer compensates for an impedance mismatch that may occur through the second internal protocol monitor, Or, a method for monitoring and recovering a protocol, characterized in that performing compensation for a change in signal amplitude.
상기 SATA 컨트롤러를 리셋한 후 정상 프로토콜로 복구하는 단계 이후,
상기 호스트가 상기 복구 완료된 프로토콜을 이용해 다시 상기 디바이스와 SATA 인터페이스를 수행하면, 제1 및 제2 이퀄라이저가 상기 복구 완료된 프로토콜 신호를 전달받아 신호 무결성을 판단하는 단계;
상기 프로토콜 신호에 손실이 발생한 경우, 상기 제1 및 제2 이퀄라이저가 프로토콜 신호의 손실을 보상하는 단계; 및
상기 제1 및 제2 이퀄라이저를 통해 보상된 프로토콜 신호를 제1 및 제2 이퀄라이저 컨트롤러가 디바이스로 전달하는 단계;를 더 포함하는 것을 특징으로 하는 프로토콜의 모니터링 및 복구 방법.
The method of claim 5,
After resetting the SATA controller and restoring to the normal protocol,
When the host performs the SATA interface with the device again using the restored protocol, the first and second equalizers receive the restored protocol signal and determine signal integrity;
When loss of the protocol signal occurs, the first and second equalizers compensate for the loss of the protocol signal; And
And transmitting, by the first and second equalizer controllers, the protocol signals compensated through the first and second equalizers to the device.
상기 호스트와 디바이스는 엠씨유(MCU)와 저장장치 중 하나에 대응되며,
상기 엠씨유가 호스트인 경우 저장장치가 디바이스가 되고, 상기 저장장치가 호스트인 경우 엠씨유가 디바이스가 되는 것을 특징으로 하는 프로토콜의 모니터링 및 복구 방법.The method of claim 5,
The host and device correspond to one of an MCU and a storage device,
When the MCU is a host, a storage device becomes a device, and when the storage device is a host, MCU becomes a device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020140134142A KR102177406B1 (en) | 2014-10-06 | 2014-10-06 | Apparatus for monitoring and recovering protocol and the method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020140134142A KR102177406B1 (en) | 2014-10-06 | 2014-10-06 | Apparatus for monitoring and recovering protocol and the method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20160041107A KR20160041107A (en) | 2016-04-18 |
KR102177406B1 true KR102177406B1 (en) | 2020-11-12 |
Family
ID=55916284
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020140134142A KR102177406B1 (en) | 2014-10-06 | 2014-10-06 | Apparatus for monitoring and recovering protocol and the method thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR102177406B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109739328B (en) * | 2018-12-28 | 2021-11-02 | 郑州云海信息技术有限公司 | Reset circuit and method of M.3SSD |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05158817A (en) * | 1991-12-06 | 1993-06-25 | Nec Eng Ltd | Bus protocol monitoring system |
KR100421050B1 (en) * | 2001-10-12 | 2004-03-04 | 삼성전자주식회사 | Universal serial bus device having logical circuit for conversive and immediate USB Host reset operation |
KR20100057324A (en) * | 2008-11-21 | 2010-05-31 | 김성태 | Sata interface apparatus for connection external device with host computer |
KR20140020129A (en) * | 2012-08-08 | 2014-02-18 | 삼성전자주식회사 | Signal processing device, electronic apparatus, method for signal processing and computer-readable recording medium |
-
2014
- 2014-10-06 KR KR1020140134142A patent/KR102177406B1/en active IP Right Grant
Also Published As
Publication number | Publication date |
---|---|
KR20160041107A (en) | 2016-04-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101565347B1 (en) | Vehicle supporting efficient bluetooth connection and method for controlling thereof | |
US10002467B2 (en) | Apparatus and method of error monitoring with a diagnostic module | |
US10348616B2 (en) | Packet transmission method and apparatus, and interconnect interface | |
US20090157932A1 (en) | Iic bus communication system, slave device, and method for controlling iic bus communication | |
US10064081B2 (en) | Apparatus and method for controlling mobile device engaging with vehicle | |
US8260977B2 (en) | CEC communications device, audio and visual device using thereof, and CEC communications method | |
EP1761052A3 (en) | Media receiving apparatus, media system having the same, and control methods thereof | |
US20120155661A1 (en) | Electronic device and method for testing an audio module | |
CN108008980B (en) | Method and apparatus for initiating re-enumeration of USB3.0 compatible devices | |
US10484100B2 (en) | Optical module, optical module system and monitor method using the same | |
US20190094902A1 (en) | Semiconductor device and method of controlling semiconductor device | |
KR102177406B1 (en) | Apparatus for monitoring and recovering protocol and the method thereof | |
US8527669B2 (en) | Communication apparatus and method for communicating with an external device through USB interface using a high-speed or low-speed communication mode | |
CN104750537B (en) | Method and device for executing test case | |
JP2013093681A (en) | Monitoring camera device and monitoring camera system | |
US8775126B2 (en) | Mobile device and method for performing black box function | |
JP5764861B2 (en) | Repeater device | |
US20150301764A1 (en) | Hard Disk and Methods for Forwarding and Acquiring Data by Hard Disk | |
JP2007116263A (en) | Electronic apparatus and data communication control method | |
CN109960672B (en) | Digital communication method based on GPIO interface | |
JP2017208713A (en) | Communication device, communication method, program, and communication system | |
KR20120071775A (en) | Method for monitoring and restoring abnormal events of embedded systems | |
US20110246827A1 (en) | Testing Device and Testing Method | |
JP6241256B2 (en) | Electronic device, control device, and communication method | |
US20100158007A1 (en) | Method and apparatus for aggregating single packets in a single session |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
E902 | Notification of reason for refusal | ||
AMND | Amendment | ||
E601 | Decision to refuse application | ||
AMND | Amendment | ||
X701 | Decision to grant (after re-examination) | ||
GRNT | Written decision to grant |