KR20000012895A - Inter processor communication(ipc) method in multiple processor system - Google Patents

Inter processor communication(ipc) method in multiple processor system Download PDF

Info

Publication number
KR20000012895A
KR20000012895A KR1019980031467A KR19980031467A KR20000012895A KR 20000012895 A KR20000012895 A KR 20000012895A KR 1019980031467 A KR1019980031467 A KR 1019980031467A KR 19980031467 A KR19980031467 A KR 19980031467A KR 20000012895 A KR20000012895 A KR 20000012895A
Authority
KR
South Korea
Prior art keywords
self
data
receiving
shelf
mutual
Prior art date
Application number
KR1019980031467A
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 KR1019980031467A priority Critical patent/KR20000012895A/en
Publication of KR20000012895A publication Critical patent/KR20000012895A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/167Interprocessor communication using a common memory, e.g. mailbox

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE: Inter processor communication method in a multiple processor system is a communication method between two shelves, and makes each board of a different shelf transmit its own operation state to another shelf. CONSTITUTION: The inter processor communication method in a multiple processor system transmits (S205) a data from inter processor client within a transmitting shelf to another inter processor server within a receiving shelf, receives (S213) the transmitted data through the inter processor server within the receiving shelf, and performs (S215) a desired working by using the received data. Thereby, a communication working between shelves is possible, an inter shelf communication is also possible.

Description

다중 프로세서 시스템에서의 셀프간의 통신 방법How to communicate between self in multiprocessor system

본 발명은 다중 프로세서 시스템에서의 셀프(shelf)간의 통신 방법에 관한 것이다. 특히, 두 개의 셀프를 가지고 있는 다중 프로세서 시스템에서 두 셀프간의 통신으로서 서로 다른 셀프의 각 보드가 자신의 동작 상태 및 정보를 다른 셀프에게 보내는 방법에 관한 것이다.The present invention relates to a method of communication between shelves in a multiprocessor system. In particular, in a multi-processor system with two shelves, it is about communication between two shelves, and how each board of a different shelf sends its operation status and information to another shelf.

두 개의 셀프로 구성된 다중 프로세서 시스템에서 각 셀프내부의 데이터의 전송은 상호 프로세서 통신(Inter Processor Communication: IPC)을 통하여 이루어 졌으나, 두 셀프간에 데이터를 전송할 수는 없었다. 두 개의 셀프로 구성된 시스템에서 임의의 장치에서 두 셀프중 한 개의 셀프만이 처리할 수 있는 장치가 있을 경우, 다른 셀프가 그 장치를 이용해야 할 필요가 있을 때 자신의 데이터를 그 장치를 처리할 수 있는 셀프로 전송할 수 없으므로 시스템의 중대한 결점으로 작용할 수 있다.In a multiprocessor system consisting of two shelves, data transfer in each shelf was performed through Inter Processor Communication (IPC), but data could not be transferred between the two shelves. In a system with two shelves, if any device has a device that can be handled by only one of the two shelves, the device can handle its data when the other shelf needs to use the device. It can't be sent as a self, which can be a major drawback of the system.

본 발명은 상기된 바와 같은 문제점을 해결하기 위한 것으로, 두 개의 셀프로 구성된 다중 프로세서 시스템에서, 각각의 셀프가 다른 셀프에 정보를 보내기를 원할 때 자신의 정보를 다른 셀프로 보내기 위한 상호 셀프 통신(Inter Shelf Communication)을 구현하는 방법을 목적으로 한다.The present invention is to solve the problems as described above, in a multi-processor system consisting of two shelves, each self to send their information to the other self when each self wants to send information to the other self ( The purpose is to implement Inter Shelf Communication.

본 발명의 다른 목적과 장점은 아래의 발명의 상세한 설명을 읽고 아래의 도면을 참조하면 보다 명백해질 것이다.Other objects and advantages of the present invention will become more apparent from the following detailed description of the invention and the accompanying drawings.

도 1 은 본 발명의 실시예에 의한 다중 프로세서 시스템의 셀프간 통신의 구성을 나타낸 도면이다.1 is a diagram showing the configuration of self-interest communication in a multiprocessor system according to an embodiment of the present invention.

도 2 는 본 발명의 실시예에 의한 다중 프로세서 시스템의 셀프간 통신의 절차를 나타낸 흐름도이다.2 is a flowchart illustrating a procedure of inter-self communication of a multiprocessor system according to an embodiment of the present invention.

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

101: 발신측 버퍼링 블록101: outgoing buffering block

103: 태스크 A103: Task A

105: 발신측 송신부105: calling party transmitting unit

107: 발신측 수신부107: calling party receiving section

109: 발신측 상호 셀프 통신 클라이언트부109: calling party mutual self communication client unit

111: 발신측 버퍼링 반환 블록111: Outgoing buffering return block

113: 전송매체113: transmission medium

115: 수신측 상호 셀프 통신 서버부115: mutual self-communication server unit on the receiving side

117: 수신측 송신부117: receiving side transmitting unit

119: 수신측 수신부119: receiving side receiving unit

121: 태스크 B121: Task B

123: 수신측 버퍼링 반환 블록123: Receive side buffering return block

125: 수신측 버퍼링 블록125: receive buffering block

상기와 같은 목적을 달성하기 위한 본 발명에 있어서, 다중 프로세서 시스템에서의 셀프간의 통신 방법의 바람직한 실시예는In the present invention for achieving the above object, a preferred embodiment of the method of communication between self in a multiprocessor system

발신측 셀프내에 있는 상호 프로세서 클라이언트부에서 수신측 셀프내에 있는 상호 셀프 서버부로 데이터를 전송하는 단계;Transmitting data from the mutual processor client portion in the calling side shelf to the mutual self server portion in the receiving side shelf;

상기 전송된 데이터를 수신측 셀프내에 있는 상호 셀프 서버부를 통하여 수신하는 단계; 및Receiving the transmitted data through a mutual self server unit within a receiving self; And

상기 수신된 데이터를 이용하여 원하는 작업을 수행하는 단계를 구비하는 것이 특징이다.And performing a desired task by using the received data.

본 발명의 다른 실시예에 있어서, 상기 발신측 셀프내에 있는 상호 프로세서 클라이언트부에서 수신측 셀프내에 있는 상호 셀프 서버부로 데이터를 전송하는 단계는,In another embodiment of the present invention, the step of transmitting data from the mutual processor client unit in the calling party shelf to the mutual self server unit in the receiving party shelf,

원하는 크기에 맞는 버퍼를 얻는 단계;Obtaining a buffer suitable for a desired size;

발신측 셀프내에 있는 상호 셀프 통신 클라이언트부로 데이터를 송신하는 단계;Transmitting data to a mutual self communication client portion in the originating self;

상기 클라이언트부는 수신측 상호 셀프 통신 서버부로 데이터를 전송하는 단계; 및Transmitting, by the client unit, data to a mutual communication server unit receiving side; And

상기 전송이 완료됨 후 상기 버퍼를 반환하는 단계를 더 구비하는 것이 바람직하며,It is preferable to further include the step of returning the buffer after the transmission is completed,

상기 수신된 데이터를 이용하여 원하는 작업을 수행하는 단계는,Performing a desired task using the received data,

수신측 셀프내의 상호 셀프 통신 서버부가 데이터를 수신하는 단계;Receiving data by mutual self-communication server units in the receiving self;

상기 수신된 데이터에 맞는 버퍼를 얻는 단계; 및Obtaining a buffer suitable for the received data; And

상기 버퍼를 이용하여 상기 데이터를 상호 셀프 통신 서버부로부터 데이터를 수신받는 단계를 더 구비하는 것이 바람직하다.It is preferable to further comprise the step of receiving the data from the mutual self communication server unit by using the buffer.

상기 수신된 데이터를 이용하여 원하는 작업을 수행하는 단계 후에 상기 얻은 버퍼를 반환하는 것이 바람직하다.It is preferable to return the obtained buffer after performing a desired operation using the received data.

본 발명은 다양하게 변형될 수 있고, 여러 가지 형태를 취할 수 있지만, 그에 따른 특별한 실시예만 상기 도면에 도시되어 있고, 그에 대해서는 상세하게 기술될 것이다. 하지만, 본 발명은 명세서에서 언급된 특별한 형태로 한정되는 것이 아닌 것으로 이해되어야 하며, 오히려 본 발명은 첨부된 청구범위에 의해 정의된, 본 발명의 정신과 범위 내에 있는 모든 변형물, 균등물 및 대체물을 포함하는 것으로 이해되어야 한다.While the invention is susceptible to various modifications and alternative forms, only specific embodiments thereof are shown in the drawings and will be described in detail. It is to be understood, however, that the present invention is not limited to the specific forms referred to in the specification, but rather that the invention is intended to cover all modifications, equivalents, and substitutions within the spirit and scope of the invention as defined by the appended claims. It should be understood to include.

이하 첨부된 도 1 및 도 2를 참조하여 본 발명의 다중 프로세서 시스템에서의 셀프간의 통신 방법을 설명한다.Hereinafter, a method of communication between self in a multiprocessor system of the present invention will be described with reference to FIGS. 1 and 2.

도 1 은 본 발명의 실시예에 의한 다중 프로세서 시스템의 셀프간 통신의 구성을 나타낸 도면이다. 도 1을 참조하여 설명하면, 두 셀프간에 통신(Inter Shelf Communication: ISC)은 자신의 셀프에서 데이터를 받아서 원한는 태스크로 수신 및 송신하는 상호 셀프 통신 클라이언트부(109) 및 서버부(115), 각 셀프 내부에서 상호 셀프 통신 데이터를 전송하는 내부 전송부(101)(105)(107)으로 구성된다. 내부 전송 부분은 데이터의 크기에 따라 버퍼를 얻는 버퍼링 블록(get_buffer)(101) (125), 셀프 내부에서 데이터를 전송하는 송신부(105)(117), 셀프 내부에서 전송된 데이터를 수신하는 수신부(107)(119), 사용된 버퍼를 반환하는 버퍼링 반환 블록(Return_buffer)(111)(123)로 구성되어 있다.1 is a diagram showing the configuration of self-interest communication in a multiprocessor system according to an embodiment of the present invention. Referring to Figure 1, the Inter Shelf Communication (ISC) is a mutual self communication client unit 109 and server unit 115, each receiving data from the self and receive and transmit to the desired task, each It consists of internal transmitters 101, 105 and 107 for transmitting mutual self communication data within the self. The internal transmission portion includes a buffering block (get_buffer) 101 and 125 for obtaining a buffer according to the size of the data, a transmitter 105 and 117 for transmitting data in the shelf, and a receiver for receiving data transmitted in the shelf. 107) 119, and a buffering return block (Return_buffer) (111) 123 for returning the used buffer.

도 2 는 본 발명의 실시예에 의한 다중 프로세서 시스템의 셀프간 통신의 절차를 나타낸 흐름도이다.2 is a flowchart illustrating a procedure of inter-self communication of a multiprocessor system according to an embodiment of the present invention.

이에 다중 프로세서 시스템에서 셀프간의 통신 절차를 설명하면, 우선 태스크 A는 먼저 수신측 버퍼링 블록(get_buffer)(101)을 통하여 원하는 데이터의 크기에 맞는 메모리를 할당받고(S201), 발신측 송신부(105)를 통하여 셀프의 내부에 있는 상호 셀프 통신 클라이언트부(109)로 데이터를 전송한다(S203). 발신측 셀프의 상호 셀프 통신 클라이언트부(109)는 태스크 A에서 보내진 데이터를 발신측 수신부(107)를 통하여 수신하고, 상기와 같이 수신된 데이터를 전송매체(113)를 통하여 수신측 셀프로 전송한다(S205). 그리고 전송이 완료된 후 상기 버퍼를 반환한다(S207).In the multiprocessor system, a communication procedure between the self is described. First, task A is first allocated a memory corresponding to a desired data size through the receiving buffering block (get_buffer) 101 (S201) and the transmitting transmitter 105. The data is transmitted to the mutual self communication client unit 109 in the self through S203. The mutual self communication client unit 109 of the calling party self receives the data sent from task A through the calling party receiving unit 107 and transmits the received data to the receiving self through the transmission medium 113 as described above. (S205). After the transmission is completed, the buffer is returned (S207).

수신측 상호 셀프 통신 서버부(115)가 상기 데이터를 수신하고(S209), 태스크 B로 데이터를 전송하기 위하여 버퍼링 블록(125)를 통하여 메모리를 할당한다(S211). 상기 할당된 메모리에다가 태스크 B로 데이터를 전송한다. 태스크 B는 수신측 수신부(119)를 이용하여 데이터를 수신하고(S213), 수신된 데이터를 이용하여 원하는 작업을 수행한(S215) 후, 버퍼링 반환 블록(123)을 통해 할당된 메모리를 반환한다(S217).The mutual mutual communication server 115 of the receiving side receives the data (S209) and allocates memory through the buffering block 125 to transmit the data to the task B (S211). The data is transferred to task B in addition to the allocated memory. Task B receives the data using the receiving side receiving unit 119 (S213), performs a desired operation using the received data (S215), and returns the allocated memory through the buffering return block 123. (S217).

상기와 같이 동작하는 본 발명은, 각각의 셀프가 다른 셀프에 정보를 보내는 작업이 가능하여 상호 셀프 통신의 수행이 가능하게 하는 효과를 얻었다.The present invention operating as described above has the effect of enabling each self to send information to the other self to perform mutual self communication.

Claims (4)

발신측 셀프내에 있는 상호 프로세서 클라이언트부에서 수신측 셀프내에 있는 상호 셀프 서버부로 데이터를 전송하는 단계;Transmitting data from the mutual processor client portion in the calling side shelf to the mutual self server portion in the receiving side shelf; 상기 전송된 데이터를 수신측 셀프내에 있는 상호 셀프 서버부를 통하여 수신하는 단계; 및Receiving the transmitted data through a mutual self server unit within a receiving self; And 상기 수신된 데이터를 이용하여 원하는 작업을 수행하는 단계를 포함하는, 다중 프로세서 시스템에서의 셀프간의 통신 방법.And performing a desired task by using the received data. 제 1 항에 있어서, 상기 발신측 셀프내에 있는 상호 프로세서 클라이언트부에서 수신측 셀프내에 있는 상호 셀프 서버부로 데이터를 전송하는 단계는,2. The method of claim 1, wherein the step of transmitting data from the cross processor client portion in the originating shelf to the mutual self server portion in the receiving side, 발신측 셀프내에 있는 상호 프로세서 서버부에서 수신측 셀프내에 있는 상호 셀프 클라이언트부로 데이터를 전송하는 단계;Transmitting data from the mutual processor server portion in the calling side shelf to the mutual self client portion in the receiving side shelf; 상기 전송된 데이터를 수신측 셀프내에 있는 상호 셀프 서버부를 통하여 수신하는 단계; 및Receiving the transmitted data through a mutual self server unit within a receiving self; And 상기 수신된 데이터를 이용하여 원하는 작업을 수행하는 단계를 더 포함하는, 다중 프로세서 시스템에서의 셀프간의 통신 방법.And performing a desired task using the received data. 제 1 항에 있어서, 상기 수신된 데이터를 이용하여 원하는 작업을 수행하는 단계는,The method of claim 1, wherein performing a desired task using the received data comprises: 수신측 셀프내의 상호 셀프 통신 서버부가 데이터를 수신하는 단계;Receiving data by mutual self-communication server units in the receiving self; 상기 수신된 데이터에 맞는 버퍼를 얻는 단계; 및Obtaining a buffer suitable for the received data; And 상기 버퍼를 이용하여 상기 데이터를 상호 셀프 통신 서버부로부터 데이터를 수신받는 단계를 더 포함하는, 다중 프로세서 시스템에서의 셀프간의 통신 방법.And receiving the data from the mutual self communication server unit by using the buffer. 제 1 항에 있어서, 상기 수신된 데이터를 이용하여 원하는 작업을 수행하는 단계 후에 상기 얻은 버퍼를 반환하는, 다중 프로세서 시스템에서의 셀프간의 통신 방법.The method of claim 1, wherein the obtained buffer is returned after performing a desired task using the received data.
KR1019980031467A 1998-08-03 1998-08-03 Inter processor communication(ipc) method in multiple processor system KR20000012895A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980031467A KR20000012895A (en) 1998-08-03 1998-08-03 Inter processor communication(ipc) method in multiple processor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980031467A KR20000012895A (en) 1998-08-03 1998-08-03 Inter processor communication(ipc) method in multiple processor system

Publications (1)

Publication Number Publication Date
KR20000012895A true KR20000012895A (en) 2000-03-06

Family

ID=19546212

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980031467A KR20000012895A (en) 1998-08-03 1998-08-03 Inter processor communication(ipc) method in multiple processor system

Country Status (1)

Country Link
KR (1) KR20000012895A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100442688B1 (en) * 2001-09-04 2004-08-02 삼성전자주식회사 Interprocess communication method and apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100442688B1 (en) * 2001-09-04 2004-08-02 삼성전자주식회사 Interprocess communication method and apparatus

Similar Documents

Publication Publication Date Title
US5941956A (en) Network system supporting network communication among temporarily connected mobile computers and flexible file sharing among computers
HK1071648A1 (en) Mobile access to lightweight directory access protocol (ldap)
KR101850351B1 (en) Method for Inquiring IoC Information by Use of P2P Protocol
WO2001044938A3 (en) Federated operating system for a server
SE9802098D0 (en) A method and a system for transmitting a cookie
KR102129456B1 (en) MQTT protocol based server system in internet of things environment
EA200000508A1 (en) FILE TRANSFER SYSTEM
DE60231988D1 (en) Transmission of data packets to multiple destination addresses
CA2502295A1 (en) An ornament apparatus, system and method
GB2179225A (en) Peripheral bus
DE60142152D1 (en) Virtualization of I / O adapter resources
RU94036759A (en) Method for processing of credit requests and device which implements said method
KR100311000B1 (en) User participational webserver and communication method between multi-users
KR20000012895A (en) Inter processor communication(ipc) method in multiple processor system
ATE354129T1 (en) DMA CONTROL SYSTEM WITH REAL-TIME DATA TRANSFER CAPABILITIES
KR840004996A (en) Satellite communication system of computer network
CN115766044A (en) Communication method based on user mode protocol stack and corresponding device
CN101820434A (en) Transmission method, system and peer nodes of peer network media
CA2325539A1 (en) Resource interface unit for telecommunications switching node
KR102345050B1 (en) Information sharing system and information sharing method using the system
GB2217561A (en) Data transfer method
JP3176199B2 (en) Server client system
JPH01129548A (en) Communication controller
JPH05324574A (en) Inter-processor communication system
KR20010004954A (en) Method for interlocking channel using multi-server in push system

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination