Data processing system, data processing method and program
First Claim
Patent Images
1. A data processing system comprising:
- a data processing apparatus for issuing a command code; and
a disk array apparatus communicatively connected to the data processing apparatus through a channel for performing command processing corresponding to the command code;
the data processing apparatus comprising;
an arithmetic processing unit for issuing a plurality of channel command words, the plurality of channel command words including a first command word for instructing to search according to a search content identified in a parameter in the first command word and for checking whether or not a result of the search matches to a conditional value identified in the parameter in the first command word, and a second command word for instructing to control a conditional branch, which, if a result of the search matches to the conditional value, advances to a next command word and, if the result of the search does not match to the conditional value, jumps to an address identified in a parameter in the second command word, and a third command word corresponding to the next command word, and a fourth command word, corresponding to the address identified in the parameter in the second command word and being a target to be jumped to, and a write command word for instructing to write data in the disk array apparatus;
a storage unit for storing the plurality of channel command words issued by the arithmetic processing unit; and
an input/output channel unit for transmitting the command code to the disk array apparatus, the command code being encoded with the plurality of channel command words, including a converted second command word instead of the second command word, after converting the second command word interpreted by the data processing apparatus into the converted second command word, which the disk array apparatus can interpret;
the disk array apparatus comprising;
an input/output port unit for receiving the command code from the data processing apparatus and for decoding the command code and for generating the plurality of channel command words including the converted second command;
a cache memory unit for storing data to be stored in a plurality of storage areas;
a control processor unit for sequentially processing each command word of the plurality of channel command words including the converted second command word obtained from the input/output port unit;
wherein the control processor unit, if the write command word is processed, stores data of the write command word to the cache memory for storing the data of the write command to the plurality of storage areas,wherein the control processor unit, if the first command word is processed, searches according to the search content, which is identified in the parameter in the first command word and requests a search value of a memory area in the disk array apparatus, and checks whether or not a result of the search matches to the conditional value identified in the parameter in the first command word,wherein the control processor unit, if the second command word is processed, controls the conditional branch, which, if the result of the search matches to the conditional value, advances to the third command word and, if the result of the search does not match to the conditional value, jumps to the fourth command word corresponding to the address identified in the parameter in the second command word,wherein the control processor unit processes a parameter of either the third command word or the fourth command word based on the conditional branch, and returns status information representing the processing result to the input/output port unit, andwherein the input/output port unit transmits the status information as a response to the input/output channel unit in the data processing apparatus.
0 Assignments
0 Petitions
Accused Products
Abstract
In the host, an IP issues CCW, and a CH encodes the CCW and a CCW chain by the encode program to create a code including the description of controlling a conditional branch with the DKC and transmits the code to a PORT in the DKC. In the DKC, the PORT decodes the code by the decode program, and a CP sequentially processes each command obtained by the decoding and returns a return code representing the end state of the processing. The host receives the return code to recognize the end state of the processing.
7 Citations
9 Claims
-
1. A data processing system comprising:
-
a data processing apparatus for issuing a command code; and a disk array apparatus communicatively connected to the data processing apparatus through a channel for performing command processing corresponding to the command code; the data processing apparatus comprising; an arithmetic processing unit for issuing a plurality of channel command words, the plurality of channel command words including a first command word for instructing to search according to a search content identified in a parameter in the first command word and for checking whether or not a result of the search matches to a conditional value identified in the parameter in the first command word, and a second command word for instructing to control a conditional branch, which, if a result of the search matches to the conditional value, advances to a next command word and, if the result of the search does not match to the conditional value, jumps to an address identified in a parameter in the second command word, and a third command word corresponding to the next command word, and a fourth command word, corresponding to the address identified in the parameter in the second command word and being a target to be jumped to, and a write command word for instructing to write data in the disk array apparatus; a storage unit for storing the plurality of channel command words issued by the arithmetic processing unit; and an input/output channel unit for transmitting the command code to the disk array apparatus, the command code being encoded with the plurality of channel command words, including a converted second command word instead of the second command word, after converting the second command word interpreted by the data processing apparatus into the converted second command word, which the disk array apparatus can interpret; the disk array apparatus comprising; an input/output port unit for receiving the command code from the data processing apparatus and for decoding the command code and for generating the plurality of channel command words including the converted second command; a cache memory unit for storing data to be stored in a plurality of storage areas; a control processor unit for sequentially processing each command word of the plurality of channel command words including the converted second command word obtained from the input/output port unit; wherein the control processor unit, if the write command word is processed, stores data of the write command word to the cache memory for storing the data of the write command to the plurality of storage areas, wherein the control processor unit, if the first command word is processed, searches according to the search content, which is identified in the parameter in the first command word and requests a search value of a memory area in the disk array apparatus, and checks whether or not a result of the search matches to the conditional value identified in the parameter in the first command word, wherein the control processor unit, if the second command word is processed, controls the conditional branch, which, if the result of the search matches to the conditional value, advances to the third command word and, if the result of the search does not match to the conditional value, jumps to the fourth command word corresponding to the address identified in the parameter in the second command word, wherein the control processor unit processes a parameter of either the third command word or the fourth command word based on the conditional branch, and returns status information representing the processing result to the input/output port unit, and wherein the input/output port unit transmits the status information as a response to the input/output channel unit in the data processing apparatus. - View Dependent Claims (2, 3)
-
-
4. A data control method for a data processing system, the data processing system comprising a data processing apparatus for issuing a command code and a disk array apparatus communicatively connected to the data processing apparatus through a channel for performing command processing corresponding to the command code, the data control method comprising:
-
issuing, by the data processing apparatus, a plurality of channel command words, the plurality of channel command words including a first command word for instructing to search according to a search content identified in a parameter in the first command word and for checking whether or not a result of the search matches to a conditional value identified in the parameter in the first command word, and a second command word for instructing to control a conditional branch, which, if the result of the search matches to the conditional value, advances to a next command word and, if the result of the search does not match to the conditional value, jumps to an address identified in a parameter in the second command word, and a third command word corresponding to the next command word, and a fourth command word, corresponding to the address identified in a parameter in the second command word and being a target to be jumped to, and a write command word for instructing to write data in the disk array apparatus; storing, by the data processing apparatus, the plurality of channel command words; transmitting, by the data processing apparatus, the command code to the disk array apparatus, the command code being encoded the plurality of channel command words, including a converted second command word instead of the second command word, after converting the second command word interpreted by the data processing apparatus into the converted second command word, which the disk array apparatus can interpret; receiving, by the disk array apparatus, the command code from the data processing apparatus; decoding, by the disk array apparatus, the command code and generating the plurality of channel command words including the converted second command; sequentially processing, by the disk array apparatus, each command word of the plurality of channel command words including the converted second command; if the write command word is processed, storing, by the disk array apparatus, data of the write command word to a cache memory for storing the data of the write command to a plurality of storage areas; if the first command word is processed, searching, by the disk array apparatus, according to the search content, which is identified in the parameter in the first command word and requesting a search value of a memory area in the disk array apparatus, and checking whether or not the result of the search matches to the conditional value identified in the parameter in the first command word; if the second command word is processed, controlling, by the disk array apparatus, the conditional branch, which, if the result of the search matches to the conditional value, advances to the third command word and, if the result of the search does not match to the conditional value, jumps to the fourth command word corresponding to the address identified in the parameter in the second command word; processing, by the disk array apparatus, a parameter of either the third command word or the fourth command word based on the conditional branch; returning, by the disk array apparatus, status information representing a result of the processing to the input/output port unit; and transmitting, by the disk array apparatus, the status information as a response to the data processing apparatus. - View Dependent Claims (5, 6)
-
-
7. A computer program stored in a computer readable storage medium to be executable in a data processing system, the data processing system comprising a data processing apparatus for issuing a command code and a disk array apparatus communicatively connected to the data processing apparatus through a channel for performing command processing corresponding to the command code, the computer program comprising:
-
code issuing, by the data processing apparatus, a plurality of channel command words, the plurality of channel command words including a first command word for instructing to search according to a search content identified in a parameter in the first command word and for checking whether or not a result of the search matches to a conditional value identified in the parameter in the first command word, and a second command word for instructing to control a conditional branch, which, if a result of the search matches to the conditional value, advances to a next command word and, if the result of the search does not match to the conditional value, jumps to an address identified in a parameter in the second command word, and a third command word corresponding to the next command word, and a fourth command word, corresponding to the address identified in the parameter in the second command word and being targeted to be jumped to, and a write command word for instructing to write data in the disk array apparatus; code storing, by the data processing apparatus, the plurality of channel command words; code transmitting, by the data processing apparatus, the command code to the disk array apparatus, the command code being encoded with the plurality of channel command words, including a converted second command word instead of the second command word, after converting the second command word interpreted by the data processing apparatus into the converted second command word, which the disk array apparatus can interpret; code receiving, by the disk array apparatus, the command code from the data processing apparatus; code decoding, by the disk array apparatus, the command code and generating the plurality of channel command words including the converted second command; code sequentially processing, by the disk array apparatus, each command word of the plurality of channel command words including the converted second command; code, if the write command word is processed, storing, by the disk array apparatus, data of the write command word to a cache memory for storing the data of the write command to a plurality of storage areas; code, if the first command word is processed, searching, by the disk array apparatus, according to a search content, which is identified in the parameter in the first command word and requesting a search value of a memory area in the disk array apparatus, and checking whether or not a result of the search matches to the conditional value identified in the parameter in the first command word; code, if the second command word is processed, controlling, by the disk array apparatus, the conditional branch, which, if the result of the search matches to the conditional value, advances to the third command word and, if the result of the search does not match to the conditional value, jumps to the fourth command word corresponding to the address identified in the parameter in the second command word; code processing, by the disk array apparatus, a parameter of either the third command word or the fourth command word based on the conditional branch; code returning, by the disk array apparatus, status information representing a result of the processing result to the input/output port unit; and code transmitting, by the disk array apparatus, the status information as a response to the data processing apparatus. - View Dependent Claims (8, 9)
-
Specification