CN1309361A - Apparatus having configuration read-only memory storing format informations - Google Patents
Apparatus having configuration read-only memory storing format informations Download PDFInfo
- Publication number
- CN1309361A CN1309361A CN00136635A CN00136635A CN1309361A CN 1309361 A CN1309361 A CN 1309361A CN 00136635 A CN00136635 A CN 00136635A CN 00136635 A CN00136635 A CN 00136635A CN 1309361 A CN1309361 A CN 1309361A
- Authority
- CN
- China
- Prior art keywords
- equipment
- data
- information
- storage device
- data storage
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Small-Scale Networks (AREA)
- Time-Division Multiplex Systems (AREA)
- Communication Control (AREA)
Abstract
一电子设备包括可被其它电子设备直接存取的、把有关其自己的功能作为关键字来存储的配置ROM。有关在该电子设备内的各子单元的信息也可作为关键字存储在该配置ROM内。有关各子单元的信息包括表示可被这些子单元处理的数据的格式的信息和表示这些子单元的类型的信息等。由于有关这些子单元的信息被作为关键字存储在可被其它电子设备直接存取的配置ROM内,所以即使在这些电子设备按照不同协议进行操作的情况下,它们也能够容易地从该配置ROM中读出有关这些子单元的信息。
An electronic device includes a configuration ROM that is directly accessible by other electronic devices and stores functions related to itself as keys. Information about the subunits within the electronic device may also be stored as keys in the configuration ROM. The information on each subunit includes information indicating the format of data that can be handled by these subunits, information indicating the type of these subunits, and the like. Since the information about these subunits is stored as a key in a configuration ROM that can be directly accessed by other electronic devices, even if these electronic devices operate according to different protocols, they can easily read from the configuration ROM. Read information about these subunits in .
Description
本发明涉及用在视频设备、音频设备等上的、可按照特定协议、例如“音频/视频控制(“AV/C”)进行操作的电子设备。具体来说,本发明涉及包含可被其它电子设备直接存取的存储器的电子设备,这种电子设备存储了有关子单元的信息,即使在其按照不同的协议进行操作的情况下,这种信息也可被其它电子设备容易获得。This invention relates to electronic equipment used on video equipment, audio equipment, etc., that can operate according to a specific protocol, such as "Audio/Video Control ("AV/C"). An electronic device with direct device access memory that stores information about subunits that is readily accessible to other electronic devices even if they operate according to a different protocol.
多个按照不同协议操作的电子设备可通过公共总线、例如IEEE(电气和电子工程师协会)1394总线互连。A plurality of electronic devices operating according to different protocols can be interconnected by a common bus, such as an IEEE (Institute of Electrical and Electronics Engineers) 1394 bus.
起IEEE 1394节点作用的电子设备(单元)、例如录像机可包括一些子单元和其中存储了有关这些子单元的各种信息的一配置只读存储器(“ROM”)。其它电子设备可通过IEEE 1394总线直接对该配置ROM进行存取。An electronic device (unit) functioning as an IEEE 1394 node, such as a video recorder, may include subunits and a configuration read-only memory ("ROM") in which various information about these subunits is stored. Other electronic devices can directly access the configuration ROM through the IEEE 1394 bus.
但是,在按照特定协议、例如AV/C协议进行操作的设备的包含有关各子单元的信息配置ROM内的信息与按照不同协议操作的设备不一致。特别是,与设备的特定协议(AV/C)相关的配置ROM内的信息不能被按照不同协议操作的其它设备进行存取。However, the information in the configuration ROM containing information about each subunit of a device operating under a specific protocol, such as the AV/C protocol, is inconsistent with that of a device operating under a different protocol. In particular, the information in the configuration ROM related to the specific protocol (AV/C) of the device cannot be accessed by other devices operating according to a different protocol.
如果对上述配置ROM进行直接存取,就更加需要涉及电子设备的操作协议的信息、例如有关子单元的信息,可被可能是按照不同协议进行操作的其它电子设备进行存取。If there is direct access to the above-mentioned configuration ROM, it is even more necessary that information related to the operating protocol of the electronic device, such as information about subunits, can be accessed by other electronic devices that may operate according to different protocols.
因此,本发明的目的是提供这样一种电子设备,其中有关该设备的一(一些)子单元的信息可容易地被甚至是按照不同协议操作的其它电子设备获得。本发明的其它目的和优点有些将是显而易见的,而有些将可从说明书和附图中看出。It is therefore an object of the present invention to provide an electronic device in which information about a subunit(s) of the device can be easily obtained by other electronic devices even operating according to different protocols. Other objects and advantages of the invention will be apparent, and some will be learned from the description and drawings.
本发明的电子设备包括一存储装置用于将有关其自身电子设备的功能作为关键字来存储,该存储装置可被其它电子设备直接存取;和至少一个子单元,其中存储器装置将有关该子单元的信息作为关键字来存储。The electronic equipment of the present invention includes a storage device for storing functions related to its own electronic equipment as keywords, and the storage device can be directly accessed by other electronic equipment; and at least one subunit, wherein the storage device stores the functions related to the subunit The information of the unit is stored as a key.
本发明可包括把有关其自己的电子设备的功能作为关键字来存储的存储装置,该存储装置可被其它电子设备直接存取。如果其自己的电子设备是IEEE 1394节点,则存储装置例如可以是配置ROM。存储装置可以把有关在该电子设备(或“单元”)内的一子单元的信息作为关键字来存储。有关该子单元的信息可以包括表示可被一子单元处理的数据的格式的信息、表示一子单元的类型的信息等。The present invention may include storage means that stores functions related to its own electronic equipment as keys, and the storage means can be directly accessed by other electronic equipment. If its own electronic equipment is an IEEE 1394 node, the storage means may be, for example, a configuration ROM. The storage means may store information about a sub-unit within the electronic device (or "unit") as a key. The information on the subunit may include information indicating the format of data that can be handled by a subunit, information indicating the type of a subunit, and the like.
由于有关该子单元的信息被作为关键字存储在可被其它电子设备直接存取的存储装置内,所以即使该其它电子设备按照不同协议进行操作的情况下,该其它电子设备也能够容易地从上述存储装置中读出有关该子单元的信息。Since the information about the subunit is stored as a key in a storage device that can be directly accessed by other electronic equipment, even if the other electronic equipment operates according to a different protocol, the other electronic equipment can be easily accessed from the The information about the subunit is read from the above-mentioned storage device.
另外,本发明的电子设备可进一步包括以最小ASCⅡ(美国信息交换标准码)形式存储了销售商或型号名称的存储装置。于是,最小ASCⅡ对其有效的电子设备就能够容易地显示销售商或型号名称。In addition, the electronic equipment of the present invention may further include a storage device storing a seller or a model name in a minimum ASCII (American Standard Code for Information Interchange) format. Thus, the electronic equipment for which the minimum ASCII is valid can easily display a seller or a model name.
为更好理解本发明,参看以下说明和附图,其中:For a better understanding of the present invention, refer to the following description and accompanying drawings, wherein:
图1是表示利用IEEE 1394互连的网络系统的方框图;Figure 1 is a block diagram representing a network system interconnected using IEEE 1394;
图2表示利用IEEE 1394系统连接的设备的传输数据的周期结构;Fig. 2 represents the periodic structure of the transmission data of the device utilizing IEEE 1394 system connection;
图3是表示CSR架构的地址空间结构的图示;Figure 3 is a diagram representing the address space structure of the CSR architecture;
图4表示PCR的结构;Fig. 4 represents the structure of PCR;
图5(A)至5(D)分别表示oMPR、oPCR、iMPR和iPCR的结构;Figures 5(A) to 5(D) represent the structures of oMPR, oPCR, iMPR and iPCR, respectively;
图6表示插头(plug)、插头控制寄存器和同步信道之间的关系;Fig. 6 represents the relation between plug (plug), plug control register and synchronous channel;
图7表示控制命令和其响应之间的关系;Figure 7 shows the relationship between control commands and their responses;
图8详细表示图7的命令和响应之间的关系;Figure 8 shows in detail the relationship between the command and response of Figure 7;
图9表示本发明一实施例的同步传送包的包结构的一个例子;Fig. 9 shows an example of the packet structure of the synchronous transfer packet of an embodiment of the present invention;
图10表示本发明一实施例的异步传送包的包结构的一个例子;Fig. 10 shows an example of the packet structure of the asynchronous transfer packet of an embodiment of the present invention;
图11是表示配置ROM的数据结构的图示;FIG. 11 is a diagram representing a data structure of a configuration ROM;
图12是表示总线信息块的数据结构的图示;Fig. 12 is a diagram representing a data structure of a bus information block;
图13是表示被作为关键字存储的子单元的类型的图示;FIG. 13 is a diagram representing types of subunits stored as keys;
图14是表示子单元和关键字之间的对应关系的图示;FIG. 14 is a diagram showing correspondence between subunits and keywords;
图15是表示数据格式和关键字之间的对应关系的图示;Fig. 15 is a diagram showing the correspondence between data formats and keywords;
图16是表示可被子单元处理的数据的格式信息被作为关键字存储的一个例子的图示;FIG. 16 is a diagram representing an example in which format information of data that can be processed by a subunit is stored as a key;
以下参看附图描述本发明的一实施例:An embodiment of the present invention is described below with reference to the accompanying drawings:
图1表示其中多个节点利用IEEE 1394总线20互连的一网络系统。在图1所示的网络系统中,集成接收机解码器(“IRD”)10和录像机(video deck)100与IEEE 1394总线20连接。IRD 10和录像机100可以分别是IEEE 1394节点。接收天线30和监视器40与IRD 10连接。接收天线30还与录像机100连接。FIG. 1 shows a network system in which a plurality of nodes are interconnected using an IEEE 1394
如上所述,录像机100是IEEE 1394节点,可以按照AV/C协议进行操作。录像机100可以包括调谐器110和磁带记录/再现部分120作为子单元,还可包括存储有关录像机的信息的配置ROM 130。此外,录像机100可以能够处理“MPEG2”传输流”(运动图像专家组)和“数字VCR”(盒式录像机)视频数据格式。As described above, the video recorder 100 is an IEEE 1394 node and can operate according to the AV/C protocol. The video recorder 100 may include a tuner 110 and a tape recording/reproducing section 120 as subunits, and may also include a configuration ROM 130 storing information on the video recorder. In addition, video recorder 100 may be capable of handling "MPEG2" Transport Stream" (Moving Picture Experts Group) and "Digital VCR" (Video Cassette Recorder) video data formats.
图2表示按照IEEE 1394连接的设备传输的数据的周期结构。在IEEE1394中,数据被分成包,并按照125μs(微秒)的周期以分时方式进行传送。这种周期由具有主周期功能的电子设备提供的周期开始信号来建立。同步包确保从每一周期开始起的传输所必须的带宽(时间单元被称作带宽)。于是,同步传输保证了固定时间内的数据传输。但是,如果出现传输错误,则数据将因无保护机制而丢失。Figure 2 shows the periodic structure of data transmitted by devices connected according to IEEE 1394. In IEEE1394, data is divided into packets and transmitted in a time-division manner at a cycle of 125 μs (microsecond). This cycle is established by a cycle start signal provided by the master cycle capable electronics. The isochronous packet secures the bandwidth necessary for transmission from the beginning of each cycle (time unit is called bandwidth). Thus, isochronous transmission guarantees data transmission within a fixed time. However, if a transmission error occurs, the data will be lost with no protection mechanism.
在每一周期的不用于同步传输的时间内,作为判优的结果占用了总线的电子设备发送异步包。异步传输通过利用确认和重试来保证安全传输,但传输定时将是不定的。Electronic devices occupying the bus as a result of arbitration transmit asynchronous packets during the time not used for isochronous transfers of each cycle. Asynchronous transfers ensure safe transfers by utilizing acknowledgments and retries, but transfer timing will be variable.
为了使预定电子设备能够执行同步传输,这些电子设备必须具有同步功能。此外,这些电子设备中的至少一台必须具有主周期功能。还有,至少一台与IEEE 1394串行总线连接的电子设备具有同步资源管理器功能。In order for predetermined electronic devices to perform isochronous transfers, these electronic devices must have a synchronization function. In addition, at least one of these electronic devices must have a main cycle function. Also, at least one electronic device connected to the IEEE 1394 serial bus has an isochronous resource manager function.
IEEE 1394可以基于具有按照ISO/IEC(国际标准化组织/国际电工委员会)13213规定的64比特地址空间的“控制及状态寄存器(“CSR”)架构。图3表示符合CSR结构的地址空间的结构。高16比特可以形成表示每条IEEE1394总线上的节点的节点ID。其余48比特可用来指定分配给每一节点的地址空间。此外,这些高16比特可分成10比特的总线ID和6比特的实际ID(狭义的节点ID)。由于全部比特都设置为1的值可被用于特殊目的,所以它们能够指定1023条总线和63个节点。IEEE 1394 may be based on a "Control and Status Register ("CSR") architecture with a 64-bit address space as specified in ISO/IEC (International Organization for Standardization/International Electrotechnical Commission) 13213. FIG. 3 shows the structure of an address space conforming to the CSR structure. The upper 16 bits can form the node ID representing each node on the IEEE1394 bus. The remaining 48 bits can be used to specify the address space assigned to each node. In addition, these upper 16 bits can be divided into 10 bits of the bus ID and 6 bits of the actual ID (node ID in a narrow sense).Since values with all bits set to 1 can be used for special purposes, they can specify 1023 buses and 63 nodes.
在低48比特规定的256太字节的地址空间中,由高20比特规定的空间可分成在2048字节的CSR专用的寄存器、IEEE 1394专用的寄存器等中使用的初始寄存器空间(Initial Register Space)、专用空间(Private Space)、初始存储器空间(Initial Memory Space)等。如果由其高20比特规定的空间是初始寄存器空间等,则由低28比特规定的空间可用作:在配置ROM 130中使用和专用于一节点的初始单元空间(Initial Unit Space)、插头控制寄存器(Plug ControlRegister(“PCR”))等。基于一般ROM格式的上述配置ROM 130可以设置在初始寄存器空间内的地址400h至800h范围内。In the address space of 256 terabytes specified by the lower 48 bits, the space specified by the upper 20 bits can be divided into initial register spaces (Initial Register Space) used in 2048-byte CSR-specific registers, IEEE 1394-specific registers, etc. ), Private Space, Initial Memory Space, etc. If the space specified by its upper 20 bits is an initial register space, etc., then the space specified by the lower 28 bits can be used as: initial unit space (Initial Unit Space) used in configuration ROM 130 and dedicated to a node, plug control Register (Plug ControlRegister("PCR")), etc. The above-mentioned configuration ROM 130 based on a general ROM format may be set in the range of
虽然每一电子设备都具有图3所示的CSR,但就带宽可用的寄存器而言,只有同步资源管理器所包含的那些才是有效的。换句话说,带宽可用的寄存器实际上只被同步资源管理器所包含。Although every electronic device has a CSR as shown in FIG. 3, only those contained in the isochronous resource manager are valid as far as bandwidth available registers are concerned. In other words, bandwidth-available registers are actually only contained by isochronous resource managers.
如果在同步通信中没有分配带宽,就在带宽可用寄存器中存储最大值,每当带宽被分配,就减小其值。If no bandwidth is allocated in synchronous communication, the maximum value is stored in the bandwidth available register, and its value is decremented every time bandwidth is allocated.
在偏移224h和228h之间的信道可用寄存器的每一比特分别对应于信道号0至63。如果某一比特等于零,就表明相应信道已经被分配。在这种情况下,只有正在作为同步资源管理器操作的电子设备的信道可用寄存器才是有效的。Each bit of the channel availability register between offsets 224h and 228h corresponds to channel
为了通过接口控制每一设备的输入和输出,每一设备具有由IEC 61883规定的在图3所示初始单元空间内的从地址900h至9FFh的PCR(插头控制寄存器)。插头(plug)的概念的一种具体化是形成在逻辑上类似于模拟接口的信号通路。In order to control the input and output of each device through the interface, each device has a PCR (plug control register) specified by IEC 61883 in the initial unit space shown in FIG. 3 from address 900h to 9FFh. One incarnation of the concept of a plug is to form a signal path that is logically similar to an analog interface.
图4表示PCR的结构。PCR具有用来表示输出插头的输出插头控制寄存器(“oPCR”)和用来表示输入插头的输入插头控制寄存器(“iPCR”)。此外,PCR还具有表示每一设备特有的在输出插头或输入插头上的信息的输入主插头寄存器(“oMPR”)和输入主插头寄存器(“iMPR”)。每一设备可以不具有多个oMPR和iMPR,但可以具有多个相应于每一插头的oPCR和iPCR。图4所示的PCR分别具有31个oPCR和iPCR。通过操作相应于这些插头的寄存器来控制同步数据的流动。Fig. 4 shows the structure of PCR. The PCR has an output plug control register ("oPCR") to represent an output plug and an input plug control register ("iPCR") to represent an input plug. In addition, the PCR has an input master plug register ("oMPR") and an input master plug register ("iMPR") that represent information specific to each device on either the output plug or the input plug. Each device may not have multiple oMPRs and iMPRs, but may have multiple oPCRs and iPCRs corresponding to each plug. The PCRs shown in Figure 4 have 31 oPCRs and iPCRs, respectively. The flow of isochronous data is controlled by manipulating the registers corresponding to these plugs.
图5A至5D表示oMPR、oPCR、iMPR和iPCR的结构:图5A表示oMPR的结构;图5B表示oPCR的结构;图5C表示iMPR的结构;图5D表示iPCR的结构。oMPR和iMPR一端的2比特的数据速率能力的区域存储表示可被该设备传送或接收的同步数据的最大传输速度。oMPR的广播信道基数的区域规定供广播输出使用的信道号。5A to 5D show the structures of oMPR, oPCR, iMPR and iPCR: FIG. 5A shows the structure of oMPR; FIG. 5B shows the structure of oPCR; FIG. 5C shows the structure of iMPR; FIG. 5D shows the structure of iPCR. The 2-bit data rate capability field storage on one side of the oMPR and iMPR indicates the maximum transmission speed of isochronous data that can be transmitted or received by the device. The field of broadcast channel base of oMPR specifies the channel number used for broadcast output.
oMPR另一端的5比特的输出插头的数目的区域存储表示相关设备拥有的输出插头的数目、即oPCR的数目的值。iMPR另一端的5比特的输入插头的数目的区域存储表示相关设备拥的输入插头的数目、即iPCR的数目的值。非永久扩展字段和永久扩展字段的区域是供将来扩展使用的区域。The 5-bit number of output plugs area at the other end of the oMPR stores a value indicating the number of output plugs owned by the relevant device, that is, the number of oPCRs. The 5-bit number of input plugs area at the other end of the iMPR stores a value indicating the number of input plugs possessed by the relevant device, that is, the number of iPCRs. The areas of the non-permanent extension field and the permanent extension field are areas for future extension.
oPCR和iPCR一端的每一在线区域表示插头的使用状态。换句话说,1的数值表示插头在线,而0的值表示插头离线。oPCR和iPCR的每一广播连接计数器的值表示广播连接是存在(1)还是不存在(0)。oPCR和iPCR的每一点到点连接计数器(6比特宽)的值表示相关插头拥有的点到点连接的数目。oPCR和iPCR的每一信道号(6比特宽)的值表示相关插头与之连接的同步信道号。oPCR的数据速率(2比特宽)的值表示相关插头输出的同步数据包的实际传输速度。存储在oPCR的开销ID(4比特宽)区域内的代码表示同步通信的开销的带宽。oPCR的净荷(10比特宽)的值表示相关插头能够处理的同步包所包含的数据的最大值。Each line field at one end of the oPCR and iPCR indicates the usage status of the plug. In other words, a value of 1 means the plug is online, while a value of 0 means the plug is offline. The value of each broadcast connection counter of oPCR and iPCR indicates whether a broadcast connection exists (1) or does not exist (0). The value of each point-to-point connection counter (6 bits wide) of oPCR and iPCR indicates the number of point-to-point connections owned by the associated plug. The value of each channel number (6 bits wide) of oPCR and iPCR indicates the synchronization channel number to which the associated plug is connected. The value of the data rate (2 bits wide) of the oPCR indicates the actual transmission speed of the isochronous packets output by the associated plug. The code stored in the overhead ID (4-bit width) area of oPCR indicates the bandwidth of the overhead of the isochronous communication. The value of the payload (10 bits wide) of oPCR indicates the maximum value of data contained in an isochronous packet that the associated plug can handle.
图6表示插头、插头控制寄存器和同步信道之间的关系。AV(视听)设备50至52通过IEEE 1394串行总线彼此连接。其信道由(oPCR(0)至oPCR(2)中的)oPCR(1)规定、其传输速度和oPCR的数目由AV设备52的oMPR确定的同步数据被发送给IEEE 1394串行总线的信道1。AV设备50读出并存储发送给IEEE 1394串行总线的信道1的同步数据。同样地,AV设备51发送同步数据给由oPCR(0)规定的信道2,而AV设备50读出来自由iPCR(1)规定的信道2的同步数据,并存储之。Figure 6 shows the relationship between plugs, plug control registers and isochronous channels. AV (Audio Visual) equipment 50 to 52 are connected to each other by an IEEE 1394 serial bus. Synchronous data whose channel is specified by oPCR(1) (of oPCR(0) to oPCR(2)) and whose transmission speed and number of oPCRs are determined by oMPR of the
以下参看图7和8描述在图1所示音频系统中采用的AV/C命令集。The AV/C command set employed in the audio system shown in FIG. 1 will be described below with reference to FIGS. 7 and 8. FIG.
图7表示异步地发送的控制命令和响应。如图7所示,控制侧用“控制器”来表示而受控侧用“目标”来表示。利用在IEEE 1394上的异步传输的写事务处理(transaction)来在电子设备之间执行控制命令的传输或对该命令的响应。目标接收数据向控制器返回确认收到(ACK),以确认数据的接收。Fig. 7 shows control commands and responses sent asynchronously. As shown in FIG. 7, the controlling side is represented by "controller" and the controlled side is represented by "target". Transmission of a control command or a response to the command is performed between electronic devices using a write transaction of asynchronous transmission over IEEE 1394. The target receives the data and returns an acknowledgment (ACK) to the controller to confirm the receipt of the data.
图8更详细地表示图7所示控制命令和响应之间的关系。电子设备A通过IEEE 1394总线与电子设备B连接。电子设备A是控制器,而电子设备B是目标。电子设备A和电子设备B都具有命令寄存器和响应寄存器,每一个都是512字节。如图8所示,控制器(设备A)通过把命令消息写入目标(设备B)的命令寄存器123来传送命令。相反地,目标(设备B)通过把响应消息写入控制器(设备A)的响应寄存器122来传送响应。控制信息于是利用这两种消息进行了交换。FIG. 8 shows the relationship between the control commands and responses shown in FIG. 7 in more detail. Electronic device A is connected to electronic device B through the IEEE 1394 bus. Electronic device A is the controller and electronic device B is the target. Both electronic device A and electronic device B have a command register and a response register, each of 512 bytes. As shown in FIG. 8, the controller (device A) transmits a command by writing a command message into the
图9是表示供上述同步传输使用的同步传输包的一部分的图示。该包被指定了一头部,该头部占据前头的32×2比特,包括同步模式(sy)、包代码(tcode)、信道、标记、数据长度和纠错码(CRC)。把在划分固定长度的数据以给每一个包分配时的连续包计数值(DBC)、保留(RSV)、表示是否有源包头部的标志(SPH)、源包的划分数(FN)、数据块尺寸(DBS)及其本身识别码(SID)等分配给随后的32比特。把如时间标记这样的记录区域(SYT)、被发送数据的取样频率(FDF)、传输格式(FMT)等分配给随后的32比特。再把由32比特一个单元的源数据组成的被发送数据分配给再后面的32比特,在这些被发送数据的末尾是纠错码(CRC)。FIG. 9 is a diagram showing a part of an isochronous transfer packet used for the above-mentioned isochronous transfer. The packet is assigned a header which occupies the first 32*2 bits and includes synchronization mode (sy), packet code (tcode), channel, flag, data length, and error correction code (CRC). The continuous packet count value (DBC), reserved (RSV), indicating whether there is a source packet header (SPH), the division number (FN) of the source packet, and the data when dividing the fixed-length data to assign each packet The block size (DBS), its own identification code (SID), and the like are assigned to the following 32 bits. A recording area (SYT) such as a time stamp, a sampling frequency (FDF) of transmitted data, a transmission format (FMT) and the like are allocated to the subsequent 32 bits. Further, transmitted data composed of source data of a unit of 32 bits is assigned to the next 32 bits, and at the end of these transmitted data is an error correction code (CRC).
此外,在本例子中,用在8比特组成的取样频率(FDF)区域中的一特定位置处的一个比特(图9中用虚线围起来的位置处的一个比特)来添加表示音频信号的传输速率为受控的标记(FC)。如果该标记(FC)是“1”信号,就表示进入了传输速率受控的模式。如果标记(FC)是“0”信号,就表示进入了传输速率不受控的模式。在以下的说明中,把传输速率受控的模式称为流控制模式。Furthermore, in this example, one bit at a specific position in the sampling frequency (FDF) region composed of 8 bits (one bit at a position surrounded by a dotted line in FIG. Rate is Flag Controlled (FC). If the flag (FC) is a "1" signal, it means that the transmission rate controlled mode has been entered. If the flag (FC) is a "0" signal, it means entering a mode in which the transmission rate is not controlled. In the following description, the mode in which the transmission rate is controlled is called a flow control mode.
图1的录像机100的链接块(未示出)按照固定的单元给这种同步传送包添加数字音频信号(DA)、数字视频信号(DV)等,并通过输入-输出电路(未示出)将其传送给总线20。The link block (not shown) of video recorder 100 of Fig. 1 adds digital audio signal (DA), digital video signal (DV) etc. to this isochronous transmission packet according to fixed unit, and through input-output circuit (not shown) Send it to the
图10是表示利用上述控制命令等进行一对一异步通信的异步传送包的图示。录像机100的输入-输出电路在包上设置表示其自己的节点和总线数目等的地址等,以便将其传送。具体来说,从包的前面起的32比特被分配给该包的优先级(优先级)、该包的代码(tCode)、该包的重试(retry)代码(rt)、给该包分配的标签(tLabel)、传输速度(spd)和表示连续包的关系的识别数据(imm)。此外,还分配了规定目的地节点的地址的数据(目的地偏移高,目的地偏移低)和表示目的地节点以及总线的数据(目的地ID)。还分配了传输数据的数据长度(数据长度)等,这些传输数据以32比特一个单位进行分配。FIG. 10 is a diagram showing an asynchronous transfer packet for one-to-one asynchronous communication using the above-mentioned control commands and the like. The input-output circuit of the video recorder 100 sets an address, etc. indicating its own node and bus number, etc., on a packet to transmit it. Specifically, 32 bits from the front of the packet are assigned to the priority (priority) of the packet, the code (tCode) of the packet, the retry code (rt) of the packet, the The label (tLabel), the transmission speed (spd) and the identification data (imm) representing the relationship of successive packets. In addition, data specifying the address of the destination node (destination offset high, destination offset low) and data indicating the destination node and the bus (destination ID) are allocated. The data length (data length) and the like of the transmission data are also allocated, and these transmission data are allocated in units of 32 bits.
录像机100的链接块接收输入-输出电路接收的一对一通信的包,向处理设备(未示出)、如主计算机或集成中央处理单元(“CPU”)告知分配给该包的数据。这样,就向处理装置告知了从一台设备(未示出)传送至录像机100的各种控制命令。The link block of the video recorder 100 receives packets of one-to-one communication received by the input-output circuit, and notifies a processing device (not shown), such as a host computer or an integrated central processing unit ("CPU"), of the data assigned to the packet. In this way, various control commands transmitted from a device (not shown) to the video recorder 100 are informed to the processing means.
至于按照IEEE 1394连接的设备之间的数据通信,可参看在此援引作为参考的、于2000年1月25日提交的、申请号为09/490,827的待审查美国专利申请。As regards data communication between devices connected in accordance with IEEE 1394, see co-pending U.S. Patent Application No. 09/490,827, filed January 25, 2000, which is incorporated herein by reference.
图11表示图1所示配置ROM 130的数据结构。配置ROM 130可以包含总线信息块“Bus information block”、根目录“Root Directory”、示例目录“Instance Directory”和单元目录“Unit Directory”。Fig. 11 shows the data structure of configuration ROM 130 shown in Fig. 1. The configuration ROM 130 may contain a bus information block "Bus information block", a root directory "Root Directory", an instance directory "Instance Directory" and a unit directory "Unit Directory".
图12表示图11所示总线信息块的数据结构。ROM 130的前5个四位组可以包含总线信息块。唯一的值可被分配给总线信息块内的64比特的“node-vendor-id(节点厂商ID)”、“chip-id-hi(芯片ID高)”、和“chip-id-lo(芯片ID低)”,由此可将各设备彼此区分开来。“node-vendor-id”可以是由IEEE/RAC(注册管理委员会)分配给制造商的。“chip-id-hi”和“chip-id-lo”可以是总共40比特的、被“node-vendor-id”唯一地分配的ID。FIG. 12 shows the data structure of the bus information block shown in FIG. 11. The first 5 nibbles of ROM 130 may contain a block of bus information. Unique values can be assigned to the 64-bit "node-vendor-id (node vendor ID)", "chip-id-hi (chip ID high)", and "chip-id-lo (chip ID)" in the bus information block. ID Low)" to distinguish devices from each other. The "node-vendor-id" may be assigned to the manufacturer by IEEE/RAC (Registration Administration Committee). "chip-id-hi" and "chip-id-lo" may be an ID uniquely assigned by "node-vendor-id" of 40 bits in total.
回到图11,厂商ID可以位于根目录“Vendor(厂商)”的入口。“Textualdescriptor(文字描述符)”可以伴随该“Vendor”入口。“Textual descriptor”的位置可以用“Descriptor leaf offset(描述符分支偏移)”来表示。在本发明一实施例中,表示厂商的最小ASCⅡ字符可以位于“Textual descriptor”处。Referring back to FIG. 11 , the Vendor ID may be located at the entry of the root directory "Vendor (manufacturer)". A "Textual descriptor" may accompany the "Vendor" entry. The position of "Textual descriptor" can be represented by "Descriptor leaf offset (descriptor branch offset)". In an embodiment of the present invention, the minimum ASCII character representing the manufacturer may be located at the "Textual descriptor".
或者,如图13所示,表示“Descriptor Directory(描述符目录)”的位置“Descriptor Directory offset(描述符目录偏移)”可以位于根目录处。表示强制(“Mandatory”)“Textual descriptor”的位置的“Descriptor leaf offset”可以位于“Descriptor Directory”处。“Descriptor leaf offset”还可以表示任选(“Optional”)“Texture descriptor”、“Icon descriptor(图标描述符)”等的位置。在这种情况下,最小ASCⅡ字符可以位于任选(“Optional”)“Texturedescriptor”处。还有,表示厂商的图符数据可以位于“Icon descriptor”处。Or, as shown in FIG. 13, the position "Descriptor Directory offset (descriptor directory offset)" representing "Descriptor Directory (descriptor directory)" may be located at the root directory. The "Descriptor leaf offset" indicating the location of the mandatory ("Mandatory") "Textual descriptor" may be located at the "Descriptor Directory". "Descriptor leaf offset" can also indicate the position of optional ("Optional") "Texture descriptor", "Icon descriptor (icon descriptor)", etc. In this case, the minimum ASCII characters may be located at the optional ("Optional") "Texturedescriptor". Also, icon data indicating a manufacturer may be located at "Icon descriptor".
再参看图1,示例目录可以是表示其自己的电子设备的功能的一些例子的目录。根目录可以包含表示示例目录的位置的“Instance directory offset(示例目录偏移)”。此外,示例目录还可以包含表示“Keyword leaf(关键字分支)”的位置的“Keyword leaf offset(关键字分支偏移)”和表示单元目录的位置的“Unit directory offset(单元目录偏移)”。Referring again to FIG. 1, the example directory may be a directory representing some examples of the functionality of the electronic device itself. The root directory may contain an "Instance directory offset" representing the location of the instance directory. In addition, the sample directory can also contain a "Keyword leaf offset" indicating the location of the "Keyword leaf" and a "Unit directory offset" indicating the location of the unit directory .
作为IEEE 1394总线上的接入单元的节点可以包括多个单元,这些单元可独立地被操作,而一些节点可以共用地址空间。单元目录可以表示该单元的软件的版本和位置。顺便指出,虽然总线信息块和根目录的位置是固定的,但其它块可以利用偏移地址来确定。A node serving as an access unit on the IEEE 1394 bus may include multiple units that can be operated independently, while some nodes may share an address space. A unit directory may represent the version and location of the unit's software. Incidentally, although the locations of the bus information block and the root directory are fixed, other blocks can be determined using offset addresses.
表示在电子设备内的所有子单元的类型的信息可以作为关键字位于“Keyword leaf”处。该关键字可以用字母表中的大写字母“A至Z”、数值“0至9”和连字符“-”来表示。图14表示子单元类型(“Subunit Type”)和关键字(“Keyword”)之间的对应关系的一些例子。在本发明的一实施例中,录像机100可以在其内部包含调谐器110和磁带记录/再现部分120作为子单元。为此,表示调谐器110的“TUNER”和表示磁带记录/再现部分120的“TAPE(磁带)”可以作为关键字位于“Keyword leaf”处。Information representing types of all subunits within the electronic device may be located at "Keyword leaf" as a keyword. The keyword can be represented by capital letters "A to Z" of the alphabet, numeric values "0 to 9" and a hyphen "-". Fig. 14 shows some examples of correspondence between subunit types ("Subunit Type") and keywords ("Keyword"). In an embodiment of the present invention, the video recorder 100 may include a tuner 110 and a tape recording/reproducing section 120 as subunits inside it. For this reason, "TUNER" representing the tuner 110 and "TAPE (tape)" representing the tape recording/reproducing section 120 may be placed at "Keyword leaf" as keywords.
此外,可被电子设备内的子单元处理的、表示全部格式的信息可作为关键字位于“Keyword leaf”处。图15表示格式(“Format”)和关键字(“Keyword”)之间的对应关系的一些例子。在完成本发明的方式中,“MPEG 2(运动图像专家组)传送流”和“数字VCR(录像机)”格式的视频数据可被处理。为此,表示“MPEG 2传送流”的“MPEG 2-TS”和表示“数字VCR”的“DV”可作为关键字位于“Keyword leaf”处。In addition, information indicating the overall format that can be processed by subunits within the electronic device can be located at the "Keyword leaf" as a keyword. Fig. 15 shows some examples of correspondence between formats ("Format") and keywords ("Keyword"). In the manner of carrying out the present invention, video data in the formats of "MPEG 2 (Moving Picture Experts Group) Transport Stream" and "Digital VCR (Video Recorder)" can be handled. For this purpose, "MPEG 2-TS" representing "
回到图11,根目录可以包含表示单元目录的位置的“Unit directoryoffset”。单元目录可以包含“Specifier-ID(指定符ID)”、“Version(版本)”和“Model(型号)”的入口。型号ID可以位于“Model”入口处。“Textualdescriptor”可以伴随该“Model”入口。“Textual descriptor”的位置可以用“Descriptor leaf offset”来表示。在本发明一实施例中,表示型号名称的最小ASCⅡ字符可以位于“Textual descriptor”处。Returning to Figure 11, the root directory may contain a "Unit directoryoffset" representing the location of the unit directory. The unit directory may contain entries for "Specifier-ID (specifier ID)", "Version (version)" and "Model (model)". The model ID can be located at the "Model" entry. A "Textualdescriptor" can accompany the "Model" entry. The position of "Textual descriptor" can be represented by "Descriptor leaf offset". In an embodiment of the present invention, the minimum ASCII characters representing the model name may be located at the "Textual descriptor".
或者,如图16所示,表示“Descriptor Directory”位置的“DescriptorDirectory offset”可以位于根目录处,例如,表示强制(“Mandatory”)“Textualdescriptor”位置的“Descriptor leaf offset”可以位于“Descriptor Directory”处,表示任选(“Optional”)“Textual descriptor”、“Icon descriptor”、“Modifiabledescriptor(可修改描述符)”等的位置的“Descriptor leaf offset”可以位于同一处。在这种情况下,表示型号名称的最小ASCⅡ字符可以位于强制(“Mandatory”)“Textual descriptor”处。型号的图符数据可以位于“Icondescriptor”处。还有,表示型号的其它数据可以位于“Modifiable descriptor”处。Alternatively, as shown in Figure 16, the "DescriptorDirectory offset" indicating the location of the "Descriptor Directory" can be located at the root directory, for example, the "Descriptor leaf offset" indicating the location of the mandatory ("Mandatory") "Textualdescriptor" can be located at the "Descriptor Directory" , the "Descriptor leaf offset" indicating the position of the optional ("Optional") "Textual descriptor", "Icon descriptor", "Modifiabledescriptor (modifiable descriptor)", etc. may be located at the same place. In this case, the minimum ASCII characters representing the model name can be located at the mandatory ("Mandatory") "Textual descriptor". The icon data of the model can be located at "Icondescriptor". Also, other data representing the model number may be located at the "Modifiable descriptor".
如上所述,根据本发明的实施例,表示录像机内的各子单元的类型的信息可作为关键字存储在配置ROM 130内。还有,表示可被录像机100内的各子单元处理的数据的格式的信息也可存储在配置ROM 130内。配置ROM130可被按照不同于AV/C协议的协议进行操作的其它电子设备直接存取。因此,在图1的网络系统中,即使当例如IRD 10可按照不同于AV/C协议的协议进行操作时,IRD 10也能够直接存取录像机100的配置ROM 130,并能够容易地获得可被录像机100内的子单元处理的数据的格式信息。As described above, according to an embodiment of the present invention, information indicating the type of each subunit in the video recorder can be stored as a key in the configuration ROM 130. Also, information indicating the format of data that can be processed by each subunit in the video recorder 100 may also be stored in the configuration ROM 130. The configuration ROM 130 is directly accessible by other electronic devices operating under a protocol other than the AV/C protocol. Therefore, in the network system of FIG. 1, even when, for example, the
顺便说一下,虽然在本发明的上述实施例中,存储在配置ROM 130内的有关各子单元的信息是表示各子单元的类型的信息和表示可被这些子单元处理的数据格式的信息,但本发明不受此限制。By the way, although in the above-described embodiments of the present invention, the information on each subunit stored in the configuration ROM 130 is information indicating the type of each subunit and information indicating a data format that can be processed by these subunits, However, the present invention is not limited thereto.
还有,虽然在以上描述的发明中,发明被应用于录像机100,但不用说,本发明可同样被应用于包括类似配置ROM的其它电子设备。Also, although in the invention described above, the invention is applied to the video recorder 100, it goes without saying that the present invention can be equally applied to other electronic devices including a similarly configured ROM.
根据本发明,由于有关子单元的信息被存储在可被甚至按照不同协议进行操作的其它电子设备直接存取的存储器装置内,所以这种信息可容易地被这些电子设备获得。此外,由于电子设备包括以最小ASCⅡ形式存储了厂商或型号名称的存储器装置,所以如果电子设备是最小ASCⅡ对其有效的电子设备,则厂商或型号名称就可容易地被显示。According to the invention, since the information about the subunits is stored in memory means which can be directly accessed even by other electronic devices operating according to different protocols, this information can be easily obtained by these electronic devices. In addition, since the electronic device includes a memory device storing the maker or model name in minimum ASCII, the maker or model name can be easily displayed if the electronic device is an electronic device for which the minimum ASCII is valid.
由此可见,除以上描述可清楚看出的目的外,上述目的都得到了有效的实现,因为不脱离本发明的精神和不超出其范围可在执行上述方法和上述结构方面作出某些改进,所以应当认识到,以上描述所包含的、附图中所显示除的内容是说明性的而不是限制性的。It can be seen that, except the purpose clearly seen from the above description, the above-mentioned purpose has been effectively realized, because some improvements can be made in implementing the above-mentioned method and the above-mentioned structure without departing from the spirit of the present invention and not exceeding its scope, It is therefore to be realized that all matter contained in the above description, except that shown in the accompanying drawings, is illustrative and not restrictive.
还应当认识到,所附权利要求书用来覆盖此处所描述的发明的一般和特定的特征,还用来覆盖本发明的因语言的解释而可被认为是在其范围内的所有表述。It should also be realized that the appended claims are intended to cover both generic and specific features of the invention described herein and also all expressions of the invention which, by language interpretation, may be considered to be within their scope.
Claims (28)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP26123299A JP2001086195A (en) | 1999-09-14 | 1999-09-14 | Electronics |
| JP261232/1999 | 1999-09-14 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN1309361A true CN1309361A (en) | 2001-08-22 |
Family
ID=17358982
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN00136635A Pending CN1309361A (en) | 1999-09-14 | 2000-09-14 | Apparatus having configuration read-only memory storing format informations |
Country Status (4)
| Country | Link |
|---|---|
| JP (1) | JP2001086195A (en) |
| KR (1) | KR20010050416A (en) |
| CN (1) | CN1309361A (en) |
| TW (1) | TW531999B (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4683587B2 (en) * | 2000-10-31 | 2011-05-18 | キヤノン株式会社 | Communication control apparatus and method |
| JP4484353B2 (en) * | 2000-10-31 | 2010-06-16 | キヤノン株式会社 | COMMUNICATION CONTROL DEVICE, ITS CONTROL METHOD, AND COMMUNICATION SYSTEM |
| KR100925213B1 (en) | 2002-06-07 | 2009-11-06 | 엘지전자 주식회사 | High-density multilayer optical disc, and optical power control method accordingly |
| KR20030094855A (en) * | 2002-06-08 | 2003-12-18 | 엘지전자 주식회사 | High density multi layer optical disc and method for managing a layer formatting |
| JP4640650B2 (en) * | 2006-03-31 | 2011-03-02 | 日本ビクター株式会社 | Controlled device |
-
1999
- 1999-09-14 JP JP26123299A patent/JP2001086195A/en active Pending
-
2000
- 2000-09-09 KR KR1020000053691A patent/KR20010050416A/en not_active Withdrawn
- 2000-09-13 TW TW089118735A patent/TW531999B/en active
- 2000-09-14 CN CN00136635A patent/CN1309361A/en active Pending
Also Published As
| Publication number | Publication date |
|---|---|
| TW531999B (en) | 2003-05-11 |
| JP2001086195A (en) | 2001-03-30 |
| KR20010050416A (en) | 2001-06-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6366964B1 (en) | Method of and apparatus for dynamically enumerating objects representing devices within an IEEE 1394 serial bus networking | |
| KR100439539B1 (en) | Asynchronous data pipe for automatically managing asynchronous data transfers between an application and a bus structure | |
| US6446142B1 (en) | Method of and apparatus for dynamically binding subobjects into objects to represent functions and characteristics of a device within an IEEE 1394 serial bus network | |
| JP3543647B2 (en) | Data transfer control device and electronic equipment | |
| KR100728521B1 (en) | Method for pre-processing data packets in a bus interface unit received via a communication bus and bus interface unit for use within this method | |
| US20020010824A1 (en) | Electronic equipment and method for processing digital serial data at bus initialization phase in interface unit | |
| US20020085088A1 (en) | Information processor and method for processing information | |
| US6964006B2 (en) | Network error display apparatus and error detection display method | |
| JP3543649B2 (en) | Data transfer control device and electronic equipment | |
| JP4504497B2 (en) | Method and bus interface using memory to connect bus and application device | |
| KR100746900B1 (en) | An electronic device and a method of controlling a state of a physical layer circuit of the electronic device | |
| US6909699B2 (en) | Data transfer system, data transfer management apparatus and data transfer method | |
| JP2002111704A (en) | Data transmitting / receiving apparatus and method | |
| EP1156423A2 (en) | Information processing apparatus, information processing method and bridge utilizing the same | |
| US6580711B1 (en) | Serial interface circuit and signal processing method of the same | |
| CN1309361A (en) | Apparatus having configuration read-only memory storing format informations | |
| CN1317867C (en) | Interface circuit | |
| CN1152528C (en) | Sending method, sending system and sender | |
| JP2000134231A (en) | Data transfer control device and electronic equipment | |
| CN1343336A (en) | Method and apparatus for compilation of bus packets for isochronous data transmission | |
| JP2002057683A (en) | Control device and control method | |
| KR20010033660A (en) | Data transfer controller and electronic device | |
| JPH10285241A (en) | Signal processing circuit | |
| JP2001086419A (en) | Electronics | |
| JP2000358051A (en) | Data transmission method and data transmission device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C06 | Publication | ||
| PB01 | Publication | ||
| C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
| WD01 | Invention patent application deemed withdrawn after publication |