KR100446568B1 - Communication control method and electronic device - Google Patents

Communication control method and electronic device Download PDF

Info

Publication number
KR100446568B1
KR100446568B1 KR1019960052190A KR19960052190A KR100446568B1 KR 100446568 B1 KR100446568 B1 KR 100446568B1 KR 1019960052190 A KR1019960052190 A KR 1019960052190A KR 19960052190 A KR19960052190 A KR 19960052190A KR 100446568 B1 KR100446568 B1 KR 100446568B1
Authority
KR
South Korea
Prior art keywords
command
vtr
event
electronic device
response
Prior art date
Application number
KR1019960052190A
Other languages
Korean (ko)
Other versions
KR970024765A (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 소니 가부시끼 가이샤
Publication of KR970024765A publication Critical patent/KR970024765A/en
Application granted granted Critical
Publication of KR100446568B1 publication Critical patent/KR100446568B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication

Abstract

제어기가 타겟을 제어할 때, 쓸모 없는 통신은 제거되고 동시에 더 쉽게 제어가 이루어진다. 퍼스널 컴퓨터가 REWIND 실행을 요구하는 명령을 VTR에 보내면, VTR은 그 요구에 대해 OK를 나타내는 응답을 보내며 동시에 내부의 기록/재생 시스템에서 REWIND를 시작한다. 메카모드(mechamode)가 REWING에서 STOP으로 변경되면 VRT은 이벤트(event)를 발생하고, 퍼스널 컴퓨터에 그 변경을 보고한다. 이 이벤트를 수신하면, 퍼스널 컴퓨터는 메카모드를 PLAY로 설정하라고 요구하는 명령을 즉시 VTR에 보낸다. 이 명령을 수신하면 VTR은 이 명령에 대해 OK를 나타내는 응답을 보내고, 또한 기록/재생 시스템의 모드를 PLAY로 설정한다.When the controller controls the target, useless communication is removed and at the same time easier control is achieved. When the personal computer sends a command to the VTR requesting REWIND execution, the VTR sends a response indicating OK to the request and simultaneously starts the REWIND in the internal recording / reproducing system. When the mechamode changes from REWING to STOP, the VRT generates an event and reports the change to the personal computer. Upon receiving this event, the personal computer immediately sends a command to the VTR requesting that the mecha mode be set to PLAY. Upon receiving this command, the VTR sends a response indicating OK to this command and also sets the mode of the recording / reproducing system to PLAY.

Description

통신 제어 방법 및 전자 장치Communication control method and electronic device

본 발명은 예를 들어 IEEE-1394를 따른 직렬 버스(serial bus)(이하로부터 IEEE 1394 직렬 버스라 칭함)와 같은 버스 내에 포함된 제어 신호 및 정보 신호를 전송하는 통신 제어 버스에 의해 상호 접속되는 복수의 전자 장치들간을 통신시키는 시스템에 관한 것이며, 특히 유용하지 못한 통신을 제거하고 전자 장치가 다른 전자 장치의 동작을 제어할 때 제어를 보다 손쉽게 하는 통신 제어 방법 및 전자 장치에 관한 것이다.The present invention relates to a plurality of interconnected by a communication control bus for transmitting control signals and information signals included in a bus such as, for example, a serial bus according to IEEE-1394 (hereinafter referred to as an IEEE 1394 serial bus). TECHNICAL FIELD The present invention relates to a system for communicating between electronic devices, and more particularly, to a communication control method and an electronic device that eliminates communication that is not useful and makes the control easier when the electronic device controls the operation of another electronic device.

복수의 전자 장치가 제어 신호 및 정보 신호를 전송하는 IEEE-1394 직렬 버스 등의 통신 제어 버스를 통해 상호 접속되어 있고 정보 신호 및 제어 신호가 이들 전자 장치들간에서 통신되는 시스템이 고려된다.Consider a system in which a plurality of electronic devices are interconnected via a communication control bus such as an IEEE-1394 serial bus that transmits control signals and information signals, and information signals and control signals are communicated between these electronic devices.

도 9는 이와 같은 시스템의 예를 도시한 것이다. 이 시스템은 하드디스크 유닛(1), 개인용 컴퓨터(2), 텔레비전 수상기(이하부터 TV라 칭함)(3), 비디오 테이프 레코더(이하부터, VTR 이라 칭람)(4) 및 세트 톱 박스(set top box)(5)를 구비한다. 게다가, 하드디스크 유닛(1) 및 개인용 컴퓨터(2) 및 VTR(4), VTR(4) 및 TV(3), 그리고 VTR(4) 및 세트 톱 박스(5)는 IEEE 1394 시리얼 버스(6 내지 9) 각각에 의해 상호 접속되어 있다. 여기서, #A 내지 #E는 하드디스크 유닛(1), 개인용 컴퓨터(2), TV(3), VTR(4) 및 세트 톱 박스(5)로 구성된 시스템상의 노드 IDs 각각을 표시한다.9 shows an example of such a system. The system includes a hard disk unit 1, a personal computer 2, a television receiver (hereinafter referred to as TV) 3, a video tape recorder (hereinafter referred to as VTR) 4 and a set top box. box) 5. In addition, the hard disk unit 1 and the personal computer 2 and the VTR 4, the VTR 4 and the TV 3, and the VTR 4 and the set top box 5 are connected to the IEEE 1394 serial buses 6 to 6; 9) are interconnected by each. Here, #A to #E denote each node IDs on the system composed of the hard disk unit 1, the personal computer 2, the TV 3, the VTR 4, and the set top box 5. As shown in FIG.

시스템내의 각 전자 장치(이하부터, 장치라 칭함)에서의 신호 전송은 도 10에 도시된 바와 같은 소정의 통신 사이클(예를 들어 125㎲)마다 시분할 다중화에 의해 수행된다. 신호 전송은 사이클 마스터(cycle master)라 칭하는 전자 장치가 통신 사이클의 시작 시간을 나타내는 사이클 시작 패킷을 버스 상으로 송출할 때 시작된다.Signal transmission at each electronic device (hereinafter referred to as a device) in the system is performed by time division multiplexing every predetermined communication cycle (e.g., 125 Hz) as shown in FIG. Signal transmission begins when an electronic device called a cycle master sends out a cycle start packet on the bus indicating the start time of a communication cycle.

하나의 통신 사이클에서 통신 형태는 두 가지 타입을 포함하는데, 즉 비디오 데이터 및 오디오 데이터와 같은 정보 신호를 동시에 전송하는 ISO 통신 타입(이하부터, "isochronous"를 "Iso"라 칭함) 및 제어 명령과 같은 제어 신호를 비동기적으로 전송하는 Async 통신 타입(이하부터 "asynchronous"를 "Async"라 칭함)을 포함한다. 게다가, Iso 통신 패킷은 Async 통신 패킷 전에 전송된다. 채널 번호 1, 2, 3, ..., n을 각 Iso 통신 패킷에 할당함으로써 복수의 데이터를 구별할 수 있다. Iso 통신 패킷의 전송이 완료되기 전에, 다음 사이클 시작 패킷까지의 기간이 Async 통신 패킷을 전송하는데 사용된다.In one communication cycle, the communication type includes two types, that is, an ISO communication type (hereinafter, “isochronous” is referred to as “Iso”) and a control command that simultaneously transmit information signals such as video data and audio data. Async communication type (hereinafter, "asynchronous" is referred to as "Async") that transmits the same control signal asynchronously. In addition, the Iso communication packet is transmitted before the Async communication packet. By assigning channel numbers 1, 2, 3, ..., n to each Iso communication packet, a plurality of data can be distinguished. Before the transmission of the Iso communication packet is completed, the period until the next cycle start packet is used to transmit the Async communication packet.

Async 통신 시, 임의의 전자 장치가 다른 전자 장치에 대해 무엇인가를 요구할 때 이 임의의 장치가 사용하는 전자 장치를 명령이라 칭하는데, 패킷에 포함된 이 명령을 전송하는 측을 제어기라 칭한다. 또한, 이 명령을 수신하는 측을 타겟이라 칭한다. 이 타겟은 명령의 실행 결과 (응답이라 칭함)를 나타내는 제어 신호를 갖는 패킷을 요구가 있을 때마다 제어기로 다시 전송한다.In Async communication, when an electronic device requests something for another electronic device, the electronic device used by this arbitrary device is called a command, and the side of transmitting this command included in a packet is called a controller. In addition, the side which receives this instruction is called a target. This target sends back a packet with a control signal representing the result of the execution of the command (called a response) to the controller each time it is requested.

이들 명령 및 응답은 하나의 제어기 및 하나의 타겟 간에서 통신되고 명령을 전송함으로써 시작되어 응답을 다시 전송함으로써 완료되는 일련의 교환을 명령 처리라 칭한다. 타겟은 명령이 수신된 후 가능한 한 신속하게(예를 들어, 100ms이내) 응답을 리턴시켜야만 한다. 왜냐하면 제어기 측이 오랫동안 계속해서 대기하고 처리가 지연되고 어떤 장애 등으로 인해 응답이 리턴되지 않을 때 처리가 지체되는 것을 방지할 수 있기 때문이다.These commands and responses are communicated between one controller and one target and are initiated by sending a command and completed by sending back a response called command processing. The target must return a response as soon as possible (eg, within 100 ms) after the command is received. This is because the controller side can keep waiting for a long time and processing can be delayed when processing is delayed and no response is returned due to some failure.

제어기는 타겟에 대한 특정한 액션을 수행하거나 현재의 타겟 상태를 문의할 수 있다. 시스템내의 임의의 전자 장치는 명령 처리를 시작하여 종료할 수 있다. 즉, 임의의 장치는 제어기 또는 타겟으로서 작용할 수 있다.The controller can perform a specific action on the target or query the current target state. Any electronic device in the system can start and end command processing. In other words, any device can act as a controller or target.

도 11은 제어 신호를 포함하는 Async 통신 패킷의 구성을 도시한 것이다. 명령 및 응답은 동일한 구성을 갖는다. 도 11에서, 패킷의 데이터는 상부에서 하부로, 좌측에서 우측으로 순차적으로 전송된다.11 illustrates a configuration of an Async communication packet including a control signal. Commands and responses have the same configuration. In FIG. 11, data of a packet is sequentially transmitted from top to bottom and from left to right.

패킷은 패킷 헤더 및 데이터 블록으로 이루어져 있다. 게다가, 모든 패킷 헤더 및 데이터 블록내의 데이터 CRC, 즉 하프톤(halftone)을 인가받는 부분의 표준은 IEEE 1394에 의해 결정되고 데이터 블록의 내용은 패킷 헤더의 소스 ID로 도시된 전자 장치로부터 목적지(destination) ID로 도시된 전자 장치의 목적지 오프셋(destination offset)에 도시된 어드레스로 기록된다.A packet consists of a packet header and a data block. In addition, the standard of all the packet header and data CRC in the data block, i.e., halftone, is determined by IEEE 1394 and the contents of the data block are destined for the destination from the electronic device shown as the source ID of the packet header. ) Is recorded at an address shown in a destination offset of the electronic device shown by ID.

예를 들어 도 9에서, 명령이 개인용 컴퓨터(2)에서 VTR(4)로 전송될 때, 소스 ID, 목적지 ID, 및 목적지 오프셋 각각은 #B, #D 및 VTR(4)에서 명령을 기억하는 에리어로서 할당되는 메모리 공간이다. 개인용 컴퓨터(2)가 명령을 시스템내의 모든 전자 장치에 전송할 때, 목적지 ID의 16 비트는 "모두 1"로 설정된다. 이와 같은 통신 형태를 동시통신(broadcast)이라 칭한다.For example, in FIG. 9, when a command is sent from the personal computer 2 to the VTR 4, each of the source ID, destination ID, and destination offset stores the command at #B, #D, and VTR 4; Memory space allocated as an area. When the personal computer 2 sends the command to all the electronic devices in the system, the 16 bits of the destination ID are set to "all one". This type of communication is called broadcast.

도 11에 도시된 데이터 블록에서, CTS(command transaction set:명령 처리 세트)는 명령어 타입을 도시한다. 게다가, CT/RC(command type/reponse code:명령 타입/응답 코드)는 명령의 경우에 요구 타입을 도시하고 응답의 경우에 요구에 대한 응답 타입을 도시한다. HA(header address:헤더 어드레스)는 요구를 행하는 다른 파티(party)가 전체 장치인지 명령의 경우에서와 같이 상기 장치내의 서브디바이스(기능 유닛)인지를 도시하고 HA는 상기 다른 파티가 응답의 경우에 응답한다는 것을 인지 시 해당 명령과 동일하게 된다. OPC(operation code:운영 코드)는 명령 코드, 즉 구체적인 요구(concrete demand)를 도시하고 이 요구에 대해 필요로 되는 파라미터는 OPC 다음의 OPR(operand:피연산자)과 함께 도시되어 있다.In the data block shown in FIG. 11, a command transaction set (CTS) shows a command type. In addition, CT / RC (command type / reponse code) shows the request type in the case of a command and the response type for the request in the case of a response. The header address (HA) indicates whether the other party making the request is the entire device or a subdevice (functional unit) in the device as in the case of a command and the HA indicates that the other party is in the case of a response. Recognizing that it responds is the same as the command. The operation code (OPC) shows the command code, that is, the concrete demand and the parameters required for this request are shown with the OPR (operand) following the OPC.

도 12는 예로서 시스템내의 장치들 중 VTR을 취하여 상술된 명령 및 응답의 교환을 행하는 부분의 구조를 도시한 것이다. 이 VTR은 VTR 디바이스(11) 및 IEEE 1394 버스 전송-수신 블록(12)를 구비한다.Fig. 12 shows, by way of example, the structure of a portion of the devices in the system that take a VTR and exchange the commands and responses described above. This VTR has a VTR device 11 and an IEEE 1394 bus transmit-receive block 12.

VTR 디바이스(11)는 마이크로컴퓨터로 이루어져 있고 VTR내의 기록 재생 시스템(도시되지 않음)과 관계되는 명령 등을 처리하는 VTR 서브디바이스(13), 상기 VTR내의 튜너(도시되지 않음)와 관계되는 명령을 처리하는 튜너 서브디바이스(14) 및 상기 VTR내의 타이머(도시되지 않음)와 관계되는 명령 등을 처리하는 타이머 서브디바이스(15)를 구비한다. 이들 서브디바이스는 마이크로컴퓨터의 소프트웨어로 형성된다.The VTR device 11 is made up of a microcomputer and processes commands related to a tuner (not shown) in the VTR and a VTR subdevice 13 for processing commands related to a recording / reproducing system (not shown) in the VTR. And a tuner subdevice 14 for processing and a timer subdevice 15 for processing an instruction or the like related to a timer (not shown) in the VTR. These subdevices are formed by the software of the microcomputer.

IEEE 1394 버스 전송-수신 블록은 버스를 통해서 수신되는 Async 통신 패킷을 검출하여 VTR 디바이스(11)에 이 패킷내의 명령을 전송한다. VTR 디바이스(11)는 명령이 수신될 때 명령의 구체적인 요구에 따라서 서브디바이스(13 내지 15)를 동작시킨다. 예를 들어, VTR 서브디바이스(13)로 어드레스되는 FF(fast feed) 명령이 수신될 때, 명령은 VTR 서브디바이스(13)로 전달된다. VTR 서브디바이스(13)는 VTR 내의 기록/재생 시스템의 기계적인 시스템이 FF를 수행하도록 제어하는 처리를 실행한다. 게다가, VTR 서브디바이스(13)는 기록/재생 시스템의 각종 상태의 기계적인 모드, 시간 코드 등을 모니터 하여 요구가 발생될 때 응답을 발생시킨다. 이 응답은 VTR 디바이스(11)에 의해 IEEE 1394 버스 전송-수신 블록(12)에 전송된다. IEEE 1394 버스 전송-수신 블록(12)은 Async 통신 패킷에 포함되는 버스에 응답을 송출한다.The IEEE 1394 bus transmit-receive block detects an Async communication packet received over the bus and sends a command in this packet to the VTR device 11. The VTR device 11 operates the subdevices 13 to 15 in accordance with the specific request of the command when the command is received. For example, when a fast feed (FF) command addressed to the VTR subdevice 13 is received, the command is passed to the VTR subdevice 13. The VTR subdevice 13 executes processing for controlling the mechanical system of the recording / reproducing system in the VTR to perform FF. In addition, the VTR subdevice 13 monitors the mechanical modes, time codes, and the like of various states of the recording / reproducing system to generate a response when a request is made. This response is sent by the VTR device 11 to the IEEE 1394 bus transmit-receive block 12. The IEEE 1394 bus transmit-receive block 12 sends a response to the bus contained in the Async communication packet.

도 13은 VTR을 타겟으로서 하는 명령 및 응답의 포맷 구조와 명령 및 응답의 표본 구조를 도시한 것이다. 도 13에 도시된 바와 같이, "0"은 CTS로서 사용된다. 예를 들어, 도 12에 도시된 VTR내의 VTR 서브디바이스(13)에 대해 저속 재생을 요구하는 명령이 도 13(c)에 도시되어 있다. 게다가, 시간 코드의 현재 값의 시간-분-초-프레임에 대한 VTR 서브디바이스(13)에 대해 문의하는 명령은 도 13(e)에 도시되어 있고 명령에 대해 리턴 되는 응답이 도 13(f)에 도시되어 있다.FIG. 13 shows the format structure of a command and a response targeting a VTR and a sample structure of the command and a response. As shown in Fig. 13, "0" is used as the CTS. For example, a command for requesting slow playback for the VTR subdevice 13 in the VTR shown in FIG. 12 is shown in FIG. 13C. In addition, the command to query the VTR subdevice 13 for the hour-minute-second-frame of the current value of the time code is shown in FIG. 13 (e) and the response returned for the command is FIG. 13 (f). Is shown.

