RussianPatents.com

Facilitating transport mode input/output operations between channel subsystem and input/output devices

Facilitating transport mode input/output operations between channel subsystem and input/output devices
IPC classes for russian patent Facilitating transport mode input/output operations between channel subsystem and input/output devices (RU 2520356):
Another patents in same IPC classes:
Method and apparatus monitoring activation of subordinate lin network blocks by analysing activation reasons Method and apparatus monitoring activation of subordinate lin network blocks by analysing activation reasons / 2519025
Invention relates to monitoring activation of subordinate blocks of LIN networks. The device (D) is designed to monitor activation of subordinate blocks (OE1-OE5) of a multiplexed LIN communication network (R) controlled by a driving block (OM). The device (D) is designed such that when the driving block (OM) detects activity in the network (R) during a standby phase, i) it instructs the driving block (OM) to transmit to at least some subordinate blocks (OE1-OE5) and preferably to all blocks, which can be a source of an activation request, request messages to which they must respond via a response message containing a status field, the value of which characterises a local or non-local source of the detected activity, ii) analyse the value of the status field of each response message received by the driving block (OM) in order to determine if at least one subordinate block is a source of activity and if so, whether said activity is justified with respect to the corresponding value of the status field, and iii) allow the driving block (OM) to acknowledge activation of subordinate blocks only if the activity is justified.
Synchronisation circuit, synchronisation method and receiving system Synchronisation circuit, synchronisation method and receiving system / 2506626
Invention relates to receiving systems that are configured to search for optimum transfer constants of a feedback circuit and are designed to synchronise received signals. The synchronisation circuit has a first phase-lock loop, a second phase-lock loop, a first output circuit, a second output circuit, a first detection circuit, a second detection circuit, a control circuit and a storage area.
Method of providing different packet length in data transfer protocol Method of providing different packet length in data transfer protocol / 2461871
Method involves transmitting a first packet from a transmitting device to a receiving device through an inter-component connection, wherein the first packet includes a header indicating the length of useful packet data, and completing transmission of the packet at the packet disconnection boundary, when the transmitting device does not have sufficient credit to transmit data to the next disconnection boundary, wherein the packet disconnection boundary corresponds to the available packet disconnection boundary and whose length is less than the length of useful packet data. Packet transmission is completed after transmitting a first segment with useful data. The transmitting device realises said method.
Auxiliary recording over address channel Auxiliary recording over address channel / 2417414
Data processing system includes a receiving device, a bus having first, second and third channels, and a transmitting device configured to address to the receiving device over the first channel and reading the payload from the receiving device over the second channel. The transmitting device is further configured to choose between the first and second channel for recording the payload onto the receiving device.
Coordinated operations for recording on bus address channel Coordinated operations for recording on bus address channel / 2405195
Data processing system includes a receiving device, a bus having first, second and third channels, and a transmitting device configured to address the receiving device on the first channel and read the payload from the receiving device on the second channel, wherein the transmitting device is further configured to record a first portion of the payload into the receiving device on the first channel and the second portion of the payload into the receiving device on the third channel.
Enforcing strongly-ordered requests in weakly-ordered processing system Enforcing strongly-ordered requests in weakly-ordered processing system / 2405194
Processing system may include multiple memory devices and multiple processors. Each of the processors is configured to generate memory access requests to one or more of the memory devices, with each of the memory access requests having an attribute that can be asserted to indicate a strongly-ordered request. The processing system further includes a bus interconnect configured to interface each of the processors to one or more memory devices, the bus interconnect being further configured to enforce ordering constraints on the memory access requests based on the attributes. The method describes operation of the said system.
Hardware-generated time marks for network packets: improved synchronisation of network clocks Hardware-generated time marks for network packets: improved synchronisation of network clocks / 2404448
First value of time shift between real-time clocks of a slave computer and real-time clocks of a host computer is calculated, a second value of time shift between real-time clocks of the slave computer and real-time clocks of the host computer is calculated, the average value of time shift between real-time clocks of the slave computer and real-time clocks of the host computer is calculated using the first and second time shift values and the real-time clocks of the slave computer are corrected using the average time shift value.
Programmable serial bus controller Programmable serial bus controller / 2360282
Present invention relates to input-output devices for processors and microcontrollers, and more specifically to serial interface controllers SPI, Microwire, I2S, and SPORT. The device contains control and state registers of the receiver and transmitter, frequency dividers for the receiver and transmitter, units for generating clock pulses of the receiver and transmitter, each of which consists of a clock signal multiplexer and a clock signal converter, a unit for generating control signals for the receiver and transmitter, each of which consists of a control signal generator and a control signal converter, a transmitter unit, consisting of a write buffer, counter and multiplexer, a receiver unit, consisting of read buffer, exchange logic unit, receiving register, counter and a decoder, output control unit and output control register.
/ 2339075
/ 2313823
/ 2245576
/ 2256949
/ 2262806
/ 2271566
/ 2274910
/ 2313823
/ 2339075
Programmable serial bus controller Programmable serial bus controller / 2360282
Present invention relates to input-output devices for processors and microcontrollers, and more specifically to serial interface controllers SPI, Microwire, I2S, and SPORT. The device contains control and state registers of the receiver and transmitter, frequency dividers for the receiver and transmitter, units for generating clock pulses of the receiver and transmitter, each of which consists of a clock signal multiplexer and a clock signal converter, a unit for generating control signals for the receiver and transmitter, each of which consists of a control signal generator and a control signal converter, a transmitter unit, consisting of a write buffer, counter and multiplexer, a receiver unit, consisting of read buffer, exchange logic unit, receiving register, counter and a decoder, output control unit and output control register.
Hardware-generated time marks for network packets: improved synchronisation of network clocks Hardware-generated time marks for network packets: improved synchronisation of network clocks / 2404448
First value of time shift between real-time clocks of a slave computer and real-time clocks of a host computer is calculated, a second value of time shift between real-time clocks of the slave computer and real-time clocks of the host computer is calculated, the average value of time shift between real-time clocks of the slave computer and real-time clocks of the host computer is calculated using the first and second time shift values and the real-time clocks of the slave computer are corrected using the average time shift value.
Enforcing strongly-ordered requests in weakly-ordered processing system Enforcing strongly-ordered requests in weakly-ordered processing system / 2405194
Processing system may include multiple memory devices and multiple processors. Each of the processors is configured to generate memory access requests to one or more of the memory devices, with each of the memory access requests having an attribute that can be asserted to indicate a strongly-ordered request. The processing system further includes a bus interconnect configured to interface each of the processors to one or more memory devices, the bus interconnect being further configured to enforce ordering constraints on the memory access requests based on the attributes. The method describes operation of the said system.

FIELD: radio engineering, communication.

SUBSTANCE: apparatus comprises a channel subsystem, a host system, a control device, the channel subsystem being configured to transmit, to the control device, a process login request which indicates whether the channel subsystem supports two-way data transmission; receiving, from the control device, a response to the process login request indicating whether the control device supports two-way data transmission; collecting a plurality of instructions in at least one of which input data transmission is indicated and in at least one of which output data transmission is indicated; transmitting, to the control device, at least one output information message containing output data to be transmitted to the control device, wherein the output information message is associated with at least one of the plurality of instructions in which output data transmission is indicated; and receiving, from the control device, at least one input message containing input data to be stored in the main storage device of the host computer system.

EFFECT: easier processing by supporting two-way operations.

25 cl, 21 dwg

 

Background of invention

The present invention relates generally to the processing of I / o, more precisely to the creation of tools to facilitate operations of the I / o transfer mode.

The operation of I / o are used to exchange data between memory and device I / o included in the processing system disk I / o. In particular, by performing the operations of input-output data from the memory in one or more device I / o, and data from one or more device I / o read memory.

To facilitate processing of the I / o is used for subsystem I / o, part of the processing system disk I / o. Subsystem I / o associated with the main memory and device I / o included in the processing system disk I / o, and directs the flow of information that is exchanged between the memory and input / output. One example of a subsystem I / o is the channel subsystem. In the channel subsystem as a transmission medium used channel path. Each channel path includes a channel connected to a control device which is further connected to one or more input devices-output.

Channel subsystem and device I / o can Deiss who participate in the transmission mode, in which to exchange data between devices I / o and memory support sending one or more control blocks command. To determine one or more commands I / o that must be performed, use the control word transfer (USP, English TCW - Transport Control Word). For commands that triggers some operations I / o, USP specifies the memory area corresponding to the operation, the action that should be taken upon completion of the transfer in the area or from the area of memory, and other options.

Such systems transaction processing I / o is typically responsible for handling individual transactions as the processing operations of the input data (e.g., read operations) or operations of the process output data (e.g., write operations). These systems typically do not support bidirectional operations and, in particular, do not have the ability to generate or transmit instructions to support bidirectional operations.

Summary of the invention

In one embodiment, implementation of the proposed computer program product for transaction I / o-initiated command I / o in a computer host system configured to communicate with the control device. Computer program product with which contains material storage medium (computer-readable storage medium), read by the processing unit and storing commands for execution by the processing unit to implement the method, including the transmission channel subsystem of the host computer system request message reception process (RP, English - Process Login control device to establish communication between the channel subsystem and the control unit, the request SPM contains a field whose value indicates whether the channel subsystem bidirectional data transmission; receiving from the device control request response RP, which contains a field whose value indicates whether the device supports control bidirectional data transfer; transfer the operating system the host system indicate that bidirectional data transmission is supported; and the implementation of the method in response to the command I / o, adopted from the computer host system. The method includes collecting a set of commands associated with the command I / o, adopted from the computer host system, at least one of the set commands specify the transmission of the input data, and at least in one of the many teams are passing on the output data; sending the set of commands to the control device; transmitting to the control device at least odnovalentnogo informational messages contains the output data to be transferred to the control device, with output information message is associated with at least one of the multiple commands, which shows the transmission of the output data; and receiving from the control device at least one input message containing the input data to be saved in the main storage device of a computer host system, the input information message is associated with at least one of the multiple commands, which indicates the transmission of the input data.

In another embodiment of the proposed device to perform I / o initiated by the command of the I / o host computer system configured for communication with the control device. Computer host system is configured for transmission through a channel subsystem of the host computer system request registration process (RP) control device to establish communication between the channel subsystem and the control unit, the request SPM contains a field whose value indicates whether the channel subsystem bidirectional data transmission; receiving from the device control request response RP that contains the field whose value specifies whether the control device is sonapravleny data; transferring the operating system from the host system to indicate that bidirectional data transmission is supported; and in response to the command I / o, adopted from the computer host system, the implementation of the method, comprising: collecting a set of commands associated with the command I / o, adopted from the computer host system, at least one of the set commands specify the transmission of the input data, and at least in one of the many teams are passing on the output data; sending the set of commands to the control device; transmitting to the control device at least one output information messages containing the output data to be transferred to the control device, with output information message is associated with at least one of the multiple commands, which shows the transmission of the output data; and receiving from the control device at least one input message containing the input data to be saved in the main storage device of a computer host system, the input information message is associated with at least one of the multiple commands, which indicates the transmission of the input data.

In another embodiment, a method of operation of the I / o initiated by the command input is in the water in the computer host system, configured to communicate with the control device. The method includes transmitting a channel subsystem of the host computer system request registration process (RP) control device to establish communication between the channel subsystem and the control unit, the request SPM contains a field whose value indicates whether the channel subsystem bidirectional data transfer;

receiving from the device control request response RP that contains the field whose value indicates whether the device supports control bidirectional data transmission; transmission of the operating system of the host system to indicate that bidirectional data transmission is supported;

and in response to the command I / o adopted from the computer host system, the implementation of the method, comprising: collecting a set of commands associated with the command I / o, adopted from the computer host system, at least one of the set commands specify the transmission of the input data, and at least in one of the many teams are passing on the output data; sending the set of commands to the control device; transmitting to the control device at least one output information messages containing the output data to be transferred to the device control is to be placed, when this output information message is associated with at least one of the multiple commands, which shows the transmission of the output data; and receiving from the control device at least one input message containing the input data to be saved in the main storage device of a computer host system, when the input message is associated with at least one of the multiple commands, which indicates the transmission of the input data.

Additional characteristics and advantages of the invention are realized by methods disclosed in the described embodiments implement. In the description considered other options for implementation and features that are considered part of the claimed invention. To provide a better understanding of the advantages and features of the invention are described with reference to the drawings.

Brief description of drawings

The object is regarded as the invention specifically described and separately claimed in the claims following the description. The above and other objectives, features and advantages of the invention will become apparent from the following further detailed description in conjunction with the accompanying drawings, in which:

figure 1 illustrates one of the embodiments of the processing system disk I / o, which contains and use the is one or more of the features of the present invention,

figure 2 is an example implementation of the control word transfer (USP),

figure 3 is an example implementation of block control command transmission (TCIS or TSV, English - transport command control block),

figure 4 is an example implementation of the information element (EI, English - information unit) command transmission, which contains illustrated in figure 3 TCIS,

figure 5 is an example implementation header command transmission, illustrated in figure 4 EI transfer command,

figure 6 is an example implementation header command transmission (SOCP or TSAN, English - transport command area header) is illustrated in figure 4 TCIS,

7 - one of the embodiments of the header command transfer (GST or TCA, English - transport command area) is illustrated in figure 4 TCIS,

on Fig table with examples of the definitions of the various accounts data for the operation of the unidirectional data transmission,

figure 9 is a table with examples of the definitions of the various accounts data for the operation of the bidirectional data

figure 10 is an example implementation of the command word devices (SIC or DCW, English - device command word),

figure 11 is one of the options for the implementation of field control flags, is illustrated in figure 10 Xu,

on Fig one of the embodiments of the extension command transmission (ROK or TSH, English - transport command area extension)

on Fig is one of the options for implementing the block offset BMF,

on Fig is a block diagram illustrating one implementation of the method operations of the I / o transfer mode,

on Fig - embodiments of EI data transfer used to transfer input and output data between the channel and the control device and/or device I / o

on Fig is one of the options for implementing the EI response to the transmission,

on Fig is one of the options for the implementation of the information about the state illustrated in Fig EI response to the transmission,

on Fig components of one example of the registration request process (RP),

on Fig components of one example of a response to the registration request process (RP),

on Fig is one of the examples of the description block of the channel path that is passed to the operating system of the computer host system channel subsystem, and

on Fig is an example of the data description channel illustrated in Fig block, including data about the capacity of the channel subsystem.

Detailed description

In embodiments implementing the present invention proposed relief operations in I / o in a computer system. In one embodiment of implementing the command transmission and to control the operation of the I / o data channel path. In the command transmission contains meta-information about the command transmission (micp or TCMI, English - transfer command meta-information), which is used to control data transmission and the transmission of additional KSU. MIK specified in one or more information elements (EI) teams transfer, defining, specifying and verifying information related to the transmitted data during the operation of input-output. Transfer command may include an inquiry command, the command transmission unit offset BMF (PBSC or TSOW, English - Transfer CBC-Offset Block) and a command transmission expansion-OKP (PRO or THE, English - transfer-TCA Extension).

In one embodiment, the implementation of the processing operation of the I / o is facilitated due to the fact that the host computer can increase the number of commands that can be transmitted to the device when you perform I / o. For example, to increase the number of teams that can accompany the operation of the I / o from the host device can be transmitted micp in the form of an extension command transmission (ROK). In one of the embodiments, ROK is transmitted via a command word devices (SIC), called SIC transmission expansion GST (PRO), which contains the commands to execute in addition to the commands transmitted in the command pane, transfer (GST).

The processing operations of I / o that the same may be facilitated through the use of tools, allows the device I / o to continue the operation of the input-output upon detection of the entry of incorrect length. For example, in the host system and the control device may be installed in the indication of incorrect length KSU. The tool provides a check on the wrong length (ND), which can be carried out by the control device. To the constitutional court, the originating device can be supplemented with field suppress incorrect length indication or suppress length (SDI). When this bit in this field is activated, allowed the clutch KSU in order to continue the operation detection device management conditions of the wrong length.

The processing operation of the I / o can also be facilitated through the use of funds transfer to device commands both read and write in a single operation I / o. In known from the prior art channel programs USP are all write commands or all commands read. Bidirectional operation can be specified by setting one or more flags in the header of the transfer command (RCP or TSN, English - transport command header) EI team, for example, by setting the unit flags both read and write and use account data both read and write. In addition, the message initialization or registration, such as the registration request is the process can be set flag specifies that the channel subsystem supports bidirectional data transmission. In response, such as a received message RP may contain a flag that can be set to indicate whether the device supports a bidirectional data transmission. If both host and device management support bidirectional data transmission, the device does not report an error, if the EI command flag is set both read and write. This ability is an improvement compared with the known from the prior art protocols Fibre Channel standard, which does not support the operation of the bidirectional data transmission. Described in the invention "bidirectional transfer" means the transfer of both the input and output data, which is carried out in a single operation I / o USP, for example, transmission and execution of commands both read and write in a single operation I / o USP.

Figure 1 illustrates one example of a system 100 processing operations I / o, which includes a computer host system 102 that contains a device for data storage and/or processing system, such as a mainframe zSeries® the production of International Business Machines Corporation (IBM®). IBM® is a registered trademark of International Business Machines Corporation (Armonk, new York, USA). Other names, the use of which has been created in the application, may be registered trademarks, trademarks or product names of International Business Machines Corporation or other companies. Computer host system 102 contains various elements of processing, storage and communication. In one embodiment, the implementation of the computer host system 102 includes one or more Central processing units (CPUs) 104, memory elements, such as the primary storage device or the memory 106, an additional storage device or memory 108, one or more operating systems (OS) 110 by one or more of the CPU 104. For example, one CPU 104 can perform the operating system 110 Linux® and/or the operating system 110 z/OS® as a different virtual machine implementations. The CPU 104 is a control center of the system 100 and processing I / o. He has the tools of the job sequence and processing to execute commands, the implementation of the interrupt, execution time functions, initial program load, and other machine functions. The CPU 104 is connected to the main memory 106 and/or extended memory 108 via connection 113, such as bidirectional or unidirectional bus.

Computer host system 102 also includes a channel subsystem 114, which provides the communication interface between the host system 101 and various devices 116 in the ode-o, which can be controlled by one or more devices 118 management. Device I / o contain equipment such as printers, tape drives, storage devices with direct access, displays, keyboards, communications controllers, remote data processing and equipment using sensors. Hereinafter in the description, the terms "control device" and "device" may be used interchangeably or may be considered that the control device includes one or more devices. Channel subsystem 114 directs the flow of information between your device 116 I / o and host computer system 102. It frees the CPU 104 of the task to liaise directly with the device 116 I / o and allows the processing of data simultaneously processing operations of input-output. Channel subsystem 114 is connected with the CPU 104, main memory 106 and/or extended memory 108 via connection 120, such as a bus.

In one embodiment, the implementation of the channel subsystem 114 are connected with each device 116 I / o corresponding "channel by" 122 that connects the channel subsystem 114 with each device 118 control via connection 124, such as a serial or parallel connection. Device 118 upravleniya to be connected with a channel subsystem 114 via multiple channel paths 122, and the device 116 I / o can be connected to multiple devices 118 management and/or devices 116 I / o. In total, a separate device 116 I / o can be accessed through a set of channel paths. In the channel path can be used to connect different types, such as a parallel interface, serial interface I / o interface I / o FICON. For example, channel way serial communication may contain one or more optical fibers connected to the device 118 management through, for example, a dynamic switch 126 in the coherent architecture of the Fibre Channel standard, and a parallel interface can contain multiple electrical or fiber optic conductors.

In one embodiment, the implementation of the channel subsystem 114 includes one or more individual channels 128, each of which is connected to one or more devices 118 management and/or devices 116 I / o through one or more channel paths 122. Each channel 128 includes electronic data processing equipment, such as a local channel, the microprocessor 130 and a local channel memory 132, which is connected to the local channel microprocessor 130 and available for him. The local channel memory 132 may gain information, such as specifying a channel program, the channel ID of the path, the number of the device, through the device status indication, as well as information about the availability of paths and waiting to execute or perform the functions.

In each channel 128 is also one or more subchannels. Each sub-channel is located in the channel memory 132 data structure that provides information about the corresponding device 116 I / o and its connection with the channel subsystem 114. The sub-channel also provides information about the operations of the I / o and other functions involving the associated device 116 I / o. The sub-channel is the means by which the channel subsystem 114 provides the CPU 104 information on the respective devices 116 I / o. In one of the embodiments, the number of subchannels provided by the channel subsystem does not depend on the number of channel paths 122 to respective devices 116 I / o. For example, the device 116, available through an alternate channel paths 122, in any case, appears as a single subchannel.

Each device 118 control uses logic to operate and control one or more devices 116 I / o, and through the use of generalized means adapts the characteristics of each of the first device 116 I / o to the communication interface, provide a channel 128. Generic tools provide operations input-output instructions regarding the status of the devices 116 I / o devices 118 management, control timing of the transmission channel path 122 and certain levels of the control device input / output. The device 118 controls can be placed separately or may be physically and logically integrated with the device I / o channel subsystem or CPU.

One or more components of system 100 and processing I / o is additionally described in the publication No. SA22-7832-08 "IBM® z/Architecture Principles of Operation" (9th edition, August 2010), which in its entirety by reference incorporated into the present application.

The operation of the I / o described as any operation involving the exchange of data between the host computer system 102 and device 116 I / o. As described in the invention, the operation of I / o provides communication between the channel subsystem 114 and the device 116 (in one of the embodiments by device 118 control), during which the channel subsystem 114 transmits to the device a single command (for example, control word channel (UIC or CCW, from the English channel command word), one command message containing multiple commands (for example, the item information commands transfer is whether the power control command transmission (TCIS)) or multiple concatenated commands (for example, many UIC). The operation of the I / o may also include generating device 116 or the corresponding device 118 management of one or more messages in response to receiving and/or executing a command or concatenated commands.

In one embodiment of the operation of the I / o initiated using device 116 by executing the generated OS 110 commands the I / o indicating the sub-channel corresponding to the device 116. Such commands are executed in the host system CPU 104 by passing through the channel 128 or subchannel parameters for the query execution channel subsystem 114 different functions during the operation of input-output.

For example, the CPU 104 executes the command start subchannel (START SUBCHANNEL) by passing parameters to the target subchannel, prompting the channel subsystem 114 perform the functions run using device 116 I / o corresponding to the subchannel. Channel subsystem 114 performs the function starts by using the subchannel information, including information transmitted during the command execution start subchannel to find the channel path is available for the device 116, and to perform I / o after selecting channel path.

When running the CPU 104 commands, such as start subchannel, the channel 128 begins to run on the ERATIO IO. In one of the embodiments, the channel subsystem 114 provides between the channel subsystem 114 and device 116 and/or device 118 controls communication according to a high-performance Protocol, FICON (HPF). The FICON protocols and HPF additionally described in the publication "Fibre Channel: Single-Byte Command code Sets Mapping Protocol - 4 (FC-SB-4)", T11 Project 2122-D, revised version 3.00 (22 September 2009), which in its entirety by reference incorporated into the present application.

In one embodiment, the implementation of the command start subchannel channel subsystem 114 receives the contents of the query block operations (BSO or ORB-English - operation request block). In BSO specified channel program, which contains the address of one or more control words (e.g., control word channel or control word transmission, which further described below). There are two modes of operation of the subchannel. In one embodiment, the implementation of the computer host system 102 operates in command mode, and sets the control word and a control word channel (CTC). In another embodiment, the host system operates in the transmission mode and sets the control word and a control word transfer (USP).

The sub-channel may switch to the transmission mode, if the tool is installed FCX (an extension of the standard Fibre Channel), and the execution result is the commands themselves start subchannel indicating channel program USP in subchannel set the start function. The sub-channel remains in transmit mode until you reset the start function. During the rest of the sub-channel is in command mode.

When in command mode, the channel performs channel program the UIC, which contains one control word channel or sequentially executed sequence of control words of the channel to control the sequence of operations of the channel. The control device performs the operation of I / o UIC by decoding, reception and execution of commands USH device I / o. One or more USK for serial execution form a channel program UIC and executed as one or more disk I / o, respectively.

The tool FCX is an optional tool for the formation of the channel program transfer mode, which consists of a control word transfer (USP), indicating that the control unit commands the transmission (TCIS) and block transfer status (BSP or TSB, English - transport-status block). TCIS has a command area transfer (GST), which contains a list of one or more (e.g. up to 30) command I / o in the form of a command word devices (SIC). USP and its TCIS can specify an operation to read or write. In one of the embodiments, in a system that supports operas is the transfer mode, can be installed tool FCX bi-directional data transmission, enabling the computer host system 102 to set the transmission for both the input and output data in a single operation I / o transfer mode if the connected device 116 and the device 118 management support bidirectional data transmission. When the device 118 management recognizes bidirectional data transmission, USP and TCIS depending on the device may be specified as the transfer data read and write.

In transfer mode, one control word transfer (USP) specifies the location in memory TCIS (as well as the location in memory 106 or 108 of one or more data regions), which is transmitted in a single message instead of sending a separate UIC in command mode. The device 118 performs control operation of the I / o transfer mode by decoding, receiving, and performing TCIS and included in a separate SIC. If BSO specified channel program USP, channel subsystem 114 uses the information specified in USP for transmission TCIS device 118 management. After the transfer TCIS device 118 controls the contents of TCIS is not taken into account channel subsystem 114 and has meaning only for devices 118 management and corresponding device 116 I / o.

In one example implementation of the ing device 118 generates control message in response to the execution of channel programs. In a limited number of scenarios communication device 118 control can also generate a response without executing channel programs, for example, to inform the channel subsystem 114 that channel the program will not run. The device 118 controls can contain a number of elements, which provides communication between the communication adapter I / o and device I / o and execution of channel programs. For example, the device 118 control may include control logic for analysis and processing of messages, and one or more queues, timers and registers to facilitate communication control and status.

Figure 2 illustrates one of the embodiments of the control word 140 transmission (USP), which is stored in the host system (for example, main memory 106) and specifies at least one control unit, which must be passed to the device 118 control channel 128. In one of the embodiments, the control unit is the control unit commands the transmission (TCIS), the contents of which will be transferred to the processing device 118 and control device 116 I / o. When USP 140 set TCIS, TCIS contains the PCO, which specifies one or more command words devices (SIC) and related options. In the case of SIC, which is used to specify the command that triggered eradico data (except control data, contained in TCIS), USP 140 contains one or more areas of memory in which data is stored.

In one embodiment, implementation of the GST contains the command transmission expansion-OKP (BMD), which is used to pass additional SIC and/or control data in addition to those that can be placed in the TCIS. Through the team ABOUT an extension of the GST (ROK) (containing at least one SIC), which is considered a logical extension of the GST, which is transmitted to the control device, for example, by concatenating the last KSU in TCIS with the first KSU in ABOUT.

As shown in figure 2, in one embodiment, the implementation of USP 140 is a 64-byte control block, which is located on a 64-byte boundary. In USP contains various fields described below.

For example, several flag bits 142 indicate whether direct or indirect addressing data to determine the address of the input data, output data or TCIS. In the field of indirect addressing transmitted output data (Output TIDA (English - transport-indirect data addressing) is indicated, addressed whether the output directly or indirectly. For example, when bit 7 of word 0 USP 140 is equal to zero, and set the output field 144 address output address output data in the physical storage device. When bit 7 of ravenelia, box 144 addresses of the output data contains the absolute address of the word TIDA (TIDAW) or the first TIDAW from the list TIDAW (TIDAL) address or addresses, respectively, the output of the storage device. In the field of indirect addressing transmitted input data (Input TIDA) is indicated, addressed whether the input data directly or indirectly. For example, when the bit 5 is zero word is equal to zero, and set the input box 146 address input data contains the absolute address input of the storage device (i.e. a storage device in which to store the input data). When bit 5 is zero words is equal to the unit, box 146 address input data contains the absolute address TIDAW or first TIDAW of TIDAL address or address input of the storage device. In the field TIDA control unit commands the transmission (TCIS-TIDA) is specified, is TCIS directly or indirectly. For example, when bit 6 zero words is equal to zero in field 148 addresses TCIS contains the absolute address of the TCIS for USP, and when bit 6 is one, box 148 addresses TCIS contains the absolute address TIDAW or TIDAL address or addresses TCIS.

USP 140 also contains a field 150 length of the block control command transmission (DBUK or TCCBL, English - Transport-Command-Control-Block Length)indicating the length of TCIS in bytes. For example, in the field DBUK contains integer num is an unsigned, the value (for example, when adding the 20 in the case of unidirectional transmission of data or with the addition of 24 in the case of bidirectional data transfer) specifies the length of TCIS in bytes.

Box 152 reads (R) is nonzero (for example, discharge 14 of word 1 is equal to one), when it specifies the number of bytes that must be transferred to main memory 106. Box 154 write operations (W) is nonzero (for example, the discharge 15 of word 1 is equal to one), when it specifies the number of bytes that must be transferred from the primary storage device. If the value of the field 152 R and field 154 W equal to one detected condition of the program, unless the target device 116 and the device 118 controls do not support bi-directional data transfer. If the category field W is equal to the unit, and CSS is the CSS survey, recognized condition check program.

Box 144 address output address is a storage device that stores any output data for transmission to the device. For example, when the discharge 15 of word 1 bit field 154 W) is equal to one, and bit 7 of flag rank 142 (flag Output TIDA) is equal to zero, 2-3 words indicate a 64-bit address in the output of the physical storage device. When the discharge field 154 W is equal to the unit, and the flag Output TIDA equal to one, 2-3 words indicate a 64-bit address TIDAW or list TIDW in the physical storage device with address or addresses of the output memory device. Box 146 address input address of the storage device, which should be saved any input after receiving from the device. For example, when the discharge 14 word 1 bit field 152 R) equal to one, and bit 5 of flag rank 142 (flag Input TIDA) is equal to zero, the words 4-5 indicate a 64-bit address in the input physical storage device. When the discharge field 152 R equal to one, and the flag Input TIDA equal to one word 4-5 indicate the address TIDAW or list TIDAW address(s) input of the storage device.

Address 156 block transfer status address status block transfer to USP. For example, words 6-7 indicate a 64-bit address of the block transfer status for USP in the physical storage device.

Box 148 address control unit commands the transfer of the specified one or more (direct or indirect) address TCIS. For example, if the discharge TCIS-TIDA (bit 6 flag bits) equal to zero, the words 8-9 indicate a 64-bit address TCIS in the physical storage device. When the discharge TCIS-TIDA is equal to zero, it is established that TCIS permanently stored in a continuous region of the storage device. If the discharge TCIS-TIDA equal to one, the words 8-9 indicate a 64-bit address TIDAW or list TIDAW in the physical storage device with the address of TCIS in the physical storage device. When the and discharge TCIS-TIDA equal to one, can be installed that TCIS permanently stored in discontinuous areas of the storage device.

Box 158 output accounts specified number of output bytes for the USP. For example, when the discharge 15 of word 1 bit field W) is equal to the unit, the word 10 contains an integer without a sign that displays the total expense of output bytes for the USP. In box 160, the input account specified number of input bytes for the USP. For example, when the discharge 14 word 1 bit field R) equal to one, the word 11 contains an integer without a sign displaying the total score of the input bytes for CSS.

If CSS is set the operation of the survey, in field 162 addresses USP survey the address of the CSS survey in the storage device. For example, when the start command is specified subchannel USP, word 15 USP is not checked. However, when the team stop working channel (CANCEL SUBCHANNEL) is specified sub-channel in anticipation of the launch for the channel program USP, and not waiting for treatment, bits 1-31 of word 15 USP in the team start subchannel set 31-bit address into a physical memory address of the CSS survey, which is used to initiate a polling operation for the subchannel. If a termination of the channel word 15 contains zeros, the operation of the survey is not initiated. When applying the termination of the discharge channel 0 word 15 must be zero, otherwise recognized y the e verify program and the status of a failed survey. When applying the termination of the channel bits 1-31 of word 15 do not contain zeros, bits 1-31 of word 15 must specify the address in memory on a 64-byte boundary, otherwise recognized condition test program showing the status of a failed survey. Word 14 may be reserved for expansion of the field addresses USP survey to 64 bits.

As shown in figure 3 and 4, block 170, the control command transmission (TCIS) contains one or more individual commands in a transaction I / o USP, and transmitted to the device 118 management and/or device 116 through the channel 128 through a channel path. TCIS 170 releases the channel from liability for the transmission of multiple messages or information elements, and also shifts the responsibility for the operation to the control unit and removes device 118 management from the need to transmit the responses to each command. Instead, the device 118 control can perform all commands and to transmit the response upon completion of the operation.

TCIS 170 has a variable length, can contain a header and tail information and one or more (e.g., from 1 to 30) commands as a command word devices (SIC)that are logically related (e.g., concatenated) and executed by the device 118 management. TCIS 170 may continuously XP is Nitsa as a single unit in a continuous memory area or in multiple blocks in discontinuous memory areas. For example, streamer discharge 140 TCIS-TIDA in the above CSS is used to indicate whether TCIS in a continuous region of memory.

Examples of TCIS is illustrated in figure 3 and 4. As shown in figure 4, TCIS 170 can be transmitted over the channel 128 device 118 controls the composition of the element 172 information (EI) command transmission, which is transmitted to the device 118 control for initiating operation of input-output. In one of the embodiments, EI 172 transfer command consists of an 8-byte header 174 SB-4, followed by a 4-byte header 176 command transmission (RCP) and TCIS 170. TCIS 170 contains a 16-byte header 178 command transmission (SOCP)having a variable length region 180 commands transfer (GST) and footer 182 command transmission (KRCS or TSAT, English - transport command area trailer). KRCS 182 may optionally contain a 4-byte field 184 LRC, a 4-byte field 186 duration data (DPD) and for bi-directional operations 4-byte field 188 duration bidirectional data transfer read (DPDCH or BRDL, English - bidirectional read data transfer length). These additional fields described below.

As shown in figure 4, in the header 174 SB-4 contains the address information FC-4 to identify the logical path and device 116 for data transfer. In the header 174 SB-4 identifier was specified image channel and identify the ATOR control devices for logical paths between the channel 128 and the device 118 management as well as the device ID.

As shown in figure 5, ZKP 176 contains information about TCIS 170 and the operations of the respective devices. In one embodiment, implementation of the RCP 176 consists of 4 bytes, immediately followed by the header 174 SB-4 EI 172 transfer command. ZKP 176 contains fields such as a field 190 length ("L1"), box 192 read ("R") and field 194 write ("W"). Field L1 (contained, for example, in bits 24-29) specifies the length of the GST 180 words plus one-word field 184 LRC, which directly follows the GST 180. For example, for devices 118 controls that do not support bidirectional operations, the total amount of data transferred in EI 172 transfer command is equal to the length of L1 plus 8 (i.e., field L1 plus dvuhslovnyi header SB-4, single RCP, Quad-data rate SOCP and single DPD); otherwise, the control device recognizes the integrity error EI command transfer due to errors account data. For control devices that support bidirectional operations, the total amount of data transferred in EI 172 transfer command is equal to the length of L1 plus 8 (i.e., field L1 plus dvuhslovnyi header SB-4, single RCP, Quad-data rate SOCP and single DPD) or the length of L1 plus 9 (that is, fields L1 plus dvuhslovnyi header SB-4, single RCP, Quad-data rate SOCP, single DPD and single DPDCH for don the designed operation); otherwise, the control device recognizes the integrity error EI command transfer due to errors account data. If integrity error EI transfer command is not recognized, the location of the LRC in TCIS determined on the basis of field L1, and may be checking the LRC.

Box 192 read (R) indicated that the GST 180 includes one or more read commands or input. In the embodiment illustrated in figure 5, box 192 R contains the bit 30 that indicates when it is installed on the unit that GST 180 contains one or more commands for the data reading. When the discharge field R is set to zero, the GST 180 does not contain the data transfer command is a read. When the discharge field R is equal to the unit, and the discharge field W (for example, discharge 31) is equal to zero, the operation is referred to as a read operation. When the digits of both fields R and W are set to zero, the GST 180 does not contain the data transfer command is a read or write, and this means that during the operation of the I / o data being transferred. When the digits of both fields R and W are installed on the unit, PCO 180 may contain command data both read and write, and the operation is called bidirectional operation. The device 116 or device 118 management recognize the error content RCP due to the conflict by coincidence treatment when reading and writing, if vanaprasta operation, and the device 118 control does not support bidirectional operations, or device 118 management supports bi-directional operation, but in EI 172 transfer command is not contained box 188 DPDCH. When the rank R is equal to zero, and the device 118 or control device 116 detects the GST 180 command, which attempt to transmit data reading, a fault is detected content TCIS due to the mistake of trying to read.

Box 194 write (W) indicates that the GST 180 includes one or more write commands or output. In the embodiment illustrated in figure 5, the field W contains the bit 31 that indicates when it is installed on the unit that GST 180 contains one or more commands data entry. When the discharge is set to zero, the GST does not contain command data record. When the discharge field W is equal to the unit, and the discharge of the field R (rank 30) equal to zero, the operation is referred to as a write operation. When the discharge field W is equal to zero, and the device 118 or control device 116 detects the GST 180 command, which is a write command, a fault is detected content TCIS due to erroneous recording conditions.

As shown in Fig.6, in one embodiment, the implementation in the header 178 GST (SOCP contains information about the GST 180 and the described operations, such as the length of the GST and pointers devices. Inthis embodiment, byte 3 of word 1 is a box 196 length "L2", contains a binary integer unsigned number indicating the length of the GST 180 bytes plus words 2 and 3 of header GST plus a 4-byte field 184 LRC, which directly follows the GST 180. Box 198 code utility operations (e.g., bytes 0-1 of word 2) contains the integer is unsigned, the value of which specifies the type of operation specified TCIS. For example, the hexadecimal value '1FFE' means the operation of the I / o device SB-4, and the hexadecimal value '1FFF' means support device SB-4. Field 200 index priority (for example, byte 3 of word 2) contains a pointer to the priority I / o device management.

As shown in Fig.7, the region of 180 teams transfer (GST) is a region of variable length, which contains one or more (e.g., from 1 to 30) commands in the command words 202 devices (SIC). In one of the embodiments the length of the GST 180 is an integer 4-byte words. In the case of SIC 202, in which the specified device control data, PCO 180 also contains control data corresponding to each SIC 202. Each SIC 202, in which the control data set, reduces the maximum throughput SIC on one or more SIC depending on the volume of related data commands. In the case of SIC 202, which specify input or output, USP 140 indicated correspond the respective region or area of the storage device, while KSU is specified by bytes for transmission. In one variant of implementation, the maximum size of the GST is 240 bytes. As shown in the embodiment illustrated in Fig.7, when the GST 180 has sufficient space for all SIC 202, SIC 202 begins on a word boundary, which follows the previous SIC 202 or control data, related to the previous SIC 202. When was the last SIC 202 PCO 180 is set, the control data containing a non-integral number of words, the following field 184 LRC starts on a word boundary, followed by control data.

In the case of some devices, the size of the list SIC 202 may be beyond the capabilities of the GST 180. In such cases, it may be a field extension of the GST (ROK), which contains additional KSU and passed as if in ROK contained the output (for example, transmitted as part of EI o data to be transferred). However ROK is seen as a logical continuation of the GST 180, not as data to be transmitted. ROK is defined in the GST 180 using SIC transmission expansion GST (BMD). ROK and KSU ABOUT additionally described hereinafter, and the embodiments of ROK illustrated in Fig and 13.

As shown in figure 3 and 4, TCIS may contain limit 182 command transmission (RCST), which contains additional information on BU IS N, including information on different accounts. In one of the embodiments, when set to unidirectional data transfer (discharge field R or the discharge field W is installed on the unit) or data is not set (the category field as R, and field W in CSS set to zero), the length of the RCST 182 is two words. When set to bi-directional data transfer (discharge as field R and the category field W in CSS installed on the unit), the length of the RCST 182 is three words.

For example, when set to unidirectional data transmission, box 186 account transfer or duration data (DPD) as a 32-bit integer unsigned account is specified total data transferred ("the value of the account transfer"). When set to a read operation bit field R in USP equal to one), the value of the account transfer in the RCST can be determined by summing the values of the fields for the account in the SIC 202, each of which set the command type read. The amount shall be rounded upwards to the nearest multiple of 4 values, and approximate amount increases by 4 to get the value of the account transfer. When set to a read operation, the value of the account transfer should be equal to the value input field 160 account USP, rounded upwards to the nearest multiple of 4 values plus 4.

When set, the write operation bit field W in USP equal to one), in summary the camping field value account in SIC 202, which is set to the write command. In addition, the sum of added values of the field account all the SIC command transmission (additionally described below)that specify the transfer of meta-information about the command transmission (micp), plus the size of the reserved fields MIK. (It should be noted that the size of the reserved field micp may be zero). The amount added to the total score of bytes specified TIDAW control of the control unit (BMF or SHS, from English control block check) or byte cyclic control redundancy (ICC or CRC-English - cyclical redundancy check) and idle bytes. The amount shall be rounded upwards to the nearest multiple of 4 values, and approximate amount increases by 4 to get the value of the account transfer. When set to the write operation, the value of the account transfer should be equal to the value of the field 158 output accounts USP, rounded upwards to the nearest multiple of 4 values plus 4. When not specified, the operation neither read nor write bit field as R, and field W in USP equal to zero), the value of the account transfer must be equal to zero.

When set to bidirectional transmission of data, field 186 DPD is the expense account, and a 32-bit integer unsigned specified account total transmitted output. The value of the account transfer in the field DPD (field account account) RCST 182 opredelaetsa is, as described above with respect to write operation. Box 188 duration bidirectional data transfer read (DPDCH) as a 32-bit integer unsigned specified account total transmitted input data. The value of the account transfer for the field 188 DPDCH determined as described above with respect to read operations.

In one of the embodiments in the case of a write operation or bidirectional operation in the field DPD should contain a 4-byte binary integer unsigned number indicating the number of bytes for transmission over the channel control device to perform the operation, and contains all the intermediate and final idle bytes and the bytes of the ICC, and if in the first EI data transfer write operation contains BSC in the field DPD also contains BSC, any idle bytes BSC and bytes ICC BSC. If GST is present KSU PRO, field DPD also contains ROK, any idle bytes ROK and bytes ICC ROK.

On Fig and 9 shows a table that summarizes the determination of the values of the input account USP, output accounts and transfer RCST for unidirectional and bidirectional transmission, respectively.

In the case of bidirectional operation in a duration field of bi-directional data transfer read (DPDCH) contains a 4-byte binary integer unsigned number indicating the number of baito is to transmit the control channel for operations, and are any idle bytes needed to round up to word boundary, if it is not already on a word boundary, plus 4 bytes for the ICC. In the case of operations that are not bidirectional operations, the device must recognize the error content RCP due to the conflict by coincidence treatment when reading and writing, if EI transfer command contains a field DPDCH.

As shown in figure 10, in the command word device 202 (SIC) set the command to run. For commands that initiate certain operations I / o, specify the account of bytes that must be carried out the operation, the action to be taken upon completion of the data storage device or from a storage device, and other options. The region or regions of memory, the corresponding data transfer operations SIC, are specified depending on the operation specified by the command box 146 address input or data field 144 address output USP 140, which contains the TCIS 170 containing SIC 202. Specifies whether the memory directly or indirectly box 146 address input or data field 144 addresses of the output data is determined in USP 140 using the flags Input TIDA and Output TIDA.

In one embodiment, the implementation of the SIC 202 is an 8-byte control block, which is specified in USP 140 on a word boundary. SIC 202 soda is separated fields such field 204 command code field 206 control flags field 208 account management data and field 201 account data Xu.

In box 204 command code (e.g., bits 0-7 of word 0) is the operation to perform. Correct the command depends on the device and on the value of the field 198 of the code of official operations in SOCP 178. Basic commands include read, write, control, perception and transmission. Channel subsystem 114 distinguishes between the following operations: management, direct output (write), direct input (reading, perception, perception of ID), reverse input (reverse reading), branching (transmission channel) and transmission. The result of the execution of some commands is not transmitting data, and performed by a device of traction and start executing the next command if all of the conditions of coupling teams. Each of the basic operations described below.

Read command initiates the execution of the operation of the transmission in the direction of the device channel. The write command triggers the execution of the operation data in the direction of the channel device. Control command triggers the execution of the operation using the control data contained in the SIC. The team of perception is similar to the read command except that the data comes from the indicators of perception, and not from a source zapisany management and related control data used to control a specific device I / o and to control the device during command execution I / o. The command transmission is used to control the operation of the I / o data channel path, and does not depend on the device. These commands control the data transfer control unit controls, such as cyclic data control redundancy (ICC), and the transfer of additional KSU in EI data transfer.

In box 208 account management data (UD) specify the number of bytes of control data corresponding to the SIC 202. For example, byte 3 of word 0 specifies the length of the control data in bytes. If the code command set command that requires control data, and byte 3 of word 0 specifies a lower account managers than is required for a command that is recognized by the condition of the control device or content error TCIS. If the code command the command is indicated, for which the required control data, and byte 3 of word 0 is set to zero or a value indicating the data beyond the end of the GST (or the end of the specified ROK), recognized detected by the device subject to the control program or content error TCIS.

In box 210, the account data SIC specified by bytes of data (for example, data that must be transferred for a read operation or write, i.e. the client data specified CSS for the current SIC 202. For example, the account data KSU included in the word 1 SIC 202 figure 10 and in the form of a 32-bit integer without knowledge is and specifies the expense of bytes in the memory area, the specified CSS for this SIC. In box 210, the account data SIC specified number of bytes to transfer between the channel and control unit during the execution of the SIC, not including any idle byte or bytes of the ICC.

As shown in figure 11, in one embodiment, the implementation of the SIC 202 contains various control bits 206. During streamer discharge 212 clutch command (CC) indicated an intention to concatenate commands. After normal completion of the current operation of the unit and after recognizing the end of the operation the clutch command causes the execution of the following SIC 202 PCO 180. Streamer discharge 212 SS in the last KSU in GST is set to zero. When in the embodiment illustrated in figure 10, the discharge 9 word 0 bit (the SS) is equal to the unit, it sets the clutch command. When the discharge is equal to the unit, after normal completion of the current KSU initiated operation is defined as SIC. When the account management data is equal to zero, the following KSU immediately for KSU in GST or ROK. When the account management data is not equal to zero, the following KSU should immediately rounded up to word boundary control data set for the SIC. When the flag clutch command is equal to one, in one of the embodiments the location of the next SIC in GST or ROK is determined by adding 8 and value is Olya account UD to the location of the current SIC and rounding upwards to the nearest word boundary. If the flag clutch teams in the SIC in the GST equal to the unit and the location of the following SIC is beyond the end of the GST, and set ROK, the following KSU is at the beginning of the specified ROK.

In one embodiment, the implementation of field control flags include a flag indicator 214 suppress length (SDI). When the channel 128 and the device 118 management supported the indication of incorrect length KSU, in the flag 214 SDI uses the discharge (for example, bit 2), which determines whether to place the grip of the commands provided incorrect length, and whether the device 118 controls to specify the wrong length in the EI response to the transmission when it detects conditions of the wrong length. The control unit detects the condition of incorrect length, if the account data KSU does not match the amount of data required by the device for the SIC account, or, if the account data KSU does not match the amount of data available in the device for KSU reading. When the channel and the control unit does not support the indication of incorrect length Xu, bit 2 is reserved and set to zero by the channel and ignored by the control device. When the flag 214 SDI equal to one, and the condition of irregular length of the current KSU, grip command, if specified, must be resolved, and the control unit food is continuing the implementation of the next following SIC. If streamer discharge SDI equal to zero, and the condition of incorrect length Xu, grip command, if specified, is not permitted and the device 118 control stops the operation of the I / o. When there is an incorrect length condition SIC 202, and the flag 214 SDI in SIC is installed on the unit, data transfer is carried out as described below; otherwise, the operation terminates and reports on the condition abort operation.

If in the case of SIC 202 reading account data SIC exceeds the amount of data available for the command in the device 116, the following occurs. If flag rank SS 212 is equal to the unit (indicated by the clutch), by channel 128 are transmitted to the data available in the device 116, idle bytes (set to zero)to the amount of data transferred to the CCU 202, was equal to the account data to the SIC. All transmitted data, including idle bytes are taken into account in any calculation of the ICC required for the operation. If flag rank 212 SS is equal to zero (clutch not shown), to be transmitted from the data available in the device, and does not transmit additional data, or transmitted idle bytes (set to zero)to the amount of data transferred to KSU, was equal to the account data to the SIC. Transmitted data plus any idle bytes are included in the calculation ICC required for the operation. Pass on what I do in this case idle bytes depends on the model. If the account data of SIC is less than the amount of data available for the command in the device channel for SIC 202 is transmitted to only the amount of data equal to the account data to the SIC. When calculating the ICC required for operations are only included in the transferred data.

If in the case of SIC 202 entries, account data SIC exceeds the amount of data required by the device 116 for the command, the following occurs. If flag rank SS 212 is equal to the unit (indicated by the clutch), the device 118 control is transferred amount of data, specific account data Xu. The transferred data are used for any calculation of the ICC required for the operation, and the data is not required by the device 116, are discarded. If flag rank SS is equal to zero (clutch not shown), the device 118 control is passed to the amount of data required by the device 116. Additional data is passed to the next word intermediate ICC or until exhaustion of the account data to the SIC. All transmitted data are used for any calculation of the ICC required for the operation. If the account data of SIC is less than the amount of data required by the device 116 for the command, the device 118 control is transferred amount of data, specific account data Xu. The transferred data are used for any calculation of the ICC required for the operation.

If in the case of SIC 202 for the IRS, account data SIC exceeds the amount of data required by the device 116 for the command, the following occurs. If flag rank SS 212 is equal to the unit (indicated by the clutch), the device 118 control is transferred amount of data, specific account data Xu. The transferred data are used for any calculation of the ICC required for the operation, and the data is not required by the device 116, are discarded. If flag rank SS is equal to zero (clutch not shown), the device 118 control is passed to the amount of data required by the device 116. Additional data is passed to the next word intermediate ICC or until exhaustion of the account data to the SIC. All transmitted data are used for any calculation of the ICC required for the operation. If the account data of SIC is less than the amount of data required by the device 116 for the command, the device 118 control is transferred amount of data, specific account data Xu. The transferred data are used for any calculation of the ICC required for the operation.

SIC transfer command is one of the types of SIC, which set specific command data (i.e. user data, which is requested to be sent in command of the host computer), and the command transmission, which acts as a support associated with the operation of the I / o transfer mode. In the SIC command PE is Adachi can be set to control data, as well as may be specified in the transmission of meta-information about the command transmission (micp). In MIKI contains data that is used to control the transfer functions during the operation, I / o, such as the operation state of the input / output device, information about additional SIC that do not fit or cannot be accommodated in the current TCIS, and information on the control of the control unit (BMF), such as cyclic data control redundancy (ICC).

When the SIC transfer command is specified transfer MIK device micp is transmitted as output data (for example, in EI data transmission). Volume MIK depends on the command and is, for example, a multiple of 4. Micp can be extended to 4 reserved bytes, when the amount of MEKP equal to an even number multiple of 4, to specify areas of the output of the storage device used TIDAW, streamer discharge input BMF in the last TIDAW, which is used to specify the mass storage device containing MIK equal to the unit, the discharge clutch teams in the SIC transfer command that specifies MIK equal to one, and in the following SIC specified transfer micp or output. It should be noted that, when the command transmission is specified transfer MIK device and MIK extended to 4 reserved bytes, because everything is made all previous condition is I, 4 reserved bytes are not included in the value of the account data SIC transfer command, but is included in the following: the value of the account on the last TIDAW, which is used to specify the mass storage device containing micp, the output value of the account in the USP and the value of the account transfer in the corresponding TCIS (in the case of unidirectional transmission of information) or in the value of the account records in the corresponding TCIS (in the case of bidirectional transmission).

In one of the embodiments in micp contains information survey (by SIC survey), the block offset BMF (by SIC transfer block offset BMF) and the expansion of the expansion of the GST (by SIC transmission expansion GST).

On Fig illustrates one implementation of a data set SIC transfer command is of one type, referred to as the command transmission expansion-OKP (BMD), which is included in the GST 180 TCIS 170 and sets the extension 220 of the GST (ROK) for transmission to the device 118 management. ROK is a logical extension of the GST 180. In some devices 116 in the list of SIC 202, the corresponding input-output contains more SIC than can be accommodated in the GST 180. In this case, the SIC is ABOUT to join the end of the CSS 140, which sets ROK 220 for transmission as an output (for example, in EI data transmission). In the content of the SIC ABOUT may the contain the command code, includes a command transmission expansion-OKP (for example, a value of 50 hexadecimal numbers).

For example, PCO 180 has a variable length and the maximum size of 240, and the size of the SIC is 8 bytes. Accordingly, in this example, TCIS 170 may be transferred a maximum of 30 KSU. However, in the case of SIC 202, in which the set of control commands that require management data directly for each SIC 202 in TCIS followed by control data. Thus, the number of SIC in TCIS 170 containing such commands is less than 30. To specify additional Xu, necessary for the operation of the I / o and does not fit in the GST 180, can be used SIC ABOUT.

As shown in Fig, the extension of the GST (ROK) is a region of variable length, which is a logical continuation of the GST 180 in another EI transfer command or TCIS and contains a list of the SIC and the corresponding control data. ROK contains one or more additional KSU and the corresponding control data for operation of the I / o USP (in addition to those passed in the initial TCIS) and can be transmitted in another TCIS or EI data transfer with the aim of expanding the list of SIC is required for input-output. In one of the embodiments the length ROK equal to an integer multiple of 4.

As shown in Fig, in one embodiment, about what westline ROK 220 contains SIC 202 and/or control data for the previous SIC 202. When the last information in ROK 220 is SIC 202, the end of this SIC 202 defines the end of the meaningful information in ROK 220. When the last information in ROK 220 are control data, and control data end on a 4-byte boundary, the end of the control data defines the end of the meaningful information in ROK 220. When the last information in ROK 220 are control data, and control data does not end on a 4 byte boundary, to the control data attached idle bytes to achieve a 4-byte boundary, the end of the idle bytes defines the end of the meaningful information in ROK 220. When divided into four significant amount of information in ROK 220 is an odd number, there are no reserved bytes; otherwise, the four bytes immediately follow the meaningful information in ROK 220, are reserved and must be zero. When ROK 220 contains control data for the last SIC 202 PCO 180, these control data are the first data in ROK 220. Additional SIC and control data in ROK 220 are processed as defined for GST 180.

In one of the embodiments, when the GST 180 missing SIC PBSK (additionally described later), the SIC is ABOUT the first SIC 202 PCO 180. When the GST 180 is present KSU PBSC, KSU PRO is the second SIC 202 PCO 180. Account Yes is data ABOUT SIC specifies the length ROK 220 and may be integer, a multiple of four bytes. Account management data of SIC is ABOUT equal to zero, and flag the discharge clutch teams in the SIC PRO installed on the unit. Data ABOUT SIC does not contain ICC ROK or idle bytes ROK.

Team PRO (SIC BMD) should be transmitted to the device that supports the team ABOUT, and passed on, when the length of the GST has a certain maximum (for example, 60 words), and control data for the last KSU in PCO beyond the last byte in the GST, or the length of the GST exceeds, for example, 58 words, and for the operation of I / o required one or more additional KSU. When in EI data transfer write using BSC ROK follows ICC BSC. When the BSC is not used, ROK is transmitted in the first EI data transfer write operations of input-output.

Another type SIC is SIC transfer block offset BMF (PBSC), which is a command transmission unit offset BMF (BSC) control device. Data BMF relate to the control of the control unit, which are used to ensure that during the operation of the I / o is passed the correct amount of input or output data. In one of the embodiments, the data BMF are cyclic data control redundancy (ICC), BSC is a block offset ICC, and SIC PBSC is SIC transfer unit offset the BMF. Usually cyclic control redundancy (ICC) is a code error detecting configured to detect accidental changes to raw data transferred between the channel 128 and the device 118 management. The device that supports ICC (for example, channel 128) calculates for each block of data that must be transmitted or stored, a short binary sequence of a fixed length and attaches it to the data, resulting in a code word or the word of the ICC". For example, when using ICC, channel 128 generates ICC for the transmitted data and introduces the calculated value at the end of the last byte of data. When receiving or reading the words of our key receiving device (for example, the device 118 controls) compares the control number with the number you just calculated on the basis of the data block, or, equivalently, provides ICC using a code word, and compares the control number with the estimated constant balance. If the control numbers do not match the passed in block data contains an error. Although variants of implementation data BMF describes how the data in the ICC, it is not their limit.

As shown in Fig, BSC 222 set the location of the word intermediate ICC transmitted data writing or reading to re the ACI (for example, in EI data transmission). In one variant of implementation, the BSC is used when the first SIC 202 PCO 180 contains the command PBSC, i.e. is SIC PBSC. Offset intermediate ICC are the words of the ICC, located between EI data transmission and before the end of EI. BSC 222 contains a list of single values, referred to as offsets 224 ICC, each of which specifies the offset in bytes of each word intermediate ICC in the transmitted data. For example, the BSC is a management unit of variable length, which contains the list of 4-byte entries, each of which defines a set TIDAW offset ICC input to the output.

In the embodiment illustrated in Fig, BSC 222 contains from 1 to N+1 words (words 224 offset ICC) offset intermediate ICC. If BSC 222 is used in EI data transmission, BSC may also contain 0 or 1 the word of the idle bytes and 1 the word of the ICC. Can be used in idle bytes to a word containing the ICC, was on a word boundary that is not on the boundary of the double word. The last word BSC should include the ICC, which covers offset intermediate ICC from 0 to N and the word fill, if used. If BSC is used as control data for the SIC PBSC, filling BSC should not be used, and account management data is set equal to 4 times the number of fields offset intermediate ICC in the BSC.

In the case of write operations to the KSU PBSC indicated that BSC is transferred to the device 116. Command code SIC PBSC contains the command PBSC, the value of which is, for example, 60 hexadecimal numbers. The location of the capacitor is determined by the account management data and can be used in the first EI data transfer write operations of input-output or quality control data, for the following SIC PBSC input-output. For example, when the account UD SIC PBSC not equal to zero, BSC 222 immediately follows the SIC PBSC in GST 180, and at the expense of UD is set to multiply by 4 the number of displacements of the ICC in the ivory coast. When the account UD is equal to zero, the capacitor 222 is defined as MEKP, which is transmitted from the output, and the location of the BSC is defined field 144 addresses output in USP 140.

Each offset intermediate ICC 224 in BSC 222 indicates the relative offset in bytes from the first byte of data in the EI data transmission. If BSC 222 is used in EI data transmission, the first byte of data entry data is the first byte following the ICC BSC, if ROK 220 is not used, or the first byte following the ICC ROK if ROK used. If BSC is used in the GST 180 as control data to the SIC, the first byte of data entry data is the first byte in EI data transfer, if ROK 220 is not used, or the first byte, the following is relevant for the ICC ROK, if ROK 220 is used. When used in EI data transmission capacitor banks used in the first EI data transfer write operations of input-output.

Another type SIC transfer command is KSU survey, which is used to determine the operation state of the I / o USP device 116. The inquiry command does not initiate the operation device 116, no effect on the status of the device 116 and does not return to its original state according to the respective device 116 and logical way. In one example of the SIC survey contains the command code of the survey (for example, a value of 40 hex digits). Except the command code, streamer discharge SDI, field account UD, all other fields KSU must be zero, otherwise recognized detected by the device condition check program. If the score BEATS the SIC survey is greater than zero, given the survey data.

The operation of the survey is performed on a logical path and device 116, which in this moment is the operation of the I / o USP, with the purpose of obtaining information relating to the state of the operation device 116. In one embodiment, the implementation of TCIS 170 polling operation contains one SIC code command device of the survey (for example, X'40). SOCP 178 polling operation may contain installed on unit discharge field R indicating the operation data h is possible. Polling operations are recognized in the device 118 controls when the device 118 management takes EI transfer command, in which you set the polling command. Once in the device 118 management recognized the operation of the survey, and the device 118 management is able to successfully perform the inquiry command, the device 118 controls can be used in the EI response to the transmission state, which contains the expanded state of the survey, describing the state of the logical path and device address specified EI commands transmission of the poll.

On Fig illustrates one variant of the method of operation 300 of the I / o transfer mode. The method includes one or more steps 301 to 305. In one of the embodiments the method includes performing all of the steps 301 to 305 in the order described below. However, some steps can be omitted, the steps may be added, or the order of steps may be changed.

In step 301, the host computer (for example, the OS 110) executes the command (for example, start subchannel), resulting in the channel subsystem 114 is transmitted to BSO indicating USP 140. In one embodiment, the implementation of the channel subsystem 114 checks the conditions of the test programs associated with reality fields USP characteristic of state capture and transfer of specified TCIS 170 to determine whether the transfer is to TCIS 170 device 116 I / o. If such a condition exists, TCIS 170 is not transmitted, and detected condition check program. For example, it is checked to see if box 148 addresses TCIS address available storage devices. If streamer discharge TCIS-TIDA equal to one, the system also checks to see if field 148 addresses TCIS address, located on the border of the Quad words. Additional conditions for the test programs described below.

In step 302 using the device I / o (for example, device 118 control) is initiated by the operation of the I / o USP, when the channel 128 of the selected device 116 is transmitted EI 172 transfer command, which contains the control unit, such as unit 170, the control command transmission (TCIS) and the corresponding control information for USP 140. In one embodiment, the implementation of the information associated with the operation of the I / o device operations (e.g., commands, input data and output data)is transferred between the channel 128 and the device 118 controls in the form of information elements (EI). In one embodiment, the implementation of the EI are the elements of the SB-4 information (EI).

In one embodiment, the implementation of EI or other messages transmitted between the channel and the control device through one or more exchanges. For all functions SB-4 link control and all the x functions SB-4 device level, running in command mode, requires the exchange pair, consisting of two unidirectional exchanges, one of which is used for transmission of EI channel 128, and the other is used for transmission of EI device 118 management. One bidirectional currency called currency transfer mode, is used for functions of the device layer, performed in transmission mode. EI, which are transmitted through the channel 128 runtime function SB-4 link control or function SB-4 device in command mode, restricted to a single exchange, and EI, which are received over the channel during the operation, is limited by the framework of another currency. The currency in which the channel 128 is transmitted EI, referred to as outbound currency and the currency in which the channel 128 are accepted EI, referred to as the incoming exchange. When the channel 128 and the device 118 control at the same time as the outgoing exchange and incoming exchange to perform the same control functions channel or function of the device level, it is considered that there is an exchange pair, and it is believed that the device 118 connected to the control channel 128. In the channel program, which is executed during a single connection, only use one exchange pair. If during the execution of a channel program, the connection is terminated by beautifully on the post exchanges, creates a new exchange pair to complete the execution of the channel program. The channel 128 is able to initiate the creation of exchange pairs through the transfer of EI, which opens a new currency (or initiating EI), as a command or control information unsolicited categories. The device 118 management is able to initiate an exchange pair by initiating transmission of EI as control information or information in the form of unsolicited data category.

UI, which are transmitted over the channel and the control device during operation of I / o that is performed in the transmission mode, restricted to a single bidirectional currency called currency transfer mode. The channel 128 begins currency transfer mode by passing EI transfer command as the command unsolicited categories (initiating EI). The channel 128 can initiate a lot of exchanges in the transmission mode, each of which is carried out for various devices 116 or for the same device 116 via different logical paths. New currency transfer mode can be started for a specific device through a logical path when the device has already begun currency transfer mode and there is a logical way to perform polling operations; in the case-by-case channel 128 waits for the termination of the current sharing mode of transfer or exchange pair before than to initiate a new currency transfer mode for the device via the logical path.

In step 303, the device 118 management takes TCIS 170 and EI 172 transfer command and can agree with TCIS 170, if certain conditions are met. If EI 172 transfer command is acceptable, it is considered that TCIS 170 runs in the device 118 control until his execution in the device 118 management will not be considered complete. If EI 172 transfer command is unacceptable due to the error state, the channel 128 is transmitted EI response to the transmission, which is the initial state flag, mounted on the unit indicate that prior to the initiation of execution TCIS 170 device 116 error occurred. The device 118 management can use the error information in the fields (described later) of the state and extended state of the I / o EI response to the transmission, to identify the error EI transfer command. In one of the embodiments in order EI 172 transfer command was acceptable for device 118 controls should be performed in conditions as described hereinafter in the examples.

1) EI command transmission meets the following criteria integrity:

a) in the case of control devices that do not support bidirectional operations, field L1 ZKP plus 8 to the wives to be specified the amount of data equal to the amount of data used by the control device for EI transfer command, otherwise a fault is detected the integrity of the EI command transfer due to errors account data;

b) in the case of control devices that support bidirectional operations, field L1 ZKP plus 8 or 9 must be specified the amount of data equal to the amount of data used by the control device for EI transfer command, otherwise a fault is detected the integrity of the EI command transfer due to errors account data, and

C) field LRC in BEECHES must be valid, otherwise a fault is detected the integrity of the EI command transfer due to invalid LRC;

2) must be installed in a given logical path, otherwise a fault is detected due not established logical paths;

3) for commands that require that the device be installed and ready, the device address identifies the device, which is installed and ready, otherwise recognized by the state of exception due to an error in the address.

4) bits field R and W in the RCP must be installed on the unit, if the control device does not support bi-directional data transfer or EI transfer command does not contain a field DPDCH, otherwise a fault is detected content ZKP;

5) TCIS in the EI command transfer must meet all of the following is the context, otherwise a fault is detected content TCIS:

a) in the field of L2 should be set to the length, exactly 8 bytes more than the length L1 and a component of at least 20 bytes, but no more than 252 bytes;

b) byte 1 of word 0 SOCP should have zero value;

C) the value of the field management format in SOCP must be equal to the hexadecimal number '7F';

g) code utility operations in SOCP must have a valid value (see 8.13.4.4);

d) if the bits field R and W bits set to zero, the duration field data (DPD) must have a zero value; and

6) in the case of continuing another operation I / o USP using a logical path and device address specified in the EI command transmission, the code official operation must be set to hexadecimal '1FFF', and the code team in the first SIC GST must be set to the command code of the survey, otherwise a fault is detected due to the second operation without survey.

In one of the embodiments for channel 128 connection is established, when passed EI 172 transfer command, for the device 118 controls the connection is established, when EI 172 transfer command is acceptable. Accordingly, the channel 128 is unknown if it is appropriate TCIS 170 for the device 118 control, or do you continue the operation input is a-output device 116, while the operation of the I / o will not be terminated by the device 118 control using the EI response to the transmission. In one embodiment, the implementation of the channel 128 can set a time window for receiving a response from the control unit, and if the channel does not accept EI response to the transmission over open, the channel is detected after a time-out transfer command.

If TCIS 170 is acceptable, at step 304, the device 118 management processes GST 180 and performs each SIC 202. Performed the SIC 202 is recognized as a current KSU. SIC 202 becomes current when it is first KSU program transfer mode (i.e. the first KSU in TCIS) and selected for execution by the device 116 I / o, or when concatenating commands the following SIC 202 takes control of the operation of the I / o. The location of the first KSU to perform can be considered the zero offset GST 180 in TCIS 170. The location of each additional KSU in the channel program is GST 180 (or ROK 220), and it is used when the device 116 I / o required KSU.

Clutch command controls the flag clutch command (SS) SIC in the SIC. This flag specifies the action that should be taken after completion of the current KSU. Coupling occurs between successive SIC in GST. When set to ROK, the grip that the same happens between the last KSU in GST and the first SIC in ROK and between successive SIC in ROK. When this SIC is set to a clutch of teams, and during the operation is not detected any unusual circumstances in the execution of the following SIC SIC becomes the current KSU and is performed by the device. If ROK, and the offset of the next KSU beyond the end of the GST, the clutch continues using the first SIC ROK, offset ROK which is determined by subtracting the length of the GST calculated from the offset. Thus, the clutch command continues in ascending order of the displacements of the GST, and then shifts ROK when set ROCP. In the case of the occurrence of any conditions, such as attention, test condition device condition exclusion devices or condition of incorrect length (if only in SIC is not activated flag 214 SDI), the sequence of operations is completed, and the state corresponding to the current operation causes the interrupt conditions. In this case, the new KSU is not running.

The data that are requested for transmission by operation of I / o that is transferred between the channel 128 and the device 118 controls in one or more EI data transfer during processing SIC 202 in TCIS 170. During the read operation transfers only data read during a write operation transfers only the data to be written and, and during bidirectional operation is transferred as data read and data write.

As shown in Fig, in the case of a write operation or bidirectional channel 128 is transmitted to the device 118 controls one or more EI 310 data transfer to transfer data 312 record for the operation. In the case of a read operation or bi-directional operation device 118 control transmits at least one of EI 314 data transmission channel 128 to transfer data 316 reading, specified for the operation. In the last word of the data range, which should be calculated ICC, can be enabled idle 318 bytes that are used to fill the data to the next word boundary, when we fill the data area contains an integer number of data words. This applies to data fields that must be completed BSC intermediate and final ICC. The value used for single byte, depending on the model.

In EI 310, 314 data transfer enabled field 320 final ICC when EI data transfer is the last of EI data transmission, piped channel 128 or device 118 controls the operation of the I / o USP. In one embodiment, the implementation of field 320 final ICC contains aligned on a word boundary, 32-bit control code for isbutton the STI. In the case of read operations or write box DPD in TCIS 170 specified amount of data transmitted during the operation, which may include all of the required idle bytes and the bytes of the ICC. In the case of bidirectional operations in the field of DPD in TCIS 170 specified amount of data transmitted in a part of the transaction involving the transfer of data records, and in the field DPDCH data part of the transaction involving the transfer of data read. In these volumes can enter all of the required idle bytes and the bytes of the ICC.

During data write or bidirectional data transfer output data are transferred to the unit 118 controls in one or more EI 310 data transmission during the currency transfer mode, which accompanies the operation of the I / o USP. In one of the embodiments, when locked readiness of the first pass except the first EI 310 data transfer recording, the channel 128 is required from the device 118 control the transfer of EI to transfer each EI 310 data transmission. The device 118 management may request additional data by transmission of additional ready to transmit EI, while they will not all requested data specified in field 186 DPD TCIS 170 for write operations. In the case of a write operation following EI passed by the device 118 management after completion of the data given the x in the box to the DPD in TCIS, is the EI response to the transmission. In the case of bidirectional operation as EI passed by the device 118 management after completion of the data transfer specified in field DPD in TCIS may be EI data transmission or EI response to the transfer.

During data reading, the data is transmitted over the channel 128 in one or more EI 314 data transmission during an exchange in the transmission mode associated with operation of I / o USP. The amount of data transmitted in each EI data transmission is determined by the device 118 control, and can be set to any value, provided that the total amount of data transferred in all EI 314 data transmission for the operation, does not exceed the value in field 186 DPD or in the case of bidirectional operations, the value in field 188 DPDCH. If in the case of read operations, the amount of data transmitted by the control device, is less than the value of the field DPD in TCIS, residual account DRD in EI response to the transmission should be the difference between the amount of data sent by the control device, and the value of the field DPD in TCIS. The channel detects a Protocol error level device, if the residual account used by the control device in the EI response to the transmission, does not correspond to the difference between the value of the DPD and the number of bytes actually received by the channel.

In the case of operations to record and or bidirectional operations residual account DRD in EI response to the transmission should be the difference between the amount of data piped, and value fields DPD in TCIS. The channel detects a Protocol error level device, if the residual account DRD, used by the control device in the EI response to the transmission, does not correspond to the difference between the value of the DPD and the number of bytes actually transmitted over the channel. If in the case of bidirectional operations, the amount of data transmitted by the control device, is less than the value of the field DPDCH in TCIS, residual account DPDCH in EI response to the transmission should be the difference between the amount of data sent by the control device, and the field value DPDCH in TCIS. The channel detects a Protocol error level device, if the residual account DPDCH used by the control device in the EI response to the transmission, does not correspond to the difference between the field value and the number of bytes actually received on the channel.

When in the case of a write operation or bidirectional operation locked readiness the first transfer, directly after the EI command transmission channel is transmitted EI data transmission. For all EI data transmission sent on the channel after the first EI data transmission, and for all EI data transmission sent on the channel is not blocked readiness of the first pass of EI data transmission record is transmitted over the channel only after receiving the EI gotovo and transmission. The channel is transmitted EI data transmission after receiving each EI ready transfer until you have transferred all the data entries specified TCIS, or will not be accepted EI response to the transfer.

In the case of a read operation or bidirectional operation, the control device transmits on the channel at least EI data transfer to transfer data read specified for the operation.

When in the case of bidirectional operations are not affected by blocking the readiness of the first transmission, the control unit selects to transmit the first EI data transmission. The control unit transmits on channel EI ready transmission with the purpose of the inquiry EI data transmission or transmits on channel EI data transmission. If the operation is valid blocking the readiness of the first pass after the EI command transmission channel is transmitted EI data transfer.

In the case of bidirectional operations can be carried out transfer of data recording and reading. The transfer of data recording and data reading can be performed as described above. Except for the first EI data transfer when operating the blocking readiness the first transfer, the data transfer between the channel and the control device is regulated by the control device by passing EI data transfer is read or by passing EI readiness transmission order for the dew EI data transmission record.

In the case of bidirectional operation, the order of storing in the main storage device data that were adopted in the EI data transmission, on the order of extraction of the main storage device of the transferred data in the EI data transmission, can be unpredictable.

When the transmission channel of the first EI data transfer when operating the blocking readiness of first gear or when the control unit requests the EI data transmission channel by passing EI readiness transmission data transmitted via the channel in the EI data transfer may be the KSU records that are performed KSU reading of the GST.

As shown in Fig, EI 310 data transmission sent on the channel 128 may be one or more words 320 intermediate ICC. Words 320 intermediate ICC provide validation data regions to transfer the entire data set in GST 180. In EI 310 data transmission may be a word 322 ICC BSC, when in EI data transmission is transmitted BSC 222.

As shown in Fig, in step 305, the operation of the I / o USP ends of the channel 128 or device 118 management. The channel 128 may initiate the termination of the operation of the I / o USP in the abnormal conditions or initiated by program termination. The device 118 can control initiatives is to iravati completion of the operation in the completion of the operation or abnormal conditions, encountered during command execution. The device 118 control initiates the completion of the operation of the I / o USP by passing EI response to the transmission or in the case of certain errors by premature termination of the exchange. In one embodiment, the exercise device 118 control initiates the completion of the operation of the I / o USP when any of the following circumstances: completed all SIC 202 PCO 180 (and ROK, if specified); condition is detected incorrect length KSU, when supported by means of the incorrect length of the SIC, and the flag 214 SDI is set to zero; condition is detected, the verification device; recognized an abnormal condition, such as a transmission error; or detected another bug that required premature termination of the exchange.

On Fig-18 illustrates one example of EI 330 response to the transmission, which can be transmitted to the device 118 management. In EI 330 response to the transmission of the specified operation state of the I / o USP, which may include clean shutdown state, or when the detected abnormal condition, the completion status, which indicates the cause of the abnormal termination operation. In EI 330 response to the transmission may include a field extended state, which contains additional status of the operation. EI answer is to transfer may not necessarily finish currency in transmission mode. In one embodiment, the implementation in the header FC-FS-3 is specified, finished currency EI response to the transmission. If the sharing mode of transmission has not been completed EI response to the transmission channel can be transmitted EI confirmation of transmission, which finishes the exchange after receiving EI response to the transfer.

In one embodiment, the implementation of the EI 330 response to the transmission contains the header 332 SB-4, followed by field 334 status field LRC 344 status and optional field 346 extended state, containing, for example, from 32 to 64 bytes. When you specify the expanded state, as the last words of EI 330 response to the transmission can be used 4-byte field 340 enhanced status LRC 340. To the field extended state added idle bytes, with the goal of rounding up to the next word boundary, if the number of bytes extended state such that they are not on a word boundary. Title 332 SB-4 has a format similar to the format of EI transfer command, equivalent to the header SB-4 EI transfer command for this operation.

As shown in Fig, in one of the embodiments area 334 state information, for example, is 20 bytes and contains information about the operation of the I / o USP. In field 336 "flags 1 status contains one or more codes of exceptional conditions that are closing the STV 118 control to report an abnormal condition, detected during the operation of the I / o USP. Examples of codes include:

0 - exceptional condition-level devices due to exceptional situations addressing error occurred;

2 - the failure of the channel due not established logical paths;

3 - event notification reinstall, which occurred on a logical path and device associated with the EI team gear. When the EI response to the transmission installed this code, the control unit requests the confirmation status. If the confirmation status is accepted, the device is reset, the event condition reinstall for logical paths; otherwise, the event condition reinstall still awaiting processing;

4 is detected by the device test program/IFCC, when the control unit detects a condition that may lead to the message about checking program or IFCC. Errors that fall into this category include errors indicating EI transfer command is received in a distorted form (for example, integrity error TCIS), invalid ICC, detected data, and receiving the second operation I / o, which is not an operation of the survey, for a logical path and device address;

5 is detected by the device test program, when the control unit detects oshi the ku in the contents of the ZKP.

In one embodiment, the implementation in the field 336 flags 1 status contains the flag 338 wrong length (ID). When the channel and the control unit support the indication of incorrect length Xu, flag ID is the digit 0, which, if it is set to one, indicates that the operation of the I / o USP terminated due to conditions of incorrect length KSU specified offset KSU. The device 118 control detects an incorrect length, if the account data KSU does not match the amount of data required by the device for the SIC account or if the account data KSU does not match the amount of data available in the device for KSU read.

If one of the options for the implementation of the SIC 202 contains a flag 214 SDI, flag 338 ND installed on the unit, only when the flag 214 SDI equal to zero, and the device status is indicated the end of the working channel without scanning device. When the flag 338 ID in the EI response to the transmission is installed on the unit, the offset SIC specifies the SIC containing the incorrect length condition, and the residual account KSU specifies transfer size, if it was carried out, the data for the SIC is of the wrong length. Data transfer to the CCU, which was preceded by SIC wrong length in GST, if she were to be completed, and verification of all data transmitted by ICC will be implemented, as described below.

When the SIC containing the incorrect length condition is KSU read the last EI data transmission, piped, contains ICC for all data read, piped during the operation of the I / o USP. If the SIC is reading the wrong length in the GST was preceded by SIC recording, the control device will be taken the data for the SIC account, and they will check your data by ICC. Data for the KSU writing to the PCO that follow KSU reading the wrong length, will be transferred to the control device as required to obtain the ICC for data entry and verication by ICC.

The incorrect length condition is not recognized by the inquiry command, the command transmission shift ICC or team ABOUT no matter is supported by the channel and control unit means for indicating an incorrect length.

EI 330 response to the transmission may also contain a field 340 residual account the duration of the data transfer (OSDPD or DLRC, English - Data Length Residual Count). In the case of write operations and bidirectional operations, the residual account DRD is a 32-bit binary integer unsigned number that specifies the difference between the value of the field DPD in EI command transmission and the number of bytes taken on the actual channel. In the case of read operations residual account DRD is a 32-bit a the binary number unsigned which specifies the difference between the value of the field DPD in HEY transfer command and the number of bytes actually transmitted over the channel.

In the case of bidirectional operations in EI 330 response to the transmission may also include a field 342 residual account DPDCH. In the case of bidirectional operations residual account DPDCH is a 32-bit binary integer unsigned number that specifies the difference between the value of the field DPDCH in the EI command transmission and the number of bytes actually transmitted over the channel.

The device 118 management can use field 344 flag 3 States to provide additional information about the operation in the transmission mode. This field can contain the discharge is transferred to the extended state (ESS-English - Extended Status Sent), discharge, indicating that EI response to the transmission was transferred to the expanded state, including possible data of perception. Expanded state contains flags extended state (ES, English - extended status), which includes fields such as a field model code ES. Typical codes include the status of I / o (for advanced status valid status completed I / o transfer mode), the exception I / o (in the extended state contains information relating to the operation of the I / o transfer mode due to an exceptional situation) and the status of the survey (in the extended state indicates the state of operation of the survey).

When the model code ES in the ES flags is the exception I / o, ES contains reason codes (RC-English - reason code). Code examples of causes include:

1 - integrity error TCIS: the control unit has determined that TCIS received in damaged condition (used when in the flags field 1 condition code 4 exceptional conditions);

2 - detected invalid ICC: received data is detected invalid ICC (used when in the flags field 1 condition code 4 exceptional conditions);

3 - incorrect description length TCIS (used when in the flags field 1 state code 5 exceptional conditions);

4 error in the description SOCP (used when in the flags field 1 state code 5 exceptional conditions);

5 error in the description SIC: an error was detected in the SIC specified in the offset field of the SIC in the expanded state (used when the flags field 1 state code 5 exceptional conditions);

6 error in the description of the direction of the transfer: the command specified SIC specified in the offset field of the SIC in the expanded state, sets the data direction contrary to the direction of transmission specified in RCP, or discharges as the fields R and field W ZKP installed on the unit, and the control device does not support bidirectional who eradico data (used when in the flags field 1 state code 5 exceptional conditions);

7 error in the description of the account transfer (used when in the flags field 1 state code 5 exceptional conditions);

8 - two operations I / o: while the device performs the operation of the I / o device is transferred to the second TCIS without survey. Field RCQ is insignificant. This reason code is used when in the flags field 1 condition code 4 exceptional conditions; and

9 is one or more records in the block offset ICC indicates that the position of the intermediate ICC is unacceptable for a device and/or the command being executed; it is used when in the flags field 1 condition code 4 exceptional conditions.

In the expanded state can also be used with the qualifier reason code (RCQ, English - Reason Code Qualifier), which provides additional information about the cause(s) of the exception IO. Specifiers reason code of various types can be used for errors of various types, such as integrity errors TCIS, error output ICC, wrong description length TCIS, errors in the description SOCP and errors in the description of the SIC. Examples RCQ for integrity errors TCIS include:

0 - no additional information;

1 - error account data: data is s, submitted for EI transfer command does not match the amount of data specified in field L1 plus 8 ZKP for control devices that do not support bidirectional operations, or does not match the amount specified in field L1 plus 8 or 9 for control devices that support bidirectional operations; and

2 - error LRC: LRC in EI transfer command is invalid. Examples RCQ for errors in the description of the SIC include:

1 - error in the description reserved field: reserved field in SIC, which should contain zeros, contains a non-zero value;

2 - an error in the description of the clutch command streamer discharges: the discharge clutch command is equal to the unit, and the offset of the next SIC such that the following SIC whole or in part outside of the end of the GST, or the discharge of the clutch command is equal to zero, and the GST remains more than 3 unused bytes;

3 error in the description of the account management data: account UD set control data beyond the end of the GST;

4 - error locating SIC PBSC: first SIC PBSC is not the first KSU in OKP;

5 - error duplicate SIC PBSC: GST are several KSU PBSC;

6 error in the description of many accounts KSU PBSC: as the expense of UD and account data SIC equal to zero or not zero;

7 - direction error KSU PBSC: GST is Adana SIC PBSC, and the category field W ZKP equal to zero;

8 - error clutch SIC PBSC: discharge clutch teams in the SIC PBSC equal to zero, i.e. the SIC PBS is the only SIC in OKP;

9 error in the description of the account PBSC: account UD in SIC PBSC is nonzero, or the account data is not a multiple of 4;

10 - error locating ABOUT SIC: SIC PBSC not set, detected SIC PRO, which is not the first KSU in GST, or SIC PBSC set, and found the first SIC PRO, which is the second SIC in OKP;

11 error duplicate KSU ABOUT: GST discovered more ABOUT SIC;

12 is a mistake in the description of the account UD in the SIC is ABOUT: the account management data in the SIC is ABOUT set to a nonzero value;

13 is an error in the description of the account data in the SIC is ABOUT: the account data in the SIC ABOUT specified value less than 8 or the value is not a multiple of 4;

14 - error direction ABOUT SIC: set the SIC is ABOUT, and the discharge field W ZKP equal to zero;

15 error clutch SIC PRO-grade clutch teams in the SIC is ABOUT zero; and

16 is an error in the description ROK: set the SIC is ABOUT, and rightly one of the following:

the length of the GST is 58 words or less, or

the length of the GST is 59 words, and in the last KSU in the GST control data set, the length of which exceeds 59 words, or

the length of the GST is maximum and is 60 words and the last word in GST contains the first word of the SIC.

Examples RCQ for oshi is key in the description of the directions of transmission include:

1 - error in the description of the directions read: KSU set operation, and the discharge field R ZKP equal to zero;

2 - an error in the description of the records: in the SIC set the output operation, and the discharge field W ZKP equal to zero. Note: description SIC recognized when PBSC or ABOUT SIC and discharge fields W ZKP equal to zero;

3 - conflict coincidentally treatment when reading and writing: discharges as the fields R and W ZKP equal to the unit, and the control device does not support bidirectional operation, or control device supports a bidirectional, but in EI transfer command does not contain a field DPDCH, or discharges as the fields R and W are not equal to one, and EI transfer command contains a field DPDCH.

Examples RCQ for errors in the description of the account transfer include:

1 - error in the description of the account read: in the case of read operations in the field DPD in TCIS set, not the complete account data bytes specified KSU in GST, plus idle bytes and ICC; in the case of bidirectional operations in the field DPDCH in TCIS set, not the complete account data bytes specified KSU read in GST, plus idle bytes and ICC; and

2 - an error in the description of account account in the DPD in TCIS set, not the complete account data bytes specified KSU records in GST, plus intermediate idle bytes, intermediate ICC final idle bytes and final ICC bytes and, if in the first EI data transfer for data recording is enabled BSC, BSC is, any idle bytes BSC and bytes ICC BSC. If GST is present KSU PRO account also includes ROK and bytes ICC ROK.

The program check occurs upon detection of programming errors channel subsystem. In case the operation mode of the transmission device 116 I / o can also detect programming errors and report them as inspections program. The condition may be caused by any of the following reasons:

invalid description USP: if any of the following conditions is detected invalid description CSS:

1. reserved field, which is checked for zeros in the USP, contains no zeros;

2. field format CSS is set to a nonzero value;

3. discharges both read and write in CSS is equal to the unit, discharge 10 streamer discharge USP is equal to zero, and no tool is installed bi-directional data transmission FCX or a specified device does not support bi-directional data transfer;

4. discharge 10 streamer discharge USP is equal to zero, and the length field TCIS in the USP specified length is less than 12 or more 244;

5. Discharge 10 streamer discharge USP is equal to the unit, and the discharge USP write operations (W) is equal to zero, the discharge USP read operations (R) equal to zero, or the two digits is equal to zero;

6. discharge 10 streamer discharge USP is equal to the unit, and the specified sub-channel is not connected with a control device that is configured to send service requests fiber-optical connection.

When using the CCU ABOUT detected by the device test program is recognized when the existence of any of the following conditions:

1. when not specified SIC PBSC, KSU PRO is not the first KSU in GST. When set to KSU PBSC, SIC is not ABOUT the second SIC in OKP;

2. set the SIC is ABOUT, and is not set to the write operation (i.e., the discharge field W in USP zero);

3. streamer discharge clutch teams in the SIC is ABOUT equal to zero;

4. asked a few ABOUT SIC;

5. field account management data in the SIC ABOUT is not null;

6. accounts field has a value of 8 or less is not a multiple of 4;

7. for GST true of any of the following:

the GST is missing at least one of SIC, which is not the SIC transfer command;

GST contains one or more SIC, which are not SIC transfer command and flag the discharge clutch teams in the last KSU GST equal to zero.

When using the SIC is ABOUT, and for ROK should additional micp and/or output, must be true is the following; otherwise, it can be recognized by the detected device test program:

flag Output TIDA (flag bit 7) in the USP to the wives to be equal to one; or

when using TIDAW to transfer ROK and data flag bit input BMF must be installed on the unit in the last or only TIDAW, which is used to transfer ROK. When TIDAW used to transmit only ROK do not need to install streamer discharge input BMF in the last or only TIDAW.

During processing of the GST, can be recognized by the error content TCIS if any of the following conditions:

1. first discovered SIC PBSC is not the first KSU in OKP;

2. in GST detected second SIC PBSC;

3. in the PCO found KSU PBSC, when the discharge field W SOCP equal to zero;

4. in the SIC PBCC flag is not set clutch;

5. found KSU PBSC in which the account is UD, and the expense of data equal to zero;

6. found KSU PBSC in which the account is UD, and the account data is not equal to zero;

7. found KSU PBSC in which the account UD and the account data is not a multiple of 4;

8. found KSU PBS, in which the count data is equal to zero, and the expense of UD is not divisible by 4;

9. KSU PBSC is not set, and the SIC is ABOUT is not the first KSU in GST, or PBSC set, but ABOUT SIC no is the second SIC in OKP;

10. in the PCO found KSU ABOUT, when the discharge field W SOCP equal to zero;

11. in the SIC ABOUT the flag is not set clutch;

12. in GST detected second SIC PRO;

13. found KSU ABOUT in which expense BEATS a Ki is non-zero;

14. found ABOUT SIC, in which the count data is equal to zero or is not a multiple of 4;

15. set the SIC is ABOUT, and rightly any of the following: the length of the GST is 58 words or less; the length of the GST is 59 words, in the last KSU in the GST control data set, and length of control data exceeds 59 words; or the length of the GST is maximum and is 60 words and the last word in GST contains the first word of the SIC;

16. in the SIC contains a command that requires control data, and field account UD is zero or contains a value indicating the data after the end of the GST;

17. in the SIC contains a nonzero field account UD, and the team does not allow the use of control data;

18. during a write operation, the device found in the PCO team, which included the attempted transfer of data reading;

19. during read operations, the device found in the PCO team, which included the attempted data write;

20. rank SS in SIC is equal to zero, and the GST remains more than 3 unused bytes;

21. the discharge of the SS in the SIC is equal to one, and found that the location of the next SIC is less than 8 bytes from the end of the GST, and ROK was not used, or ROK was used, and found that the location of the next SIC is less than 8 bytes from the end of ROK;

22. when in case the operation is a read or bidirectional operation KSU read in the GST becomes current total account data of all previous KSU read current KSU plus all idle bytes and bytes ICC exceeds the value of the field DPD in TCIS, or in the case of bidirectional operations exceeds the value of the field DPDCH in TCIS;

23. when in the case of a read operation or bidirectional operation last KSU in the GST becomes the current total account data of all KSU reading plus all idle bytes and the bytes of the ICC is not equal to the value of the field DPD in TCIS, or in the case of bidirectional operations is not equal to the value of the field DPDCH in TCIS;

24. when in the case of a write operation or bidirectional operation KSU in the GST becomes the current total account data of all KSU record plus all idle bytes and the bytes of the ICC (including all intermediate idle bytes and bytes ICC) and, if EI data transfer is enabled BSC bytes BSC, idle bytes BSC and bytes ICC BSC, and, if present ROK, bytes ROK, idle bytes ROK and bytes ICC ROK exceeds the value of the field DPD in TCIS; or

25. when in the case of a write operation or bidirectional operation last KSU in the GST becomes the current total account data of all KSU record plus all idle bytes and the bytes of the ICC (including all intermediate idle bytes and bytes ICC) and, HEY if data transmission is enabled BSC bytes BSC, idle bytes BSC and bytes ICC BSC, and, if present ROK, bytes ROK, idle bytes ROK and BA who you ICC ROK, not equal to the value of the field DPD in TCIS.

In one embodiment, the implementation of operations in command mode or in transmission mode are established channels of communication between the channel subsystem 114 and device 118 controls and/or devices 116. Each channel 128 in the system I / o, which provides a physical connection to one or more control devices, may be cited as the "N_Port", which has a unique identifier ("N_Port_ID"). Similarly, each device 118 control may be cited as the N_Port that has a corresponding N_Port_ID. As the channel 128 and the device 118 controls can contain multiple images or channel of the imaging device control, respectively. Each contains the identifier of the N_Port address, which is assigned during initialization and execution of the registration procedures. During initialization can be carried out explicitly register N_Port through the extended channel registration services N_Port (PLOGI). After N_Port has registered in another N_Port, it is believed that this registered N_Port to another N_Port.

In one embodiment, the implementation of the initialization of the channel between the channel subsystem and the control devices is performed using the Protocol of the extended channel services (ELS) of the registration process (RP). General especially the ti ELS RP, including the format of request and response to the request ELS RP, is given in the publication "Fibre Channel Link Services (FC-LS-2)", T11 Project 2103-D, revised version 2.00 on June 26, 2008, which in its entirety by reference incorporated into the present application, and the specific setup for FC-SB-4 are defined in the following sections.

In the course of the RP channel 128 that supports RP, passes the request to each device 118 in their configuration, which also supports the registration process ELS to determine whether the device supports 118 of the control operation in the transmission mode. In one embodiment, the implementation of the query SPM is sent during initialization of the channel before the establishment of logical paths, and also can be transmitted in the output of the process (PRLO). ELS SPM is used to exchange parameters of the service registration process between the channel 128 and the device 118 management. When the control device logical path to the device control channel can be transmitted request RP ELS, which is applicable to all the established logical paths. The exchange of parameters between the channel and control unit can be implemented by querying the RP and answer the query RP.

In one of the embodiments, if the control unit receives the request RP ELS, which would have changed the parameters of the service registration process,existing in the channel, the control device responds to the request RP ELS denial of service connection (LS_RJT). The LS_RJT response is sent indicating the hexadecimal value '09' as the reason code "query execution team at the moment is impossible." After the transfer of the control device LS_RJT it transmits on channel exit request process (PRLO) ELS with the purpose of retrying the request RP ELS received over the channel.

As shown in Fig in the query SPM contains page 400 of service parameters from different fields, are used to establish service parameters. For example, on page 400 of service parameters may include a field 402 of the model code indicating the transmission mode or Protocol FC-4 (for example, set the hexadecimal value '1B', specifies the Protocol SB-4). The value field 404 of the extended model code (for example, byte 1 of word 0 is set to zero. Channel can be set to the following values streamer discharge 406 FC-LS-2 (e.g., bits 16-19 word 0):

the discharge 16 of the reality of associator outbound process: this bit is set to zero by the channel and ignored by the control unit,

category 17 reality of associator response process: this bit is set to zero by the channel and ignored by the control unit,

discharge 18 establish image pair: this R is the set would be loaded on to zero by the channel and ignored by the control unit; and

discharge 19 reserved: this bit is set to zero by the channel and ignored by the control device.

Page of service parameters may include additional fields, such as field 408 of associator outbound process (for example, word 1)whose value is set to zero by the channel and field 410 associator response process (e.g., word 2). In box 412, the maximum delay time of initiation (for example, bit 0 of word 3 contains a binary integer that specifies the maximum value in seconds, which can install the control unit as a delay time of initiation for the exit request process (PRLO). The PRLO request is used by the channel or control unit to stop the operation in the transmission mode between the channel and control unit. The value of the maximum delay time of initiation is generated based on the amount of time during which the channel is able to delay the initiation of a new operation I / o without affecting the host system.

During streamer discharge 414 FC-SB-4 (for example, byte 3 of word 3 on page query RP) contains one or more flags described below:

0 - Supported transmission mode. When bit 0 is set to zero, the channel does not support operation in transmission mode. When bit 0 is set to single the HQ, channel supports operation in transmission mode.

1 - reserved.

2 - Supports the indication of incorrect length (ND) SIC. For example, when the flag ND is active (for example, when bit 2 is set on the unit), the channel 128 supports the tool ND KSU. When bit 2 is set to zero, the channel 128 is not supported tool OD KSU. Tool OD KSU provides support flag 214 indicator suppress length (SDI) and flag 338 wrong length. When the discharge-enabled transfer mode (bit 0) is equal to zero, bit 2 will be set to zero.

5 - Supports bidirectional data transfer. When the valid indication bi-directional data transmission (for example, bit 5 is installed on the unit), the channel 128 supports bidirectional data transmission. When bit 5 is set to zero, the channel 128 does not support bi-directional data transfer. This bit is meaningful only when the discharge mode of transmission is equal to the unit.

7 - Supported operation block ready first transfer (First Transfer Ready Disabled). When bit 7 is set to one, the channel supports the operation of blocking the readiness of first gear. When bit 7 is set to zero, the channel does not support the operation of blocking the readiness of first gear. When the discharge-enabled transfer mode (RA is the number 0) is equal to zero, bit 7 will be set to zero.

When both the channel and the control unit support locking the readiness of the first transfer, the data transfer write transfer mode is carried out when the current blocking readiness of the first transmission, and the channel can be transferred to the first EI data transfer control device without having to wait for EI readiness transmission from the control device. If the channel or the control unit does not support locking the readiness of the first transfer operation in the transfer mode is not in effect blocking the readiness of the first pass.

As shown in Fig, in one of the embodiments in response to a request SPM contains page 420 of agreement with the service parameters, which may include fields such as a field 402 of the model code, a code indicating the transmission mode or Protocol FC-4 (for example, set the hexadecimal value '1B', specifies the Protocol SB-4), and a field 404 of the extended model code (for example, byte 1 of word 0)is set to zero. Channel can be set to the following values streamer discharge 406 FC-LS-2 (e.g., bits 16-19 word 0):

the discharge 16 of the reality of associator outbound process: this bit is set to zero by the channel and ignored by the control unit,

category 17 actually associator the response process: this bit is set to zero by the channel and ignored by the control unit,

discharge 18 establish image pair: this bit is set to zero by the channel and ignored by the control unit; and

discharge 19 reserved: this bit is set to zero by the channel and ignored by the control device.

In field 422 response code (e.g., bits 20-23 of word 0 contains binary integer that specifies the query result SPM. The values of the response codes are defined by FC-LS-2. In the field 424 of the size of the first packet (e.g., bytes 0-1 of word 3 contains a binary integer that specifies the maximum amount of data (for example, in multiples of 4 KB units), which are allowed to transmit in the first EI data transfer when transferring data recording, when the channel and the control unit support locking readiness of first gear. A value of zero indicates no limitation of the size of the first batch. Field 424 of the size of the first package can be implemented by all devices that support blocking readiness of first gear.

Page 420 of agreement with the service parameters may also include a streamer discharge 414 FC-SB-4 (for example, byte 3 of word 3)that contains one or more flags described below:

0 - Supported transmission mode. When bit 0 is set to zero, the device 118 control does not support operation in transmission mode. When RA is a number of 0 is installed on the unit, the device 118 control supports operation in transmission mode.

2 - Supports the indication of incorrect length (ND) SIC. When bit 2 is set to one, the device 118 management supports the indication of incorrect length (ND) SIC. When bit 2 is set to zero, the device 118 control does not support the tool ND KSU. The indication of incorrect length KSU contains the flag 214 SDI and flag 338 wrong length. When the discharge-enabled transfer mode (bit 0) is equal to zero, bit 2 will be set to zero.

5 - Supports bidirectional data transfer. When the valid indication bi-directional data transmission (for example, bit 5 is installed on the unit) device 118 control supports bidirectional data transmission. When bit 5 is set to zero, the device 118 control does not support bi-directional data transfer. This bit is meaningful only when the discharge mode of transmission is equal to the unit.

7 - Supports the operation of blocking the readiness of first gear. When bit 7 is installed on the unit, the control unit supports the operation of blocking the readiness of first gear. When bit 7 is set to zero, the control device does not support the operation of blocking the readiness of first gear. When the bit is on supporting transfer mode (bit 0) is equal to zero, bit 7 will be set to zero.

Accordingly, the channel subsystem and the control unit may use the registration requests, such as request RP to indicate to each other, supported them bidirectional data transfer. Channel subsystem and/or the control device may also transmit instructions to the host system (for example, the OS 110). For example, the device management OS can be transmitted indicating that the control unit supports bidirectional data transmission. In one embodiment, the implementation of the channel subsystem transmits an indication of the capabilities of the channel subsystem and/or control devices, including support for bidirectional data transmission. For example, the channel subsystem may transmit information about the opportunities in response to receiving the command from the OS.

One of the examples indicate the features illustrated in Fig and 21. As shown in Fig, channel subsystem can transfer the OS block 500 description channel path in response to the command of the OS (for example, the save command descriptions channel path). Block 500 description channel path includes fields such as a field 502 ID channel path (CHPID, from the English channel path identifier) 502, a field 504 descriptor and field 506 specific data description channel (CDSD, from the English channel description specific data). As shown the on Fig, one example of a field 506 CDSD is the word (e.g. the word 5) block 500 description channel path, it contains a field 508 maximum duration of data transmission (for example, the maximum length of data that are supported for CSS/TCIS). For example, set to (00 01h) bits 0-15 field 506 CDSD mean that the maximum on the duration of the transfer is 64 kilobytes in USP/TCIS. In box 510 extension support (for example, discharge 31) specified a supported Protocol or Protocol extension, such as the Protocol FCX. Additional field 512 (e.g., bits 16-30) may contain information regarding the capabilities of the channel subsystem. For example, the discharge BIDI (for example, discharge 28) field 512 indicates support for bidirectional data transmission channel subsystem.

Additionally, the description contained in the application US 12/030912 entitled "Determining Extended Capability of a Channel Path", filed February 14, 2008 and published under the number 2009/0210557.

Technical results and benefits of embodiments include the ability to transfer control device data transfer support, as well as additional commands the I / o and data support devices in TCIS. Technical results also include the ability to continue processing the SIC, despite detection conditions correctly the length, that allows the control unit to continue processing I / o without having to abort I / o. Other technical results include the ability to transmit both the input and output data between the channel and control unit in one operation I / o.

Used in the description of the terminology is intended to describe only private embodiments and not limiting of the invention. It is implied that used in the description of the singular number also include the plural, unless the context clearly requires otherwise. Additionally assumes that the terms "includes" and/or "comprising"used in the description indicate the presence of these features, numbers, steps, operations, elements and/or components, but do not preclude the presence or addition of one or more other characteristics, numbers, steps, operations, elements, components and/or groups.

Implies that the corresponding structures, materials, acts and equivalents of all elements of the "means or step plus function" following further claims include any structure, material, or act for performing the function in combination with other certain means. The description of the present invention are presented as illustrations and n is aims to be exhausted or to limit the invention disclosed form. For specialists in the art indisputable numerous modifications and variations, not beyond the scope and substance of the invention. Selected and described an implementation option is in order to best explain the principles of the invention and its practical application, and allow the specialists in the art to understand the invention, since there are different ways to implement different versions, designed for a specific application.

As you consider experts in the art, the features of the present invention can be embodied as a system, method or computer program product. Accordingly, features of the present invention may take the form of entirely hardware variant implementation, the entire software option implementation (containing firmware, resident software, microcode, and so on) or variant implementation combining software and hardware features that can all generally be referred to in the description of the "circuit," "module" or "system". In addition, features of the present invention can take the form of a computer program product embodied in one or more machine-readable media, which includes machine-readable prog is amny code.

Can be any combination of one or more machine-readable media. The computer-readable medium can be a machine-readable medium of signal transmission or machine readable storage medium. The computer-readable storage medium may be, for example, without limitation, an electronic, magnetic, optical, electromagnetic, infrared or semiconductor system, device or apparatus, or any applicable combination of the above. More specific examples (a non-exhaustive list) of the computer-readable medium include:

electrical connection having one or more wires, a portable computer disk, hard disk, random access memory (RAM), a persistent storage device (ROM), erasable programmable permanent memory (EPROM or flash memory), optical fiber, portable permanent storage device to the CD-ROM (CD-ROM), optical storage device, magnetic storage device, or any applicable combination of the above. In the context of this document, the machine-readable storage medium may be any tangible medium that can contain or store the program for use by system commands, device, or instrument, or in relation to them./p>

The computer-readable medium of signal transmission may include propagating the data signal with embodied therein computer-readable program code, for example, in the primary frequency band, or as part of carrier. This propagating signal may take any of a variety of forms, including, without limitation, electromagnetic, optical, or any applicable combination. The computer-readable medium of signal transmission may be any machine-readable medium that is not machine-readable storage medium and which is able to exchange, distribute or transfer the program to use system commands, device, or instrument, or in relation to them.

A program code embodied in a computer-readable medium may be transmitted using an appropriate medium, including without limitation, wireless, wired environment, the optical fiber cable, RF environment, etc. or any applicable combination of the above.

Computer program code to perform operations that provide features of the present invention can be recorded on one or several programming languages in any combination, including object-oriented programming language, such as Java, Smalltalk, C++, and the like, and conventional procedural programming languages, such as "With" and language and Assembly language or similar programming languages. Software code may be entirely executed in a user's computer, partly in the user's computer, as a stand-alone software package, partly in the user's computer and partly on a remote computer or entirely in the remote computer or server. In the case of the latter scenario, the remote computer may be connected with the user's computer through any type of network including a local area network (LAN) or wide area network (WAN), or may be connected to an external computer (for example, through the Internet using your Internet service provider).

Features of the present invention is described with reference to flowcharts and/or block diagrams of methods, equipment (systems) and computer program products according to alternate embodiment of the invention. Assume that each block on the structural diagrams and/or flowcharts, and combinations of blocks in the structural diagrams and/or flowcharts can be implemented by means of control commands by a computer program. These commands control computer program may be transmitted to the processor of universal computer, a specialized computer or other programmable device for processing data to form a mechanism in which the commands performed by the processor of the computer or other programmable data processing equipment, create means for implementing the functions/actions, indicated by the block or blocks on the structural diagrams and/or flowcharts.

These commands control computer program can also be stored in a machine-readable medium, which is able to instruct the computer, other programmable equipment data processing or other devices to act in a particular way, resulting commands stored in a machine-readable medium, to form a product containing commands that implement the function/action, indicated by the block or blocks on the structural diagrams and/or flowcharts.

Team management computer program can also be loaded into the computer, other programmable data processing equipment or other device to initiate execution of a sequence of operational steps a computer, other programmable equipment or other devices to form a computer-implemented process, when this command is executed by the computer or other programmable equipment, ensure the implementation of the functions/actions, indicated by the block or blocks on the structural diagrams and/or flowcharts.

Shown in the drawing the block diagram is only one example. There are many varieties of these are described in the invention, the block diagrams or the steps (operations), not outside the scope of the invention. For example, the steps may be performed in a different order, or steps may be added, deleted or modified. All these varieties are included in the claimed invention.

Although there have been described preferred embodiments of means that specialists in the art will now and in the future make various improvements and enhancements within the scope of the following next of the claims. The claims should be interpreted to ensure the proper protection of the previously described invention.

1. Permanent machine-readable medium containing executable commands for performing operations I / o initiated by the command of the I / o host computer system configured for communication with the control device, with a machine-readable medium may be read processing unit for implementing the method, including:
the transmission channel subsystem of the host computer system request registration process (RP) control device to establish communication between the channel subsystem and the control unit, the request SPM contains a field value to the showing indicates does the channel subsystem bidirectional data transmission,
receiving from the device control request response RP that contains the field whose value indicates whether the device supports control bidirectional data transmission,
transferring the operating system from the host system to indicate that bidirectional data transmission is supported, and
on the basis of the command input-output, adopted from the computer host system, the implementation of ways, including:
the collection of the set of commands that are specified through the command I / o, adopted from the computer host system, at least one of the set commands specify the transmission of the input data, and at least one of the set commands specify the transmission output,
transfer multiple commands to the control device,
the transmission control device at least one output information messages containing the output data to be transferred to the control device, when it passed to output an informational message based on at least one of the multiple commands, which indicates the transmission output, and
receiving from the control device at least one input message containing the input data to be saved in
the primary storage device is iste computer host system, when this is passed to the input information message based on at least one of the multiple commands, which indicates the transmission of the input data.

2. The computer-readable medium according to claim 1, in which the instruction set is the number of command words devices (SIC), each of which specifies the command I / o, and the collection includes obtaining a channel subsystem of the host computer system of the control word transfer (USP) for the operation of I / o, which contains the address of the control unit commands the transmission (TCIS) with the address of TCIS in the primary storage device of a computer host system, and TCIS contains many KSU, at least in one of the SIC stated the transmission of the input data, and at least one of SIC specified transmission output.

3. The computer-readable medium according to claim 2, in which the transfer of the set of commands includes a transmission control device TCIS containing many KSU.

4. The computer-readable medium according to claim 3, in which the indication is configured to determine whether the lock state of readiness of the first transmission, and the method further includes:
performed on the basis of current conditions blocking the readiness of the first gear transmission control device at least one output information reported is after I transfer TCIS and to receive at least one message from the control device, and
performed on the basis of the non-blocking conditions of readiness of the first broadcast receiving at least one message from the controlling device to transmit at least one output informational messages.

5. The computer-readable medium according to claim 4, in which a message from a device management includes the notification of the readiness of the transmission with the transmission request output channel subsystem input or an informational message.

6. The computer-readable medium according to claim 2, in which TCIS included in the item information (EI) command transmission transmitted to the control device, while the EI command transmission contains the header command transmission (RCP)that contains a field that indicates that asks whether the channel subsystem, bidirectional data transfer.

7. The computer-readable medium according to claim 6, in which TCIS contains a duration field of the data record (DPD), indicating the amount of transferred data output, and a duration field bidirectional data transfer read (DPDCH)indicating the amount of transmitted input data.

8. The computer-readable medium according to claim 7, in which the method further includes, if the control device does not support operation bidirectional data transmission, the reception device management response to the transmission, indicating that the operation of the I / o completed, when this is in response to the transmission gives an indication of the error content ZKP based on at least one of the following:
the control device detects that the discharge of the read (R) and the discharge record (W) ZKP installed on the unit, and TCIS not contained DPDCH, and
the control device detects that the rank R and the category of W is installed on the unit, and the control device does not support bi-directional data transfer.

9. The computer-readable medium according to claim 7, in which the method further includes receiving from the device management response to the transmission, indicating that the operation of the I / o is completed, in response to the transmission contains:
field residual account the duration of the data transfer (OSDPD)indicating the difference between the value of the field DPD in TCIS and the amount of output data received by the control device, and
residual account DPDCH indicating the difference between the value of the field DPDCH in TCIS and the size of input data transmitted by the control device.

10. The computer-readable medium according to claim 9, in which the channel subsystem detects an error based on at least one of the following:
mismatch values OSDPD difference between the value of the field DPD in TCIS and the amount of output data transferred to the control device, and
the discrepancy between the values of the residual account DPDCH difference between the value of the field DPDCH and size of input data received from the controller.

11. The computer-readable medium according to claim 2, in which in which the query SPM control device is requested, if it does support Protocol transmission mode that supports the use of CSS and TCIS, and in response to a request SPM contains a field that indicates whether the device supports control Protocol transmission mode.

12. The device containing the channel subsystem to perform I / o initiated by the command I / o in a computer host system, while the channel subsystem configured for communication with the control device has an interface for communication between a computer host system and control device and configured to:
the channel subsystem of the host computer system request registration process (RP) control device to establish communication between the channel subsystem and the control unit, the request SPM contains a field whose value indicates whether the channel subsystem bidirectional data transmission,
receiving from the device control request response RP that contains the field whose value indicates whether the device supports control bidirectional data transmission,
transfer the operating system from the host system to indicate that bidirectional data transmission is supported, and
on the basis of the command input-output, adopted from the computer host system, the implementation of the method is, including:
the collection of the set of commands that are specified through the command I / o, adopted from the computer host system, at least one of the set commands specify the transmission of the input data, and at least one of the set commands specify the transmission output,
transfer multiple commands to the control device,
the transmission control device at least one output information messages containing the output data to be transferred to the control device, while sending output information message based on at least one of the multiple commands, which indicates the transmission output,
receiving from the control device at least one input message containing the input data to be saved in the main storage device of a computer host system, while the transmitted input information message based on at least one of the multiple commands, which indicates the transmission of the input data.

13. The device according to item 12, in which many teams is the number of command words devices (SIC), each of which specifies the command I / o, and the collection includes obtaining a channel subsystem of the host computer system of the control word transfer (USP) for input-output to the or contains the address of the control unit commands the transmission (BEECH) with the address of TCIS in the primary storage device of a computer host system, and TCIS contains many KSU, at least in one of the SIC stated the transmission of the input data, and at least one of SIC specified transmission output.

14. The device according to item 13, in which the indication is configured to determine whether the lock state of readiness of the first transmission, and a computer host system further configured to:
performed on the basis of current conditions blocking the readiness of the first gear transmission control device at least one output informational messages after sending TCIS and to receive at least one message from the device management and
performed on the basis of the non-blocking conditions of readiness of the first broadcast receiving at least one message from the controlling device to transmit at least one output informational messages.

15. The device according to item 13, where TCIS included in the item information (EI) command transmission transmitted to the control device, while the EI command transmission contains the header command transmission (RCP)that contains a field that indicates that asks whether the channel subsystem, bidirectional data transfer.

16. The device of clause 15, where TCIS contains a duration field of the data record (DPD), specifying the amount per the given output, and duration field bidirectional data transfer read (DPDCH)indicating the amount of transmitted input data.

17. The device according to clause 16, in which the channel subsystem is additionally configured to perform, if the control device does not support operation bidirectional data transmission, receiving, from the device management response to the transmission, indicating that the operation of the I / o is completed, in response to transmission of a reference content errors ZKP based on at least one of the following:
the control device detects that the discharge of the read (R) and the discharge record (W) ZKP installed on the unit, and TCIS not contained DPDCH, and
the control device detects that the rank R and the category of W is installed on the unit, and the control device does not support bi-directional data transfer.

18. The device according to clause 16, in which the method further includes receiving from the device management response to the transmission, indicating that the operation of the I / o is completed, in response to the transmission field contains the residual account the duration of the data transfer (OSDPD)indicating the difference between the value of the field DPD in TCIS and the amount of output data received by the control unit, and the residual account DPDCH indicating the difference between the value of the field DPDCH in TCIS and the volume of the output data, transmitted by the control device, and the channel subsystem detects an error based on at least one of the following:
mismatch values OSDPD difference between the value of the field DPD in TCIS and the amount of output data transferred to the control device, and
the discrepancy between the values of the residual account DPDCH difference between the value of the field DPDCH and size of input data received from the controller.

19. How perform I / o initiated by the command of the I / o host computer system configured for communication with the control device, including:
the transmission channel subsystem of the host computer system request registration process (RP) control device to establish communication between the channel subsystem and the control unit, the request SPM contains a field whose value indicates whether the channel subsystem bidirectional data transmission,
receiving from the device control request response RP that contains the field whose value indicates whether the device supports control bidirectional data transmission,
transferring the operating system from the host system to indicate that bidirectional data transmission is supported, and
on the basis of the command input-output, adopted from a computer is characteristic of the host system, the implementation of the method, including:
the collection of the set of commands that are specified through the command I / o, adopted from the computer host system, at least one of the set commands specify the transmission of the input data, and at least one of the set commands specify the transmission output,
transfer multiple commands to the control device,
the transmission control device at least one output information messages containing the output data to be transferred to the control device, when it passed to output an informational message based on at least one of the multiple commands, which indicates the transmission output, and
receiving from the control device at least one input message containing the input data to be saved in the main storage device of a computer host system, while the transmitted input information message based on at least one of the multiple commands, which indicates the transmission of the input data.

20. The method according to claim 19, in which many teams is the number of command words devices (SIC), each of which describes the command I / o, and the collection includes obtaining a channel subsystem of the host computer system of the control word transfer (USP) for operas is the I / o, contains the address of the control unit commands the transmission (TCIS) with the address of TCIS in the primary storage device of a computer host system, and TCIS contains many KSU, at least in one of the SIC stated the transmission of the input data, and at least one of SIC specified transmission output.

21. The method according to claim 20, in which the indication is configured to determine whether the lock state of readiness of the first transmission, and the method further includes:
performed on the basis of current conditions blocking the readiness of the first gear transmission control device at least one output informational messages after sending TCIS and to receive at least one message from the device management and
performed on the basis of the non-blocking conditions of readiness of the first broadcast receiving at least one message from the controlling device to transmit at least one output informational messages.

22. The method according to claim 20, in which TCIS included in the item information (EI) command transmission transmitted to the control device, while the EI command transmission contains the header command transmission (RCP)that contains a field that indicates that asks whether the channel subsystem bidirectional transmission d is the R.

23. The method according to item 22, where TCIS contains a duration field of the data record (DPD), indicating the amount of transferred data output, and a duration field bidirectional data transfer read (DPDCH)indicating the amount of transmitted input data.

24. The method according to item 23, further comprising, if the control device does not support operation bidirectional data transmission, the reception device management response to the transmission, indicating that the operation of the I / o is completed, in response to transmission of a reference content errors ZKP based on at least one of the following:
the device detects that the discharge of the read (R) and the discharge record (W) ZKP installed on the unit, and TCIS not contained DPDCH, and
the device detects that the rank R and the category of W is installed on the unit, and the control device does not support bi-directional data transfer.

25. The method according to item 22, further comprising receiving from the device management response to the transmission, indicating that the operation of the I / o is completed, in response to the transmission field contains the residual account the duration of the data transfer (OSDPD)indicating the difference between the value of the field DPD in TCIS and the amount of output data received by the control unit, and the residual account DPDCH indicating the difference between what the value of the field DPDCH in TCIS and the size of input data, transmitted by the control device, and the channel subsystem detects an error based on at least one of the following;
mismatch values OSDPD difference between the value of the field DPD in TCIS and the amount of output data transferred to the control device, and
the discrepancy between the values of the residual account DPDCH difference between the value of the field DPDCH and size of input data received from the control unit.

 

© 2013-2014 Russian business network RussianPatents.com - Special Russian commercial information project for world wide. Foreign filing in English.