KR100623020B1 - Control Method of Digital Camcoder in IEEE1394 - Google Patents

Control Method of Digital Camcoder in IEEE1394 Download PDF

Info

Publication number
KR100623020B1
KR100623020B1 KR1020040009104A KR20040009104A KR100623020B1 KR 100623020 B1 KR100623020 B1 KR 100623020B1 KR 1020040009104 A KR1020040009104 A KR 1020040009104A KR 20040009104 A KR20040009104 A KR 20040009104A KR 100623020 B1 KR100623020 B1 KR 100623020B1
Authority
KR
South Korea
Prior art keywords
command
frame
audio
generating
response
Prior art date
Application number
KR1020040009104A
Other languages
Korean (ko)
Other versions
KR20050080928A (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 KR1020040009104A priority Critical patent/KR100623020B1/en
Publication of KR20050080928A publication Critical patent/KR20050080928A/en
Application granted granted Critical
Publication of KR100623020B1 publication Critical patent/KR100623020B1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25DPERCUSSIVE TOOLS
    • B25D1/00Hand hammers; Hammer heads of special shape or materials
    • B25D1/04Hand hammers; Hammer heads of special shape or materials with provision for withdrawing or holding nails or spikes

Abstract

본 발명은 IEEE1394에서의 디지털 캠코더 제어방법에 관한 것으로, a) 캠코더의 연결여부를 판단하는 단계; b) 전송상태 AV/C 명령 프레임을 생성하고 이에 대한 응답 프레임을 확인하는 단계; c) 상기 응답 프레임의 값이 녹화상태인지 여부를 판단하는 단계; d) 상기 응답 프레임의 값이 녹화상태이면 카메라 AV/C 명령 셋 중 필수 상태 명령 프레임을 생성하는 단계; e) 상기 필수 상태 명령 프레임의 실행 가능 여부를 판단하는 단계; 및 g) 상기 필수 상태 명령 프레임이 실행 가능하면 카메라 모드로 판단하고, 이에 해당하는 AV/C 명령 프레임을 생성 후 상기 명령 셋을 외부에 알려주는 단계를 포함한다.The present invention relates to a digital camcorder control method in IEEE1394, comprising: a) determining whether a camcorder is connected; b) generating a transmission status AV / C command frame and confirming a response frame thereto; c) determining whether a value of the response frame is in a recording state; d) generating a mandatory state command frame of the camera AV / C command set if the value of the response frame is in a recording state; e) determining whether the required state command frame is executable; And g) determining the camera mode if the mandatory state command frame is executable, and generating an AV / C command frame corresponding thereto, and notifying the command set to the outside.

IEEE1394, AV/C, 디지털 캠코더IEEE1394, AV / C, Digital Camcorders

Description

IEEE1394에서의 디지털 캠코더 제어방법 {Control Method of Digital Camcoder in IEEE1394}Control Method of Digital Camcorder in IEEE133.4 {Control Method of Digital Camcoder in IEEE1394}

도 1 은 일반적인 1394 시리얼 버스의 토폴로지(topology)를 나타낸 도면.1 illustrates a topology of a typical 1394 serial bus.

도 2 는 일반적인 1394 시리얼 버스 프로토콜 레이어들간의 관계를 나타낸 도면.2 is a diagram illustrating a relationship between common 1394 serial bus protocol layers.

도 3 은 도 2 의 오디오/비디오 컨트롤 커맨드 앤드 트랜잭션 셋 및 SBP-2에 사용되는 오디오/비디오 컨트롤 커맨드 앤드 트랜잭션 셋(AV/C Command and Transaction Set)의 오디오/비디오 컨트롤 커맨드 프레임(AV/C command frame)을 나타낸 도면.FIG. 3 illustrates an audio / video control command frame (AV / C command) of the audio / video control command and transaction set and the audio / video control command and transaction set used in SBP-2. frame).

도 4 는 도 3 의 오디오/비디오 컨트롤 커맨드 프레임(AV/C command frame)의 커맨드 타입(ctype)을 나타낸 도면.4 shows a command type (ctype) of the audio / video control command frame (AV / C command frame) of FIG.

도 5 은 도 3 의 오디오/비디오 컨트롤 커맨드 프레임(AV/C command frame)의 서브유니트_타입(subunit_type)을 나타낸 도면.FIG. 5 shows a subunit_type of the AV / C command frame of FIG. 3; FIG.

도 6 는 도 3 의 오디오/비디오 컨트롤 커맨드 프레임(AV/C command frame)의 서브유니트 아이디(subunit ID)를 나타낸 도면.FIG. 6 is a diagram illustrating a subunit ID of the audio / video control command frame of FIG. 3. FIG.

도 7 은 도 3 의 오디오/비디오 컨트롤 커맨드 프레임(AV/C command frame)의 오피코드(opcode)를 나타낸 도면.FIG. 7 illustrates an opcode of the audio / video control command frame of FIG. 3. FIG.

도 8 는 도 2 의 오디오/비디오 컨트롤 커맨드 앤드 트랜잭션 셋 및 SBP-2에 사용되는 오디오/비디오 컨트롤 커맨드 앤드 트랜잭션 셋(AV/C Command and Transaction Set)의 오디오/비디오 컨트롤 리스펀스 프레임(AV/C response frame)을 나타낸 도면.FIG. 8 illustrates an audio / video control response frame (AV / C response) of the audio / video control command and transaction set and the audio / video control command and transaction set used in SBP-2. frame).

도 9 는 도 8 의 오디오/비디오 컨트롤 리스펀스 프레임(AV/C response frame)의 리스펀스 타입(response type)을 나타낸 도면.9 illustrates a response type of the audio / video control response frame of FIG. 8; FIG.

도 10은 본 발명의 일 실시예에 따른 디지털 캠코더의 제어방법을 나타낸 순서도.10 is a flowchart illustrating a method of controlling a digital camcorder according to an embodiment of the present invention.

본 발명은 IEEE1394에서 디지털캠코더를 제어하는 방법에 관한 것으로, 좀 더 상술하면 디지털 캠코더를 타기기에서 캠코더가 지원하는 AV/C 명령으로 제어하는 방법에 관한 것이다.The present invention relates to a method for controlling a digital camcorder in IEEE1394. More particularly, the present invention relates to a method for controlling a digital camcorder with AV / C commands supported by a camcorder in another device.

도 1 은 종래 기술에 따른 1394 시리얼 버스의 토폴로지(topology)를 나타낸 도면으로, Digital TV(1)와, PC(2)와, CDROM(3)과, Digital Camera(4)와, Digital Camcoder(5)와, DVCR(6)과, DVD RAM(7)과, Printer(8)간이 루프(loop)를 형성하지 않도록 1394 시리얼 버스로 연결구성된다.1 is a diagram illustrating a topology of a 1394 serial bus according to the prior art, in which a digital TV 1, a PC 2, a CDROM 3, a digital camera 4, and a digital camcoder 5 are shown. ), DVCR (6), DVD RAM (7), and Printer (8) are connected by a 1394 serial bus so as not to form a loop.

도 2 는 종래 기술에 따른 1394 시리얼 버스 프로토콜 레이어들간의 관계를 나타낸 도면으로, 시리얼 버스 매니지먼트(Serial Bus Management;이하 SBM이라 약칭함)(11)와, 피지컬 레이어(Physical layer)(12)와, 링크 레이어(Link layer)(13)와, 오디오/비디오 칩 레이어(A/V CIP layers)(14)와, 애플리케이션 레이어(Application layer)와, 트랜잭션 레이어(Transaction layer)(16)와, 플러그 컨트롤 레지스터(Plug Control Register)(17)와, 커넥션 매니지먼트 프로토콜(Connection Management Protocol)부(18)와, 펑션 컨트롤 프로토콜(Function Control Protocol)부(19)와, 오디오/비디오 컨트롤 커맨드 앤드 트랜잭션 셋(AV/C Command and Transaction Set) 및 SBP-2(20)로 구성된다.FIG. 2 is a diagram illustrating a relationship between 1394 serial bus protocol layers according to the prior art, and includes serial bus management (hereinafter, referred to as SBM) 11, a physical layer 12, and FIG. Link layer 13, A / V CIP layers 14, Application layer, Transaction layer 16, Plug control register (Plug Control Register) 17, Connection Management Protocol section 18, Function Control Protocol section 19, and audio / video control command and transaction set (AV / C) Command and Transaction Set) and SBP-2 (20).

도 3 은 도 2 의 오디오/비디오 컨트롤 커맨드 앤드 트랜잭션 셋 및 SBP-2에 사용되는 오디오/비디오 컨트롤 커맨드 앤드 트랜잭션 셋(AV/C Command and Transaction Set)의 오디오/비디오 컨트롤 커맨드 프레임(AV/C command frame)을 나타낸 도면으로, 상기 오디오/비디오 컨트롤 커맨드 프레임(AV/C command frame)은 프레임이 오디오/비디오 컨트롤 커맨드(AV/C Commands)임을 나타내는 4비트의 "0", 커맨드 타입(command type:ctype), 서브유니트_타입(subunit_type), 서브유니트 아이디(subunit ID), 오피코드(opcode), 다수개의 오퍼랜드(oprand) 등으로 이루어진다.FIG. 3 illustrates an audio / video control command frame (AV / C command) of the audio / video control command and transaction set and the audio / video control command and transaction set used in SBP-2. The AV / C command frame is a 4-bit " 0 " indicating that the frame is an audio / video control command (AV / C Commands), and a command type. ctype), a subunit_type, a subunit ID, an opcode, a plurality of operands, and the like.

도 4 는 도 3 의 오디오/비디오 컨트롤 커맨드 프레임(AV/C command frame)의 커맨드 타입(ctype)을 나타낸 도면으로, 상기 커맨드 타입(ctype)은 제어 대상기기에 동작을 지시하는 컨트롤(CONTROL)을 나타내는 "0", 제어 대상기기의 현재 상태를 파악하기 위한 스테이터스(STATUS)를 나타내는 "1", 제어 대상기기가 어떤 특정한 형식의 커맨드에 대해서 동작을 지원하는 지 여부를 파악하기 위한 스페서픽 인콰이어리(SPECIFIC INQUIRY)를 나타내는 "2", 제어 대상기기의 현재 상태를 파악하고 나중에 제어 대상기기의 변화된 상태에 대한 정보를 받기 위한 노티파이(NOTIFY)를 나타내는 "3", 제어 대상기기가 어떤 커맨드에 대해서 한가지 모드라도 동작을 지원하는 지 여부를 파악하기 위한 제너널 인콰이어리(GENERAL INQUIRY)를 나타내느 "4", 미래의 상술을 위한 리저브드(Reserved for future specification)를 나타내는 "5-7", 리스펀스 코드를 위한 리지브드(Reserved for response code)를 나타내는 "8-F16"으로 이루이진다.FIG. 4 is a diagram illustrating a command type (ctype) of an audio / video control command frame (AV / C command frame) of FIG. 3, wherein the command type (ctype) indicates a control (CONTROL) for instructing an operation to be controlled. "0" to indicate, "1" to indicate the current status of the controlled device, and a specific inquisition to determine whether the controlled device supports an operation for a certain type of command. "2" for SPECIFIC INQUIRY), "3" for NOTIFY for grasping the current state of the controlled device and receiving information on the changed state of the controlled device later. "4", which stands for GENERAL INQUIRY to determine whether any mode supports operation, Reserved for future details " 5-7 " representing a re specification, and " 8-F 16 " representing a reserved for response code.

도 5 은 도 3 의 오디오/비디오 컨트롤 커맨드 프레임(AV/C command frame)의 서브유니트_타입(subunit_type)을 나타낸 도면으로, 상기 서브유니트_타입(subunit_type)은 비디오 모니터(Video monitor)를 나타내는 "0", 미래의 상술을 위한 리저브드(Reserved for future specification)를 나타내는 "1-2", 오디오 또는 비디오의 디스크 리코더/플레이어(disc recorder/player)를 나타내는 "3", 오디오 또는 비디오의 데이프 리코더/플레이어(tape recorder/player)를 나타내는 "4", 튜너를 나타내는 "5", 미래의 상술을 위한 리저브드(Reserved for future specification)를 나타내는 "6", 비디오 카메라(Video camera)를 나타내는 "7", 미래의 상술을 위한 리저브드(Reserved for future specification)를 나타내는 "8-1B16", 벤더 유니크(Vender unique)를 나타내는 "1C16", 모든 서브유니트_타입을 위한 리저브드(Reserved for all subunit_types)를 나타내는 "1D16", 다음 바이 트로 확장된 서브유니트_타입(subunit_type extended next byte)을 나타내는 "1E16", 유니트(Unit)를 나타내는 "1F16"으로 이루어진다.FIG. 5 is a diagram illustrating a subunit_type of an audio / video control command frame (AV / C command frame) of FIG. 3, wherein the subunit_type represents a video monitor. 0 "," 1-2 "indicating a reserved for future specification," 3 "indicating a disc recorder / player of audio or video, a tape recorder of audio or video "4" for / tape recorder / player, "5" for tuner, "6" for reserved for future specification, "7" for video camera "," 8-1B 16 ", which represents a Reserved for future specification," 1C 16 ", which represents a vendor unique, and" Reserved for all ". subunit_types) Indicating "1D 16", and then made to "1F 16" indicating "1E 16", the unit (Unit) that indicates the by Trojan extended _ subunit type (subunit_type extended next byte).

도 6 는 도 3 의 오디오/비디오 컨트롤 커맨드 프레임(AV/C command frame)의 서브유니트 아이디(subunit ID)를 나타낸 도면으로, 상기 서브유니트 아이디(subunit ID)은 인스턴스 넘버(Instance number)를 나타내는 "0-4", 다음 바이트로 확장된 서브유니트 아이디(subunit ID extended next byte)을 나타내는 "5", 모든 인스턴스를 위한 리저브드(Reserved for all subunit types)를 나타내는 "6", 이그노어(Ignore)를 나타내는 "7"로 이루어진다.FIG. 6 is a diagram illustrating a subunit ID of the AV / C command frame of FIG. 3, wherein the subunit ID represents an instance number. 0-4 "," 5 "for the subunit ID extended next byte," 6 "for the Reserved for all subunit types, Ignore It consists of "7" which represents.

도 7 은 도 3 의 오디오/비디오 컨트롤 커맨드 프레임(AV/C command frame)의 오피코드(opcode)를 나타낸 도면으로, 상기 오피코드(opcode)는 도 7 에 도시된 바와 같이, 유니트 및 서브유니트 커맨드(Unit and subunit commands)를 나타내는 "0-F16", 유니트 커맨드(Unit command)를 나타내는 "1016-3F16", 서브유니트 커맨드(Subunit commands)를 나타내는 "4016-7F16", 미래의 상술을 위한 리저브드(Reserved for future specification)를 나타내는 "8016-9F16", 유니트 및 서브유니트 커맨드(Unit and subunit commands)를 나타내는 "A016~BF16", 서브유니트 커맨드(Subunit commands)를 나타내는 "C016-DF16", 미래의 상술을 위한 리저브드(Reserved for future specification)를 나타내는 "EE16-FF16"으로 이루어진다.FIG. 7 is a diagram illustrating an opcode of an audio / video control command frame (AV / C command frame) of FIG. 3. The opcode is a unit and subunit command as shown in FIG. 7. "0-F 16 " for Unit and subunit commands, "10 16 -3F 16 " for Unit command, "40 16 -7F 16 " for Subunit commands, future a "80 16 -9F 16", unit and subunit "A0 ~ BF 16 16", the command subunit (subunit commands) to indicate a command (unit commands and subunit) indicating reserved (reserved for future specification) for the above-described &Quot; C0 16 -DF 16 & quot ;, which represents " EE 16 -FF 16 ", which indicates a reserved for future specification.

도 8 는 도 2 의 오디오/비디오 컨트롤 커맨드 앤드 트랜잭션 셋 및 SBP-2에 사용되는 오디오/비디오 컨트롤 커맨드 앤드 트랜잭션 셋(AV/C Command and Transaction Set)의 오디오/비디오 컨트롤 리스펀스 프레임(AV/C response frame)을 나타낸 도면으로, 상기 오디오/비디오 컨트롤 리스펀스 프레임(AV/C response frame)은 프레임이 오디오/비디오 컨트롤 커맨드(AV/C Commands)임을 나타내는 4비트의 "0", 리스펀스 타입(response type), 서브유니트_타입(subunit_type), 서브유니트 아이디(subunit ID), 오피코드(opcode), 다수개의 오퍼랜드(oprand) 등으로 이루어진다.FIG. 8 illustrates an audio / video control response frame (AV / C response) of the audio / video control command and transaction set and the audio / video control command and transaction set used in SBP-2. frame, wherein the audio / video control response frame (AV / C response frame) is a 4-bit " 0 ", response type, indicating that the frame is an audio / video control command (AV / C Commands). , A subunit_type, a subunit ID, an opcode, a plurality of operands, and the like.

도 9 는 도 8 의 리스펀스 타입(response type)을 나타낸 도면으로, 커맨드 타입을 위한 리저브드(Reserved for command types)를 나타내는 "0-7", 낫 임플리먼티드(NOT IMPLEMENTED)를 나타내는 "8", 어셉티드(ACCEPTED)를 나타내는 "9", 리젝티드(REJECTED)를 나타내는 "A16", 인 트랜지션(IN TRANSITION)를 나타내는 "B 16", 임플리먼티드/스테이블(IMPLEMENTED/STABLE)을 나타내는 "C16", 챈지드(CHANGED)를 나타내는 "D16", 미래의 상술을 위한 리저브드(Reserved for future specification)를 나타내는 "E16", 인터림(INTERIM)을 나타내는 "F16"으로 이루어진다. FIG. 9 is a diagram illustrating a response type of FIG. 8, in which "0-7" represents a reserved for command types, and "8" represents a NOT IMPLEMENTED. FIG. , "9" for ACCEPTED, "A 16 " for REJECTED, "B 16 " for IN TRANSITION, and IMPLEMENTED / STABLE. “C 16 ”, “D 16 ” for CHANGED, “E 16 ” for Reserved for future specification, “F 16 ” for INTERIM. .

이와 같이 구성된 종래 기술에 따른 버스시스템의 기기 제어방법에 대하여 첨부한 도면을 참조하여 상세히 설명하면 다음과 같다.Referring to the accompanying drawings, a method for controlling a device of a bus system according to the related art configured as described above is as follows.

먼저, 도 1 에 도시된 바와 같이, 상기 디바이스들간의 물리적인 연결은 양방향으로 데이터를 전송하기 위한 1394 시리얼 버스 케이블로 연결되고, 상기 디바 이스들은 하나 이상의 1394 시리얼 버스 케이블 연결 포트들을 갖는다.First, as shown in FIG. 1, the physical connection between the devices is connected by a 1394 serial bus cable for transmitting data in both directions, and the devices have one or more 1394 serial bus cable connection ports.

그리고 네트워크의 구성은 버스의 초기화시 자동적으로 결정되고, 다중 케이블 포트들을 가지는 디바이스들은 하나의 로컬 버스를 만들기 위하여 시그널 리피터(signal repeater)들로서 동작한다.The configuration of the network is then automatically determined at bus initialization, and devices with multiple cable ports act as signal repeaters to create a local bus.

상기 1394 시리얼 버스상의 각 디바이스는 상기 각 포트에 대하여 터미네이터(terminators)와, 트랜스시버(transceivers)와, 어비트레이션(arbitration)과, 패킷 포맷팅(packet formatting) 및 데이터 트랜스퍼 컨트롤(data transfer control)을 위한 로직으로 구성되고, 어싱크로너스 데이터(asynchronous data)와 SBM의 아이소크로너스 리소스 매니저(Isochronous Resource Manager;이하 IRM이라 약칭함)로부터 할당받은 채널과 밴드위스(bandwidth)를 통해 아이소크로너스 데이터(isochronous data)를 전송한다.Each device on the 1394 serial bus is configured for terminators, transceivers, arbitration, packet formatting, and data transfer control for each port. It is composed of logic and isochronous data through channels and bandwidth allocated from asynchronous data and SBM's Isochronous Resource Manager (hereinafter abbreviated as IRM). ).

여기서 상기 SBM은 아이소크로너스 통신 및 어싱크로너스 통신을 위한 노드 컨트롤러(node controller)와, 상기 아이소크로너스 통신을 하기 위한 IRM과, 버스 토폴로지(Bus Topology), 버스 스피드(Bus Speed), 파워 매니지먼트(Power Management)를 수행하기 위한 버스 매니저(Bus Manager)로 구성된다.The SBM is a node controller for isochronous communication and associative communication, an IRM for isochronous communication, a bus topology, a bus speed, a power management ( It is composed of a bus manager for performing power management.

상기 아이소크로너스 데이터(isochronous data)는 리얼 타임 데이터(Real Time data)로 아이소크로너스 패킷(isochronous packet) 구조로 전송되며, 이러한 아이소크로너스 패킷을 처리하기 위한 커먼 아이소크로너스 패킷 애플리케이션 인터페이스 레이어(common isochronous packet application interface layer)를 가지는 1394 시리얼 버스의 프로토콜 레이어들간의 관계는 도 2 에 도시된 바와 같다.The isochronous data is transmitted in an isochronous packet structure as real time data, and a common isochronous packet application interface layer for processing such isochronous packets is provided. The relationship between the protocol layers of the 1394 serial bus having a common isochronous packet application interface layer is shown in FIG.

상기 프로토콜은 어떤 디바이스의 애플리케이션으로부터 다른 디바이스의 애플리케이션으로 일련의 소스 패킷(source packet)들을 전송하는 것이다.The protocol is to send a series of source packets from an application of one device to an application of another device.

또한, 도 1 에 도시된 바와 같은 오디오/비디오 기기간의 동작을 제어하기 위하여 도 2 에 도시된 바와 같은 각 오디오/비디오 기기내 오디오/비디오 컨트롤 커맨드 앤드 트랜잭션 셋(AV/C Control Command and Transaction Set) 및 SBP-2(20)의 제어에 따라 펑션 컨트롤 프로토콜(Function Control Protocol)부(19)에서 도 3 에 도시된 바와 같은 오디오/비디오 컨트롤 커맨드 프레임(AV/C command frame)을 하위 레이어들을 통해 1394 케이블 환경으로 전송한다.Also, in order to control the operation between the audio / video devices as shown in FIG. 1, an audio / video control command and transaction set in each audio / video device as shown in FIG. And an audio / video control command frame (AV / C command frame) as shown in FIG. 3 in the function control protocol unit 19 under the control of the SBP-2 20 through the lower layers. Transfer to the cable environment.

여기서 제어 대상기기를 제어하고자 하는 제어기기는 각 오디오/비디오 기기마다 각각의 커맨드에 대해 지원하는 정보가 상이하기 때문에 상기 오디오/비디오 컨트롤 커맨드(AV/C command)에 지원 레벨(Support Level)에 따른 지원 여부를 알기 위해서는 스페서픽 인콰이어리(Specific Inquiry), 제너럴 인콰이어리(General Inquiry) 등의 커맨드를 이용하여 파악해야 한다.In this case, since the controller to control the control target device has different supporting information for each command for each audio / video device, the audio / video control command (AV / C command) according to the support level (Support Level) To find out, you'll need to use Commands such as Specific Inquiry and General Inquiry.

상기 지원 레벨(Support Level)로는 맨더터리(Mandatory), 리커맨디드(Recommanded), 옵셔널(Optional) 및 벤더-디펜던트(Vendor-dependent)이 있다.The Support Level includes Mandatory, Recommanded, Optional, and Vendor-dependent.

즉 제어기기는 제어 대상기기의 지원 여부를 파악하기 위하여 도 4 에 도시된 바와 같이, 상기 오디오/비디오 컨트롤 커맨드(AV/C commands)내 커맨드 타입(ctype)에 "2" 또는 "4"를 기록하여 스페서픽 인콰이어리(Specific Inquiry) 또는 제너럴 인콰이어리(Geneal Inquiry)의 커맨드를 하위 레이어를 통해 1394 케 이블 환경으로 전송한다.That is, the controller records "2" or "4" in the command type (ctype) in the audio / video control commands (AV / C commands) as shown in FIG. 4 in order to determine whether the control target device is supported. In this case, a specific inquiry or general inquiry command is transmitted through a lower layer to a 1394 cable environment.

그러면 제어 대상기기는 상기 1394 케이블 환경을 통해 상기 상기 오디오/비디오 컨트롤 커맨드(AV/C commands)를 전송받아 커맨드 타입(ctype)을 검색하여 검색결과가 "2" 또는 "4"라면 스페서픽 인콰이어리(Specific Inquiry) 또는 제너럴 인콰이어리(Geneal Inquiry) 커맨드로 인식하여 자신의 지원 여부를 오디오/비디오 컨트롤 리스펀스 프레임(AV/C response frame)에 기록하여 하위 레이어와 1394 케이블 환경을 통해 전송한다.Then, the control target device receives the audio / video control commands (AV / C commands) through the 1394 cable environment, searches for a command type (ctype), and if the search result is "2" or "4", the spherical inquiries ( Recognized as a Specific Inquiry or General Inquiry command, it records its support in an audio / video control response frame and transmits it through lower layer and 1394 cable environments.

이에 따라 제어기기는 상기 전송된 오디오/비디오 컨트롤 리스펀스 프레임(AV/C response frame)에 따라 도 4 내지 도 7 에 도시된 바와 같이, 오디오/비디오 컨트롤 커맨드(AV/C Commands)임을 나타내는 4비트의 "0", 커맨드 타입(ctype), 서브유니트_타입(subunit_type), 서브유니트 아이디(subunit ID), 오피코드(opcode), 다수개의 오퍼랜드(oprand) 등을 오디오/비디오 컨트롤 커맨드 프레임(AV/C command frame)에 기록하여 하위 레이어와 1394 케이블 환경을 통해 전송한다.Accordingly, the controller according to the transmitted audio / video control response frame (AV / C response frame), as shown in Figures 4 to 7, 4 bits indicating that the audio / video control commands (AV / C Commands) "0", command type (ctype), subunit_type, subunit ID, subcode, opcode, a plurality of operands, etc. command frame) to transmit over lower layer and 1394 cable environment.

그러면 제어 대상기기는 상기 1394 케이블 환경을 통해 상기 오디오/비디오 컨트롤 커맨드 프레임(AV/C command frame)을 전송받아 커맨드 타입(ctype)에 따라 도 9 에 도시된 바와 같은 리스펀스 코드(responde code)중 상기 커맨드 타입(ctype)에 상응하는 코드를 기록하여 도 8 에 도시된 바와 같은 오디오/비디오 컨트롤 리스펀스 프레임(AV/C response frame)을 전송한다.Then, the control target device receives the audio / video control command frame via the 1394 cable environment, and according to the command type ctype, the response code as shown in FIG. A code corresponding to the command type (ctype) is recorded to transmit an audio / video control response frame (AV / C response frame) as shown in FIG.

즉 제어 대상기기는 오디오/비디오 컨트롤 커맨드 프레임(AV/C command frame)을 전송방아 이를 처리한 결과에 따라 상기 커맨드 타입(ctype)이 컨트롤 커맨드(Control command)라면 낫 임플리먼티드(Not Implemented), 어셉티드(Accepted), 리젝티드(Rejected) 및 인터림(Interim) 중 하나를, 스테이터스 커맨드(Status command)라면 낫 임플리먼티드(Not Implemented), 리젝티드(Rejected), 인 트랜지션(In Transition) 및 스테이블(Stable) 중 하나를, 노티파이 커맨드(Notify command)라면 낫 임플리먼티드(Not Implemented), 리젝티드(Rejected) 및 인터림(Interim) 중 하나를, 스페서픽 인콰이어리(Specific Inquiry) 및 제너럴 인콰이어리(General Inquiry)라면 낫 임플리먼티드(Not Implemented) 및 임플리먼티드(Implemented) 중 하나를 상기 오디오/비디오 컨트롤 리스펀스 프레임(AV/C response frame)에 기록하여 전송한다.That is, the control target device is not implemented if the command type (ctype) is a control command according to a result of processing the audio / video control command frame (AV / C command frame). One of Accepted, Rejected, and Interim is Not Implemented, Rejected, In Transition, and Status Command. One of the Stables, one of Not Implemented, Rejected, and Interim if it is a Notify command. In case of General Inquiry, one of Not Implemented and Implemented is recorded and transmitted in the audio / video control response frame.

이에 따라 제어 대상기기를 제어하고자 하는 기기는 상기 전송된 오디오/비디오 컨트롤 리스펀스 프레임(AV/C response frame)에 따라 제어 대상기기의 제어 결과를 파악할 수 있게 된다.Accordingly, the device to control the controlled device can grasp the control result of the controlled device according to the transmitted AV / C response frame.

디지털 캠코더는 1394가 정의하는 서브 유니트 2개 이상의 서브 유니트를 가지고 있고, 사용자가 이를 선택하여 동작시킬 수 있도록 제공하며 (예를 들면 디지털 캠코더에는 카메라모드, 테이프모드 등을 사용자가 선택 하도록 되어 있다), AV/C 명령으로 디지털 캠코더를 외부에서 제어하고자 할 때에는 정확히 사용자가 선택한 모드와 각 서브 유니트에( 카메라 또는 테이프레코더) 따라 정의 되어 있는 AV/C 명령을 구별하여 사용하여야 하는 문제점이 있다.Digital camcorders have two or more sub-units defined by 1394, and the user can select and operate them (for example, the digital camcorder is designed to select camera mode, tape mode, etc.). In order to control the digital camcorder externally with the AV / C command, there is a problem in that the user must distinguish the mode selected by the user and the AV / C command defined according to each subunit (camera or tape recorder).

본 발명의 목적은 상기와 같은 문제점을 해결하기 위하여 외부에서 디지털 캠코더를 제어를 위해 AV/C 명령을 생성하기 전에 항상 디지털 캠코더의 상태가 테이프 모드인지(테이프레코더), 카메라 모드인지를 판별하여 그에 맞는 AV/C 명령을 생성하기 위함을 목적으로 하며 그를 위하여 IEEE1394에서 제정한 AV/C 명령 중 테이프레코더 AV/C 명령, 카메라 AV/C 명령 중 모든 캠코더가 지원하는 필수 명령을 이용하여 구별하는 방법을 제공하는 데 있다.
An object of the present invention is to always determine whether the digital camcorder is in tape mode (tape recorder) or camera mode before generating an AV / C command to control the digital camcorder externally. The purpose of this is to create a suitable AV / C command and to distinguish it using the required commands supported by all camcorders among tape recorder AV / C commands and camera AV / C commands among the AV / C commands established by IEEE1394. To provide.

상기와 같은 목적을 달성하기 위하여 본 발명의 IEEE1394에서의 디지털 캠코더 제어방법은 a) 캠코더의 연결여부를 판단하는 단계; b) 전송상태 AV/C 명령 프레임을 생성하고 이에 대한 응답 프레임을 확인하는 단계; c) 상기 응답 프레임의 값이 녹화상태인지 여부를 판단하는 단계; d) 상기 응답 프레임의 값이 녹화상태이면 카메라 AV/C 명령 셋 중 필수 상태 명령 프레임을 생성하는 단계; e) 상기 필수 상태 명령 프레임의 실행 가능 여부를 판단하는 단계; 및 g) 상기 필수 상태 명령 프레임이 실행 가능하면 카메라 모드로 판단하고, 이에 해당하는 AV/C 명령 프레임을 생성 후 상기 명령 셋을 외부에 알려주는 단계를 포함한다.In order to achieve the above object, a digital camcorder control method in IEEE1394 of the present invention comprises the steps of: a) determining whether a camcorder is connected; b) generating a transmission status AV / C command frame and confirming a response frame thereto; c) determining whether a value of the response frame is in a recording state; d) generating a mandatory state command frame of the camera AV / C command set if the value of the response frame is in a recording state; e) determining whether the required state command frame is executable; And g) determining the camera mode if the mandatory state command frame is executable, and generating an AV / C command frame corresponding thereto, and notifying the command set to the outside.

본 발명에서 단계 c)는 상기 응답 프레임의 값이 녹화상태가 아니면 테이프 레코더 모드로 판단하고, 이에 해당하는 AV/C 명령 프레임을 생성 후 상기 명령 셋을 외부에 알려주는 단계를 더 포함하는 것이 바람직하다.In the present invention, step c) may further include determining that the value of the response frame is not in a recording state, the tape recorder mode, and generating an AV / C command frame corresponding thereto and informing the command set to the outside. Do.

본 발명에서 단계 e)는 상기 필수 상태 명령 프레임이 실행 가능하지 않으면 테이프 레코더 모드로 판단하고, 이에 해당하는 AV/C 명령 프레임을 생성 후 상기 명령 셋을 외부에 알려주는 단계를 더 포함하는 것이 바람직하다. In the present invention, step e) further comprises the step of determining in the tape recorder mode if the mandatory state command frame is not executable, generating the corresponding AV / C command frame, and then notifying the command set to the outside. Do.

이하 첨부한 도면을 참조하여 본 발명을 보다 상세하게 설명하고자 한다.Hereinafter, the present invention will be described in more detail with reference to the accompanying drawings.

도 10은 본 발명의 일 실시예에 따른 디지털 캠코더의 제어방법을 나타낸 순서도이다.10 is a flowchart illustrating a control method of a digital camcorder according to an embodiment of the present invention.

도 10을 참조하면, 단계 1001은 캠코더가 연결되어 있는지를 확인하는 과정이다.Referring to FIG. 10, step 1001 is a process of checking whether a camcorder is connected.

단계 1002 및 1003은 전송상태 명령 프레임(Transport State Command Frame)을 생성, 전송하고 그 응답을 확인하는 과정이다.Steps 1002 and 1003 are processes of generating, transmitting a transport state command frame and confirming a response thereof.

상기 단계 1001에서 네트워크상에 상기 디지털 캠코더가 연결되어 있으면 테이프 레코더의 필수 AV/C 명령인 전송상태 AV/C 명령 프레임을 생성하고 이 명령 프레임에 대하여 정상적으로 응답을 한 경우에 한하여 응답 프레임(Response Frame)의 값을 판단한다.If the digital camcorder is connected to the network in step 1001, a response frame is generated only when a transmission status AV / C command frame, which is an essential AV / C command of the tape recorder, is generated and the response is normally performed. Determine the value of).

응답 프레임의 값은 매체 재생, 녹화, 재생, 감기의 값을 가질 수 있고 녹화가 아닌 경우는 테이프 레코더 모드라 판단한다.The value of the response frame may have a value of media playback, recording, playback, and rewinding. If not, the response frame is determined to be a tape recorder mode.

단계 1004는 카메라 필수 상태 명령 프레임(Camera Mandatory Status Command Frame)을 생성하는 과정이다.Step 1004 is a process of generating a camera mandatory status command frame.

녹화 상태라 응답한 경우에 카메라 AV/C 명령 셋 중 필수 상태 명령을 생성한다.When responding with the recording status, the required status command of the camera AV / C command set is generated.

단계 1005는 상기 필수 상태 명령 프레임의 실행 가능여부를 확인하는 과정이다.Step 1005 is a process of checking whether the required state command frame is executable.

상기 명령 프레임에 대하여 수행을 할 수 없어서 거절을 하는 경우에 테이프 레코더 모드라고 판단하고 상기 테이프 레코더의 AV/C 명령의 생성을 준비한다.(S1006a~S1007a) 상기에서 명령 프레임에 대해 수행이 가능하여 거절하지 않으면 카메라 모드로 판단한다. 테이프 레코더 모드나 카메라 모드라 판단이 되었으면 각각에 해당되는 AV/C 명령 셋을 할당하여 외부에서 디지털 캠코더를 제어시 현재 모드에서 지원되는 명령 셋을 외부에 알려 원활한 제어를 할 수 있게 한다.If it is impossible to perform the command frame and rejects it, it is determined to be in the tape recorder mode and the generation of the AV / C command of the tape recorder is prepared. (S1006a to S1007a) If not rejected, camera mode is determined. If it is determined that it is a tape recorder mode or a camera mode, the corresponding AV / C command set is assigned to each to control the digital camcorder externally so that the command set supported in the current mode can be externally controlled for smooth control.

상기와 같이, 본 발명의 바람직한 실시예를 참조하여 설명하였지만 해당 기술 분야의 숙련된 당업자라면 하기의 특허청구범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.As described above, it has been described with reference to the preferred embodiment of the present invention, but those skilled in the art various modifications and changes of the present invention without departing from the spirit and scope of the present invention described in the claims below I can understand that you can.

상술한 바와 같이 본 발명에 의하면, 미리 디지털 캠코더의 상태를 파악하여 그에 해당하는 AV/C 명령을 외부로 알려주기 때문에 원활한 제어가 가능한 효과가 있다.As described above, according to the present invention, since the state of the digital camcorder is grasped in advance and the corresponding AV / C command is notified to the outside, smooth control is possible.

Claims (3)

a) 캠코더의 연결여부를 판단하는 단계;a) determining whether the camcorder is connected; b) 전송상태 AV/C 명령 프레임을 생성하고 이에 대한 응답 프레임을 확인하는 단계;b) generating a transmission status AV / C command frame and confirming a response frame thereto; c) 상기 응답 프레임의 값이 녹화상태인지 여부를 판단하는 단계;c) determining whether a value of the response frame is in a recording state; d) 상기 응답 프레임의 값이 녹화상태이면 카메라 AV/C 명령 셋 중 필수 상태 명령 프레임을 생성하고, 상기 응답 프레임의 값이 녹화상태가 아니면 테이프 레코더 모드로 판단하여, 이에 해당하는 AV/C 명령 프레임을 생성 후 상기 명령 셋을 외부에 알려주는는 단계;d) If the value of the response frame is in the recording state, a mandatory state command frame of the camera AV / C command set is generated, and if the value of the response frame is not in the recording state, the tape recorder mode is determined, and the corresponding AV / C command is generated. Informing the command set to the outside after generating a frame; e) 상기 필수 상태 명령 프레임의 실행 가능 여부를 판단하는 단계;e) determining whether the required state command frame is executable; g) 상기 필수 상태 명령 프레임이 실행 가능하면 카메라 모드로 판단하고, 이에 해당하는 AV/C 명령 프레임을 생성 후 상기 명령 셋을 외부에 알려주는 단계를 포함하는 IEEE1394에서의 디지털 캠코더 제어방법.g) determining the camera mode if the mandatory state command frame is executable, and generating a corresponding AV / C command frame and informing the command set to the outside. 삭제delete 제 1항에 있어서, 단계 e)는The method of claim 1, wherein step e) 상기 필수 상태 명령 프레임이 실행 가능하지 않으면 테이프 레코더 모드로 판단하고, 이에 해당하는 AV/C 명령 프레임을 생성 후 상기 명령 셋을 외부에 알려주는 단계를 더 포함하는 것을 특징으로 하는 IEEE1394에서의 디지털 캠코더 제어방법.And determining the tape recorder mode if the mandatory state command frame is not executable, generating a corresponding AV / C command frame, and then notifying the command set to the outside. Control method.
KR1020040009104A 2004-02-11 2004-02-11 Control Method of Digital Camcoder in IEEE1394 KR100623020B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040009104A KR100623020B1 (en) 2004-02-11 2004-02-11 Control Method of Digital Camcoder in IEEE1394

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040009104A KR100623020B1 (en) 2004-02-11 2004-02-11 Control Method of Digital Camcoder in IEEE1394

Publications (2)

Publication Number Publication Date
KR20050080928A KR20050080928A (en) 2005-08-18
KR100623020B1 true KR100623020B1 (en) 2006-09-18

Family

ID=37267640

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040009104A KR100623020B1 (en) 2004-02-11 2004-02-11 Control Method of Digital Camcoder in IEEE1394

Country Status (1)

Country Link
KR (1) KR100623020B1 (en)

Also Published As

Publication number Publication date
KR20050080928A (en) 2005-08-18

Similar Documents

Publication Publication Date Title
JP4449218B2 (en) Digital signal processing system and digital signal transmission method
US20020010824A1 (en) Electronic equipment and method for processing digital serial data at bus initialization phase in interface unit
US6964006B2 (en) Network error display apparatus and error detection display method
US7072991B2 (en) Audio visual system having a serial bus for identifying devices connected to the external terminals of an amplifier in the system
US6823408B2 (en) Electronic equipment, and method for controlling state of physical layer circuit therefor
JP4019481B2 (en) Information processing apparatus and method, information processing system, and providing medium
KR100623020B1 (en) Control Method of Digital Camcoder in IEEE1394
KR20010085515A (en) Communication system, communication device and communication method
US20040151189A1 (en) Communications device, communications method, and transmitting method
KR100577147B1 (en) method for controlling device in bus system
KR20010007376A (en) Controlling device, communication system and controlling method
EP1182827B1 (en) Information control method, information processing apparatus, and information control system
JP2002057683A (en) Control equipment and control method
US20020105543A1 (en) User interface management for controlled devices
JP2004072678A (en) Network repeater and network repetition method
JPH10303949A (en) Bus controller and information processing system
US20020073169A1 (en) Information processing apparatus, information processing system and method thereof
KR100307369B1 (en) Asynchronous Packet Data Transmission Method
JP5776346B2 (en) Communication apparatus, network system, and packet processing method
JPH10243022A (en) Packet converter and medium
JP2002218007A (en) Transmission check method and transmission check device
KR20000025438A (en) Protocol interface method
JP2000022718A (en) Data transmission system
JP2001086189A (en) Data transfer method
JP2001077834A (en) Data transfer method

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
LAPS Lapse due to unpaid annual fee