KR100264148B1 - How to connect power line modem - Google Patents

How to connect power line modem Download PDF

Info

Publication number
KR100264148B1
KR100264148B1 KR1019980004759A KR19980004759A KR100264148B1 KR 100264148 B1 KR100264148 B1 KR 100264148B1 KR 1019980004759 A KR1019980004759 A KR 1019980004759A KR 19980004759 A KR19980004759 A KR 19980004759A KR 100264148 B1 KR100264148 B1 KR 100264148B1
Authority
KR
South Korea
Prior art keywords
character
modem
connection
determining whether
data
Prior art date
Application number
KR1019980004759A
Other languages
Korean (ko)
Other versions
KR19990070099A (en
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 KR1019980004759A priority Critical patent/KR100264148B1/en
Publication of KR19990070099A publication Critical patent/KR19990070099A/en
Application granted granted Critical
Publication of KR100264148B1 publication Critical patent/KR100264148B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/542Systems for transmission via power distribution lines the information being in digital form
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B2203/00Indexing scheme relating to line transmission systems
    • H04B2203/54Aspects of powerline communications not already covered by H04B3/54 and its subgroups
    • H04B2203/5404Methods of transmitting or receiving signals via power distribution lines
    • H04B2203/5408Methods of transmitting or receiving signals via power distribution lines using protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B2203/00Indexing scheme relating to line transmission systems
    • H04B2203/54Aspects of powerline communications not already covered by H04B3/54 and its subgroups
    • H04B2203/5429Applications for powerline communications
    • H04B2203/5445Local network

Landscapes

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

Abstract

PURPOSE: A method for connecting a power line modem is provided to enhance compatibility with devices and efficiency of connecting with the devices by applying Hayes standard to the power line modem. CONSTITUTION: If there are data received from a power line modem, the received data are processed(11). Otherwise, a character is inputted to a memory(12). If the character is a CR(13), it is determined that there is AT in character streams stored in the memory(14). If so, the process moves to the next pointer(15). Then, if the next of the AT is not the end of character stream(16), the character and delivery variable of it are obtained(17). If the obtained character is an alphabet(A¯Z), a principal command is performed(18). If the character is &, the extended command is performed(19). If the character is S-register(S), an S-register command is performed(20). If the character is neither an alphabet character, & or S-register, an error is indicated.

Description

전력선 모뎀의 접속 방법How to connect power line modem

본 발명은 전력선 모뎀의 접속 방법에 관한 것으로, 특히 전력선 모뎀에 알에스-232(RS-232) 인터페이스로 연결되는 장치 및 전화선 모뎀에서 채택하고 있는 헤이스(Hayes)표준을 적용하도록 함으로써 상기 장치들과의 호환성 및 접속의 효율성을 높일 수 있도록 하는 전력선 모뎀의 접속 방법에 관한 것이다.The present invention relates to a method of connecting a power line modem, and more particularly, to a device connected to an RS-232 interface and a Hayes standard adopted by a telephone line modem. The present invention relates to a connection method of a power line modem to improve compatibility and connection efficiency.

일반적으로, 전력선 모뎀은 전력선 방식의 모뎀이라고도 불리며 통신의 매체가 전력선인 모뎀을 말한다. 단상 또는 삼상의 일반 가정용 전원에 전송하고자 하는 데이터를 각종 변조방식에 의하여 전송하고 또, 이에 해당하는 변조방식에 의하여 데이터를 수신하며, 전원 선로를 그대로 이용하므로 선로 가설에 따른 비용부담이 없어 근거리 데이터 통신이나 각종 자동화에 사용된다.In general, a power line modem is also called a power line modem and refers to a modem in which the medium of communication is a power line. It transmits the data to be transmitted to the single-phase or three-phase general household power by various modulation methods, and receives data by the corresponding modulation method, and uses the power line as it is, so there is no cost burden according to the line hypothesis, so that the short-range data Used for communication and various automations.

헤이스 표준은 1981년 헤이스 마이크로컴퓨터 프로덕트(Hayes Microcomputer Product)에 의해 인간과 모뎀의 통신 언어로서 처음 개발 되어 현재 사용하고 있는 대부분의 전화선 모뎀과 기타 모뎀류에 채택되어 사용되고 있으며 명령 수행 단계에서 각종 예약된 명령을 시스템 및 기타 디티이(Data Terminal Equipment : DTE)장치에서 각종 명령어를 받아 수행하는 형식으로 기본명령어, 확장명령어 및 에스-레지스터로 이루어져 있다.The Hays standard was first developed by Hayes Microcomputer Product in 1981 as a communication language for humans and modems, and is used in most telephone line modems and other modems in use today. It is a format that receives commands from the system and other data terminal equipment (DTE) devices, and consists of basic commands, extended commands, and S-registers.

도1은 종래 전력선 모뎀의 알에스-232 프로토콜의 구성도로서, 이에 도시된 바와 같이 전송할 데이터의 시작을 알리는 동기문자(1)와; 연결할 상대의 목적번지(2)와; 송신자의 위치를 알릴 자신의번지(3)와; 실행시킬 동작의 명령어(4)와; 전송될 데이터(5)와; 상기 전송 데이터(5)의 끝을 알리는 종료문자(6)로 구성된 종래의 기술에 대하여 설명하면 다음과 같다.Fig. 1 is a block diagram of the RS-232 protocol of a conventional power line modem, as shown therein; A destination address 2 of the partner to be connected; Its address 3 to inform the sender of its location; An instruction 4 of an operation to be executed; Data 5 to be transmitted; Referring to the related art, which consists of a terminating character 6 indicating the end of the transmission data 5, the following description is made.

종래의 전력선 모뎀을 사용하는 시스템은 어떤 데이터를 송,수신하기 위해 상기 요소들의 값을 결정하여 한 번에 한 문자열을 만든다음 바로 전송하고 수신한다. 따라서 연결, 송수신, 종료의 흐름이 필요 없으며 전송이 필요 할 때마다 수시로 전송을 하고 수신단에서는 항상 데이터를 받을 준비를 해야 한다.A system using a conventional power line modem determines the values of the elements to transmit and receive some data, makes one string at a time, and then transmits and receives it immediately. Therefore, there is no need for connection, transmission, and termination, and whenever a transmission is needed, the transmission must be performed from time to time and the receiver must always be prepared to receive data.

예를 들어 시스템 1에서 시스템 2로 'ABCDEFG'라는 데이터를 전송 하고자 할 경우에 송신 시스템은 받을 시스템의 주소와 자신의 주소를 설정하고 데이터 전송이라는 명령을 설정한 후 이 모든 것을 한 문자열로 만들어 자신과 연결된 전력선 모뎀에 전송한다.For example, if you want to transfer the data 'ABCDEFG' from system 1 to system 2, the sending system sets the address of the receiving system and its own address, sets up a command called data transfer, and makes all of them as one string. To the powerline modem connected to the system.

이에 따라 상기 송신 시스템으로 부터 문자열을 전송받은 모뎀은 그대로 전력선을 통해 데이터를 전송하며, 상기 전력선에 연결된 모든 모뎀은 이 데이터를 수신하게 되고, 이 데이터를 수신한 모뎀들은 자신들에 연결된 시스템에 수신된 데이터를 전송하게 되며 그 시스템들은 데이터 문자열을 분석하여 목적번지(2)가 자신의 번지와 같은지를 판단하여 이용한다.Accordingly, the modem receiving the character string from the transmission system transmits data through the power line as it is, and all modems connected to the power line receive this data, and the modems receiving the data are received by the system connected to them. The system transmits the data and analyzes the data string to determine whether the destination address 2 is the same as its address.

그러나, 상기 종래의 기술에 있어서의 알에스-232 프로토콜은 임의적이고, 독립적인 프로토콜을 이용하기 때문에 모든 시스템은 상기 프로토콜로 설정되어 있는 전력선 모뎀만을 사용해야 되고, 또한 전화선 모뎀과의 호환성이 전혀 없어 두 모뎀을 사용할 시스템은 따로 서로의 연결 포트를 구비해야 되므로 시스템 구성시 추가비용을 부담하게 되는 문제점이 있었다.However, since the conventional RS-232 protocol uses an arbitrary and independent protocol, all systems must use only the power line modem set as the protocol, and there is no compatibility with the telephone line modem. The system using the modem has to have a separate connection port, so there is a problem in that additional cost is taken in configuring the system.

따라서, 본 발명은 상기와 같은 종래의 문제점을 해결하기 위하여 창출한 것으로, 종래의 전화선 모뎀에서 대부분 채택 사용되고 있는 헤이스 표준을 전력선 모뎀에 적용함으로써, 종래의 전화선 모뎀과도 특별한 장치없이 접속을 할 수 있도록 하는 전력선 모뎀의 접속 방법을 제공 하는데 그 목적이 있다.Therefore, the present invention was created to solve the above-described problems, and by applying the Hayes standard, which is mostly adopted in the conventional telephone line modem, to the power line modem, the conventional telephone line modem can be connected without any special device. The purpose is to provide a connection method of a power line modem.

도1은 종래 전력선 모뎀의 RS-232 통신 프로토콜의 구성도.1 is a configuration diagram of an RS-232 communication protocol of a conventional power line modem.

도 2a는 본 발명에 의한 전력선 모뎀의 RS-232 통신 프로토콜의 구성도.Figure 2a is a block diagram of the RS-232 communication protocol of the power line modem according to the present invention.

도 2b는 본 발명에 의한 전력선 모뎀의 통신링크 흐름도.2b is a communication link flow diagram of a power line modem according to the present invention;

도 3은 본 발명에 따른 명령 수행의 동작 흐름도.3 is an operational flowchart of command execution in accordance with the present invention;

도 4는 본 발명에 있어서, 통신 연결의 동작 흐름도.4 is a flowchart of operation of a communication connection in accordance with the present invention;

도 5는 본 발명에 있어서, 수신측 모뎀의 통신 연결 동작 흐름도.5 is a flowchart illustrating a communication connection operation of a receiving modem in the present invention.

도 6은 본 발명에 있어서, 통신 종료의 동작 흐름도.6 is an operation flowchart of communication termination in the present invention.

이와 같은 목적을 달성하기 위한 본 발명 전력선 모뎀의 접속 방법은, 모뎀의 상태 및 옵션 등을 설정하는 환경 설정단계와; 상대측 모뎀과 통신라인을 연결하여 데이터를 송수신 한 다음 연결을 종료하는 통신단계와; 상기 환경 설정단계와 통신단계의 각종 명령을 받아 분석하고 수행하는 명령 수행 단계로 이루어져 달성되는 것으로, 본 발명에 따른 실시예를 첨부된 도면을 참조하여 상세히 설명하면 다음과 같다.A method of connecting a power line modem of the present invention for achieving the above object comprises: an environment setting step of setting a state, an option, and the like of the modem; A communication step of transmitting and receiving data by connecting a communication line with a counterpart modem and terminating the connection; It is achieved by a command performing step of receiving and analyzing and performing various commands of the environment setting step and the communication step, the embodiments according to the present invention will be described in detail with reference to the accompanying drawings.

도3은 상기 명령 수행 단계의 동작 흐름도로서, 이에 도시한 바와 같이 전력선 모뎀으로 부터 수신받은 데이터가 있는지를 판단하여 있으면 수신받은 데이터를 처리하고(11), 수신받은 데이터가 없으면 한문자를 입력받아 메모리에 저장하고(12), 상기 단계(12)에서 입력받은 문자가 리턴문자(CR)인지를 판단하여 아니면 전단계(12)로 돌아가 다시 수행(13)하고, 메모리에 저장된 문자열 중 시작문자(AT)가 있는지를 판단하여 없으면 포인터를 증가시키고, 문자열의 끝인가를 판단하여 문자열의 끝이면 명령 수행 단계로 복귀(14)하며, 상기 문자열 중 시작 문자(AT)가 있으면 다음으로 포인터를 이동(15)하고, 다음 상기 시작 문자(AT) 다음이 문자열의 끝인가를 판단하여 끝이면 명령 수행 단계로 복귀(16)하고, 문자와 그 전달변수를 얻어(17) 상기 문자가 알파벳 문자(A∼Z)인가를 판단하여 기본 명령을 수행하고, 수행한 명령이 에러인가를 판단하여 아니면 포인터를 증가시켜 문자열 끝을 판단하는 단계(16)로 복귀(18)하고, 상기 문자가 알파벳이 아니고 임퍼센트 문자(&)인가를 판단하여 확장 명령을 수행하고, 수행한 명령이 에러인가를 판단하여 아니면 포인터를 증가시켜 문자열 끝을 판단하는 단계(16)로 복귀(19)하고, 상기 문자가 에스-레지스터 문자(S)인가를 판단하여 에스-레지스터 명령을 수행하고, 수행한 명령이 에러인가를 판단하여 아니면 포인터를 증가시켜 문자열 끝을 판단하는 단계(16)로 복귀(20)하고, 상기 문자가 알파벳 및 임퍼센트 문자(&), 에스-레지스터 문자(S)가 아니면 에러(Error)를 표시하고 명령 수행 단계로 복귀(21)한다.3 is an operation flowchart of the command execution step. As shown in FIG. 3, if it is determined whether there is data received from the power line modem, the received data is processed (11). (12), and determine whether the character received in the step 12 is the return character (CR), or if not, go back to the previous step (12) and perform again (13), the start character (AT) of the string stored in the memory If it is determined that there is no, the pointer is incremented, and if it is the end of the string, it is determined that the end of the string is returned to the command execution step (14), and if there is a start character (AT) among the strings, the pointer is moved to the next (15). And if it is determined that the next character after the AT is the end of the character string, it returns to the command execution step (16), and obtains the character and its transfer variable (17). Determining whether (A to Z) is performed to execute the basic command, and if it is determined whether the performed command is an error or not, returning to step 16 of determining the end of the string by incrementing the pointer (18), and the character is represented by the alphabet. If it is determined that it is an percent character (&), an extended command is performed, and if it is determined that the executed command is an error, it returns to step 16 to determine the end of the string by increasing the pointer (19). It is determined whether or not the S-register character (S) to perform the S-register command, and if it is determined that the executed command is an error, the process returns to step (16) of determining the end of the string by increasing the pointer (20). If the character is not an alphabet, percent character (&), and S-register character (S), an error is displayed and the process returns to the step of executing the command (21).

상기 통신 단계에서 통신 연결 및 데이터 통신 단계는 다이얼 문자(D)에 의해 동작되는 단계으로써 도4에 도시된 바와 같이 송신측 전력선 모뎀에서는 상대측의 다이얼(Dial)번호를 입력받아(31) 상기 입력받은 상대방 다이얼 번호에 에러가 있으면 각종 에러를 표시하고 명령 수행 단계로 복귀(32)하고, 에러가 없으면 상대측 모뎀에 연결을 요구(33)하고, 상기 단계(33)에서의 연결 요구에 상대측 모뎀이 응답을 하지 않으면 일정 시간 후 재시도하여 재한된 시간이 종료되면 에러 메시지를 표시하고, 명령 수행 단계로 복귀(34)하며 상대측 모뎀이 이에 응답을 하면 이를 확인후 응답확인을 전송(35)하고, 모뎀이 연결되어 그 연결 상태를 표시(DCD ON)하고(36), 전력선으로 부터 받은 데이터가 있는지를 판단하여 있으면 시스템으로 전송하고, 시스템으로 부터 받은 데이터가 있는지를 판단(37)하고, 전력선으로 부터 받은 데이터가 없으면 온라인 명령모드 문자(+++)인가를 판단하여 명령 수행 단계로 복귀하거나 아니면 전력선을 통해 상대측 모뎀에 전송(38)한다. (여기서 '+++'문자는 현 진행상태를 중단하고 온라인 명령 수행 단계로 복귀하라는 명령 문자이다.)In the communication step, the communication connection and the data communication step are operated by dial letters (D). As shown in FIG. 4, the transmitting power line modem receives a dial number of the other party (31). If there is an error in the other party's dial number, it displays various errors and returns to the command execution step (32), if there is no error, requests the connection to the other party's modem (33), and the other party's modem responds to the connection request in step (33). If not, retry after a certain period of time and display the error message when the time limit expires, return to the command execution step (34). Is connected to indicate the connection status (DCD ON) (36), and determines whether there is data received from the power line, and transmits to the system, if received from the system It is determined whether there is data (37), and if there is no data received from the power line, it is determined whether it is an online command mode character (+++) and returns to the command execution step, or is transmitted to the counterpart modem through the power line (38). (Here '+++' is a command to stop the current progress and return to online command execution.)

또한, 도5는 수신측 전력선 모뎀에서의 통신 연결 및 데이터 통신 단계으로써 이에 도시된 바와 같이 전력선을 통하여 데이터를 수신 받았는가를 판단(51)하고, 데이터 수신시 자신의 번지로 연결 요구인가를 판단하여 아니면 처음으로 돌아가고(52), 자신의 번지로 연결 요구이면 시스템에 링(RING)문자열을 전송(53)하고, 다음 지정된 링(Ring)횟수만큼 계수하여 연결(54)하고, 연결을 요구한 모뎀에 응답(55)하고, 통신 연결후 전력선으로 부터 데이터를 받았는지를 판단하여 아니면 대기(56)하고, 수신 받은 데이터가 연결 종료 요구인가를 판단하여 아니면 시스템으로 데이터를 전송(57)하고, 연결 종료 요구이면 시스템으로 연결 끊김 문자열(NO CARRIER)을 전송(58)하고, 연결 종료 후 모뎀의 연결상태를 표시(DCD OFF)하고 명령 수행 단계로 복귀(59)한다.5 is a communication connection and data communication step of the receiving power line modem to determine whether data has been received through the power line as shown in FIG. 51, and to determine whether a connection request is made to its own address when receiving data. Otherwise, go back to the first (52), if the connection request to its address (53), the system sends a ring string (53), then counts the number of rings specified (54), connect (54), and request the connection Answer 55 to the modem, determine if data has been received from the power line after the communication connection or wait 56; determine whether the received data is a connection termination request, or transmit data 57 to the system; If the connection termination request is transmitted (58) to the system disconnection string (NO CARRIER), after the connection is terminated (DCD OFF) indicates the connection status of the modem and returns to the command execution step (59).

또한 상기 통신 단계에서 통신 종료는 후크 문자(H)에 의해 동작되는 단계으로써 도6에 도시된 바와 같이 연결되어 있는 상대측 모뎀에 연결 종료 요구신호를 송신(71)하고, 연결된 모뎀에서 응답이 있는지를 판단하여 아니면 지정된 횟수 만큼 재시도(72)하고, 종료 요구에 대한 응답이 있으면 연결을 종료하며, 연결 끊김 문자열(NO CARRIER)을 전송한 후 명령 수행 단계로 복귀(73)하며, 명령어와 그 뒤에 따르는 변수로 환경 설정이 된 전력선 모뎀은, 전원이 인가 되면서 명령 수행 단계로 들어가고, 상대 모뎀으로 부터 데이터가 입력되면 그 데이터를 처리한다.In the communication step, the communication end is operated by a hook character (H). As shown in FIG. 6, the connection termination request signal is transmitted to the other party modem connected as shown in FIG. If not, retry (72) the specified number of times, terminate the connection if there is a response to the termination request, send a disconnect string (NO CARRIER), and return to the command execution step (73), followed by the command The power line modem, which is configured with the following parameters, enters the command execution phase when power is applied, and processes data when data is input from the other modem.

이에 따라 모뎀은 시스템으로 부터 알에스-232 프로토콜로 입력되는 명령어 문자열을 받는다. 도2의 (a)에 도시된 바와 같이 명령어 문자열은 반드시 시작 문자(AT)문자를 포함하고 있어야 그 뒤의 명령들이 실행되고, 케리지 리턴(Carriage Return : CR)에 의하여 끝단계가 표시된다. 명령 문자열은 명령들을 한번에 하나씩 실행 시키며 명령 실행시 오류가 생기면 즉시 오류 메시지를 남기고 명령 수행 단계로 돌아가게 된다.As a result, the modem receives a command string input from the system through the RS-232 protocol. As shown in (a) of FIG. 2, the command string must include a start character (AT) to execute the commands after it, and the end step is indicated by a carriage return (CR). The command string executes the commands one at a time. If an error occurs during execution, the command string immediately leaves an error message and returns to the command execution step.

통신 연결은 다이얼 문자(D)에 의하여 이루어 지고, 통신 종료는 후크문자(H)에 의하여 이루어 지는데 전력선 모뎀은 전화선 모뎀과 같이 온후크, 오프후크 기능이 없으므로 단지 통신이 온/오프 하였다는 상태를 나타내게 되며 도2의 (b)에 도시된 바와 같이 연결, 송수신, 종료의 3단계의 절차를 거쳐 통신을 완료하게 된다.Communication connection is made by dial character (D), and communication is done by hook character (H). Power line modem has no on-hook and off-hook functions like telephone line modem. As shown in (b) of FIG. 2, communication is completed through three steps of connection, transmission, and termination.

이상에서 설명한 바와 같이 본 발명 전력선 모뎀의 접속 방법은 전력선 모뎀에 알에스-232(RS-232)프로토콜로 연결되는 장치 및 전화선 모뎀에서 채택하고 있는 헤이스(Hayes)표준을 적용하도록 함으로써 상기 장치들과의 호환성 및 접속의 효율성을 높이는 효과가 있다.As described above, the method of connecting the power line modem of the present invention is such that the apparatus connected with the RS-232 protocol and the Hayes standard adopted by the telephone line modem are applied to the power line modem. It is effective to increase the compatibility and efficiency of the connection.

Claims (5)

모뎀의 상태 및 옵션 등을 설정하는 환경 설정단계와; 통신을 연결하여 데이터를 송수신 한 다음 연결을 종료하는 통신단계와; 상기 환경 설정단계와 통신단계의 각종 명령을 받아 분석하고 수행하는 명령 수행 단계로 이루어져 된 것을 특징으로 하는 전력선 모뎀의 접속 방법.An environment setting step of setting a state and options of a modem; A communication step of transmitting and receiving data by connecting the communication and then terminating the connection; And a command execution step of receiving and analyzing and executing various commands of the environment setting step and the communication step. 제1항에 있어서, 상기 명령 수행 단계는 전력선 모뎀으로 부터 수신받은 데이터가 있는지를 판단하여 있으면 수신받은 데이터를 처리하는 단계와; 수신받은 데이터가 없으면 한문자를 입력받아 메모리에 저장하는 단계와; 상기 단계에서 입력받은 문자가 리턴 문자인지를 판단하여 아니면 전단계로 돌아가 다시 수행하는 단계와; 메모리에 저장된 문자열 중 시작 문자가 있는지를 판단하여 없으면 포인터를 증가시키고, 문자열의 끝인가를 판단하여 문자열 끝이면 명령 수행 단계로 복귀하는 단계와; 시작 문자가 있으면 다음으로 포인터를 이동하는 단계와; 상기 시작 문자 다음이 문자열의 끝인가를 판단하여 끝이면 명령 수행 단계로 복귀하는 단계와; 문자와 그 전달변수를 얻는 단계와; 상기 단계에서 얻은 문자가 알파벳 문자인가를 판단하여 기본 명령을 수행하고, 수행한 명령이 에러인가를 판단하여 아니면 포인터를 증가시켜 문자열 끝을 판단하는 단계로 복귀하는 단계와; 상기 문자가 알파벳이 아니고 임퍼센트 문자인가를 판단하여 확장 명령을 수행하고, 수행한 명령이 에러인가를 판단하여 아니면 포인터를 증가시켜 문자열 끝을 판단하는 단계로 복귀하는 단계와; 상기 문자가 에스-레지스터 문자인가를 판단하여 에스-레지스터 명령을 수행하고, 수행한 명령이 에러인가를 판단하여 아니면 포인터를 증가시켜 문자열 끝을 판단하는 단계로 복귀하는 단계와; 상기 문자가 알파벳 및 임퍼센트 문자, 에스-레지스터 문자가 아니면 에러를 표시하고 명령 수행 단계로 복귀하는 단계로 이루어져 된 것을 특징으로 하는 전력선 모뎀의 접속 방법.The method of claim 1, wherein the performing of the command comprises: processing the received data if it is determined whether there is data received from the powerline modem; If there is no received data, receiving one letter and storing the same in a memory; Determining whether the character received in the step is a return character, or if the character is returned to the previous step, performing the step again; Determining whether there is a start character among the strings stored in the memory, and if not, increments the pointer, and if it is the end of the string, returns to the step of executing a command; If there is a start character, moving the pointer to the next; Determining whether the start character is the end of a character string and returning to a command execution step when the character ends; Getting a character and its parameters; Determining whether the character obtained in the step is an alphabetic character, performing a basic command, and if it is determined whether the executed command is an error, returning to the step of determining the end of the string by incrementing the pointer; Determining whether the character is an alphabetical character rather than an alphabetical character, performing an extension command, and determining whether the executed command is an error or not, increasing the pointer to determine the end of the character string; Determining whether the character is an S-register character, performing an S-register command, and determining whether the executed command is an error, or returning to determining the end of the string by incrementing the pointer; And displaying an error and returning to a command execution step if the character is not an alphabet, a percent character, or an S-register character. 제1항에 있어서, 상기 송신측 전력선 모뎀에서의 통신 연결 및 데이터 통신 단계은 상대측의 다이얼번호를 입력받는 단계와; 입력받은 상대방 다이얼 번호에 에러가 있으면 각종 에러를 표시하고 명령 수행 단계로 복귀하는 단계와; 에러가 없으면 상대측 모뎀에 연결을 요구하는 단계와; 상기 연결 요구에 상대측 모뎀이 응답을 하지 않으면 일정 시간 후 재시도하여 재한된 시간이 종료되면 에러 메시지를 표시하고 명령 수행 단계로 복귀하는 단계와; 상대측 모뎀이 응답을 하면 이를 확인후 응답확인을 전송하는 단계와; 모뎀이 연결되어 그 연결 상태를 표시하는 단계와; 전력선으로 부터 받은 데이터가 있는지를 판단하여 있으면 시스템으로 전송하고, 시스템으로 부터 받은 데이터가 있는지를 판단하는 단계와; 전력선으로 부터 받은 데이터가 없으면 온라인 명령 문자인가를 판단하여 명령 수행 단계로 복귀하거나 아니면 전력선을 통해 상대측 모뎀에 전송하는 단계로 이루어져 된 것을 특징으로 하는 전력선 모뎀의 접속 방법.The method of claim 1, wherein the communication connection and data communication in the power line modem of the transmitting side comprises: receiving a dial number of the other party; Displaying an error and returning to a command execution step if there is an error in the input counterpart dial number; Requesting a connection to the opposite modem if there is no error; Retrying after a predetermined time if the other party's modem does not respond to the connection request, displaying an error message and returning to a command execution step when the time limit expires; Transmitting a response acknowledgment after the counterpart modem responds; Connecting a modem to display its connection status; Determining whether there is data received from the power line, and transmitting the data to the system, and determining whether there is data received from the system; If there is no data received from the power line, determining whether it is an online command character and returning to the command execution step, or transmitting to the other modem through the power line. 제1항에 있어서, 상기 수신측 전력선 모뎀에서의 통신 연결 및 데이터 통신 단계은 전력선을 통하여 데이터를 수신 받았는가를 판단하는 단계와; 데이터 수신시 자신의 번지로 연결 요구인가를 판단하여 아니면 처음으로 돌아가는 단계와; 자신의 번지로 연결 요구이면 시스템에 링문자열을 전송하는 단계와; 지정된 링 횟수만큼 계수하여 연결하는 단계와; 연결을 요구한 모뎀에 응답하는 단계와; 통신 연결후 전력선으로 부터 데이터를 받았는지를 판단하여 아니면 대기하는 단계와; 수신 받은 데이터가 연결 종료 요구인가를 판단하여 아니면 시스템으로 데이터를 전송하는 단계와; 연결 종료 요구이면 시스템으로 연결 끊김 문자열을 전송하는 단계와; 연결 종료 후 모뎀의 연결상태를 표시하고 명령 수행 단계로 복귀하는 단계로 이루어져 된 것을 특징으로 하는 전력선 모뎀의 접속 방법.The method of claim 1, wherein the communication connection and data communication in the receiving power line modem comprises: determining whether data has been received through the power line; Determining whether a connection request is made to a user's address when receiving data or returning to the first time; Sending a ring string to the system if the connection request is to its own address; Counting and connecting a predetermined number of rings; Responding to the modem requesting the connection; Determining whether to receive data from the power line after the communication connection or waiting; Determining whether the received data is a connection termination request or transmitting data to the system; Transmitting a disconnect string to the system if the connection termination request is made; And displaying the connection status of the modem after the connection is terminated and returning to the command execution step. 제1항에 있어서, 상기 통신 단계에서 통신 종료는 연결되어 있는 상대측 모뎀에 연결 종료 요구신호를 송신하는 단계와; 연결된 모뎀에서 응답이 있는지를 판단하여 아니면 지정된 횟수 만큼 재시도하는 단계와; 종료 요구에 대한 응답이 있으면 연결을 종료하고, 연결 끊김 문자열을 전송한 후 명령 수행 단계로 복귀하는 단계로 이루어져 된 것을 특징으로 하는 전력선 모뎀의 접속 방법.The method of claim 1, wherein the communication termination in the communication step comprises the steps of: transmitting a connection termination request signal to a counterpart modem connected thereto; Determining whether there is a response from the connected modem or retrying a specified number of times; If the response to the termination request, the connection is terminated, the connection method of the power line modem comprising the step of returning to the command execution step after transmitting the disconnection string.
KR1019980004759A 1998-02-17 1998-02-17 How to connect power line modem KR100264148B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980004759A KR100264148B1 (en) 1998-02-17 1998-02-17 How to connect power line modem

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980004759A KR100264148B1 (en) 1998-02-17 1998-02-17 How to connect power line modem

Publications (2)

Publication Number Publication Date
KR19990070099A KR19990070099A (en) 1999-09-15
KR100264148B1 true KR100264148B1 (en) 2000-08-16

Family

ID=19533195

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980004759A KR100264148B1 (en) 1998-02-17 1998-02-17 How to connect power line modem

Country Status (1)

Country Link
KR (1) KR100264148B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100761258B1 (en) * 2001-05-25 2007-09-28 엘지전자 주식회사 Home pna data frame transfer method

Also Published As

Publication number Publication date
KR19990070099A (en) 1999-09-15

Similar Documents

Publication Publication Date Title
AU693027B2 (en) Data adapter
US4680773A (en) Data telecommunications system and method utilizing a multi-mode modem
US4680781A (en) Data telecommunications system and method with universal link establishment
JPS6288461A (en) Communication interface of signal processor
JPS63132552A (en) Modem with improved hand-shake function
US6594707B1 (en) Smart communication agent
JPH0618371B2 (en) Communication terminal
EP0167590B1 (en) Communication system having reconfigurable data terminals
KR100264148B1 (en) How to connect power line modem
CN112333345B (en) Information transmission device for dial-up networking
KR100439219B1 (en) KEEP-PHONE having a caller detail information transferring function and controlling method therefore
EP0181880B1 (en) Apparatus for interfacing with x21 equipment
US6865606B1 (en) Method for controlling data transmission in a wireless V.24 data transmission system operating between a data terminal and a data transmission device for data telecommunication
EP0353383A2 (en) Method for switching incoming data communications between processes in a multi-process system in response to the type of communication
KR950002710B1 (en) Telecommunications method between data terminal and telex network
JP2658072B2 (en) Modem device
JPH0993288A (en) Terminal attribute control system for high speed tty communication
JPH06350735A (en) Communication system
WO1999048013A1 (en) Communication stack, and related system, method and apparatus
JPH05183598A (en) Subscriber's line terminator
Brown Tutorial: Text file transfer operations—Apple to IBM
JPS6130162A (en) Data transmission system
JPS6247240A (en) Informing system for terminal attribute
JPH04299633A (en) Personal computer
JPH04175058A (en) Facsimile equipment

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20040329

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee