[go: up one dir, main page]

KR101102641B1 - How to Set Serial Port in Modem and Modem Using It - Google Patents

How to Set Serial Port in Modem and Modem Using It Download PDF

Info

Publication number
KR101102641B1
KR101102641B1 KR1020100063396A KR20100063396A KR101102641B1 KR 101102641 B1 KR101102641 B1 KR 101102641B1 KR 1020100063396 A KR1020100063396 A KR 1020100063396A KR 20100063396 A KR20100063396 A KR 20100063396A KR 101102641 B1 KR101102641 B1 KR 101102641B1
Authority
KR
South Korea
Prior art keywords
serial port
data
modem
diagnostic
program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
KR1020100063396A
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 KR1020100063396A priority Critical patent/KR101102641B1/en
Application granted granted Critical
Publication of KR101102641B1 publication Critical patent/KR101102641B1/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • H04L12/2898Subscriber equipments

Landscapes

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

Abstract

본 발명은 제1 시리얼 포트, 제2 시리얼 포트 및 상기 제1 시리얼 포트 및 제2 시리얼 포트를 진단 모듈에 할당하여 진단 데이터를 외부 장치로 전송하도록 제어하는 제어부를 포함하는 모뎀에 관한 것이다. The present invention relates to a modem including a first serial port, a second serial port, and a control unit for allocating the first serial port and the second serial port to a diagnostic module to control transmission of diagnostic data to an external device.

Description

모뎀에서 시리얼 포트 설정 방법 및 그 방법을 이용한 모뎀{METHOD FOR ASSIGNING SERIAL PORT IN MODEM AND MODEM USING THE SAME}How to Set Serial Port in Modem and Modem Using It {METHOD FOR ASSIGNING SERIAL PORT IN MODEM AND MODEM USING THE SAME}

본 발명은 모뎀에서 시리얼 포트 설정 방법 및 그 방법을 이용한 모뎀에 관한 것으로서, 보다 상세하게는 모뎀의 진단(Diagnostic) 모듈에 두 개의 시리얼 포트를 할당하여 DM(Diagnostic Monitor) 데이터 및 CM(Connection Manager) 데이터를 동시에 또는 순차적으로 외부 장치로 전송할 수 있는 모뎀에서 시리얼 포트 설정 방법 및 그 방법을 이용한 모뎀에 관한 것이다.
The present invention relates to a method for setting a serial port in a modem and a modem using the method, and more particularly, by assigning two serial ports to a diagnostic module of a modem, DM (Diagnostic Monitor) data and a connection manager (CM). The present invention relates to a serial port setting method and a modem using the method in a modem capable of transmitting data simultaneously or sequentially to an external device.

대용량/고속 데이터 전송의 특성을 가지는 광대역 무선 통신망에 연동하기 위해 무선 데이터를 중계하는 무선 모뎀은 일반적으로 PC 카드(Card)나 USB(Universal Serial Bus) 인터페이스(Interface)를 이용하는 형태로 제공되는 데, 컴퓨터 단말(예를 들어, 노트북 또는 개인용 컴퓨터)에 PC 카드 형태로 탑재되거나, USB 인터페이스로 연결되어, 컴퓨터 단말을 무선 인터넷 망에 접속 가능하도록 하는 모뎀 기능과 단문 메시지 서비스 송수신 기능 등과 같은 기능을 제공한다.Wireless modems that relay wireless data in order to interwork with broadband wireless communication networks having large capacity / high speed data transmission are generally provided in the form of using a PC card or a universal serial bus (USB) interface. It is provided as a PC card in a computer terminal (for example, a notebook or personal computer) or connected through a USB interface, and provides functions such as a modem function and a short message service transmission / reception function to enable a computer terminal to be connected to a wireless Internet network. do.

종래의 모뎀(MSM : Mobile Station Modem)은 시리얼 데이터 통신을 할 수 있는 시리얼 포트를 2개 제공하는데, 진단(Diagnostic) 모듈에 할당된 DM 시리얼 포트와 GPS(Global Positioning System) 모듈에 할당된 NMEA(National Marine Electronics Association) 포트가 그것이다. A conventional modem (MSM: Mobile Station Modem) provides two serial ports for serial data communication. A DM serial port assigned to a diagnostic module and a NMEA (Global Positioning System) module are assigned. National Marine Electronics Association) port.

상기 모뎀이 여러 가지 응용프로그램과 연동될 때, 하나의 시리얼 포트를 통하여는 하나의 응용프로그램만을 사용할 수 있다. 그러므로, 상기 진단 모듈과 연동될 수 있는 진단 모니터(Diagnostic Monitor:DM) 프로그램과의 데이터 통신에 상기 DM 시리얼 포트를 사용하고 있는 경우에, 상기 진단 모듈과 연동될 수 있는 다른 프로그램인 연결 관리자(Connection Manager:CM) 프로그램을 사용하기 위하여는 상기 진단 모니터(DM) 프로그램의 사용을 종료한 후에 상기 DM 시리얼 포트를 통하여 데이터 통신을 수행할 수밖에 없게 된다. When the modem is linked with various applications, only one application can be used through one serial port. Therefore, when the DM serial port is used for data communication with a Diagnostic Monitor (DM) program that can be linked with the diagnostic module, a connection manager (Connection manager), which is another program that can be linked with the diagnostic module, is connected. In order to use the Manager (CM) program, data communication is performed through the DM serial port after the use of the diagnostic monitor (DM) program is terminated.

즉, 종래의 모뎀은 상기 진단 모듈에 한 개의 DM 시리얼 포트만이 할당되어 있으므로, 상기 연결 관리자(CM) 프로그램을 사용하여 데이터 통신하는 과정에 대하여 상기 진단 모니터(DM) 프로그램을 이용하여 모니터링하고 디버그할 수 없는 문제점이 있었다.
That is, in the conventional modem, since only one DM serial port is allocated to the diagnostic module, the modem may monitor and debug the data communication process using the connection manager (CM) program. There was a problem that could not be.

본 발명은 상기와 같은 문제점을 해결하기 위해 안출된 것으로, 모뎀의 진단(Diagnostic) 모듈에 두 개의 시리얼 포트를 할당하여 DM(Diagnostic Monitor) 데이터 및 CM(Connection Manager) 데이터를 동시에 또는 순차적으로 외부 장치로 전송할 수 있는 모뎀에서 시리얼 포트 설정 방법 및 그 방법을 이용한 모뎀을 제공함에 그 목적이 있다.
The present invention has been made to solve the above problems, by assigning two serial ports to the diagnostic module of the modem to transmit the DM (Diagnostic Monitor) data and CM (Connection Manager) data simultaneously or sequentially The purpose of the present invention is to provide a serial port setting method and a modem using the method.

본 발명에 따른 일실시예인 모뎀은 제1 시리얼 포트, 제2 시리얼 포트 및 상기 제1 시리얼 포트 및 제2 시리얼 포트를 진단 모듈에 할당하여 진단 데이터를 외부 장치로 전송하도록 제어하는 제어부를 포함할 수 있다. Modem according to an embodiment of the present invention may include a control unit for controlling the first serial port, the second serial port and the first serial port and the second serial port to the diagnostic module to transmit the diagnostic data to the external device. have.

본 발명에 따른 일실시예의 일태양에 의하면 상기 진단 데이터는 DM(Diagnostic Monitor) 데이터 및 CM(Connection Manager) 데이터를 포함하는 것을 특징으로 할 수 있다. According to an aspect of an embodiment of the present invention, the diagnostic data may include DM (Diagnostic Monitor) data and CM (Connection Manager) data.

본 발명에 따른 일실시예의 일태양에 의하면 상기 제어부는 상기 제1 시리얼 포트 또는 제2 시리얼 포트 중 하나를 DM 데이터 통신에 할당하고, 다른 하나를 CM 데이터 통신에 할당하며, 상기 DM 데이터 및 상기 CM 데이터를 각각 할당된 시리얼 포트를 통하여 동시에 또는 순차적으로 외부 장치로 전송하는 것을 특징으로 할 수 있다. According to an aspect of an embodiment of the present invention, the control unit allocates one of the first serial port or the second serial port to DM data communication, the other to CM data communication, and the DM data and the CM. The data may be transmitted to an external device simultaneously or sequentially through each assigned serial port.

본 발명에 따른 일실시예인 모뎀의 시리얼 포트 설정 방법은 진단 모듈을 초기화하는 단계 및 제1 시리얼 포트 및 제2 시리얼 포트를 상기 진단 모듈에 할당하여 진단 데이터를 외부 장치로 전송하는 단계를 포함할 수 있다. A serial port setting method of a modem according to an embodiment of the present invention may include initializing a diagnostic module and assigning a first serial port and a second serial port to the diagnostic module to transmit diagnostic data to an external device. have.

본 발명에 따른 일실시예의 일태양에 의하면 상기 진단 데이터는 DM(Diagnostic Monitor) 데이터 및 CM(Connection Manager) 데이터를 포함하는 것을 특징으로 할 수 있다. According to an aspect of an embodiment of the present invention, the diagnostic data may include DM (Diagnostic Monitor) data and CM (Connection Manager) data.

본 발명에 따른 일실시예의 일태양에 의하면 상기 제1 시리얼 포트 및 제2 시리얼 포트를 상기 진단 모듈에 할당하여 진단 데이터를 외부 장치로 전송하는 단계는 상기 제1 시리얼 포트 또는 제2 시리얼 포트 중 하나를 DM 데이터 전송에 할당하고, 다른 하나를 CM 데이터 전송에 할당하는 단계 및 상기 DM 데이터 및 상기 CM 데이터를 각각 할당된 시리얼 포트를 통하여 동시에 또는 순차적으로 외부 장치로 전송하는 단계를 포함하는 것을 특징으로 할 수 있다. According to an aspect of an embodiment of the present invention, the step of assigning the first serial port and the second serial port to the diagnostic module to transmit diagnostic data to an external device may include one of the first serial port and the second serial port. Allocating to the DM data transmission, and assigning the other one to the CM data transmission and transmitting the DM data and the CM data to an external device simultaneously or sequentially through the assigned serial port, respectively can do.

상술한 구성을 갖는 본 발명에 의하면, 두 개의 시리얼 포트를 통하여 DM(Diagnostic Monitor) 데이터 및 CM(Connection Manager) 데이터를 동시에 또는 순차적으로 외부 장치로 전송할 수 있게 함으로써, 접속 관리자(Connection Manager:CM) 프로그램을 실행시키면서 동시에 진단 모니터(Diagnostic Monitor:DM) 프로그램을 통하여 디버그(Debug)할 수 있는 효과가 있다.
According to the present invention having the above-described configuration, by connecting the DM (Diagnostic Monitor) data and CM (Connection Manager) data to the external device at the same time or sequentially through the two serial ports, Connection Manager (CM) While running the program, you can debug through the Diagnostic Monitor (DM) program at the same time.

도 1은 본 발명의 일실시예에 따른 모뎀의 구성을 도시한 블럭도이다.
도 2는 본 발명의 일실시예에 따른 모뎀의 시리얼 포트 설정 방법을 설명하기 위한 순서흐름도이다.
1 is a block diagram showing the configuration of a modem according to an embodiment of the present invention.
2 is a flowchart illustrating a method of setting a serial port of a modem according to an embodiment of the present invention.

첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시 예를 설명한다. 도면상에서 동일 부호는 동일한 요소를 지칭한다.   With reference to the accompanying drawings will be described a preferred embodiment according to the present invention. Like numbers refer to like elements in the figures.

도 1은 본 발명의 일실시예에 따른 모뎀의 구성을 도시한 블럭도이다. 1 is a block diagram showing the configuration of a modem according to an embodiment of the present invention.

도 1을 참조하면, 본 발명에 따른 모뎀(100)은 제어부(110), 제1 시리얼 포트(120), 제2 시리얼 포트(130)를 포함한다. Referring to FIG. 1, the modem 100 according to the present invention includes a controller 110, a first serial port 120, and a second serial port 130.

제어부(110)는 진단(Diagnostic) 모듈(111), GPS(Global Positioning System) 모듈(113)을 포함한다. 모뎀은 진단 모듈, GPS 모듈 외에 UI(User Interface) 모듈, SMS(Short Message Service) 모듈, 호 처리(Call Manager) 모듈 등을 포함할 수 있으나, 도 1에서는 진단 모듈, GPS 모듈을 제외한 부분은 생략하기로 한다. 상기 제어부는 제1 시리얼 포트(120) 및 제2 시리얼 포트(130)를 진단 모듈(111)에 할당하여 진단 데이터를 외부 장치(예를 들어, PC)로 전송하도록 제어한다. The controller 110 includes a diagnostic module 111 and a global positioning system (GPS) module 113. The modem may include a user interface (UI) module, a short message service (SMS) module, a call manager module, etc. in addition to the diagnostic module and the GPS module. However, in FIG. 1, parts except for the diagnostic module and the GPS module are omitted. Let's do it. The control unit allocates the first serial port 120 and the second serial port 130 to the diagnostic module 111 and controls the diagnostic data to be transmitted to an external device (for example, a PC).

진단(Diagnostic) 모듈(111)은 모뎀 내부의 데이터 흐름을 진단/감시하는 기능을 수행한다. 즉, 상술한 바와 같이 모뎀의 제어부에 포함되는 GPS 모듈, UI 모듈, SMS 모듈, 호 처리 모듈 등의 모듈 상호간의 데이터 통신 상태, 순서 등을 진단/감시하여 모뎀의 상태 정보에 해당하는 진단 데이터를 수집하여 외부 장치와 통신할 수 있다. The diagnostic module 111 performs a function of diagnosing / monitoring data flow in the modem. That is, as described above, the diagnostic data corresponding to the status information of the modem is diagnosed by diagnosing / monitoring the data communication status, order, etc. between modules such as the GPS module, the UI module, the SMS module, and the call processing module included in the control unit of the modem. Collect and communicate with external devices.

GPS 모듈(113)은 위치 인식 서비스, 위치 추적 서비스, 위치 정보 제공 서비스, 위치 기반 안내 서비스 등을 제공하게 된다. The GPS module 113 provides a location recognition service, a location tracking service, a location information providing service, a location based guidance service, and the like.

제1 시리얼 포트(120) 및 제2 시리얼 포트(130)는 직렬 데이터 통신을 수행하는 것으로서, 하나의 시리얼 포트는 하나의 응용프로그램과 연동하여 데이터 통신을 수행하게 된다. The first serial port 120 and the second serial port 130 performs serial data communication, and one serial port performs data communication in conjunction with one application program.

상기 진단 모듈(111)은 상기 제1 시리얼 포트(120) 및 제2 시리얼 포트(130)를 통하여 외부 장치와 데이터 통신을 수행하게 된다. 상기 제2 시리얼 포트(130)는 종래의 모뎀에 있어서 기본적으로 상기 GPS 모듈(113)에 할당되어 데이터 통신을 수행하도록 설정되어 있다. 그러나, 본 발명에 따른 모뎀은 프로그램 상에서 상기 진단 모듈(111)에 대한 함수를 수정하여 상기 제2 시리얼 포트(130)를 상기 진단 모듈(111)에 할당하게 된다. 이에 따라 상기 진단 모듈(111)은 할당된 두 개의 시리얼 포트(120, 130) 중 하나의 시리얼 포트만을 사용하여 외부 장치와 데이터 통신하거나 또는 상기 두 개의 시리얼 포트를 모두 사용하여 외부 장치와 데이터 통신할 수 있게 된다.
The diagnostic module 111 performs data communication with an external device through the first serial port 120 and the second serial port 130. The second serial port 130 is basically assigned to the GPS module 113 in the conventional modem and is configured to perform data communication. However, the modem according to the present invention modifies the function of the diagnostic module 111 on the program to allocate the second serial port 130 to the diagnostic module 111. Accordingly, the diagnostic module 111 may perform data communication with an external device using only one serial port of the two assigned serial ports 120 and 130 or data communication with an external device using both serial ports. It becomes possible.

상기와 같은 구성을 가진 본 발명에 따른 모뎀에 포함되는 진단 모듈(111)은 모뎀을 진단/감시하는 기능을 수행하고, 이에 따라 진단 데이터를 수집한다. 상기 진단 데이터는 DM(Diagnostic Monitor) 데이터 및 CM(Connection Manager) 데이터를 포함할 수 있다. The diagnostic module 111 included in the modem according to the present invention having the above configuration performs a function of diagnosing / monitoring the modem and collecting diagnostic data accordingly. The diagnostic data may include DM (Diagnostic Monitor) data and CM (Connection Manager) data.

상기 DM 데이터 및 CM 데이터는 상기 모뎀에 외부 장치에서 실행되는 응용프로그램이 연동되는 경우에 요청되는 데이터에 해당한다. 상기 DM 데이터는 외부 장치에서 실행되는 진단 모니터(Diagnostic Monitor:DM) 프로그램이 상기 모뎀과 연동되는 경우에 요청되는 데이터이고, 상기 CM 데이터는 외부 장치에서 실행되는 연결 관리자(Connection Manager:CM) 프로그램이 상기 모뎀과 연동되는 경우에 요청되는 데이터이다. The DM data and the CM data correspond to data requested when an application program executed in an external device is linked to the modem. The DM data is data requested when a Diagnostic Monitor (DM) program running on an external device is interlocked with the modem, and the CM data is a Connection Manager (CM) program running on an external device. Data requested when interworking with the modem.

상기 진단 모니터(DM) 프로그램은 외부 장치에서 상기 모뎀과의 데이터 통신에 따라 수신한 상기 모뎀 내부의 로그(log) 데이터를 사용자에게 디스플레이하여 주는 응용프로그램으로서, 모뎀의 개발 단계에서는 상기 로그 데이터를 분석하여 디버그(Debug)할 수 있다. 상기 연결 관리자(CM) 프로그램은 사용자가 사용자 정보를 이용하여 인터넷에 접속 또는 접속 해제할 수 있는 응용프로그램이다. 그러므로, 상기 DM 데이터는 모뎀의 로그 데이터를 의미하고 상기 CM 데이터는 인터넷에 접속 또는 접속 해제하는 과정의 모뎀의 로그데이터를 의미한다. The diagnostic monitor (DM) program is an application program for displaying log data inside the modem received by an external device according to data communication with the modem to a user, and analyzing the log data in a modem development stage. You can debug it. The connection manager (CM) program is an application program that allows a user to access or disconnect from the Internet using user information. Therefore, the DM data refers to the log data of the modem and the CM data refers to the log data of the modem in the process of accessing or disconnecting from the Internet.

상기 진단 모니터(DM) 프로그램 및 연결 관리자(CM) 프로그램이 상기 모뎀과 연동되는 경우 상기 진단 모듈(111)은 제1 시리얼 포트(120), 제2 시리얼 포트(130)를 통하여 상기 진단 모니터(DM) 프로그램, 연결 관리자(CM) 프로그램이 저장된 외부 장치, 즉 PC로 상기 모뎀 내부의 진단 데이터를 전송하게 된다. When the diagnostic monitor (DM) program and the connection manager (CM) program are interworked with the modem, the diagnostic module 111 performs the diagnostic monitor (DM) through the first serial port 120 and the second serial port 130. The diagnostic data in the modem is transmitted to an external device, that is, a PC, in which the program and the connection manager (CM) program are stored.

상기 제어부(110)는 제1 시리얼 포트(120) 및 제2 시리얼 포트(130)를 진단 모듈(111)에 할당하여 진단 데이터를 외부 장치로 전송하도록 제어한다. 즉, 상기 제어부(110)는 제1 시리얼 포트(120) 또는 제2 시리얼 포트(130) 중 하나를 상기 DM 데이터의 통신에 할당하고, 나머지 하나를 상기 CM 데이터의 통신에 할당하게 된다. The controller 110 assigns the first serial port 120 and the second serial port 130 to the diagnostic module 111 and controls the diagnostic data to be transmitted to an external device. That is, the controller 110 allocates one of the first serial port 120 or the second serial port 130 to the communication of the DM data, and assigns the other to the communication of the CM data.

외부 장치의 응용프로그램과 모뎀의 데이터 통신에는 시리얼 포트가 이용되며, 하나의 시리얼 포트는 하나의 응용프로그램과 데이터 통신을 위하여 물리적으로 연결된다. 상술한 바와 같이 본 발명에 따른 모뎀의 진단 모듈(111)에는 두 개의 시리얼 포트가 할당되므로, 상기 진단 모니터(DM) 프로그램 및 연결 관리자(CM) 프로그램이 동시에 상기 모뎀과 연동될 수 있다. 예를 들어, 상기 진단 모니터(DM) 프로그램에서 요청되는 DM 데이터 통신에 상기 제1 시리얼 포트가 할당되고, 상기 연결 관리자(CM) 프로그램에서 요청되는 CM 데이터 통신에 상기 제2 시리얼 포트가 할당될 수 있다. 이 경우에 상기 연결 관리자(CM) 프로그램을 이용하여 인터넷에 접속 또는 접속 해제하는 경우에 CM 데이터를 상기 제2 시리얼 포트를 통하여 외부 장치로 전송하고, 사용자는 상기 진단 모니터(DM) 프로그램이 실행되고 있는 외부 장치를 통하여 모뎀의 로그 데이터인 CM 데이터 및 DM 데이터를 모니터링할 수 있고 오류가 발생시 곧바로 디버그할 수 있는 것으로서, 즉 제1 시리얼 포트 및 제2 시리얼 포트를 통하여 동시에 데이터 통신이 가능하게 되는 것이다. A serial port is used for data communication between an application program and an external device, and one serial port is physically connected for data communication with one application program. As described above, since two serial ports are allocated to the diagnostic module 111 of the modem according to the present invention, the diagnostic monitor (DM) program and the connection manager (CM) program may be simultaneously linked with the modem. For example, the first serial port may be allocated to DM data communication requested by the diagnostic monitor (DM) program, and the second serial port may be allocated to CM data communication requested from the connection manager (CM) program. have. In this case, when accessing or disconnecting the Internet using the connection manager (CM) program, the CM data is transmitted to the external device through the second serial port, and the user runs the diagnostic monitor (DM) program. It is possible to monitor CM data and DM data, which are the log data of the modem, through an external device, and to debug immediately when an error occurs, that is, to simultaneously communicate data through the first serial port and the second serial port. .

또한, 상기 진단 모니터(DM) 프로그램, 연결 관리자(CM) 프로그램 중 하나의 프로그램만이 상기 모뎀과 연동될 수 있음은 물론이고, 이러한 경우 상기 두 개의 시리얼 포트(120, 130) 중 상기 모뎀과 연동되는 프로그램과 데이터 통신을 위하여 할당된 시리얼 포트를 통하여 DM 데이터 또는 CM 데이터를 외부 장치로 전송할 수 있음은 물론이다.
In addition, only one of the diagnostic monitor (DM) program and the connection manager (CM) program may be interlocked with the modem. In this case, the two serial ports 120 and 130 may interwork with the modem. Of course, the DM data or CM data can be transmitted to an external device through the serial port allocated for the program and data communication.

상기 진단 모듈(111)에 제1 시리얼 포트(120) 및 제2 시리얼 포트(130)가 할당되고, 외부 장치에서 실행되는 응용프로그램에 따라 상기 두 개의 시리얼 포트를 통하여 DM 데이터, CM 데이터를 동시에 또는 순차적으로 외부 장치인 PC로 전송하는 과정에 대한 의사코드(pseudocode)는 다음과 같이 구현될 수 있다. The first serial port 120 and the second serial port 130 are allocated to the diagnostic module 111, and simultaneously or directly DM data and CM data through the two serial ports according to an application program executed in an external device. Pseudocode for the process of sequentially transmitting to the external device PC can be implemented as follows.

Figure 112010042690703-pat00001
Figure 112010042690703-pat00001

상기 Diag_task(void) 함수는 상기 진단(Diagnostic) 모듈(111)에 해당되는 함수이고, Register_Port(SER1) 및 Register_Port(NMEA)는 제1 시리얼 포트(120) 및 제2 시리얼 포트(130)를 상기 진단 모듈에 할당하는 함수이다. 종래의 모뎀에 있어서 상기 SER1은 상기 진단 모듈에 할당되어 있는 시리얼 포트이고, 상기 NMEA는 상기 GPS 모듈에 할당되어 있는 시리얼 포트이다. 제1 시리얼 포트(120)는 주소 '0x0001'에 할당되고, 제2 시리얼 포트(130)는 주소 '0x0002'에 할당됨을 알 수 있다. 상기 Rex_wait-sig(sigs) 함수는 '0x0001'를 통하여 데이터 전송 요청 신호가 입력되면 제1 시리얼 포트를 통하여 데이터 통신을 수행하도록 하고, '0x0002'를 통하여 데이터 전송 요청 신호가 입력되면 제2 시리얼 포트를 통하여 데이터 통신을 수행하도록 한다. 즉, 외부 장치에서 상기 진단 모니터(DM) 프로그램 또는 연결 관리자(CM) 프로그램이 실행되면 상기 프로그램과 데이터 통신하도록 할당된 각각의 시리얼 포트를 통하여 데이터 통신이 이루어진다.
The Diag_task (void) function is a function corresponding to the diagnostic module 111, and Register_Port (SER1) and Register_Port (NMEA) diagnose the first serial port 120 and the second serial port 130. Function assigned to a module. In the conventional modem, the SER1 is a serial port assigned to the diagnostic module, and the NMEA is a serial port assigned to the GPS module. It can be seen that the first serial port 120 is assigned to the address '0x0001' and the second serial port 130 is assigned to the address '0x0002'. The Rex_wait-sig (sigs) function performs data communication through a first serial port when a data transmission request signal is input through '0x0001', and when a data transmission request signal is input through '0x0002', a second serial port. Perform data communication through. That is, when the diagnostic monitor (DM) program or the connection manager (CM) program is executed in an external device, data communication is performed through each serial port allocated for data communication with the program.

도 2는 본 발명의 일실시예에 따른 모뎀의 시리얼 포트 설정 방법을 설명하기 위한 순서흐름도이다. 2 is a flowchart illustrating a method of setting a serial port of a modem according to an embodiment of the present invention.

도 2를 참조하면, 본 발명에 따른 모뎀의 시리얼 포트 설정 방법은 먼저 진단(Diagnostic) 모듈을 초기화한다(S100). Referring to Figure 2, the serial port setting method of the modem according to the present invention first initializes a diagnostic module (S100).

다음으로 제1 시리얼 포트(120) 및 제2 시리얼 포트(130)를 진단 모듈(111)에 할당하여 진단 데이터를 외부 장치로 전송하게 된다. 상기 진단 데이터는 DM(Diagnostic Monitor) 데이터 및 CM(Connection Manager) 데이터를 포함할 수 있다. 도 1에서 설명한 바와 같이 상기 DM 데이터는 외부 장치에서 진단 모니터(Diagnostic Monitor:DM) 프로그램이 실행되는 경우에 요청되는 데이터로서 모뎀 내부의 로그 데이터가 이에 해당하고, 상기 CM 데이터는 외부 장치에서 연결 관리자(Connection Manager:CM) 프로그램이 실행되는 경우에 요청되는 데이터로서 인터넷에 접속 또는 접속 해제하는 과정에 대한 모뎀의 로그 데이터가 이에 해당한다.Next, the first serial port 120 and the second serial port 130 are allocated to the diagnostic module 111 to transmit the diagnostic data to an external device. The diagnostic data may include DM (Diagnostic Monitor) data and CM (Connection Manager) data. As described with reference to FIG. 1, the DM data is data requested when a Diagnostic Monitor (DM) program is executed in an external device. The DM data corresponds to log data in a modem. When the (Connection Manager: CM) program is executed, the log data of the modem for accessing or disconnecting from the Internet is requested data.

상기 DM 데이터, CM 데이터를 상기 진단 모니터(DM) 프로그램, 연결 관리자(CM) 프로그램이 저장된 외부 장치로 전송하는 경우에 각각의 프로그램과의 데이터 통신을 위하여 시리얼 포트를 설정해야 한다. 상기 제1 시리얼 포트(120) 또는 제2 시리얼 포트(130) 중 하나를 DM 데이터 통신에 할당하고, 다른 하나를 CM 데이터 통신에 할당하게 된다. 예를 들어, 상기 제1 시리얼 포트(120)를 DM 데이터의 전송에 할당하고 상기 제2 시리얼 포트(130)를 CM 데이터의 전송에 할당하거나, 또는 상기 제1 시리얼 포트(120)를 CM 데이터 전송에 할당하고 제2 시리얼 포트(130)를 DM 데이터 전송에 할당할 수 있다(S200). When transmitting the DM data and the CM data to an external device in which the diagnostic monitor (DM) program and the connection manager (CM) program are stored, a serial port should be set for data communication with each program. One of the first serial port 120 or the second serial port 130 is allocated to DM data communication, and the other is allocated to CM data communication. For example, the first serial port 120 is allocated to the transmission of DM data and the second serial port 130 is assigned to the transmission of CM data, or the first serial port 120 is transmitted to the CM data. The second serial port 130 may be allocated to DM data transmission (S200).

상기 제어부(110)는 상기 DM 데이터 및 CM 데이터를 각각 할당된 시리얼 포트를 통하여 동시에 또는 순차적으로 외부 장치로 전송하도록 제어한다(S300). The controller 110 controls the DM data and the CM data to be transmitted to the external device simultaneously or sequentially through the assigned serial ports (S300).

예를 들어, 외부 장치에서 상기 진단 모니터(DM) 프로그램이 실행되어 요청되는 DM 데이터 통신에 상기 제1 시리얼 포트(120)가 할당되고, 상기 연결 관리자(CM) 프로그램이 실행되어 요청되는 CM 데이터 통신에 상기 제2 시리얼 포트(130)가 할당되면, 상기 연결 관리자(CM) 프로그램을 이용하여 인터넷에 접속 또는 접속 해제하는 경우의 CM 데이터를 상기 제2 시리얼 포트(130)를 통하여 외부 장치로 전송한다. 사용자는 상기 진단 모니터(DM) 프로그램이 실행되고 있는 외부 장치를 통하여 모뎀의 로그 데이터인 CM 데이터 및 DM 데이터를 모니터링하여 오류가 발생시 곧바로 디버그할 수 있다. 즉 제1 시리얼 포트(120) 및 제2 시리얼 포트(130)를 통하여 동시에 데이터 통신이 가능하게 됨으로써, 진단 모니터(DM) 프로그램 및 연결 관리자(CM) 프로그램을 동시에 실행시켜 효율적으로 디버그할 수 있는 효과가 있다. For example, the first serial port 120 is allocated to the DM data communication requested by executing the diagnostic monitor (DM) program in an external device, and the CM data communication requested by the connection manager (CM) program executed. When the second serial port 130 is allocated to the second serial port 130, the CM data for accessing or disconnecting the Internet using the connection manager (CM) program is transmitted to the external device through the second serial port 130. . The user can monitor CM data and DM data, which are log data of the modem, through an external device on which the diagnostic monitor (DM) program is executed, and immediately debug when an error occurs. That is, since data communication is possible through the first serial port 120 and the second serial port 130 at the same time, the diagnostic monitor (DM) program and the connection manager (CM) program can be simultaneously executed to effectively debug the effects. There is.

또한, 상기 진단 모니터(DM) 프로그램, 연결 관리자(CM) 프로그램 중 하나의 프로그램만이 상기 모뎀과 연동될 수 있음은 물론이고, 이러한 경우 상기 두 개의 시리얼 포트(120, 130) 중 상기 모뎀과 연동되는 프로그램과 데이터 통신을 위하여 할당된 시리얼 포트를 통하여 DM 데이터 또는 CM 데이터를 외부 장치로 전송할 수 있음은 물론이다.
In addition, only one of the diagnostic monitor (DM) program and the connection manager (CM) program may be interlocked with the modem. In this case, the two serial ports 120 and 130 may interwork with the modem. Of course, the DM data or CM data can be transmitted to an external device through the serial port allocated for the program and data communication.

이상에서 본 발명에 따른 실시예들이 설명되었으나, 이는 예시적인 것에 불과하며, 당해 분야에서 통상적 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 범위의 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 보호 범위는 다음의 특허청구범위뿐만 아니라 이와 균등한 것들에 의해 정해져야 한다.
Although embodiments according to the present invention have been described above, these are merely exemplary, and it will be understood by those skilled in the art that various modifications and equivalent embodiments of the present invention are possible therefrom. Accordingly, the scope of protection of the present invention should be determined by the following claims, as well as equivalents thereof.

100 : 모뎀 110 : 제어부
111 : 진단 모듈 113 : GPS 모듈
120 : 제1 시리얼 포트 130 : 제2 시리얼 포트
100: modem 110: control unit
111: diagnostic module 113: GPS module
120: first serial port 130: second serial port

Claims (6)

제1 시리얼 포트;
제2 시리얼 포트; 및
상기 제1 시리얼 포트 및 제2 시리얼 포트를 진단 모듈에 할당하되, 상기 제1 시리얼 포트 또는 제2 시리얼 포트 중 하나를 DM(Diagnostic Monitor) 데이터 통신에 할당하고, 다른 하나를 CM(Connection Manager) 데이터 통신에 할당하여, 진단 데이터에 포함된 DM 데이터 및 CM 데이터를 각각 할당된 시리얼 포트를 통하여 동시에 또는 순차적으로 외부 장치로 전송하도록 제어하는 제어부를 포함하는 모뎀.
A first serial port;
A second serial port; And
Allocate the first serial port and the second serial port to a diagnostic module, assign one of the first serial port and the second serial port to Diagnostic Monitor (DM) data communication, and assign the other one to CM (Connection Manager) data. Allocate DM communication and DM data included in the diagnostic data simultaneously or sequentially through the assigned serial port. Modem including a control unit for controlling to transmit to an external device.
삭제delete 삭제delete 진단 모듈을 초기화하는 단계;
제1 시리얼 포트 또는 제2 시리얼 포트 중 하나를 DM 데이터 전송에 할당하고, 다른 하나를 CM 데이터 전송에 할당하는 단계; 및
진단 데이터에 포함된 DM 데이터 및 CM 데이터를 각각 할당된 시리얼 포트를 통하여 동시에 또는 순차적으로 외부 장치로 전송하는 단계를 포함하는 모뎀의 시리얼 포트 설정 방법.
Initializing the diagnostic module;
Assigning one of the first serial port or the second serial port to the DM data transmission, and assigning the other to the CM data transmission; And
And transmitting the DM data and the CM data included in the diagnostic data to an external device simultaneously or sequentially through the assigned serial port.
삭제delete 삭제delete
KR1020100063396A 2010-07-01 2010-07-01 How to Set Serial Port in Modem and Modem Using It Expired - Fee Related KR101102641B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100063396A KR101102641B1 (en) 2010-07-01 2010-07-01 How to Set Serial Port in Modem and Modem Using It

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100063396A KR101102641B1 (en) 2010-07-01 2010-07-01 How to Set Serial Port in Modem and Modem Using It

Publications (1)

Publication Number Publication Date
KR101102641B1 true KR101102641B1 (en) 2012-01-04

Family

ID=45613750

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100063396A Expired - Fee Related KR101102641B1 (en) 2010-07-01 2010-07-01 How to Set Serial Port in Modem and Modem Using It

Country Status (1)

Country Link
KR (1) KR101102641B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000047713A (en) * 1998-11-25 2000-07-25 윤종용 Apparatus and method for displaying the condition, status, and activity of a cable modem
KR20020064919A (en) * 1999-12-06 2002-08-10 톰슨 라이센싱 소시에떼 아노님 Operational status identification system for a modem or other communication system
KR20030027975A (en) * 2001-09-18 2003-04-08 (주)누리텔레콤 Wireless Modem for Remote Telemetering

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000047713A (en) * 1998-11-25 2000-07-25 윤종용 Apparatus and method for displaying the condition, status, and activity of a cable modem
KR20020064919A (en) * 1999-12-06 2002-08-10 톰슨 라이센싱 소시에떼 아노님 Operational status identification system for a modem or other communication system
KR20030027975A (en) * 2001-09-18 2003-04-08 (주)누리텔레콤 Wireless Modem for Remote Telemetering

Similar Documents

Publication Publication Date Title
US11709202B2 (en) Interfaces for wireless debugging
US8442509B2 (en) System and method for managing a wireless device from removable media with processing capability
US8566416B2 (en) Method and system for accessing storage device
CN107026764A (en) A remote debugging method, device, server and system
CN104021060A (en) BMC serial port debugging system and method
CN103605359A (en) Automobile diagnostic system and method
US9347990B2 (en) Communication device, test system and test method thereof
CN113960991B (en) Vehicle fault diagnosis system, method and device, system-on-chip and vehicle
CN109787864A (en) A network automatic testing method, device, terminal and storage medium based on Netperf
CN105653461A (en) System for converting single USB interface into plurality of UART debugging interfaces
CN112445630A (en) Information interaction method and device and terminal equipment
CN115980554A (en) Chip testing method and electronic equipment thereof
CN107992439B (en) Extensible data interaction method and system
CN106502913A (en) Method and device for debugging dual-system mobile terminal
CN114503041B (en) Vehicle diagnosis method, diagnosis connector and diagnosis device
CN113434089B (en) Data moving method and device and PCIE system
CN103812664A (en) Network sharing method and device
CN114356671A (en) Board card debugging device, system and method
KR101102641B1 (en) How to Set Serial Port in Modem and Modem Using It
CN103457806A (en) Converter, control system and control method
KR100619959B1 (en) Remote debugging device and method for dial-up service of mobile communication terminal
CN102346717B (en) Intelligent platform management interface (IPMI) message transmission device, system and computer equipment
CN114860648A (en) Chip and control method of external equipment
US8125965B1 (en) Wireless multi-mode system and method
CN113014686A (en) Method and system for automatically addressing multiple devices and electronic device

Legal Events

Date Code Title Description
A201 Request for examination
PA0109 Patent application

St.27 status event code: A-0-1-A10-A12-nap-PA0109

PA0201 Request for examination

St.27 status event code: A-1-2-D10-D11-exm-PA0201

E902 Notification of reason for refusal
PE0902 Notice of grounds for rejection

St.27 status event code: A-1-2-D10-D21-exm-PE0902

E13-X000 Pre-grant limitation requested

St.27 status event code: A-2-3-E10-E13-lim-X000

P11-X000 Amendment of application requested

St.27 status event code: A-2-2-P10-P11-nap-X000

P13-X000 Application amended

St.27 status event code: A-2-2-P10-P13-nap-X000

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

St.27 status event code: A-1-2-D10-D22-exm-PE0701

GRNT Written decision to grant
PR0701 Registration of establishment

St.27 status event code: A-2-4-F10-F11-exm-PR0701

PR1002 Payment of registration fee

St.27 status event code: A-2-2-U10-U11-oth-PR1002

Fee payment year number: 1

PG1601 Publication of registration

St.27 status event code: A-4-4-Q10-Q13-nap-PG1601

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R13-asn-PN2301

St.27 status event code: A-5-5-R10-R11-asn-PN2301

FPAY Annual fee payment

Payment date: 20141106

Year of fee payment: 4

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 4

FPAY Annual fee payment

Payment date: 20151105

Year of fee payment: 5

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 5

P22-X000 Classification modified

St.27 status event code: A-4-4-P10-P22-nap-X000

FPAY Annual fee payment

Payment date: 20161104

Year of fee payment: 6

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 6

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

P22-X000 Classification modified

St.27 status event code: A-4-4-P10-P22-nap-X000

FPAY Annual fee payment

Payment date: 20171107

Year of fee payment: 7

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 7

P22-X000 Classification modified

St.27 status event code: A-4-4-P10-P22-nap-X000

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

FPAY Annual fee payment

Payment date: 20181112

Year of fee payment: 8

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 8

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 9

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

PC1903 Unpaid annual fee

St.27 status event code: A-4-4-U10-U13-oth-PC1903

Not in force date: 20201229

Payment event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R13-asn-PN2301

St.27 status event code: A-5-5-R10-R11-asn-PN2301

PC1903 Unpaid annual fee

St.27 status event code: N-4-6-H10-H13-oth-PC1903

Ip right cessation event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE

Not in force date: 20201229