도 14는 개인용 컴퓨터(2)가 도 9에 도시된 시스템에서 제어기로서 작용하여 시스템내의 다른 모든 장치의 상태를 문의하여 이 상태를 자신의 디스플레이 유닛에 표시하는 장치의 일례를 도시한 것이다. 도 14에 대해 지금부터 후술될 것이다.FIG. 14 shows an example of a device in which the personal computer 2 acts as a controller in the system shown in FIG. 9 to query the status of all other devices in the system and display this status on its display unit. 14 will now be described later.

우선, 개인용 컴퓨터가 입력 모드에 관하여 TV에 문의하는 명령을 TV로 전송할 때, 응답 'VTR'은 TV로부터 리턴 된다. 다음에, VTR 서브디바이스의 메카모드(mechamode)에 관해 VTR에 문의하는 명령을 VTR에 전송할 때, 응답 'STOP'이 리턴된다. 그리고 나서, VTR 서브디바이스의 시간 코드에 관해 문의하는 명령이 전송될 때, "0시간 25분 49초 24프레임"의 응답이 리턴된다. 게다가, 수신 채널에 관해 세트 톱 박스에 문의하는 명령이 세트 톱 박스에 전송될 때, 응답 'CH6'가 리턴된다.First, when the personal computer sends a command to the TV inquiring about the input mode to the TV, the response 'VTR' is returned from the TV. Next, when sending a command to the VTR to query the VTR about the mechamode of the VTR subdevice, the response 'STOP' is returned. Then, when a command to inquire about the time code of the VTR subdevice is transmitted, a response of "0 hour 25 minutes 49 seconds 24 frames" is returned. In addition, when a command to query the set top box about the receive channel is sent to the set top box, the response 'CH6' is returned.

명령이 유사한 방식으로 전송되고 메카모드, VTR 서브디바이스의 시간 코드 및 세트 톱 박스의 수신 채널이 변경된다는 것을 알았을 때, 디스플레이 유닛 상의 디스플레이는 상기 시간 포인트에서 변경된다.When the command is sent in a similar manner and finds that the mode, the time code of the VTR subdevice and the receiving channel of the set top box are changed, the display on the display unit is changed at this time point.

도 15는 개인용 컴퓨터가 VTR의 상태에 관해서 문의하고 다음 명령을 전송하는 일례로서 "테이프의 헤드로 되감고 나서 이를 다시 재생'하는 장치를 도시한 것이다. 이에 대한 것이 이하부터 도 15를 참조하여 설명될 것이다.Fig. 15 shows an apparatus in which a personal computer inquires about the state of the VTR and transmits the next command, which "rewinds to the head of the tape and plays it again." This will be described with reference to Fig. 15 below. Will be.

우선, 개인용 컴퓨터가 VTR을 요구하는 명령을 전송하여 REWIND를 실행할 때, VTR은 이 요구에 대해 OK를 통지하는 응답을 리턴하여 동일한 시간에서 기록/재생 시스템에서 REWIND를 시작한다.First, when a personal computer executes REWIND by sending a command requesting a VTR, the VTR returns a response notifying OK for this request and starts the REWIND in the recording / reproducing system at the same time.

개인용 컴퓨터는 REWIND에 대해 OK의 응답을 VTR로부터 수신한 후라도 시간 코드에 관해 문의하는 명령 또는 메카모드에 관해 문의하는 명령을 전송한다. 그리고 나서, 개인용 컴퓨터는 REWIND를 완료한 시간을 미리 통지함으로써 타이밍이 이루어진 후 시간 코드에 관해 다시 문의하고 메카모드를 설정하도록 요구하는 명령을 전송하여 이 메카모드가 'STOP'이라는 것을 나타내는 응답이 리턴된 후 플레이시킨다. VTR은 명령 수신시에 이 요구에 대해 OK를 통지하는 응답을 리턴시키고 또한 기록/재생 시스템에서 플레이를 시작시킨다.The personal computer sends a command to inquire about the time code or a question to mecha mode even after receiving a response of OK from the VTR to REWIND. The personal computer then informs in advance of the time that the REWIND has been completed, then inquires again about the time code and sends a command to set the mecha mode after the timing has been reached, returning a response indicating that this mecha mode is 'STOP'. Play after it is done. The VTR returns a response notifying OK to this request upon receiving the command and also starts playing in the recording / reproducing system.

도 14 및 도 15에 도시된 장치에서, 이들 장치는 제어기가 명령을 전송할 때만 타겟이 응답을 리턴시키도록 하는 구조로 되어 있다. 그러므로, 제어기가 빈번하게 명령을 전송하여 타겟이 소정 상태로 되었다는 것을 확인하였을 때 이 명령의 응답을 모니터 한다.In the devices shown in Figures 14 and 15, these devices are structured such that the target returns a response only when the controller sends a command. Therefore, when the controller frequently sends a command to confirm that the target is in a predetermined state, it monitors the response of this command.

그러므로, 시스템내의 장치의 상태가 도 14에 도시된 예와 같이 항상 디스플레이된 경우와, 일련의 동작이 도 15에 도시된 바와 같은 소정의 순서로 순차적으로 제어되는 경우에, 유용하지 못한 통신이 빈번하게 수행되고 제어기로부터의 제어가 어렵게된다. 이와 같은 장치에서, 사태 변경을 디스플레이 하는 타이밍 또는 일련의 동작들 중 다음 제어를 수행하는 타이밍이 지연된다.Therefore, when the state of the apparatus in the system is always displayed as in the example shown in FIG. 14 and when a series of operations are sequentially controlled in a predetermined order as shown in FIG. And control from the controller becomes difficult. In such an apparatus, the timing of displaying a situation change or the timing of performing the next control of a series of operations is delayed.

본 발명은 이와 같은 문제점의 관점에서 유용하지 못한 통신을 제거하고 제어기가 타겟을 제어할 때 제어를 보다 손쉽게 하는 통신 제어 방법 및 전자 장치를 제공하는 것이다.SUMMARY OF THE INVENTION The present invention provides a communication control method and an electronic device that eliminates communication that is not useful in view of such a problem and makes the control easier when the controller controls the target.

상술된 문제점을 해소하기 위하여, 본 발명을 다른 통신 제어 방법은, 복수의 전자 장치들이 제어 신호들과 정보 신호들을 함께 포함할 수 있는 통신 제어 버스들에 의해 서로 접속되고, 상기 정보신호들과 상기 제어 신호들이 상기 전자 장치들 사이에서 통신되는 시스템에서, 상기 전자 장치들이 상기 제어 신호를 사용하여 다른 전자 장치들의 동작을 제어할 때, 상기 다른 전자 장치는 상기 제어 신호를 사용하여 내부의 소정의 상태 변화를 보고하는 것을 특징으로 한다.In order to solve the above-mentioned problem, a communication control method according to the present invention is connected to each other by communication control buses, in which a plurality of electronic devices can include control signals and information signals together, and the information signals and the In a system in which control signals are communicated between the electronic devices, when the electronic devices control the operation of other electronic devices using the control signal, the other electronic device uses the control signal to determine a predetermined state therein. It is characterized by reporting a change.

다른 전자 장치(타겟)는 제어측 상의 전자 장치(제어기)로부터의 보고를 시작 및 중지시키는 제어 신호를 수신하고 상기 제어 신호에 따라 상기 보고를 시작하거나 중지한다. 내부 상태 변경에 대한 보고는 제어측 상의 전자 장치에 대해서만 행해지거나 시스템내의 모든 전자 장치에 대해서 행해질 수 있다. 이 보고의 목적지는 제어측의 전자 장치에 의해 지정될 수 있다. 더구나, 상기 제어측의 전자 장치로부터 지정된 내부 상태의 변화의 한 종류가 즉시 보고되도록 구성하는 것도 가능하다.The other electronic device (target) receives a control signal for starting and stopping a report from the electronic device (controller) on the control side and starts or stops the report according to the control signal. The reporting of the internal state change may be made only for the electronic device on the control side or for all the electronic devices in the system. The destination of this report can be specified by the electronic device on the control side. Moreover, it is also possible to configure such that one kind of change in the designated internal state is immediately reported from the electronic device on the control side.

또한, 본 발명에 따른 전자 장치는, 복수의 전자 장치들이 제어 신호들과 정보 신호들을 함께 포함할 수 있는 통신 제어 버스들에 의해 서로 접속되고, 상기 정보 신호들과 제어 신호들이 상기 전자 장치들 사이에서 통신되는 시스템에 사용되며, 상기 장치 내부의 소정의 상태 변화를 검출하는 제 1 수단, 및 상기 제 1 수단에 의해 검출된 상태 변화를 상기 제어 신호에 의해 상기 통신 제어 버스로 보내는 제 2 수단을 포함하는 전자 장치이다.In addition, the electronic device according to the present invention is connected to each other by communication control buses in which a plurality of electronic devices may include control signals and information signals together, wherein the information signals and control signals are between the electronic devices. A first means for detecting a predetermined state change inside the apparatus, and a second means for sending a state change detected by the first means to the communication control bus by the control signal. It includes an electronic device.

본 발명에 따른 전자 장치에서는, 상기 장치 내에서 소정의 상태 변화를 검출하는 복수의 수단들과, 상기 복수의 수단에 의해 검출된 상태 변화의 집중 제어를 수행하는 제 3 수단이 더 제공되도록 구성될 수도 있다.In the electronic device according to the present invention, a plurality of means for detecting a predetermined state change in the device and a third means for performing centralized control of the state change detected by the plurality of means are further provided. It may be.

본 발명에 따라, 상기 제어측의 전자 장치는 소정의 내부상태 변화를 보고하도록 하는 요구 또는 상기 제어측 상에서 상기 전자 장치에 대한 보고를 정지하도록 하는 요구를 전송한다. 상기 제어측의 전자 장치는 소정의 상태 변화가 내부에서 발생되면 제어 신호를 이용하여 상태 변화를 보고한다. 상기 제어측의 전자 장치에서, 제 1 수단은 상기 상태 변화를 검출하고 제 2 수단은 이 상태 변화를 제어 신호에 의해 통신 제어버스로 전송한다.According to the present invention, the electronic device on the control side sends a request to report a change in a predetermined internal state or a request to stop reporting to the electronic device on the control side. The electronic device on the control side reports a state change by using a control signal when a predetermined state change occurs inside. In the electronic device on the control side, the first means detects the state change and the second means transmits the state change to the communication control bus by a control signal.

앞에서 상세히 설명한 바와 같이, 본 발명에 따라 다음의 항목(1) 내지 항목(5)에 설명된 효과가 얻어진다.As described in detail above, according to the present invention, the effects described in the following items (1) to (5) are obtained.

(1) 상기 제어측(타겟)의 장치가 소정의 상태 변화가 일어난 시점에서 즉시 보고를 하므로, 상기 제어측의 장치(제어기)는 상기 제어측의 장치의 상태를 감시하기 위해 명령을 자주 전송하는 데 오랜 시간을 필요로 하지 않는다. 따라서, 일련의 동작이 순서대로 제어되도록 되어 있는 응용이 행해 질 때에는 상기 제어측의 장치로부터의 제어는 보다 용이해지며, 쓸데없는 통신이 긴 시간동안 행해지지 않는다.(1) Since the device on the control side (target) reports immediately at the time when a predetermined state change occurs, the device on the control side (controller) frequently sends a command to monitor the state of the device on the control side. You don't need a long time to take. Therefore, when an application in which a series of operations are to be controlled in order is performed, control from the apparatus on the control side becomes easier, and unnecessary communication is not performed for a long time.

(2) 보고의 시작 및 정지를 요구하는 제어 신호를 제어측의 장치에 보냄으로써 보고의 시작 또는 정지는 제어측의 장치에 의해 제어될 수 있으므로, 필요한 경우에만 보고를 수신할 수 있다. 또한, 상기 시스템 내의 모든 장치가 아니라 소정의 장치만이 상기 보고를 수신하도록 배치하는 것이 가능하다. 결과적으로 복수의 장치들이 상기 시스템 내에 존재할 때, 통신 제어 버스를 혼잡하지 않게 할 수 있다.(2) Since the start or stop of the report can be controlled by the device on the control side by sending a control signal requesting the start and stop of the report to the device on the control side, the report can be received only when necessary. It is also possible that only certain devices, not all devices in the system, are arranged to receive the report. As a result, when multiple devices are present in the system, it is possible to avoid congestion of the communication control bus.

(3) 상기 제어측의 장치로부터의 제어는 상기 장치 내에서의 상태 변화의 검출을 위한 중앙 제어 수단을 제공함으로써 보다 용이해진다.(3) Control from the apparatus on the control side is made easier by providing a central control means for the detection of a change of state in the apparatus.

(4) 통신 제어가 보다 간단해지며, 상태 변화 보고가 제어측의 장치에 의해 단지 한 번 지정된 상태 변화의 한 종류에 대해 보고를 할 수 있도록 구성함으로써 종래의 명령 처리를 크게 변경함이 없이 실현될 수 있다.(4) The communication control becomes simpler, and the state change report is configured to report only one type of the state change designated once by the control side device without real change of the conventional command processing. Can be.

(5) 상태 변화에 대한 보고 시 즉시 디스플레이 하는 응용 또는 다른 상대측의 장치가 소정의 상태로 되었다는 사실을 이용하여 다음 동작을 요구하는 응용이 실현가능하다.(5) An application which requires the next operation by using the fact that an application which displays immediately when reporting a change of state or another device on the other side has become a predetermined state is feasible.

이하, 도면을 참조하여 본 발명의 일실시예에 대하여 상세히 설명한다. 본 실시예는 도 8 및 도 12에 도시된 종래기술을 전제로 하고 있다.Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings. This embodiment is based on the prior art shown in FIGS. 8 and 12.

도 1에는 본 발명의 일실시예에 이용된 명령들 및 응답들의 예가 도시되어 있다.Figure 1 shows an example of commands and responses used in one embodiment of the present invention.

도 1(a)에는 VTR에 이벤트를 보고(ON)할 것을 요구하는 명령이 도시되어 있다. 구체적으로, 요구는, VTR 서브디바이스내의 제어기에게 이벤트를 발생해 줌으로써 메카코드 및 시간코드의 변경을 보고하도록 행해진다.In FIG. 1A, a command for requesting to report an event to the VTR is shown. Specifically, the request is made to report a change in the mechacode and timecode by generating an event to a controller in the VTR subdevice.

도 12를 참조하여 VTR이 상기 명령을 수신할 때의 처리에 대해서 설명하면, VTR내의 IEEE 1394 버스 송수신 블록(12)은 버스를 통해 수신된 Async 통신 패킷의 명령을 전송한다. 상기 명령의 HA는 VTR 서브디바이스(13)이므로, 상기 VTR 디바이스(11)는 VTR 서브 디바이스(13)에 명령을 전달한다.Referring to Fig. 12, the processing when the VTR receives the command will be described. The IEEE 1394 bus transmission / reception block 12 in the VTR transmits an Async communication packet command received via the bus. Since the HA of the command is a VTR subdevice 13, the VTR device 11 transmits a command to the VTR subdevice 13.

도 1(b)에는 도 1(a)에 도시된 명령이 수신시 VTR에 의해 제어기로 복귀하는 응답이 도시되어 있다. 구체적으로, 이벤트는 메카모드와 시간코드가 VTR 서브 디바이스에 의해 발생될 때 제어기로 보고되는 것으로 이해된다.Fig. 1 (b) shows the response of the command shown in Fig. 1 (a) to return to the controller by the VTR upon receipt. Specifically, it is understood that an event is reported to the controller when the mecha mode and timecode are generated by the VTR subdevice.

도 1(c)에는 VTR 서브 디바이스에 의해 발생된 시간코드 이벤트의 일례가 도시되어 있다. VTR이 이 시간코드 이벤트를 보고하는 처리에 대해 도 12를 참조하여 설명하면, VTR 서브 디바이스(13)는 기록/재생 시스템의 시간 코드를 감시하고 예컨대 1초씩의 시간 코드 발생 시 시간코드 이벤트를 발생한다. VTR 디바이스(11)는 상기 시간코드 이벤트를 즉시 IEEE 1394 버스 송수신 블록(12)에 전송한다. 이 IEEE 1394 버스 송수신 블록(12)은 Async 통신 패킷에 포함되어 있는 이 시간코드 이벤트를 전송한다.1 (c) shows an example of a timecode event generated by the VTR subdevice. Referring to Fig. 12 for the process by which the VTR reports this timecode event, the VTR subdevice 13 monitors the timecode of the recording / reproducing system and generates a timecode event when a timecode of 1 second, for example, occurs. do. The VTR device 11 immediately sends the timecode event to the IEEE 1394 bus transmit / receive block 12. This IEEE 1394 bus transmit / receive block 12 transmits this timecode event contained in the Async communication packet.

도 1(d)에는 입력 모드에 관한 이벤트에 대한 보고를 정지(OFF)할 것을 TV에게 요구하는 명령이 도시되어 있고, 도 1(e)에는 그 명령에 대한 OK 응답이 도시되어 있다.FIG. 1 (d) shows a command for requesting the TV to stop reporting on an event relating to the input mode, and FIG. 1 (e) shows an OK response to the command.

도 1(f)에는 이벤트를 발생하고 수신 채널이 변경될 때, 보고를 하도록 셋탑 박스에게 요구하는 명령이 도시되어 있다. 또한, 이 명령은 시스템내의 모든 다른 장치에게 이벤트를 보고하기 위해 이벤트를, 요컨대 동시전송 하도록 요구한다.FIG. 1 (f) shows a command to request the set-top box to report when an event occurs and the receiving channel is changed. In addition, this command requires the event to be sent, in short, to report the event to all other devices in the system.

도 1(g)에는 도 1(f)에 도시된 명령이 수신될 때 셋 탑 박스에 의해 제어기로 복귀하는 응답이 도시되어 있다. 도 1(h)에는 상기 셋 탑 박스에 의해 발생된 수신 채널 이벤트의 일례가 도시되어 있으며, 이 이벤트는 튜너의 수신이 채널 6으로 변경된 때에 발생된다. 이 수신 채널 이벤트가 모든 장치에 보고되면, Async 통신 패킷의 헤더의 목적지 ID가 '모두 1'로 설정된다.Fig. 1 (g) shows the response to return to the controller by the set top box when the command shown in Fig. 1 (f) is received. Figure 1 (h) shows an example of a receive channel event generated by the set top box, which occurs when the tuner's reception is changed to channel 6. When this received channel event is reported to all devices, the destination ID of the header of the Async communication packet is set to 'All 1'.

이 방법으로, 이벤트의 ON/OFF는 동작 코드에 의해 서로 구분된다. 또한, 조작자에 의해 이벤트를 보고 받는 다른 상대가 제어기에 한정되어 있는지 또는 시스템내의 모든 장치인지가 구분된다.In this way, ON / OFF of events are distinguished from each other by an operation code. In addition, it is distinguished whether the other party who receives the event by the operator is limited to the controller or all devices in the system.

도 2에는 퍼스널 컴퓨터(2)가 제어기의 역할을 하고 시스템내의 다른 모든 장치의 상태가 도 1 및 도 2에 도시된 이벤트를 발생하도록 하는 명령을 이용하여 디스플레이 유닛 상에 디스플레이 하도록 한 응용예가 도시되어 있다.2 shows an application in which the personal computer 2 acts as a controller and displays on the display unit using instructions which cause the state of all other devices in the system to generate the events shown in FIGS. 1 and 2. have.

먼저, 도시하지는 않았지만, 퍼스널 컴퓨터와 VTR은 도 1(a) 및 도 1(b)에 도시된 응답에 대한 명령을 교환하고, 상기 퍼스널 컴퓨터와 TV는 도 1(d) 및 도 1(e)에 도시된 응답에 대한 명령을 교환하며, 퍼스널 컴퓨터와 셋 탑 박스는 도 1(f) 및 도 1(g)에 도시된 응답에 대한 명령을 교환한다. 또한, VTR은 VTR의 메가모드를 변경하는 경우와, 시간코드를 변경하는 경우에(REC 및 PLAY중에 1초단위로 그리고 FF 및 REWIND중에 1분단위로), 이벤트를 발생하도록 명령받으며 또한 제어기의 역할을 하는 퍼스널 컴퓨터에 보고하도록 명령을 받는다.First, although not shown, the personal computer and the VTR exchange commands for the responses shown in Figs. 1 (a) and 1 (b), and the personal computer and the TV are shown in Figs. 1 (d) and 1 (e). The personal computer and the set top box exchange commands for the response shown in FIGS. 1 (f) and 1 (g). In addition, the VTR is commanded to generate an event when the mega mode of the VTR is changed and when the time code is changed (by 1 second during REC and PLAY and 1 minute during FF and REWIND) and also serves as a controller. Are instructed to report to the personal computer.

도 2에 도시된 바와 같이, 메카모드가 'STOP'에서 'PLAY'로 변경되면, VTR은 메카모드가 PLAY임을 알리는 이벤트를 즉시 발생하고 이 이벤트를 퍼스널 컴퓨터에 전송한다. 도 12를 참조하여 설명하면, 사용자가 기록/재생 시스템의 동작모드가 'STOP'에서 'PLAY'로 변경되도록 VTR을 조작할 때, VTR서브디바이스(13)는 메카모드가 'PLAY'임을 나타내는 이벤트를 즉시 발생한다. 이 이벤트는 VTR 디바이스(11)로부터 IEEE 1394 버스 송수신 블록(12)에 전송되며, 상기 버스를 통해 퍼스널 컴퓨터에 전송된다.As shown in Fig. 2, when the mecha mode is changed from 'STOP' to 'PLAY', the VTR immediately generates an event indicating that the mecha mode is PLAY and transmits this event to the personal computer. Referring to FIG. 12, when the user manipulates the VTR such that the operation mode of the recording / playback system is changed from 'STOP' to 'PLAY', the VTR sub device 13 indicates that the mecha mode is 'PLAY'. Happens immediately. This event is sent from the VTR device 11 to the IEEE 1394 bus transmit / receive block 12 and via the bus to a personal computer.

상기 이벤트 수신 시, 상기 퍼스널 컴퓨터는 상기 디스플레이 유닛 상에 디스플레이된 VTR의 메카모드를 'STOP'에서 'PLAY'로 변경한다.Upon receiving the event, the personal computer changes the mecha mode of the VTR displayed on the display unit from 'STOP' to 'PLAY'.

또한, 수신채널이 'CH5'에서 'CH6'으로 변할 때, 상기 셋 탑 박스는 수신채널이 'CH6'임을 알리는 이벤트를 발생하고 이 이벤트를 상기 퍼스널 컴퓨터에 전송한다. 이 퍼스널 컴퓨터는 이 이벤트의 수신시에 상기 디스플레이 유닛 상에 디스플레이되는 수신채널을 'CH5'에서 'CH6'으로 즉시 변경한다.In addition, when the receiving channel changes from 'CH5' to 'CH6', the set top box generates an event indicating that the receiving channel is 'CH6' and transmits this event to the personal computer. This personal computer immediately changes the reception channel displayed on the display unit from 'CH5' to 'CH6' upon reception of this event.

또한, VTR은 시간 코드가 일분 단위로 변할 때마다 시간 코드의 시-분-초-프레임을 나타내는 이벤트를 발생하여 그것을 퍼스널 컴퓨터에 보낸다. 퍼스널 컴퓨터는 이 이벤트를 수신하면 디스플레이 유닛에 디스플레이 되는 시간 코드를 새롭게 한다.The VTR also generates an event representing the hour-minute-second-frame of the time code and sends it to the personal computer whenever the time code changes by one minute. Upon receiving this event, the personal computer updates the time code displayed on the display unit.

이 방법에서, 본 발명의 실시예에 따라 이벤트를 턴시키는 명령이 응답에 대해 바뀌어진 후 상기 제어기는 목표로부터 수신된 이벤트에 대한 보고를 기다리기에 충분하다. 그러므로, 트래픽은 도 14에 도시된 예에 비해 현전하게 감소되며, 상태 변화를 즉시 디스플레이 할 수 있다.In this method, the controller is sufficient to wait for a report on the event received from the target after the command to turn the event is changed for a response according to an embodiment of the present invention. Therefore, the traffic is significantly reduced compared to the example shown in FIG. 14, and the state change can be displayed immediately.

도 3은 도 1에 도시된 이벤트를 턴시키는 명령을 사용하여 "테이프 헤드로의 되감기 및 재생"에 대한 적용예를 나타낸다. 도 2와 유사하게, 응답에 대해 이벤트를 턴시키는 명령의 교환이 퍼스널 컴퓨터와 다른 장치사이에서 완료되며 VTR은 VTR 서브디바이스의 메카모드에서의 변화가 있었을 때 또한 시간 모드('REC'와 'PLAY' 동안에는 초 단위는 또한 'FF'와 'REWIND' 동안에는 분 단위로) 변화가 있었을 때, 이벤트를 발생하라는 명령을 받으며 그것을 제어기인 퍼스널 컴퓨터에 보낸다.FIG. 3 shows an application example for "rewinding and playing back to tape head" using the command to turn the event shown in FIG. Similar to FIG. 2, the exchange of commands to turn the event on for a response is completed between the personal computer and the other device and the VTR is also changed in time mode ('REC' and 'PLAY) when there is a change in the mecha mode of the VTR subdevice. 'In seconds is also commanded to trigger an event when there is a change (in minutes during' FF 'and' REWIND ') and sends it to the controller personal computer.

도 3에서 퍼스널 컴퓨터가 VTR에게 REWIND를 실행하는 명령을 보내면 VTR은 그 요구에 대한 OK를 나타내는 응답을 보내고 또한 기록/재생 시스템에서 REWIND를 시작한다.In Fig. 3, when the personal computer sends a command to the VTR to execute REWIND, the VTR sends a response indicating OK for the request and also starts the REWIND in the recording / reproducing system.

VTR은 분 단위로 시간 코드가 변할 때마다 'REWIND' 동안 이벤트를 발생하고 그것을 퍼스널 컴퓨터에 보낸다. 또한, 메카모드가 'REWIND'에서 'STOP'로 바뀔 때 이벤트가 발생되고 그것은 퍼스널 컴퓨터에 보내진다.The VTR generates an event during REWIND and sends it to the personal computer whenever the time code changes in minutes. Also, an event is generated when the mecha mode changes from 'REWIND' to 'STOP' and it is sent to the personal computer.

메카모드가 VTR에서 'STOP'으로 바뀌었음을 나타내는 이벤트가 수신되었으면 퍼스널 컴퓨터는 즉시 메카모드에 'PLAY'하라는 명령을 설정하라는 명령을 보낸다. 이 명령을 수신하면 VTR은 그 명령에 대한 OK를 나타내는 응답을 보내고 기록/재생 시스템의 모드를 'PLAY'로 설정한다.When an event is received indicating that the mecha mode has changed from VTR to 'STOP', the personal computer immediately sends a command to set the command to 'PLAY' in the mecha mode. Upon receiving this command, the VTR sends a response indicating OK to that command and sets the mode of the recording / playback system to 'PLAY'.

이 방법에서, 본 발명에 따라 퍼스널 컴퓨터는 메카모드가 'STOP'으로 바뀌었다는 것을 나타내는 이벤트를 기다렸다가 그 이벤트를 수신하면 즉시 'PLAY' 명령을 보낸다. 그러므로, 트래픽은 도 15에 도시된 종래의 예보다도 현저하게 감소되며 상태 변화가 발생하였을 때 즉시 다음 명령을 보낼 수 있다.In this method, according to the present invention, the personal computer waits for an event indicating that the mecha mode is changed to 'STOP' and immediately sends a 'PLAY' command upon receiving the event. Therefore, the traffic is significantly reduced than the conventional example shown in Fig. 15, and can immediately send the next command when a state change occurs.

도 4는 이벤트가 바뀌어지고 방송을 요구하는 도 1에 도시된 명령이 셋 탑박스에서 VTR로 보내져서 시스템이 VTR이 발생하는 이벤트에 따라 인터링크하는 예를 도시한다. 이 때, VTR은 전원의 온/오프, 메카모드의 변환, 및 시간 코드('REC'와 'PLAY' 동안은 초 단위로 또한 'FF'와 'REWIND' 동안은 분 단위로)의 변환이 발생하였을 때 이벤트를 발생하라는 명령과 시스템내의 다른 모든 장치에 보고하라는 명령을 받는다.FIG. 4 shows an example in which an event is changed and a command shown in FIG. 1 requesting a broadcast is sent from the set top box to the VTR so that the system interlinks according to an event in which the VTR occurs. At this time, the VTR turns on / off the power, switches the mecha mode, and converts the time code (in seconds during 'REC' and 'PLAY' and in minutes during 'FF' and 'REWIND'). When you do this, you are told to generate an event and to report to all other devices in the system.

셋 탑 박스는 타이머 기능을 사용하여 VTR의 전원 투입을 요구하는 명령을 보낸다. VTR은 이 명령 요구에 OK를 나타내는 응답을 보내고 또한 자신의 전원 스위치를 온으로 놓는다. 또한, 전원이 투입되었다는 것을 나타내는 이벤트가 방송 통신 수산에 의해 시스템내의 다른 모든 장치, 즉 셋 탑 박스, 퍼스널 컴퓨터, 및 하드디스크 유닛에 보고된다.The set top box uses a timer function to send a command to power on the VTR. The VTR sends a response indicating OK to this command request and also turns its power switch on. In addition, an event indicating that power is turned on is reported by broadcast communication to all other devices in the system, namely, set top box, personal computer, and hard disk unit.

VTR의 전원이 투입되었음을 나타내는 이벤트가 수신되면, TV는 자신의 전원 스위치를 온으로 하여 입력 모드를 'VTR'에 설정한다. VTR의 전원이 투입되었음을 나타내는 이벤트를 수신하면 퍼스널 컴퓨터는 디스플레이 유닛에 디스플레이 되는 VTR의 전원 상태를 오프에서 온으로 변환시킨다.When an event indicating that the VTR is powered on is received, the TV sets its input mode to 'VTR' by turning on its power switch. Upon receiving an event indicating that the VTR is powered on, the personal computer switches the power state of the VTR displayed on the display unit from off to on.

VTR이 전원이 투입되었음을 나타내는 이벤트를 수신하면, 셋 탑 박스는 메카모드를 'REC'에 설정하도록 VTR에 요구하는 명령을 VTR에 보낸다. VTR은 그 명령에 대한 OK를 나타내는 응답을 보내고 내부 기록/재생 시스템의 동작 모드를 'REC'에 설정한다. 그런 다음, 메카모드가 'REC'로 바뀌었음을 나타내는 이벤트는 방송 통신 수단에 의해 시스템내의 다른 모든 장치에 보고된다.When the VTR receives an event indicating that power is on, the set top box sends a command to the VTR requesting the VTR to set the mecha mode to 'REC'. The VTR sends a response indicating OK for that command and sets the operation mode of the internal recording / reproducing system to 'REC'. Then, an event indicating that the mecha mode is changed to 'REC' is reported to all other devices in the system by the broadcast communication means.

VTR의 메카모드가 'REC'로 되었음을 나타내는 이벤트를 수신하면, 퍼스널 컴퓨터는 디스플레이 유닛에 디스플레이 되는 메카모드를 'REC'로 바꾼다.Upon receiving an event indicating that the mecha mode of the VTR is set to 'REC', the personal computer changes the mecha mode displayed on the display unit to 'REC'.

VTR은 시간 코드가 분 단위로 변화될 때마다 이벤트를 발생하고 그것을 방송 통신 수단을 이용하여 시스템내의 다른 모든 장치에 보고한다. 시간 코드가 바뀌었음을 나타내는 이벤트를 수신하면 퍼스널 컴퓨터는 디스플레이 유닛에 디스플레이 되는 VTR의 시간 코드를 새롭게 한다. 또한, 셋 탑 박스는 테이프가 타이머 픽처 기록동안 실행되는지 안 되는지를 모니터 한다.The VTR generates an event whenever the time code changes in minutes and reports it to all other devices in the system using broadcast communication means. Upon receiving an event indicating that the time code has changed, the personal computer updates the time code of the VTR displayed on the display unit. The set top box also monitors whether the tape is running during timer picture recording.

도 5는 이벤트들의 집중 제어를 실행하는 다른 서브디바이스와는 별도로 서브디바이스가 VTR을 한 예로서 취하여 이루어지는 장치의 구조를 나타낸다. 이 VTR은 VTR 디바이스(21)와 IEEE 1394 버스 송수신 블록(22)을 구비한다. VTR 디바이스(21)에는 VTR 서브디바이스(23), 튜너 서브디바이스(24) 및 타이머 서브디바이스(25)가 제공된다. 이들은 기본적으로 도 10에 도시된 VTR의 대응하는 부분과 동일한 구조를 가지며, 위에서 언급한 바와 동일한 동작을 실행한다.5 shows a structure of an apparatus in which a subdevice takes a VTR as an example separately from other subdevices that execute centralized control of events. This VTR includes a VTR device 21 and an IEEE 1394 bus transmit / receive block 22. The VTR device 21 is provided with a VTR subdevice 23, a tuner subdevice 24, and a timer subdevice 25. They basically have the same structure as the corresponding part of the VTR shown in Fig. 10, and carry out the same operation as mentioned above.

또한, VTR(21)에는 이벤트들의 집중 제어를 위한 이벤트 처리 서브디바이스(26)가 제공되어 있다. 이벤트 온/오프의 변환 요구 명령에 대해 파라메타 1로 지정된 서브디바이스가 파라메타 2 또는 3으로 지정된 아이템과 관련된 이벤트를 발생할 때, 이벤트 처리 서브디바이스(26)는 이 이벤트를 IEEE 1394 버스 송수신 블록(22)으로 즉시 송신한다. IEEE 1394 버스-송신-블록(22)은 상기 이벤트를 패킷으로 하여 이 패킷을 제어기에 의해 요구되는 다른 장치(제어기 또는 다른 모든 장치)에 보낸다.The VTR 21 is also provided with an event processing subdevice 26 for centralized control of events. When the subdevice designated as parameter 1 for the event request command of event on / off generates an event related to the item specified as parameter 2 or 3, the event processing subdevice 26 sends this event to the IEEE 1394 bus transmit / receive block 22. Send immediately. The IEEE 1394 bus-transmit-block 22 takes the event as a packet and sends this packet to another device (controller or all other devices) required by the controller.

도 6은 도 5에 도시된 장치로 보내는 명령의 포맷 실시예를 나타낸다. 도 6에 도시된 바와 같이 상기 포맷은 각각의 명령의 HA가 이벤트 처리 서브디바이스이고 파라미터 1에 의해 이벤트를 발생하는 서브디바이스가 지정되는 특징을 갖는다.FIG. 6 shows an embodiment of the format of a command sent to the device shown in FIG. As shown in Fig. 6, the format is characterized in that the HA of each command is an event processing subdevice and a subdevice which generates an event is designated by parameter 1.

도 7은 본 발명의 실시예에서 사용되는 명령과 응답의 예를 나타낸다. 이 명령/응답은 보고 조회 명령/응답으로 칭하여지며 이후로 기술되는 바와 같이 이벤트의 온/오프를 요구하지는 않지만 특정한 형태의 상태 변환(이벤트)을 단 한번 보고해야 한다.7 shows examples of commands and responses used in embodiments of the present invention. This command / response is referred to as a report query command / response and does not require the on / off of an event as described later, but must report a particular type of state transition (event) only once.

이 보고 조회 명령은 종래의 상태 조회 명령에 부가되는 형태로 실현된다. 즉, 보고 조회 명령을 수신한 타겟은 상태 조회 명령에 대한 응답과 같은 방법으로 지정된 형태의 현 상태를 의미하며 그 후 상태가 변화하였을 때, 타겟은 상기 일단 한 번 변환된 상태에 응답하고 그래서 처리가 완료된다. 이 명령의 CT는 'Report Inquiry'이며 이 응답의 RC는 현 상태가 보고될 때 'NOW'이고 상태가 변화되었음을 보고하였을 때 'CHANGED'이다.This report inquiry command is realized in a form added to the conventional status inquiry command. That is, the target receiving the report inquiry command means the current state in the form specified in the same manner as the response to the status inquiry command, and when the state changes thereafter, the target responds to the once converted state and is thus processed. Is completed. The CT of this command is 'Report Inquiry' and the RC of this response is 'NOW' when the current status is reported and 'CHANGED' when reporting that the status has changed.

도 7의 (a)는 메카모드의 상태 변화 보고를 단 한 번 요구하는 명령을 나타낸다. 또한 도 7의 (b)는 현재의 메카모드가 'REWIND' 상태에 있음을 보고하기 위한 응답을 나타낸다. 또한 도 7의 (c)는 메카모드가 'STOP'으로 바뀌었음을 보고하기 위한 응답을 나타낸다.7 (a) shows a command for requesting a status change report of the mecha mode only once. In addition, Figure 7 (b) shows a response for reporting that the current mecha mode is in the 'REWIND' state. In addition, (c) of FIG. 7 shows a response for reporting that the mecha mode is changed to 'STOP'.

도 8은 퍼스널 컴퓨터가 먼저 REWIND의 실행을 요구하는 명령을 VTR에 보내면 VTR은 그 요구에 대한 OK를 나타내는 응답을 보내고 동시에 VTR내의 기록/재생 시스템에서 REWIND를 시작한다.8 shows that a personal computer first sends a command to the VTR requesting execution of REWIND, the VTR sends a response indicating OK for the request and simultaneously starts the REWIND in the recording / reproducing system in the VTR.

다음에 퍼스널 컴퓨터는 도 7의 (a)에 도시된 보고 조회 명령을 VTR로 보낸다. 이 보고 조회 명령을 수신하면, VTR은 도 7의 (b)에 도시된 응답을 보낸다.The personal computer then sends a report inquiry command shown in Fig. 7A to the VTR. Upon receiving this report inquiry command, the VTR sends the response shown in Fig. 7B.

다음에, 메카모드가 'STOP'으로 바뀌면 VTR은 이벤트를 발생하고 도 7의 (c)에 도시된 응답을 퍼스널 컴퓨터에 보낸다.Next, when the mecha mode changes to 'STOP', the VTR generates an event and sends a response shown in Fig. 7C to the personal computer.

메카모드가 'STOP'로 바뀌었음을 나타내는 이벤트를 VTR로부터 수신하면, 퍼스널 컴퓨터는 즉시 메카모드를 'PLAY'로 설정하라고 요구하는 명령을 VTR에 보낸다. 이 명령이 보내지면, VTR은 그 명령에 대한 OK를 나타내는 응답을 보내고 기록/재생 시스템의 모드를 'PLAY'로 설정한다.Upon receiving an event from the VTR indicating that the mecha mode has changed to 'STOP', the personal computer immediately sends a command to the VTR requesting to set the mecha mode to 'PLAY'. When this command is sent, the VTR sends a response indicating OK to that command and sets the mode of the recording / playback system to 'PLAY'.

상기 보고 조회 명령을 사용하여 이유가 요구될 때만 필요한 상태 변화에 대한 보고를 받을 수 있으므로 타겟은 쓸모 없는 이벤트를 더 이상 보고할 필요가 없다. 또한, 명령 트랜색션(command transaction)이 보고 조회 명령과 이 명령에 2번 응하는 응답으로 종료되므로 통신 제어는 이벤트 온/오프를 투입하는 방법보다 더 간단하다. 또한, 상기 이벤트에 대한 보고는 종래의 명령 처리를 크게 변화시킴이 없이 실현될 수 있다.The target no longer needs to report a useless event because the report inquiry command can be used to report the required state change only when a reason is required. In addition, communication control is simpler than putting an event on / off, because a command transaction ends with a report query command and a response to this command twice. In addition, reporting on the event can be realized without significantly changing the conventional instruction processing.

도 1은 본 발명의 일실시예에서 이용되는 명령 및 응답의 예를 나타낸 도면.1 shows examples of commands and responses used in one embodiment of the present invention.

도 2는 퍼스널 컴퓨터가 제어기의 역할을 하고 시스템내의 다른 모드의 장치의 상태가 도 1에 도시된 명령을 이용하여 디스플레이 유닛 상에 디스플레이 되도록 한 응용예를 나타낸 도면.FIG. 2 shows an application in which a personal computer acts as a controller and causes the state of the device in another mode in the system to be displayed on the display unit using the commands shown in FIG.

도 3은 도 1에 도시된 명령을 이용하여 "테이프 헤드로의 되감기 및 재생"을 하도록 한 응용예를 나타낸 도면.FIG. 3 illustrates an application for "rewinding and playing back to tape head" using the command shown in FIG.

도 4는 도 1에 도시된 명령이 셋 탑 박스로부터 VRT로 전송되고 시스템이 VRT의 작업에 따라 접속되도록 한 응용예를 나타낸 도면.4 shows an application example in which the command shown in FIG. 1 is sent from the set top box to the VRT and the system is connected according to the work of the VRT.

도 5는 작업 시 중앙 제어를 수행하는 서브 디바이스가 다른 서브 디바이스와는 무관하게 되도록 한 장치의 구성예를 나타낸 도면.FIG. 5 is a diagram showing an example of the configuration of an apparatus in which a sub device performing central control is independent of other sub devices during operation; FIG.

도 6은 도 5에 도시된 바와 같이 구성된 장치에 전송되는 명령의 포맷 예를 나타낸 도면.FIG. 6 shows an example of the format of a command sent to a device configured as shown in FIG. 5; FIG.

도 7은 본 발명의 실시예에서 이용되는 명령 및 응답의 다른 예를 나타낸 도면.7 illustrates another example of commands and responses used in embodiments of the present invention.

도 8은 도 7에 도시된 명령을 이용하여 "테이프 헤드로의 되감기 및 재생"을 하도록 한 응용예를 나타낸 도면.FIG. 8 illustrates an application for "rewinding and playing back to tape head" using the command shown in FIG.

도 9는 IEEE 1394 시리즈 버스를 이용하고 있는 통신 시스템의 일례를 나타낸 도면.9 illustrates an example of a communication system using an IEEE 1394 series bus.

도 10은 IEEE 1394 시리즈 버스를 이용하고 있는 통신 시스템의 버스상의 데이터 구조의 일례를 나타낸 도면.Fig. 10 is a diagram showing an example of a data structure on a bus of a communication system using an IEEE 1394 series bus.

도 11은 제어 신호를 포함하고 있는 Async 통신 패킷의 구조를 나타낸 도면.11 illustrates a structure of an Async communication packet including a control signal.

도 12는 시스템 내의 장치에서 명령 또는 응답의 교환을 수행하는 부분의 구성예를 나타낸 도면.FIG. 12 shows an example of the configuration of a part performing an exchange of a command or a response in a device in a system; FIG.

도 13은 VTR 타겟으로 한 경우에서 명령 및 응답의 포맷의 구조와 명령 및 응답의 예를 나타낸 도면.Fig. 13 is a diagram showing a structure of a format of a command and a response and an example of a command and a response when the VTR target is used.

도 14는 퍼스널 컴퓨터가 제어기의 역할을 하고, 시스템내의 다른 모든 장치의 상태에 대해 요구를 하며, 디스플레이 유닛 상에 상태를 디스플레이하도록 한 응용예를 나타낸 도면.14 shows an application in which the personal computer acts as a controller, makes a request for the status of all other devices in the system, and displays the status on the display unit.

도 15는 VTR의 "테이프 헤드로의 되감기 및 재생"을 하도록 한 응용예를 나타낸 도면.FIG. 15 shows an application example for "rewinding and playing back to a tape head" of a VTR. FIG.

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

2 : 퍼스널 컴퓨터 11 : VTR 디바이스2: personal computer 11: VTR device

12 : 송수신기 블록 13 : VTR 서브디바이스12: transceiver block 13: VTR subdevice

Claims (2)

복수의 전자 장치들 사이에서 복수의 제어 신호들 및 정보 신호들을 반송(carry)하기 위한 통신 제어 버스에 의해, 상기 복수의 전자 장치들이 상호 접속된 시스템에서의 통신 제어 방법에 있어서,A communication control method in a system in which the plurality of electronic devices are interconnected by a communication control bus for carrying a plurality of control signals and information signals between a plurality of electronic devices, 상기 복수의 제어 신호들 중, 상기 복수의 전자 장치들 중 하나의 전자 장치의 상태를 전송하기 위한 명령(command)을 나타내는 하나의 제어 신호를 수신하는 단계로서, 상기 전자 장치의 상태 변화가 미리 결정된 유형들의 상태 변화들 중 하나인 경우, 상기 명령은 상기 상태가 전송될 것을 요구하는, 상기 수신 단계와,Receiving a control signal indicating a command for transmitting a state of one of the plurality of electronic devices among the plurality of control signals, wherein the state change of the electronic device is predetermined; If one of the types of state changes, the command requires that the state be sent; 상기 제어 신호를 수신할 때 명령 트랜잭션(transaction)을 시작하는 단계와,Initiating a command transaction upon receiving the control signal; 상기 제어 신호를 전송한 적어도 하나의 장치에 제1 응답 신호를 전송하는 단계로서, 상기 제1 응답 신호는 상기 제어 신호의 수신을 가리키고, 상기 전자 장치의 현재 상태를 나타내는, 상기 제1응답 신호 전송 단계와,Transmitting a first response signal to at least one device that has transmitted the control signal, wherein the first response signal indicates receipt of the control signal and indicates a current state of the electronic device; Steps, 상기 제어 신호의 수신 후, 상기 전자 장치의 상태 변화를 한번만 검출하는 단계와,Detecting a state change of the electronic device only once after receiving the control signal; 상기 상태 변화가 검출되는 경우, 상기 검출된 상태 변화를 나타내는 제2 응답 신호를 상기 통신 제어 버스를 통하여 전송하는 단계로서, 상기 상태 변화는 상기 상태 변화가 상기 명령에 의하여 지정된 미리결정된 유형인 경우에만 전송되는, 상기 제2 응답 신호 전송 단계와,When the state change is detected, transmitting a second response signal indicating the detected state change via the communication control bus, wherein the state change is only when the state change is a predetermined type specified by the command. Transmitted, transmitting the second response signal; 상기 제2 응답 신호를 전송할 때 상기 명령 트랜잭션을 자동적으로 종료하는 단계를 포함하는, 통신 제어 방법.Automatically terminating the command transaction when transmitting the second response signal. 복수의 전자 장치들 사이에서 복수의 제어 신호들 및 정보 신호들을 반송하기 위한 통신 제어 버스에 의해 상호 접속된 상기 복수의 전자 장치들을 갖는 시스템에서 사용하기 위한 전자 장치에 있어서,An electronic device for use in a system having the plurality of electronic devices interconnected by a communication control bus for carrying a plurality of control signals and information signals between a plurality of electronic devices. 상기 복수의 제어 신호들 중, 상기 복수의 전자 장치들 중 하나의 전자 장치의 상태를 전송하기 위한 명령을 나타내는 하나의 제어 신호를 수신하는 제1 수단으로서, 상기 전자 장치의 상태 변화가 미리 결정된 유형들의 상태 변화들 중 하나인 경우, 상기 명령은 상기 제1 수단에 의해 상기 상태가 전송될 것을 요구하는, 상기 제1 수단과,A first means for receiving one control signal indicating a command for transmitting a state of one of the plurality of electronic devices among the plurality of control signals, wherein the state change of the electronic device is a predetermined type; The first means for requesting that the state be transmitted by the first means, if one of the state changes 상기 제어 신호를 수신할 때 명령 트랜잭션을 시작하는 수단과,Means for starting a command transaction upon receiving the control signal; 상기 제어 신호를 전송한 적어도 하나의 장치에 제1 응답 신호를 전송하는 수단으로서, 상기 제1 응답 신호는 상기 제어 신호의 수신을 가리키고, 상기 전자 장치의 현재 상태를 나타내는, 상기 제1 응답 신호 전송 수단과,Means for transmitting a first response signal to at least one device that transmitted the control signal, wherein the first response signal indicates receipt of the control signal and indicates a current state of the electronic device; Sudan, 상기 제어 신호의 수신 후 상기 전자 장치의 상태 변화를 한번만 검출하는 제2 수단을 포함하고,Second means for detecting a state change of the electronic device only once after receiving the control signal, 상기 제1 수단은 상기 제2 수단에 의한 검출에 응답하여, 상기 검출된 상태 변화를 나타내는 제2 응답 신호를 상기 통신 제어 버스를 통하여 전송하고, 상기 상태 변화는 상기 상태 변화가 상기 명령에 의하여 지정된 미리결정된 유형인 경우에만 전송되고, 상기 제1 수단은 상기 제2 응답 신호를 전송할 때 상기 명령 트랜잭션을 자동적으로 종료하는, 전자 장치.In response to the detection by the second means, the first means sends a second response signal indicating the detected state change via the communication control bus, wherein the state change is specified by the command. Transmitted only if it is of a predetermined type, and wherein said first means automatically terminates said command transaction when transmitting said second response signal.
KR1019960052190A 1995-10-31 1996-10-31 Communication control method and electronic device KR100446568B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP30672495A JP3629778B2 (en) 1995-10-31 1995-10-31 COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND CONTROL DEVICE
JP95-306724 1995-10-31

Publications (2)

Publication Number Publication Date
KR970024765A KR970024765A (en) 1997-05-30
KR100446568B1 true KR100446568B1 (en) 2005-04-06

Family

ID=17960544

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960052190A KR100446568B1 (en) 1995-10-31 1996-10-31 Communication control method and electronic device

Country Status (2)

Country Link
JP (1) JP3629778B2 (en)
KR (1) KR100446568B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000001191A1 (en) * 1998-06-30 2000-01-06 Matsushita Electric Industrial Co., Ltd. Network control system and method therefor
EP1198153A1 (en) * 2000-05-22 2002-04-17 Sony Corporation Data transmission method, data transmission system, and data transmission device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63187749A (en) * 1987-01-29 1988-08-03 Nec Corp Circuit connection system
EP0467305A2 (en) * 1990-07-19 1992-01-22 Sony Corporation Apparatus for connecting electronic appliances
EP0522445A2 (en) * 1991-07-06 1993-01-13 Sony Corporation Controlling system and method for audio or video units
JPH06268653A (en) * 1993-03-12 1994-09-22 Matsushita Electric Ind Co Ltd Multimedia network and device controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63187749A (en) * 1987-01-29 1988-08-03 Nec Corp Circuit connection system
EP0467305A2 (en) * 1990-07-19 1992-01-22 Sony Corporation Apparatus for connecting electronic appliances
EP0522445A2 (en) * 1991-07-06 1993-01-13 Sony Corporation Controlling system and method for audio or video units
JPH06268653A (en) * 1993-03-12 1994-09-22 Matsushita Electric Ind Co Ltd Multimedia network and device controller

Also Published As

Publication number Publication date
KR970024765A (en) 1997-05-30
JPH09130870A (en) 1997-05-16
JP3629778B2 (en) 2005-03-16

Similar Documents

Publication Publication Date Title
KR100490254B1 (en) Communication control method, communication system and electronic equipment
US5535208A (en) Data transmission system and method
JP3870436B2 (en) Information signal recording device and communication method
JP3783282B2 (en) COMMUNICATION CONTROL METHOD, COMMUNICATION SYSTEM AND ELECTRONIC DEVICE USED FOR THE SAME
KR19980042496A (en) Transmission method, reception method and electronic device
US5548725A (en) System for transmitting command and/or data in a single packet and automatically reporting status a predetermined time after receiving a command
KR100446568B1 (en) Communication control method and electronic device
US6727799B1 (en) Communication control method and electronic equipments
JP3271110B2 (en) Data communication method and electronic device
JP4196978B2 (en) COMMUNICATION SYSTEM, INFORMATION OBTAINING METHOD, AND ELECTRONIC DEVICE
JPH10200555A (en) Transmission method, reception method and electronic device
EP1521259A1 (en) Information recording device and information recording method
JPH0951343A (en) Electronic equipment and controlling method therefor
KR100626677B1 (en) ??? Combination system capable of controlling operating by using communication protocol
JPH077765A (en) Bus system
JPH10307765A (en) Transmitter-receiver its method, and communication control device, its method
JPH07250386A (en) Electronic device control method
KR20050026646A (en) Status monitoring systme of controled device and status monitoring method thereof
JP2001148705A (en) Control method and communication device
JP2002198970A (en) Data communication method and electronic device
JP2003023587A (en) Apparatus controller
JP2002290902A (en) Digital video reproducing/recording device

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: 20130819

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20140818

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee