WO2020179230A1 - 情報処理装置と情報処理端末装置および情報処理方法 - Google Patents

情報処理装置と情報処理端末装置および情報処理方法 Download PDF

Info

Publication number
WO2020179230A1
WO2020179230A1 PCT/JP2020/000993 JP2020000993W WO2020179230A1 WO 2020179230 A1 WO2020179230 A1 WO 2020179230A1 JP 2020000993 W JP2020000993 W JP 2020000993W WO 2020179230 A1 WO2020179230 A1 WO 2020179230A1
Authority
WO
WIPO (PCT)
Prior art keywords
command
terminal device
information processing
retry
communication terminal
Prior art date
Application number
PCT/JP2020/000993
Other languages
English (en)
French (fr)
Inventor
功士 坂場
勉 中津留
友基 鈴木
正継 石河
Original Assignee
ソニー株式会社
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 ソニー株式会社 filed Critical ソニー株式会社
Priority to CN202080017520.7A priority Critical patent/CN113518975A/zh
Priority to EP20767333.6A priority patent/EP3937020A4/en
Priority to JP2021503443A priority patent/JP7392710B2/ja
Priority to US17/430,952 priority patent/US11875217B2/en
Publication of WO2020179230A1 publication Critical patent/WO2020179230A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10366Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves the interrogation device being adapted for miscellaneous applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1443Transmit or communication errors

Definitions

  • This technology enables efficient processing between the communication terminal device and the information processing device via the information processing terminal device with respect to the information processing device, the information processing terminal device, and the information processing method.
  • the information processing terminal device requests the information processing device to establish communication via the network, and the request is made. Control is performed based on the instructions included in the packet supplied from the information processing device by the communication established accordingly. Further, the information processing device establishes communication with the information processing terminal device via the network in response to a request from the information processing terminal device, and when the communication is established, the information processing terminal device sends a packet containing an instruction. Is being sent to.
  • communication may be interrupted if the communication environment changes after communication is established.
  • a reader/writer is provided between the information processing device and the information processing terminal device and short-range wireless communication is performed between the information processing terminal device and the reader/writer, if the information processing terminal device is separated from the reader/writer, The processing device and the information processing terminal device cannot communicate with each other. In such a case, the reader/writer needs to acquire a retry command from the information processing device in order to perform the retry process, and the retry process takes time.
  • the information processing apparatus includes a command generation unit that generates a command and a retry command for the communication terminal device and outputs the generated retry command together with the command.
  • the command generation unit generates a command for the communication terminal device and a retry command according to whether this command is an idempotent command, and then uses the generated retry command as a command. Output with.
  • the command generation unit When the command for the communication terminal device is a command having idempotency, the command generation unit generates a retry command by repeating the command having idempotency. Further, when the command for the communication terminal device is a command that does not have idempotency, the command generation unit generates a command for checking the state of the communication terminal device as a retry command.
  • the command generator calculates the expected value or the hash value of the expected value of the response, and commands the calculated expected value or the hash value. And output with the retry command. Further, the command generation unit provides the command and the retry command with a sequence number indicating the processing order.
  • the command generator determines the number of retries or the status of retry occurrences based on the sequence number of the command and the sequence number of the response output from the communication terminal device. Determine.
  • the second aspect of this technology is The information processing method includes generating a command for a communication terminal device and a retry command, and outputting the retry command together with the command from a command generation unit.
  • the third aspect of this technology is The command and the retry command for the communication terminal device continuously output from the information processing device are acquired, the acquired command is output to the communication terminal device, and the acquired retry command is output in the retry process.
  • An information processing terminal device having a command control unit for outputting to the communication terminal device.
  • the information processing terminal device is provided with a communication unit that performs short-range wireless communication with the communication terminal device, and the command control unit outputs a command or a retry command via the communication unit.
  • the command control unit acquires commands for the communication terminal device and retry commands that are continuously output from the information processing device, and outputs the acquired commands to the communication terminal device. If the response from the communication terminal device cannot be acquired, the retry process is performed, and the acquired retry command is output to the communication terminal device in the retry process.
  • the command control unit outputs the response output from the communication terminal device to the information processing device.
  • the command control unit acquires the expected value of the command and the retry command and the response to the command or the hash value of the expected value, and acquires the expected value or the hash value of the expected value and the response output from the communication terminal device.
  • the response is output to the information processing device.
  • the fourth aspect of this technology is A command for the communication terminal device and a retry command output from the information processing device are acquired, the acquired command is output to the communication terminal device, and the acquired retry command is output in the retry process. From the information processing method to the communication terminal device.
  • FIG. 6 is a diagram exemplifying a command packet output from the information processing device 40. It is a flow chart which illustrated operation of an information processing terminal unit. It is a sequence diagram which shows the operation example of an information processing system. It is the figure which illustrated the idempotent command and the non-idempotent command. It is a flow chart which illustrated operation of an information processing terminal unit. It is a sequence diagram which shows the operation example of an information processing system (in the case of a non-idempotent command). It is a sequence diagram which illustrated operation between an information processing device and an information processing terminal device.
  • FIG. 1 shows the configuration of an information processing system using the information processing device of the present technology.
  • the information processing system 10 includes a communication terminal device 20, an information processing terminal device 30, and an information processing device (for example, a server) 40.
  • the information processing device 40 reads information from the communication terminal device 20 or writes information to the communication terminal device 20 via the information processing terminal device 30. Further, the information processing terminal device 30 performs wireless communication with the communication terminal device 20.
  • the communication terminal device 20 has at least a wireless communication function with the information processing terminal device 30.
  • the communication terminal device 20 is a portable electronic device such as a non-contact IC card or a smart phone, or an IOT (Internet of Things) device.
  • IOT Internet of Things
  • FIG. 2 illustrates the configuration of the communication terminal device (when it is a non-contact IC card).
  • the communication terminal device 20 includes a communication unit 21, a power supply unit 22, a storage unit 23, and a control unit 24.
  • the communication unit 21 has an antenna 21a and a modulation / demodulation unit 21b so that short-range wireless communication can be performed with the information processing terminal device 30.
  • the antenna 21a is coupled to the information processing terminal device 30 by electromagnetic induction to transmit information and the like and to exchange electric power, and is connected to the modulation / demodulation unit 21b and the power supply unit 22.
  • the modulator/demodulator 21b outputs the received signal obtained by demodulating the radio signal received by the antenna 21a to the controller 24. Further, the modulation/demodulation unit 21b modulates the transmission signal supplied from the control unit 24 and transmits it as a radio signal from the antenna 21a.
  • the power supply unit 22 converts the AC voltage generated in the antenna 21a into a DC constant voltage by being coupled to the information processing terminal device 30 by electromagnetic induction, and supplies power to the modulation/demodulation unit 21b, the storage unit 23, and the control unit 24. ..
  • the storage unit 23 stores various information.
  • the storage unit 23 stores information unique to the user of the communication terminal device, information supplied from the information processing device, and the like.
  • the control unit 24 processes the command indicated by the received signal, reads information stored in the storage unit 23, writes information to the storage unit 23, and the like. Further, the control unit 24 generates a transmission signal indicating a response to the received command and outputs the transmission signal to the modulation / demodulation unit 21b. In addition, the control unit 24 decrypts the encrypted command and encrypts the response.
  • FIG. 3 illustrates the configuration of the information processing terminal device.
  • the information processing terminal device 30 includes a communication unit 31, a network communication unit 32, an input unit 33, a storage unit 34, and a command control unit 35.
  • the communication unit 31 has an antenna 31a and a modulation / demodulation unit 31b so that short-range wireless communication can be performed with the communication terminal device 20.
  • the antenna 31 a is connected to the communication terminal device 20 by electromagnetic induction to transmit information and supply electric power, and is connected to the network communication unit 32.
  • the modulation / demodulation unit 31b modulates a command or a retry command supplied from the command control unit 35 and transmits the command from the antenna 31a as a radio signal. Further, the modulation/demodulation unit 31b outputs the reception signal obtained by demodulating the radio signal received by the antenna 31a to the command control unit 35.
  • the network communication unit 32 is for connecting the information processing terminal device 30 to the network 50.
  • the network communication unit 32 outputs the command and the like supplied from the information processing device 40 via the network 50 to the command control unit 35. Further, the network communication unit 32 outputs the response output from the command control unit 35 to the information processing device 40 via the network 50.
  • the input unit 33 has a function of accepting an operation input by the user.
  • the input unit 33 is configured by using an operation button, a touch panel, a keyboard, a microphone, or the like.
  • the input unit 33 generates an operation signal according to the user operation and outputs the operation signal to the command control unit 35.
  • the storage unit 34 may be configured using a semiconductor memory such as ROM or RAM, or may be configured using a magnetic recording device, an optical recording device, a magneto-optical recording device, or the like.
  • the storage unit 34 stores programs and various data for operating the information processing terminal device 30. Further, the storage unit 34 also stores a retry command supplied from the information processing device 40, an expected value of a response, and the like.
  • the command control unit 35 executes a program stored in the storage unit 34 and controls each unit so that the information processing terminal device 30 performs a predetermined operation. Further, the command control unit 35 controls each unit so that the information processing terminal device 30 performs an operation according to the user operation based on the operation signal from the input unit 33. For example, the command control unit 35 acquires a command or the like from the information processing device 40, outputs a command to the communication terminal device 20 or performs retry processing, acquires a response or the like from the communication terminal device 20, outputs a response to the information processing device 40, or the like. I do.
  • the command control unit 35 acquires the command for the communication terminal device and the retry command output from the information processing device, outputs the acquired command to the communication terminal device, and acquires the retry command acquired in the retry process. Output the command to the communication terminal device.
  • FIG. 4 illustrates the configuration of the information processing device.
  • the information processing device 40 has a network communication unit 41, a storage unit 42, a command generation unit 43, and a control unit 44.
  • the network communication unit 41 is for connecting the information processing device 40 to the network 50.
  • the network communication unit 41 outputs the information supplied via the network to the control unit 44. Further, the network communication unit 41 outputs the information supplied from the control unit 44 to the information processing terminal device 30 via the network.
  • the storage unit 42 is a database in which various information and the like regarding the user for each communication terminal device are stored. Further, the storage unit 42 may also store an application program or the like executed by the information processing device 40.
  • the command generation unit 43 generates a command for the communication terminal device and a retry command, and causes the communication unit to output the generated retry command together with the command for the communication terminal device. Further, the command generation unit 43 may be provided with a security module.
  • the security module is a module (so-called SAM: Secure Application Module) equipped with an application having a security function. The security module performs, for example, authentication with the communication terminal device 20, encryption of a command, decryption of a response, or the like in order to ensure security and read or write information with respect to the communication terminal device 20.
  • the command generation unit 43 may use the expected value of the response (or a hash value of the expected value, and in the following description, simply the expected value , And the expected value may be output from the network communication unit 41 together with the generated command and the retry command.
  • the command generation unit 43 also provides a sequence number indicating the processing order to the command and the retry command.
  • the control unit 44 executes the application program or the like recorded in the storage unit 42 to update the information stored in the storage unit 42 and register the information acquired via the network communication unit 41 in the storage unit 42. , And reads information from the storage unit 42. Further, the control unit 44 controls the command generation unit 43 to generate a command or the like for reading information from the communication terminal device 20 or writing information, and outputs the command or the like from the network communication unit 41.
  • the information processing device 40 performs polling using the information processing terminal device 30, and detects a communication terminal device 20 capable of short-range wireless communication with the information processing terminal device 30.
  • the information processing terminal device 30 receives the polling response including the manufacturing ID (IDm) and the manufacturing parameter (PMm) of the communication terminal device 20, and outputs the polling response to the information processing device 40.
  • the manufacturing parameter (PMm) indicates the maximum response time parameter.
  • the information processing device 40 performs mutual authentication between the information processing terminal device 30 and the communication terminal device 20 capable of short-range wireless communication, and after the authentication, various commands are issued to the communication terminal device via the information processing terminal device 30. Send to 20.
  • FIG. 5 illustrates a command packet output from the information processing device 40.
  • the command has a command code, a sequence number, and command data.
  • the command code indicates what kind of packet the command packet is.
  • the sequence number is a value indicating the processing order in the communication terminal device 20 and the information processing device 40.
  • the communication terminal device 20 and the information processing device 40 each add a sequence number of "1" each time they perform processing. Therefore, when a command is output to the communication terminal device 20, if the command is processed by the communication terminal device 20 but the response cannot be received by the information processing terminal device 30, retry processing is performed without incrementing the sequence number. If this is done, the sequence number of the processed command and the retry command are the same, so that the retry comment is ignored by the communication terminal device 20. Further, if the command is ignored by the communication terminal device 20, it cannot be determined whether the command has not reached the communication terminal device 20 or whether the command is ignored by the communication terminal device 20. Therefore, when sending the next command or retry command, it is necessary to increment the sequence number in advance.
  • the communication terminal device 20 processes the command with the sequence number “m”, the sequence number is updated to “m+1” and the sequence number of the response to the command with the sequence number “m” is set to “m+1”. ..
  • the communication terminal device 20 has the stored updated sequence number “m+1” or less, so the retry command is invalidated. Therefore, the retry command has a value larger than the sequence number stored in the communication terminal device 20, for example, “m+2”.
  • the response is not transmitted from the communication terminal device 20.
  • the response transmitted from the communication terminal device 20 may not be received by the information processing terminal device 30. Therefore, if the response cannot be received even after the timeout value set based on the maximum response time parameter indicated by the manufacturing parameter (PMm) of the polling response is exceeded, the retry process is performed as described above.
  • the information processing terminal device 30 makes a command request to the information processing device 40, and the information processing device 40 generates a command with a sequence number updated in response to the request from the information processing terminal device 30. Since it has to be generated by the unit 43 and output to the communication terminal device 20 via the information processing terminal device 30, the retry process takes time.
  • the information processing device 40 when the information processing device 40 generates a command to be output to the communication terminal device 20, the information processing device 40 generates a retry processing command in which the sequence number is incremented, and sends the generated retry command to the communication terminal device 20. It is output to the information processing terminal device 30 together with the output command. Further, when performing the retry process, the information processing terminal device 30 does not make a command request to the information processing device 40, and sends the retry processing command already supplied from the information processing device 40 to the communication terminal device 20. Output.
  • FIG. 6 is a flowchart illustrating the operation of the information processing terminal device.
  • the information processing terminal device sets the timeout value.
  • the information processing terminal device 30 performs, for example, polling for detecting the communication terminal device 20 capable of short-range wireless communication, and indicates the parameter information (for example, manufacturing parameter (PMm)) included in the polling response supplied from the communication terminal device 20.
  • the determined maximum response time is set as the timeout value and the process proceeds to step ST2.
  • the information processing terminal device 30 outputs the card identification information (for example, manufacturing IDm) included in the polling response to the information processing device 40.
  • step ST2 the information processing terminal device acquires a command from the information processing device.
  • a command to be output to the communication terminal device 20 capable of short-range wireless communication of the information processing terminal device 30 and a retry command are generated based on the card identification information and the like, and the information processing terminal device 30 is generated. Acquires a command and a retry command output from the information processing device 40, and proceeds to step ST3.
  • step ST3 the information processing terminal device outputs a command to the communication terminal device.
  • the information processing terminal device 30 outputs the command acquired in step ST2 or the retry command specified in step ST7 to the communication terminal device 20 by short-range wireless communication, and proceeds to step ST4.
  • step ST4 the information processing terminal device determines whether or not a response has been acquired before the timeout.
  • the information processing terminal device 30 proceeds to step ST5 if the response is acquired before the elapsed time after the command is output in step ST2 exceeds the time indicated by the timeout value, otherwise proceeds to step ST5. Go to ST6.
  • step ST5 the information processing terminal device outputs a response to the information processing device.
  • the information processing terminal device 30 outputs the response supplied from the communication terminal device 20 to the information processing device 40.
  • step ST6 the information processing terminal device determines whether the output of the retry command has been completed. If the retry command acquired in step ST2 includes a retry command that has not been output to the communication terminal device 20, the information processing terminal device 30 proceeds to step ST7 and outputs each acquired retry command. If is completed, the process proceeds to step ST8.
  • step ST7 the information processing terminal device updates the command to be output.
  • the information processing terminal device 30 is a command that is not output to the communication terminal device 20 in the retry command acquired in step ST2 and that outputs to the communication terminal device 20 a retry command with a sequence number that is the earliest in processing order. To step ST3.
  • step ST8 the information processing terminal device notifies the information processing device.
  • the information processing terminal device 30 notifies the information processing device 40 that the response to the command acquired in step ST2 cannot be acquired. If the information processing device 40 determines that communication with the communication terminal device 20 cannot be performed when a response has not been supplied even after a lapse of a predetermined time has passed since the command was output, the process of step ST8 is performed. It does not have to be provided.
  • FIG. 7 is a sequence diagram showing an operation example of the information processing system.
  • the information processing system performs polling and authentication processing.
  • the information processing terminal device 30 performs polling for detecting the communication terminal device 20 capable of short-range wireless communication, and is indicated by parameter information (for example, manufacturing parameter (PMm)) included in the polling response supplied from the communication terminal device 20. Set the maximum response time to the timeout value. Further, the information processing terminal device 30 outputs the card identification information (for example, manufacturing IDm) included in the polling response to the information processing device 40.
  • the information processing device 40 performs the authentication process using the card identification information supplied from the communication terminal device 20.
  • step ST12 the information processing device 40 generates and outputs a command for the authenticated communication terminal device 20.
  • the command output to the communication terminal device 20 has a sequence number of “1”, and a command for retry processing that differs only in this command and the sequence number is generated.
  • retry commands with sequence numbers “3” and “5” are generated.
  • the command with the sequence number “1” and the retry command with the sequence numbers “3” and “5” are collectively output to the information processing terminal device 30.
  • step ST13 the information processing terminal device 30 outputs the command of the sequence number "1" to the communication terminal device 20.
  • the information processing terminal device 30 If the information processing terminal device 30 cannot obtain a response even after the time-out value has elapsed since the command was output in step ST13, the information processing terminal device 30 performs retry processing, and as shown in step ST14, the retry command is issued. Is output to the communication terminal device 20.
  • the retry command acquired in step ST12 is the command not output to the communication terminal device 20, and the retry command has the earliest processing order, that is, the retry command with the sequence number “3” in step ST14. The command is output to the communication terminal device 20.
  • the information processing terminal device 30 When the response is supplied from the communication terminal device 20 to the information processing terminal device 30 in step ST15, the information processing terminal device 30 outputs the acquired response to the information processing device 40 as shown in step ST16. Since the sequence number of the response is used by incrementing the sequence number of the command, the sequence number is "4" in the response of step ST15.
  • the retry process since the retry command shown in step ST2 is not supplied to the information processing terminal device, the retry process issues a command request to the information processing device 40 as shown in step ST14c, and then, The command supplied from the information processing device 40 is output to the communication terminal device 20.
  • the information processing terminal device 30 is supplied with the retry command together with the command to be output to the communication terminal device 20, and the information processing terminal device 30 is supplied with the command to be output to the communication terminal device 20.
  • Retry processing can be performed using the retry command that has been set. Therefore, the time required for the retry process can be shortened as compared with the conventional configuration in which a command request is issued during the retry process and the retry process is performed using the command supplied from the information processing device 40.
  • a command for retry processing is generated when generating a command to be transmitted to the communication terminal apparatus 20, and a command for retry processing is supplied to the information processing terminal apparatus 30 together with the command to be transmitted to the communication terminal apparatus 20,
  • the command generation process in the information processing device 40 and the command transmission process to the information processing terminal device 30 can be efficiently performed.
  • the command supplied from the information processing device 40 to the communication terminal device has a so-called idempotence in which the processing results are the same even if the command supplied repeatedly is processed (in the present technology, " Not only “Idempotent command”), but also commands that do not have so-called idempotency (in the present technology, called “non-idempotent command”) with different processing results by processing commands that are repeatedly supplied.
  • the information indicated in the response may differ for each retry process.
  • FIG. 8 illustrates idempotent commands and non-idempotent commands. Since the idempotent command such as the read command or the card status confirmation command is a command for reading the information stored in the communication terminal device 20, even if the processing of the read command or the card status confirmation command is repeated, the processing results are the same. Further, since the overwrite write command is a command for overwriting the information of the communication terminal device 20 with new information, even if the processing of the write command is repeated, the processing results are the same.
  • FIG. 8A shows a case where a read command having a sequence number of “1” and a read command having a sequence number of “3” or “5”, which are retry commands, are output.
  • a non-idempotent command for example, a write command indicating subtraction
  • a non-idempotent command is a command for subtracting the specified value from the value stored in the communication terminal device 20, and when the processing of the write command is repeated, the processing result is sequentially decreased It becomes.
  • the command generation unit 43 of the information processing device 40 generates a retry command according to whether the command for the communication terminal device 20 is a command having idempotency. For example, when outputting an idempotent command to the communication terminal device 20, the command generation unit 43 generates, as the retry command, a command obtained by incrementing only the sequence number as described above. Further, when the non-idempotent command is output to the communication terminal device 20, the command generating unit 43 generates a command for confirming the state of the communication terminal device 20 as a retry command.
  • the information processing terminal device 30 When the information processing device 40 encrypts the command packet and the communication terminal device 20 encrypts the response packet, the information processing terminal device 30 cannot determine whether the response packet corresponding to the command is supplied. .. Therefore, when the response output from the communication terminal device in response to the command is encrypted, the command generation unit 43 of the information processing device 40 calculates the expected value of the response and generates the calculated expected value as the command. Output with retry command. In addition, the information processing terminal device 30 can determine the response to the command by using the obtained expected value. In FIG. 8B, a write command with a sequence number of “1”, a read command with a sequence number of “3”, which is a retry command for confirming the state of the communication terminal device 20, and an expected response are shown.
  • FIG. 9 is a flowchart illustrating the operation of the information processing terminal device.
  • the information processing terminal device sets a timeout value.
  • the information processing terminal device 30 performs, for example, polling for detecting the communication terminal device 20 capable of short-range wireless communication, and indicates the parameter information (for example, manufacturing parameter (PMm)) included in the polling response supplied from the communication terminal device 20.
  • the determined maximum response time is set as the timeout value and the process proceeds to step ST22.
  • the information processing terminal device 30 outputs the card identification information (for example, manufacturing IDm) included in the polling response to the information processing device 40.
  • step ST22 the information processing terminal device acquires a command from the information processing device.
  • the information processing device 40 a command to be output to the communication terminal device 20 capable of short-range wireless communication of the information processing terminal device 30 and a retry command are generated based on the card identification information and the like, and the information processing terminal device 30 is generated. Acquires the command and the retry command output from the information processing device 40, or the command and the retry command and the expected value, and proceeds to step ST23.
  • step ST23 the information processing terminal device outputs a command to the communication terminal device.
  • the information processing terminal device 30 outputs the command acquired in step ST22 or the retry command specified in step ST28 to the communication terminal device 20 by short-range wireless communication, and proceeds to step ST24.
  • step ST24 the information processing terminal device determines whether or not the response was acquired before the timeout.
  • the information processing terminal device 30 proceeds to step ST25 if the response has not been acquired before the time elapsed since the command was output in step ST22 exceeds the time indicated by the timeout value, and if the response has been acquired, proceeds to step ST25. Advances to step ST26.
  • step ST25 the information processing terminal device determines whether the expected value of the response of the retry command matches.
  • the information processing terminal device 30 calculates the expected value of the response supplied from the communication terminal device 20 in response to the retry command, and determines whether the calculated expected value matches the expected value supplied from the information processing device 40. Then, if the expected values match, the process proceeds to step ST26, and if the expected values do not match, the process proceeds to step ST27.
  • step ST26 the information processing terminal device outputs a response to the information processing device.
  • the information processing terminal device 30 outputs the response supplied from the communication terminal device 20 to the information processing device 40.
  • step ST27 the information processing terminal device determines whether the output of the retry command is completed. If the retry command acquired in step ST22 includes a retry command that has not been output to the communication terminal device 20, the information processing terminal device 30 proceeds to step ST28 and completes the output of the retry command. If so, the process proceeds to step ST29.
  • step ST28 the information processing terminal device updates the output command.
  • the information processing terminal device 30 is a command that is not output to the communication terminal device 20 in the retry command acquired in step ST22 and that outputs to the communication terminal device 20 a retry command with a sequence number that is the earliest in the processing order. Specify to and return to step ST23.
  • step ST29 the information processing terminal device notifies the information processing device.
  • the information processing terminal device 30 notifies the information processing device 40 that the response to the command acquired in step ST22 cannot be acquired. If it is determined that the information processing device 40 cannot communicate with the communication terminal device 20 when the response is not supplied even after a lapse of a predetermined time from the output of the command, the process of step ST29 is performed. It does not have to be provided.
  • FIG. 10 is a sequence diagram showing an operation example of the information processing system. Note that FIG. 10 shows a case where a non-idempotent command is output from the information processing device 40.
  • the information processing system performs polling and authentication processing.
  • the information processing terminal device 30 performs polling for detecting the communication terminal device 20 capable of short-range wireless communication, and is indicated by parameter information (for example, manufacturing parameter (PMm)) included in the polling response supplied from the communication terminal device 20. Set the maximum response time to the timeout value. Further, the information processing terminal device 30 outputs the card identification information (for example, manufacturing IDm) included in the polling response to the information processing device 40.
  • the information processing device 40 performs the authentication process using the card identification information supplied from the communication terminal device 20.
  • step ST32 the information processing device 40 generates and outputs a command for the authenticated communication terminal device 20.
  • the sequence number is "1".
  • the command of sequence number "1" is an idempotent command
  • a command for confirming the state of the communication terminal device 20 is used as a retry command
  • the sequence number is set to "3”.
  • the expected value of the response is calculated, and the packet indicating the expected value of the response is collectively output to the information processing terminal device 30 together with the packet of the command and the retry command.
  • step ST33 the information processing terminal device 30 outputs the command of the sequence number "1" to the communication terminal device 20.
  • step ST34 the retry command is issued. Is output to the communication terminal device 20.
  • the retry command acquired in step ST32 is the command not output to the communication terminal device 20, and the retry command has the earliest processing order. That is, in step ST34, the retry command with the sequence number “3” is selected. The command is output to the communication terminal device 20.
  • the information processing terminal device 30 When the response is supplied from the communication terminal device 20 to the information processing terminal device 30 in step ST35, the information processing terminal device 30 performs a response determination process using the acquired response in step ST36. In the response determination process, the expected value calculated using the obtained response is compared with the expected value obtained in step ST32, and if they match, it is determined as the response to the command in step ST34, and if they do not match, the communication terminal It is determined that the state of the device 20 has not been changed, that is, the command processing is not being performed.
  • step ST37 the information processing terminal device 30 outputs a response determined in step ST36 as a response to the command in step ST34 to the information processing device 40. If the information processing terminal device 30 determines in step ST36 that the command processing is not performed, the information processing terminal device 30 outputs the retry command with the sequence number “5” to the communication terminal device 20.
  • the information processing terminal device 30 is supplied with the retry command together with the command to be output to the communication terminal device 20, and the information processing terminal device 30 is supplied with the command to be output to the communication terminal device 20.
  • Retry processing can be performed using the retry command that has been set. Therefore, the time required for the retry process can be shortened as compared with the conventional configuration in which a command request is issued during the retry process and the retry process is performed using the command supplied from the information processing device 40.
  • a command for retry processing is generated when generating a command to be transmitted to the communication terminal apparatus 20, and a command for retry processing is supplied to the information processing terminal apparatus 30 together with the command to be transmitted to the communication terminal apparatus 20,
  • the command generation process in the information processing device 40 and the command transmission process to the information processing terminal device 30 can be efficiently performed.
  • the retry command for checking the state of the communication terminal device 20 and the expected value of the response are output together with the command.
  • the response to the output command can be output to the information processing device.
  • the information processing device 40 may control the generation of the retry command according to the number of times the retry process is repeated and the occurrence rate of the retry process. For example, the command generation unit 43 of the information processing device 40 adjusts the number of retries commands according to the number of retries or the retry occurrence status. Further, the command generation unit 43 determines the number of retries or the retry occurrence status based on the sequence number of the command and the sequence number of the response output from the communication terminal device 20.
  • FIG. 11 is a sequence diagram illustrating the operation between the information processing device and the information processing terminal device.
  • the information processing device 40 generates and outputs a command for the communication terminal device 20.
  • the sequence number is set to "1" in the command output to the communication terminal device 20, and a command for retry processing in which only this command and the sequence number are different is generated.
  • commands having sequence numbers "3" and "5" are generated.
  • the command with the sequence number “1” and the retry command with the sequence numbers “3” and “5” are collectively output to the information processing terminal device 30.
  • step ST42 the information processing terminal device 30 supplies the response from the communication terminal device 20 to the information processing device 40.
  • step ST43 the information processing device performs a retry count learning process. Since the response is the sequence number "2", the information processing device 40 can determine that the retry process has not been performed. Therefore, the information processing device 40 determines that the communication between the communication terminal device 20 and the information processing terminal device 30 is performed well, and generates a small number of retry commands.
  • step ST44 the information processing device 40 generates and outputs a command for the communication terminal device 20.
  • the sequence number is set to "7" in the command output to the communication terminal device 20, and a command for retry processing in which only this command and the sequence number are different is generated. Further, since it is determined in step ST44 that the communication between the communication terminal device 20 and the information processing terminal device 30 is performed well, the number of retries commands is reduced and the command having the sequence number “7” and the sequence number are reduced. The retry command of “9” is output to the information processing terminal device 30.
  • step ST45 the information processing device 40 outputs the command with the sequence number “n” to be output to the communication terminal device 20 and the retry command with the sequence number “n+2” to the information processing terminal device 30, and in step ST46. Then, the information processing terminal device 30 supplies the response from the communication terminal device 20 to the information processing device 40.
  • step ST47 the information processing device performs a retry count learning process.
  • the information processing apparatus 40 can determine that the retry process has been performed once because the sequence number of the command output immediately before is “n” and the sequence number of the response is “n+3”. Therefore, the information processing device 40 determines that communication between the communication terminal device 20 and the information processing terminal device 30 is no longer being performed, and generates many retry commands.
  • step ST48 the information processing device 40 generates and outputs a command for the communication terminal device 20.
  • the command output to the communication terminal device 20 has a sequence number of "n+4", and a command for retry processing that differs from this command only in the sequence number is generated. Further, in step ST48, since it is determined that communication between the communication terminal device 20 and the information processing terminal device 30 is no longer being performed well, the number of retries commands is increased, and the command with the sequence number “n+4” and the sequence Retry commands with numbers “n+6” and “n+8” are output to the information processing terminal device 30.
  • the generation of the retry command is controlled according to the number of retries in FIG. 11, the generation of the retry command may be controlled according to the retry occurrence rate. That is, the retry command may be increased when the retry occurrence frequency is high, and the retry command may be decreased when the retry occurrence frequency is low.
  • the generation of the retry command is controlled according to the number of retries and the retry occurrence rate, the number of retries suitable for the communication status of the short-distance wireless communication between the communication terminal device 20 and the information processing terminal device 30 will be used. You will be able to generate commands.
  • the series of processes described in the specification can be executed by hardware, software, or a composite configuration of both.
  • a program recording a processing sequence is installed in a memory in a computer incorporated in dedicated hardware and executed.
  • the program can be installed and executed in a general-purpose computer that can execute various processes.
  • the program can be recorded in advance on a hard disk as a recording medium, SSD (Solid State Drive), or ROM (Read Only Memory).
  • a hard disk as a recording medium
  • SSD Solid State Drive
  • ROM Read Only Memory
  • the program is a flexible disk, CD-ROM (Compact Disc Read Only Memory), MO (Magneto optical) disc, DVD (Digital Versatile Disc), BD (Blu-Ray Disc (registered trademark)), magnetic disc, semiconductor memory card. It can be stored (recorded) temporarily or permanently in a removable recording medium such as.
  • a removable recording medium can be provided as so-called package software.
  • the program may be wirelessly or wired transferred from the download site to the computer via a network such as a LAN (Local Area Network) or the Internet.
  • a network such as a LAN (Local Area Network) or the Internet.
  • the program thus transferred can be received and installed in a recording medium such as a built-in hard disk.
  • the information processing device of the present technology can also have the following configurations.
  • An information processing device including a command generator that generates a command for a communication terminal device and a retry command, and outputs the generated retry command together with the command.
  • the command generation unit generates the retry command according to whether or not the command to the communication terminal device is a command having idempotency.
  • the command generation unit changes the sequence number of the command having idempotency to generate the retry command (2).
  • the information processing device according to 1.
  • the command generation unit When the command for the communication terminal device is a command that does not have idempotency, the command generation unit generates a command for checking the state of the communication terminal device as the retry command (2). Alternatively, the information processing device according to (3). (5) When the response output from the communication terminal device in response to the command is encrypted, the command generation unit calculates an expected value of the response or a hash value of the expected value, and the calculated expected value The information processing apparatus according to any one of (2) to (4), which outputs a hash value of an expected value together with the generated command and the retry command. (6) The information processing apparatus according to any one of (1) to (5), wherein the command generation unit provides a sequence number indicating a processing order in the command and the retry command.
  • the information processing terminal device of the present technology can also have the following configurations.
  • (1) The command for the communication terminal device and the retry command output from the information processing device are acquired, the acquired command is output to the communication terminal device, and the acquired retry command is output in the retry process.
  • (2) A communication unit that performs short-range wireless communication with the communication terminal device is provided, The information processing terminal device according to (1), wherein the command control unit outputs the command or the retry command via the communication unit.
  • the command control unit acquires an expected value of the command, the retry command, and a response to the command or a hash value of the expected value, and acquires the expected value or a hash value of the expected value and the acquired hash value.
  • the information processing terminal device according to any one of (1) to (3), which outputs the response to the information processing device when the expected value based on the response output from the communication terminal device or the hash value of the expected value matches. ..

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • Toxicology (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Electromagnetism (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Medical Informatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Communication Control (AREA)

Abstract

情報処理装置40は、通信端末装置20に対するコマンドとリトライ用コマンドを生成して、生成したコマンドとリトライ用コマンドを連続して情報処理端末装置30へ出力する。情報処理端末装置30は、情報処理装置40から連続して出力された通信端末装置20に対するコマンドとリトライ用コマンドを取得して、取得したコマンドを通信端末装置20へ出力する。また、コマンドに対するレスポンスが取得できないためリトライ処理を行う場合に、情報処理端末装置30は、取得されているリトライ用コマンドを通信端末装置20へ出力する。リトライ処理を行う際に、情報処理端末装置30から情報処理装置40に対してコマンドリクエストを出力してリトライ用コマンドを取得するまで待たなくとも、リトライ処理を行うことが可能となる。したがって、情報処理端末装置を介した通信端末装置と情報処理装置間の処理を効率よく行える。

Description

情報処理装置と情報処理端末装置および情報処理方法
 この技術は、情報処理装置と情報処理端末装置および情報処理方法に関し、情報処理端末装置を介した通信端末装置と情報処理装置間の処理を効率よく行えるようにする。
 従来の情報処理システムでは、サーバとクライアント間でコマンドやレスポンスを送受信する場合、1コマンド毎にまたは1レスポンス毎に送受信が行われており、サーバとクライアントでエラーが発生した場合、サーバはコマンドを再度送信することが行われている。このため、情報の通信を、確実かつ効率的に行うことができるように、特許文献1では、情報処理端末装置から情報処理装置に対してネットワークを介して通信の確立の要求を行い、要求に応じて確立された通信によって情報処理装置から供給されたパケットに含まれる命令に基づいて制御を行う。また、情報処理装置は、情報処理端末装置からの要求に応じて、ネットワークを介して情報処理端末装置との通信を確立して、通信が確立されたときに命令を含むパケットを情報処理端末装置に送信することが行われている。
特開2004-186883号公報
 ところで、ネットワークを介した通信の確立に近距離無線通信が用いられている場合、通信の確立後に通信環境が変化すると通信が途切れてしまう場合がある。例えば情報処理装置と情報処理端末装置との間にリーダライタが設けられて、情報処理端末装置とリーダライタで近距離無線通信を行う場合、情報処理端末装置がリーダライタから離れてしまうと、情報処理装置と情報処理端末装置は通信を行うことができない。このような場合、リーダライタは、リトライ処理を行うためにリトライコマンドを情報処理装置から取得する必要があり、リトライ処理に時間を要してしまう。
 そこで、この技術では、情報処理端末装置を介した通信端末装置と情報処理装置間の処理を効率よく行える情報処理装置と情報処理端末装置および情報処理方法を提供することを目的とする。
 この技術の第1の側面は、
 通信端末装置に対するコマンドとリトライ用コマンドを生成して、前記生成した前記リトライ用コマンドを前記コマンドと共に出力するコマンド生成部
を備える情報処理装置にある。
 この技術によれば、コマンド生成部では、通信端末装置に対するコマンドと、このコマンドがべき等性を有するコマンドであるか否かに応じたリトライ用コマンドを生成して、生成したリトライ用コマンドをコマンドと共に出力する。コマンド生成部は、通信端末装置に対するコマンドがべき等性を有するコマンドである場合、べき等性を有するコマンドを繰り返すことでリトライ用コマンドを生成する。また、コマンド生成部は、通信端末装置に対するコマンドがべき等性を有していないコマンドである場合、通信端末装置の状態を確認するコマンドをリトライ用コマンドとして生成する。さらに、コマンド生成部は、コマンドに対して通信端末装置から出力されるレスポンスが暗号化される場合、レスポンスの期待値または期待値のハッシュ値を算出して、算出した期待値またはハッシュ値をコマンドとリトライ用コマンドと共に出力する。また、コマンド生成部は、コマンドとリトライ用コマンドに、処理順を示すシーケンス番号を設ける。
 コマンド生成部は、リトライ回数またはリトライ発生状況に応じてリトライ用コマンド数を調整する場合、リトライ回数またはリトライ発生状況を、コマンドのシーケンス番号と通信端末装置から出力されたレスポンスのシーケンス番号に基づいて判別する。
 この技術の第2の側面は、
 通信端末装置に対するコマンドとリトライ用コマンドを生成して、前記リトライ用コマンドを前記コマンドと共にコマンド生成部から出力すること
を含む情報処理方法にある。
 この技術の第3の側面は、
 情報処理装置から連続して出力された通信端末装置に対するコマンドとリトライ用コマンドを取得して、取得した前記コマンドを前記通信端末装置へ出力して、リトライ処理では前記取得されているリトライ用コマンドを前記通信端末装置へ出力するコマンド制御部
を有する情報処理端末装置にある。
 この技術によれば情報処理端末装置には、通信端末装置と近距離無線通信を行う通信部が設けられて、コマンド制御部では、通信部を介してコマンドまたはリトライ用コマンドを出力する。コマンド制御部は、情報処理装置から連続して出力された通信端末装置に対するコマンドとリトライ用コマンドを取得して、取得したコマンドを通信端末装置へ出力する。また、通信端末装置からのレスポンスを取得できない場合はリトライ処理を行い、リトライ処理では取得されているリトライ用コマンドを通信端末装置へ出力する。コマンド制御部は、通信端末装置から出力されたレスポンスを情報処理装置へ出力する。また、コマンド制御部は、コマンドとリトライ用コマンドとコマンドに対するレスポンスの期待値または期待値のハッシュ値を取得して、取得した期待値または期待値のハッシュ値と通信端末装置から出力されたレスポンスに基づく期待値または期待値のハッシュ値が一致する場合に、レスポンスを情報処理装置へ出力する。
 この技術の第4の側面は、
 情報処理装置から出力された通信端末装置に対するコマンドとリトライ用コマンドを取得して、取得した前記コマンドを前記通信端末装置へ出力して、リトライ処理では前記取得されているリトライ用コマンドをコマンド制御部から前記通信端末装置へ出力することを含む情報処理方法にある。
情報処理システムの構成を示した図である。 通信端末装置(非接触ICカードである場合)の構成を例示した図である 情報処理端末装置の構成を例示した図である。 情報処理装置の構成を例示した図である。 情報処理装置40から出力されるコマンドのパケットを例示した図である。 情報処理端末装置の動作を例示したフローチャートである。 情報処理システムの動作例を示すシーケンス図である。 べき等コマンドと非べき等コマンドを例示した図である。 情報処理端末装置の動作を例示したフローチャートである。 情報処理システムの動作例を示すシーケンス図である(非べき等コマンドの場合)。 情報処理装置と情報処理端末装置間の動作を例示したシーケンス図ある。
 以下、本技術を実施するための形態について説明する。なお、説明は以下の順序で行う。
 1.情報処理システムの構成
 2.情報処理システムの第1の動作
 3.情報処理システムの第2の動作
 4.情報処理システムの他の動作
 <1.情報処理システムの構成>
 図1は、本技術の情報処理装置を用いた情報処理システムの構成を示している。情報処理システム10は、通信端末装置20と情報処理端末装置30と情報処理装置(例えばサーバ)40を有している。情報処理装置40は、情報処理端末装置30を介して通信端末装置20から情報の読み出しあるいは通信端末装置20への情報の書き込みを行う。また、情報処理端末装置30は、通信端末装置20と無線通信を行う。
 通信端末装置20は、少なくとも情報処理端末装置30との無線通信機能を有している。例えば、通信端末装置20は、非接触ICカードやスマートフォン等の携帯用電子機器、あるいはIOT(Internet of Things)デバイス等である。なお、以下の説明では、通信端末装置20として非接触ICカード、情報処理端末装置30としてリーダライタを用いて、非接触ICカードとリーダライタ間で近距離無線通信を行う場合について説明する。
 図2は、通信端末装置(非接触ICカードである場合)の構成を例示している。通信端末装置20は、通信部21、電源部22、記憶部23、制御部24を有している。
 通信部21は、情報処理端末装置30と近距離無線通信を行うことができるように、アンテナ21aと変復調部21bを有している。アンテナ21aは、情報処理端末装置30と電磁誘導により結合して、情報等の伝送や電力の授受を行うためのものであり、変復調部21bと電源部22に接続されている。
 変復調部21bは、アンテナ21aで受信した無線信号を復調して得られた受信信号を制御部24へ出力する。また、変復調部21bは、制御部24から供給された送信信号を変調して、アンテナ21aから無線信号として送信する。
 電源部22は、情報処理端末装置30と電磁誘導により結合されたことでアンテナ21aに生じた交流電圧の直流定電圧化を行い、変復調部21bと記憶部23および制御部24へ電力を供給する。
 記憶部23は各種情報を記憶する。例えば記憶部23には、通信端末装置の利用者固有の情報や情報処理装置から供給された情報等が記憶される。
 制御部24は、受信信号で示されたコマンドの処理を行い、記憶部23に記憶されている情報の読み出しや記憶部23に対する情報の書き込み等を行う。また、制御部24は、受信したコマンドに対するレスポンスを示す送信信号を生成して変復調部21bへ出力する。また、制御部24は暗号化されているコマンドの復号やレスポンスの暗号化を行う。
 図3は、情報処理端末装置の構成を例示している。情報処理端末装置30は、通信部31、ネットワーク通信部32、入力部33、記憶部34,コマンド制御部35を有している。
 通信部31は、通信端末装置20と近距離無線通信を行うことができるように、アンテナ31aと変復調部31bを有している。アンテナ31aは、通信端末装置20と電磁誘導により結合して、情報等の伝送や電力供給を行うためのものであり、ネットワーク通信部32に接続されている。変復調部31bは、コマンド制御部35から供給されたコマンドあるいはリトライ用コマンドを変調して、アンテナ31aから無線信号として送信する。また、変復調部31bは、アンテナ31aで受信した無線信号を復調して得られた受信信号をコマンド制御部35へ出力する。
 ネットワーク通信部32は、情報処理端末装置30をネットワーク50に接続するためのものである。ネットワーク通信部32は、ネットワーク50を介して情報処理装置40から供給されたコマンド等をコマンド制御部35へ出力する。また、ネットワーク通信部32は、コマンド制御部35から出力されたレスポンス等を、ネットワーク50を介して情報処理装置40へ出力する。
 入力部33は、ユーザによる操作の入力を受け付ける機能を有する。入力部33は、操作ボタンやタッチパネル,キーボードあるいはマイク等を用いて構成されている。入力部33はユーザ操作に応じた操作信号を生成してコマンド制御部35へ出力する。
 記憶部34は、ROMやRAM等の半導体メモリを用いて構成されてもよく、磁気記録デバイス、光記録デバイス、または光磁気記録デバイス等を用いて構成されてもよい。記憶部34は、情報処理端末装置30を動作させるためのプログラムや各種データが記憶されている。また、記憶部34には、情報処理装置40から供給されたリトライ用コマンドやレスポンスの期待値等も記憶される。
 コマンド制御部35は、記憶部34に記憶されているプログラムを実行して、情報処理端末装置30が所定の動作を行うように各部を制御する。また、コマンド制御部35は、入力部33からの操作信号に基づき、ユーザ操作に応じた動作を情報処理端末装置30で行うように各部を制御する。例えば、コマンド制御部35は、情報処理装置40からコマンド等の取得、通信端末装置20へのコマンド出力やリトライ処理、通信端末装置20からレスポンス等の取得、情報処理装置40へのレスポンスの出力等を行う。さらに、コマンド制御部35は、情報処理装置から出力された通信端末装置に対するコマンドとリトライ用コマンドを取得して、取得したコマンドを通信端末装置へ出力して、リトライ処理では取得されているリトライ用コマンドを通信端末装置へ出力する。
 図4は、情報処理装置の構成を例示している。情報処理装置40は、ネットワーク通信部41、記憶部42、コマンド生成部43、制御部44を有している。
 ネットワーク通信部41は、情報処理装置40をネットワーク50に接続するためのものである。ネットワーク通信部41は、ネットワークを介して供給された情報を制御部44へ出力する。また、ネットワーク通信部41は、制御部44から供給された情報を、ネットワークを介して情報処理端末装置30へ出力する。
 記憶部42は、通信端末装置毎の利用者に関する種々の情報等が格納されるデータベースである。また、記憶部42には、情報処理装置40で実行するアプリケーションプログラム等も記憶されてもよい。
 コマンド生成部43は、通信端末装置に対するコマンドとリトライ用コマンドを生成して、生成したリトライ用コマンドを通信端末装置に対するコマンドと共に通信部から出力させる。また、コマンド生成部43には、セキュリティモジュールが設けられてもよい。セキュリティモジュールは、セキュリティ機能を持つアプリケーションを搭載したモジュール(いわゆるSAM:Secure Application Module)である。セキュリティモジュールは、例えば通信端末装置20との認証や、セキュリティを確保して通信端末装置20に対して情報の読み出しや書き込みを行うために、コマンドの暗号化やレスポンスの復号等を行う。コマンド生成部43は、コマンドに対して通信端末装置20から出力されるレスポンスが暗号化される場合、レスポンスの期待値(または期待値のハッシュ値であってもよく、以下の説明では単に期待値とする)を算出して、生成したコマンドとリトライ用コマンドと共に期待値をネットワーク通信部41から出力してもよい。また、コマンド生成部43は、コマンドとリトライ用コマンドに、処理順を示すシーケンス番号を設ける。
 制御部44は、記憶部42に記録されているアプリケーションプログラム等を実行して、記憶部42に記憶されている情報の更新、ネットワーク通信部41を介して取得した情報の記憶部42への登録、記憶部42からの情報の読み出し等を行う。また、制御部44は、コマンド生成部43を制御して、通信端末装置20からの情報の読み出しや情報の書き込み等を行うためのコマンド等を生成してネットワーク通信部41から出力させる。
 <2.情報処理システムの第1の動作>
 次に情報処理システムの動作について説明する。情報処理装置40は情報処理端末装置30を用いてポーリングを行い、情報処理端末装置30と近距離無線通信が可能な通信端末装置20を検出する。情報処理端末装置30は、通信端末装置20の製造ID(IDm)と製造パラメータ(PMm)等を含むポーリングレスポンスを受信して、ポーリングレスポンスを情報処理装置40へ出力する。なお、製造パラメータ(PMm)では、最大応答時間パラメータが示されている。
 その後、情報処理装置40は、情報処理端末装置30と近距離無線通信が可能な通信端末装置20との相互認証を行い、認証後に種々のコマンドを、情報処理端末装置30を介して通信端末装置20に送信する。
 図5は情報処理装置40から出力されるコマンドのパケットを例示している。コマンドは、コマンドコードとシーケンス番号およびコマンドデータを有している。コマンドコードでは、コマンドのパケットがどのようなパケットであるかが示される。シーケンス番号は通信端末装置20と情報処理装置40での処理順を示す値である。
 通信端末装置20と情報処理装置40は、それぞれ処理を行う毎にシーケンス番号を「1」だけ加算する。このため、通信端末装置20に対してコマンドを出力した際に、通信端末装置20でコマンドが処理されているが情報処理端末装置30でレスポンスを受信できない場合、シーケンス番号をインクリメントすることなくリトライ処理を行うと、処理したコマンドとリトライ用コマンドのシーケンス番号が等しいことから、通信端末装置20ではリトライ用コメントが無視されてしまう。また、通信端末装置20でコマンドが無視されるとコマンドが通信端末装置20に届いていないのか、通信端末装置20でコマンドが無視されているのか判別できない。このため、次のコマンドやリトライ用コマンドを送信する場合は予めシーケンス番号をインクリメントしておく必要がある。
 例えばシーケンス番号「m」のコマンドの処理を通信端末装置20で行った場合にはシーケンス番号を「m+1」に更新して、シーケンス番号「m」のコマンドに対するレスポンスのシーケンス番号を「m+1」とする。ここで、リトライ処理でシーケンス番号「m」のコマンドを用いると、通信端末装置20は記憶している更新後のシーケンス番号「m+1」以下であることから、リトライ用コマンドは無効とされてしまう。したがって、リトライ用コマンドは、通信端末装置20に記憶されているシーケンス番号よりも大きな値、例えば「m+2」とする。
 ところで、コマンドが通信端末装置20に届いていないときは、通信端末装置20からレスポンスが送信されない。また、通信端末装置20から送信されたレスポンスが情報処理端末装置30で受信できない場合もある。したがって、ポーリングレスポンスの製造パラメータ(PMm)で示されている最大応答時間パラメータに基づいて設定したタイムアウト値を過ぎてもレスポンスを受信できない場合には、上述のようにリトライ処理を行う。
 従来のリトライ処理では、情報処理端末装置30からコマンドの要求を情報処理装置40に対して行い、情報処理装置40では情報処理端末装置30からの要求に応じてシーケンス番号を更新したコマンドをコマンド生成部43で生成して情報処理端末装置30を介して通信端末装置20へ出力しなければならず、リトライ処理に時間を要してしまう。
 そこで、情報処理装置40は、通信端末装置20へ出力するコマンドを生成する際に、シーケンス番号がインクリメントされているリトライ処理用コマンドを生成して、生成したリトライ用コマンドを、通信端末装置20へ出力するコマンドと共に情報処理端末装置30へ出力する。また、情報処理端末装置30は、リトライ処理を行う場合、コマンドの要求を情報処理装置40に対して行うことなく、既に情報処理装置40から供給されているリトライ処理用コマンドを通信端末装置20へ出力する。
 図6が情報処理端末装置の動作を例示したフローチャートである。ステップST1で情報処理端末装置はタイムアウト値を設定する。情報処理端末装置30は例えば近距離無線通信が可能な通信端末装置20を検出するポーリングを行い、通信端末装置20から供給されたポーリングレスポンスに含まれるパラメータ情報(例えば製造パラメータ(PMm))で示された最大応答時間をタイムアウト値に設定してステップST2に進む。なお、情報処理端末装置30は、ポーリングレスポンスに含まれているカード識別情報(例えば製造IDm)を情報処理装置40へ出力する。
 ステップST2で情報処理端末装置は情報処理装置からコマンドを取得する。情報処理装置40では、カード識別情報等に基づき情報処理端末装置30の近距離無線通信が可能である通信端末装置20へ出力するコマンドとリトライ用コマンドの生成が行われて、情報処理端末装置30は、情報処理装置40から出力されたコマンドとリトライ用コマンドを取得してステップST3に進む。
 ステップST3で情報処理端末装置は通信端末装置にコマンドを出力する。情報処理端末装置30はステップST2で取得したコマンド、あるいはその後にステップST7で指定されたリトライ用コマンドを近距離無線通信で通信端末装置20へ出力してステップST4に進む。
 ステップST4で情報処理端末装置はタイムアウト前にレスポンスを取得したか判別する。情報処理端末装置30は、ステップST2でコマンドを出力してからの経過時間がタイムアウト値で示される時間を超える前にレスポンスを取得した場合にはステップST5に進み、取得していない場合にはステップST6に進む。
 ステップST5で情報処理端末装置は情報処理装置にレスポンスを出力する。情報処理端末装置30は、通信端末装置20から供給されたレスポンスを情報処理装置40へ出力する。
 ステップST4からステップST6に進むと、情報処理端末装置はリトライ用コマンドの出力が完了しているか判別する。情報処理端末装置30は、ステップST2で取得したリトライ用コマンドにおいて、通信端末装置20への出力が行われていないリトライ用コマンドがある場合にはステップST7に進み、取得した各リトライ用コマンドの出力が完了している場合にはステップST8に進む。
 ステップST7で情報処理端末装置は出力するコマンドを更新する。情報処理端末装置30はステップST2で取得したリトライ用コマンドにおける通信端末装置20に出力されていないコマンドであって、最も処理順が早いシーケンス番号のリトライ用コマンドを、通信端末装置20へ出力するコマンドに指定してステップST3に戻る。
 ステップST8で情報処理端末装置は情報処理装置への通知を行う。情報処理端末装置30はステップST2で取得したコマンドに対するレスポンスが取得できないことを情報処理装置40へ通知する。なお、情報処理装置40において、コマンドを出力してから所定時間経過してもレスポンスが供給されていないときに通信端末装置20との通信を行うことができないと判断する場合、ステップST8の処理を設けなくともよい。
 図7は、情報処理システムの動作例を示すシーケンス図である。ステップST11で情報処理システムはポーリングや認証処理を行う。情報処理端末装置30は近距離無線通信が可能な通信端末装置20を検出するポーリングを行い、通信端末装置20から供給されたポーリングレスポンスに含まれるパラメータ情報(例えば製造パラメータ(PMm))で示された最大応答時間をタイムアウト値に設定する。また、情報処理端末装置30は、ポーリングレスポンスに含まれているカード識別情報(例えば製造IDm)を情報処理装置40へ出力する。情報処理装置40は、通信端末装置20から供給されたカード識別情報を用いて認証処理を行う。
 ステップST12で情報処理装置40は、認証済みの通信端末装置20に対するコマンドを生成して出力する。通信端末装置20に出力されるコマンドではシーケンス番号が「1」とされており、このコマンドとシーケンス番号のみが異なるリトライ処理用のコマンドが生成されている。なお、図7ではシーケンス番号が「3」と「5」のリトライ用コマンドが生成されている。シーケンス番号「1」のコマンドとシーケンス番号「3」「5」のリトライ用コマンドは、まとめて情報処理端末装置30へ出力される。
 ステップST13で情報処理端末装置30は、シーケンス番号「1」のコマンドを通信端末装置20へ出力する。
 ステップST13でコマンドを出力してからタイムアウト値の時間が経過してもレスポンスを情報処理端末装置30で取得できない場合、情報処理端末装置30はリトライ処理を行いステップST14で示すように、リトライ用コマンドを通信端末装置20へ出力する。リトライ処理では、ステップST12で取得したリトライ用コマンドにおける通信端末装置20に出力されていないコマンドであって、最も処理順が早いシーケンス番号のリトライ用コマンド、すなわちステップST14では、シーケンス番号「3」のコマンドを通信端末装置20へ出力する。
 ステップST15でレスポンスが通信端末装置20から情報処理端末装置30に供給されると、情報処理端末装置30は取得したレスポンスをステップST16で示すように情報処理装置40へ出力する。レスポンスのシーケンス番号は、コマンドのシーケンス番号をインクリメントして用いられることから、ステップST15のレスポンスではシーケンス番号が「4」となる。
 なお、従来の情報処理システムでは、ステップST2で示すリトライ用コマンドが情報処理端末装置に供給されていないので、リトライ処理ではステップST14cに示すように、情報処理装置40へコマンドリクエストを行い、その後、情報処理装置40から供給されたコマンドが通信端末装置20へ出力される。
 このように、情報処理端末装置30には、通信端末装置20へ出力するコマンドと共にリトライ用コマンドが情報処理装置から供給されて、情報処理端末装置30は、通信端末装置20へ出力するコマンドと共に供給されているリトライ用コマンドを用いてリトライ処理を行うことができる。したがって、リトライ処理時にコマンドリクエストを行い情報処理装置40から供給されるコマンドを用いてリトライ処理を行う従来の構成に比べて、リトライ処理に要する時間を短縮できる。また、通信端末装置20へ送信するコマンドを生成する際にリトライ処理用のコマンドを生成して、通信端末装置20へ送信するコマンドと共にリトライ処理用のコマンドを情報処理端末装置30に供給すれば、情報処理装置40におけるコマンド生成処理や情報処理端末装置30へのコマンド送信処理を効率よく行うことができる。
 <3.情報処理システムの第2の動作>
 ところで、情報処理装置40から通信端末装置に供給されるコマンドは、繰り返し供給されるコマンドの処理を行っても処理結果が等しくなる、いわゆるべき等性(idempotence)を有したコマンド(本技術では「べき等コマンド」という)だけでなく、繰り返し供給されるコマンドの処理を行うことにより処理結果が異なる、いわゆるべき等性を有していないコマンド(本技術では「非べき等コマンド」という)も用いられる。したがって、リトライ処理で非べき等コマンドを繰り返すと、レスポンスで示される情報がリトライ処理毎に異なってしまう場合がある。
 図8は、べき等コマンドと非べき等コマンドを例示している。べき等コマンド例えばリードコマンドやカード状態確認コマンドは、通信端末装置20に記憶されている情報を読み出すコマンドであるから、リードコマンドやカード状態確認コマンドの処理を繰り返しても、処理結果は等しくなる。また、上書きのライトコマンドは、通信端末装置20の情報に新たな情報を上書きするコマンドであるから、ライトコマンドの処理を繰り返しても、処理結果は等しくなる。図8の(a)では、シーケンス番号が「1」であるリードコマンドと共に、リトライ用コマンドであるシーケンス番号が「3」「5」のリードコマンドが出力される場合を示している。
 また、非べき等コマンド例えば減算を示すライトコマンドでは、通信端末装置20に記憶されている値から指定された値を減算するコマンドでありライトコマンドの処理を繰り返すと、処理結果は順次減少した値となる。
 そこで、情報処理装置40のコマンド生成部43は、通信端末装置20に対するコマンドがべき等性を有するコマンドであるか否かに応じたリトライ用コマンドを生成する。例えば、通信端末装置20に対してべき等コマンドを出力する場合、コマンド生成部43は、上述したようにシーケンス番号のみをインクリメントしたコマンドをリトライ用コマンドとして生成する。また、コマンド生成部43は、通信端末装置20に非べき等コマンドを出力する場合、通信端末装置20の状態を確認するコマンドをリトライ用コマンドとして生成する。
 また、情報処理装置40ではコマンドのパケットを暗号化して、通信端末装置20ではレスポンスのパケットを暗号化する場合、情報処理端末装置30では、コマンドに応じたレスポンスのパケットが供給されているか判別できない。したがって、情報処理装置40のコマンド生成部43は、コマンドに対して通信端末装置から出力されるレスポンスが暗号化される場合、レスポンスの期待値を算出して、算出した期待値を生成したコマンドとリトライ用コマンドと共に出力する。また、情報処理端末装置30では取得した期待値を用いてコマンドに対するレスポンスを判別できるようにする。図8の(b)では、シーケンス番号が「1」であるライトコマンドと共に、通信端末装置20の状態を確認するためのリトライ用コマンドであるシーケンス番号が「3」のリードコマンドと、レスポンスの期待値(または期待値のハッシュ値)、および後述するようにレスポンスの期待値(または期待値のハッシュ値)と通信端末装置20からのレスポンスの期待値(または期待値のハッシュ値)が一致しない場合に用いるリトライ用コマンドであるシーケンス番号が「5」であるライトコマンドが出力される場合を示している。
 図9は情報処理端末装置の動作を例示したフローチャートである。ステップST21で情報処理端末装置はタイムアウト値を設定する。情報処理端末装置30は例えば近距離無線通信が可能な通信端末装置20を検出するポーリングを行い、通信端末装置20から供給されたポーリングレスポンスに含まれるパラメータ情報(例えば製造パラメータ(PMm))で示された最大応答時間をタイムアウト値に設定してステップST22に進む。なお、情報処理端末装置30は、ポーリングレスポンスに含まれているカード識別情報(例えば製造IDm)を情報処理装置40へ出力する。
 ステップST22で情報処理端末装置は情報処理装置からコマンドを取得する。情報処理装置40では、カード識別情報等に基づき情報処理端末装置30の近距離無線通信が可能である通信端末装置20へ出力するコマンドとリトライ用コマンドの生成が行われて、情報処理端末装置30は、情報処理装置40から出力されたコマンドとリトライ用コマンド、あるいはコマンドとリトライ用コマンドと期待値を取得してステップST23に進む。
 ステップST23で情報処理端末装置は通信端末装置にコマンドを出力する。情報処理端末装置30はステップST22で取得したコマンド、あるいはその後にステップST28で指定されたリトライ用コマンドを近距離無線通信で通信端末装置20へ出力してステップST24に進む。
 ステップST24で情報処理端末装置はタイムアウト前にレスポンスを取得したか判別する。情報処理端末装置30は、ステップST22でコマンドを出力してからの経過時間がタイムアウト値で示される時間を超える前にレスポンスを取得していない場合にはステップST25に進み、取得している場合にはステップST26に進む。
 ステップST25で情報処理端末装置はリトライ用コマンドのレスポンスの期待値が一致するか判別する。情報処理端末装置30は、リトライ用コマンドに対して通信端末装置20から供給されたレスポンスの期待値を算出して、算出した期待値が情報処理装置40から供給された期待値と一致するか判別して、期待値が一致する場合にはステップST26に進み、期待値が一致しない場合はステップST27に進む。
 ステップST26で情報処理端末装置は情報処理装置にレスポンスを出力する。情報処理端末装置30は、通信端末装置20から供給されたレスポンスを情報処理装置40へ出力する。
 ステップST25からステップST27に進むと、情報処理端末装置はリトライ用コマンドの出力が完了しているか判別する。情報処理端末装置30は、ステップST22で取得したリトライ用コマンドにおいて、通信端末装置20への出力が行われていないリトライ用コマンドがある場合にはステップST28に進み、リトライ用コマンドの出力が完了している場合にはステップST29に進む。
 ステップST28で情報処理端末装置は出力するコマンドを更新する。情報処理端末装置30はステップST22で取得したリトライ用コマンドにおける通信端末装置20に出力されていないコマンドであって、最も処理順が早いシーケンス番号のリトライ用コマンドを、通信端末装置20へ出力するコマンドに指定してステップST23に戻る。
 ステップST29で情報処理端末装置は情報処理装置への通知を行う。情報処理端末装置30はステップST22で取得したコマンドに対するレスポンスが取得できないことを情報処理装置40へ通知する。なお、情報処理装置40において、コマンドを出力してから所定時間経過してもレスポンスが供給されていないとき、通信端末装置20との通信を行うことができないと判断する場合、ステップST29の処理を設けなくともよい。
 図10は、情報処理システムの動作例を示すシーケンス図である。なお、図10では非べき等コマンドが情報処理装置40から出力される場合を示している。
 ステップST31で情報処理システムはポーリングや認証処理を行う。情報処理端末装置30は近距離無線通信が可能な通信端末装置20を検出するポーリングを行い、通信端末装置20から供給されたポーリングレスポンスに含まれるパラメータ情報(例えば製造パラメータ(PMm))で示された最大応答時間をタイムアウト値に設定する。また、情報処理端末装置30は、ポーリングレスポンスに含まれているカード識別情報(例えば製造IDm)を情報処理装置40へ出力する。情報処理装置40は、通信端末装置20から供給されたカード識別情報を用いて認証処理を行う。
 ステップST32で情報処理装置40は、認証済みの通信端末装置20に対するコマンドを生成して出力する。通信端末装置20に出力されるコマンドではシーケンス番号が「1」とされている。また、シーケンス番号「1」のコマンドが非べき等コマンドである場合、リトライ用コマンドとして通信端末装置20の状態を確認するコマンドが用いられてシーケンス番号が「3」とされている。さらに、レスポンスの期待値を算出して、レスポンスの期待値を示すパケットがコマンドとリトライ用コマンドのパケットと共に、まとめて情報処理端末装置30へ出力される。
 ステップST33で情報処理端末装置30は、シーケンス番号「1」のコマンドを通信端末装置20へ出力する。
 ステップST33でコマンドを出力してからタイムアウト値の時間が経過してもレスポンスを情報処理端末装置30で取得できない場合、情報処理端末装置30はリトライ処理を行いステップST34で示すように、リトライ用コマンドを通信端末装置20へ出力する。リトライ処理では、ステップST32で取得したリトライ用コマンドにおける通信端末装置20に出力されていないコマンドであって、最も処理順が早いシーケンス番号のリトライ用コマンド、すなわちステップST34では、シーケンス番号「3」のコマンドを通信端末装置20へ出力する。
 ステップST35でレスポンスが通信端末装置20から情報処理端末装置30に供給されると、ステップST36で情報処理端末装置30は取得したレスポンスを用いてレスポンス判定処理を行う。レスポンス判定処理では、取得したレスポンスを用いて算出した期待値とステップST32で取得した期待値を比較して、一致する場合にはステップST34のコマンドに対するレスポンスと判別して、一致しない場合は通信端末装置20の状態が変更されていない、すなわちコマンドの処理が行われていないと判別する。
 ステップST37で情報処理端末装置30は、ステップST36でステップST34のコマンドに対するレスポンスであると判別されたレスポンスを情報処理装置40へ出力する。また、情報処理端末装置30は、ステップST36でコマンドの処理が行われていないと判別した場合、シーケンス番号「5」のリトライ用コマンドを通信端末装置20へ出力する。
 このように、情報処理端末装置30には、通信端末装置20へ出力するコマンドと共にリトライ用コマンドが情報処理装置から供給されて、情報処理端末装置30は、通信端末装置20へ出力するコマンドと共に供給されているリトライ用コマンドを用いてリトライ処理を行うことができる。したがって、リトライ処理時にコマンドリクエストを行い情報処理装置40から供給されるコマンドを用いてリトライ処理を行う従来の構成に比べて、リトライ処理に要する時間を短縮できる。また、通信端末装置20へ送信するコマンドを生成する際にリトライ処理用のコマンドを生成して、通信端末装置20へ送信するコマンドと共にリトライ処理用のコマンドを情報処理端末装置30に供給すれば、情報処理装置40におけるコマンド生成処理や情報処理端末装置30へのコマンド送信処理を効率よく行うことができる。
 さらに、通信端末装置に非べき等コマンドを出力する場合、コマンドと共に通信端末装置20の状態を確認するリトライ用コマンドとレスポンスの期待値が出力されるので、情報処理端末装置30では通信端末装置へ出力したコマンドに対するレスポンスを情報処理装置へ出力できるようになる。
 <4.情報処理システムの他の動作>
 ところで、情報処理装置40は、リトライ用コマンドを多く生成すれば、効率よく行えるリトライ処理の回数を増やすことができる。しかし、リトライ処理が行われない場合、必要ないリトライ用コマンドを多く生成することになり、情報処理装置40を効率よく動作させることができない。そこで、情報処理装置40は、リトライ処理の繰り返し回数やリトライ処理の発生率に応じて、リトライ用コマンドの生成を制御してもよい。例えば、情報処理装置40のコマンド生成部43は、リトライ回数またはリトライ発生状況に応じてリトライ用コマンド数を調整する。また、コマンド生成部43は、リトライ回数またはリトライ発生状況を、コマンドのシーケンス番号と通信端末装置20から出力されたレスポンスのシーケンス番号に基づいて判別する。
 図11は、情報処理装置と情報処理端末装置間の動作を例示したシーケンス図ある。ステップST41で情報処理装置40は、通信端末装置20に対するコマンドを生成して出力する。通信端末装置20に出力されるコマンドではシーケンス番号が「1」とされており、このコマンドとシーケンス番号のみが異なるリトライ処理用のコマンドが生成されている。なお、図11ではシーケンス番号が「3」と「5」のコマンドが生成されている。シーケンス番号「1」のコマンドとシーケンス番号「3」「5」のリトライ用コマンドは、まとめて情報処理端末装置30へ出力される。
 ステップST42で情報処理端末装置30は、通信端末装置20からのレスポンスを情報処理装置40へ供給する。
 ステップST43で情報処理装置はリトライ回数学習処理を行う。情報処理装置40はレスポンスがシーケンス番号「2」であることからリトライ処理が行われていないことを判別できる。したがって、情報処理装置40は、通信端末装置20と情報処理端末装置30との通信は良好に行われると判別して、リトライ用コマンドを少なく生成する。
 ステップST44で情報処理装置40は、通信端末装置20に対するコマンドを生成して出力する。通信端末装置20に出力されるコマンドではシーケンス番号が「7」とされており、このコマンドとシーケンス番号のみが異なるリトライ処理用のコマンドが生成されている。また、ステップST44では通信端末装置20と情報処理端末装置30との通信は良好に行われると判別されていることから、リトライ用コマンドが少なくされて、シーケンス番号が「7」のコマンドとシーケンス番号が「9」のリトライ用コマンドが情報処理端末装置30へ出力される。
 その後、ステップST45で情報処理装置40は、通信端末装置20へ出力するシーケンス番号「n」のコマンドと、シーケンス番号が「n+2」のリトライ用コマンドを情報処理端末装置30へ出力して、ステップST46で情報処理端末装置30は、通信端末装置20からのレスポンスを情報処理装置40へ供給する。
 ステップST47で情報処理装置はリトライ回数学習処理を行う。情報処理装置40は直前へ出力したコマンドのシーケンス番号が「n」でレスポンスのシーケンス番号が「n+3」であることからリトライ処理が1回行われたことを判別できる。したがって、情報処理装置40は、通信端末装置20と情報処理端末装置30との通信は良好に行われなくなったと判別して、リトライ用コマンドを多く生成する。
 ステップST48で情報処理装置40は、通信端末装置20に対するコマンドを生成して出力する。通信端末装置20に出力されるコマンドではシーケンス番号が「n+4」とされており、このコマンドとシーケンス番号のみが異なるリトライ処理用のコマンドが生成される。また、ステップST48では通信端末装置20と情報処理端末装置30との通信が良好に行われなくなったと判別されていることから、リトライ用コマンドが増やされて、シーケンス番号が「n+4」のコマンドとシーケンス番号が「n+6」「n+8」のリトライ用コマンドが情報処理端末装置30へ出力される。
 なお、図11ではリトライ回数に応じてリトライ用コマンドの生成を制御したが、リトライの発生率に応じてリトライ用コマンドの生成を制御してもよい。すなわち、リトライの発生頻度が高い場合にはリトライ用コマンドを増やして、発生頻度が低い場合はリトライ用コマンドを少なくしてもよい。
 このように、リトライ回数やリトライの発生率に応じてリトライ用コマンドの生成を制御すれば、通信端末装置20と情報処理端末装置30との近距離無線通信の通信状況に適した数のリトライ用コマンドを生成できるようになる。
 明細書中において説明した一連の処理はハードウェア、またはソフトウェア、あるいは両者の複合構成によって実行することが可能である。ソフトウェアによる処理を実行する場合は、処理シーケンスを記録したプログラムを、専用のハードウェアに組み込まれたコンピュータ内のメモリにインストールして実行させる。または、各種処理が実行可能な汎用コンピュータにプログラムをインストールして実行させることが可能である。
 例えば、プログラムは記録媒体としてのハードディスクやSSD(Solid State Drive)、ROM(Read Only Memory)に予め記録しておくことができる。あるいは、プログラムはフレキシブルディスク、CD-ROM(Compact Disc Read Only Memory),MO(Magneto optical)ディスク,DVD(Digital Versatile Disc)、BD(Blu-Ray Disc(登録商標))、磁気ディスク、半導体メモリカード等のリムーバブル記録媒体に、一時的または永続的に格納(記録)しておくことができる。このようなリムーバブル記録媒体は、いわゆるパッケージソフトウェアとして提供することができる。
 また、プログラムは、リムーバブル記録媒体からコンピュータにインストールする他、ダウンロードサイトからLAN(Local Area Network)やインターネット等のネットワークを介して、コンピュータに無線または有線で転送してもよい。コンピュータでは、そのようにして転送されてくるプログラムを受信し、内蔵するハードディスク等の記録媒体にインストールすることができる。
 なお、本明細書に記載した効果はあくまで例示であって限定されるものではなく、記載されていない付加的な効果があってもよい。また、本技術は、上述した技術の実施の形態に限定して解釈されるべきではない。この技術の実施の形態は、例示という形態で本技術を開示しており、本技術の要旨を逸脱しない範囲で当業者が実施の形態の修正や代用をなし得ることは自明である。すなわち、本技術の要旨を判断するためには、請求の範囲を参酌すべきである。
 また、本技術の情報処理装置は以下のような構成も取ることができる。
 (1) 通信端末装置に対するコマンドとリトライ用コマンドを生成して、前記生成したリトライ用コマンドを前記コマンドと共に出力するコマンド生成部を備える情報処理装置。
 (2) 前記コマンド生成部は、前記通信端末装置に対するコマンドがべき等性を有するコマンドであるか否かに応じた前記リトライ用コマンドを生成する(1)に記載の情報処理装置。
 (3) 前記コマンド生成部は、前記通信端末装置に対するコマンドがべき等性を有するコマンドである場合、前記べき等性を有するコマンドのシーケンス番号を変更して前記リトライ用コマンドを生成する(2)に記載の情報処理装置。
 (4) 前記コマンド生成部は、前記通信端末装置に対するコマンドがべき等性を有していないコマンドである場合、前記通信端末装置の状態を確認するコマンドを前記リトライ用コマンドとして生成する(2)または(3)に記載の情報処理装置。
 (5) 前記コマンド生成部は、前記コマンドに対して通信端末装置から出力されるレスポンスが暗号化される場合、前記レスポンスの期待値または期待値のハッシュ値を算出して、算出した前記期待値または期待値のハッシュ値を前記生成したコマンドと前記リトライ用コマンドと共に出力する(2)乃至(4)のいずれかに記載の情報処理装置。
 (6) 前記コマンド生成部は、前記コマンドと前記リトライ用コマンドに、処理順を示すシーケンス番号を設ける(1)乃至(5)のいずれかに記載の情報処理装置。
 (7) 前記コマンド生成部は、リトライ回数またはリトライ発生状況に応じて前記リトライ用コマンド数を調整する(6)に記載の情報処理装置。
 (8) 前記コマンド生成部は、前記リトライ回数またはリトライ発生状況を、前記コマンドのシーケンス番号と前記通信端末装置から出力されたレスポンスのシーケンス番号に基づいて判別する(7)に記載の情報処理装置。
 さらに、本技術の情報処理端末装置は以下のような構成も取ることができる。
 (1) 情報処理装置から出力された通信端末装置に対するコマンドとリトライ用コマンドを取得して、取得した前記コマンドを前記通信端末装置へ出力して、リトライ処理では前記取得されているリトライ用コマンドを前記通信端末装置へ出力するコマンド制御部
を有する情報処理端末装置。
 (2) 前記通信端末装置と近距離無線通信を行う通信部を備え、
 前記コマンド制御部は前記通信部を介して前記コマンドまたは前記リトライ用コマンドを出力する(1)に記載の情報処理端末装置。
 (3) 前記コマンド制御部は、前記通信端末装置から出力されたレスポンスを前記情報処理装置へ出力する(1)または(2)に記載の情報処理端末装置。
 (4) 前記コマンド制御部は、前記コマンドと前記リトライ用コマンドと前記コマンドに対するレスポンスの期待値または前記期待値のハッシュ値を取得して、取得した前記期待値または前記期待値のハッシュ値と前記通信端末装置から出力されたレスポンスに基づく期待値または期待値のハッシュ値が一致する場合に前記レスポンスを前記情報処理装置へ出力する(1)乃至(3)のいずれかに記載の情報処理端末装置。
 10・・・情報処理システム
 20・・・通信端末装置
 21,31・・・通信部
 21a,31a・・・アンテナ
 21b,31b・・・変復調部
 22・・・電源部
 23,34,42・・・記憶部
 24,44・・・制御部
 30・・・情報処理端末装置
 32,41・・・ネットワーク通信部
 33・・・入力部
 35・・・コマンド制御部
 40・・・情報処理装置
 43・・・コマンド生成部
 50・・・ネットワーク

Claims (14)

  1.  通信端末装置に対するコマンドとリトライ用コマンドを生成して、前記生成したリトライ用コマンドを前記コマンドと共に出力するコマンド生成部
    を備える情報処理装置。
  2.  前記コマンド生成部は、前記通信端末装置に対するコマンドがべき等性を有するコマンドであるか否かに応じた前記リトライ用コマンドを生成する
    請求項1に記載の情報処理装置。
  3.  前記コマンド生成部は、前記通信端末装置に対するコマンドがべき等性を有するコマンドである場合、前記べき等性を有するコマンドのシーケンス番号を変更して前記リトライ用コマンドを生成する
    請求項2に記載の情報処理装置。
  4.  前記コマンド生成部は、前記通信端末装置に対するコマンドがべき等性を有していないコマンドである場合、前記通信端末装置の状態を確認するコマンドを前記リトライ用コマンドとして生成する
    請求項2に記載の情報処理装置。
  5.  前記コマンド生成部は、前記コマンドに対して通信端末装置から出力されるレスポンスが暗号化される場合、前記レスポンスの期待値または期待値のハッシュ値を算出して、算出した前記期待値またはハッシュ値を前記生成したコマンドと前記リトライ用コマンドと共に出力する
    請求項2に記載の情報処理装置。
  6.  前記コマンド生成部は、前記コマンドと前記リトライ用コマンドに、処理順を示すシーケンス番号を設ける
    請求項2に記載の情報処理装置。
  7.  前記コマンド生成部は、リトライ回数またはリトライ発生状況に応じて前記リトライ用コマンド数を調整する
    請求項6に記載の情報処理装置。
  8.  前記コマンド生成部は、前記リトライ回数またはリトライ発生状況を、前記コマンドのシーケンス番号と前記通信端末装置から出力されたレスポンスのシーケンス番号に基づいて判別する
    請求項7に記載の情報処理装置。
  9.  通信端末装置に対するコマンドとリトライ用コマンドを生成して、生成した前記リトライ用コマンドを前記コマンドと共にコマンド生成部から出力すること
    を含む情報処理方法。
  10.  情報処理装置から出力された通信端末装置に対するコマンドとリトライ用コマンドを取得して、取得した前記コマンドを前記通信端末装置へ出力して、リトライ処理では前記取得されているリトライ用コマンドを前記通信端末装置へ出力するコマンド制御部
    を有する情報処理端末装置。
  11.  前記通信端末装置と近距離無線通信を行う通信部を備え、
     前記コマンド制御部は前記通信部を介して前記コマンドまたは前記リトライ用コマンドを出力する
    請求項10に記載の情報処理端末装置。
  12.  前記コマンド制御部は、前記通信端末装置から出力されたレスポンスを前記情報処理装置へ出力する
    請求項10に記載の情報処理端末装置。
  13.  前記コマンド制御部は、前記コマンドと前記リトライ用コマンドと前記コマンドに対するレスポンスの期待値または前記期待値のハッシュ値を取得して、取得した前記期待値または期待値のハッシュ値と前記通信端末装置から出力されたレスポンスに基づく期待値または期待値のハッシュ値が一致する場合に、前記レスポンスを前記情報処理装置へ出力する
    請求項10に記載の情報処理端末装置。
  14.  情報処理装置から出力された通信端末装置に対するコマンドとリトライ用コマンドを取得して、取得した前記コマンドを前記通信端末装置へ出力して、リトライ処理では前記取得されているリトライ用コマンドをコマンド制御部から前記通信端末装置へ出力すること
    を含む情報処理方法。
PCT/JP2020/000993 2019-03-06 2020-01-15 情報処理装置と情報処理端末装置および情報処理方法 WO2020179230A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN202080017520.7A CN113518975A (zh) 2019-03-06 2020-01-15 信息处理装置、信息处理终端装置和信息处理方法
EP20767333.6A EP3937020A4 (en) 2019-03-06 2020-01-15 INFORMATION PROCESSING DEVICE, INFORMATION PROCESSING TERMINAL AND INFORMATION PROCESSING METHOD
JP2021503443A JP7392710B2 (ja) 2019-03-06 2020-01-15 情報処理装置と情報処理端末装置および情報処理方法
US17/430,952 US11875217B2 (en) 2019-03-06 2020-01-15 Information processing apparatus, information processing terminal apparatus, and information processing method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019040340 2019-03-06
JP2019-040340 2019-03-06

Publications (1)

Publication Number Publication Date
WO2020179230A1 true WO2020179230A1 (ja) 2020-09-10

Family

ID=72336922

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2020/000993 WO2020179230A1 (ja) 2019-03-06 2020-01-15 情報処理装置と情報処理端末装置および情報処理方法

Country Status (5)

Country Link
US (1) US11875217B2 (ja)
EP (1) EP3937020A4 (ja)
JP (1) JP7392710B2 (ja)
CN (1) CN113518975A (ja)
WO (1) WO2020179230A1 (ja)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2023100303A (ja) * 2022-01-06 2023-07-19 ローム株式会社 メイン装置、サブ装置、及び通信システム

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004186883A (ja) 2002-12-02 2004-07-02 Sony Corp 制御システムおよび方法、情報処理装置および方法、情報処理端末および方法、記録媒体、並びにプログラム
JP2006099641A (ja) * 2004-09-30 2006-04-13 Felica Networks Inc 通信システム、サーバ装置、クライアント装置、通信方法、並びにプログラム
JP2007080083A (ja) * 2005-09-15 2007-03-29 Hitachi Ltd Icカードコマンド転送方法、icカード情報サービスシステムおよび端末装置
JP2011065471A (ja) * 2009-09-17 2011-03-31 Toshiba Corp 携帯可能電子装置、icカード、携帯可能電子装置の処理システムおよび携帯可能電子装置の制御方法
JP2012118949A (ja) * 2010-12-03 2012-06-21 Ntt Data Corp コマンド送信装置、コマンド送信プログラム、コマンド送信方法、及びコマンド通信システム、並びにレスポンス送信装置、レスポンス送信プログラム、及びレスポンス送信方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5864677A (en) 1996-07-01 1999-01-26 Sun Microsystems, Inc. System for preserving sequential ordering and supporting nonidempotent commands in a ring network with busy nodes
JP2000048141A (ja) * 1998-08-03 2000-02-18 Hitachi Ltd Icカードによる端末認証方法
US9819563B2 (en) * 2014-12-19 2017-11-14 Verizon Patent And Licensing Inc. Failure management for electronic transactions
US10313861B2 (en) * 2016-09-15 2019-06-04 WiSilica Inc. Wireless control of multiple actor devices by multiple controller devices with communication security

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004186883A (ja) 2002-12-02 2004-07-02 Sony Corp 制御システムおよび方法、情報処理装置および方法、情報処理端末および方法、記録媒体、並びにプログラム
JP2006099641A (ja) * 2004-09-30 2006-04-13 Felica Networks Inc 通信システム、サーバ装置、クライアント装置、通信方法、並びにプログラム
JP2007080083A (ja) * 2005-09-15 2007-03-29 Hitachi Ltd Icカードコマンド転送方法、icカード情報サービスシステムおよび端末装置
JP2011065471A (ja) * 2009-09-17 2011-03-31 Toshiba Corp 携帯可能電子装置、icカード、携帯可能電子装置の処理システムおよび携帯可能電子装置の制御方法
JP2012118949A (ja) * 2010-12-03 2012-06-21 Ntt Data Corp コマンド送信装置、コマンド送信プログラム、コマンド送信方法、及びコマンド通信システム、並びにレスポンス送信装置、レスポンス送信プログラム、及びレスポンス送信方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3937020A4

Also Published As

Publication number Publication date
EP3937020A1 (en) 2022-01-12
CN113518975A (zh) 2021-10-19
US20220147725A1 (en) 2022-05-12
JP7392710B2 (ja) 2023-12-06
EP3937020A4 (en) 2022-05-18
JPWO2020179230A1 (ja) 2020-09-10
US11875217B2 (en) 2024-01-16

Similar Documents

Publication Publication Date Title
US20060239236A1 (en) Wireless communication apparatus, communication system and method of configuring wireless communication therein
JP4684888B2 (ja) 通信装置及び電力制御方法
JP5234030B2 (ja) タグ通信装置、タグ通信装置の制御方法、およびタグ通信装置制御プログラム
EP1667077A2 (en) Data storage apparatus, data processing method, recording medium, and program
JP5310348B2 (ja) 受信装置、受信方法、プログラム、及び送信装置
CN110115014B (zh) 电子装置、电子装置的控制权限认证方法和用户终端装置
US10372440B1 (en) Tokenized mobile device update systems and methods
CN101316168A (zh) 认证装置以及认证方法
WO2020179230A1 (ja) 情報処理装置と情報処理端末装置および情報処理方法
JP2017085711A (ja) 送電装置
US20200372489A1 (en) Resource transfer based on near field communication
KR20160083897A (ko) 사용자 인터페이스 상태를 리포팅하기 위한 시스템들 및 방법들
JP2009251916A (ja) 通信端末、通信プログラム、及び通信方法
JP2021175184A (ja) 複数の回転セキュリティ鍵を備えた非接触カード
JP5471904B2 (ja) Icカードリーダライタおよびそれに内蔵するsam
JP5740867B2 (ja) 通信装置、情報処理システムおよび暗号切替方法
EP3651484A1 (en) Tokenized mobile device update systems and methods
US20140059378A1 (en) Method of system recovery of client device, wireless connection device and computer program
CN111699657A (zh) 信息处理装置、信息处理方法、程序以及信息处理系统
JP2022046038A (ja) 情報処理システムおよび情報処理方法
JP7435586B2 (ja) 情報処理装置と携帯端末および情報処理方法
KR102573894B1 (ko) 플래시 메모리를 이용한 펌웨어 업데이트 공유키 관리 방법 및 이를 실행하기 위한 기록매체에 저장된 컴퓨터 프로그램
US20240112183A1 (en) Terminal and authentication method
KR102510167B1 (ko) 플래시 메모리를 이용한 펌웨어 대용량 업데이트 개선 방법 및 이를 실행하기 위한 기록매체에 저장된 컴퓨터 프로그램
US20240113864A1 (en) Terminal and authentication method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20767333

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021503443

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2020767333

Country of ref document: EP

Effective date: 20211006