KR100464329B1 - System and method to control / manage each port independently in communication board having multiple communication ports - Google Patents
System and method to control / manage each port independently in communication board having multiple communication ports Download PDFInfo
- Publication number
- KR100464329B1 KR100464329B1 KR1019980003646A KR19980003646A KR100464329B1 KR 100464329 B1 KR100464329 B1 KR 100464329B1 KR 1019980003646 A KR1019980003646 A KR 1019980003646A KR 19980003646 A KR19980003646 A KR 19980003646A KR 100464329 B1 KR100464329 B1 KR 100464329B1
- Authority
- KR
- South Korea
- Prior art keywords
- port
- communication
- board
- control
- user
- Prior art date
Links
Classifications
-
- 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/40—Bus structure
- G06F13/4063—Device-to-bus coupling
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/31—From computer integrated manufacturing till monitoring
- G05B2219/31177—Protocol, sdlc serial data link control
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Communication Control (AREA)
Abstract
본 발명은 SDLC 프로토콜을 사용하는 통신 포트의 운영 시스템 및 방법에 관한 것이다. 본 발명은 특히 하나의 통신 보드에 여러 개의 통신 포트를 동시에 사용할 때 임의의 포트를 다른 포트와 독립적으로 제어하는 방법에 관한 것이다.The present invention relates to an operating system and method of a communication port using the SDLC protocol. The present invention particularly relates to a method of controlling an arbitrary port independently of another port when several communication ports are simultaneously used on one communication board.
본 발명에 따른 여러 개의 통신 포트를 가지고 있는 통신 보드에서 독립적으로 각각의 포트를 제어/관리 시스템의 바람직한 일 실시예는, 사용자 프로세스, 커널 드라이버, 이와 연결된 시스템 버스 및 시스템 버스와 데이터를 주고받는 통신 보드내에서, 상기 보드의 정보 및 파라미터 관련 데이터 구조, 포트에 대한 제어/관리용 데이터 구조 및 상기 포트 처리 모듈을 포함하여 이루어진다.In a communication board having multiple communication ports according to the present invention, a preferred embodiment of a control / management system for each port independently is a communication between a user process, a kernel driver, a system bus and a system bus connected thereto, and data communication. Within the board, the board comprises information and parameter related data structures of the board, a control / management data structure for the port, and the port processing module.
본 발명에 따른 여러 개의 통신 포트를 가지고 있는 통신 보드에서 독립적으로 각각의 포트를 제어/관리하는 방법의 바람직한 일 실시예는, 사용자가 커널 드라이버로 명령을 전달하는 단계, 사용자 명령이 커널 드라이버의 IOCTL 명령 처리 루틴에서 통신 보드로 전달되는 단계, 통신 보드의 데이터 링크 레이어(SDLC)에서 전달된 사용자 명령을 분석하여 해당 포트에 대한 제어/관리용 데이터 구조의 내용을 변경하고 해당 포트에 대해 명령을 처리하는 단계, 사용자 명령에 대한 처리 결과를 커널 드라이브에 알려주는 단계 및 커널 드라이브가 결과 내용을 사용자 프로세스에게 전달하는 단계를 포함하여 이루어진다.In a preferred embodiment of a method for controlling / managing each port independently in a communication board having multiple communication ports according to the present invention, a step in which a user passes a command to a kernel driver, wherein the user command is an IOCTL of the kernel driver Steps passed from the command processing routine to the communication board, analyzing user commands passed from the data link layer (SDLC) of the communication board to change the contents of the control / management data structure for that port and process the command for that port. And informing the kernel drive of the result of the processing of the user command and delivering the result of the result to the user process.
본 발명은, 하나의 통신 보드가 여러 개의 통신포트를 제공하는 환경에서 각각의 통신 포트가 독립적으로 사용자 명령에 제어되고 관리됨으로써 동시에 사용중인 다른 통신 포트에 가해졌던 영향이 사라져서, 향상된 통신 보드의 성능을 모두 사용할 수 있으며, 사용자의 업무효율 향상 및 비용을 절감할 수 있다.According to the present invention, in an environment in which one communication board provides several communication ports, each communication port is independently controlled and managed by a user command, thereby eliminating the effect on other communication ports in use simultaneously, thereby improving performance of the communication board. All of them can be used, and the user's work efficiency and cost can be reduced.
Description
본 발명은 SDLC 프로토콜을 사용하는 통신 포트의 운영 시스템 및 방법에 관한 것이다. 본 발명은 특히 하나의 통신 보드에 여러 개의 통신 포트를 동시에 사용할 때 임의의 포트를 다른 포트와 독립적으로 제어하는 시스템 및 방법에 관한 것이다.The present invention relates to an operating system and method of a communication port using the SDLC protocol. The present invention relates in particular to a system and method for controlling any port independently of the other when using multiple communication ports on one communication board at the same time.
통신 보드제품은 보드하나에 2개 이상의 통신 포트를 제공하거나 2개 이상의 프로토콜을 사용할 수 있도록 기능이 다양해지고 있다.Communication board products are becoming more versatile to provide more than one communication port on one board or to use more than one protocol.
따라서, 하나의 보드에서 하나의 프로세스가 여러 개의 포트를 제어하는 환경이라 하더라도 여러 개의 포트는 포트 상호간에 어떠한 간섭이나 영향을 주지 않고 독립적으로 활성화되고 필요시 독립적으로 비활성화(포트 재설정)되어야 한다.Therefore, even in an environment in which one process controls multiple ports on a board, multiple ports must be independently activated without any interference or influence between the ports and independently disabled (port reset) if necessary.
그러나, 도 1과 같이 통신 보드의 데이터 링크 레이어(Data Link Layer)에서 사용자 명령에 의해 관리되거나 제어되는 데이터 구조가 보드에 관한 내용이어서, 사용자 수준에서 각각의 포트를 제어하고 관리하기가 불가능하다.However, as shown in FIG. 1, since a data structure managed or controlled by a user command in a data link layer of a communication board is related to a board, it is impossible to control and manage each port at a user level.
예를 들어 설명하면, 도 1과 같이 동시에 실행중인 3개의 포트 중 포트 #0을 재설정 하고자 할 때 포트별로 제어하거나 관리하는 데이터 구조가 없기 때문에 통신 보드 전체를 재설정할 수밖에 없다.For example, when resetting port # 0 of three ports simultaneously running as shown in FIG. 1, since there is no data structure for controlling or managing by port, the entire communication board is inevitably reset.
따라서, 사용 중이던 포트 #1과 포트 #2도 재설정되는 문제점이 있다.Therefore, there is a problem that port # 1 and port # 2 that were in use are also reset.
따라서 본 발명은 상기한 바와 같은 문제점을 해결하기 위하여, 하나의 통신 보드에서 여러 개의 물리적인 통신 포트를 제공하는 환경에서 통신 프로토콜의 데이터 링크 레이어에서 각각의 포트에 대한 제어 및 관리용 데이터 구조를 추가하여 각 통신 포트가 독립적으로 제어 또는 관리되도록, 여러 개의 통신 포트를 가지고 있는 통신 보드에서 독립적으로 각각의 포트를 제어/관리하는 시스템 및 방법을 제공하는 것을 목적으로 한다.Therefore, in order to solve the above problems, the present invention adds a control and management data structure for each port in the data link layer of the communication protocol in an environment in which multiple physical communication ports are provided in one communication board. Accordingly, an object of the present invention is to provide a system and method for independently controlling / managing each port in a communication board having multiple communication ports so that each communication port can be independently controlled or managed.
상기한 목적을 달성하기 위한 본 발명에 따른 여러 개의 통신 포트를 가지고 있는 통신 보드에서 독립적으로 각각의 포트를 제어/관리 시스템의 바람직한 일 실시예는, 사용자 프로세스(Process), 커널 드라이버(Kernel Driver), 이와 연결된 시스템 버스 및 시스템 버스와 데이터를 주고받는 통신 보드내에서,One embodiment of a system for controlling / managing each port independently in a communication board having multiple communication ports according to the present invention for achieving the above object is a user process (Process), kernel driver (Kernel Driver) In the communication board that exchanges data with the system bus and the system bus,
상기 보드의 정보 및 파라미터(Parameter) 관련 데이터 구조;A data structure related to information and parameters of the board;
포트에 대한 제어/관리용 데이터 구조; 및Data structures for control / management of the ports; And
상기 포트 처리 모듈을 포함하여 이루어진다.It comprises the port processing module.
본 발명에 있어서, 상기 포트에 대한 제어/관리용 데이터 구조가 각 포트별로 할당되는 것이 바람직하다.In the present invention, it is preferable that a control / management data structure for the port is allocated for each port.
상기한 다른 목적을 달성하기 위한, 본 발명에 따른 여러 개의 통신 포트를 가지고 있는 통신 보드에서 독립적으로 각각의 포트를 제어/관리하는 방법의 바람직한 일 실시예는,In order to achieve the above object, a preferred embodiment of the method for controlling / managing each port independently in a communication board having a plurality of communication ports according to the present invention,
사용자가 커널 드라이버로 명령을 전달하는 단계;Transmitting a command to a kernel driver by a user;
사용자 명령이 커널 드라이버의 IOCTL 명령 처리 루틴(Routine)에서 통신 보드로 전달되는 단계;Transferring a user command from the kernel driver's IOCTL instruction processing routine to a communication board;
통신 보드의 데이터 링크 레이어(SDLC)에서 전달된 사용자 명령을 분석하여 해당 포트에 대한 제어/관리용 데이터 구조의 내용을 변경하고 해당 포트에 대해 명령을 처리하는 단계;Analyzing a user command transmitted from a data link layer (SDLC) of a communication board, changing a content of a control / management data structure for a corresponding port, and processing the command for the corresponding port;
사용자 명령에 대한 처리 결과를 커널 드라이브에 알려주는 단계; 및Informing a kernel drive of a result of processing a user command; And
커널 드라이브가 결과 내용을 사용자 프로세스에게 전달하는 단계를 포함하여 이루어진다.The kernel drive passes the result to the user process.
본 발명에 있어서, 상기 통신 보드의 데이터 링크 레이어가 해당 포트에 대해 명령을 처리하는 단계에 있어서, 사용자 명령이 활성화(Active)이면 해당 통신 포트의 제어/관리용 데이터 구조가 가리키는 해당 포트의 모든 데이터 구조를 초기화하고 제어/관리 테이블에 등록하여 포트를 활성화시키는 것이 바람직하며,In the present invention, in the step of the data link layer of the communication board processing a command for the corresponding port, if the user command is active (All), all data of the corresponding port indicated by the control / management data structure of the corresponding communication port It is desirable to activate the port by initializing the structure and registering it in the control / management table,
상기 통신 보드의 데이터 링크 레이어가 해당 포트에 대해 명령을 처리하는 단계에 있어서, 사용자 명령이 비활성화(DeActive)이면, 해당 통신 포트의 제어/관리용 데이터 구조가 가리키는 해당 포트의 모든 데이터 구조를 초기화하고 제어/관리 테이블에서 해당 포트에 대한 등록 정보를 제거하여 비활성화 하는 것이 바람직하다.In the step of processing a command for a corresponding port by the data link layer of the communication board, if a user command is inactive (DeActive), all data structures of the corresponding port indicated by the control / management data structure of the corresponding communication port are initialized. It is recommended to deactivate the registered information of the port in the control / management table.
본 발명의 구성을 도 2를 참고로 설명하면, 하나의 통신 보드가 여러 개의 통신 포트를 제공할 때 각각의 통신 포트를 독립적으로 제어하고 관리하기 위해서는 독립적으로 제어하고 관리할 제어 블럭(데이터 구조)이 필요하다.Referring to the configuration of the present invention with reference to Figure 2, when one communication board provides multiple communication ports to control and manage each communication port independently control block (data structure) to be independently controlled and managed This is necessary.
따라서 통신 보드 상에서 실행되는 데이터 링크 레이어(SDLC)에서 각각의 통신 포트에 대한 제어 또는 관리용 데이터 구조를 두어 사용자로부터 내려오는 각 통신 포트에 대한 제어 명령을 처리 할 수 있도록 경로를 열어주고, 통신 보드의 주 프로세서는 사용자 명령을 분석하여 해당 포트의 제어 또는 관리용 데이터 구조를 선택하여 해당 포트의 모든 데이터 구조를 명령의 내용에 따라 활성화 또는 비활성화(포트 재설정)를 다른 포트와 독립적으로 수행시키기 위한 것이다.Therefore, in the data link layer (SDLC) running on the communication board, a control or management data structure for each communication port is provided to open a path for processing control commands for each communication port coming down from the user. Its main processor analyzes user commands and selects a data structure for control or management of that port, enabling all data structures on that port to be activated or deactivated (port resets) independently of other ports. .
이를 위해 도 2처럼 각각의 포트에 대한 '제어/관리용 데이터 구조(P1부터 P3)'와 이의 처리 모듈을 추가하였다.To this end, as shown in FIG. 2, a control / management data structure (P1 to P3) for each port and its processing module were added.
본 발명의 동작을 도 2를 참고로 설명하면, 상기 동작은 하나의 통신 보드가 여러 개의 통신 포트를 제공하는 환경에서 사용자의 필요 상황에 따라 선택된 사용자 명령으로부터 시작된다.Referring to Fig. 2, the operation of the present invention starts with a user command selected according to a user's needs in an environment in which one communication board provides several communication ports.
이러한 사용자의 상황은The situation for these users
- 여러 개의 통신 포트 중 특정 통신 포트만을 활성화시키고자 할 때-To activate only one communication port among multiple communication ports
- 여러 개의 통신 포트 중 특정 통신 포트만을 비활성화 시키고자 할 때-To deactivate only one communication port among several communication ports
- 특정 통신 포트의 장애로 인해 해당 포트만을 재시작 시키고자 할 때 등이 있다.-There are times when you want to restart only the corresponding port due to the failure of a specific communication port.
동작의 처리순서는 다음과 같다.The processing sequence of the operation is as follows.
사용자가 중심 드라이버로 명령을 전달한다.The user passes the command to the central driver.
→ 사용자 명령은 중심 드라이버의 IOCTL 명령 처리 루틴에서 통신 보드로 전달된다.→ User commands are passed from the central driver's IOCTL command processing routine to the communication board.
→ 통신 보드의 데이터 링크 레이어는 전달된 사용자 명령을 분석하여 해당 포트에 대한 제어/관리용 데이터 구조의 내용을 변경하고 해당 포트에 대해 명령을 처리한다.→ The data link layer of the communication board analyzes the transmitted user command, changes the contents of the control / management data structure for the port, and processes the command for the port.
이때, 사용자 명령이 활성화이면, 데이터 링크 레이어는 해당 통신 포트의 제어/관리용 데이터 구조가 가리키는 해당 포트의 모든 데이터 구조를 초기화하고 제어/관리 표에 등록하여 포트를 활성화시킨다.At this time, if the user command is activated, the data link layer initializes all data structures of the corresponding port indicated by the control / management data structure of the corresponding communication port and registers the control / management table to activate the port.
사용자 명령이 비활성화이면, 데이터 링크 레이어는 해당 통신 포트의 제어/관리용 데이터 구조가 가리키는 해당 포트의 모든 데이터 구조를 초기화하고 제어/관리 표에서 해당 포트에 대한 등록 정보를 제거한다.If the user command is inactive, the data link layer initializes all data structures of the corresponding port indicated by the control / management data structure of the corresponding communication port and removes the registration information for that port from the control / management table.
→ 데이터 링크 레이어는 사용자 명령에 대한 처리 결과를 중심 드라이버로 알려주고 중심 드라이버는 결과 내용을 사용자 프로세스에게 전달한다.The data link layer informs the central driver of the result of processing a user command, and the central driver passes the result to the user process.
상기한 바와 같이 동작하는 본 발명은, 하나의 통신 보드가 여러 개의 통신 포트를 제공하는 환경에서 각각의 통신 포트가 독립적으로 사용자 명령에 의해 제어되고 관리됨으로써 동시에 사용중인 다른 통신 포트에 가해졌던 영향이 사라져서, 향상된 통신 보드의 성능을 모두 사용할 수 있으며, 사용자의 업무효율 향상 및 비용을 절감할 수 있다.According to the present invention operating as described above, in an environment in which one communication board provides several communication ports, each communication port is independently controlled and managed by a user command, thereby affecting the other communication ports in use at the same time. By disappearing, you can use all the performance of the improved communication board, improving your work efficiency and reducing your costs.
도 1 은 종래 방법에 의한 포트 제어/관리도1 is a port control / management diagram according to a conventional method
도 2 는 본 발명에 의한 포트 제어/관리도2 is a port control / management diagram according to the present invention
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019980003646A KR100464329B1 (en) | 1998-02-09 | 1998-02-09 | System and method to control / manage each port independently in communication board having multiple communication ports |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019980003646A KR100464329B1 (en) | 1998-02-09 | 1998-02-09 | System and method to control / manage each port independently in communication board having multiple communication ports |
Publications (2)
Publication Number | Publication Date |
---|---|
KR19990069404A KR19990069404A (en) | 1999-09-06 |
KR100464329B1 true KR100464329B1 (en) | 2005-04-06 |
Family
ID=37301996
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019980003646A KR100464329B1 (en) | 1998-02-09 | 1998-02-09 | System and method to control / manage each port independently in communication board having multiple communication ports |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100464329B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20190022147A (en) * | 2017-08-25 | 2019-03-06 | 국방과학연구소 | Common data link system having multi-port and network configuration using virtual interface |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100429543B1 (en) * | 2002-05-25 | 2004-04-29 | 삼성전자주식회사 | Method for processing variable number of ports in network processor |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR950020190A (en) * | 1993-12-30 | 1995-07-24 | 이헌조 | Interrupt type multiport support method |
KR950020628U (en) * | 1993-12-28 | 1995-07-26 | 금성정보통신주식회사 | SDLC data switching device in parallel common bus |
KR970049616A (en) * | 1995-12-28 | 1997-07-29 | 손기락 | Interface device of parallel processor |
-
1998
- 1998-02-09 KR KR1019980003646A patent/KR100464329B1/en not_active IP Right Cessation
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR950020628U (en) * | 1993-12-28 | 1995-07-26 | 금성정보통신주식회사 | SDLC data switching device in parallel common bus |
KR950020190A (en) * | 1993-12-30 | 1995-07-24 | 이헌조 | Interrupt type multiport support method |
KR970049616A (en) * | 1995-12-28 | 1997-07-29 | 손기락 | Interface device of parallel processor |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20190022147A (en) * | 2017-08-25 | 2019-03-06 | 국방과학연구소 | Common data link system having multi-port and network configuration using virtual interface |
KR101955986B1 (en) | 2017-08-25 | 2019-03-11 | 국방과학연구소 | Common data link system having multi-port and network configuration using virtual interface |
Also Published As
Publication number | Publication date |
---|---|
KR19990069404A (en) | 1999-09-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4606589B2 (en) | Apparatus and method for dynamically reconfiguring input / output devices | |
US6519645B2 (en) | Method and apparatus for providing configuration information using a queued direct input-output device | |
US6347341B1 (en) | Computer program product used for exchange and transfer of data having a siga vector and utilizing a queued direct input-output device | |
US6345327B1 (en) | Queuing method and apparatus for providing direct data processing access using a queued direct input-output device | |
US6976083B1 (en) | Apparatus for providing direct data processing access using a queued direct input-output device | |
US7539129B2 (en) | Server, method for controlling data communication of server, computer product | |
US6397350B1 (en) | Method of providing direct data processing access using a queued direct input-output device | |
US6345241B1 (en) | Method and apparatus for simulation of data in a virtual environment using a queued direct input-output device | |
US6401145B1 (en) | Method of transferring data using an interface element and a queued direct input-output device | |
US7702717B2 (en) | Method and apparatus for controlling management agents in a computer system on a packet-switched input/output network | |
US6321350B1 (en) | Method and apparatus for error detection using a queued direct Input-Output device | |
JP2003140994A (en) | Fire wall computer system | |
US6341321B1 (en) | Method and apparatus for providing concurrent patch using a queued direct input-output device | |
KR100464329B1 (en) | System and method to control / manage each port independently in communication board having multiple communication ports | |
US6173341B1 (en) | System and method for configuring adapters in a computer system | |
US6339803B1 (en) | Computer program product used for exchange and transfer of data having a queuing mechanism and utilizing a queued direct input-output device | |
US6345324B1 (en) | Apparatus for transferring data using an interface element and a queued direct input-output device | |
US6339801B1 (en) | Method for determining appropriate devices for processing of data requests using a queued direct input/output device by issuing a special command specifying the devices can process data | |
US6324600B1 (en) | System for controlling movement of data in virtual environment using queued direct input/output device and utilizing finite state machine in main memory with two disjoint sets of states representing host and adapter states | |
US6332171B1 (en) | Self-contained queues with associated control information for receipt and transfer of incoming and outgoing data using a queued direct input-output device | |
US6345329B1 (en) | Method and apparatus for exchanging data using a queued direct input-output device | |
US6339802B1 (en) | Computer program device and an apparatus for processing of data requests using a queued direct input-output device | |
US6697854B1 (en) | Method and apparatus for providing configuration information using a SIGA vector and utilizing a queued direct input-output device | |
JP6657910B2 (en) | Band setting method, band setting program, information processing apparatus and information processing system | |
US6345325B1 (en) | Method and apparatus for ensuring accurate and timely processing of data using a queued direct input-output device |
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: 20081107 Year of fee payment: 5 |
|
LAPS | Lapse due to unpaid annual fee |