US6249829B1 - Communication bus system with reliable determination of command execution - Google Patents
Communication bus system with reliable determination of command execution Download PDFInfo
- Publication number
- US6249829B1 US6249829B1 US09/142,550 US14255098A US6249829B1 US 6249829 B1 US6249829 B1 US 6249829B1 US 14255098 A US14255098 A US 14255098A US 6249829 B1 US6249829 B1 US 6249829B1
- Authority
- US
- United States
- Prior art keywords
- execution
- station
- information
- requesting
- bus
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40052—High-speed IEEE 1394 serial bus
- H04L12/40058—Isochronous transmission
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/10—Program control for peripheral devices
- G06F13/12—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
- G06F13/124—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine
- G06F13/126—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine and has means for transferring I/O instructions and statuses between control unit and main processor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40052—High-speed IEEE 1394 serial bus
- H04L12/40065—Bandwidth and channel allocation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40052—High-speed IEEE 1394 serial bus
- H04L12/40117—Interconnection of audio or video/imaging devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/06—Receivers
- H04B1/16—Circuits
- H04B1/20—Circuits for coupling gramophone pick-up, recorder output, or microphone to receiver
- H04B1/205—Circuits for coupling gramophone pick-up, recorder output, or microphone to receiver with control bus for exchanging commands between units
Definitions
- the invention relates to a communication bus system according to the precharacterizing part of claim 1 .
- the invention also relates to a execution station for use in such a communication bus system.
- the IEEE 1394 bus system is a communication bus system (which will be referred to as a 1394 system) which can be applied to connect stations such as TV sets and videorecorders.
- Chapter 8 of the IEEE 1394 standard describes that an execution station has a number of control status registers (CSR's). The contents of several of those CSR's can be modified in response to request packets from all of the several requesting stations.
- CSR's control status registers
- the requesting station which sends a request packet should be able to determine reliably whether the command has actually been executed, especially if the effect of repeated execution of the command differs from that of single execution (e.g. in case of an “increase TV channel number” command or a “reserve capacity” command).
- the execution station contains a status register that is affected by execution of the command and that can be read by a command from the requesting station, it is possible, in principle, to determine whether the command has been executed by verifying the contents of the status register. However, verifying the contents of the status register to detect execution does not work reliably when the bus system contains more than one requesting station that can send a request packet with a command that affects the same status register.
- the execution station after execution of a command returns a response packet to the requesting station which issued the request packet in response to which the command was executed. This allows the requesting station to determine whether the command has been executed, but it does not work when the requesting station fails to receive the response packet.
- the communication bus system is characterized by the charactering part of claim 1 .
- each particular requesting station can verify whether a command requested by it has been executed. Later execution of commands requested by other requesting stations does not affect the command execution information for the particular requesting station and therefore does not affect the reliability of verification.
- the communication bus system has an embodiment as described in claim 6 .
- a particular requesting station can issue several request packets requesting execution of different types of command and verify whether the corresponding commands have been executed after all the request packets have been issued. This means that the request packets can be issued rapidly one after the other as a coherent operation, without interruption for verification.
- each type of command for example affects a different CSR, and the communication bus system keeps information for each particular requesting station about the last executed modification of each of the CSR's that that particular requesting station has requested.
- command execution information may be stored. If the requesting station includes a respective packet identification in each packet, then the stored command execution information may contain that packet identification. This makes it possible to check on the execution of any command at any time.
- the stored command execution information may contain information about the status of the execution station immediately after execution of the command or of results produced by the execution. This makes it possible for the requesting station to analyze the execution of the command in any desired amount of detail, for example in more detail than in a standard response from the execution station. Any such command execution information may be kept stored for all of the request packets received by the execution station, or for a predetermined number of request packets for which the commands have been most recently executed. Thus older commands can also be analyzed.
- the command execution information may be stored in several ways.
- a respective predetermined storage area may be allocated in the execution station for each requesting station.
- the executing station may use the command execution information for that execution to overwrite command execution information stored in the storage area allocated to that particular requesting station.
- the storage area always contains the command execution information for the most recently executed command for that particular station (or initiation information, stored by the execution station before receiving any request packet).
- the storage area allowed to each particular station may be subdivided into storage subareas for different types of commands, the execution station overwriting only the storage subarea for the command being executed.
- only one logical bit per command type is stored for each requesting station respectively.
- the execution station sets the logical bit for that particular requesting station (and for the type of command, if more than one type of command is recorded).
- the executing station must also be capable of resetting the logical bit, preferably in response to a signal from the particular requesting station. In the 1394 system this signal may for example be generated when the particular requesting station reads out the CSR whose modification is recorded by the logical bit.
- Readout of the command execution information is preferably triggered by a readout packet transmitted by the requesting station to the execution station via the bus interconnection.
- the execution station determines from which requesting station the readout packet is issued, reads out the command execution information stored for that requesting station and sends a status packet derived under control of that command control information to the requesting station via the interconnection bus.
- the memorization of command execution information is combined with the transmission of response packets by the execution unit. This gives the requesting station the option to check on critical execution of commands if no response packet is received.
- FIG. 1 shows a communication bus system according to the invention
- FIG. 1 shows a communication bus system according to the invention.
- the communication bus system contains an execution station B, requesting stations A, 14 and an interconnecting bus 12 .
- the execution station B contains a packet reception/interpreter unit 102 , a command execution unit 104 , a command execution information memory 106 and a packet generation/sending unit 108 .
- the communication bus system uses for example the protocol specified in the IEEE 1394 standard.
- the IEEE-1394 High Speed Serial Bus uses a transaction mechanism that allows any device (station) A, B, 14 on the bus 12 to read, write or perform atomic read-modify-write actions to any accessible memory location or control and status register (CSR) in any other station A,B, 14 .
- CSR control and status register
- station A performs a transaction to station B
- the typical sequence is that station A sends a request packet to station B, B sends back a receipt acknowledge, then executes the requested function (takes time), then sends a response packet containing the function result or some status about the execution, after which A send a receipt acknowledge for the response packet back to B.
- the request and response packets contain identifications of the sender (A in the request, B in the response), the destined receiver (B in the request, A in the response), a sequence number for this transaction from A to B and data (function, results, status, etc.). These packets are also protected by a CRC error detection code, allowing the receiver to detect packet corruption.
- the acknowledge packets do not contain any of the above labels, just the status information and a very simple error detection code.
- Station B maintains a global bus resource indicating available bandwidth for isochronous data transmissions.
- Station A wishes to allocate some of this bandwidth, and sends a request packet to B containing a so called compare-swap lock function, which attempts to reduce the amount of available bandwidth by the requested amount.
- a response packet that B sends back to A indicates if the allocation was successful and hence whether or not A now owns the bandwidth and may use it.
- the request arrives without errors at B and is executed and succeeds bandwidth gets allocated for A).
- the response packet is sent back to A, but never receives it, even after possible retransmissions by B.
- A does not know if it has been granted bandwidth and will never deallocate it: the requested amount is simply no longer available for isochronous data.
- Station B is a TV device that implements a CSR which, when written to, selects the next channel. If A sends a write transaction to B to switch to the next channel, but never finds out if the command was actually executed then it could decide to retry the command, assuming something went wrong. It is possible that the TV station B has executed a ‘channel up’ function twice and is now showing the wrong channel.
- the problem is caused mainly by the fact that the only way for a requester to find out the results of its request is by receiving the response. If the response is lost then there is no way to retrieve the information later from the responding station. Reading the CSR that was supposed to be modified is not a solution because other stations may have modified it in the mean time, or reading it may have side effects that are not desirable.
- executed here means that the function corresponding to the transaction was executed, regardless of whether this resulted in a modification of the CSR value.
- S3 and S4 are not distinguishable: it simply does not know if the request was executed. These are the problem cases if the transaction was of a type that could have lead to a change in the CSR value or if it had any other side effects. S1 and S2 can be handled directly by the requester and do not form a problem.
- any execution station that implements a CSR which need to be protected from the above problem preferably stores the result or status of transactions which were received and executed (whether successfully or not) from any external station so that they may be retrieved later by that station.
- the execution station 10 contains a command execution information memory 106 .
- the packet reception/interpreter unit 102 receives packets from the bus 12 and interprets them as follows. First the packet reception/execution unit 102 determines whether the packet specifies the execution station 10 as destined receiver. If so, the packet reception/execution unit 102 extracts information from the packet which determines which command should be executed and issues this information to the command execution unit 104 , which executes the command. A result of execution is output to the command execution information memory 106 and stored therein when the packet reception/execution unit 102 signals that the command has been executed.
- the execution station 10 preferably defines an Error Status Register (ESR) in its CSR space that can be accessed with a read request transaction by any requesting station and accesses information in the command execution information memory 106 .
- ESR Error Status Register
- Such a station can read the status of (one of) its previously requested transactions. Reading the ESR itself has no side effects.
- the status of the requesting station can be cleared by having the requesting station write to the ESR (regardless of data written) using a write request transaction. A requesting station can only clear status information about its own transaction(s) using this mechanism.
- each request contains the identifier of the requesting station allows a responder to (and executer of) such a transaction to record the status information together with a label that uniquely identifies the transaction (i.e. the address label of the requester station and the transaction sequence number). This information may also be returned in the response packet.
- the station remembers all uniquely identifiable transactions of all stations.
- a station address is 16 bits and the transaction sequence number is 6 bits. This leads to a worst case situation where 2 ⁇ circumflex over ( ) ⁇ 22 status values have to be stored.
- a simpler storage method is to just store the status of the LAST transaction executed per station and to support this only for stations on the local bus, not for other stations connected through bridges. This reduces the storage requirements to not more than 62 locations.
- Implementations for making the status available can take any form but will have to be standardised (the method of accessing, the format by which the information is returned and possibly the station offset address associated with each ESR).
- ESR Error Status Register
- the station address of the sender (requester) in the transaction packet to select the proper status value and retun it as a read response.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Computer Hardware Design (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Small-Scale Networks (AREA)
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP97200076 | 1997-01-10 | ||
EP97200076 | 1997-01-10 | ||
PCT/IB1998/000018 WO1998031121A2 (en) | 1997-01-10 | 1998-01-07 | Communication bus system |
Publications (1)
Publication Number | Publication Date |
---|---|
US6249829B1 true US6249829B1 (en) | 2001-06-19 |
Family
ID=8227926
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US09/142,550 Expired - Fee Related US6249829B1 (en) | 1997-01-10 | 1998-01-07 | Communication bus system with reliable determination of command execution |
Country Status (6)
Country | Link |
---|---|
US (1) | US6249829B1 (de) |
EP (1) | EP0898819B1 (de) |
JP (1) | JP3793238B2 (de) |
KR (1) | KR100516538B1 (de) |
DE (1) | DE69825372T2 (de) |
WO (1) | WO1998031121A2 (de) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020095505A1 (en) * | 2001-01-12 | 2002-07-18 | Pioneer Corporation | Data transmission/reception system, connection establishing method and information transmission/reception apparatus |
US6470395B1 (en) * | 1998-10-21 | 2002-10-22 | Alcatel | Method to impose execution of a predefined command, first terminal and second terminal realizing such a method and a communication network including such a first terminal and such a second terminal |
US20030041228A1 (en) * | 2001-08-27 | 2003-02-27 | Rosenbluth Mark B. | Multithreaded microprocessor with register allocation based on number of active threads |
US20030105899A1 (en) * | 2001-08-27 | 2003-06-05 | Rosenbluth Mark B. | Multiprocessor infrastructure for providing flexible bandwidth allocation via multiple instantiations of separate data buses, control buses and support mechanisms |
US20030110322A1 (en) * | 2001-12-12 | 2003-06-12 | Gilbert Wolrich | Command ordering |
US20030145155A1 (en) * | 2002-01-25 | 2003-07-31 | Gilbert Wolrich | Data transfer mechanism |
US20040034743A1 (en) * | 2002-08-13 | 2004-02-19 | Gilbert Wolrich | Free list and ring data structure management |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1154998C (zh) | 1998-04-10 | 2004-06-23 | 松下电器产业株式会社 | 仪器控制命令处理系统及其方法 |
JP3145083B2 (ja) | 1998-08-04 | 2001-03-12 | 松下電器産業株式会社 | 伝送システム,帯域管理装置,および帯域管理方法 |
US6434596B1 (en) | 1999-01-29 | 2002-08-13 | Sony Corporation | Method and system for distributed queues in a multimedia network with proxies |
WO2005103934A1 (en) * | 2004-04-26 | 2005-11-03 | Koninklijke Philips Electronics N.V. | Integrated circuit and method for issuing transactions |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5953511A (en) * | 1997-04-08 | 1999-09-14 | National Instruments Corporation | PCI bus to IEEE 1394 bus translator |
US5961623A (en) * | 1996-08-29 | 1999-10-05 | Apple Computer, Inc. | Method and system for avoiding starvation and deadlocks in a split-response interconnect of a computer system |
US6088728A (en) * | 1997-06-11 | 2000-07-11 | Oracle Corporation | System using session data stored in session data storage for associating and disassociating user identifiers for switching client sessions in a server |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR940001560B1 (ko) * | 1991-11-27 | 1994-02-24 | 삼성전자 주식회사 | 콤퓨터 시스템 |
-
1998
- 1998-01-07 DE DE69825372T patent/DE69825372T2/de not_active Expired - Fee Related
- 1998-01-07 US US09/142,550 patent/US6249829B1/en not_active Expired - Fee Related
- 1998-01-07 KR KR10-1998-0707116A patent/KR100516538B1/ko not_active IP Right Cessation
- 1998-01-07 JP JP52916698A patent/JP3793238B2/ja not_active Expired - Fee Related
- 1998-01-07 WO PCT/IB1998/000018 patent/WO1998031121A2/en active IP Right Grant
- 1998-01-07 EP EP98900018A patent/EP0898819B1/de not_active Expired - Lifetime
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5961623A (en) * | 1996-08-29 | 1999-10-05 | Apple Computer, Inc. | Method and system for avoiding starvation and deadlocks in a split-response interconnect of a computer system |
US5953511A (en) * | 1997-04-08 | 1999-09-14 | National Instruments Corporation | PCI bus to IEEE 1394 bus translator |
US6088728A (en) * | 1997-06-11 | 2000-07-11 | Oracle Corporation | System using session data stored in session data storage for associating and disassociating user identifiers for switching client sessions in a server |
Non-Patent Citations (1)
Title |
---|
"The IEEE 1394 Standard", Chapter 8, pp. 199-242. |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6470395B1 (en) * | 1998-10-21 | 2002-10-22 | Alcatel | Method to impose execution of a predefined command, first terminal and second terminal realizing such a method and a communication network including such a first terminal and such a second terminal |
US20020095505A1 (en) * | 2001-01-12 | 2002-07-18 | Pioneer Corporation | Data transmission/reception system, connection establishing method and information transmission/reception apparatus |
US7139853B2 (en) * | 2001-01-12 | 2006-11-21 | Pioneer Corporation | Data transmission/reception system, connection establishing method and information transmission/reception apparatus |
US20030041228A1 (en) * | 2001-08-27 | 2003-02-27 | Rosenbluth Mark B. | Multithreaded microprocessor with register allocation based on number of active threads |
US20030105899A1 (en) * | 2001-08-27 | 2003-06-05 | Rosenbluth Mark B. | Multiprocessor infrastructure for providing flexible bandwidth allocation via multiple instantiations of separate data buses, control buses and support mechanisms |
US20030110322A1 (en) * | 2001-12-12 | 2003-06-12 | Gilbert Wolrich | Command ordering |
US6738831B2 (en) * | 2001-12-12 | 2004-05-18 | Intel Corporation | Command ordering |
US20030145155A1 (en) * | 2002-01-25 | 2003-07-31 | Gilbert Wolrich | Data transfer mechanism |
US20040034743A1 (en) * | 2002-08-13 | 2004-02-19 | Gilbert Wolrich | Free list and ring data structure management |
Also Published As
Publication number | Publication date |
---|---|
JP2000508147A (ja) | 2000-06-27 |
JP3793238B2 (ja) | 2006-07-05 |
EP0898819A2 (de) | 1999-03-03 |
EP0898819B1 (de) | 2004-08-04 |
DE69825372D1 (de) | 2004-09-09 |
DE69825372T2 (de) | 2005-07-21 |
KR100516538B1 (ko) | 2005-12-01 |
WO1998031121A2 (en) | 1998-07-16 |
WO1998031121A3 (en) | 1998-10-01 |
KR20000064575A (ko) | 2000-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6286056B1 (en) | Data storage device with small computer system interface providing persistent reservations | |
US20040093454A1 (en) | USB endpoint controller flexible memory management | |
US6249829B1 (en) | Communication bus system with reliable determination of command execution | |
EP0046486B1 (de) | Datenverarbeitungsanlage | |
EP0885418B1 (de) | Asynchrones datenübertragungsgerät zur verwaltung asynchroner datenübertragungen zwischen einem anwendungsprogramm und einer busstruktur | |
US6385658B2 (en) | Method and apparatus for synchronized message passing using shared resources | |
US6483845B1 (en) | Packet transmitter-receiver and packet receiver | |
US4523275A (en) | Cache/disk subsystem with floating entry | |
JP3726417B2 (ja) | 電子機器及び電子機器間の通信速度情報作成方法並びに記録媒体 | |
US5293487A (en) | Network adapter with high throughput data transfer circuit to optimize network data transfers, with host receive ring resource monitoring and reporting | |
US6076126A (en) | Software locking mechanism for locking shared resources in a data processing system | |
CN112839099B (zh) | 一种分布式字节锁检测控制的方法和设备 | |
EP0438960A2 (de) | Schneller Durchschreib-Cache-Speicher | |
EP0188990B1 (de) | Kohärentes Interface mit zurückgeschleiftem Empfangsspeicher | |
US20020004711A1 (en) | Control device and control method | |
US6125407A (en) | System for flushing high-speed serial link buffers by ignoring received data and using specially formatted requests and responses to identify potential failure | |
KR100636283B1 (ko) | 외부저장매체를 이용한 메시지 처리 시스템 및 그 방법 | |
JP2710587B2 (ja) | 情報処理システム | |
JP3800305B2 (ja) | ゲートウェイシステム及び通信装置端末 | |
US6345332B1 (en) | Bus interchange apparatus and dual system for accessing a fault information register without regard to buffer conditions | |
EP0249345B1 (de) | Datenpaketverkürzungsverfahren und -vorrichtung | |
WO2022247422A1 (zh) | 资源队列管理接口的验证方法、电子设备、存储介质 | |
US20020083135A1 (en) | Memory management for optimal storage of data of any size in memory | |
US7310691B2 (en) | Network subscriber station for a network of distributed stations, and method for operating a network subscriber station | |
JPH03118650A (ja) | キャッシュサポート構造 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: U.S. PHILIPS CORPORATION, NEW YORK Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:BLOKS, RUDOLF H.J.;WONG, CALTO;REEL/FRAME:009538/0605;SIGNING DATES FROM 19980814 TO 19980819 |
|
FPAY | Fee payment |
Year of fee payment: 4 |
|
REMI | Maintenance fee reminder mailed | ||
LAPS | Lapse for failure to pay maintenance fees | ||
STCH | Information on status: patent discontinuation |
Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362 |
|
FP | Lapsed due to failure to pay maintenance fee |
Effective date: 20090619 |