Request processing system

JP2023153138A5Active Publication Date: 2024-10-02FREEBIT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2023117820
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2020-12-25
Filing Date
2023-07-19
Publication Date
2024-10-02
Estimated Expiration
2041-11-30

AI Technical Summary

Technical Problem

The management of smart key systems for vehicles is often reliant on specific service providers, leading to potential service discontinuation and high costs, which can burden users, and storing public keys on servers consumes significant storage space.

Method used

A request processing system that uses a first device and a second device for authentication without sharing the actual public key, employing unique public key data and open key cryptographic data to verify sincerity, with the public key data stored on a communication network, preferably using a blockchain system.

Benefits of technology

This system reduces the storage burden on servers by using smaller public key data, ensuring universal service continuity without relying on specific service providers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

SOLUTION: There is provided a request processing system that is configured to cause a second device to receive a request transmitted from a first device and to execute the request, in which the first device has: means for writing generated unique data for identifying the first device in a specified address on a communication network and request transmission means for transmitting a signed request signed by a secret key, and a public key to the second device, and the second device has: means for reading the unique data for identifying the first device; means for generating public key data capable of uniquely identifying the public key from the received public key, determining whether the public key data is included in downloaded unique data for identifying the first device, and authenticating the first device by verifying the signature of the signed request based on the public key received from the first device and key-opening encryption data included in the downloaded unique data for identifying the first device based on the determination; and means for executing the verified request based on the authentication of the first device.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a request processing system and method for processing requests for locking and unlocking vehicles, houses, lockers, etc. using electronic devices such as smart keys.

Background Art

[0002] The practical application of smart key systems for locking or unlocking doors of vehicles, lockers, etc. without using physical keys has been promoted, and the following technologies are available as prior arts.

Prior Art Documents

Patent Documents

[0003]

Patent Document 1

Patent Document 2

Summary of the Invention

Problems to be Solved by the Invention

[0004] Here, according to certain statistics, the average service life of automobiles in Japan in 2017 was 12.91 years. In contrast, for smart keys that lock and unlock vehicles, it is common for specific private companies to manage the system, and there is no guarantee that management services can be continuously provided over the entire service life of the automobile. Also, if the cost of managing the smart key is too high, the burden will be too great and it will be difficult to continue the service.

[0005] The present invention has been made in view of such circumstances, and an object of the present invention is to provide a system that can provide services more generally without relying on a specific service provider in a request processing device that processes requests between a smart key and an in-vehicle device.

Means for Solving the Problems

[0006] To achieve the above objective, the inventors, considering that storing the actual public key on a server would strain storage space when using a technology to authenticate the first and second devices using a public key, conceived of a device that can perform accurate authentication without sharing the public key over the network, and completed the present invention through sincere verification.

[0007] In other words, according to the first main aspect of the present invention, the following invention is provided.

[0008] (1) Having a first device and a second device associated with the first device, A request processing system that receives and executes a request sent from a first device at a second device, The first apparatus described above, Means for holding unique private and public keys, Means for generating first device identification unique data, which includes public key data that can uniquely identify the public key and is smaller in size than the public key, and open key cryptographic data that can uniquely identify the open key cryptographic information, Means for writing the generated unique data for identifying the first device to a predetermined address on the communication network, A request transmission means that transmits a signed request signed with the private key and the public key to the second device. It has the following characteristics: The second device is Means for reading the first device identification unique data written to the predetermined address, A means for authenticating the first device by generating public key data that can uniquely identify the public key from the public key received from the first device, determining whether this public key data is included in the downloaded unique data for identifying the first device, and verifying the signature of the signed request based on the public key received from the first device and the open-key cryptographic data included in the downloaded unique data for identifying the first device, Based on the authentication of the first device, means for executing the verified request and A request processing system having the following features.

[0009] With this configuration, when a request is sent from the first device to the second device, the public key is sent to the second device along with the request. The second device then generates a small public key data that can uniquely identify the public key, compares it with unique data retrieved from a predetermined address on the network, and verifies the signature made to the request using specific open key data, thereby authenticating the user terminal.

[0010] According to this, the actual public key can be sent directly from the first device to the second device. Therefore, the information to be shared does not need to be the public key itself; instead, a smaller "public key data" file can be placed at a designated address on the network. This has the effect of not putting pressure on the storage space of the server that manages smart keys, etc.

[0011] In this embodiment, it is preferable that the first device is a smart key, and the second device is an in-vehicle device mounted on a vehicle that controls the unlocking and locking of the vehicle upon request from the first device.

[0012] Furthermore, according to another embodiment of the present invention, the public key data is preferably a hash value generated by transforming the public key using a hash function, and more preferably the last 20 bytes of this hash value, which is a public key address used in a blockchain system.

[0013] According to another further embodiment of this invention, the unique data for identifying the first device is preferably written to the address of an Ethereum smart contract. This ensures universality of code storage by storing the user terminal unique identification code on the blockchain network.

[0014] According to still another embodiment of the present invention, it is preferable that the system transmits information for identifying the first device to the predetermined address in order to authenticate the writing authority by the first device.

[0015] In addition, features of the present invention other than those described above can be understood by those skilled in the art by referring to the description of the embodiments of the present invention described below and the attached drawings.

Brief Description of the Drawings

[0016] [Figure 1] FIG. 1 is an overall configuration diagram showing a system according to an embodiment of the present invention. [Figure 2] FIG. 2 is also a system configuration diagram showing a smart key.

[0017] [Figure 3] FIG. 3 is also a schematic configuration diagram showing an in-vehicle device.

[0018] [Figure 4] FIG. 4 is also a schematic configuration diagram showing a control unit of the in-vehicle device.

[0019] [Figure 5] FIG. 5 is also a system configuration diagram showing a smart key management server.

[0020] [Figure 6] FIG. 6 is also a flowchart showing a process of setting a smart contract address.

[0021] [Figure 7] FIG. 7 is also a flowchart showing a process of issuing a user terminal unique identification code.

[0022] [Figure 8] FIG. 8 is also a schematic diagram showing a user interface of the smart key.

[0023] [Figure 9] Figure 9 is an explanatory diagram illustrating the structure of the user terminal-specific identification code. [Figure 10] Figure 10 is a flowchart illustrating the request transmission process.

[0024] [Figure 11] Figure 11 is a flowchart illustrating the request processing steps. [Modes for carrying out the invention]

[0025] Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

[0026] Figure 1 is an overall configuration diagram showing an example in which the request processing system of the present invention is applied to a smart key system 1 that locks and unlocks vehicle doors.

[0027] (Overall structure) This smart key system 1 comprises one or more user terminals 2 (corresponding to the "first device" in this invention), a smart contract 4 (the "predetermined address on the network" in this invention) connected to the user terminals 2 via the internet 3 (corresponding to the "network" in this invention), an in-vehicle device 5 mounted in a vehicle (corresponding to the "second device" in this invention), and a smart key management server 6 for managing this smart key system 1.

[0028] In this smart key system 1, the user terminal 2 pre-writes a user terminal-specific identification code (unique data for identifying the first device) 7 to the smart contract 4 (A). Meanwhile, the in-vehicle device 5 retrieves the user terminal-specific identification code 7 from the smart contract 4 (B) and stores it in the user terminal 2. When a vehicle user sends a specific request to the in-vehicle device 5 of the vehicle using their own user terminal 2 (C), the in-vehicle device 5 is configured to authenticate the user terminal 2 using the user terminal-specific identification code 7.

[0029] (Smart contract) Here, the smart contract 4 is a computer protocol built on Ethereum, and it is a mechanism in which, once the contract and its performance conditions are programmed in advance, a transaction is automatically executed when the contract conditions are met.

[0030] Ethereum is structured to record the execution history of smart contracts on a blockchain within a peer-to-peer network called the Ethereum Network. Ethereum has a tunable programming language for writing smart contracts, and network participants can write and execute any smart contract on the blockchain on this network. This mechanism makes it possible to run programs and share their results using the entire peer-to-peer network as the execution environment, without relying on a specific central governing body.

[0031] (User terminal) The user terminal 2 is typically a smartphone, but may also be a tablet or other computer device.

[0032] Furthermore, in this embodiment, three types of users who use this user terminal 2 are defined: the vehicle owner, their family, and the car-sharing user. For example, in a car-sharing service, the operator running the car-sharing business is the vehicle owner, and those who share the vehicle are car-sharing users who only use the vehicle. Similarly, in a car rental service, the operator running the car rental business is the vehicle owner, and those who rent the vehicle are car-sharing users who utilize the vehicle. In the case of a private car, the person whose name is registered on the vehicle is the owner, and the family members who drive the vehicle are the users who utilize the vehicle.

[0033] In this embodiment, as will be explained in detail later, the permissions that allow writing to smart contract 4 are differentiated depending on the user type.

[0034] (In-vehicle device) The in-vehicle device 5 is an electronic device mounted in a vehicle that has the function of controlling the locking or unlocking of the vehicle's doors. In addition to the above function, the in-vehicle device 5 may also have other functions, such as a highway toll payment function, navigation, audio, and visual functions.

[0035] In this embodiment, each in-vehicle device 5 is assigned a unique address (smart contract address) for the smart contract 4, and the user terminal 2 writes the user terminal unique identification code 7 to this smart contract address (shown as A in Figure 1). The in-vehicle device 5 then retrieves and stores the written user terminal unique identification code 7 (shown as B in Figure 1). When the in-vehicle device 5 receives a signed request and a public key from the user terminal 2 (shown as C in Figure 1), it compares the user terminal identification code 7 with the public key and verifies the signature of the signed request (unlocking or locking) to authenticate the user terminal 2, and then processes the request as appropriate.

[0036] (Smart key management server) Furthermore, the smart key management server 6, which is operated by the applicant, for example, has the function of generating a smart contract 4 for each in-vehicle device on the blockchain, and also has the function of setting the address of the smart contract on the user terminal 2 and the in-vehicle device 5.

[0037] The configurations of each device, from 2 to 6, are described in detail below.

[0038] (Detailed configuration of the user terminal) Figure 2 is a schematic diagram showing user terminal 2.

[0039] The user terminal 2 has a CPU 10, RAM 11, and an input / output unit 12 connected to a bus 13, to which a data storage unit 14 and a program storage unit 15 are connected. In this embodiment, the input / output unit 12 is connected to a request input device 16, such as a button, keyboard, or touchscreen, for inputting requests to the in-vehicle device 5, a network communication device 17 for communicating with the network 3, and an in-vehicle device wireless communication device 18.

[0040] (Data storage section) The data storage unit 14 stores, to name only the data relevant to this invention, the user's private key and public key 20, user ID 21 (Ethereum address in this embodiment), user type 22 (owner, family, share), user key attributes 23 (key expiration date, etc.), unlocking cryptographic information 24, user terminal unique identification code 7, request command information 26 (unlock, lock, etc.), and smart contract address 27 (Ethereum address).

[0041] (Program storage section) Furthermore, the program storage unit 15 stores, to list only the components relevant to this invention, a user private key / public key generation unit 28, a user authentication unit 29, a public key address generation unit 30, a user terminal unique identification code generation unit 31, a unique identification code transmission unit 32, a request reception unit 33, a signed request generation unit 34, and a signed request / public key transmission unit 35.

[0042] Specifically, the data storage unit 14 and the program storage unit 15 are the auxiliary storage devices (HDD or SSD) of the user terminal 2. Furthermore, some or all of the functional units 29 to 35 stored in the program storage unit 15 are configured as the "Smart Key App 19" (see Figure 1) installed on the user terminal 2. When this app 19 is installed, space is reserved in the auxiliary storage device of the user terminal 2 for storing the information 20 to 27 of the data storage unit 14.

[0043] The information 20-27 in the data storage unit 14 may be the tables of the database and the values ​​stored therein, or they may be directly written as programs to the functional units 29-35 stored in the program storage unit 15. Furthermore, since the user's private key needs to be managed in the most secure way possible, it is preferable to store it in a secure element provided by the user terminal (smartphone, etc.).

[0044] The functional units 29 to 35 stored in the program storage unit 15 are called, expanded, and executed on RAM 11 as appropriate by the CPU 10, thereby functioning as the respective components described in the claims of this application.

[0045] (In-vehicle device) Figure 3 is a schematic diagram showing the in-vehicle device 5.

[0046] The in-vehicle device 5 includes a control unit 41, a transmitting / receiving unit 42 connected to the control unit 41, an operation unit 43, a display unit 44, and an audio output unit 45. The transmitting unit 42 is equipped with an antenna 40 for direct wireless communication with the user terminal 2, and is also capable of connecting to the internet 3 for communication with the smart contract 4 and the smart key management server 6.

[0047] Figure 4 is a functional block diagram showing the configuration implemented in the control unit 41.

[0048] This control unit 41 includes a user terminal unique identification code receiving unit 47, a signed request / public key receiving unit 48, a public key address generation unit 49, a user terminal authentication unit 50, and a request processing unit 51. Furthermore, this control unit 41 is capable of storing the smart contract address 27 and the user terminal unique identification code 7 in its memory.

[0049] (Smart key management server) Figure 5 is a simplified functional block diagram showing the smart key management server 6.

[0050] The smart key management server 6, showing only the components relevant to this invention, includes a vehicle / in-vehicle device management unit 53, a smart contract issuing unit 54, a smart contract address storage unit 55, and a user ID receiving unit 56.

[0051] The above configuration will be explained in detail below through its operation.

[0052] (Installation and activation of smart apps) First, if the user terminal is a smartphone or the like, the system shown in Figure 2 is configured by installing and activating the smart key app 19 described above. In this embodiment, during installation and activation, a user ID is set in the smart key app 19, and based on this user ID, the user private key / public key generation unit 28 generates a user private key / public key 20 and stores it in the data storage unit 14.

[0053] The private and public keys may be generated using the user terminal's operating system, or they may be generated on another device (such as the smart key management server 6).

[0054] (Generating smart contracts) Figure 6 is a flowchart showing the smart contract issuance process in the smart key management server 6.

[0055] First, the user ID receiving unit 56 receives the user ID 21 from the user terminal 2 (step S1).

[0056] Next, the smart contract issuing unit 54 refers to the information of the in-vehicle device stored in the vehicle / in-vehicle device management unit 53 and issues a smart contract for each vehicle / in-vehicle device (step S2). At this time, the user ID received above is specified as the user type: owner via the parameters of the constructor of the smart contract 4.

[0057] Once the smart contract 4 is issued, the Ethereum network generates a smart contract address (Ethereum address) 27, which is then associated with the vehicle / in-vehicle device and stored in the contract address storage unit 55 (step S3). This generated address becomes the unique identifier of the smart contract.

[0058] Next, the address 27 of this smart contract is registered with the smartphone app 19 (smart key) on the car owner's user terminal 2 and the in-vehicle device 5 (step S4) (see Figures 2 and 4). The specific registration method varies depending on the system, but it can be done online or offline.

[0059] As a result, the in-vehicle device 5 and the user terminal 2 share the same smart contract address 27, making it possible to read data written to a specific smart contract 4, and also to write data to smart contract 4 if authorized by referring to the user ID 21.

[0060] In this embodiment, each user has an Ethereum address, which is used as the user ID.

[0061] (User authentication on the user terminal) Figure 7 is a flowchart showing the operation on user terminal 2.

[0062] First, the user authentication unit 29 performs user authentication on the user terminal 2 (step S5).

[0063] In this embodiment, user authentication utilizes password or biometric authentication performed by the OS of terminal 2. It is also possible to configure the system so that users have a member account with the smart key management server 6; in this case, users may log in to their member account using a predetermined ID and password.

[0064] If authentication by the user authentication unit 29 is successful, the smart key application 19 displays a user interface 58 on the user terminal 2, as shown in Figure 8(a).

[0065] (Generation of public key address by the user terminal) When the user presses the code initialization button (corresponding to the request input device) shown as 60 in the figure on the user interface 58, the public key address generation unit 30 and the unique identification code generation unit 31 refer to the user's private key and public key 20 to generate a public key address smaller than the number of bytes in the public key, and then use this public address to generate the user terminal unique identification code 7 (steps S6 to S10).

[0066] The operation of the public key address generation unit 30 and the unique identification code generation unit 31 can be explained as follows, using the case where the public key cryptographic algorithm is ECDSA as an example.

[0067] First, the public key address generation unit 30 extracts the public key (step S6). The ECDSA public key is 65 bytes long.

[0068] Next, the public key address generation unit 30 hashes the ECDSA public key using a hash function (Keccak-256) to generate a 256-bit (32-byte) hash value (step S7). Then, it extracts the latter 20 bytes from the 32-byte hash value as the "public key address" (step S8).

[0069] One reason for setting the data size of the public key address to 20 bytes in this embodiment is that it has been verified as one of the minimum sizes sufficient to uniquely identify the public key. Therefore, the public key address may be less than 20 bytes, or of course, larger than 20 bytes, as long as the objective is achieved.

[0070] (Generation of unique identification codes by the user terminal) If a public key address is generated as described above, the user terminal unique identification code generation unit 31 concatenates the open key cryptographic information 24 (a unique identifier for the signature scheme and the parameters of the signature scheme) with this public key address and stores it as a single value, the user terminal unique identification code 7 (steps S9, S10).

[0071] Specifically, as shown in Figure 9, the public key address 62 (20 bytes) is concatenated with the unlock information (a unique identifier for the signature scheme and a unique identifier for the signature scheme parameters (in the case of ECC, "1.2.840.10045.2.1" and "1.3.132.0.10" respectively) to form a single value, which is then binary encoded to generate and store an individual identification code value. In this embodiment, the specific data format used is the X.509 SubjectPublicKeyInfo (SPKI) format encoded with ASN.1 DER.

[0072] With the configuration described above, the smaller the actual public key size can be, the smaller the overall SPKI unique identifier code 7 size will be, and the storage area in the smart contract can be reduced from, for example, 3 slots to 2 slots (in this embodiment).

[0073] It should be noted that public key data typically does not contain the open-key cryptography information (the public-key cryptography method and parameters) used to generate the public key. Therefore, even if you share only the public key, if you don't know the context or cryptographic information of that public key, having the actual public key data is meaningless because you won't know how to use it.

[0074] When sharing the public key of an Ethereum user account, only the actual public key data can be shared. This is because the public key cryptography information (method: ECC, parameters: secp256k1) is fixed within the context (Ethereum specification).

[0075] In contrast, the smart key system according to the embodiment of the present invention requires that multiple public-key cryptography methods be supported as the signing method for signed requests, which will be explained later, and / or that the public-key cryptography information is not limited by the context. When sharing a public key in such an environment, it is necessary to share the public-key cryptography information as well.

[0076] Furthermore, theoretically, it is possible to share the public key address 62 and the open-key encryption information 63 separately. However, since this is inconvenient, in this example, the public-key encryption information and the actual public key data are generated and shared as a single value (code) (see Figure 9).

[0077] (Writing of unique identification codes by the user terminal) Next, the unique identification code transmission unit 32 refers to the smart contract address 27 and writes the unique identification code 7 generated above to the smart contract 4 (step S11).

[0078] In this embodiment, the unique identification code transmission unit 32 also writes the following information in addition to the code (step S11). • User ID (In this embodiment, the Ethereum address of the user's wallet is used as the user ID) • User type (owner, family, share, etc.) • User key attributes (e.g., key validity period, vehicle speed limit when unlocked with this key, etc., in a proprietary binary data format encoded with DER).

[0079] By writing these four values ​​into smart contract 4, it becomes possible to specify who (user address), with what authority (user type), with what key (user key), and for what time period (user key attributes) the car can be opened.

[0080] In this embodiment, a single smart contract 4 can store "user information" for one car owner (type: owner) and "user information" for multiple users (type: family, shared, etc.).

[0081] Furthermore, only users with a user ID of the user type "Owner" can write to smart contacts.

[0082] In this embodiment, the authentication method for the user rights described above is configured to use the traditional authentication method of Ethereum.

[0083] Specifically, authentication is performed through the following steps.

[0084] (a) The Ethereum network recovers the public key from the transaction signature and transaction data.

[0085] (i) The Ethereum network generates the user's Ethereum address (user ID) from the restored public key.

[0086] (c) The Ethereum network passes the generated Ethereum address to the smart contract as the sender address of the transaction.

[0087] (e) Finally, the car smart contract examines the sender address of the transaction received by the smart contract. If it matches the user ID (Ethereum address) of user type: owner, it permits the write transaction; otherwise, it does not permit the transaction.

[0088] In this embodiment, the code is generated by the application 19 installed on the user terminal 2, but the external smart key management server 6 may also encode the code, and may also perform the writing to the smart contract 4, which will be explained later.

[0089] (Sending of signed requests by the user's terminal) Next, the request sending operation by user terminal 2 will be explained with reference to the flowchart shown in Figure 10.

[0090] First, once the unique identification code 7 has been written to the smart contract using the interface in Figure 8(a), pressing the main screen button 65 will display the request command input interface shown by 64 in Figure 8(b).

[0091] In this example, the possible requests shown are unlock 66, lock 67, start the engine 68, and open the trunk 69. However, these are not the only requests that can be entered.

[0092] Then, when the user presses any of the buttons, the request is accepted (step S12), and the request command information 26 corresponding to that button is retrieved from the data storage unit 14, and a signed request is generated by the signed request generation unit 34 (step S13). Specifically, an electronic signature is created by encoding the request using the private key in the user private key / public key information, and a signed request including this electronic signature is generated.

[0093] Next, the signed request transmission unit 35 transmits a signed request and a public key to the in-vehicle device 5 for the use of the vehicle (step S14). This request may also include vehicle usage conditions (e.g., usage date and time) in addition to the request itself. This signed request and public key are transmitted wirelessly to the in-vehicle device 5 through the vehicle communication device.

[0094] Furthermore, the transmission method is not limited to wireless communication; for example, it may be transmitted to the in-vehicle device 5 via a public wireless network.

[0095] (Operation of in-vehicle equipment) Next, the operation of the in-vehicle device 5 will be explained with reference to the flowchart in Figure 11.

[0096] First, as explained above, it is assumed that the address 27 of the smart contract issued by the smart key management server 6 is set in this in-vehicle device 5. This address is set in this in-vehicle device 5 either offline or online, as mentioned above.

[0097] (Reading identification codes from smart contracts in in-vehicle devices) Next, the user terminal unique identification code receiving unit 47 refers to the address 27 of the smart contract and reads the user terminal unique identification code 7 from the smart contract corresponding to that address 27 via the transmitting / receiving unit 42.

[0098] The timing of downloading this unique identification code 7 is optional, but you may request it periodically or on a predetermined schedule, for example.

[0099] (Receiving signed requests from user terminals in in-vehicle devices) The signed request receiving unit 48 receives the signed request and public key sent from the user terminal 2 via the transmitting / receiving unit 42 (step S15).

[0100] (Generating public key addresses in in-vehicle devices) Next, the public key address generation unit 49 generates a public key address from the public key received by the signed request receiving unit 48. This generation is performed in the same manner as the generation of the public key address 62 by the user terminal's public key address generation unit 30 described above (steps S16, S17).

[0101] (Authentication of user terminals in in-vehicle devices) Next, the user terminal authentication unit 50 authenticates the user terminal 2 using the public key address generated above. This authentication process is carried out in the following two steps (steps S18 and S19).

[0102] First, the user terminal authentication unit 50 searches whether the public key address generated above exists within the identification code 7 (Figure 9) called from the smart contract. If a matching code string (public key address 62) exists, it can tentatively determine that the public key and signed request were sent from a designated user terminal 2 (step S18).

[0103] However, this alone is not sufficient for authenticating the user's device, because both the contents of the smart contract and the public key are publicly available information.

[0104] Therefore, the user terminal authentication unit 50 verifies the signed request using the public key (step S19). If the verification result is positive, it authenticates that the signed request was sent from the designated user terminal 2.

[0105] Next, the request processing unit 51, upon receiving the authentication result, executes processing based on the verified request (step S20).

[0106] For example, when a user enters a vehicle, if a request to unlock the vehicle is sent from the user terminal 2 to the in-vehicle device 5, the in-vehicle device 5 will unlock the vehicle in response. Similarly, if a request including locking is sent, the in-vehicle device 5 will lock the vehicle in response.

[0107] With the configuration described above, the actual public key can be sent directly from the first device, the user terminal 2, to the second device, the in-vehicle device 5. Therefore, the information shared on the blockchain does not need to be the public key itself; it is sufficient to place "public key data," which is smaller in size than the public key, at a designated address on the network. This has the effect of not putting pressure on the memory space of the server that manages smart keys, etc.

[0108] Furthermore, this invention is not limited to the embodiments described above, and can be modified in various ways without altering the essence of the invention.

[0109] For example, the above embodiment illustrates an electronic key system using blockchain, but this is just one example, and a server on a network could be used instead of blockchain.

[0110] Furthermore, although the above embodiment uses a smart key for unlocking and locking a vehicle as an example, the invention is not limited to this, and can be applied to any system that requires authentication of the first device when sending a request from the first device to the second device.

[0111] For example, it could be a smart key used for a home door, a hotel room key, or a delivery locker, or a smart device used to activate a specific device such as a computer; the type of request is not particularly important.

[0112] Furthermore, in the above embodiment, the private key and public key are generated when the smart key application is installed, but this is not the only option. For example, they may be generated when the smart key code initialization button 60 shown in Figure 8 is pressed. [Explanation of symbols]

[0113] ID...User 1…Smart key system 2…User terminal 3…Internet 4… Smart contracts 5…In-vehicle device 6… Smart key management server 7…User terminal unique identification code 10…CPU 11…RAM 12…Input / output section 13... Bus 14...Data storage unit 15…Program storage unit 16… Request Input Device 17…Network communication devices 18…In-vehicle wireless communication devices 19…Smart Key App 20…User private key / public key 21…User ID 22...User Type 23...User Key Attributes 24… Open key cryptography information 26... Request command information 27… Smart contract address 29...User Authentication Department 30...Public key address generation unit 31... Unique Identification Code Generation Unit 32...Unique Identification Code Transmission Unit 33... Request Reception Department 34...Signed Request Generation Unit 35…Signed Request / Public Key Sending Section 40… Antenna 41... Control Unit 42... Transmitter / Receiver 43...Operation unit 44…Display section 45…Audio output section 47...User terminal unique identification code receiving unit 48…Signed Request / Public Key Receiving Unit 49...Public key address generation unit 50...User terminal authentication section 51... Request Processing Unit 53…Onboard equipment management department 54…Smart Contract Issuance Department 55... Smart contract address storage unit 56...User ID receiving unit 58…User Interface 62... Public key address 63... Decryption information 65... Main screen button 66... ​​Unlock button 67... Close button 68... Engine start button 69... Trunk open button

Claims

1. 1. A request processing device that receives a signed request and a public key from an external device and executes a request included in the signed request, A means for downloading unique data for identifying an external device written to a predetermined address on a communication network, the unique data including public key data for uniquely identifying a private key unique to the external device and open key encryption data for uniquely identifying open key encryption information; a means for generating public key data capable of uniquely identifying the public key received from the external device, determining whether the public key data is included in the downloaded unique data for identifying the external device, and verifying the signature of the signed request based on the public key received from the external device and open-key encryption data included in the downloaded unique data for identifying the external device, thereby authenticating the external device; means for executing the verified request based on authentication of the external device; A request processing system having

2. 2. The request processing system according to claim 1, The external device is a smart key, and the request processing device is an in-vehicle device that is mounted in a vehicle and controls unlocking and locking of the vehicle in response to a request from the external device.

3. 2. The request processing system according to claim 1, The public key data is generated by converting the public key using a hash function, and is smaller in size than the original public key. A system characterized by:

4. 2. The system of claim 1, The public key data is a public key address used in a blockchain system. A system characterized by:

5. 2. The system of claim 1, The unique data for identifying the external device is written to the address of an Ethereum smart contract. A system characterized by:

6. 2. The system of claim 1, An authentication means for authenticating the writing authority of the external device A system characterized by:

7. 2. The system of claim 1, The unique data for identifying the external device is stored in a system that charges the user according to the size of the data to be stored. A system characterized by:

8. 2. The system of claim 1, The open-key encryption data that can uniquely identify the open-key encryption information includes a unique identifier of the signature method and a unique identifier of the parameters of the signature method. A system characterized by:

9. 1. A method for processing a request, comprising: a computer receiving a signed request and a public key from an external device, and executing a request included in the signed request, the method comprising: a step of downloading by a computer unique data for identifying an external device written to a predetermined address on a communication network, the unique data including public key data capable of uniquely identifying a private key unique to the external device and open key encryption data capable of uniquely identifying open key encryption information; a step of a computer generating public key data capable of uniquely identifying the public key received from the external device from the public key received from the external device, determining whether the public key data is included in the downloaded unique data for identifying the external device, and verifying the signature of the signed request based on the public key received from the external device and the open-key encryption data included in the downloaded unique data for identifying the external device, thereby authenticating the external device; executing the verified request based on authentication of the external device by a computer; The request processing method includes:

10. 10. The method of claim 9, further comprising: A request processing method characterized in that the external device is a smart key, and the method is executed by an in-vehicle device that is mounted in a vehicle and controls unlocking and locking of the vehicle upon request from the external device.

11. 10. The method of claim 9, further comprising: The public key data is generated by converting the public key using a hash function, and is smaller in size than the original public key. A method comprising:

12. 10. The method of claim 9, The public key data is a public key address used in a blockchain system. A method comprising:

13. 10. The method of claim 9, The unique data for identifying the external device is written to the address of an Ethereum smart contract. A method comprising:

14. 10. The method of claim 9, An authentication step of authenticating the writing authority of the external device. A method comprising:

15. 10. The method of claim 9, The unique data for identifying the external device is stored in a system that charges the user according to the size of the data to be stored. A method comprising:

16. 10. The method of claim 9, The open-key encryption data that can uniquely identify the open-key encryption information includes a unique identifier of the signature method and a unique identifier of the parameters of the signature method. A method comprising: