WO2006057180A1 - 情報処理装置、情報処理システム、及び情報処理方法、並びにコンピュータ・プログラム - Google Patents

情報処理装置、情報処理システム、及び情報処理方法、並びにコンピュータ・プログラム Download PDF

Info

Publication number
WO2006057180A1
WO2006057180A1 PCT/JP2005/020934 JP2005020934W WO2006057180A1 WO 2006057180 A1 WO2006057180 A1 WO 2006057180A1 JP 2005020934 W JP2005020934 W JP 2005020934W WO 2006057180 A1 WO2006057180 A1 WO 2006057180A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
error
entity
processing
communication
Prior art date
Application number
PCT/JP2005/020934
Other languages
English (en)
French (fr)
Inventor
Masafumi Kusakawa
Sumio Morioka
Muneki Shimada
Shiho Moriai
Dai Sasaki
Original Assignee
Sony Corporation
Sony Computer Entertainment Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corporation, Sony Computer Entertainment Inc. filed Critical Sony Corporation
Priority to US11/791,175 priority Critical patent/US8055953B2/en
Priority to EP05806945.1A priority patent/EP1819086B1/en
Priority to CN2005800474647A priority patent/CN101112032B/zh
Publication of WO2006057180A1 publication Critical patent/WO2006057180A1/ja
Priority to HK08107714.2A priority patent/HK1117668A1/xx

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal

Definitions

  • Information processing apparatus information processing system, information processing method, and computer program
  • the present invention relates to an information processing device, an information processing system, an information processing method, and a computer program. More specifically, data communication is performed between a plurality of information processing devices, and communication data is applied.
  • An information processing apparatus, an information processing system, an information processing method, and a computer that perform optimal control corresponding to the occurrence of a data processor or a communication error in a configuration that executes data processing and realizes reliable recovery when the error occurs. 'About the program.
  • This system executes, for example, data processing using communication data in a plurality of information processing apparatuses that perform data communication via a wired or wireless communication network, cable, or bus, and obtains a final processing result. It is a system to calculate.
  • one information processing device A executes data processing, transmits the processing result to the information processing device B, Further, the data processing using the processing result received by the information processing apparatus B is executed and transmitted to the information processing apparatus A.
  • Such a system that executes data processing to which transmitted / received data is applied while transmitting / receiving data between a plurality of information processing apparatuses using the power of a communication sequence is used in various fields.
  • Entity A and information processing equipment B and B consider an information processing system that executes specific processing by repeatedly executing different internal processes and transmitting and receiving the resulting data multiple times. In these systems, data processing is executed inside each of the entities A and B as information processing devices, processing result data is transmitted and received, and new internal processing is performed based on the transmitted and received data. Executed.
  • entity A that detects the error notifies the communication partner of the internal processing error, and returns to its initial state.
  • entity B that has received the notification of the internal processing error can synchronize both internal states in the initial state by returning to the initial state as it is.
  • Such state synchronization processing is applicable only when it can be recognized that an error has occurred in the data processing executed in one entity.
  • entity A is correct, and the ability to transmit data as a result of data processing. If a communication error occurs during the data transfer, entity A cannot recognize the occurrence of the error. Even if entity B can detect a communication error by notifying, etc., whether a communication error has occurred for legitimate data or an internal processing error has occurred. It is not possible to determine whether the error is a communication error or an internal processing error, and the initial state is restored.
  • Entity A transitions the internal state as if correct processing is being performed, while Entity B returns to the initial state, resulting in the internal state being unsynchronized between entities A and B. .
  • entity B detects communication errors. If it is issued, it can be a method of notifying entity A that it has been received. When entity A tries to send data continuously, entity A and B fall into a state of trying to send data to each other, Processing may not be able to continue. Even when entity A is waiting to receive data, if the data length of the error notification data that B tries to send does not match the data length of the data that A tries to receive, an error notification is sent. Problems such as communication data cannot be transmitted completely, or even if data is transmitted, the data reception status at entity A continues.
  • An object of the present invention is to provide an information processing apparatus, an information processing system, an information processing method, and a computer program that make it possible.
  • One embodiment of the present invention is an information processing system including a plurality of information processing units that perform data communication with each other and execute data processing to which communication data is applied.
  • a first information processing unit that transmits error notification data on the basis of detection of an error in received data and executes initial state recovery processing on condition that data reception after transmission of error notification data is performed, and a data processing error or received data
  • a second information processing unit configured to transmit error notification data based on error detection and to execute an initial state return process on condition that the error notification data transmission process is executed.
  • Another embodiment of the present invention is an information processing apparatus that executes data communication and executes data processing to which communication data is applied.
  • An error in internal data processing performed by itself or a communication partner An error detection unit that detects the occurrence of a communication error in the received data from the device, a communication unit that transmits error notification data based on the error detection, and an initial state recovery process subject to data reception after the error notification data is transmitted To run And a data processing unit.
  • Still another embodiment of the present invention is an information processing apparatus that performs data communication with each other and executes data processing to which communication data is applied, and an error occurs in internal data processing performed by itself.
  • an error detection unit that detects the occurrence of a communication error in the received data from the communication partner device, a communication unit that transmits error notification data based on the error detection, and an initial state return process on condition that the error notification data is transmitted
  • Still another embodiment of the present invention relates to an information processing method for executing data communication and executing data processing to which communication data is applied.
  • An error in internal data processing performed by itself or a communication partner An error detection step for detecting the occurrence of a communication error in the received data from the device, an error notification data transmission step for transmitting error notification data on condition that an error is detected in the error detection step, and data after the error notification data is transmitted
  • An initial state return step for executing an initial state return process on condition of reception.
  • Still another embodiment of the present invention relates to an information processing method for executing data communication and executing data processing to which communication data is applied.
  • An error in internal data processing performed by itself or a communication partner An error detection step for detecting the occurrence of a communication error in the received data from the device, an error notification data transmission step for transmitting error notification data on condition of error detection in the error detection step, and a condition for transmitting error notification data
  • an initial state return step for executing an initial state return process.
  • Still another embodiment of the present invention is a computer program for executing data communication and executing data processing to which communication data is applied on a computer, and generating an error in internal data processing performed by the user, or
  • An error detection step for detecting the occurrence of a communication error in the received data from the communication partner device, an error notification data transmission step for transmitting error notification data on condition of error detection in the error detection step, and after error notification data transmission
  • an initial state return step for executing an initial state return process on condition that data is received.
  • Still another embodiment of the present invention is a computer program for executing data communication and executing data processing to which communication data is applied on a computer, and generating an error in internal data processing performed by the user, or
  • An error detection step for detecting the occurrence of a communication error in received data from the communication partner device, an error notification data transmission step for transmitting error notification data on condition of error detection in the error detection step, and transmission of error notification data
  • an initial state return step for executing an initial state return process.
  • the computer 'program to which the present invention is applied is, for example, a storage medium, a communication medium, such as a CD (Compact) provided in a computer-readable format to a general-purpose computer' system capable of executing various programs' code.
  • Disc Compact Disc
  • FD Compact Disc
  • MO Micromemuneto Optical
  • a computer program that can be provided by a communication medium such as a network.
  • the first entity is based on error detection.
  • the error notification data is transmitted
  • the initial state recovery process is executed on condition that the data reception after the error notification data is transmitted
  • the second entity transmits the error notification data based on the error detection. Since the initial state return process is executed on condition that the error notification data transmission process is executed, both entities can be surely synchronized to return to the initial state, and reliable error recovery and data processing can be performed. Resume is realized.
  • an error occurs in the data processing (internal processing) of entity A
  • the entity B's error occurs in the configuration in which data processing involving data communication is executed between entities A and B.
  • an error occurs in data processing (internal processing)
  • an error occurs in communication data from entity A to entity B
  • an error occurs in communication data from entity A to entity A
  • an error occurs in different modes.
  • the entity A transmits error notification data based on the error detection, and the error notification data is transmitted.
  • the initial state recovery process is executed on condition that data is received after data transmission, and entity B transmits error notification data based on the error detection and returns to the initial state on condition that the error notification data transmission process is executed.
  • the configuration that executes the processing makes it possible for both entities to reliably synchronize and return to the initial state, thereby realizing reliable error recovery and data processing restart.
  • system is a logical set configuration of a plurality of devices, and the devices of each configuration are not limited to being in the same casing.
  • FIG. 1 is a sequence diagram showing a data processing procedure involving data communication between entities A and B.
  • FIG. 2 is a flowchart showing processing executed by entity A in data processing involving data communication between entities A and B.
  • FIG. 3 is a flowchart showing processing executed by entity B in data processing involving data communication between entities A and B.
  • FIG. 4 is a flowchart showing error processing executed by entity A in data processing involving data communication between entities A and B.
  • FIG. 5 is a flowchart showing error processing executed by entity B in data processing involving data communication between entities A and B.
  • FIG. 6 is a sequence diagram showing processing when an error occurs in entity A data processing (internal processing) in data processing involving data communication between entities A and B.
  • FIG. 7 is a flowchart showing processing when an error occurs in entity B data processing (internal processing) in data processing involving data communication between entities A and B.
  • FIG. 8 is a sequence diagram showing processing when a communication error occurs in the transmission data of entity A in data processing involving data communication between entities A and B. It is.
  • FIG. 9 is a sequence diagram showing processing when a communication error occurs in the transmission data of entity A in data processing involving data communication between entities A and B.
  • FIG. 10 is a block diagram showing an information processing apparatus that executes data processing involving data communication between entities A and B.
  • Embodiments of an information processing apparatus, an information processing system, an information processing method, and a computer program to which the present invention is applied will be described below in detail with reference to the drawings.
  • the information processing apparatus Entities A and B both correctly recognize the occurrence of an error and synchronize their internal states to enable reliable error recovery and resumption of processing.
  • entity A entity A
  • entity B entity B
  • A The first entity to send data in intercommunication
  • Entity X internal state Entity A initial state is S, entity B
  • the initial state is S)
  • Entity A and entity B execute processing (TR) by communicating with each other.
  • TR processing
  • each entity A and B will have its initial state (S, S).
  • S initial state
  • S initial state
  • the internal state is synchronized by returning to.
  • error processing There are usually the following two methods of error recovery processing (hereinafter simply referred to as error processing).
  • Process 2 Send error notification data to the communication partner and return to the initial state.
  • the entity that received the error notification data returns to the initial state as it is.
  • TR data processing
  • timeout processing is required to synchronize the internal state of each entity.
  • the entity that detected the error suspends processing for a certain period of time and then returns to the initial state, while the other entity detects the occurrence of the error by not transmitting data for a certain period of time, and returns to the initial state. You need to go back.
  • Such a timeout process has a problem that it is not easy to set the time appropriately in consideration of the delay of data.
  • the internal state S changes to the initial state S.
  • entity B receives the error notification data and then returns to the initial state S.
  • the internal state can be synchronized.
  • the present invention is a method for reliably synchronizing the internal state of each entity by setting the information processing systems that communicate with each other so as to satisfy certain conditions.
  • the setting conditions, TR execution in normal conditions, error handling, and operations when an error occurs are described below.
  • the information processing system is configured to satisfy the following setting conditions.
  • the information processing system is configured by entities such as a plurality of information processing apparatuses that execute mutual communication to perform data processing.
  • Entity B can receive the data from entity A even after sending the final data, or it can be reset.
  • (Setting 2) The data length, packet length, etc. of transmitted data are the same for all data. Alternatively, the bit length exchanged at a time between entity AB is fixed.
  • Entity A and B are both configured to perform the operation “Do not execute internal processing until the next data is received after data transmission”.
  • Entity A is defined as the first data sender. To do.
  • Entity B operation is configured to wait for data reception from entity A or reset after completion of TR execution. [Execution example of data processing (TR) in normal state]
  • FIG. 1 A sequence diagram of the overall processing is shown in Fig. 1, and flowcharts explaining the execution procedure of the internal processing of entity A and entity B are shown in Figs.
  • step S101 entity A executes data processing (internal processing) ITR to which the initial value (IV) is applied, and performs data processing based on the initial value (IV).
  • Entity A sends this data Data to entity B.
  • step S102 the entity B executes a validity verification process on the data received from the entity A.
  • the data Data has a NORITY bit or checksum added as error confirmation or correction information, and Entity B calculates the parity bit or checksum of the received data and checks whether the data is error-free.
  • step S103 entity B executes data processing (internal processing) ITR to which the received data (Data) is applied, and performs data processing based on the data (Data). Calculate result data Data
  • Entity B sends this data Data to Entity A.
  • step S104 the entity A executes a validity verification process on the data received from the entity B.
  • Data Data also contains error confirmation or correction information.
  • Nority bit or checksum is added, and entity A calculates the parity bit or checksum of the received data and determines whether there is any error in the data.
  • the process proceeds to error processing. If it is determined that there is no error in the data, the data processing (internal processing) ITR using the received data (Data) is performed.
  • steps S121 to S124 processing similar to that in steps S101 to S104 is executed.
  • step S124 entity A receives from entity B. When the validity of data Data is verified and it is determined that there is no error in the data, processing is performed.
  • entity A and entity B perform N internal processing (data processing) and 2N data transmission / reception respectively to perform overall data processing (TR ) Is completed.
  • Parameter i corresponds to parameter i of internal state S
  • the In this state the internal state is in the initial state s.
  • Each entity is
  • step S203 a parameter update process for incrementing the parameter i by 1 is executed. That is,
  • step S204 data processing (internal processing) is executed.
  • the processing result data Data is calculated by the processing ITR to which the data Data is applied.
  • the data Data is calculated by
  • step S205 the result data Data of the data processing (internal processing) in step S204 is transmitted to entity B. Then, in step S206, entity B
  • step S207 the received data Data is verified for correctness.
  • step S208 determines whether the parameter i is equal to the maximum value N. If i is N, there is a process to continue. Step S204 and subsequent steps are repeatedly executed. Finally, when it is determined in step S208 that the parameter i is equal to the maximum value N, the communication is terminated, the process proceeds to step S209, the final process is executed, and all the processes are terminated.
  • step S207 If it is determined in step S207 that the received data Data is not valid,
  • step S210 proceeds to step S210 to proceed to error processing. Details of error handling will be described later.
  • Parameter i corresponds to parameter i of internal state S. In this state
  • the internal state is in the initial state s.
  • step S223 parameter update processing for incrementing parameter i by one is executed. That is,
  • step S224 data is received from entity A.
  • the received data is the result data of internal processing in entity A and is data Data.
  • step S225 the validity of the received data Data is executed. Validity verification
  • the process is executed as a process using a parity bit or a checksum added to the received data.
  • step S226 the data processing (internal processing) on the entity B side to which the received data Data is applied is executed. This data
  • the process is a process that applies the received data Data from entity A.
  • the data Data is calculated by
  • step S227 the result data Data of the data processing (internal processing) in step S226 is transmitted to the entity A. Then, in step S228, parameter i is
  • step S228 it is determined whether or not it is equal to the value N. If i ⁇ N, there is a process to be continued, so the parameter i is updated in step S223, and the processes in and after step S224 are repeatedly executed. . Finally, when it is determined in step S228 that the parameter i is equal to the maximum value N, there is no processing to be continued on the entity side, so the process proceeds to step S229 and shifts to waiting for the reception of the entity A force data.
  • step S230 the process proceeds to error processing. Details of the error processing will be described later.
  • Entity B judges whether or not it has error power after receiving Data. If there is an error, error processing is executed.
  • Entity A determines whether there is an error after receiving Data.
  • Entity B force An error occurred in communication data Data for entity A.
  • Entities A and B perform the same error handling in all these error modes. Execute error handling for entity A and entity B respectively.
  • the error processing sequence in each of these entities will be described with reference to the flowcharts in FIGS. 4 and 5, and then the error modes in (1) to (4) above will be described with reference to FIGS. The processing sequence corresponding to is described.
  • entity A If entity A detects the occurrence of an error or is notified of the occurrence of an error by entity B, it sends error notification data to entity B in step S301. Entity A will detect the occurrence of an error or notify the occurrence of an error from entity B in each of the above (1) to (4).
  • entity A data processing internal processing
  • Entity B force An error occurred in communication data Data for entity A.
  • entity A performs error detection, and on the condition of this error detection, entity A sends an initial dynamic error notification to entity B in step S301.
  • entity B performs error detection and an initial dynamic error notification is sent to entity B force entity A.
  • entity A in step S301, entity B An error notification will be made.
  • the error notification process in step S301 is an error notification process corresponding to the process for each error mode described above. Thereafter, entity A receives error notification data from entity B in step S302. In step S303, entity A returns to the initial state S on condition that an error notification from entity B has been received.
  • This processing sequence is executed in common for all the error occurrence modes (1) to (4) described above.
  • entity A may not be able to confirm that the received data is error notification data. Even in this case, entity A executes the process of returning to the initial state S. . That is, entity A
  • entity B When entity B detects the occurrence of an error or is notified of the occurrence of an error by entity A, it sends error notification data to entity A in step S321. Note that the entity B detects the occurrence of an error or notifies the occurrence of the error from the entity A in each of the above (1) to (4). Specific cases are as follows.
  • entity B performs error detection, and on condition that this error is detected, entity B sends an initial dynamic error notification to entity A in step S321.
  • Entity B force An error occurred in communication data Data for entity A
  • entity A performs error detection and an initial dynamic error notification is sent to entity A force entity B.
  • entity B Upon receipt of this error notification, entity B in step S321, entity A An error notification will be made.
  • the error notification process in step S321 is an error notification process corresponding to the process for each error mode described above. Thereafter, the entity B returns to the initial state S in step S322.
  • This processing sequence is executed in common for all the error occurrence modes (1) to (4) above.
  • Entity B force An error occurred in communication data Data for entity A.
  • Figure 6 shows (1) Entity A data processing (internal processing) corresponding to error occurrence in ITR.
  • FIG. Processing is executed in the order of steps S401 to S412.
  • steps S401 to S412 steps S401 to S407 correspond to the force error
  • the processes in steps S409 and S409 indicate the process restart and the process after the process restart.
  • the error handling process in steps S401 to S407 is executed at an arbitrary timing in the execution period of the data process with communication between the entities AB.
  • the entity A detects that an error has occurred in the data processing (internal processing) ITR of the entity A. Entity A detects errors
  • error notification data is sent to entity B in step S402.
  • This error notification data transmission process corresponds to the error notification data transmission process of step S301 in the flowchart of FIG. 4 described above.
  • the entity B receives the error notification data from the entity A in step S403, transmits the error notification data to the entity A in step S404, and then returns to the initial state S in step S405. Error notification in step S404
  • the data transmission processing corresponds to the error notification data transmission processing in step S321 in the processing flow described above with reference to FIG. 5, and the initial state S return processing in step S405 is
  • entity A sends an error notification from entity B in step S406. Data is received, and the initial state S is returned in step S407. Step S406
  • the error notification data reception processing corresponds to the error notification data reception processing in step S3 in the processing flow described above with reference to FIG. 4, and the initial state S return in step S407.
  • 02 AO processing corresponds to the initial state S return processing in step S303 in the processing flow of Fig. 4.
  • step S407 the process returns to the initial state S. Details of this processing will be described later.
  • Entity A returns to the initial state S in step S407 and then returns to step S408.
  • step S409 entity A performs data processing (internal processing) ITR applying the initial value (IV).
  • Entity A sends this data Data to entity B.
  • step S410 the entity B executes a validity verification process on the data received from the entity A.
  • a NOTICE bit or checksum is calculated to determine whether the data is correct. If it is determined that there is an error in the data, the process proceeds to error processing.
  • the error handling in this case is the error mode (1) to (4) described above.
  • step S411 the entity B executes data processing (internal processing) ITR to which the received data (Data) is applied, and performs data (D).
  • the result data Data of data processing based on ata) is calculated. That is,
  • Entity B sends this data Data to Entity A.
  • step S412 the entity A executes a validity verification process on the data received from the entity B. Parity bit or checker for data Data
  • the error handling in this case is the error mode (1) to (4) described above.
  • the result data Data of data processing based on ata) is calculated. The following is the same data processing
  • S can be returned to perform error recovery processing with the internal state surely synchronized. Is possible.
  • steps S501 to S517 A processing procedure corresponding to one occurrence will be described. Processing is executed in the order of steps S501 to S517.
  • steps S502 to S512 are error detection and error handling processes, and the processes in steps S513 to S513 indicate processing restart and processing after processing restart.
  • the error handling process in steps S502 to S512 is executed at an arbitrary timing in the execution period of the data process involving communication between the entities AB.
  • entity A executes the data processing (internal processing) ITR of entity A in step S501.
  • Entity A sends this data Data to entity B.
  • step S502 the entity B executes validity verification processing of the data received from the entity A.
  • a NOTICE bit or checksum is calculated to determine whether the data is correct. If it is determined that there is an error in the data, the process proceeds to error processing.
  • the error handling in this case is the error mode (1) to (4) described above.
  • Entity B indicates that an error has occurred during the generation process of this data Data.
  • the entity B transmits error notification data to the entity A in step S504.
  • This error notification data transmission process corresponds to the error notification data transmission process of step S321 in the flowchart of FIG. 5 described above. Thereafter, the entity B returns to the initial state S in step S505.
  • step S506 the entity A transmits error notification data to the entity B in step S507.
  • This error notification data transmission process corresponds to the error notification data transmission process of step S301 in the flowchart of FIG. 4 described above.
  • entity B receives error notification data from entity A in step S508, transmits error notification data to entity A in step S509, and then returns to initial state S in step S510.
  • the data transmission processing corresponds to the error notification data transmission processing in step S321 in the processing flow described above with reference to FIG. 5, and the initial state S return processing in step S510 is
  • Step S511 the entity A receives error notification data from the entity B in step S511, and returns to the initial state S in step S512.
  • the error notification data reception processing corresponds to the error notification data reception processing in step S302 in the processing flow described above with reference to FIG. 4, and the initial state S return in step S512.
  • the processing corresponds to the initial state S return processing in step S303 in the processing flow of FIG.
  • step S512 the entity A also proceeds to step S512 and returns to the initial state S when the received data from the entity B cannot be confirmed as error notification data due to a communication error in step S511.
  • Entity A returns to the initial state S in step S512, and then returns to step S513.
  • entity B is the force that executes the above processing of Bl and B2 twice. Finally, when entity A returns to the initial state S, entity B is also in the initial state.
  • steps S601 to S616 are error detection and error handling processes, and the processes in steps S612 to S612 indicate the process restart and the process after the process restart.
  • the error handling process of steps S602 to S611 is executed at an arbitrary timing in the execution period of the data process involving communication between the entities AB.
  • entity A executes the data processing (internal processing) ITR of entity A in step S601.
  • Entity A sends this data Data to entity B.
  • step S602 entity B executes a validity verification process for the data that also received entity A force.
  • a NORITY bit or a checksum is calculated to determine whether there is any error in the data. If it is determined that there is an error in the data, the process proceeds to error processing.
  • entity B detects an error in the received data from entity A in step S602.
  • the entity B transmits error notification data to the entity A in step S603.
  • This error notification data transmission process corresponds to the error notification data transmission process of step S321 in the flowchart of FIG. 5 described above.
  • Step S
  • the initial state S of 604 is returned to the initial state of step S322 in the processing flow of FIG.
  • step S605 the entity A transmits error notification data to the entity B in step S606.
  • This error notification data transmission process corresponds to the error notification data transmission process of step S301 in the flowchart of FIG. 4 described above.
  • entity B receives error notification data from entity A in step S607, transmits error notification data to entity A in step S608, and then returns to the initial state S in step S609. Error notification in step S608
  • the data transmission processing corresponds to the error notification data transmission processing in step S321 in the processing flow described above with reference to FIG. 5, and the initial state S return processing in step S609 is
  • Step S610 the entity A receives the error notification data from the entity B in step S610, and returns to the initial state S in step S611. Step S610
  • the error notification data reception processing corresponds to the error notification data reception processing in step S302 in the processing flow described above with reference to FIG. 4, and the initial state S return in step S611.
  • the processing corresponds to the initial state S return processing in step S303 in the processing flow of FIG.
  • step S611 the entity A also proceeds to step S611 and returns to the initial state S when the received data from the entity B cannot be confirmed as error notification data due to a communication error in step S610.
  • Entity A returns to the initial state S in step S611 and then returns to step S612.
  • entity B executes the above processing of Bl and B2 twice. Finally, when entity A returns to the initial state S, entity B is also the first.
  • steps S701 to S715 are error detection and error handling processes, and the processes in steps S711 to S711 indicate the process restart and the process after the process restart.
  • the error handling processing in steps S704 to S710 is executed at an arbitrary timing in the execution period of the data processing involving communication between entities AB.
  • entity A executes the data processing (internal processing) ITR of entity A in step S701.
  • Entity A sends this data Data to entity B.
  • step S702 the entity B executes a validity verification process on the data received from the entity A.
  • a NOTICE bit or checksum is calculated to determine whether the data is correct. If it is determined that there is an error in the data, the process proceeds to error processing.
  • the error handling in this case is the error mode (1) to (4) described above.
  • step S702 it is assumed that entity B confirms the validity of the data received from entity A force, and in step S703, entity B performs the data processing (internal processing) ITR of entity B. Run,
  • step S704 the entity A executes a validity verification process for the data received from the entity B. That is, the NORITY bit or checksum is calculated to determine whether the data is correct. When it is determined that there is an error in the data The process proceeds to error processing.
  • entity A detects an error based on the received data from entity B in step S704. In this case, the entity A transmits error notification data to the entity B in step S705.
  • This error notification data transmission process corresponds to the error notification data transmission process of step S301 in the flowchart of FIG. 4 described above.
  • entity B receives the error notification data from entity A in step S706, transmits the error notification data to entity A in step S707, and then returns to the initial state S in step S708.
  • Error notification in step S707
  • the data transmission processing corresponds to the error notification data transmission processing in step S321 in the processing flow described above with reference to FIG. 5, and the initial state S return processing in step S708 is
  • Step S709 the entity A receives error notification data from the entity B in step S709, and returns to the initial state S in step S710. Step S709
  • the error notification data reception processing corresponds to the error notification data reception processing in step S302 in the processing flow described above with reference to FIG. 4, and the initial state S return in step S710.
  • the processing corresponds to the initial state S return processing in step S303 in the processing flow of FIG.
  • step S710 the entity A also proceeds to step S710 and returns to the initial state S when the received data from the entity B cannot be confirmed as error notification data due to a communication error in step S709.
  • Entity A returns to the initial state S in step S710, and then returns to step S711.
  • entity B executes the above processing of Bl and B2, and when entity A returns to initial state S, entity B also returns to initial state S.
  • the processing sequence described with reference to FIGS. 6 to 9 takes into account the occurrence of an error notification data transmission error between entity A and entity B, but a transmission error occurs in the error notification data.
  • entity A executes the process according to the flow chart shown in FIG. 4
  • entity B executes the process according to the flowchart shown in FIG.
  • the data processing (TR) can be resumed from the initial state.
  • step S301 the data transmitted by entity A is error notification data. Therefore, when a communication error occurs in this data, entity B uses the received data in verification processing of the received data executed in step S225 in the processing flow of FIG. 3, for example, verification processing based on parity or checksum. It is determined that there is no validity, and it is determined that a communication error has occurred.
  • the entity B moves to the error process of step S230 in the process flow of FIG. If there is no communication error, it is determined that it is error notification data and normal error processing is executed.
  • the entity B starts the error process shown in the flowchart of FIG. 5, and executes the error notification process of step S321 of FIG. 5, and the entity A executes the error process of step S302 of FIG. Since error notification is received, normal error processing is executed, and both entities can return to the initial state synchronously and resume data processing.
  • step S302 entity A has already transmitted error notification data to entity B in step S301, and entity A predicts that error notification data will also be returned by entity B. ing.
  • entity A executes the process of returning to the initial state S even when the received data of the entity B force is not confirmed as an error notification.
  • the tee B returns to the initial state S by the processing of steps S321 to S322 shown in FIG. Both entities can return to the initial state synchronously and resume data processing.
  • step S302 If a communication error occurs in the data received in step S302, it is only a combination of the processes, and entities A and B execute the processes according to the processes shown in Figs. 4 and 5, respectively, and return to the initial state. Return to resume processing.
  • step S301 when a communication error occurs in the data transmitted in step S301, entity B detects an error in the received data validity determination process in step S525 shown in FIG. Steps S321 and S322 in the flowchart of FIG. 5 are executed to return to the initial state S.
  • step S302 when a communication error occurs in the transmission data in step S302 in FIG. 4, entity A has already transmitted error notification data to entity B in step S301! B force also predicts that error notification data will be returned, and if there is received data of entity B force, even if it is an error notification or an error notification is not confirmed,
  • the initial state return process of step S 303 shown in 4 is executed, and the process of returning to the initial state S is executed.
  • the entity can be synchronized to return to the initial state and resume data processing.
  • step S302 This is a process equivalent to the transfer of error notification data in step S302 in FIG. 4, and is exactly the same as the previous process when a communication error occurs in the data received in (2) step S302 described above. It becomes. That is, at the time of executing step S302, entity A has already transmitted error notification data to entity B in step S301, and entity A predicts that error notification data will always be returned from entity B. Therefore, if entity A receives the data received by entity B, step S30 3 shown in Fig. 4 can be used, whether it is confirmed as error notification or error notification is not confirmed. Execute the process to return to the initial state S.
  • entity B executes step S321 shown in FIG. 5, and thereafter executes a process of returning to the initial state S in step S322.
  • An entity that executes the above-described processing can be configured by an information processing apparatus capable of data communication, such as a PC, a portable terminal, or an IC card.
  • an information processing apparatus capable of data communication such as a PC, a portable terminal, or an IC card.
  • the above-described processing can be executed.
  • each information processing unit it will play the role of entity A and entity B described above.
  • FIG. 10 shows two information processing apparatuses 110 and 120 as one setting example constituting an entity.
  • the information processing apparatuses 110 and 120 are configured by, for example, a PC.
  • the information processing apparatus 110 includes a data processing unit 111, a communication unit 112, an error detection unit 113, and a storage unit 114.
  • the information processing device 120 that performs communication with the information processing device 110 also includes a data processing unit 121, a communication unit 122, an error detection unit 123, and a storage unit 124.
  • the information processing apparatus 110 and the information processing apparatus 120 have the same configuration, and the configuration of the information processing apparatus 110 will be described as a representative.
  • the data processing unit 111 is configured by a CPU or the like, and executes data processing according to a predetermined program.
  • the data processing program is stored in the storage unit 114, and the CPU executes processing according to the program and data processing according to a preset processing sequence.
  • Various data processing such as the data processing described with reference to FIGS. 2 and 3, the error processing described with reference to FIGS.
  • a program defining a physical sequence is stored in the storage unit 114, and processing is executed according to this program.
  • the communication unit 112 executes communication with the information processing apparatus 20.
  • various communication means such as the Internet, a local network such as a LAN, a cable, and a bus can be applied.
  • the error detection unit 113 performs error detection for data calculation processing executed as internal processing, in addition to verifying the validity of communication data based on parity, checksum, and the like. These error detections are also executed according to a program stored in the storage unit 114.
  • the data processing unit 111 and the error detection unit 113 are distinguished and shown as 1S. These are shown separately to explain the functions of the information processing apparatus. As an example, a single CPU can be applied to perform various data processing and error detection processing.
  • Entity A executes data processing according to the flowchart shown in FIG. 2 and error processing according to the flowchart shown in FIG. Furthermore, the entity B, and executes data processing in accordance with the flow one chart shown in FIG. 3, an error process is executed was ⁇ Tsu the flowchart shown in FIG.
  • Entity B force An error occurred in communication data Data for entity A
  • the series of processes described in the specification can be executed by hardware, software, or a combined configuration of both.
  • a program that records the processing sequence is installed in a memory in a computer built in dedicated hardware and executed, or a general-purpose computer that can execute various types of processing. It is possible to install and run the program.
  • the program can be recorded in advance on a hard disk or ROM (Read Only Memory) as a recording medium.
  • the program may be temporarily or on a removable recording medium such as a flexible disk, CD—ROM (Compact Disc Read Only Memory), MO (Magneto Optical) disk, DVD (Digital Versatile Disc), magnetic disk, or semiconductor memory. Can be recorded permanently.
  • a removable recording medium can be provided as so-called package software.
  • the program is installed on the computer with the above-mentioned removable recording media, and it can be transferred wirelessly from the download site to the computer, or wired to the computer via a network such as a LAN (Local Area Network) or the Internet.
  • the computer can receive the program transferred in this way and install it on a recording medium such as a built-in hard disk.
  • the various processes described in the specification are not only executed in time series according to the description, but may be executed in parallel or individually according to the processing capacity of the apparatus that executes the processes or as necessary.
  • the system is a logical set configuration of a plurality of devices, and the devices of each configuration are not limited to being in the same casing.

Abstract

 本発明は、相互にデータ通信を実行するとともに、通信データを適用したデータ処理を実行する複数の情報処理部から構成される情報処理システムであり、第1のエンティティAが、エラー検出に基づいて、エラー通知データを送信し、エラー通知データの送信後のデータ受信を条件として初期状態復帰処理を実行するとともに、第2のエンティティBがエラー検出に基づいて、エラー通知データを送信し、エラー通知データの送信処理の実行を条件として初期状態復帰処理を実行し、双方のエンティティA,Bが確実に同期して初期状態に復帰でき、確実なエラー回復、データ処理再開が可能となる。

Description

明 細 書
情報処理装置、情報処理システム、及び情報処理方法、並びにコンビュ ータ.プログラム
技術分野
[0001] 本発明は、情報処理装置、情報処理システム、及び情報処理方法、並びにコンビ ユータ 'プログラムに関し、さらに詳しくは、複数の情報処理装置間においてデータ通 信を実行し、通信データを適用したデータ処理を実行する構成において、データ処 理工ラー又は通信エラーの発生に対応した最適な制御を行いエラー発生時に確実 な回復を実現する情報処理装置、情報処理システム、及び情報処理方法、並びにコ ンピュータ 'プログラムに関する。
本出願は、日本国において 2004年 11月 29日に出願された日本特許出願番号 20 04— 343361を基礎として優先権を主張するものであり、この出願は参照することに より、本出願に援用される。
背景技術
[0002] 従来、複数の情報処理装置間で通信を実行し、通信データを適用したデータ処理 を実行するシステムが様々な分野で利用されている。このシステムは、例えば、有線 又は無線の通信ネットワーク、ケーブル、又はバスなどを介してデータ通信を実行す る複数の情報処理装置において通信データを適用したデータ処理を実行して最終 的な処理結果を算出するシステムである。
その一つの具体例として、例えば 2つの情報処理装置 A、 B間における通信処理を 実行する場合、一方の情報処理装置 Aがデータ処理を実行し、処理結果を情報処 理装置 Bに送信し、さらに、情報処理装置 Bが受信した処理結果を適用したデータ処 理を実行して情報処理装置 Aに送信するなどの処理を行う。このような通信シーケン スば力りでなぐ複数の情報処理装置間でデータを送受信しながら送受信データを 適用したデータ処理を実行するシステムは様々な分野で利用されて 、る。
このようなデータ通信、データ処理を伴う構成では、データ処理エラー、データ通信 エラーが発生した場合の対処が問題となる。情報処理装置としてのエンティティ A及 び Bが、各々異なる内部処理の実行及びその結果であるデータの送受信を複数回 繰り返すことによって特定の処理を実行する情報処理システムを検討する。これらの システムでは、情報処理装置としてのエンティティ A及び B個々の内部でのデータ処 理が実行され、処理結果データの送受信が行われ、さらにその送受信データに基づ Vヽて新たな内部処理が実行される。
このようなデータ処理を行う場合、処理シーケンスが正確に維持されることが必要と なる。すなわち、各エンティティにおける内部状態は同期している必要がある。しかし 、実際のシステムでは、データの送受信時における通信エラーや、内部処理が正しく 行われな力つた場合の内部処理エラー等によって、各エンティティの内部状態に差 異が発生、すなわち内部状態の非同期が生じる可能性がある。このような場合にお いて各エンティティの内部状態の差異を解消して、内部状態を同期させる仕組みが 必要である。
通常、内部処理エラー等により装置間の内部状態の非同期が生じた場合、エラー を検出したエンティティ Aは、通信相手に対して内部処理エラーを通知し、自身は初 期状態に戻る。また、内部処理エラーの通知を受信したエンティティ Bは、そのまま初 期状態に戻ることにより両者の内部状態を初期状態で同期させることができる。
このような状態同期処理は、一方のエンティティにおいて実行したデータ処理にお いてエラーが発生したことが認識できる場合にのみ適用可能である。すなわち、ェン ティティ Aは正し 、データ処理の結果データを送信した力 そのデータ転送時に通信 エラーが発生した場合、エンティティ Aはエラーの発生を認識することができな 、。 エンティティ Bでは、ノ^ティチェック等により通信エラーを検出することが可能であ つたとしても、正規のデータに対して通信エラーが発生したのか内部処理エラーに対 して通信エラーが発生したのかそれが通信エラーであるのか内部処理エラーである のかを判断することができず、そのまま初期状態に戻ることになる。
以上より、エンティティ Aは、正しい処理が実行されているものとして、内部状態を移 行し、一方、エンティティ Bは初期状態に戻ってしまい、結果としてエンティティ A、 B 間において内部状態の非同期が生じる。
このような問題を解決する最も簡単な手法として、エンティティ Bが通信エラーを検 出した場合にそれを受信したことをエンティティ Aに通知するという方法が考えられる 力 エンティティ Aが続けてデータを送信しょうとしている場合、エンティティ A及び B が互いにデータを送信しょうとする状態に陥り、処理が続行できなくなる場合がある。 また、エンティティ Aがデータの受信待ち状態であった場合でも、 Bが送信しょうとす るエラー通知データのデータ長と、 Aが受信しょうとするデータのデータ長が一致しな い場合、エラー通知通信データが送信しきれない、若しくはデータを送信してもェン ティティ Aにおけるデータ受信状態が続く等の問題が生じる。
発明の開示
発明が解決しょうとする課題
本発明は、上述の問題点に鑑みて提案されたものであり、複数の情報処理装置等 のエンティティ間で通信を実行し、通信データを適用したデータ処理を行う構成にお いて、内部処理エラー、通信エラーのいずれが生じた場合においても、通信処理を 実行するエンティティ両者がエラーの発生を正しく認識し、各々の内部状態を同期さ せて確実なエラー回復を行 、、データ処理を再開することを可能とした情報処理装 置、情報処理システム、及び情報処理方法、並びにコンピュータ 'プログラムを提供 することを目的とする。
本発明の一つの実施の形態は、相互にデータ通信を実行するとともに、通信デー タを適用したデータ処理を実行する複数の情報処理部から構成される情報処理シス テムであり、データ処理エラー又は受信データのエラー検出に基づいて、エラー通 知データを送信し、エラー通知データの送信後のデータ受信を条件として初期状態 復帰処理を実行する第 1情報処理部と、データ処理エラー又は受信データのエラー 検出に基づいて、エラー通知データを送信し、該エラー通知データの送信処理の実 行を条件として初期状態復帰処理を実行する第 2情報処理部とを備える。
本発明の他の実施の形態は、データ通信を実行するとともに、通信データを適用し たデータ処理を実行する情報処理装置であり、自己の実行する内部データ処理にお けるエラー発生、又は通信相手装置からの受信データの通信エラーの発生を検知す るエラー検出部と、エラー検知に基づいてエラー通知データを送信する通信部と、ェ ラー通知データ送信後のデータ受信を条件として初期状態復帰処理を実行するデ ータ処理部とを備える。
本発明のさらに他の実施の形態は、相互にデータ通信を実行するとともに、通信デ ータを適用したデータ処理を実行する情報処理装置であり、自己の実行する内部デ ータ処理におけるエラー発生、又は、通信相手装置からの受信データの通信エラー の発生を検知するエラー検出部と、エラー検知に基づいてエラー通知データを送信 する通信部と、 エラー通知データの送信を条件として初期状態復帰処理を実行す るデータ処理部とを備える。
本発明のさらに他の実施の形態は、データ通信を実行するとともに、通信データを 適用したデータ処理を実行する情報処理方法であり、自己の実行する内部データ処 理におけるエラー発生、又は、通信相手装置からの受信データの通信エラーの発生 を検出するエラー検出ステップと、エラー検出ステップにおけるエラー検出を条件とし て、エラー通知データを送信するエラー通知データ送信ステップと、エラー通知デー タ送信後のデータ受信を条件として初期状態復帰処理を実行する初期状態復帰ス テツプとを備える。
本発明のさらに他の実施の形態は、データ通信を実行するとともに、通信データを 適用したデータ処理を実行する情報処理方法であり、自己の実行する内部データ処 理におけるエラー発生、又は、通信相手装置からの受信データの通信エラーの発生 を検出するエラー検出ステップと、エラー検出ステップにおけるエラー検出を条件とし て、エラー通知データを送信するエラー通知データ送信ステップと、エラー通知デー タの送信を条件として初期状態復帰処理を実行する初期状態復帰ステップとを備え る。
本発明のさらに他の実施の形態は、データ通信を実行するとともに、通信データを 適用したデータ処理をコンピュータ上で実行させるコンピュータ ·プログラムであり、自 己の実行する内部データ処理におけるエラー発生、又は、通信相手装置からの受信 データの通信エラーの発生を検出するエラー検出ステップと、エラー検出ステップに おけるエラー検出を条件として、エラー通知データを送信するエラー通知データ送信 ステップと、エラー通知データ送信後のデータ受信を条件として初期状態復帰処理 を実行する初期状態復帰ステップとを備える。 本発明のさらに他の実施の形態は、データ通信を実行するとともに、通信データを 適用したデータ処理をコンピュータ上で実行させるコンピュータ ·プログラムであり、自 己の実行する内部データ処理におけるエラー発生、又は、通信相手装置からの受信 データの通信エラーの発生を検出するエラー検出ステップと、エラー検出ステップに おけるエラー検出を条件として、エラー通知データを送信するエラー通知データ送信 ステップと、エラー通知データの送信を条件として初期状態復帰処理を実行する初 期状態復帰ステップとを備える。
なお、本発明が適用されるコンピュータ 'プログラムは、例えば、様々なプログラム' コードを実行可能な汎用コンピュータ 'システムに対して、コンピュータ可読な形式で 提供する記憶媒体、通信媒体、例えば、 CD (Compact Disc)や、 FD (Floppy Disc)、 MO (Mguneto Optical)ディスクなどの記憶媒体、又は、ネットワークなどの通信媒体 によって提供可能なコンピュータ 'プログラムである。このようなプログラムをコンビユー タ可読な形式で提供することにより、コンピュータ 'システム上でプログラムに応じた処 理が実現される。
本発明は、内部データ処理を行うとともに相互にデータ通信を実行する複数のェン ティティ (情報処理部)力 構成される情報処理システムにお 、て、第 1のエンティティ が、エラー検出に基づいて、エラー通知データを送信し、該エラー通知データの送 信後のデータ受信を条件として初期状態復帰処理を実行するとともに、第 2のェンテ ィティがエラー検出に基づいて、エラー通知データを送信し、該エラー通知データの 送信処理の実行を条件として初期状態復帰処理を実行する構成としたので、双方の エンティティが確実に同期して初期状態に復帰することが可能となり、確実なエラー 回復、データ処理再開が実現される。
さらに、本発明を採用することにより、エンティティ A、 B間でデータ通信を伴うデー タ処理を実行する構成にぉ ヽて、エンティティ Aのデータ処理(内部処理)でのエラ 一発生、エンティティ Bのデータ処理(内部処理)でのエラー発生、エンティティ Aから エンティティ Bに対する通信データでのエラー発生、エンティティ B力もエンティティ A に対する通信データでのエラー発生等の異なる態様でのエラー発生にぉ 、て、ェン ティティ Aが、エラー検出に基づいて、エラー通知データを送信し、該エラー通知デ ータの送信後のデータ受信を条件として初期状態復帰処理を実行し、エンティティ B がエラー検出に基づいて、エラー通知データを送信し、エラー通知データの送信処 理の実行を条件として初期状態復帰処理を実行する構成により、双方のエンティティ が確実に同期して初期状態に復帰することが可能となり、確実なエラー回復、データ 処理再開が実現される。
本発明のさらに他の目的、特徴や利点は、後述する本発明の説明や添付する図面 に基づぐより詳細な説明によって明らかになるであろう。なお、本明細書においてシ ステムとは、複数の装置の論理的集合構成であり、各構成の装置が同一筐体内にあ るものには限らない。
図面の簡単な説明
[図 1]図 1は、エンティティ A, B間におけるデータ通信を伴うデータ処理手順を示す シーケンス図である。
[図 2]図 2は、エンティティ A, B間におけるデータ通信を伴うデータ処理において、ェ ンティティ Aの実行する処理を示すフローチャートである。
[図 3]図 3は、エンティティ A, B間におけるデータ通信を伴うデータ処理において、ェ ンティティ Bの実行する処理を示すフローチャートである。
[図 4]図 4は、エンティティ A, B間におけるデータ通信を伴うデータ処理において、ェ ンティティ Aの実行するエラー処理を示すフローチャートである。
[図 5]図 5は、エンティティ A, B間におけるデータ通信を伴うデータ処理において、ェ ンティティ Bの実行するエラー処理を示すフローチャートである。
[図 6]図 6は、エンティティ A, B間におけるデータ通信を伴うデータ処理において、ェ ンティティ Aのデータ処理(内部処理)でエラーが発生した場合の処理を示すシーケ ンス図である。
[図 7]図 7は、エンティティ A, B間におけるデータ通信を伴うデータ処理において、ェ ンティティ Bのデータ処理(内部処理)でエラーが発生した場合の処理を示すフロー チャートである。
[図 8]図 8は、エンティティ A, B間におけるデータ通信を伴うデータ処理において、ェ ンティティ Aの送信データに通信エラーが発生した場合の処理を示すシーケンス図 である。
[図 9]図 9は、エンティティ A, B間におけるデータ通信を伴うデータ処理において、ェ ンティティ Aの送信データに通信エラーが発生した場合の処理を示すシーケンス図 である。
[図 10]図 10は、エンティティ A, B間におけるデータ通信を伴うデータ処理を実行す る情報処理装置を示すブロック図である。
発明を実施するための最良の形態
以下、本発明を適用した情報処理装置、情報処理システム、及び情報処理方法、 並びにコンピュータ 'プログラムの実施の形態を図面を参照して詳細に説明する。 本発明は、複数の情報処理装置間で通信を実行し、通信データを適用したデータ 処理を行う構成において、内部処理エラー、通信エラーのいずれかが生じた場合に ぉ 、ても、情報処理装置としてのエンティティ A及び Bの両者がエラーの発生を正しく 認識し、各々の内部状態を同期させることによって確実なエラー回復、処理再開を可 能とするものである。
以下の本発明の説明にお 、て、通信を行 、ながらデータ処理を実行する 2つの情 報処理装置をエンティティ A及びエンティティ Bとする。また、各記号の意味を下記の ように定義する。
A:相互通信において、最初にデータを送信するエンティティ
B:エンティティ Aと通信を行うエンティティ TR:Aと Bが通信を行うことによって実行 される特定の処理
ITR (V) :エンティティ Xによる値 Vを用いた i番目の内部処理 (i=0, 1, 2· ·)
Xi
Data:データ処理において処理又は通信対象となる j番目のデータ IV: TR実行の ための初期値
S :エンティティ Xの内部状態 (エンティティ Aの初期状態は S 、エンティティ Bの
Xi AO
初期状態は S )
BO
エンティティ Aとエンティティ Bとが相互に通信を行うことにより処理 (TR)を実行する 情報処理システムにおいて、エラーが発生した場合には各エンティティ A, Bはそれ ぞれの初期状態 (S 、S )に戻ることにより内部状態の同期を図る。エラー検出時 のエラー回復処理 (以降、単にエラー処理という。)として通常以下の二通りの対処法 がある。
(処理 1)そのまま初期状態に戻る。
(処理 2)通信相手にエラー通知データを送信し、初期状態に戻る。エラー通知デ ータを受信したエンティティは、そのまま初期状態に戻る。
まず (処理 1)の場合、内部状態 S においてエラーを検出したエンティティ Aは、内
Ai
部状態 S から初期状態 S へと戻る。一方エンティティ Bはエラーの発生を知ること
Ai AO
が不可能であるため、内部状態は S のままである。したがって、エンティティ Aがデー
Bi
タ処理 (TR)の再開を試みた場合、エンティティ A、エンティティ B間の内部状態が非 同期のままで TRが実行されることになり、正しい実行結果が得られない。これは、ェ ンティティ Bが内部状態 S にお ヽてエラーを検出した場合も同様である。
Bi
この場合にお ヽて各エンティティの内部状態を同期させるためには、タイムアウト処 理が必要となる。すなわち、エラーを検出したエンティティは一定時間、処理を中断し た後、初期状態に戻るという動作を行い、他方のエンティティは一定時間データが送 信されないことによってエラーの発生を検出し、初期状態に戻る、という処理を行う必 要がある。このようなタイムアウト処理は、データの遅延等を勘案した上で時間を適切 に設定することが容易ではな 、と 、う問題がある。
次に (処理 2)の場合、内部状態 S においてエラーを検出したエンティティ Aは、ェ
Ai
ラー通知データをエンティティ Bに対して送信した後、内部状態 S から初期状態 S
Ai AO へと戻り、エンティティ Bはエラー通知データを受信後、初期状態 S へと戻ることによ
BO
り内部状態の同期が可能となる。
し力しながら、エンティティ Aからエンティティ Bへの送信が複数回連続して行われる ような処理が存在する場合、エンティティ Aからの送信データに通信エラーが発生す ると、エンティティ Bはエラー通知データをエンティティ Aに送信しょうとする力 同時 期にエンティティ Aは残りのデータを送信しょうとするために両エンティティが同時に 送信状態となり、特にハードウェアの場合にはデッドロックに陥る可能性がある。この ように、上述の(処理 1)、(処理 2)の対処では、確実に内部状態を同期させてエラー 回復を行うことは困難である。 本発明は、このように、相互に通信を行う情報処理システムにおいてある条件を満 たすように設定することにより、各エンティティの内部状態を確実に同期させる方式で ある。以下、設定条件、通常状態における TRの実行、エラー処理、エラー発生時の 動作に関して述べる。
(1)設定条件
エラーが発生した場合にも各エンティティの内部状態を同期可能とするために、以 下の設定条件を満たすように情報処理システムを構成する。なお、情報処理システム とは、相互通信を実行してデータ処理を実行する複数の情報処理装置等のェンティ ティによって構成される。
(設定 1):送信データは、受信側で通信エラーの有無を検出可能とする。
(設定 2) :送受信されるデータはエラーの有無にかかわらず受信可能とする。
(設定 3):送受信は必ず交互に繰り返される。
(設定 4):エンティティ Bは最終データの送信後もエンティティ Aからのデータを受信 可能である、若しくはリセットが可能である。
なお、これらの設定条件 1〜4は相互に通信を行う情報処理システムにおいて、例 えば以下のようにして実現可能である。
(設定 1):データ送信時には、データ送信側エンティティが、送信データに対応す るエラー確認又は訂正用情報としてのノ^ティビット、若しくはチェックサムを付加して 送信する。また、データ受信側エンティティは、受信データのパリティビット、若しくは チェックサムを計算し、データに誤りがないかどうかを判断する。
(設定 2):送信されるデータのデータ長、パケット長等を全てのデータにおいて同 一の値とする。若しくは、エンティティ AB間で一回にやり取りされるビット長を固定と する。
(設定 3):エンティティ A、 Bともに「データ送信後、次のデータを受信するまで内部 処理を実行しな ヽ」 t ヽぅ動作を行うように構成し、エンティティ Aを最初のデータ送信 者とする。
(設定 4):エンティティ Bの動作を、 TR実行終了後にエンティティ Aからのデータ受 信待ち、若しくはリセット待ちに入るように構成する。 [通常状態におけるデータ処理 (TR)の実行例]
エンティティ A, B間でデータ通信を実行する処理例について説明する。まず、図 1 〜図 3を参照して、エラーが発生しない場合の通信処理及び各エンティティ A, Bに おけるデータ処理例について説明する。
ここで、エンティティ A及びエンティティ Bが各々 N回の内部処理 (データ処理)及び 2N回のデータ送受信を実行することによって全体のデータ処理 (TR)が完了するも のとする。データ処理において使用する初期値は、初期値 IV=Dataとする。
0
全体処理のシーケンス図を図 1に示し、エンティティ A及びエンティティ Bの内部処 理の実行手順を説明するフローチャートを図 2及び図 3に示す。
まず、図 1に従って、全体処理のシーケンスについて説明する。
処理開始 (TR開始)後、ステップ S 101において、エンティティ Aは、初期値 (IV)を 適用したデータ処理(内部処理) ITR を実行して、初期値 (IV)に基づくデータ処理
A1
の結果データ Dataを算出する。すなわち、
Data =ITR (IV)
1 Al
によってデータ Dataを得る。
エンティティ Aは、このデータ Dataをエンティティ Bに送信する。
ステップ S102において、エンティティ Bは、エンティティ Aから受信したデータの正 当性検証処理を実行する。データ Dataには、エラー確認又は訂正用情報としての ノ リティビット、若しくはチェックサムが付加されており、エンティティ Bは、受信データ のパリティビット、若しくはチェックサムを計算し、データに誤りがないかどうかを判断 する。
データに誤りがあると判定した場合には、エラー処理に移行する。エラー処理につ いては、後段で詳細に説明する。データに誤りがないと判定した場合は、ステップ S1 03において、エンティティ Bは、受信データ(Data )を適用したデータ処理(内部処 理) ITR を実行して、データ(Data )に基づくデータ処理の結果データ Dataを算
Bl 1 2 出する。すなわち、
Data =ITR (Data )
2 Bl 1
によってデータ Dataを得る。 エンティティ Bは、このデータ Dataをエンティティ Aに送信する。
2
ステップ S104において、エンティティ Aは、エンティティ Bから受信したデータの正 当性検証処理を実行する。データ Dataにも、エラー確認又は訂正用情報としての
2
ノ リティビット、若しくはチェックサムが付加されており、エンティティ Aは、受信データ のパリティビット、若しくはチェックサムを計算し、データに誤りがないかどうかを判断 する。
データに誤りがあると判定した場合には、エラー処理に移行し、データに誤りがない と判定した場合は、受信データ(Data )を適用したデータ処理(内部処理) ITR を
2 A2 実行して、データ (Data )に基づくデータ処理の結果データ Dataを算出する。
2
このようなデータ処理、データ送信、データ検証処理が繰り返し実行され、最終的 にステップ S121〜S124において、ステップ S101〜S104と同様の処理が実行され 、ステップ S124において、エンティティ Aがエンティティ Bから受信した、データ Data の正当性検証を実行して、データに誤りが無 、との判定が得られた場合に処理が
N
終了する。
全てのデータ処理、データ通信にエラーが発生しない場合には、エンティティ A及 びエンティティ Bが各々 N回の内部処理 (データ処理)及び 2N回のデータ送受信を 実行することによって全体のデータ処理 (TR)が完了する。
次に、図 2、図 3を参照して、エンティティ A、 B各々の処理シーケンスについて説明 する。まず、図 2を参照してエンティティ Aの処理について説明する。
ステップ S201において処理を開始し、ステップ S 202において、パラメータ iの初期 値設定として、 i=0の設定を行う。パラメータ iは、内部状態 S のパラメータ iに相当す
Ai
る。この状態において、内部状態は初期状態 s にある。なお、各エンティティは、デ
AO
ータ処理実行中において、自己の内部状態を記憶保持する。すなわち、エンティティ Aは、内部状態 S (i=0, 1, · ·)を保持し、エンティティ Bは、内部状態 S (i=0, 1,
Ai Bi
· ·)を保持する。
ステップ S203において、パラメータ iを 1つインクリメントするパラメータ更新処理を 実行する。すなわち、
i=i+ l の更新処理を実行する。
次に、ステップ S204において、データ処理(内部処理)を実行する。このデータ処 理は、データ Data を適用した処理 ITR により、処理結果データ Data を算
2 (i- l) Ai 2i- l 出する処理として実行される。すなわち、
Data =ITR (Data )
2i- l Ai 2 (i- l)
によって、データ Data を算出する。
2i- l
ステップ S205において、ステップ S204のデータ処理(内部処理)の結果データ Da ta をエンティティ Bに送信する。その後、ステップ S206において、エンティティ Bか
2i- l
ら、エンティティ Bにおけるデータ処理(内部処理)の結果データ Data を受信する。
2i
ステップ S207では、受信データ Data の正当性検証を実行し、正当性が確認され
2i
た場合は、ステップ S208に進み、パラメータ iが最大値 Nに等しいか否かを判定し、 i く Nである場合は、継続する処理があるので、ステップ S203においてパラメータ iの 更新を実行して、ステップ S204以下の処理を繰り返し実行する。最終的に、ステップ S208において、ノ ラメータ iが最大値 Nに等しいと判定されると、通信を終了し、ステ ップ S209に進み最終処理を実行し、全ての処理を終了する。
ステップ S207において、受信データ Data の正当性がないと判定した場合は、ス
2i
テツプ S210に進み、エラー処理に移行する。エラー処理の詳細については後段で 説明する。
次に、図 3を参照してエンティティ Bの処理について説明する。ステップ S221にお いて処理を開始し、ステップ S222において、パラメータ iの初期値設定として、 i=0の 設定を行う。パラメータ iは、内部状態 S のパラメータ iに相当する。この状態において
Bi
、内部状態は初期状態 s にある。
BO
ステップ S223において、パラメータ iを 1つインクリメントするパラメータ更新処理を 実行する。すなわち、
i=i+ l
の更新処理を実行する。
次に、ステップ S 224において、エンティティ Aからデータを受信する。受信データ は、エンティティ Aにおける内部処理の結果データであり、データ Data である。ス テツプ S225において、受信データ Data の正当性検証を実行する。正当性検証
2i- l
処理は、例えば受信データに付与されているパリティビット若しくはチェックサムを適 用した処理として実行される。
受信データの正当性が確認された場合は、ステップ S226に進み、受信データ Dat a を適用したエンティティ B側でのデータ処理(内部処理)を実行する。このデータ
2i- l
処理は、エンティティ Aからの受信データ Data を適用した処理 ITR 〖こより、処理
2i- l Bi
結果データ Data を算出する処理として実行される。すなわち、
2i
Data =ITR (Data )
2i Bi 2i- l
によって、データ Data を算出する。
2i
ステップ S227において、ステップ S226のデータ処理(内部処理)の結果データ Da ta をエンティティ Aに送信する。その後、ステップ S 228において、パラメータ iが最大
2i
値 Nに等しいか否かを判定し、 i<Nである場合は、継続する処理があるので、ステツ プ S223においてパラメータ iの更新を実行して、ステップ S224以下の処理を繰り返 し実行する。最終的に、ステップ S228において、パラメータ iが最大値 Nに等しいと判 定されると、エンティティ側で継続する処理はないので、ステップ S229に進みェンテ ィティ A力 のデータ受信待ちに移行する。
ステップ S225における受信データ Data の正当性検証において、受信データ
2i- l
のエラーが確認された場合は、ステップ S230に進み、エラー処理に移行する。エラ 一処理の詳細については後段で説明する。
以上、図 1〜図 3を参照して、エンティティ AB間の通信を伴うデータ処理シーケンス について説明した。なお、これらの処理シーケンスのアルゴリズムは、以下のアルゴリ ズムとして記述される。
[アルゴリズム]
l :i=0とする。
2 :1に1+ 1を代入する。
3 :エンティティ Aは Data =ITR (Data )を計算し、エンティティ Bに送信
2i- l Ai 2 (i- l)
する。
4 :エンティティ Bは Data を受信後、エラー力どうかを判断する。 エラーであればエラー処理を実行し、そうでなければ次に進む。
5 :エンティティ Bは Data =ITR (Data )を計算し、エンティティ Aに送信する。
2i Bi 2i- l
6 :エンティティ Aは Data を受信後、エラーかどうかを判断する。
2i
エラーであればエラー処理を実行し、そうでなければ次に進む。
7 :i=Nであれば最終処理を実行し、 TR完了とする。
そうでなければ 2に戻る。
[エラー処理]
次に、エンティティ間の通信を伴うデータ処理において、エラーが発生した場合の 処理について説明する。
エンティティ AB間の通信を伴うデータ処理におけるエラー発生態様は、以下の 4種 類になる。
(1)エンティティ Aのデータ処理(内部処理) ITR でのエラー発生。
Ai
(2)エンティティ Bのデータ処理(内部処理) ITR でのエラー発生。
Bi
(3)エンティティ Aからエンティティ Bに対する通信データ Data でのエラー発生。
2i- l
(4)エンティティ B力 エンティティ Aに対する通信データ Data でのエラー発生。
2i
上記 4つの態様のエラーの発生する可能性がある。
エンティティ A, Bは、これらの全てのエラー態様において、同じエラー処理を実行 する。エンティティ Aと、エンティティ B各々のエラー処理を実行する。まず、これら各 エンティティにおけるエラー処理シーケンスについて、図 4、図 5のフローチャートを参 照して説明し、その後、図 6〜図 9を参照して、上記(1)〜 (4)の各エラー態様に対応 する処理シーケンスについて説明する。
まず、図 4に示すフローチャートを参照して、エラー発生時にエンティティ Aが実行 する処理手順につ!、て説明する。
エンティティ Aは、エラー発生を検知又は、エラー発生をエンティティ B力 通知され た場合は、ステップ S301において、エンティティ Bに対してエラー通知データを送信 する。なお、エンティティ Aは、上記(1)〜 (4)のそれぞれにおいて、自らエラー発生 を検知又は、エラー発生をエンティティ Bカゝら通知されることになる。具体的な場合分 けは以下のようになる。 (1)エンティティ Aのデータ処理(内部処理) ITR でのエラー発生。
Ai
(4)エンティティ B力 エンティティ Aに対する通信データ Data でのエラー発生。
2i
これら 2つのケースでは、エンティティ Aがエラー検出を行い、このエラー検出を条 件として、ステップ S301において、エンティティ Aが初動的なエラー通知をェンティテ ィ Bに対して送信する。
(2)エンティティ Bのデータ処理(内部処理) ITR でのエラー発生。
Bi
(3)エンティティ Aからエンティティ Bに対する通信データ Data でのエラー発生。
2i- l
これら 2つのケースでは、エンティティ Bがエラー検出を行い、エンティティ B力 ェ ンティティ Aに対して初動的なエラー通知が送信され、このエラー通知の受信に応じ てエンティティ Aが、ステップ S301において、エンティティ Bにエラー通知を行うことに なる。
ステップ S301のエラー通知処理は、上記の各エラー態様ごとの処理に対応するェ ラー通知処理である。その後、エンティティ Aは、ステップ S302において、ェンティテ ィ Bからエラー通知データを受信する。ステップ S 303〖こおいて、エンティティ Aは、ェ ンティティ Bからのエラー通知を受信したことを条件として、初期状態 S に戻る。
AO
このように、エンティティ Aは、
(A1)エラー通知データ送信処理、
(A2)エラー通知データ送信後のエラー通知データ受信処理、
(A3)これらのエラー通知データ送受信処理が実行されたことを条件として初期状 態 S に戻る処理を実行する。
AO
この処理シーケンスは、上述の(1)〜 (4)のエラー発生態様全てに共通に実行され る処理である。
なお、上述の処理において、
(A2)エラー通知データ送信後のエラー通知データ受信処理、
において、通信エラーが発生し、エンティティ Aは、受信データがエラー通知データ であるとの確認ができない場合がある力 この場合であっても、エンティティ Aは、初 期状態 S に戻る処理を実行する。すなわち、エンティティ Aは、
AO
(A1)エラー通知データ送信処理、 を実行した後、エンティティ B力 のデータを受信した場合には、受信データがエラ 一通知データであることが確認されない場合であっても、初期状態 S に戻る処理を
AO
実行する。この処理については、後段の [エラー通知データの通信エラーに対する処 理例]の項目にお 、て説明する。
次に、図 5に示すフローチャートを参照して、エラー発生時にエンティティ Bが実行 する処理手順につ!、て説明する。
エンティティ Bは、エラー発生を検知又は、エラー発生をエンティティ A力 通知され た場合は、ステップ S321において、エンティティ Aに対してエラー通知データを送信 する。なお、エンティティ Bは、上述の(1)〜(4)のそれぞれにおいて、自らエラー発 生を検知又は、エラー発生をエンティティ Aから通知されることになる。具体的な場合 分けは以下のようになる。
(2)エンティティ Bのデータ処理(内部処理) ITR でのエラー発生、
Bi
(3)エンティティ Aからエンティティ Bに対する通信データ Data でのエラー発生、
2i- l
これら 2つのケースでは、エンティティ Bがエラー検出を行い、このエラー検出を条 件として、ステップ S321において、エンティティ Bが初動的なエラー通知をェンティテ ィ Aに対して送信する。
(1)エンティティ Aのデータ処理(内部処理) ITR でのエラー発生、
Ai
(4)エンティティ B力 エンティティ Aに対する通信データ Data でのエラー発生、
2i
これら 2つのケースでは、エンティティ Aがエラー検出を行い、エンティティ A力 ェ ンティティ Bに対して初動的なエラー通知が送信され、このエラー通知の受信に応じ てエンティティ Bが、ステップ S321において、エンティティ Aにエラー通知を行うことに なる。
ステップ S321のエラー通知処理は、上記の各エラー態様ごとの処理に対応するェ ラー通知処理である。その後、エンティティ Bは、ステップ S322において、初期状態 S に戻る。
BO
このように、エンティティ Bは、
(B1)エラー通知データ送信処理、
(B2)エラー通知データ送信処理を実行したことを条件として初期状態 S に戻る 処理を実行する。
この処理シーケンスは、上記の(1)〜 (4)のエラー発生態様全てに共通に実行され る処理である。
次に、図 6〜図 9を参照して、(1)〜(4)のエラー発生態様、すなわち、
(1)エンティティ Aのデータ処理(内部処理) ITR でのエラー発生。
Ai
(2)エンティティ Bのデータ処理(内部処理) ITR でのエラー発生。
Bi
(3)エンティティ Aからエンティティ Bに対する通信データ Data でのエラー発生。
2i- l
(4)エンティティ B力 エンティティ Aに対する通信データ Data でのエラー発生。
2i
これら 4つのエラー発生態様におけるデータ処理、通信シーケンスについて説明す る。
図 6は、(1)エンティティ Aのデータ処理(内部処理) ITR でのエラー発生に対応し
Ai
た処理手順を説明するシーケンス図である。ステップ S401〜S412の順に処理が実 行される。なお、ステップ S401〜S412中、ステップ S401〜S407まで力 エラーに 対応した処理であり、ステップ S409〜の処理は、処理再開及び処理再開後の処理 を示している。ステップ S401〜S407のエラー対応処理は、エンティティ AB間の通 信を伴うテータ処理の実行期間における任意のタイミングにおいて実行される。 まず、エンティティ Aは、ステップ S401〖こおいて、エンティティ Aのデータ処理(内部 処理) ITR においてエラーが発生したことを検出する。エンティティ Aは、エラー検出
Ai
がなされると、ステップ S402において、エラー通知データをエンティティ Bに対して送 信する。このエラー通知データの送信処理は、先に説明した図 4のフローチャートに おけるステップ S301のエラー通知データの送信処理に対応する。
次に、エンティティ Bは、ステップ S403において、エンティティ Aからのエラー通知 データを受信し、ステップ S404において、エラー通知データをエンティティ Aに送信 した後、ステップ S405において、初期状態 S に戻る。ステップ S404のエラー通知
BO
データ送信処理は、先に図 5を参照して説明した処理フローにおけるステップ S321 のエラー通知データ送信処理に対応し、ステップ S405の初期状態 S 復帰処理は、
BO
図 5の処理フローにおけるステップ S322の初期状態 S 復帰処理に対応する。
BO
次に、エンティティ Aは、ステップ S406において、エンティティ Bからのエラー通知 データを受信して、ステップ S407において初期状態 S に戻る。ステップ S406のェ
AO
ラー通知データ受信処理は、先に図 4を参照して説明した処理フローにおけるステツ プ S3 のエラー通知データ受信処理に対応し、ステップ S407の初期状態 S 復帰
02 AO 処理は、図 4の処理フローにおけるステップ S303の初期状態 S 復帰処理に対応す
AO
る。
なお、後段の [エラー通知データの通信エラーに対する処理例]において、説明す る力 エンティティ Aは、ステップ S406においてエンティティ Bからの受信データが、 通信エラーによって、エラー通知データであることを確認できない場合にも、ステップ S407に進み、初期状態 S に戻る。この処理の詳細については、後段で説明する。
AO
エンティティ Aは、ステップ S407において初期状態 S に戻った後、ステップ S408
AO
において、初期状態力ものデータ処理 (TR)を再開する。処理再開後、ステップ S40 9において、エンティティ Aは、初期値 (IV)を適用したデータ処理(内部処理) ITR
A1 を実行して、初期値 (IV)に基づくデータ処理の結果データ Dataを算出する。すな わち、
Data =ITR (VI)
1 Al
によってデータ Dataを得る。
エンティティ Aは、このデータ Dataをエンティティ Bに送信する。
ステップ S410において、エンティティ Bは、エンティティ Aから受信したデータの正 当性検証処理を実行する。すなわち、ノ^ティビット若しくはチェックサムを計算し、デ ータに誤りがないかどうかを判断する。データに誤りがあると判定した場合には、エラ 一処理に移行する。
この場合のエラー処理は、前述のエラー態様(1)〜(4)中の、
(3)エンティティ Aからエンティティ Bに対する通信データ Data でのエラー発生
2i- l
であり、図 8を参照して後段で詳細に説明する。
データに誤りがないと判定した場合は、ステップ S411において、エンティティ Bは、 受信データ(Data )を適用したデータ処理(内部処理) ITR を実行して、データ (D
1 B1
ata )に基づくデータ処理の結果データ Dataを算出する。すなわち、
1 2
Data =ITR (Data ) によってデータ Dataを得る。
2
エンティティ Bは、このデータ Dataをエンティティ Aに送信する。
2
ステップ S412において、エンティティ Aは、エンティティ Bから受信したデータの正 当性検証処理を実行する。データ Dataについてのパリティビット若しくはチェックサ
2
ムを計算し、データに誤りがないかどうかを判断する。データに誤りがあると判定した 場合には、エラー処理に移行する。
この場合のエラー処理は、前述のエラー態様(1)〜(4)中の、
(4)エンティティ B力 エンティティ Aに対する通信データ Dataでのエラー発生で
2i
あり、図 9を参照して後段で詳細に説明する。データに誤りがないと判定した場合は、 受信データ(Data )を適用したデータ処理(内部処理) ITR を実行して、データ(D
2 A2
ata )に基づくデータ処理の結果データ Dataを算出する。以下は、同様のデータ処
2 3
理、データ送信、データ検証処理が繰り返し実行される。
以上、説明したシーケンス力も理解されるように、
(1)エンティティ Aのデータ処理(内部処理) ITR でのエラー発生
Ai
に対応したエラー処理では、先に説明した図 4、図 5のフローチャートに従った処理 、すなわち、
エンティティ Aは、
(A1)エラー通知データ送信処理、
(A2)エラー通知データ送信後のエラー通知データ受信、又は通信エラーデータ 受信処理
(A3)これらのデータ送受信処理が実行されたことを条件として初期状態 S に戻る
AO
処理を実行する。
一方エンティティ Bは、
(B1)エラー通知データ送信処理、
(B2)エラー通知データ送信処理を実行したことを条件として初期状態 S に戻る
AO
処理を実行する。
これらの処理を各エンティティが実行することで、それぞれが同期して初期状態 S
AO
, S に戻ることが可能となり、確実に内部状態を同期させたエラー回復処理を行うこ とが可能となる。
次に、図 7を参照して、(2)エンティティ Bのデータ処理(内部処理) ITR でのエラ
Bi
一発生に対応した処理手順を説明する。ステップ S501〜S517の順に処理が実行 される。なお、ステップ S501〜S517中、ステップ S502〜S512力 エラー検出及び エラー対応処理であり、ステップ S513〜の処理は、処理再開及び処理再開後の処 理を示している。ステップ S502〜S512のエラー対応処理は、エンティティ AB間の 通信を伴うテータ処理の実行期間における任意のタイミングにおいて実行される。 まず、エンティティ Aは、ステップ S 501〖こおいて、エンティティ Aのデータ処理(内部 処理) ITR を実行し、
Ai
Data =ITR (Data )
2i- l Ai 2 (i- l)
によってデータ Data を得る。
2i- l
エンティティ Aは、このデータ Data をエンティティ Bに送信する。
2i- l
ステップ S502において、エンティティ Bは、エンティティ Aから受信したデータの正 当性検証処理を実行する。すなわち、ノ^ティビット若しくはチェックサムを計算し、デ ータに誤りがないかどうかを判断する。データに誤りがあると判定した場合には、エラ 一処理に移行する。この場合のエラー処理は、前述のエラー態様(1)〜(4)中の、
(3)エンティティ Aからエンティティ Bに対する通信データ Data でのエラー発生
2i- l
であり、図 8を参照して後段で詳細に説明する。
この処理例では、ステップ S502において、エンティティ Bは、エンティティ A力ら受 信したデータの正当性が確認されたものとし、ステップ S503において、エンティティ B は、エンティティ Bのデータ処理(内部処理) ITR を実行し、
Bi
Data =ITR (Data )
2i Bi 2i- l
によってデータ Data を得る。
2i
エンティティ Bは、このデータ Data の生成処理において、エラーが発生したことを
2i
検出する。エンティティ Bは、エラー検出がなされると、ステップ S504において、エラ 一通知データをエンティティ Aに対して送信する。このエラー通知データの送信処理 は、先に説明した図 5のフローチャートにおけるステップ S321のエラー通知データの 送信処理に対応する。 その後、エンティティ Bは、ステップ S505において、初期状態 S に戻る。ステップ S
BO
505の初期状態 S 復帰処理は、図 5の処理フローにおけるステップ S322の初期状
B0
態 S 復帰処理に対応する。
B0
その後、エンティティ Aは、ステップ S506において、エンティティ Bからのエラー通 知データを受信すると、ステップ S507において、エラー通知データをエンティティ B に対して送信する。このエラー通知データの送信処理は、先に説明した図 4のフロー チャートにおけるステップ S301のエラー通知データの送信処理に対応する。
次に、エンティティ Bは、ステップ S508において、エンティティ Aからのエラー通知 データを受信し、ステップ S509において、エラー通知データをエンティティ Aに送信 した後、ステップ S510において、初期状態 S に戻る。ステップ S509のエラー通知
B0
データ送信処理は、先に図 5を参照して説明した処理フローにおけるステップ S321 のエラー通知データ送信処理に対応し、ステップ S510の初期状態 S 復帰処理は、
B0
図 5の処理フローにおけるステップ S322の初期状態 S 復帰処理に対応する。
B0
次に、エンティティ Aは、ステップ S511において、エンティティ Bからのエラー通知 データを受信して、ステップ S512において初期状態 S に戻る。ステップ S511のェ
AO
ラー通知データ受信処理は、先に図 4を参照して説明した処理フローにおけるステツ プ S302のエラー通知データ受信処理に対応し、ステップ S512の初期状態 S 復帰
AO
処理は、図 4の処理フローにおけるステップ S303の初期状態 S 復帰処理に対応す
AO
る。
なお、エンティティ Aは、ステップ S511においてエンティティ Bからの受信データが 、通信エラーによって、エラー通知データであることを確認できない場合にも、ステツ プ S512に進み、初期状態 S に戻る。この処理の詳細については、後段の [エラー
AO
通知データの通信エラーに対する処理例]において説明する。
エンティティ Aは、ステップ S512において初期状態 S に戻った後、ステップ S513
AO
において、初期状態からのデータ処理 (TR)を再開する。以下のステップ S514〜S5 17は、図 6のシーケンス図のステップ S409〜S412の処理と同様であり、説明を省 略する。
以上、説明したシーケンス力も理解されるように、 (2)エンティティ Bのデータ処理(内部処理) ITR でのエラー発生 に対応したエラ
Bi
一処理においても、先に説明した図 4、図 5のフローチャートに従った処理、すなわち エンティティ Aは、
(A1)エラー通知データ送信処理、
(A2)エラー通知データ送信後のエラー通知データ受信、又は通信エラーデータ 受信処理、
(A3)これらのエラー通知データ送受信処理が実行されたことを条件として初期状 態 S に戻る処理を実行する。
AO
一方エンティティ Bは、
(B1)エラー通知データ送信処理、
(B2)エラー通知データ送信処理を実行したことを条件として初期状態 S に戻る
AO
処理を実行する。
図 7に示すシーケンスでは、エンティティ Bは、上記 Bl, B2の処理を 2回実行してい る力 最終的に、エンティティ Aが初期状態 S に戻った時には、エンティティ Bも初期
AO
状態 S に戻っており、この時点でデータ処理 (TR)が初期状態力 再開されることに
BO
なるので、確実に内部状態を同期させたエラー回復が可能となる。
次に、図 8を参照して、(3)エンティティ Aからエンティティ Bに対する通信データ Da ta でのエラー発生に対応した処理手順を説明する。ステップ S601〜S616の順
2i- l
に処理力 S実行される。なお、ステップ S601〜S616中、ステップ S602〜S611力 ェ ラー検出及びエラー対応処理であり、ステップ S612〜の処理は、処理再開及び処 理再開後の処理を示している。ステップ S602〜S611のエラー対応処理は、ェンテ ィティ AB間の通信を伴うテータ処理の実行期間における任意のタイミングにおいて 実行される。
まず、エンティティ Aは、ステップ S601〖こおいて、エンティティ Aのデータ処理(内部 処理) ITR を実行し、
Ai
Data =ITR (Data )
2i- l Ai 2 (i- l)
によってデータ Data を得る。 エンティティ Aは、このデータ Data をエンティティ Bに送信する。
2i- l
本処理例では、この通信データ Data の通信エラーが起こったものとする。ステツ
2i- l
プ S602において、エンティティ Bは、エンティティ A力も受信したデータの正当性検 証処理を実行する。すなわち、ノ リティビット若しくはチェックサムを計算し、データに 誤りがないかどうかを判断する。データに誤りがあると判定した場合には、エラー処理 に移行する。
この処理例では、ステップ S602において、エンティティ Bが、エンティティ Aからの 受信データにエラーを検出したものとする。この場合、エンティティ Bは、ステップ S60 3において、エラー通知データをエンティティ Aに対して送信する。このエラー通知デ ータの送信処理は、先に説明した図 5のフローチャートにおけるステップ S321のエラ 一通知データの送信処理に対応する。
その後、エンティティ Bは、ステップ S604において、初期状態 S に戻る。ステップ S
BO
604の初期状態 S 復帰処理は、図 5の処理フローにおけるステップ S322の初期状
B0
態 S 復帰処理に対応する。
B0
その後、エンティティ Aは、ステップ S605において、エンティティ Bからのエラー通 知データを受信すると、ステップ S606において、エラー通知データをエンティティ B に対して送信する。このエラー通知データの送信処理は、先に説明した図 4のフロー チャートにおけるステップ S301のエラー通知データの送信処理に対応する。
次に、エンティティ Bは、ステップ S607において、エンティティ Aからのエラー通知 データを受信し、ステップ S608において、エラー通知データをエンティティ Aに送信 した後、ステップ S609において、初期状態 S 〖こ戻る。ステップ S608のエラー通知
B0
データ送信処理は、先に図 5を参照して説明した処理フローにおけるステップ S321 のエラー通知データ送信処理に対応し、ステップ S609の初期状態 S 復帰処理は、
B0
図 5の処理フローにおけるステップ S322の初期状態 S 復帰処理に対応する。
B0
次に、エンティティ Aは、ステップ S610において、エンティティ Bからのエラー通知 データを受信して、ステップ S611において初期状態 S に戻る。ステップ S610のェ
AO
ラー通知データ受信処理は、先に図 4を参照して説明した処理フローにおけるステツ プ S302のエラー通知データ受信処理に対応し、ステップ S611の初期状態 S 復帰 処理は、図 4の処理フローにおけるステップ S303の初期状態 S 復帰処理に対応す
AO
る。
なお、エンティティ Aは、ステップ S610においてエンティティ Bからの受信データが 、通信エラーによって、エラー通知データであることを確認できない場合にも、ステツ プ S611に進み、初期状態 S に戻る。この処理の詳細については、後段の [エラー
AO
通知データの通信エラーに対する処理例]において説明する。
エンティティ Aは、ステップ S611において初期状態 S に戻った後、ステップ S612
AO
において、初期状態からのデータ処理 (TR)を再開する。以下のステップ S612〜S6 16は、図 6のシーケンス図のステップ S409〜S412の処理と同様であり、説明を省 略する。
以上、説明したシーケンス力も理解されるように、
(3)エンティティ Aからエンティティ Bに対する通信データ Data でのエラー発生
2i- l
に対応したエラー処理においても、先に説明した図 4、図 5のフローチャートに従った 処理、すなわち、
エンティティ Aは、
(A1)エラー通知データ送信処理、
(A2)エラー通知データ送信後のエラー通知データ受信、又は通信エラーデータ 受信処理、
(A3)これらのエラー通知データ送受信処理が実行されたことを条件として初期状 態 S に戻る処理を実行する。
AO
一方エンティティ Bは、
(B1)エラー通知データ送信処理、
(B2)エラー通知データ送信処理を実行したことを条件として初期状態 S に戻る
AO
処理を実行する。
図 8のシーケンスにおいても、エンティティ Bは、上記 Bl, B2の処理を 2回実行して いるが、最終的に、エンティティ Aが初期状態 S に戻った時には、エンティティ Bも初
AO
期状態 S に戻っており、この時点でデータ処理 (TR)が初期状態力 再開されるこ
BO
とになるので、確実に内部状態を同期させたエラー回復が可能となる。 次に、図 9を参照して、(4)エンティティ B力もエンティティ Aに対する通信データ Da ta でのエラー発生に対応した処理手順を説明する。ステップ S701〜S715の順に
2i
処理力 S実行される。なお、ステップ S701〜S715中、ステップ S704〜S710力 エラ 一検出及びエラー対応処理であり、ステップ S711〜の処理は、処理再開及び処理 再開後の処理を示している。ステップ S704〜S710のエラー対応処理は、ェンティテ ィ AB間の通信を伴うテータ処理の実行期間における任意のタイミングにおいて実行 される。
まず、エンティティ Aは、ステップ S 701〖こおいて、エンティティ Aのデータ処理(内部 処理) ITR を実行し、
Ai
Data =ITR (Data )
2i- l Ai 2 (i- l)
によってデータ Data を得る。
2i- l
エンティティ Aは、このデータ Data をエンティティ Bに送信する。
2i- l
ステップ S702において、エンティティ Bは、エンティティ Aから受信したデータの正 当性検証処理を実行する。すなわち、ノ^ティビット若しくはチェックサムを計算し、デ ータに誤りがないかどうかを判断する。データに誤りがあると判定した場合には、エラ 一処理に移行する。この場合のエラー処理は、前述のエラー態様(1)〜 (4)中の、
(3)エンティティ Aからエンティティ Bに対する通信データ Data でのエラー発生
2i- l
であり、図 8を参照して説明した処理となる。
この処理例では、ステップ S702において、エンティティ Bは、エンティティ A力ら受 信したデータの正当性が確認されたものとし、ステップ S703において、エンティティ B は、エンティティ Bのデータ処理(内部処理) ITR を実行し、
Bi
Data =ITR (Data )
2i Bi 2i- l
によってデータ Data を算出する処理を実行し、生成データをエンティティ Aに送
2i
信する。
本処理例では、このエンティティ Bの生成データの通信に際してエラーが発生した ものとする。ステップ S704において、エンティティ Aは、エンティティ Bから受信したデ ータの正当性検証処理を実行する。すなわち、ノ リティビット若しくはチェックサムを 計算し、データに誤りがないかどうかを判断する。データに誤りがあると判定した場合 には、エラー処理に移行する。
この処理例では、ステップ S704において、エンティティ Aが、エンティティ Bからの 受信データに基づいてエラーを検出する。この場合、エンティティ Aは、ステップ S70 5において、エラー通知データをエンティティ Bに対して送信する。このエラー通知デ ータの送信処理は、先に説明した図 4のフローチャートにおけるステップ S301のエラ 一通知データの送信処理に対応する。
次に、エンティティ Bは、ステップ S706において、エンティティ Aからのエラー通知 データを受信し、ステップ S707において、エラー通知データをエンティティ Aに送信 した後、ステップ S708において、初期状態 S に戻る。ステップ S707のエラー通知
B0
データ送信処理は、先に図 5を参照して説明した処理フローにおけるステップ S321 のエラー通知データ送信処理に対応し、ステップ S708の初期状態 S 復帰処理は、
B0
図 5の処理フローにおけるステップ S322の初期状態 S 復帰処理に対応する。
B0
次に、エンティティ Aは、ステップ S709において、エンティティ Bからのエラー通知 データを受信して、ステップ S710において初期状態 S に戻る。ステップ S709のェ
AO
ラー通知データ受信処理は、先に図 4を参照して説明した処理フローにおけるステツ プ S302のエラー通知データ受信処理に対応し、ステップ S710の初期状態 S 復帰
AO
処理は、図 4の処理フローにおけるステップ S303の初期状態 S 復帰処理に対応す
AO
る。
なお、エンティティ Aは、ステップ S709においてエンティティ Bからの受信データが 、通信エラーによって、エラー通知データであることを確認できない場合にも、ステツ プ S710に進み、初期状態 S に戻る。この処理の詳細については、後段の [エラー
AO
通知データの通信エラーに対する処理例]において説明する。
エンティティ Aは、ステップ S710において初期状態 S に戻った後、ステップ S711
AO
において、初期状態力ものデータ処理 (TR)を再開する。以下のステップ S711〜S7 15は、図 6のシーケンス図のステップ S409〜S412の処理と同様であり、説明を省 略する。
以上、説明したシーケンス力も理解されるように、
(4)エンティティ B力 エンティティ Aに対する通信データ Data でのエラー発生 に 対応したエラー処理においても、先に説明した図 4、図 5のフローチャートに従った処 理、すなわち、
エンティティ Aは、
(A1)エラー通知データ送信処理、
(A2)エラー通知データ送信後のエラー通知データ受信、又は通信エラーデータ 受信処理、
(A3)これらのエラー通知データ送受信処理が実行されたことを条件として初期状 態 S に戻る処理を実行する。
AO
一方エンティティ Bは、
(B1)エラー通知データ送信処理、
(B2)エラー通知データ送信処理を実行したことを条件として初期状態 S に戻る
AO
処理を実行する。
図 9のシーケンスにおいても、エンティティ Bは、上記 Bl, B2の処理を実行し、ェン ティティ Aが初期状態 S に戻った時には、エンティティ Bも初期状態 S に戻っており
AO BO
、この時点でデータ処理 (TR)が初期状態力 再開されることになるので、確実に内 部状態を同期させたエラー回復が可能となる。
[エラー通知データの通信エラーに対する処理例]
図 6〜図 9を参照して説明した処理シーケンスは、エンティティ Aとエンティティ B間 の送受信されるエラー通知データの送信エラーの発生を考慮して 、な 、が、エラー 通知データに送信エラーが発生した場合も、エンティティ Aは、図 4に示すフローチヤ ートに従った処理を実行し、エンティティ Bは、図 5に示すフローチャートに従った処 理を実行することで、双方が同期して初期状態に戻り、データ処理 (TR)を初期状態 力ら再開することができる。
以下、エラー通知データに送信エラーが発生した場合について説明する。エラー 通知データにエラーが発生する場合には、図 4のフローチャートにおけるステップ S3 01とステップ S302のエラー通知データと、図 5のフローチャートにおけるステップ S3 21のエラー通知データの転送時のエラーがある。
まず、図 4のステップ S301、 S302のエラー通知データのエラー発生時の処理につ いて説明する。図 4に示すフローチャートにおいて、エラー通知データに通信エラー が発生する場合は、以下の三通りに分類できる。
(1)ステップ S301において送信したデータに、通信エラーが発生した場合。
(2)ステップ S302において受信したデータに、通信エラーが発生した場合。
(3) (1)、(2)がともに生じる場合。
まず(1)ステップ S301において送信したデータに、通信エラーが発生した場合の 処理について説明する。ステップ S301において、エンティティ Aが送信するデータは エラー通知データである。したがって、このデータに通信エラーが発生した場合、ェ ンティティ Bは、図 3の処理フローにおけるステップ S225において実行する受信デー タの正当性検証、例えばパリティ又はチェックサムに基づく検証処理において、受信 データの正当性がな 、と判定し、通信エラーが発生したと判断する。
この判断に従って、エンティティ Bは、図 3の処理フローにおけるステップ S230のェ ラー処理に移る。通信エラーが発生していな力つた場合は、エラー通知データである と判断し、正常なエラー処理を実行する。
したがって、いずれの場合も、エンティティ Bは、図 5のフローチャートに示すエラー 処理を開始することになり、図 5のステップ S321のエラー通知処理を実行し、ェンテ ィティ Aは、図 4のステップ S302のエラー通知受信を行うことになるので、正常なエラ 一処理が実行されることになり、双方のエンティティが同期して初期状態に戻ってデ ータ処理を再開することができる。
次に、(2)ステップ S302において受信したデータに、通信エラーが発生した場合 について考察する。ステップ S302を実行する時点で、エンティティ Aは既に、ステツ プ S301においてエラー通知データをエンティティ Bに対して送信しており、ェンティ ティ Aは、エンティティ B力も必ずエラー通知データが戻ってくると予測している。本発 明のエラー処理シーケンスでは、エンティティ Aがエラー通知データを送信後、ェン ティティ B力もエラー通知データが戻るシーケンスが規定されているためである。 したがって、エンティティ Aは、エンティティ B力 の受信データがエラー通知である と確認されない場合でも、初期状態 S に戻る処理を実行する。この時点で、ェンティ
AO
ティ Bは、図 5に示すステップ S321〜S322の処理によって、初期状態 S へと戻つ ており、双方のエンティティが同期して初期状態に戻ってデータ処理を再開すること ができる。
最後に、 (3) (1)、(2)がともに生じる場合、すなわち、図 4のステップ S301、 S302 のエラー通知データの転送にぉ 、てともにエラーが発生した場合の処理にっ 、て考 察する。
この処理は、上述の
(1)ステップ S301において送信したデータに、通信エラーが発生した場合、
(2)ステップ S302において受信したデータに、通信エラーが発生した場合、 の処理の組み合わせにすぎず、エンティティ A, Bはそれぞれ図 4、図 5に示す処理 に従って、処理を実行し、初期状態に戻って処理を再開することになる。
すなわち、まず、ステップ S301において送信したデータに、通信エラーが発生した 場合エンティティ Bは、図 3に示すステップ S525の受信データの正当性判定処理に おいてエラーを検出してエラー処理が開始し、図 5のフローチャートのステップ S321 、 S322を実行して初期状態 S に戻る。
BO
次に、図 4のステップ S302における送信データに、通信エラーが発生した場合、ェ ンティティ Aは既に、ステップ S301にお!/、てエラー通知データをエンティティ Bに対し て送信ずみであることからエンティティ B力も必ずエラー通知データが戻ってくると予 測し、エンティティ B力もの受信データがあった場合は、エラー通知であっても、エラ 一通知であることが確認されない場合であっても、図 4に示すステップ S 303の初期 状態復帰処理を実行して、初期状態 S に戻る処理を実行する。この結果、双方の
AO
エンティティが同期して初期状態に戻ってデータ処理を再開することができる。
次に、図 5のエンティティ B側の処理フローにおけるエラー通知データの転送にお けるエラー発生時の処理について説明する。すなわち、図 5の処理フローのステップ S321のエンティティ B力もエンティティ Aに対するエラー通知データにエラーが発生 した場合である。
これは、図 4のステップ S302のエラー通知データの転送に相当する処理であり、上 述した(2)ステップ S302において受信したデータに、通信エラーが発生した場合に つ 、ての処理と全く同様となる。 すなわち、ステップ S302を実行する時点で、エンティティ Aは既に、ステップ S301 においてエラー通知データをエンティティ Bに対して送信しており、エンティティ Aは、 エンティティ B力も必ずエラー通知データが戻ってくると予測しているため、ェンティテ ィ Aはエンティティ B力 の受信データがあった場合は、エラー通知と確認された場合 でも、エラー通知であることが確認されない場合であっても、図 4に示すステップ S30 3の初期状態復帰処理を実行して、初期状態 S に戻る処理を実行する。
AO
一方、エンティティ Bは、図 5に示すステップ S321を実行しており、その後、ステップ S322において初期状態 S へ戻る処理を実行することになるので、この結果、双方
BO
のエンティティが同期して初期状態に戻ってデータ処理を再開することができる。
[情報処理装置の構成]
上述したデータ通信及びデータ処理を実行する情報処理装置の構成例につ 、て 、図 10を参照して説明する。上述した処理を実行するエンティティは、データ通信可 能な情報処理装置、例えば PC、携帯端末、又は ICカードなどの装置によって構成 可能である。又は PC内に構成された 1つの情報処理部とその他の情報処理部とが バスを介して通信する場合に、上述の処理を実行することも可能であり、この場合に は、各情報処理部が、上述のエンティティ A、エンティティ Bの役割を果たすことにな る。
図 10には、エンティティを構成する 1つの設定例として、 2つの情報処理装置 110, 120を示した。情報処理装置 110、 120は、例えば PCによって構成される。情報処 理装置 110は、データ処理部 111、通信部 112、エラー検出部 113、記憶部 114を 有する。情報処理装置 110と通信を実行する情報処理装置 120も、データ処理部 1 21、通信部 122、エラー検出部 123、記憶部 124を有する。
情報処理装置 110、情報処理装置 120は同様の構成であり、情報処理装置 110の 構成を代表して説明する。データ処理部 111は、 CPU等によって構成され、所定の プログラムに従ったデータ処理を実行する。データ処理用のプログラムは記憶部 114 に格納され、 CPUは、プログラムに従って処理を、予め設定された処理シーケンスに 従ってデータ処理を実行する。先に図 2、図 3を参照して説明したデータ処理、さらに 、図 4、図 5を参照して説明したエラー処理、初期状態復帰処理等の各種のデータ処 理シーケンスを規定したプログラムが記憶部 114に格納され、このプログラムに従つ て処理を実行する。
通信部 112は、情報処理装置 20との通信を実行する。なお、通信は、例えばインタ 一ネット、 LAN等のローカルネットワーク、ケーブル、バスなど様々な通信手段が適 用可能である。エラー検出部 113は、前述したようにパリティ、チェックサムなどに基 づく通信データの正当性検証の他、内部処理として実行されるデータ算出処理につ いてのエラー検出も実行する。これらのエラー検出もまた、記憶部 114に格納された プログラムに従って処理が実行される。
なお、図 10には、データ処理部 111、エラー検出部 113として区別して示してある 1S これは、情報処理装置の機能を説明するために区分して示しているものであり、 実際の処理構成としては、 1つの CPUを適用して様々なデータ処理、エラー検出処 理を実行する構成とすることができる。
情報処理装置 110、 120は、各々いずれか一方が上述したエンティティ Aとしてデ ータ処理を実行し、他方がエンティティ Bとしてデータ処理を実行する。エンティティ A は、図 2に示すフローチャートに従ったデータ処理を実行するとともに、図 4に示すフ ローチャートに従ったエラー処理を実行する。また、エンティティ Bは、図 3に示すフロ 一チャートに従ったデータ処理を実行するとともに、図 5に示すフローチャートに従つ たエラー処理を実行する。
これらの処理を実行することにより、様々な態様でのエラーの発生、すなわち、
(1)エンティティ Aのデータ処理(内部処理) ITR でのエラー発生、
Ai
(2)エンティティ Bのデータ処理(内部処理) ITR でのエラー発生、
Bi
(3)エンティティ Aからエンティティ Bに対する通信データ Data でのエラー発生、
2i- l
(4)エンティティ B力 エンティティ Aに対する通信データ Data でのエラー発生、
2i
これらのいずれのエラーが発生した場合であっても、双方のエンティティが同期して 初期状態に戻ることができ、データ処理の再開を確実に実行することが可能となる。 以上、特定の実施例を参照しながら、本発明について詳解してきた。しかしながら、 本発明の要旨を逸脱しない範囲で当業者が該実施例の修正や代用を成し得ること は自明である。すなわち、例示という形態で本発明を開示してきたのであり、限定的 に解釈されるべきではない。
なお、明細書中において説明した一連の処理はハードウェア、又はソフトウェア、又 は両者の複合構成によって実行することが可能である。ソフトウェアによる処理を実行 する場合は、処理シーケンスを記録したプログラムを、専用のハードウェアに組み込 まれたコンピュータ内のメモリにインストールして実行させる力、又は、各種処理が実 行可能な汎用コンピュータにプログラムをインストールして実行させることが可能であ る。
例えば、プログラムは記録媒体としてのハードディスクや ROM (Read Only Memory )に予め記録しておくことができる。又は、プログラムはフレキシブルディスク、 CD— R OM (Compact Disc Read Only Memory) , MO (Magneto Optical)ディスク, DVD (Di gital Versatile Disc)、磁気ディスク、半導体メモリなどのリムーバブル記録媒体に、一 時的又は永続的に記録しておくことができる。このようなリムーバブル記録媒体は、い わゆるパッケージソフトウェアとして提供することができる。
なお、プログラムは、上述したようなリムーバブル記録媒体力 コンピュータにインス トールする他、ダウンロードサイトから、コンピュータに無線転送したり、 LAN (Local A rea Network)、インターネットといったネットワークを介して、コンピュータに有線で転 送し、コンピュータでは、そのようにして転送されてくるプログラムを受信し、内蔵する ハードディスク等の記録媒体にインストールすることができる。
なお、明細書に記載された各種の処理は、記載に従って時系列に実行されるのみ ならず、処理を実行する装置の処理能力又は必要に応じて並列的に又は個別に実 行されてもよい。また、本明細書においてシステムとは、複数の装置の論理的集合構 成であり、各構成の装置が同一筐体内にあるものには限らない。

Claims

請求の範囲
[1] 1.相互にデータ通信を実行するとともに、通信データを適用したデータ処理を実行 する複数の情報処理部力 構成される情報処理システムであり、
データ処理エラー又は受信データのエラー検出に基づいて、エラー通知データを 送信し、該エラー通知データの送信後のデータ受信を条件として初期状態復帰処理 を実行する第 1情報処理部と、
データ処理エラー又は受信データのエラー検出に基づいて、エラー通知データを 送信し、該エラー通知データの送信処理の実行を条件として初期状態復帰処理を実 行する第 2情報処理部と、
を有することを特徴とする情報処理システム。
[2] 2.前記第 1情報処理部及び前記第 2情報処理部は、交互にデータ送受信を実行す る構成であり、前記第 1情報処理部及び前記第 2情報処理部は、受信データのエラ 一検出処理においてエラーが検出されない場合に内部でのデータ処理に移行し、 エラーが検出された場合にはエラー通知データの送信処理を実行する構成であるこ とを特徴とする請求の範囲第 1項記載の情報処理システム。
[3] 3.前記第 1情報処理部は、前記第 2情報処理部に対するエラー通知データ送信後 、前記第 2情報処理部力 受信するデータがエラー通知データであることが確認され た場合、又は通信エラーデータであることが確認された場合、いずれの場合におい ても初期状態復帰処理を実行する構成であることを特徴とする請求の範囲第 1項記 載の情報処理システム。
[4] 4.前記第 2情報処理部は、自己の実行する内部データ処理におけるエラー発生、 又は、前記第 1情報処理部からの受信データの通信エラーの発生を検知し、該エラ ー検知に基づいて、エラー通知データを送信し、該エラー通知データの送信を条件 として初期状態復帰処理を実行する構成であることを特徴とする請求の範囲第 1項 記載の情報処理システム。
[5] 5.データ通信を実行するとともに、通信データを適用したデータ処理を実行する情 報処理装置であり、
自己の実行する内部データ処理におけるエラー発生、又は、通信相手装置からの 受信データの通信エラーの発生を検知するエラー検出部と、
エラー検知に基づいて、エラー通知データを送信する通信部と、
エラー通知データ送信後のデータ受信を条件として初期状態復帰処理を実行する データ処理部と、
を有することを特徴とする情報処理装置。
[6] 6.前記情報処理装置は、通信相手装置に対するエラー通知データ送信後に、前記 通信相手装置力 受信するデータがエラー通知データであることが確認された場合 、又は通信エラーデータであることが確認された場合、いずれの場合においても初期 状態復帰処理を実行する構成であることを特徴とする請求の範囲第 5項記載の情報 処理装置。
[7] 7.相互にデータ通信を実行するとともに、通信データを適用したデータ処理を実行 する情報処理装置であり、
自己の実行する内部データ処理におけるエラー発生、又は、通信相手装置からの 受信データの通信エラーの発生を検知するエラー検出部と、
エラー検知に基づいて、エラー通知データを送信する通信部と、
エラー通知データの送信を条件として初期状態復帰処理を実行するデータ処理部 と、
を有することを特徴とする情報処理装置。
[8] 8.データ通信を実行するとともに、通信データを適用したデータ処理を実行する情 報処理方法であり、
自己の実行する内部データ処理におけるエラー発生、又は、通信相手装置からの 受信データの通信エラーの発生を検出するエラー検出ステップと、
前記エラー検出ステップにおけるエラー検出を条件として、エラー通知データを送 信するエラー通知データ送信ステップと、
エラー通知データ送信後のデータ受信を条件として初期状態復帰処理を実行する 初期状態復帰ステップと、
を有することを特徴とする情報処理方法。
[9] 9.前記初期状態復帰ステップは、通信相手装置に対するエラー通知データ送信後 に、前記通信相手装置力 受信するデータがエラー通知データであることが確認さ れた場合、又は通信エラーデータであることが確認された場合、いずれの場合にお いても初期状態復帰処理を実行することを特徴とする請求の範囲第 8項記載の情報 処理方法。
[10] 10.データ通信を実行するとともに、通信データを適用したデータ処理を実行する情 報処理方法であり、
自己の実行する内部データ処理におけるエラー発生、又は、通信相手装置からの 受信データの通信エラーの発生を検出するエラー検出ステップと、
前記エラー検出ステップにおけるエラー検出を条件として、エラー通知データを送 信するエラー通知データ送信ステップと、
前記エラー通知データの送信を条件として初期状態復帰処理を実行する初期状 態復帰ステップと、
を有することを特徴とする情報処理方法。
[11] 11.データ通信を実行するとともに、通信データを適用したデータ処理をコンビユー タ上で実行させるコンピュータ ·プログラムであり、
自己の実行する内部データ処理におけるエラー発生、又は、通信相手装置からの 受信データの通信エラーの発生を検出するエラー検出ステップと、
前記エラー検出ステップにおけるエラー検出を条件として、エラー通知データを送 信するエラー通知データ送信ステップと、
エラー通知データ送信後のデータ受信を条件として初期状態復帰処理を実行する 初期状態復帰ステップと、
を有することを特徴とするコンピュータ ·プログラム。
[12] 12.データ通信を実行するとともに、通信データを適用したデータ処理をコンビユー タ上で実行させるコンピュータ ·プログラムであり、
自己の実行する内部データ処理におけるエラー発生、又は、通信相手装置からの 受信データの通信エラーの発生を検出するエラー検出ステップと、
前記エラー検出ステップにおけるエラー検出を条件として、エラー通知データを送 信するエラー通知データ送信ステップと、 前記エラー通知データの送信を条件として初期状態復帰処理を実行する初期状 態復帰ステップと、
を有することを特徴とするコンピュータ ·プログラム。
PCT/JP2005/020934 2004-11-29 2005-11-15 情報処理装置、情報処理システム、及び情報処理方法、並びにコンピュータ・プログラム WO2006057180A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
US11/791,175 US8055953B2 (en) 2004-11-29 2005-11-15 Information processing apparatus, information processing system, information processing method and computer program
EP05806945.1A EP1819086B1 (en) 2004-11-29 2005-11-15 Information processing device, information processing system, information processing method, and computer program
CN2005800474647A CN101112032B (zh) 2004-11-29 2005-11-15 信息处理装置、信息处理系统和信息处理方法以及计算机程序
HK08107714.2A HK1117668A1 (en) 2004-11-29 2008-07-14 Information processing device, information processing system, information processing method, and computer program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004343361A JP4474266B2 (ja) 2004-11-29 2004-11-29 情報処理装置、情報処理システム、および情報処理方法、並びにコンピュータ・プログラム
JP2004-343361 2004-11-29

Publications (1)

Publication Number Publication Date
WO2006057180A1 true WO2006057180A1 (ja) 2006-06-01

Family

ID=36497918

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2005/020934 WO2006057180A1 (ja) 2004-11-29 2005-11-15 情報処理装置、情報処理システム、及び情報処理方法、並びにコンピュータ・プログラム

Country Status (7)

Country Link
US (1) US8055953B2 (ja)
EP (1) EP1819086B1 (ja)
JP (1) JP4474266B2 (ja)
CN (1) CN101112032B (ja)
HK (1) HK1117668A1 (ja)
TW (1) TW200644483A (ja)
WO (1) WO2006057180A1 (ja)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5576212B2 (ja) * 2010-08-23 2014-08-20 ラピスセミコンダクタ株式会社 情報処理装置、通信システム、情報処理方法、プログラム及び照射装置
WO2012092562A1 (en) * 2010-12-30 2012-07-05 Ambientz Information processing using a population of data acquisition devices
JP2017183905A (ja) * 2016-03-29 2017-10-05 Necプラットフォームズ株式会社 通信装置、通信障害復旧方法および通信障害復旧プログラム

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05252048A (ja) * 1992-03-04 1993-09-28 Fujitsu Ltd データ圧縮・復元処理における誤り制御処理方式
JPH06311144A (ja) * 1993-04-21 1994-11-04 Mitsubishi Electric Corp 通信制御方法
JP2003530795A (ja) * 2000-04-10 2003-10-14 ノキア コーポレイション 通信接続のリセットと関連して同期を維持する方法及び装置

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4970714A (en) * 1989-01-05 1990-11-13 International Business Machines Corp. Adaptive data link protocol
US5544304A (en) * 1994-03-25 1996-08-06 International Business Machines Corporation Fault tolerant command processing
US6098179A (en) * 1998-01-22 2000-08-01 Digital Equipment Corporation Method and apparatus for performing error detection
JP3866426B2 (ja) * 1998-11-05 2007-01-10 日本電気株式会社 クラスタ計算機におけるメモリ障害処理方法及びクラスタ計算機
WO2000030232A1 (en) * 1998-11-19 2000-05-25 X/Net Associates, Inc. Method and system for external notification and/or resolution of software errors
WO2000045543A1 (en) * 1999-01-29 2000-08-03 Nokia Networks Oy Signaling method in an incremental redundancy communication system whereby data blocks can be combined
KR20020003526A (ko) * 2000-07-05 2002-01-12 윤종용 복합 재전송방식을 사용하는 이동 통신시스템의 데이터재전송 장치 및 방법
JP2004326388A (ja) 2003-04-24 2004-11-18 Konica Minolta Photo Imaging Inc 写真プリント作成システム及び該システムの制御方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05252048A (ja) * 1992-03-04 1993-09-28 Fujitsu Ltd データ圧縮・復元処理における誤り制御処理方式
JPH06311144A (ja) * 1993-04-21 1994-11-04 Mitsubishi Electric Corp 通信制御方法
JP2003530795A (ja) * 2000-04-10 2003-10-14 ノキア コーポレイション 通信接続のリセットと関連して同期を維持する方法及び装置

Also Published As

Publication number Publication date
EP1819086A1 (en) 2007-08-15
HK1117668A1 (en) 2009-01-16
CN101112032B (zh) 2011-08-03
US20080256401A1 (en) 2008-10-16
JP4474266B2 (ja) 2010-06-02
TW200644483A (en) 2006-12-16
EP1819086B1 (en) 2013-12-25
EP1819086A4 (en) 2012-08-08
TWI307586B (ja) 2009-03-11
CN101112032A (zh) 2008-01-23
US8055953B2 (en) 2011-11-08
JP2006157328A (ja) 2006-06-15

Similar Documents

Publication Publication Date Title
US9292036B2 (en) Data processing apparatus and method for communicating between a master device and an asynchronous slave device via an interface
JP4896524B2 (ja) 無線識別システムから交換可能ユニットモニタへのデータ伝送の完了の確認方法
EP1203300B1 (en) Transaction scheduling for a bus system
EP0971508A2 (en) Method and apparatus for transmitting data over data bus
TWI771299B (zh) 通訊裝置、通訊方法、程式以及通訊系統
WO2006057180A1 (ja) 情報処理装置、情報処理システム、及び情報処理方法、並びにコンピュータ・プログラム
CN109154925A (zh) 通信设备、通信方法、程序和通信系统
US8484546B2 (en) Information processing apparatus, information transmitting method, and information receiving method
EP4277206A1 (en) Securing network access using dynamically generated baud-rates
EP2075943B1 (en) Methods and systems for error detection of data transmission
EP3051418A1 (en) Information processing apparatus, information processing system, and communication device
US7694176B2 (en) Fault-tolerant computer and method of controlling same
JP2004178074A (ja) 通信デバイス、ホスト装置、及び通信方法
KR100597436B1 (ko) 무선 1394 시스템의 사이클 타임 동기화 장치 및 그 방법
JP2017208713A (ja) 通信装置、通信方法、プログラム、および、通信システム
JP2017207934A (ja) 通信装置、通信方法、プログラム、および、通信システム
JP4157064B2 (ja) 同期開始信号検出装置、その検出方法、及びそのプログラム
CN115982087A (zh) 信号传输方法、计算机设备和存储介质
JP5334173B2 (ja) データ転送システム及びリトライ制御方法
CN116737616A (zh) 用于互连协议的错误处理的方法、控制器以及存储设备
WO2019176580A1 (ja) 通信装置、通信方法、プログラム、および、通信システム
CN117955583A (en) Method, controller and storage device for channel synchronization of interconnection protocol
US20040101078A1 (en) Synchronization control method for electronic device
US10467171B2 (en) Detecting the drift of the data valid window in a transaction
CN117573586A (zh) 单线通讯的方法、装置及系统

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS KE KG KM KN KP KR KZ LC LK LR LS LT LU LV LY MA MD MG MK MN MW MX MZ NA NG NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SM SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU LV MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2005806945

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 200580047464.7

Country of ref document: CN

WWP Wipo information: published in national office

Ref document number: 2005806945

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 11791175

Country of ref document: US