KR0184971B1 - Data coownership - Google Patents

Data coownership Download PDF

Info

Publication number
KR0184971B1
KR0184971B1 KR1019950054778A KR19950054778A KR0184971B1 KR 0184971 B1 KR0184971 B1 KR 0184971B1 KR 1019950054778 A KR1019950054778 A KR 1019950054778A KR 19950054778 A KR19950054778 A KR 19950054778A KR 0184971 B1 KR0184971 B1 KR 0184971B1
Authority
KR
South Korea
Prior art keywords
data
main controller
controller
sub
transfer table
Prior art date
Application number
KR1019950054778A
Other languages
Korean (ko)
Other versions
KR970049718A (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 KR1019950054778A priority Critical patent/KR0184971B1/en
Publication of KR970049718A publication Critical patent/KR970049718A/en
Application granted granted Critical
Publication of KR0184971B1 publication Critical patent/KR0184971B1/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

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)
  • Small-Scale Networks (AREA)
  • Computer And Data Communications (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

본 발명은 다수의 제어장치로 구성된 다중 제어 시스템에서 상기 제어장치간에 데이터를 공유하도록 한 데이터 공유 방법에 관한 것으로서, 주제어장치에 각 제어장치간에 공유하여야 할 데이터가 등록된 데이터 전달 테이블을 형성하고, 상기 주제어장치가 주기적으로 상기 데이터 전달 테이블에 따라 데이터가 전송되도록 제어함으로써, 제어장치간에 일부의 데이터를 공유할 수 있으므로 주제어장치 및 부제어장치의 내부 메모리 사용을 보다 효율적으로 할 수 있고, 데이터의 전송 시간을 줄일 수 있으며, 부제어장치를 부가하여 시스템을 확장하고자 할 때 용이한 효과가 있다.The present invention relates to a data sharing method for sharing data between the control devices in a multi-control system consisting of a plurality of control devices, to form a data transfer table in which data to be shared between each control device is registered in the main controller, By controlling the main controller periodically to transmit data in accordance with the data transfer table, it is possible to share some data among the control apparatus, thereby making it possible to use the internal memory of the main controller and the sub-controller more efficiently. The transmission time can be reduced, and there is an easy effect when the system is to be expanded by adding a sub controller.

Description

데이터 공유 방법(A method of jointly accessing a data)A method of jointly accessing a data

제1도는 하나의 주제어장치와 부제어장치가 하나의 네트워크를 통해 연결된 일반적인 다중 제어 시스템을 도시한 상태도.1 is a state diagram showing a general multiple control system in which one main control unit and a sub control unit are connected through one network.

제2도는 본 발명에 의한 데이터 전달 테이블의 형태를 도시한 도면.2 is a diagram showing the form of a data transfer table according to the present invention.

제3a도는 주제어장치의 지령을 도시한 구성도,3A is a configuration diagram showing a command of the main controller;

b도는 부제어장치의 응답을 도시한 구성도.b is a block diagram showing the response of the sub-controller.

제4도는 시간별로 데이터들이 공유되는 상태를 도시한 상태도이다.4 is a state diagram illustrating a state in which data is shared by time.

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

1 : 주제어장치 2, 3, 4 : 부제어장치1: main controller 2, 3, 4: sub-control device

본 발명은 데이터 공유 방법에 관한 것으로서, 특히 다수의 제어장치로 구성된 다중 제어 시스템에서 상기 제어장치간에 데이터를 공유하도록 한 데이터 공유 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data sharing method, and more particularly, to a data sharing method for sharing data between control devices in a multiple control system composed of a plurality of control devices.

종래의 다중 제어 시스템에서는 주제어장치와 부제어장치가 필요한 모든 데이터를 각각의 내부 메모리에 저장하여 사용하거나, 각 부제어장치의 데이터를 주제어장치에서 관리 및 보관하고 상기 부제어장치에서 필요할 때마다 주제어장치로부터 데이터를 전송받아 사용하도록 되어 있다.In the conventional multi-control system, all data required for the main controller and the sub-controller are stored and used in each internal memory, or data of each sub-controller is managed and stored in the main controller, and the main controller is needed whenever necessary in the sub-controller. It receives data from the device and uses it.

그러나, 상기한 종래 기술은 주제어장치 및 부제어장치의 내부 메모리에 동일한 내용의 데이터가 저장되어 있기 때문에 내부 메모리의 사용이 비효율적이고, 부제어장치를 추가하여 시스템을 확장하고자 할 때 메모리의 제약을 받게 되는 문제점이 있었다.However, the above-described conventional technology is inefficient in using the internal memory because data of the same contents is stored in the internal memory of the main controller and the sub-controller, and the limitation of the memory when the system is expanded by adding the sub-controller is limited. There was a problem.

아울러, 부제어장치는 필요할 때마다 주제어장치의 내부 메모리로부터 필요한 모든 데이터를 전송받아 사용하여야 하므로 전송 시간이 지연됨과 아울러 전송 선로가 혼잡하게 되는 문제점이 있었다.In addition, since the sub-controller must receive and use all necessary data from the internal memory of the main controller whenever necessary, there is a problem that the transmission time is delayed and the transmission line is congested.

따라서, 본 발명은 상기한 종래 기술의 문제점을 해결하기 위해 안출된 것으로서, 주제어장치 및 부제어장치의 내부 메모리 사용을 보다 효율적으로 하도록 하고, 제어장치간에 일부의 데이터를 공유하도록 함으로써 데이터의 전송 시간을 줄이며, 시스템의 확장이 용이한 데이터 공유 방법을 제공함에 그 목적이 있다.Accordingly, the present invention has been made to solve the above-mentioned problems of the prior art, and more efficient use of the internal memory of the main controller and the sub-controller, and by sharing a part of the data between the control apparatus to transfer the data The purpose of the present invention is to provide a data sharing method that is easy to extend the system.

상기한 목적을 달성하기 위한 본 발명은, 주제어장치와 다수의 부제어장치 간에 데이터를 공유하는 데이터 공유방법에 있어서, 상기 주제어장치에는 각 제어장치간에 공유하여야 할 데이타가 등록된 데이터 전달 테이블이 형성되어 있으며, 상기 주제어장치가 주기적으로 상기 데이타 전달 테이블에 따라 데이타를 전송되도록 제어하는 것을 특징으로 한다.In order to achieve the above object, the present invention provides a data sharing method for sharing data between a main controller and a plurality of sub-controllers, wherein the main controller is provided with a data transfer table in which data to be shared between the control apparatuses is registered. The main controller periodically controls to transmit data according to the data transfer table.

이하, 첨부된 도면을 참조하여 본 발명의 일실시예를 보다 상세하게 설명하면 다음과 같다.Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

제1도는 하나의 주제어장치(1)와 다수의 부제어장치(2,3,4)가 하나의 네트워크를 통해 연결되어 있는 상태를 도시하고 있는 바, 상기한 제어장치는 각각 내부 데이타 영역(MA1,MA1,MA2…,MAN)을 가지고 있다.FIG. 1 shows a state in which one main controller 1 and a plurality of sub-control devices 2, 3, and 4 are connected through one network. Each of the control devices includes an internal data area MA1. , MA1, MA2…, MAN).

이때 상기한 각 제어장치는 다른 제어장치의 데이타 영역을 일부분 공유하는 바, 이는 주제어장치(1)에 각 제어장치간에 공유하여야 할 데이타가 등록된 데이타 전달 테이블을 형성하고, 상기 주제어장치(1)가 주기적으로 상기 데이터 전달 테이블에 따라 데이터가 전송되도록 제어함으로써 실현할 수 있다.At this time, each of the control devices share a part of the data area of the other control device, which forms a data transfer table in which data to be shared between the control devices is registered in the main control device 1, and the main control device 1 Can be realized by controlling data to be transmitted periodically according to the data transfer table.

상기한 데이타 전달 테이블은 제2도에 도시된 바와 같이 전송측 및 수신측 제어장치의 내부 데이터 영역 번호, 전달될 데이터의 선두어드레스, 전달될 데이터의 크기 및 전송 주기가 저장되어 있으며, 상기의 내용들은 변경 가능하도록 저장되어 있다.As shown in FIG. 2, the data transfer table stores the internal data area number of the transmitting and receiving control apparatus, the head address of the data to be transmitted, the size of the data to be transmitted, and the transmission period. They are stored to be modifiable.

즉, 주제어장치(1)는 상기한 데이터 전달 테이블을 감지하고 있다가 전송 주기마다 주기적으로 제3a도와 같은 포맷의 지령을 출력하고, 상기한 지령을 받은 부제어장치는 제3b도와 같은 포맷의 응답을 출력한다.That is, the main controller 1 detects the data transmission table and periodically outputs a command having a format as shown in FIG. 3a at every transmission period, and the sub-controller receiving the command responds with a format as shown in FIG. 3b. Outputs

상기 주제어장치의 지령은 데이터를 전송하여야 할 전송측 제어장치의 내부 데이터 영역번호(b), 상기 데이터가 수신되어야 할 수신측 제어장치의 내부데이터 영역번호(c), 데이터가 저장되어 있는 전송측의 선두 어드레스(d), 상기 데이터의 크기(e) 등으로 구성되어 있다.The command of the main controller is an internal data area number (b) of the transmission side control device to which data is to be transmitted, an internal data area number (c) of the reception side control device to which the data is to be received, and a transmission side on which data is stored. And the head address d of the data, the size e of the data, and the like.

상기한 주제어장치의 지령이 부제어장치로 전송되면, 각 부제어장치는 전송측 제어장치의 내부데이터 영역번호(b)를 확인하여 자신의 내부 데이터 영역 번호와 동일하면 자신의 내부 데이터 영역에서 선두어드레스부터 데이터 크기 만큼의 데이터를 수신측 부제어장치로 전송한다.When the command of the main controller is transmitted to the sub-controller, each sub-controller checks the internal data area number (b) of the transmission-side control device, and if it is the same as its internal data area number, the head of the internal data area is the first in the internal data area. The data of the data size from the address is transmitted to the receiving sub-control device.

이때, 전송되는 부제어장치의 응답은 제3b도에 도시된 바와 같이 수신측 내부 데이터 영역 번호(h), 데이터가 전송될 선두 어드레스(i), 데이터(j), 상기 데이터의 크기(k) 등으로 구성되어 있다.At this time, the response of the sub-controller to be transmitted is as shown in Fig. 3b the internal data area number (h) of the receiving side, the head address (i) to which the data is to be transmitted, the data (j), and the size (k) of the data. And the like.

상기와 같이 부제어장치의 응답이 전송되면 각 제어장치는 상기한 수신측 내부 데이터 영역 번호를 확인하여 자신의 내부 데이터 영역번호와 동일하면 자신의 내부 데이터 영역의 선두 어드레스에 상기 데이터의 크기만큼 상기 데이터를 기록하게 된다.When the response of the sub-control device is transmitted as described above, each control device checks the internal data area number of the receiving side, and if the same as the internal data area number of the receiving device, the control device sends the head address of its internal data area by the size of the data. The data will be recorded.

여기서, 상기 주제어장치는 데이터 전달 테이블에 저장된 전송주기에 따라 지령을 출력하는 바, 제4도에 도시된 바와 같이 전송주기(T1,T2,T3)마다 주기적으로 주제어장치의 지령을 출력한다.Here, the main controller outputs a command according to the transmission period stored in the data transfer table, and as shown in FIG. 4, the main controller periodically outputs the command of each main transmission device T1, T2, and T3.

즉, 제2도의 데이터 전달 테이블에서 T1의 전송 주기를 가지는 처리명 A는 T1을 주기로 데이터를 공유하게 되고, T2의 전송 주기를 가지는 처리명 B, C, D는 T2를 주기로 데이터를 공유하게 되며, T3의 전송 주기를 가지는 처리명 E는 T3을 주기로 데이터를 공유하게 된다. 여기서, 자주 변하고 중용한 데이터의 전송주기는 T1과 같이 짧게 하고 긴급도를 요하지 않는 데이터의 전송 주기는 T3과 같이 길게하면 네트워크 상에 혼잡을 줄일 수가 있다.That is, in the data transfer table of FIG. 2, the process name A having a transmission period of T1 shares data with a period of T1, and the processing names B, C, and D having a transmission period of T2 share data with a period of T2. The processing name E having a transmission period of T3 shares data with the period T3. In this case, if the transmission period of frequently changed and important data is shortened as T1 and the transmission period of data which does not require urgentness is long as T3, congestion on the network can be reduced.

이상과 같이 본 발명은 주제어장치에 각 제어장치간에 공유하여야 할 데이터가 등록된 데이터 전달 테이블을 형성하고, 상기 주제어 장치가 주기적으로 상기 데이터 전달 테이블에 따라 데이터가 전송되도록 제어함으로써, 제어장치간에 일부의 데이터를 공유할 수 있으므로 주제어장치 및 부제어장치의 내부 메모리 사용을 보다 효율적으로 할 수 있고, 데이터의 전송 시간을 줄일 수 있으며, 부제어장치를 부가하여 시스템을 확장하고자 할 때 용이한 효과가 있다.As described above, the present invention forms a data transfer table in which data to be shared between the control apparatuses is registered in the main controller, and the main controller periodically controls data to be transmitted according to the data transfer table, thereby partially controlling the controller. Can share the data of the controller, so that the internal memory of the main controller and the sub-controller can be used more efficiently, the data transmission time can be reduced, and when the system is expanded by adding the sub-controller, have.

Claims (2)

주제어장치와 다수의 부제어장치간에 데이터를 공유하는 데이터 공유 방법에 있어서, 상기 주제어장치에는 각 제어장치간에 공유하여야 할 데이터가 등록된 데이터 전달 테이블이 형성되어 있으며, 상기 주제어장치가 주기적으로 상기 데이터 전달 테이블에 따라 데이터가 전송되도록 제어하는 것을 특징으로 하는 데이터 공유 방법.In a data sharing method for sharing data between a main controller and a plurality of sub-controllers, the main controller has a data transfer table in which data to be shared between control devices is registered, and the main controller periodically And controlling data to be transmitted according to the forwarding table. 제1항에 있어서, 상기한 데이타 전달 테이블은, 전송측 및 수신측 제어장치의 내부 데이터 영역 번호, 전달될 데이터의 선두 어드레스, 전달될 데이터의 크기 및 전송 주기가 저장되어 있으며, 상기의 내용들은 변경 가능하도록 저장되어 있는 것을 특징으로 하는 데이터 공유 방법.The data transfer table of claim 1, wherein an internal data area number of a transmitting side and a receiving side control apparatus, a head address of data to be transferred, a size of data to be transferred, and a transmission period are stored. Data sharing method characterized in that it is stored to be changeable.
KR1019950054778A 1995-12-22 1995-12-22 Data coownership KR0184971B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950054778A KR0184971B1 (en) 1995-12-22 1995-12-22 Data coownership

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950054778A KR0184971B1 (en) 1995-12-22 1995-12-22 Data coownership

Publications (2)

Publication Number Publication Date
KR970049718A KR970049718A (en) 1997-07-29
KR0184971B1 true KR0184971B1 (en) 1999-05-15

Family

ID=19443335

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950054778A KR0184971B1 (en) 1995-12-22 1995-12-22 Data coownership

Country Status (1)

Country Link
KR (1) KR0184971B1 (en)

Also Published As

Publication number Publication date
KR970049718A (en) 1997-07-29

Similar Documents

Publication Publication Date Title
US6850992B2 (en) Address assignment method for at least one bus device that has recently been connected to a bus system
KR890006019A (en) Network system using token passing bus method
KR850700200A (en) Circuit switching system
KR880014760A (en) Communication processor
MY134779A (en) Communication system, communication method and communication apparatus
KR100337967B1 (en) Audio-active communication stations and communication system with audio-active communication stations
KR0184971B1 (en) Data coownership
KR940017431A (en) Locale communication system with multiple data channels and apparatus for use in the system
US7149786B1 (en) Network for data transmission
US5528768A (en) Multiprocessor communication system having a paritioned main memory where individual processors write to exclusive portions of the main memory and read from the entire main memory
JPH0730576A (en) Transmission system
JPH01129548A (en) Communication controller
JP3067159B2 (en) Method and apparatus for controlling signal direction of packet switching apparatus
KR100214147B1 (en) Embodiment apparatus for multi-communication processor
JP3011051B2 (en) Overload test equipment for centralized maintenance management system
JPS61108239A (en) Method for transferring right of communication master station
DE69422437D1 (en) ATM network for a communication system
JPH05327730A (en) Network connecting device
JP2566350B2 (en) Data way device
KR0156390B1 (en) High speed transmitting interface circuit using multiple memory
KR940013056A (en) Communication circuit and method between devices in home automation system
JPS63113714A (en) Communication network for closed area
KR960003205A (en) Hierarchical Road Traffic Network and Protocol
JPS63151141A (en) Communication control equipment
JPS61260350A (en) Parallel processing control system

Legal Events

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

Payment date: 20011101

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee