IC card, processing method and information processing system
By designing communication, tamper-proof storage and processing units on the IC card, the signature data verification problem caused by key leakage in the P2P database is solved, and the correctness and security of transactions are achieved.
Patent Information
- Application Number
- CN201910829761.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-09-04
- Filing Date
- 2019-09-04
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2039-09-04
AI Technical Summary
When using a P2P database, the leakage of keys or seed values used to generate keys makes it difficult to verify the authenticity of the signed data, affecting the correctness of the transaction.
An IC card is designed, including a communication unit, a tamper-proof storage unit and a processing unit. By communicating with an external device, the object data is obtained from the P2P database and the stored key information is used to generate corresponding signature data to ensure the authenticity of the signature data. sex.
Effectively prevent key information leakage and generate signature data corresponding to object data in P2P database to ensure the correctness and security of transactions.
Smart Images

Figure CN110874740B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to an IC card, a processing method, and an information processing system. Background Art
[0002] A technology has been developed for an IC (Integrated Circuit) card storing a key. As the above technology, for example, the technology described in Patent Document 1 below is cited.
[0003] Prior art literature
[0004] Patent Literature
[0005] Patent Document 1: Japanese Patent Application Publication No. 2018-78499 Summary of the invention
[0006] Problems to be solved by the invention
[0007] In recent years, the use of distributed file systems using P2P (Peer to Peer) networks such as blockchain has been continuously improved. By using a distributed file system using a P2P network, the following effects can be achieved. The distributed file system using a P2P network is referred to as a "P2P database" below.
[0008] Difficult to tamper with or destroy
[0009] No central management required (basically anyone can participate)
[0010] High transparency (basically anyone can view the records)
[0011] Low cost (no expensive system required)
[0012] For example, when using a P2P database, signature data is added to the object data of an object recorded in the P2P database (i.e., an electronic signature is given to the object data). Signature data is added to the object data and verified, so that the electronic signature, such as proof of non-tampering of the object data, plays its intended role. Therefore, even if the P2P database is used for data transactions of virtual currency, for example, the correctness of the transaction can be guaranteed.
[0013] Here, signature data is generated by using a public key encryption method and a key paired with a public key. When a key is leaked or a seed value used to generate a key is leaked, signature data can be generated by the leaked key or a key generated by the leaked seed value. Moreover, it is difficult to "specify from the signature data whether the signature data is signature data generated by a leaked key or a key generated by a leaked seed value." Therefore, there is a need for a "method that can prevent the leakage of a key or a seed value used to generate a key, and can generate signature data corresponding to the object data of an object recorded in a P2P database." The data representing the key or the seed value used to generate the key is hereinafter referred to as "key information."
[0014] The present disclosure provides a new and improved IC card, a processing method, and an information processing system that can prevent key information leakage and can generate signature data corresponding to object data of an object in a P2P database.
[0015] Means of solving the problem
[0016] The present disclosure provides an IC card, comprising: a communication unit for communicating with an external device; a tamper-proof storage unit for storing key information showing a key paired with a public key or a seed value for generating the key; a processing unit for generating signature data corresponding to the object data based on object data acquired from the external device through communication by the communication unit and recorded in a P2P database and the key corresponding to the key information, and for controlling the sending of data including the generated signature data to the external device through communication by the communication unit.
[0017] In addition, the present disclosure provides a processing method performed by an IC card, comprising: a step of communicating with an external device; a step of generating signature data corresponding to the above-mentioned object data based on the object data obtained from the above-mentioned external device through communication in the above-mentioned communication step and recorded in a P2P database and the above-mentioned key stored in a tamper-proof recording medium and corresponding to the key information of a key paired with a display and a public key or a seed value for generating the above-mentioned key; and a step of controlling the data including the above-mentioned signature data generated in the above-mentioned generation step to be sent to the above-mentioned external device through communication in the above-mentioned communication step.
[0018] In addition, the present disclosure also provides an information processing system, comprising an IC card and an information processing device, wherein the information processing device verifies the content of the object data recorded in the P2P database and generates specified signature data based on the verification result; the above-mentioned IC card comprises: a communication unit, which communicates with an external device; a tamper-proof storage unit, which stores key information showing a key paired with a public key or a seed value for generating the above-mentioned key; a processing unit, which generates signature data corresponding to the above-mentioned object data based on the above-mentioned object data obtained from the above-mentioned external device through communication of the above-mentioned communication unit and the above-mentioned key corresponding to the above-mentioned key information, and controls to send data including the generated above-mentioned signature data to the above-mentioned external device through communication of the above-mentioned communication unit; the above-mentioned processing unit determines whether the signature condition related to the verification of the above-mentioned specified signature data corresponding to the above-mentioned information processing device is met, and when it is determined that the above-mentioned signature condition is met, generates the above-mentioned signature data corresponding to the above-mentioned object data.
[0019] Effects of the Invention
[0020] Through the present disclosure, while key information leakage can be prevented, signature data corresponding to object data of an object recorded in a P2P database can be generated.
[0021] Furthermore, the present invention is not limited to the above-mentioned effects, and in addition to or instead of the above-mentioned effects, any effects described in this specification or other effects that can be understood from this specification can be exerted. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 This is an explanatory diagram showing an example of the configuration of the information processing system according to the present embodiment.
[0023] Figure 2 This is a functional block diagram showing an example of the structure of an IC card according to the present embodiment.
[0024] Figure 3 This is an explanatory diagram showing an example of the hardware configuration of the IC card according to the present embodiment.
[0025] Figure 4 This is an explanatory diagram showing an example of the hardware structure of a card reader.
[0026] Figure 5 This is an explanatory diagram showing an example of the hardware configuration of a server (information processing device) according to the present embodiment.
[0027] Figure 6 This is an explanatory diagram showing a first example of processing in the information processing system according to the present embodiment.
[0028] Figure 7This is an explanatory diagram showing a second example of the processing in the information processing system according to the present embodiment.
[0029] Figure 8 This is an explanatory diagram showing a second example of the processing in the information processing system according to the present embodiment.
[0030] Fig. 9 This is an explanatory diagram showing a use case in which transaction contents are forged or tampered with in an external device that is a communication partner of an IC card.
[0031] Fig.10 It is an explanatory diagram showing a third example of the processing in the information processing system according to the present embodiment.
[0032] Fig.11 It is an explanatory diagram showing a third example of the processing in the information processing system according to the present embodiment.
[0033] Fig.12 It is an explanatory diagram showing a third example of the processing in the information processing system according to the present embodiment.
[0034] Fig.13 It is an explanatory diagram showing a fourth example of the processing in the information processing system according to the present embodiment.
[0035] Fig.14 It is an explanatory diagram showing a fourth example of the processing in the information processing system according to the present embodiment.
[0036] Fig.15 It is an explanatory diagram showing a fourth example of the processing in the information processing system according to the present embodiment.
[0037] Fig.16 It is an explanatory diagram showing a fifth example of the processing in the information processing system according to the present embodiment. DETAILED DESCRIPTION
[0038] Hereinafter, preferred embodiments of the present disclosure will be described in detail with reference to the accompanying drawings. In addition, in the present specification and the accompanying drawings, in fact, repeated descriptions of structural elements having the same functional structure are omitted by adding the same symbols.
[0039] In addition, the following description will be given in the following order.
[0040] 1. Information processing system according to this embodiment
[0041] [1] Configuration of the information processing system according to the present embodiment
[0042] [1-1] IC card
[0043] [1-2] Card reader
[0044] [1-3] Server (information processing device)
[0045] [1-4] Application examples of each device constituting the information processing system involved in this embodiment.
[0046] [2] Processing in the information processing system according to the present embodiment
[0047] [2-1] First Example of Processing in Information Processing System
[0048] [2-2] Second Example of Processing in Information Processing System
[0049] [2-3] Example 3 of Processing in Information Processing System
[0050] [2-4] Example 4 of processing in the information processing system
[0051] [2-5] Example 5 of Processing in Information Processing System
[0052] [2-6] Example 6 of Processing in Information Processing System
[0053] [2-7] Other Examples of Processing in Information Processing Systems
[0054] 2. Procedures involved in this implementation
[0055] (Information Processing System According to the Present Embodiment)
[0056] [1] Configuration of the information processing system according to the present embodiment
[0057] Figure 1 This is an explanatory diagram showing an example of the configuration of an information processing system 1000 according to the present embodiment. The information processing system 1000 includes, for example, an IC card 100, a card reader 200, and a server 300 (information processing device).
[0058] In addition, the structure of the information processing system involved in this embodiment is not limited to Figure 1 The example shown. For example, the information processing system involved in the present embodiment may have a plurality of IC cards 100. In addition, the information processing system involved in the present embodiment may have a plurality of card readers 200, and may also have a plurality of servers 300. In addition, in the information processing system involved in the present embodiment, the server 300 may also have the function of the card reader 200, in which case, the information processing system involved in the present embodiment may not have the card reader 200. In addition, in the information processing system involved in the present embodiment, the IC card 100 may have the function of the card reader 200, in which case, the information processing system involved in the present embodiment may not have the card reader 200.
[0059] The card reader 200 is a device that communicates with the IC card 100 and has the function of reading data from the IC card 100. The card reader 200 can read data from the IC card 100 and is equivalent to an example of an external device of the IC card 100. In addition, the card reader 200 may also have the function of writing data to the IC card 100. When the card reader 200 also has the data writing function, the card reader 200 can function as a card reader / writer.
[0060] IC card 100 and card reader 200 (an example of an external device of IC card 100, the same below) perform wireless communication through NFC (Near Field Communication) communication (near-field wireless communication) such as Type-A, Type-B, Type-F, etc. When IC card 100 and card reader 200 perform NFC communication, if the user of IC card 100 performs "an operation of moving IC card 100 within the communicable range of card reader 200 (an operation called so-called contact operation or proximity operation)", IC card 100 and card reader 200 can communicate. Therefore, when IC card 100 and card reader 200 perform NFC communication, "the load of the operation of the user of IC card 100 causing IC card 100 to communicate" is relatively small.
[0061] In the information processing system of this embodiment, the IC card 100 and the card reader 200 can communicate through any communication form such as "wireless communication using IEEE802.15.1 such as BLE (Bluetooth Low Energy), wireless communication using IEEE802.11, infrared communication, etc."
[0062] In addition, the IC card 100 and the card reader 200 may also perform wired communication through contact communication via external contact terminals, such as communication via a communication interface based on the ISO7816 standard. When the IC card 100 and the card reader 200 perform contact communication, if the user of the IC card 100 performs an operation of "making the external contact terminal of the IC card 100 and the external contact terminal of the card reader 200 come into contact", the IC card 100 and the card reader 200 can communicate. Therefore, when the IC card 100 and the card reader 200 perform contact communication, the "load of the operation of the user of the IC card 100 causing the IC card 100 to communicate" is relatively small.
[0063] In addition, examples of wired communication are not limited to contact communication via external contact terminals, and may be any wired communication such as communication via USB (Universal Serial Bus).
[0064] The server 300 and the card reader 200 communicate with each other through a wireless or wired connection such as a network (hereinafter referred to as "network communication"). The network involved in this embodiment can be, for example, a wired network such as a LAN (Local Area Network) and a WAN (Wide Area Network), a wireless network such as a WLAN (Wireless Local Area Network), or the Internet using a communication protocol such as TCP / IP (Transmission Control Protocol / Internet Protocol).
[0065] In addition, in the information processing system according to the present embodiment, the server 300 and the card reader 200 can communicate directly without going through a network.
[0066] The server 300 and the IC card 100 can communicate with each other through the card reader 200. That is, in the information processing system 1000, the card reader 200 can function as a relay device for relaying the communication between the server 300 and the IC card 100.
[0067] In addition, in the information processing system involved in this embodiment, the server 300 and the IC card 100 can communicate directly without going through the card reader 200. When the information processing system involved in this embodiment is "a structure in which the server 300 and the IC card 100 communicate directly without going through the card reader 200", for example, the server 300 can be a structure having the function of the card reader 200. That is, the information processing system involved in this embodiment does not need to have a device that functions as a relay device such as the card reader 200.
[0068] Below, as Figure 1 As shown, an example of "the IC card 100 and the card reader 200 perform NFC communication or contact communication, and the server 300 and the card reader 200 perform communication through network communication" is listed. In addition, as described above, the example of communication in the information processing system involved in this embodiment is not limited to Figure 1 Example shown.
[0069] [1-1] IC card 100
[0070] Figure 2 This is a functional block diagram showing an example of the structure of the IC card 100 according to the present embodiment.
[0071] The IC card 100 includes, for example, a communication unit 102 , a storage unit 104 , and a control unit 106 .
[0072] [Example of Hardware Configuration of IC Card 100]
[0073] Figure 3 This is an explanatory diagram showing an example of the hardware configuration of the IC card 100 according to the present embodiment. Figure 3 An example of the hardware configuration of the IC card 100 when communicating with the card reader 200 by NFC communication is shown.
[0074] The IC card 100 includes, for example, an IC chip 150 and an antenna 152. The IC chip 150 and the antenna 152 are communication components included in the IC card 100 and function as a communication unit 102. The IC chip 150 and the antenna 152 perform NFC communication with an external device such as a card reader 200 using a carrier wave of a predetermined frequency such as 13.56 [MHz].
[0075] In addition, as described below, the IC chip 150 functions as the storage unit 104 and the control unit 106 .
[0076] In addition, the IC card 100 may not have Figure 3 The IC chip 150 structure shown is an IC chip form.
[0077] The function of the antenna 152 is to receive a carrier wave and send a response signal.
[0078] The antenna 152 is composed of a resonant circuit composed of, for example, a coil (inductor) L1 having a predetermined inductance and a capacitor C1 having a predetermined capacitance, and generates an induced voltage by electromagnetic induction in accordance with the reception of the carrier. Furthermore, the antenna 152 outputs a received voltage that resonates the induced voltage at a predetermined resonant frequency. Here, the resonant frequency in the antenna 152 is set according to the frequency of the carrier, such as 13.56 [MHz]. With the above structure, the antenna 152 receives the carrier and transmits a response signal by load modulation performed in the IC chip 150.
[0079] The IC chip 150 is used to demodulate and process the carrier signal sent by the card reader 200 or other external device according to the received carrier, and to send a response signal through load modulation.
[0080] IC chip 150 includes, for example, a carrier detection circuit 154, a detection circuit 156, a voltage regulator 158, a demodulation circuit 160, an MPU 162, and a load modulation circuit 164. Figure 3 Although not shown in the figure, the IC chip 150 may also include a protection circuit (not shown in the figure) for preventing overvoltage and overcurrent from being applied to the MPU 162. Here, as the protection circuit (not shown in the figure), for example, a clamp circuit composed of a diode or the like can be cited.
[0081] In addition, the IC chip 150 includes, for example, a ROM 166, a RAM 168, and a nonvolatile memory 170. The MPU 162, the ROM 166, the RAM 168, and the nonvolatile memory 170 are connected via, for example, a bus 172 which is a data transmission channel.
[0082] The carrier detection circuit 154 generates, for example, a rectangular detection signal based on the received voltage transmitted by the antenna 152, and transmits the detection signal to the MPU 162. In addition, the MPU 162 uses the transmitted detection signal as, for example, a processing clock for data processing. Here, the detection signal is based on the received voltage transmitted by the antenna 152, so it is synchronized with the carrier frequency transmitted by the external device such as the card reader 200. Therefore, the IC chip 150 can synchronize the processing with the external device such as the card reader 200 with the external device by having the carrier detection circuit 154.
[0083] The detection circuit 156 rectifies the reception voltage output from the antenna 152. Here, the detection circuit 156 is composed of, for example, a diode D1 and a capacitor C2.
[0084] The regulator 158 smoothes and stabilizes the received voltage, thereby outputting a driving voltage to the MPU 162. Here, the regulator 158 uses a DC component of the received voltage as the driving voltage.
[0085] The demodulation circuit 160 demodulates the carrier signal according to the received voltage and outputs data corresponding to the carrier signal included in the carrier (eg, a binary data signal of a high level and a low level). Here, the demodulation circuit 160 outputs the AC component of the received voltage as data.
[0086] The MPU 162 is driven by the driving voltage output from the regulator 158 as a power source, and performs various processes on the data demodulated by the demodulation circuit 160 . The MPU 162 functions as the control unit 106 .
[0087] In addition, the MPU 162 generates a control signal based on the processing result, and the control signal controls the load modulation related to the response of the external device such as the card reader 200. Then, the MPU 162 outputs the control signal to the load modulation circuit 164.
[0088] The MPU 162 is composed of one or more processors including a calculation circuit such as an MPU (Micro Processing Unit), various processing circuits, and the like.
[0089] The load modulation circuit 164 includes, for example, a load Z and a switch SW1, and selectively connects (activates) the load Z to perform load modulation according to a control signal transmitted from the MPU 162. Here, the load Z is composed of, for example, a resistor having a predetermined resistance value. In addition, the switch SW1 is composed of, for example, a p-channel MOSFET (Metal Oxide Semiconductor Field Effect Transistor) and an n-channel MOSFET.
[0090] ROM 166 stores control data such as programs and calculation parameters used by MPU 162. RAM 168 temporarily stores programs executed by MPU 162, calculation results, execution status, and the like.
[0091] The non-volatile memory 170 is a recording medium that functions as the storage unit 104 and has tamper resistance. The tamper resistance of the non-volatile memory 170 is achieved by any method that makes physical analysis difficult, such as causing the stored content to disappear when exposed to light, randomizing the physical configuration of the storage element, encrypting the storage area and data, or a combination of these methods.
[0092] For example, key information is stored in the nonvolatile memory 170. The key information involved in the present embodiment is a data showing a key paired with a public key or a seed value for generating a key. That is, the key information refers to data showing a key paired with a public key, or data showing a seed value for generating a key. For example, a random sequence is generated from the seed value, and a portion of the generated random sequence is cut to generate a key from the seed value. In addition, it goes without saying that the key generation process based on the seed value is not limited to the above example.
[0093] In addition, the nonvolatile memory 170 can store various data, for example, "data used for processing in the IC card 100 such as history information (hereinafter)", electronic price (money or data having a value equivalent to money), data corresponding to various services, various applications, etc. In addition, among these data, data that will not cause a problem in terms of specifications, design or service leakage can be stored in other recording media (not shown in the figure) that are not tamper-resistant and constitute the storage unit 104.
[0094] The nonvolatile memory 170 constituting the storage unit 104 is a tamper-resistant secure recording medium, and by storing key information in the nonvolatile memory 170, such a secure recording medium, the key information is stored in a more secure state in the IC card 100. Therefore, the IC card 100 can prevent leakage of key information.
[0095] Examples of the nonvolatile memory 170 include EEPROM (Electrically Erasable and Programmable Read Only Memory) and a flash memory.
[0096] IC card 100 is provided by, for example, Figure 3 The hardware structure shown uses a carrier wave of a specified frequency to perform NFC communication with an external device such as a card reader 200.
[0097] In addition, the hardware structure of the IC card 100 is not limited to Figure 3 The structure shown.
[0098] For example, when the IC card 100 is configured to perform contact communication with an external device, the IC card 100 Figure 3 The antenna 152 shown is replaced with an external contact terminal. In addition, it is needless to say that the structure example that can perform contact communication is not limited to the above example.
[0099] In addition, the IC card 100 may be configured to include a communication device corresponding to a corresponding wired communication or wireless communication method. Furthermore, the IC card 100 may be configured to use a variety of communication methods such as NFC communication and contact communication.
[0100] Reference again Figure 2 , an example of the functional structure of the IC card 100 is described. The communication unit 102 communicates with an external device by a communication using a predetermined communication method. The communication of the communication unit 102 is controlled by the control unit 106, for example.
[0101] Here, as the communication unit 102, for example, Figure 3 The IC chip 150 and the antenna 152 shown in the figure may be a device corresponding to NFC communication. The device corresponding to NFC communication may also be a CLF (Contactless Front End) or an NFC controller. In addition, as described above, the communication unit 102 may be a device corresponding to a communication method other than NFC, such as contact communication (wired communication) and wireless communication using IEEE802.15.1.
[0102] The storage unit 104 is a storage component of the IC card 100. The storage unit 104 is configured to include a tamper-resistant recording medium, and the tamper-resistant recording medium can store at least key information. In addition, as described above, the storage unit 104 can also include a non-tamper-resistant recording medium. That is, the storage unit 104 can play the role of "a tamper-resistant storage unit" or "a tamper-resistant storage unit and a non-tamper-resistant storage unit". Examples of the storage unit 104 include Figure 3The non-volatile memory 170 etc. are shown. Figure 2 An example in which the key information 120 is stored in the storage unit 104 is shown. In addition, it goes without saying that the data stored in the storage unit 104 is not limited to the key information 120.
[0103] The control unit 106 is composed of, for example, an MPU, and controls the entire IC card 100. The control unit 106 includes, for example, a processing unit 110, which directs various processes such as the processing examples in the information processing system described below (processing related to the processing method involved in this embodiment).
[0104] In addition, the functional structure of the IC card 100 is not limited to Figure 2 The structure shown.
[0105] For example, the IC card 100 and the control unit 106 may each have the following Figure 2 The processing unit 110 is shown (for example, implemented by other processing circuits).
[0106] In addition, the functional structure of the IC card 100 is not limited to Figure 2 The structure shown can select the functional structure according to the division method of the processing of the IC card 100 described below.
[0107] [1-2] Card reader 200
[0108] The card reader 200 is a device that communicates with the IC card 100 and has a function of reading data from the IC card 100. The card reader 200 also functions as a relay device that relays communication between the relay server 300 and the IC card 100.
[0109] [Hardware Configuration Example of Card Reader 200]
[0110] Figure 4 This is an explanatory diagram showing an example of the hardware configuration of the card reader 200. Figure 4 An example of the hardware configuration of the card reader 200 when communicating with the IC card 100 by NFC communication is shown.
[0111] The card reader 200 includes, for example, an MPU 250, a ROM 252, a RAM 254, a recording medium 256, a communication interface 258, a carrier transmission circuit 260, and an antenna 262. In addition, the card reader 200 is connected to each component through, for example, a bus 264 as a data transmission channel. In addition, the card reader 200 is driven by power provided by an internal power source such as a battery provided in the card reader 200 or power provided by a connected external power source.
[0112] The MPU 250 is composed of one or more processors such as an MPU and various processing circuits, and functions as a control unit (not shown) that controls the entire card reader 200 .
[0113] The ROM 252 stores control data such as programs and calculation parameters used by the MPU 250 . The RAM 254 temporarily stores programs executed by the MPU 250 , for example.
[0114] The recording medium 256 functions as a storage unit (not shown), for example, storing various data of various applications, etc. Here, as the recording medium 256, for example, a magnetic recording medium such as a hard disk and a non-volatile memory such as a flash memory can be cited. In addition, the recording medium 256 can also be loaded and unloaded on the card reader 200.
[0115] The communication interface 258 is a communication component that performs communication in a communication mode possessed by the card reader 200, and performs wireless or wired communication with an external device such as the server 300 through a network (or directly). The communication interface 258 functions as the first communication unit (not shown in the figure) in the card reader 200. Here, as the communication interface 258, for example, a communication antenna and an RF (Radio Frequency) circuit (wireless communication), an IEEE802.15.1 port and a transmitting and receiving circuit (wireless communication), an IEEE802.11 port and a transmitting and receiving circuit (wireless communication), or a LAN terminal and a transmitting and receiving circuit (wired communication), etc. can be listed. In addition, the communication interface 258 can also be an arbitrary structure corresponding to the network involved in this embodiment.
[0116] The carrier transmission circuit 260 and the antenna 262 are communication components for performing other communication methods provided in the card reader 200, and perform NFC communication with external devices such as the IC card 100. The carrier transmission circuit 260 and the antenna 262 function as a second communication unit (not shown) in the card reader 200.
[0117] The antenna 262 is composed of a resonant circuit and a demodulation circuit, for example, a coil having a predetermined inductance as a transmitting / receiving antenna and a capacitor having a predetermined capacitance. Furthermore, the antenna 262 demodulates data transmitted by load modulation or the like from an external device such as the IC card 100 by receiving a carrier wave of a predetermined frequency such as 13.56 [MHz]. In addition, for example, when the carrier wave transmission circuit 260 has a demodulation circuit, the antenna 262 may also be composed of a resonant circuit.
[0118] The carrier transmission circuit 260 includes a modulation circuit that performs modulation such as ASK (Amplitude Shift Keying) and an amplifier circuit that amplifies the output of the modulation circuit, and transmits a carrier wave carrying a carrier signal from the transmitting and receiving antenna of the antenna 262. In addition, the carrier transmission circuit 260 may also include a demodulation circuit that demodulates a signal received by, for example, the antenna 262. The demodulation circuit performs envelope detection on the amplitude change of the voltage between, for example, the modulation circuit (or amplifier circuit) and the resonance circuit of the antenna 262, and demodulates the signal received by the antenna 262 by binarizing the detection signal. In addition, the demodulation circuit can demodulate the signal received by the antenna 262 by using, for example, the phase change of the voltage between the modulation circuit (or amplifier circuit) and the resonance circuit between the antenna 262.
[0119] By having the carrier transmission circuit 260, the card reader 200 has an NFC initiator function and can function as a so-called card reader / writer. Here, as the carrier signal transmitted from the antenna 262 by the carrier transmission circuit 260, various signals such as polling signals and signals indicating various requests such as read requests can be cited. In addition, the carrier transmission circuit 260 controls the transmission of the carrier through, for example, the MPU 250.
[0120] The card reader 200 has, for example, Figure 4 The hardware structure shown in FIG. 1 has the function of reading data from the IC card 100 and can also function as a relay device for communication between the relay server 300 and the IC card 100. In addition, the hardware structure of the card reader 200 is not limited to Figure 4 The structure shown.
[0121] For example, the card reader 200 communicates with an external device through an external communication device having the same function as the communication interface 258 , and in this case, the communication interface 258 may not be provided.
[0122] In addition, when the card reader 200 communicates with an external device through an external communication device having the same functions as the carrier transmission circuit 260 and the antenna 262, the carrier transmission circuit 260 and the antenna 262 may not be provided.
[0123] In addition, when the card reader 200 communicates with an external device through a communication method other than NFC, such as wireless communication using IEEE802.15.1 and contact communication, it is not necessary to have the carrier transmission circuit 260 and the antenna 262. In the above case, the card reader 200 communicates with the external device through a communication device corresponding to a communication method other than NFC, or through an external communication device corresponding to a communication method other than NFC.
[0124] In addition, the card reader 200 may be configured not to include the recording medium 256, for example.
[0125] In addition, the card reader 200 may adopt a hardware structure based on the following application example of the card reader 200. For example, the card reader 200 may also include one or both of a display device and an operation input device.
[0126] In addition, for example, Figure 4 The structure shown (or the structure according to the modified example) may be realized by one or more ICs.
[0127] [1-3] Server 300 (information processing device)
[0128] The server 300 is a device that communicates with the IC card 100 through the card reader 200 (or directly). The server 300 can perform various processes, such as processes performed by communicating with the IC card 100. As an example of the process performed by the server 300, the process related to the process example in the information processing system described below can be listed, for example, the process of verifying the content of the data of the object recorded in the P2P database, that is, the object data (hereinafter, there is a case where it is only represented as "object data"), the process of generating the specified signature data based on the verification result, etc. In addition, the server 300 can also perform settlement processing using electronic prices, etc.
[0129] [Hardware Configuration Example of Server 300]
[0130] Figure 5 This is an explanatory diagram showing an example of the hardware structure of the server 300 involved in this embodiment. The server 300 includes, for example, an MPU 350, a ROM 352, a RAM 354, a recording medium 356, an input / output interface 358, an operation input device 360, a display device 362, and a communication interface 364. In addition, the server 300 is connected to each component through, for example, a bus 366 as a data transmission channel. In addition, the server 300 is driven by power provided by an internal power supply such as a battery provided by the server 300 or power provided by a connected external power supply.
[0131] The MPU 350 is composed of one or more processors such as an MPU and various processing circuits, and functions as a control unit (not shown) that controls the entire server 300. The MPU 350 is responsible for leading various processes such as the processing examples in the following information processing system.
[0132] The ROM 352 stores control data such as programs and calculation parameters used by the MPU 350 . The RAM 354 temporarily stores programs executed by the MPU 350 , for example.
[0133] The recording medium 356 functions as a storage unit (not shown), and stores, for example, data related to the information processing method of the server 300 and various data of various applications. Here, as the recording medium 356, for example, a magnetic recording medium such as a hard disk and a non-volatile memory such as a flash memory can be cited. In addition, the recording medium 356 can also be attached to and detached from the server 300.
[0134] The input / output interface 358 connects, for example, an operation input device 360 and a display device 362. The operation input device 360 functions as an operation unit (not shown in the figure), or the display device 362 functions as a display unit (not shown in the figure). Here, as the input / output interface 358, for example, a USB (Universal Serial Bus) terminal, a DVI (Digital Visual Interface) terminal, an HDMI (High-Definition Multimedia Interface) (registered trademark) terminal, various processing circuits, etc. can be cited.
[0135] The operation input device 360 is disposed on the server 300, for example, and is connected to the input / output interface 358 inside the server 300. The operation input device 360 may be, for example, a button, a direction key, a rotary selection switch such as a dial, or a combination of these.
[0136] The display device 362 is disposed on, for example, the server 300, and is connected to the input / output interface 358 inside the server 300. Examples of the display device 362 include a liquid crystal display and an organic EL display.
[0137] Furthermore, it goes without saying that the input / output interface 358 can be connected to external devices such as an external operation input device (eg, a keyboard and a mouse) and an external display device of the server 300. In addition, the display device 362 can also be a device such as a touch screen that can realize display and user operation.
[0138] The communication interface 364 is a communication component provided by the server 300, and functions as a communication unit (not shown) that performs wireless or wired communication with an external device such as the card reader 200 through a network (or directly). Here, as the communication interface 364, for example, a communication antenna and an RF circuit (wireless communication), an IEEE802.15.1 port and a transmission and reception circuit (wireless communication), an IEEE802.11 port and a transmission and reception circuit (wireless communication), or a LAN terminal and a transmission and reception circuit (wired communication), etc. can be cited. In addition, the communication interface 364 can also be any structure corresponding to the network involved in this embodiment.
[0139] The server 300 uses, for example, Figure 5 The hardware structure shown in the figure performs various processes in the processing example of the information processing system below. In addition, the hardware structure of the server 300 involved in this embodiment is not limited to Figure 5 The structure shown.
[0140] For example, when the server 300 communicates with an external device through a connected external communication device, the communication interface 364 may not be provided. In addition, the communication interface 364 may be configured to communicate with one or more external devices through a plurality of communication methods.
[0141] In addition, the server 300 may have a configuration that does not include part or all of the recording medium 356 , the operation input device 360 , and the display device 362 , for example.
[0142] In addition, the server 300 may adopt, for example, a hardware structure based on an application example of the server 300 described below.
[0143] In addition, for example, Figure 5 A part or all of the hardware configuration (or the configuration according to the modified example) shown may be realized by one or more ICs.
[0144] [1-4] Application examples of each device constituting the information processing system involved in this embodiment.
[0145] In the above content, although the card reader 200 is described as an example as a structural element of the information processing system involved in this embodiment, this embodiment is not limited to the above embodiment. This embodiment can be applied to any device that has at least the function of reading data from an IC card, such as a "card reader / writer", "a device having a card reader / writer function", "a communication device that communicates by wireless communication using IEEE802.15.1 such as BLE", etc. In addition, this embodiment can be applied to, for example, a processing IC that can be installed in the above-mentioned device.
[0146] In addition, although the server 300 is described as an example of a structural element of the information processing system involved in this embodiment, this embodiment is not limited to the above embodiment. This embodiment can be applied to various devices such as "computers such as PCs (Personal Computers) and servers", "tablet-type devices", "communication devices such as smartphones", "game consoles", etc. In addition, this embodiment can be applied to, for example, a processing IC that can be installed in the above-mentioned devices.
[0147] [2] Processing in the information processing system according to the present embodiment
[0148] Below, Figure 1Taking the information processing system 1000 shown as an example, an example of processing in the information processing system according to the present embodiment will be described.
[0149] Below, we take the case where "the P2P database is a P2P database for data transactions of virtual currency, and the object data is transaction data of virtual currency" as an example. In addition, the object data involved in this embodiment is not limited to transaction data of virtual currency. For example, the object data can be any data that can be recorded in the P2P database, such as education-related data (for example, data indicating degrees, grades, qualifications, etc.), contract-related data (for example, data related to smart contracts), etc.
[0150] [2-1] First Example of Processing in Information Processing System
[0151] As described above, when a P2P database is used, the correctness of the data transaction of virtual currency is ensured by adding signature data to the object data and verifying the signature data. However, when the key information is leaked, the signature data can be generated by the key corresponding to the leaked key information, so it is difficult to ensure the correctness of the transaction. Therefore, as described above, a "method that can prevent the leakage of key information and generate signature data corresponding to the object data" is needed.
[0152] Therefore, as described above, in the information processing system 1000, the IC card 100 includes a tamper-resistant recording medium, and the key information is stored in the tamper-resistant recording medium. By storing the key information in a secure recording medium, the key information is stored in the IC card 100 in a more secure state, so the IC card 100 can prevent the leakage of the key information.
[0153] In addition, the IC card 100 generates signature data corresponding to the object data based on the object data obtained by communicating with the card reader 200 and the key corresponding to the key information stored in the secure recording medium. The key corresponding to the key information involved in this embodiment refers to the key shown in the key information or the key generated based on the seed value shown in the key information. The IC card 100 generates signature data corresponding to the object data, for example, by executing a program related to the generation of signature data stored in a recording medium (which may be a secure recording medium or may not be a secure recording medium). For example, the signature data corresponding to the object data is generated, for example, by multiplying the object data by the key. In addition, the method for generating signature data is not limited to the examples in the above content, and can also be generated by any algorithm using object data and a key.
[0154] Furthermore, the IC card 100 transmits data including the generated signature data to the card reader 200 by communicating with the card reader 200. Data including signature data may include, for example, data in which signature data is added to object data (data in which an electronic signature is given to object data). In addition, data including signature data may also be signature data itself.
[0155] The communication with the card reader 200 in the IC card 100 is performed through the communication unit 102. The processing unit 110 performs various processes (processing related to the processing method involved in this embodiment) such as the process of generating signature data based on the key corresponding to the key information of the IC card 100 and the process of controlling the transmission of data including the generated signature data.
[0156] Therefore, the IC card 100 that performs the process according to the first example can prevent leakage of key information and generate signature data corresponding to the object data.
[0157] In addition, when the target data is transaction data of virtual currency, the information processing system 1000 can perform transactions while ensuring the accuracy of virtual currency data transactions by using the IC card 100 that performs the processing involved in Example 1. In this case, the IC card 100 functions as an IC card type hardware wallet.
[0158] Figure 6 This is an explanatory diagram showing a first example of processing in the information processing system 1000 according to the present embodiment. Figure 6 The process after establishing communication between the IC card 100 and the card reader 200 is shown. The communication between the IC card 100 and the card reader 200 is established by a method corresponding to the communication method performed between the IC card 100 and the card reader 200. The same is true for other examples of processing in the information processing system shown below.
[0159] The card reader 200 transmits transaction data (an example of target data) ( S100 ).
[0160] In step S100, the IC card 100 receives the transaction data sent by the card reader 200, and generates signature data corresponding to the transaction data based on the acquired transaction data and the key corresponding to the key information stored in the tamper-resistant recording medium (S102). Hereinafter, there is a case where the key corresponding to the key information stored in the tamper-resistant recording medium is simply represented as "the key corresponding to the key information". In addition, there is a case where the signature data generated based on the key corresponding to the key information is represented as "the signature of the key".
[0161] Then, the IC card 100 transmits data including the generated signature data to the card reader 200 (S104). Hereinafter, data including the signature data may be referred to as "signature".
[0162] In the information processing system 1000, for example, Figure 6 The processing shown is the processing involved in the first example. In addition, it is needless to say that the processing involved in the first example in the information processing system 1000 is not limited to Figure 6 Example shown.
[0163] [2-2] Second Example of Processing in Information Processing System
[0164] For example, assume that the target data is transaction data of virtual currency. In addition, the example of the case where the target data is transaction data of virtual currency shown below can also be applied to the case where the target data is a variety of data other than transaction data of virtual currency.
[0165] There are many types of virtual currencies, and the content of transaction data, encryption method of keys, and signature method vary depending on the virtual currency. In addition, the content of transaction data, encryption method of keys, and signature method may change due to version upgrades of virtual currencies.
[0166] Here, key information showing a seed value is stored in a tamper-resistant recording medium included in the IC card 100 , so that keys corresponding to various encryption methods of virtual currency can be generated from one seed value.
[0167] When the key information showing the seed value is stored in the tamper-resistant recording medium of the IC card 100, the recording medium of the IC card 100 stores the relevant program for generating the key and generating the signature data according to each virtual currency, and the signature data corresponding to each signature method of the virtual currency can be generated by running the program. The recording medium storing the relevant program for generating the key and generating the signature data may be tamper-resistant or not.
[0168] In addition, for example, when key information showing the keys corresponding to the virtual currencies is stored in the tamper-resistant recording medium of the IC card 100, a program for generating signature data is stored in the recording medium of the IC card 100 for each virtual currency, and signature data corresponding to various signature methods of the virtual currency can be generated by running the program. The recording medium storing the program for generating signature data may or may not be tamper-resistant.
[0169] For example, as described above, the IC card 100 stores the key information in a tamper-resistant recording medium, and stores the relevant program for generating the signature data or the relevant program for generating the key and generating the signature data in the recording medium. Moreover, the IC card 100 selects the program corresponding to the transaction data, and generates the signature data corresponding to the transaction data by running the selected program. For example, the IC card 100 selects the program corresponding to the transaction data based on "the identifier contained in the transaction data (for example, an ID indicating the type of transaction, etc.), or the identification data indicating the identifier obtained at the same time as the transaction data (data showing the ID indicating the type of transaction, etc.)". An example of the process related to the selection of the program corresponding to the transaction data is described below.
[0170] Therefore, the IC card 100 can generate signature data based on the type of virtual currency.
[0171] In addition, by updating the relevant programs stored in the recording medium for generating signature data or the relevant programs stored in the recording medium for generating keys and generating signature data, the IC card 100 can also change accordingly when the encryption method of the key and the signing method change due to the version upgrade of the virtual currency.
[0172] Figure 7 2 is an explanatory diagram showing a second example of processing in the information processing system 1000 according to the present embodiment. Figure 6 same, Figure 7 The process after the communication between the IC card 100 and the card reader 200 is established is shown.
[0173] A program for generating signature data or a program for generating a key and signature data is installed in the recording medium of the IC card 100 (S200). The program installation in step S200 includes: newly storing a program in the recording medium of the IC card 100 and updating the program stored in the recording medium.
[0174] The processing of step S200 is performed through a relay device such as the card reader 200 or directly with an external device such as the server 300. The IC card 100 and the external device are authenticated using any encryption method such as a shared key method and a public key method, and the processing of step S200 can be performed after normal authentication is completed.
[0175] and Figure 6 Similar to step S100 in , the card reader 200 sends transaction data (S202).
[0176] In step S200, the IC card 100 receives the transaction data sent by the card reader 200, and generates signature data corresponding to the transaction data based on the acquired transaction data and the key corresponding to the key information stored in the tamper-proof recording medium (S202). Furthermore, the IC card 100 sends the data including the generated signature data to the card reader 200 (S206).
[0177] Figure 8 This is an explanatory diagram showing a second example of processing in the information processing system 1000 according to the present embodiment, and more specifically shows Figure 7 The process of step S202 to the process of step S206 are shown. Figure 8 The following is shown in the figure: “The determination unit 110 included in the IC card 100 performs the Figure 7 The processing of step S204 and the processing of step S206 are shown in FIG. 1 .
[0178] The card reader 200 transmits transaction data (S300).
[0179] For example, the IC card 100 determines the program corresponding to the transaction data based on the transaction data and the "correspondence table (or database) that makes the types of transactions correspond to the programs" stored in the recording medium (S302). If the program corresponding to the transaction data is determined, the IC card 100 generates signature data corresponding to the transaction data by running the determined program (S304).
[0180] Then, the IC card 100 transmits data including the generated signature data to the card reader 200 ( S306 ).
[0181] In the information processing system 1000, for example, Figure 7 , Figure 8 The processing shown is the processing involved in the second example. In addition, it is needless to say that the processing involved in the second example in the information processing system 1000 is not limited to Figure 7 , Figure 8 Example shown.
[0182] [2-3] Example 3 of Processing in Information Processing System
[0183] For example, assume that the target data is transaction data of virtual currency. In addition, the example of the case where the target data is transaction data of virtual currency shown below can also be applied to the case where the target data is data other than transaction data of virtual currency.
[0184] Generally, IC cards do not have a display function. Therefore, if an IC card is used to trade virtual currency, the user of the IC card confirms the transaction content displayed on the display screen of the display device of the external device of the IC card communication object, or the transaction content displayed on the display screen of the display device connected to the external device.
[0185] However, when the transaction contents are forged or tampered with in the external device of the IC card's communication partner, the user of the IC card cannot recognize the forgery or tampering of the transaction contents, and may eventually make illegal remittances.
[0186] Fig. 9 This is an explanatory diagram showing a use case in which transaction contents are forged or tampered with in an external device that is a communication partner of an IC card. Fig. 9 In FIG. 1 , a card reader 10 is shown as an external device that is a communication partner of the IC card 100. Examples of the card reader 10 include terminals installed in stores and communication devices such as smartphones.
[0187] Fig. 9 In the illustrated use case, the transaction content displayed on the display screen of the card reader 10 is tampered with by malware (S10), and transaction data representing the tampered transaction content is sent to the IC card 100 (S12).
[0188] If according to, for example Fig. 9 If signature data is generated from the transaction data sent in step S12, a transaction will be conducted showing the transaction data with tampered transaction contents, resulting in illegal remittance.
[0189] The IC card 100 determines whether the set signature condition is satisfied. For example, the IC card 100 specifies the set signature condition by referring to data showing the signature condition, and the signature condition is stored in a recording medium provided by the IC card 100. The recording medium storing the data showing the signature condition may or may not be tamper-resistant.
[0190] Then, when the IC card 100 determines that the signature condition is satisfied, signature data is generated.
[0191] As the signature condition involved in this embodiment, for example, the first signature condition related to the content indicated by the object data can be listed. If the object data is the transaction data of virtual currency, for example, the following examples can be listed as the first signature condition.
[0192] The amount of virtual currency shown in the transaction content does not exceed the upper limit (or the amount of virtual currency shown in the transaction content is less than the upper limit)
[0193] ·The total amount of virtual currency traded within the specified time does not exceed the upper limit (or the total amount is less than the upper limit)
[0194] The number of transactions within the specified time does not exceed the upper limit (or the number of transactions is less than the upper limit)
[0195] · OR condition of multiple conditions shown above
[0196] In addition, the first signature condition is not limited to the example shown above. For example, when the object data is transaction data of virtual currency, the first signature condition may be "the amount of virtual currency shown in the transaction content is consistent with the amount shown in the data obtained by communicating with the preset trusted external device." As the communication with the preset trusted external device, for example, secure communication directly performed without passing through a relay device such as the card reader 200 can be listed.
[0197] When "the amount of virtual currency shown in the transaction content is consistent with the amount shown in the data obtained by communicating with the preset trusted external device" is the first signature condition, even if the transaction content is forged or tampered with, the IC card 100 will not generate signature data based on the illegal transaction data with forged or tampered transaction content. Therefore, when "the amount of virtual currency shown in the transaction content is consistent with the amount shown in the data obtained by communicating with the preset trusted external device" is the first signature condition, "the IC card 100 has no display function like an ordinary IC card, and when the transaction content is forged or tampered with", it can also prevent the occurrence of illegal remittances.
[0198] The setting of the first signature condition is, for example, set by communication with an external device such as a server 300 through a relay device such as a card reader 200, or by communication with an external device directly performed with the external device. The first signature condition is, for example, set when authentication of any authentication method such as a password and biometrics for authenticating the user of the IC card 100 can be performed normally. In addition, the reset of the total value of the amount of virtual currency within the prescribed time related to the first signature condition and the number of transactions within the prescribed time related to the first signature condition is performed, for example, when authentication of any authentication method is performed normally. In addition, the communication between the IC card 100 and the external device such as the setting of the first signature condition can be encrypted using any encryption method such as a shared key method and a public key method.
[0199] When the signature condition is the first signature condition described above, the IC card 100 determines whether the first signature condition is satisfied based on the transaction data, for example. Then, when the IC card 100 determines that the first signature condition is satisfied, signature data is generated.
[0200] For example, when "the amount of virtual currency shown in the transaction content does not exceed the upper limit value" is the first signature condition, when the amount of virtual currency shown in the transaction data does not exceed the upper limit value, the IC card 100 determines that the first signature condition is satisfied. For example, the upper limit value is "1000", when the amount of virtual currency shown in the transaction data does not exceed "1000", the IC card 100 determines that the first signature condition is satisfied. In addition, the IC card 100 generates signature data corresponding to the transaction data.
[0201] When "the amount of virtual currency indicated in the transaction content does not exceed the upper limit value" is the first signature condition, even if the transaction content is forged or tampered with, the loss of the user of the IC card 100 can be limited to below the upper limit value.
[0202] To take another example, when "the total amount of virtual currency traded within the specified time does not exceed the upper limit value" or "the number of transactions within the specified time does not exceed the upper limit value" is the first signature condition, the IC card 100 determines whether the first signature condition is met based on the transaction data and the historical record information stored in the recording medium possessed by the IC card 100.
[0203] The historical record information involved in this embodiment is data representing the generation history record of the signature data. For example, the historical record information may include data corresponding to the generation time of the signature data (e.g., data showing the generation time) and data showing the content represented by the object data corresponding to the signature data (e.g., data showing the transaction content). In addition, the historical record information may also include data corresponding to the transaction object (e.g., address, etc.). When generating the signature data, the IC card 100 records the historical record information corresponding to the generated signature data in the recording medium (the recording medium constituting the storage unit 104) possessed by the IC card 100.
[0204] For example, when "the total value of the amount of virtual currency traded within a specified time does not exceed the upper limit value" is the first signature condition, the IC card 100 specifies the data showing the time from the history information stored in the recording medium, and the data includes the signature data generation time within the specified time. The IC card 100 specifies the specified time based on, for example, the processing time or the acquisition time of the transaction data. Then, the IC card 100 specifies the data showing the transaction content corresponding to the data showing the specified time from the history information, and calculates the "total value of the amount of virtual currency traded within the specified time" based on the transaction content displayed by the data representing the specified transaction content and the amount of virtual currency displayed by the transaction data. And, when the calculated total value does not exceed the upper limit value, the IC card 100 determines that the first signature condition is satisfied, and generates signature data corresponding to the transaction data. For example, when the upper limit value is "100000", and the calculated total value does not exceed "100000", the IC card 100 determines that the first signature condition is satisfied. And, the IC card 100 generates signature data corresponding to the transaction data.
[0205] When "the total amount of virtual currency traded within a specified time does not exceed the upper limit" is the first signature condition, even if the transaction content is forged or tampered with, the loss suffered by the IC card 100 user can be limited to below the upper limit.
[0206] In addition, for example, when "the number of transactions within the specified time does not exceed the upper limit value" is the first signature condition, the IC card 100 specifies the data of the display time from the historical record information recorded in the recording medium, and the data includes the signature data generation time within the specified time. Then, the IC card 100 calculates the number of transactions based on the number of data displaying the specified time data plus the number of times the signature data accompanying the acquired transaction data is generated 1. Moreover, when the calculated number of transactions does not exceed the upper limit value, the IC card 100 determines that the first signature condition is satisfied and generates signature data corresponding to the transaction data. For example, when the upper limit value is "10" and the calculated number of transactions does not exceed "10", the IC card 100 determines that the first signature condition is satisfied. Moreover, the IC card 100 generates signature data corresponding to the transaction data.
[0207] When "the number of transactions within a predetermined time does not exceed an upper limit value" is the first signature condition, even if the IC card 100 is illegally used by a third party other than the user, the number of illegal uses can be controlled.
[0208] As shown in the above example, IC card 100 determines whether to meet the first signature condition according to object data or according to object data and history information, and generates signature data if it is determined to meet the first signature condition. In addition, it is needless to say that the generation example of signature data based on the first signature condition is not limited to the above example.
[0209] In addition, the processing when the signature conditions include the first signature condition is not limited to the above example.
[0210] For example, when the IC card 100 does not determine that the first signature condition is satisfied, data indicating that the signature data is generated incorrectly is sent to an external device for sending transaction data. Below, there is a case where data indicating that the signature data is generated incorrectly is simply indicated as "error". In this case, the IC card 100 may not generate signature data corresponding to the transaction data.
[0211] In addition, for example, when the signature condition further includes a second signature condition related to the specified authentication, if the first signature condition is not determined to be satisfied, the IC card 100 determines whether the second signature condition is satisfied based on data obtained from an external device such as the card reader 200.
[0212] As the second signature condition, for example, a signature condition related to verification of the specified signature data, such as "verification of the signature data corresponding to the specified external device is completed normally". For example, when the IC card 100 verifies the signature data included in the acquired data using the public key stored in the tamper-resistant recording medium possessed by the IC card 100, it is determined that the second signature condition is satisfied. The device corresponding to the public key stored in the tamper-resistant recording medium, that is, the device that generates signature data using the key paired with the public key, is equivalent to the specified external device of the second signature condition.
[0213] The second signature data is not limited to the above example. For example, the second signature condition may be "the authentication of the user by any authentication method such as a password or biometrics of the IC card 100 is completed normally."
[0214] When it is determined that the second signature condition is satisfied, the IC card 100 generates signature data. At this time, signature data can be generated regardless of whether the first signature condition is satisfied. That is, signature data can be generated based on the generation of signature data that satisfies the second signature condition without satisfying the first signature condition, except for the generation of signature data of the IC card 100.
[0215] When it is determined that the second signature condition is not satisfied, the IC card 100 transmits an authentication request for requesting a predetermined authentication to an external device such as the card reader 200 .
[0216] The authentication request involved in this embodiment changes according to the second signature condition. For example, when "the verification of the signature data corresponding to the specified external device is completed normally" is the second signature condition, the authentication request includes a command to send the signature data corresponding to the specified external device and data displaying the specified external device (for example, data displaying the IP address and public key, etc.). For another example, when "the authentication of any authentication method such as password and biometric identification for authenticating the user by the authentication IC card 100 is completed normally" is the second signature condition, the authentication request includes data displaying the authentication command and the authentication content.
[0217] When data is acquired from an external device such as the card reader 200 within a specified time after sending the authentication request, the IC card 100 determines again whether the second signature condition is satisfied based on the acquired data. The specified time may be a set fixed time or a time for a conversation with the external device.
[0218] When the second signature condition is determined to be satisfied by the secondary determination, the IC card 100 generates signature data. In addition, when the second signature data is not determined to be satisfied by the secondary determination, the IC card 100 sends data indicating that the signature data is generated incorrectly to the external device that sends the data. In addition, when the second signature data is not determined to be satisfied by the secondary determination, the IC card 100 sends the authentication request again.
[0219] Furthermore, the processing of the IC card 100 after sending the authentication request is not limited to the above example.
[0220] For example, the IC card 100 may perform the determination of the first signature condition and the determination of the second signature condition again. When performing the determination of the first signature condition and the determination of the second signature condition again, the IC card 100 performs the same processing as the first time. When performing the determination of the first signature condition and the determination of the second signature condition again, when performing the same processing as the first time, as described above, when it is determined that the first signature condition is satisfied or when it is determined that the second signature condition is satisfied, signature data is generated. In addition, when performing the determination of the first signature condition and the determination of the second signature condition again, the IC card 100 may generate signature data only when the first signature condition and the second signature condition are satisfied at the same time.
[0221] Fig.10 1 is an explanatory diagram showing a third example of processing in the information processing system 1000 according to the present embodiment. Figure 6 same, Fig.10 The process after the communication between the IC card 100 and the card reader 200 is established is shown.
[0222] The signature condition is set in the recording medium included in the IC card 100 (S400). Fig.10, an example of setting "the amount of virtual currency shown in the transaction content does not exceed $10" as the first signature condition is shown.
[0223] and Figure 6 The same as step S100 in , the card reader 200 sends the transaction data (S402). Step S402 shows an example in which the transaction content displayed by the transaction data satisfies the first signature condition. Therefore, in step S402, the IC card 100 receives the transaction data sent by the card reader 200, generates signature data corresponding to the transaction data, and sends the data including the generated signature data to the card reader 200 (S404).
[0224] and Figure 6 The same as step S100 in , the card reader 200 sends the transaction data (S404). Step S404 shows an example in which the transaction content shown by the transaction data does not satisfy the first signature condition. Therefore, in step S406, the IC card 100 receives the transaction data sent by the card reader 200, and sends data showing the generation error of the signature data to the card reader 200 (S408).
[0225] Fig.11 1 is an explanatory diagram showing a third example of processing in the information processing system 1000 according to the present embodiment. Fig.10 compared to, Fig.11 The processing of the IC card 100 is shown in more detail. Fig.11 “An example of the processing of the IC card 100 is performed by the determination unit and the signature unit constituting the processing unit 110 included in the IC card 100.” is displayed. Fig.11 In the signature history information, the signature history information is represented as "signature history".
[0226] The card reader 200 transmits transaction data (S500).
[0227] The IC card 100 refers to the signature condition and history information stored in the recording medium (S502, S504), and determines whether the transaction content displayed by the transaction data satisfies the first signature condition (S506).
[0228] When it is determined in step S506 that the first signature condition is satisfied, the IC card 100 generates signature data corresponding to the transaction data based on the acquired transaction data and the key corresponding to the key information stored in the tamper-resistant recording medium (S508). In addition, the IC card 100 records the history information corresponding to the generated signature data in the recording medium constituting the storage unit 104 (S510). Furthermore, the IC card 100 sends the data including the generated signature data to the card reader 200 (S512).
[0229] When it is determined in step S506 that the first signature condition is not satisfied, the IC card 100 transmits data indicating that a generation error of the signature data is found to be present to the card reader 200 (S512).
[0230] Furthermore, when it is determined in step S506 that the first signature condition is not satisfied, the IC card 100 may transmit an authentication request to the card reader 200 (S512).
[0231] Fig.12 It is an explanatory diagram showing a third example of the processing in the information processing system 1000 according to the present embodiment. Fig.12 Shows Fig.11 An example of processing when sending an authentication request in step S512. Fig.12 An example of “processing of the IC card 100 performed by the verification unit, the determination unit, and the signature unit constituting the processing unit 110 included in the IC card 100 ” is shown.
[0232] The card reader 200 sends authentication data and transaction data ( S600 , S602 ).
[0233] The IC card 100 that receives the authentication data sent by the card reader 200 in step S600 verifies the received authentication data (S604). For example, when the authentication data is signature data, the IC card 100 verifies the signature data using a public key stored in a recording medium provided in the IC card 100.
[0234] With Fig.11 The steps S502 to S506 are the same. In step S602, the IC card 100 receives the transaction data sent by the card reader 200, and determines whether the transaction content displayed in the transaction data satisfies the first signature condition with reference to the signature condition, and determines whether the second signature condition is satisfied based on the verification result of step S604 (S606, S608).
[0235] Based on the determination result in step S608, the IC card 100 generates signature data corresponding to the transaction data according to the acquired transaction data and the key corresponding to the key information stored in the tamper-resistant recording medium (S610). For example, when the IC card 100 determines that the first signature condition is satisfied or when the IC card 100 determines that the second signature condition is satisfied, the signature data corresponding to the transaction data is generated. In addition, for example, the IC card 100 may generate signature data only when the first signature condition and the second signature condition are satisfied at the same time.
[0236] In addition, although Fig.12 Not shown, but related to Fig.11 Similar to step S510 , the IC card 100 may record the history information corresponding to the generated signature data in the recording medium constituting the storage unit 104 .
[0237] When signature data corresponding to the transaction data is generated in step S610, that is, when it is determined that the signature condition is satisfied, the IC card 100 sends data including the generated signature data to the card reader 200 (S612). In addition, when signature data corresponding to the transaction data is not generated in step S610, that is, when it is determined that the signature condition is not satisfied, the IC card 100 sends data indicating that the signature data is generated incorrectly to the card reader 200 (S612).
[0238] In the information processing system 1000, for example, Figure 10 to Figure 12 The processing shown is the processing involved in the third example. In addition, it is needless to say that the processing involved in the third example in the information processing system 1000 is not limited to Figure 10 to Figure 12 Example shown.
[0239] [2-4] Example 4 of processing in the information processing system
[0240] In addition, "as referenced Fig. 9 The "processing that can reduce the impact of forgery or tampering of the object data content, as in the application example of illegal remittance described above" is not limited to the processing of the third example in the above-mentioned information processing system 1000. Next, the processing of the fourth example will be described by giving an example in which the object data is transaction data of virtual currency, similar to the processing of the third example of the above-mentioned information processing system.
[0241] For example, "the transaction content displayed in the transaction data is verified by a preset trusted device (external device of IC card 100) to ensure that the content of the transaction data is not forged or tampered with." Even if IC card 100 does not determine whether the first signature condition related to the content displayed in the object data is met, the impact of forgery or tampering of the object data content can be reduced.
[0242] Here, the IC card 100 determines whether a second signature condition related to a predetermined authentication (an example of a set signature condition) is satisfied.
[0243] Then, when the IC card 100 determines that the second signature condition is satisfied, signature data is generated. The second signature condition related to the process according to the fourth example may be "normal completion of verification of signature data corresponding to a predetermined external device".
[0244] For example, when the IC card 100 verifies the signature data included in the acquired data using the public key stored in the tamper-resistant recording medium of the IC card 100, it is determined that the second signature condition is satisfied. The device corresponding to the public key stored in the tamper-resistant recording medium, that is, the device that generates signature data using the key paired with the public key, is equivalent to the external device specified in the second signature condition. In addition, the external device specified in the second signature condition is equivalent to the preset trusted device.
[0245] In addition, for example, when it is determined that the second signature condition is not satisfied, the IC card 100 sends data indicating a generation error of the signature data to an external device such as the card reader 200, similar to the process in the third example. In addition, for example, when it is determined that the second signature condition is not satisfied, the IC card 100 may send an authentication request to an external device, similar to the process in the third example.
[0246] The processing of the fourth example of the IC card 100 is not limited to the above example. For example, similar to the processing example of the third example, the IC card 100 may generate signature data when both the first signature condition and the second signature condition are satisfied.
[0247] Next, an example of processing in the fourth example in the information processing system 1000 is described by taking an example in which the external device specified in the second signature condition, that is, the preset trusted device is the server 300.
[0248] Fig.13 It is an explanatory diagram showing a fourth example of the processing in the information processing system 1000 according to the present embodiment. Fig.13 In the example, the server 300 may represent a preset trusted device. For convenience, the server 300 may be written as a “trusted server”.
[0249] The card reader 200 sends the transaction data to the server 300 ( S700 ).
[0250] The server 300 that receives the transaction data sent by the card reader 200 in step S700 verifies the transaction data, generates signature data corresponding to the server 300 during normal verification, and sends the generated signature data to the card reader 200 (S702). For example, the server 300 verifies the transaction data by determining whether the signature condition is satisfied, as in the process of the IC card 100 in the third example. In addition, for example, the server 300 generates signature data corresponding to the transaction data based on the transaction data and the key corresponding to the server 300. In the following, there is a case where the signature data corresponding to the transaction data generated in the server 300 is expressed as "signature data corresponding to the server 300" or "server signature".
[0251] In addition, further, the server 300 can authenticate the device that sends the transaction data based on one or both of the ID of the card reader 200 that sends the transaction data and the ID (e.g., the store ID) that shows the location where the card reader 200 is set. For example, the server 300 authenticates the device that sends the transaction data by comparing the white list or the black list with the ID of the card reader 200 that sends the transaction data. When authenticating the device that sends the transaction data, if the authentication of the device that sends the transaction data is completed normally, the server 300 can generate signature data corresponding to the server 300.
[0252] In step S702 , the card reader 200 receives the signature data corresponding to the server 300 sent by the server 300 , and sends the transaction data and the signature data corresponding to the server 300 to the IC card 100 ( S704 ).
[0253] In addition, the card reader 200 can further authenticate the device that sends the signature data based on the ID of the server 300 that sends the signature data. For example, the card reader 200 authenticates the device that sends the signature data by comparing the white list or the black list with the ID of the server 300. When authenticating the device that sends the signature data, if the authentication of the device that sends the signature data is completed normally, the card reader 200 sends the transaction data and the signature data corresponding to the server 300 to the IC card 100.
[0254] In step S704, IC card 100 receives data sent by card reader 200 and verifies signature data corresponding to server 300 included in the received data (S706). For example, IC card 100 verifies signature data using a public key stored in a recording medium provided in IC card 100.
[0255] For example, "in step S706, when the signature data corresponding to the server 300 is verified, and the content of the transaction data obtained as a result of the verification is consistent with the content of the transaction data included in the received data", the IC card 100 generates signature data corresponding to the transaction data based on the acquired transaction content and the key corresponding to the key information stored in the tamper-proof recording medium (S708). Furthermore, the IC card 100 sends the data including the generated signature data to the card reader 200 (S710).
[0256] In addition, for example, "when the signature data corresponding to the server 300 is not verified in step S706" or "when the content of the transaction data obtained as a verification result is inconsistent with the content of the transaction data included in the received data", the IC card 100 can send data showing the generation error of the signature data to the card reader 200.
[0257] Fig.14 1 is an explanatory diagram showing a fourth example of processing in the information processing system 1000 according to the present embodiment. Fig.13 compared to, Fig.14 More specific display Fig.13 The processing in the information processing system 1000 shown in FIG. Fig.14 The example of “the processing of the server 300 is performed by the determination unit and the signature unit constituting the control unit of the server 300” is shown. Fig.14It also shows an example of "an IC card 100 process performed by a verification unit, a determination unit, and a signature unit constituting a processing unit 110 of the IC card 100". In addition, Fig.14 An example is shown in which the IC card 100 generates signature data when both the first signature condition and the second signature condition are satisfied.
[0258] The card reader 200 sends the transaction data to the server 300 ( S800 ).
[0259] For example, similar to the processing of the IC card 100 in the third example, the server 300 receiving the transaction data sent by the card reader 200 in step S800 determines whether the signature condition is satisfied (S802). In addition, the signature condition of the server 300 may include "a device that can authenticate the sending of transaction data". For example, when the signature condition includes "a device that can authenticate the sending of transaction data", the server 300 authenticates the card reader 200 (an example of a device that sends transaction data) based on the ID of the card reader 200 sent by the card reader 200.
[0260] The server 300 selectively generates signature data corresponding to the server 300 according to the determination result of step S802 (S804). When the server 300 determines in step S802 that the signature condition is satisfied, the server 300 generates signature data corresponding to the server 300 based on the transaction data and the key corresponding to the server 300. In the following, there is a case where the signature data corresponding to the server 300 is expressed as "authentication data".
[0261] If the signature data corresponding to the server 300 is generated in step S804, the server 300 transmits the signature data corresponding to the server 300 to the card reader 200 (S806).
[0262] In step S806 , the card reader 200 receives the signature data corresponding to the server 300 sent by the server 300 , and sends the signature data corresponding to the server 300 and the transaction data to the IC card 100 ( S808 , S810 ).
[0263] In step S808, IC card 100 receives signature data corresponding to server 300 sent by card reader 200, and verifies the received signature data corresponding to server 300 (S812). For example, IC card 100 verifies signature data using a public key stored in a recording medium possessed by IC card 100.
[0264] For example, with Fig.12In step S810, the IC card 100 receives the transaction data sent by the card reader 200, and determines whether the transaction content displayed in the transaction data meets the first signature condition with reference to the signature condition, and determines whether the second signature condition is met based on the verification result of step S604 (S814, S816).
[0265] According to the determination result of step S816, the IC card 100 generates signature data corresponding to the transaction data based on the acquired transaction data and the key corresponding to the key information stored in the tamper-resistant recording medium (S818). For example, when the first signature condition and the second signature condition are satisfied at the same time, the IC card 100 generates signature data. In addition, for example, when it is determined that the second signature condition is satisfied, the IC card 100 can generate signature data corresponding to the transaction data.
[0266] In addition, although Fig.14 Not shown, but related to Fig.11 Similar to step S510 in , the IC card 100 can record the history information corresponding to the generated signature data in the recording medium constituting the storage unit 104.
[0267] When the signature data corresponding to the transaction data is generated in step S818, that is, when it is determined that the signature condition is satisfied, the IC card 100 sends data including the generated signature data to the card reader 200 (S820). In addition, when the signature data corresponding to the transaction data is not generated in step S818, that is, when it is determined that the signature condition is not satisfied, the IC card 100 sends data indicating that the signature data is generated incorrectly to the card reader 200 (S820).
[0268] In addition, the processing involved in the fourth example in the information processing system 1000 is not limited to Fig.13 , Fig.14 Example shown.
[0269] For example, similar to the processing of the IC card 100 in the third example described above, the server 300 sends an authentication request to the external device, and signature data corresponding to the server 300 can be selectively generated based on the authentication result of the authentication request.
[0270] The server 300 sends an authentication request to, for example, a device corresponding to the ID of the IC card 100, an email address corresponding to the ID of the IC card 100, an account of an SNS (Social Networking Service) corresponding to the ID of the IC card 100, an application corresponding to the ID of the IC card 100, etc. As the device corresponding to the ID of the IC card 100, there can be listed a device that the user of the IC card 100 can carry, such as a smartphone (hereinafter referred to as a "user terminal"). For example, the server 300 communicates with the IC card 100 through a relay device such as a card reader 200 or directly communicates with the IC card 100 to obtain the ID of the IC card 100.
[0271] As authentication for the authentication request, for example, authentication by pressing a confirmation key in an application running on a user terminal, authentication by any authentication method such as a password and biometrics that can authenticate the user of the IC card 100 can be cited. In addition, authentication for the authentication request is not limited to authentication of the user of the IC card 100. For example, authentication for the authentication request can be authentication of a person corresponding to the user, such as a protector and guardian of the user of the IC card 100. As authentication of a person corresponding to the user, authentication such as a password and biometrics and verification of signature data of a device corresponding to the person corresponding to the user can be cited.
[0272] Fig.15 1 is an explanatory diagram showing a fourth example of processing in the information processing system 1000 according to the present embodiment. Fig.13 Same, in Fig.15 In the example, the server 300 is a preset trusted device. For convenience, the server 300 is represented as a "trusted server". Fig.15 An example is shown in which the device to which the authentication request is transmitted is the “user terminal 400 ”.
[0273] The card reader 200 sends transaction data to the server 300 ( S900 ).
[0274] In step S900, the server 300 and Fig.13 The same as step S702 in , receiving the transaction data sent by the card reader 200, verifying the transaction data, and sending an authentication request to the user terminal 400 according to the verification result (S902).
[0275] The user terminal 400 that receives the authentication request sent by the server 300 in step S902 performs authentication using a method corresponding to the authentication request (S904). Furthermore, the user terminal 400 sends the authentication result in step S904 to the server 300 (S906).
[0276] In step S906, the server 300 receives the authentication result sent by the user terminal 400, generates signature data corresponding to the server 300 when the authentication result is normal authentication, and sends the generated signature data to the card reader 200 (S908). Fig.13 Similarly, the server 300 can authenticate the device sending the transaction data based on the ID of the card reader 200 sending the transaction data.
[0277] In step S908, the card reader 200 receives the signature data corresponding to the server 300 sent by the server 300, and sends the transaction data and the signature data corresponding to the server 300 to the IC card 100 (S910). Fig.13 The same as the example in, the card reader 200 can authenticate the device sending the signature data according to the ID of the server 300 that sends the signature data.
[0278] For example, with Fig.13 Similar to step S706 in , in step S910, the IC card 100 receives the data sent by the card reader 200 and verifies the signature data corresponding to the server 300 included in the received data (S912).
[0279] For example, "in step S912, when the signature data corresponding to the server 300 is verified, and the transaction data content obtained as a result of the verification is consistent with the transaction content included in the received data", the IC card 100 generates signature data corresponding to the transaction data based on the acquired transaction data and the key corresponding to the key information stored in the tamper-resistant recording medium (S914). Furthermore, the IC card 100 sends the data including the generated signature data to the card reader 200 (S916).
[0280] In addition, for example, "when the signature data corresponding to the server 300 is not verified in step S912" or "when the transaction content as a verification result is inconsistent with the content of the transaction data included in the received data", the IC card 100 can send data showing the generation error of the signature data to the card reader 200.
[0281] In the information processing system 1000, for example, Figure 13 to Figure 15 The processing shown is the processing involved in the fourth example. In addition, it is needless to say that the processing involved in the fourth example in the information processing system 1000 is not limited to Figure 13 to Figure 15 Example shown.
[0282] [2-5] Example 5 of Processing in Information Processing System
[0283] In addition, "with reference Fig. 9The “processing that can reduce the impact of forgery or tampering of the object data content” is similar to the use case of illegal remittance described above and is not limited to the processing of the third example in the above-mentioned information processing system 1000 and the processing of the fourth example in the above-mentioned information processing system 1000.
[0284] For example, in the information processing system 1000 , each of the IC card 100 and the server 300 may transmit an authentication request to an external device.
[0285] Fig.16 It is an explanatory diagram showing a fifth example of the processing in the information processing system according to the present embodiment.
[0286] The card reader 200 sends transaction data (S1000).
[0287] For example, similar to the processing of the IC card 100 in the third example, the IC card 100 that receives the transaction data transmitted by the card reader 200 in step S1000 determines whether the signature condition is satisfied (S1002).
[0288] When it is determined that the signature condition is not satisfied in step S1002, the IC card 100 sends an authentication request to the card reader 200 (S1004).
[0289] In step S1004 , the card reader 200 receives the authentication request sent by the IC card 100 , and sends the authentication request to the server 300 ( S1006 ). At this time, the card reader 200 may further send the transaction data to the server 300 .
[0290] For example, similar to the processing of the server 300 in the fourth example, in step S1006, the server 300 receives the authentication request sent by the card reader 200 and determines whether the signature condition is satisfied (S1008).
[0291] When it is determined that the signature condition is not satisfied in step S1008 , the server 300 sends an authentication request to the user terminal 400 ( S1010 ). At this time, the server 300 further sends the transaction data to the user terminal 400 .
[0292] For example, with Fig.15 The same as step S904 in step S1010, in step S1010, the user terminal 400 receiving the authentication request sent by the server 300 performs authentication (S1012). Moreover, the user terminal 400 sends the authentication result to the server 300 (S1014). At this time, further, the user terminal 400 can send authentication data (such as signature data) based on the authentication to the server 300.
[0293] For example, with Fig.15The same as step S908, in step S1014, the server 300 receives the sending result sent by the user terminal 400, generates signature data corresponding to the server 300 when displaying the normal verification result (S1016), and sends the generated signature data to the card reader 200 (S1018). At this time, the server 300 can further send the authentication data obtained by the user terminal 400 to the card reader 200.
[0294] In step S1018, the card reader 200 receives the signature data corresponding to the server 300 sent by the server 300, and sends the transaction data and the signature data corresponding to the server 300 to the IC card 100 (S1020). At this time, the card reader 200 can further send the authentication data obtained from the user terminal 400 to the IC card 100.
[0295] For example, with Fig.14 Similar to step S816 in step S1020, the IC card 100 receiving the data sent by the card reader 200 determines whether the signature condition is satisfied (S1022). Fig.14 When the signature condition is determined to be satisfied in step S1022, the IC card 100 generates signature data (S1024). The IC card 100 sends the data including the generated signature data to the card reader 200 (S1026).
[0296] In the information processing system 1000, for example, Fig.16 The processing shown is the processing involved in the fifth example.
[0297] In addition, the processing involved in the fifth example in the information processing system 1000 is not limited to Fig.16 For example, the IC card 100 may send multiple authentication requests for authenticating each of the multiple external devices to the card reader 200. When the IC card 100 sends multiple authentication requests, the IC card 100 selectively generates signature data based on the verification results of the multiple authentication data corresponding to each of the multiple authentication requests. At this time, the IC card 100 may generate signature data when authenticating all the authentication data corresponding to the multiple authentication requests, and may also generate signature data when verifying a portion of the authentication data corresponding to the multiple authentication requests.
[0298] [2-6] Example 6 of Processing in Information Processing System
[0299] In the information processing system 1000 , “a combination of two or more processes that can be combined among the processes of the first example in the information processing system 1000 to the processes of the fifth example in the information processing system 1000 ” can be performed.
[0300] For example, the information processing system 1000 can perform "a combination of any one of the processing of the third example in the information processing system 1000 to the processing of the fifth example in the information processing system 1000 and the processing of the second example in the information processing system 1000". In this case, the IC card 100 can reduce the impact of forgery and tampering of the object data content, and at the same time, can flexibly deal with any object data by running the program corresponding to the object data.
[0301] [2-7] Other Examples of Processing in Information Processing Systems
[0302] In addition, the processing of the information processing system 1000 is not limited to the processing of the first example in the information processing system 1000 to the processing of the sixth example in the information processing system 1000. For example, in the information processing system 1000, in addition to each of the processing of the first example in the information processing system 1000 to the processing of the sixth example in the information processing system 1000, the processing shown in the following (a) and (b) can also be performed.
[0303] (a)
[0304] For example, Figure 1 When the IC card 100 and the server 300 communicate through the card reader 200 or directly, the IC card 100 and the server 300 initially perform mutual authentication by a prescribed method such as a shared key method, and after completing mutual authentication, various data transmission and reception and other related communications can be performed. At this time, from the perspective of the IC card 100, the server 300 that normally completes mutual authentication is equivalent to a preset trusted device.
[0305] That is, when relevant communications such as sending and receiving of various data can be performed after mutual authentication is completed, the IC card 100 can perform object data related processing such as the above-mentioned transaction data related processing example by using communication between trusted devices.
[0306] Therefore, when related communications such as sending and receiving of various data can be performed after mutual authentication is completed, the processing in the information processing system 1000 can be more secure.
[0307] In addition, "mutual authentication using a shared key, and after mutual authentication, various data transmission and reception and other related communications are performed" is achieved through communication such as Type-F NFC. Therefore, the structure of performing various data transmission and reception and other related communications after mutual authentication exists in the information processing system 1000, which is relatively easy to implement.
[0308] (b)
[0309] As described in (a) above, when the IC card 100 and the server 300 have completed mutual authentication normally and are communicating to send and receive various data, the server 300 can selectively perform related processing of the IC card 100 based on the ID of the IC card 100 obtained from the IC card 100.
[0310] The ID of the IC card 100 may be, for example, an ID unique to the IC card 100 such as a manufacturer ID. Alternatively, the ID of the IC card 100 may be an ID added to the IC card 100 by a service provider that provides a service corresponding to the IC card 100.
[0311] For example, the server 300 determines whether the IC card 100 is the object of the process based on the acquired ID of the IC card 100 and the "table (or database) storing the correspondence between the ID of the IC card 100 and the data (or flag) indicating whether the process can be executed." The content of the data indicating whether the process can be executed is, for example, changed by the approval or disapproval application of the IC card 100 user to the administrator of the management server 300 (for example, the operator providing the service, etc.).
[0312] If it is determined that the processing is to be executed, the server 300 performs the processing related to the IC card 100. If it is not determined that the processing is to be executed, the server 300 does not perform the processing related to the IC card 100.
[0313] For example, as described above, by selectively performing the processing related to the IC card 100, the control of the IC card 100 account using the ID of the IC card 100 can be realized.
[0314] In addition, when the data related to the user of the IC card 100 is stored in the table storing the ID of the IC card 100, the server 300 can notify the user. The user-related data includes data showing the notification destination such as an email address and an SNS account.
[0315] For example, when the execution of the processing related to the IC card 100 is restricted by the application of the user of the IC card 100, if the communication is performed with the IC card 100, the server 300 does not execute the processing related to the IC card 100, and notifies the contact person who displays the user-related data that the IC card 100 is being used. As shown above, through the notification, the user of the IC card 100 can find that the IC card 100 is being used illegally.
[0316] (Procedures according to this embodiment)
[0317] [I] Program for making the IC card involved in this embodiment function
[0318] A program that enables a computer to function as an IC card involved in this embodiment (for example, a program that can implement the functions of processing unit 110) is run in the computer through a processor, etc., thereby preventing the leakage of key information and generating signature data corresponding to the object data of the object recorded in the P2P database.
[0319] In addition, a program that causes a computer to function as the IC card involved in this embodiment is executed by a processor or the like in the computer, so that the functions that should be played by the processing of the information processing system 1000 in the above-mentioned examples can be played.
[0320] [II] Program for enabling the server (information processing device) involved in this embodiment to function
[0321] A program that enables a computer to function as a server (information processing device) involved in this embodiment (for example, a program that can implement the control unit function of the server 300) is executed in the computer through a processor, etc., so that the processing of the information processing system 1000 in each related example of the above-mentioned server 300 can play the role that should be played.
[0322] The above content describes the best implementation of the present disclosure in detail with reference to the accompanying drawings, but the technical scope of the present disclosure is not limited to the examples involved. Those skilled in the art of the present disclosure should understand that all changes or improvements that can be thought of within the technical concept described in the scope of the claims should fall within the technical scope of the present disclosure.
[0323] For example, as described above, the present disclosure provides a program (computer program) for causing a computer to function as an IC card according to the present embodiment. However, the present embodiment may also provide a recording medium storing the program.
[0324] The above-described structure is only an example of the present embodiment and should belong to the technical scope of the present disclosure.
[0325] In addition, the effects described in this specification are only for illustration or example purposes and are not limiting. That is, in addition to the above effects or effects replacing the above effects, the technology involved in this disclosure also has other effects that can be imagined by those skilled in the art through the description of this specification.
[0326] In addition, the following structures also belong to the technical scope of the present disclosure. (1)
[0328] An IC card having:
[0329] A communication unit for communicating with an external device;
[0330] having a tamper-proof storage unit for storing key information indicating a key paired with a public key or a seed value for generating the key;
[0331] The processing unit generates signature data corresponding to the object data based on the object data obtained from the external device through communication by the communication unit and recorded in the P2P database and the key corresponding to the key information, and controls to send the data including the generated signature data to the external device through communication by the communication unit. (2)
[0333] The IC card according to (1), wherein the tamper-resistant storage unit or the non-tamper-resistant storage unit stores a program related to generating the signature data or a program related to generating the key and generating the signature data;
[0334] The processing unit specifies the program corresponding to the target data, and generates the signature data by running the specified program. (3)
[0336] The IC card according to (1) or (2),
[0337] The processing unit determines whether the set signature condition is met.
[0338] When it is determined that the signature condition is satisfied, the signature data is generated. (4)
[0340] According to the IC card described in (3),
[0341] The signature condition includes a first signature condition related to the content displayed by the object data,
[0342] The processing unit determines whether the first signature condition is satisfied based on the object data.
[0343] When it is determined that the first signature condition is satisfied, the signature data is generated. (5)
[0345] According to the IC card described in (4), the tamper-resistant storage unit or the non-tamper-resistant storage unit stores history information showing the generation history of the signature data,
[0346] The processing unit further determines whether a first signature condition is satisfied based on the history information. (6)
[0348] According to the IC card described in (5), when generating the signature data, the processing unit records the history information corresponding to the generated signature data in the tamper-resistant storage unit or the non-tamper-resistant storage unit. (7)
[0350] According to the IC card described in any one of (4) to (6), when it is determined that the first signature condition is not satisfied, the processing unit controls to transmit data indicating a generation error of the signature data to the external device through communication by the communication unit. (8)
[0352] According to any one of (4) to (6), the signature condition includes a second signature condition that specifies authentication.
[0353] The processing unit,
[0354] When it is determined that the first signature condition is not satisfied, determining whether the second signature condition is satisfied based on data acquired from the external device through communication by the communication unit;
[0355] When it is determined that the second signature condition is satisfied, the signature data is generated.
[0356] When it is determined that the second signature condition is not satisfied, control is performed so that an authentication request for the predetermined authentication is transmitted to an external device through communication by the communication unit. (9)
[0358] The IC card according to any one of (4) to (8),
[0359] The object data is transaction data of virtual currency,
[0360] The first signature condition includes:
[0361] The amount of virtual currency displayed in the transaction content of the transaction data does not exceed the upper limit or the amount of virtual currency displayed in the transaction content is less than the upper limit,
[0362] The total amount of virtual currency traded within the specified time does not exceed the upper limit or the total amount is less than the upper limit,
[0363] The number of transactions within a specified time period does not exceed an upper limit, or the number of transactions is less than an upper limit, either one or a combination thereof. (10)
[0365] According to the IC card described in (3), the signature condition includes a second signature condition that specifies authentication.
[0366] The processing unit,
[0367] determining whether a second signature condition is satisfied based on data acquired from the external device through communication by the communication unit,
[0368] When it is determined that the second signature condition is satisfied, the signature data is generated. (11)
[0370] According to the IC card described in (10), when it is determined that the second signature condition is not satisfied, the processing unit controls to transmit data indicating a generation error of the signature data to the external device through communication by the communication unit. (12)
[0372] According to the IC card described in (10), when it is determined that the second signature condition is not satisfied, the processing unit controls to transmit an authentication request for the predetermined authentication to the external device through communication by the communication unit. (13)
[0374] According to any one of (1) to (12), the target data is transaction data of virtual currency. (14)
[0376] According to any one of (1) to (13), the communication unit performs wireless communication with an external device. (15)
[0378] According to the IC card described in (14), the wireless communication is NFC (Near Field Communication) communication. (16)
[0380] In the IC card according to any one of (1) to (13), the communication unit performs wired communication with an external device. (17)
[0382] According to the IC card described in (16), the wired communication is contact communication via an external contact terminal. (18)
[0384] A processing method performed by an IC card, comprising:
[0385] a step of communicating with an external device; a step of generating signature data corresponding to the object data based on the object data acquired from the external device and recorded in the P2P database and the key stored in a tamper-resistant recording medium and corresponding to the key paired with the display and public key or the key information for generating the seed value of the key by the communication in the communicating step;
[0386] A step of controlling the data including the signature data generated in the generating step to be sent to the external device through the communication in the communicating step. (19)
[0388] An information processing system,
[0389] have
[0390] IC card,
[0391] and an information processing device for verifying the contents of the object data recorded in the P2P database and generating prescribed signature data based on the verification result;
[0392] The IC card has:
[0393] A communication unit for communicating with external devices;
[0394] having a tamper-proof storage unit for storing key information indicating a key paired with a public key or a seed value for generating the key;
[0395] a processing unit that generates signature data corresponding to the object data based on the object data acquired from the external device by communication of the communication unit and the secret key corresponding to the key information, and controls so that the generated data including the signature data is sent to the external device by communication of the communication unit;
[0396] The processing unit
[0397] determining whether a signature condition related to verification of the specified signature data corresponding to the information processing device is satisfied,
[0398] When it is determined that the signature condition is satisfied, the signature data corresponding to the object data is generated.
[0399] Explanation of symbols
[0400] 10,200 card readers
[0401] 100 IC card
[0402] 102 Ministry of Communications
[0403] 104 Storage
[0404] 106 Control Department
[0405] 110 Processing Department
[0406] 300 Servers
[0407] 400 User Terminal
[0408] 1000 Information Processing Systems
Claims
1. An IC card having: A communication unit for communicating with an external device; having a tamper-proof storage unit for storing key information indicating a key paired with a public key or a seed value for generating the key; a processing unit that generates signature data corresponding to the object data based on the object data acquired from the external device by communication of the communication unit and recorded in the P2P database and the key corresponding to the key information, and controls to send data including the generated signature data to the external device by communication of the communication unit, in, The processing unit determines whether a set signature condition is satisfied, and generates the signature data when it is determined that the signature condition is satisfied. wherein the signature condition includes a first signature condition related to the content displayed by the object data, the processing unit determines whether the first signature condition is satisfied based on the object data, and generates the signature data when it is determined that the first signature condition is satisfied. The tamper-proof storage unit or the non-tamper-proof storage unit stores history information showing the generation history of the signature data, and the processing unit further determines whether the first signature condition is satisfied based on the history information, and The signature condition further includes a second signature condition related to the specified authentication. The processing unit, When it is determined that the first signature condition is not satisfied, determining whether the second signature condition is satisfied based on data acquired from the external device through communication by the communication unit; When it is determined that the second signature condition is satisfied, the signature data is generated. When it is determined that the second signature condition is not satisfied, control is performed so that an authentication request for the predetermined authentication is transmitted to an external device through communication by the communication unit.
2. The IC card according to claim 1, wherein the tamper-resistant storage unit or the non-tamper-resistant storage unit stores a program for generating the signature data or a program for generating the key and generating the signature data; The processing unit specifies the program corresponding to the target data, and generates the signature data by running the specified program.
3. According to the IC card of claim 1, when generating the signature data, the processing unit records the history information corresponding to the generated signature data in the tamper-proof storage unit or the non-tamper-proof storage unit.
4. According to the IC card of claim 1, when it is determined that the first signature condition is not satisfied, the processing unit controls to send data indicating a generation error of the signature data to the external device through communication by the communication unit.
5. The IC card according to claim 1, The object data is transaction data of virtual currency, The first signature condition include: The amount of virtual currency displayed in the transaction content of the transaction data does not exceed the upper limit or the amount of virtual currency displayed in the transaction content is less than the upper limit, The total amount of virtual currency traded within the specified time does not exceed the upper limit or the total amount is less than the upper limit, The number of transactions within a specified time period does not exceed an upper limit, or the number of transactions is less than an upper limit, either one or a combination thereof.
6. The IC card according to claim 1, The processing unit, determining whether a second signature condition is satisfied based on data acquired from the external device through communication by the communication unit, When it is determined that the second signature condition is satisfied, the signature data is generated.
7. The IC card according to claim 6, When it is determined that the second signature condition is not satisfied, the processing unit controls to transmit data indicating a generation error of the signature data to the external device through communication by the communication unit.
8. The IC card according to claim 1, wherein the target data is transaction data of virtual currency.
9. The IC card according to claim 1, wherein the communication unit performs wireless communication with an external device. 10 . The IC card according to claim 9 , wherein the wireless communication is NFC (Near Field Communication) communication.
11. The IC card according to claim 1, wherein the communication unit performs wired communication with an external device. 12 . The IC card according to claim 11 , wherein the wired communication is contact communication via an external contact terminal.
13. A processing method executed by an IC card, comprising: The step of communicating with an external device; A step of generating signature data corresponding to the object data based on the object data acquired from the external device by the communication in the communicating step and recorded in the P2P database, and the key stored in the tamper-resistant storage unit and corresponding to the key information of the key paired with the display and public key or the seed value for generating the key; a step of controlling the data including the signature data generated in the generating step to be sent to the external device through the communication in the communicating step, in, determining whether a set signature condition is satisfied, and generating the signature data when it is determined that the signature condition is satisfied, wherein the signature condition includes a first signature condition related to the content displayed by the object data, determining whether the first signature condition is satisfied based on the object data, and generating the signature data when it is determined that the first signature condition is satisfied. The tamper-proof storage unit or the non-tamper-proof storage unit stores history information showing the generation history of the signature data, and further determines whether the first signature condition is satisfied based on the history information, and The signature condition further includes a second signature condition related to the specified authentication. The method also has: When it is determined that the first signature condition is not satisfied, a step of determining whether the second signature condition is satisfied based on data acquired from the external device through the communication in the communication step; When it is determined that the second signature condition is satisfied, the step of generating the signature data, When it is determined that the second signature condition is not satisfied, control is performed so that an authentication request for requesting the predetermined authentication is transmitted to an external device through the communication in the communication step.
14. An information processing system having IC card, and an information processing device that verifies the contents of the object data recorded in the P2P database and generates prescribed signature data based on the verification result; The IC card has: A communication unit for communicating with an external device; having a tamper-proof storage unit for storing key information indicating a key paired with a public key or a seed value for generating the key; a processing unit that generates signature data corresponding to the object data based on the object data acquired from the external device by communication of the communication unit and the secret key corresponding to the key information, and performs control so that data including the generated signature data is sent to the external device by communication of the communication unit; The processing unit determining whether a signature condition related to verification of the specified signature data corresponding to the information processing device is satisfied, When it is determined that the signature condition is satisfied, the signature data corresponding to the object data is generated, wherein the signature condition includes a first signature condition related to the content displayed by the object data, the processing unit determines whether the first signature condition is satisfied based on the object data, and generates the signature data when it is determined that the first signature condition is satisfied. The tamper-proof storage unit or the non-tamper-proof storage unit stores history information showing the generation history of the signature data, and the processing unit further determines whether the first signature condition is satisfied based on the history information, and The signature condition further includes a second signature condition related to the specified authentication. The processing unit, When it is determined that the first signature condition is not satisfied, determining whether the second signature condition is satisfied based on data acquired from the external device through communication by the communication unit; When it is determined that the second signature condition is satisfied, the signature data is generated. When it is determined that the second signature condition is not satisfied, control is performed so that an authentication request for the predetermined authentication is transmitted to an external device through communication by the communication unit.
