AUTHENTICATION AND AUTHORIZATION SYSTEM, DEVICE, AUTHENTICATION AND AUTHORIZATION METHOD, AND PROGRAM

The authentication and authorization system using ID-based cryptography with embedded time information in device IDs addresses the challenge of verifying authorization expiration dates for IoT devices without NTP synchronization, ensuring secure data transmission and function access.

JP7540503B2Active Publication Date: 2024-08-27NIPPON TELEGRAPH & TELEPHONE CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2022558616
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-10-26
Publication Date
2024-08-27
Estimated Expiration
2040-10-26

AI Technical Summary

Technical Problem

IoT devices without time information synchronized with an NTP server or in narrow band communication environments face challenges in verifying authorization expiration dates due to resource constraints or communication limitations.

Method used

An authentication and authorization system using ID-based cryptography that embeds time information in device IDs, allowing devices to verify authorization expiration dates through ID-based mutual authentication and private key distribution, even without direct access to an NTP server.

Benefits of technology

Enables verification of authorization expiration dates for IoT devices, ensuring secure data transmission and function access, even in resource-constrained or narrow band communication environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007540503000010
    Figure 0007540503000010
  • Figure 0007540503000004
    Figure 0007540503000004
  • Figure 0007540503000006
    Figure 0007540503000006
Patent Text Reader

Abstract

An authentication / authorization system according to an embodiment of the present invention includes: a plurality of devices that perform mutual authentications according to an authentication protocol using ID-based cryptography and that perform authorizations; and an authentication / authorization platform that generates IDs and a secret key to be used for the mutual authentications and authorizations. The authentication / authorization system is characterized in that: the authentication / authorization platform comprises an ID generating unit that generates IDs including at least the identifiers of the devices and device-related information, a generation unit that generates the secret key of the devices from the IDs, and a distribution unit that distributes the IDs and the secret key to the devices corresponding to the identifiers included in the IDs; and the devices each comprise a mutual authentication unit that uses the ID of the device itself and the secret key to perform a mutual authentication with another device, a determination unit that, upon the performance of the mutual authentication with the other device, uses device-related information included in the ID of the device itself and device-related information included in the ID of the other device to determine whether a predetermined authorization requirement is satisfied or not, and an authorization unit that authorizes a request from the other device to the device itself when it is determined that the authorization requirement is satisfied.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an authentication and authorization system, a device, an authentication and authorization method, and a program. [Background technology]

[0002] When IoT (Internet of Things) devices communicate with each other, or when an IoT device communicates with a gateway device or a server device on the cloud, authentication is first performed to confirm the legitimacy of the other device, and then the other devices use their functions and transmit data. However, it is not preferable from an operational standpoint to permit the use of all functions and data transmission by authentication. For this reason, access to accessible functions and data is restricted by granting authorization after authentication. For example, the method described in Patent Document 1 is known as a conventional technique for authentication and authorization in communication between IoT devices.

[0003] Generally, authorization information has an expiration date. For example, when a digital certificate is used as authorization information, the expiration date is specified in the digital certificate. In this case, the authorizing device checks whether the digital certificate is within its expiration date by comparing the time information synchronized with an NTP (Network Time Protocol) server with the expiration date specified in the digital certificate. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] International Publication No. 2020 / 080510 Summary of the Invention [Problem to be solved by the invention]

[0005] However, for example, due to resource constraints, some devices do not hold time information synchronized with an NTP server. Also, in a narrow-bandwidth communication environment such as LPWA (Low Power Wide Area), all devices may not be able to communicate with an NTP server as necessary and sufficiently. For this reason, it may be impossible to refer to time information synchronized with an NTP server, and it may not be possible to check the expiration date of authorization.

[0006] An embodiment of the present invention has been made in consideration of the above points, and has an object to make it possible to check the expiration date of authorization. [Means for solving the problem]

[0007] In order to achieve the above-mentioned object, an authentication and authorization system according to one embodiment includes a plurality of devices that perform mutual authentication and authorization by an authentication protocol using ID-based encryption, and an authentication and authorization infrastructure that generates an ID and a private key used for the mutual authentication and authorization, the authentication and authorization infrastructure having an ID generation unit that generates an ID including at least an identifier of the device and information about the device, a generation unit that generates a private key for the device from the ID, and a distribution unit that distributes the ID and the private key to a device corresponding to an identifier included in the ID, and the device has a mutual authentication unit that performs mutual authentication with another device using its own ID and the private key, a confirmation unit that, when mutual authentication with the other device has been performed, confirms whether or not a predetermined authorization condition is satisfied using information about the device included in its own ID and information about the device included in the ID of the other device, and an authorization unit that authorizes a request from the other device to the device itself when it is confirmed that the authorization condition is satisfied. Effect of the Invention

[0008] You can check the expiration date of the authorization. [Brief description of the drawings]

[0009] [Figure 1]1 is a diagram illustrating an overall configuration of an authentication and authorization system according to a first embodiment. [Diagram 2] FIG. 2 is a diagram illustrating a hardware configuration of an authentication and authorization infrastructure according to a first embodiment. [Diagram 3] FIG. 2 is a diagram illustrating a hardware configuration of the device according to the first embodiment. [Figure 4] FIG. 2 is a diagram illustrating a functional configuration of an authentication and authorization infrastructure in the first embodiment. [Diagram 5] FIG. 2 is a diagram illustrating a functional configuration of the device according to the first embodiment. [Figure 6] 11 is a flowchart showing a process of distributing an ID and a private key in the first embodiment. [Figure 7] 11 is a flowchart showing an authentication and authorization process in the first embodiment. [Figure 8] 13 is a flowchart illustrating an authorization confirmation process according to the first embodiment. [Figure 9] FIG. 11 is a diagram illustrating a functional configuration of a device according to a second embodiment. [Figure 10] 13 is a flowchart showing an authorization confirmation process in the second embodiment. [Figure 11] 13 is a flowchart showing a process of distributing an ID and a private key in the third embodiment. [Figure 12] 13 is a flowchart showing an authorization confirmation process in the third embodiment. [Figure 13] 13 is a flowchart showing an authorization confirmation process in the fourth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] An embodiment of the present invention will be described below. In this embodiment, an authentication and authorization system 1 will be described that enables mutual authentication and confirmation of the expiration date related to authorization when devices communicate with each other, even if the devices do not hold time information due to resource constraints, for example. Here, the authentication and authorization system 1 according to this embodiment is configured to use an authentication protocol using ID-based encryption (hereinafter also referred to as "ID-based authentication") for mutual authentication when devices communicate with each other, and to include time information in the ID so that the device on the authorizing side can check the expiration date. Each example of this embodiment will be described below.

[0011] [Example 1] First, the first embodiment will be described.

[0012] <Overall composition> The overall configuration of an authentication / authorization system 1 in the first embodiment will be described with reference to Fig. 1. Fig. 1 is a diagram showing the overall configuration of the authentication / authorization system 1 in the first embodiment.

[0013] 1, the authentication and authorization system 1 in the first embodiment includes an authentication and authorization infrastructure 10 and one or more devices 20. The authentication and authorization infrastructure 10 and each device 20 are communicatively connected to each other via a communication network N such as the Internet.

[0014] The authentication and authorization infrastructure 10 is a computer or computer system that generates an ID including at least a device identifier for identifying each device 20 and time information, and generates a secret key from the ID. That is, the authentication and authorization infrastructure 10 functions as a key generation center (KGC) for ID-based encryption.

[0015] The device 20 is, for example, various IoT devices such as various sensor devices, embedded devices, wearable devices, digital home appliances, surveillance camera devices, lighting devices, medical devices, and industrial devices. The device 20 performs mutual authentication with other devices 20 by an authentication protocol using ID-based encryption, and checks the expiration date related to authorization. At this time, each device 20 performs mutual authentication with other devices 20 by using a private key distributed from the authentication and authorization infrastructure 10, and checks the expiration date related to authorization by using time information included in the ID.

[0016] Hereinafter, when the multiple devices 20 are to be distinguished from one another, they will be referred to as "device 20A," "device 20B," and so on. When a device 20 operates (including access) or uses data, functions, etc. of another device 20, the other device 20 checks the expiration date of the authorization of the other device 20, and therefore the other device 20 (i.e., the device 20 that operates data or uses functions) will also be referred to as "authorized device 20," and the other device 20 (i.e., the device 20 that authorizes the authorized device 20 and permits operations on data held by the authorized device 20 or use of functions) will also be referred to as "authorizing device 20." Note that, for example, two devices 20 may operate or use data, functions, etc. of each other, and therefore one device 20 may be both an authorized device 20 and an authorizing device 20.

[0017] Here, it is assumed that the device 20 in this embodiment does not hold time information synchronized with an NTP server due to resource constraints, narrow bandwidth in the communication environment, etc. However, this embodiment can also be applied to a device 20 that holds time information synchronized with an NTP server.

[0018] 1 is merely an example, and other configurations may be used. For example, a terminal used by an administrator of device 20 (hereinafter also referred to as a "device administrator") may be included in authentication and authorization system 1. In addition, when device 20 performs authentication and authorization between device 20 and some other device or apparatus (e.g., a gateway device or a server), the device or apparatus may be included in authentication and authorization system 1.

[0019] <Hardware configuration> The hardware configuration of the authentication and authorization infrastructure 10 and the device 20 in the first embodiment will be described.

[0020] <Authentication and Authorization Infrastructure 10> The hardware configuration of the authentication and authorization infrastructure 10 in the first embodiment will be described with reference to Fig. 2. Fig. 2 is a diagram showing the hardware configuration of the authentication and authorization infrastructure 10 in the first embodiment.

[0021] 2, the authentication and authorization infrastructure 10 in the first embodiment includes an input device 11, a display device 12, an external I / F 13, a communication I / F 14, a processor 15, and a memory device 16. Each of these pieces of hardware is connected to each other via a bus 17 so as to be able to communicate with each other.

[0022] The input device 11 is, for example, a keyboard, a mouse, a touch panel, etc. The display device 12 is, for example, a display, etc. Note that the authentication and authorization board 10 does not necessarily have to have at least one of the input device 11 and the display device 12.

[0023] The external I / F 13 is an interface with the recording medium 13a, etc. The authentication and authorization infrastructure 10 can read and write data from and to the recording medium 13a via the external I / F 13. Examples of the recording medium 13a include a CD (Compact Disc), a DVD (Digital Versatile Disk), an SD memory card (Secure Digital memory card), and a USB (Universal Serial Bus) memory card.

[0024] The communication I / F 14 is an interface for connecting the authentication and authorization base 10 to the communication network N. The processor 15 is, for example, various arithmetic devices such as a CPU (Central Processing Unit). The memory device 16 is, for example, various storage devices such as a HDD (Hard Disk Drive), an SSD (Solid State Drive), a RAM (Random Access Memory), a ROM (Read Only Memory), and a flash memory.

[0025] The authentication and authorization infrastructure 10 in the first embodiment can realize various processes described later by having the hardware configuration shown in Fig. 2. Note that the hardware configuration shown in Fig. 2 is an example, and the authentication and authorization infrastructure 10 may have other hardware configurations. For example, the authentication and authorization infrastructure 10 may have multiple processors 15 or multiple memory devices 16.

[0026] ≪Equipment 20≫ The hardware configuration of the device 20 in the first embodiment will be described with reference to Fig. 3. Fig. 3 is a diagram showing the hardware configuration of the device 20 in the first embodiment.

[0027] 3, the device 20 in the first embodiment includes a communication I / F 21, a processor 22, and a memory device 23. These pieces of hardware are connected to each other via a bus 24 so as to be able to communicate with each other.

[0028] The communication I / F 21 is an interface for connecting the device 20 to the communication network N. The processor 22 is, for example, various arithmetic units such as an MPU (Micro Processing Unit) or a CPU. The memory device 23 is, for example, various storage devices such as a RAM, a ROM, or a flash memory.

[0029] The device 20 in the first embodiment can realize various processes described below by having the hardware configuration shown in Fig. 3. Note that the hardware configuration shown in Fig. 3 is an example, and the device 20 may have other hardware configurations. For example, the device 20 may have an input device such as various buttons, or a display device such as a display panel.

[0030] <Functional configuration> The functional configuration of the authentication and authorization infrastructure 10 and the device 20 in the first embodiment will be described.

[0031] <Authentication and Authorization Infrastructure 10> The functional configuration of the authentication and authorization infrastructure 10 in the first embodiment will be described with reference to Fig. 4. Fig. 4 is a diagram showing the functional configuration of the authentication and authorization infrastructure 10 in the first embodiment.

[0032] 4, the authentication and authorization infrastructure 10 in the first embodiment includes a communication unit 101, a time management unit 102, a device information management unit 103, an authorization condition management unit 104, an ID generation unit 105, a registration processing unit 106, and a private key generation unit 107. Each of these units is realized by, for example, a process executed by a processor 15 by one or more programs installed in the authentication and authorization infrastructure 10.

[0033] Moreover, the authentication and authorization infrastructure 10 in the first embodiment includes a storage unit 110. The storage unit 110 is realized, for example, by the memory device 16. However, the storage unit 110 may be realized, for example, by a storage device (for example, a database server, etc.) communicably connected to the authentication and authorization infrastructure 10.

[0034] The communication unit 101 performs various communications between each device 20 and other devices (e.g., a terminal used by a device administrator, etc.). The time management unit 102 manages time information (i.e., information indicating the current time) synchronized with an external NTP server. The device information management unit 103 manages the device identifier of each device 20. Any information can be used as the device identifier as long as it can identify the device 20, and for example, the manufacturing number or serial number of the device 20, a number uniquely assigned to the device 20 within the authentication and authorization system 1, etc. can be used.

[0035] The authorization condition management unit 104 manages authorization conditions in association with each device 20 (i.e., in association with each device identifier). The authorization conditions are conditions under which the authorizing device 20 authorizes the authorized device 20, and in this embodiment, are conditions that indicate a validity period from a reference time (for example, "within three days" or "within one day").

[0036] The ID generation unit 105 generates an ID including a device identifier, time information, and authorization conditions. In response to a request from a terminal used by a device administrator, for example, the registration processing unit 106 registers an ID related to the request. The private key generation unit 107 generates a private key from the ID. The storage unit 110 stores various information (for example, time information, device identifier, authorization conditions, ID, etc.).

[0037] The functional configuration of the authentication and authorization infrastructure 10 shown in FIG. 4 is merely an example, and the authentication and authorization infrastructure 10 may not include either the ID generation unit 105 or the registration processing unit 106, for example.

[0038] ≪Equipment 20≫ The functional configuration of the device 20 in the first embodiment will be described with reference to Fig. 5. Fig. 5 is a diagram showing the functional configuration of the device 20 in the first embodiment.

[0039] As shown in FIG. 5, the device 20 in the first embodiment includes a communication unit 201, a mutual authentication unit 202, and an authorization confirmation unit 203. Each of these units is realized, for example, by a process executed by one or more programs installed in the device 20 on the processor 22.

[0040] Also, the device 20 in the first embodiment includes a storage unit 210. The storage unit 210 is realized, for example, by the memory device 23.

[0041] The communication unit 201 performs various communications with other devices 20, the authentication and authorization infrastructure 10, etc. The mutual authentication unit 202 performs mutual authentication with other devices 20 by ID-based authentication using its own ID, private key, etc. The authorization confirmation unit 203, when mutual authentication with another device 20 is successful, uses its own ID and the ID of the other device 20 to confirm the expiration date regarding the authorization of the other device 20. The storage unit 210 stores various information (for example, its own ID, private key, etc.).

[0042] <ID and Private Key Distribution Process> The ID and private key distribution process in the first embodiment will be described with reference to FIG. 6. FIG. 6 is a flowchart showing the ID and private key distribution process in the first embodiment. Note that the ID and private key distribution process is preferably executed periodically, for example, at predetermined intervals.

[0043] The ID generation unit 105 generates the ID of each device 20 using the device identifier managed by the device information management unit 103, the time information managed by the time management unit 102, and the authorization condition managed by the authorization condition management unit 104 in association with the device identifier (step S101). Here, the ID generation unit 105 generates an ID by associating the device identifier, the time information, and the authorization condition corresponding to the device identifier for each device identifier.

[0044] For example, if the device identifier is "sensor01", the time information is a symbol string "202007212137" indicating the current time "21:37, July 21, 2020", and the authorization condition is a symbol string "around3days" indicating "within three days", the ID may be "sensor01_202007212137_around3days" or the like. This ID indicates that a device 20 having an ID generated within three days from the time "21:37, July 21, 2020" is authorized for a device 20 with a device identifier "sensor01". Note that the meanings of the device identifier and symbol string constituting the ID are shared throughout the authentication and authorization system 1.

[0045] Incidentally, all or part of the ID of each device 20 may be created or generated by a terminal used by the device administrator. In this case, the registration processing unit 106 may register these IDs (i.e., store them in the storage unit 110 or the like) in response to an ID registration request from the terminal used by the device administrator. At this time, the time information included in the ID may be set by the terminal, or may be set (or reset) by the authentication and authorization infrastructure 10. Also, instead of creating the ID by the terminal, the ID may be created by, for example, the device administrator directly operating the authentication and authorization infrastructure 10.

[0046] Next, the private key generation unit 107 generates a private key from each ID generated (or registered) in the above step S101 (step S102). Here, the private key generation unit 107 generates a private key from the ID by a predetermined ID-based authentication. Any authentication protocol using ID-based encryption can be used as the ID-based authentication, and for example, FSU (Fujioka-Suzuki-Ustaoglu) can be used.

[0047] Then, the communication unit 101 transmits (distributes) each ID generated (or registered) in the above step S101 and the private key generated from the ID to each device 20 having a device identifier included in the ID (step S103). When each device 20 receives its own ID and private key from the authentication and authorization infrastructure 10, it stores the ID and private key in the storage unit 210. The communication unit 101 distributes the ID and private key to the device 20 by any secure method.

[0048] <Authentication and authorization process> The authentication and authorization process in the first embodiment will be described with reference to Fig. 7. Fig. 7 is a flowchart showing the authentication and authorization process in the first embodiment. In the following, as an example, a case where the device 20B accesses the device 20A will be assumed, and authentication and authorization between the device 20A and the device 20B will be described.

[0049] First, the mutual authentication unit 202 of the device 20A and the mutual authentication unit 202 of the device 20B perform mutual authentication by predetermined ID-based authentication using the ID and private key distributed from the authentication and authorization infrastructure 10 (step S201). If this mutual authentication is successful, the device 20A and the device 20B input each other's ID.

[0050] If the mutual authentication is successful in step S201, the authorization confirmation unit 203 of the device 20A confirms the expiration date of the authorization of the device 20B using the ID of the device 20B and its own ID, and judges whether the device 20B is authorized (step S202). Details of the process of step S202 (authorization confirmation process) will be described later.

[0051] If it is determined in step S202 that the operation is authorized, the communication unit 201 of the device 20B requests the execution of the authorized operation (step S203). In this embodiment, the authorized operation is assumed to be predetermined.

[0052] On the other hand, if the mutual authentication fails in step S201 above, the mutual authentication unit 202 of the device 20A rejects access from the device 20B (step S204).

[0053] <Authorization confirmation process> The authorization confirmation process (the authorization confirmation process in step S202) in the first embodiment will be described with reference to Fig. 8. Fig. 8 is a flowchart showing the authorization confirmation process in the first embodiment.

[0054] The authorization confirmation unit 203 of the device 20A calculates the difference between the time indicated by the time information included in the ID of the device 20B and the time indicated by the time information included in its own ID (step S301). To be precise, this difference means the difference in date and time based on the time information included in its own ID.

[0055] Next, the authorization confirmation unit 203 of the device 20A judges whether or not the difference calculated in the above step S301 satisfies the authorization condition included in its own ID (step S302).

[0056] Then, if it is determined in the above step S302 that the authorization conditions are satisfied, the authorization confirmation unit 203 of the device 20A determines that the device 20B is authorized (step S303), and if it is not determined in the above step S302 that the authorization conditions are satisfied, it determines that the device 20B is not authorized (step S304).

[0057] For example, assume that the ID of device 20A is "sensor01_202007212137_around3days" and the ID of device 20B is "sensor02_202007221630_around1day". In this case, in the above step S301, the difference between "202007221630" and "202007212137" is calculated, and in the above step S302, it is determined whether or not the difference satisfies the authorization condition "around3days" (i.e., within 3 days). In this example, since the difference between "202007221630" and "202007212137" is within 3 days, it is determined that device 20B is authorized.

[0058] On the other hand, for example, if the ID of device 20A is "sensor01_202007212137_around3days" and the ID of device 20B is "sensor02_202007251630_around1day," it is determined that device 20B is not authorized.

[0059] In this manner, in this embodiment, time information is embedded in the ID distributed from the authentication and authorization infrastructure 10 (in other words, the ID distributed from a reliable organization), and the authorizing device 20 checks whether authorization has been granted by comparing the time information of the ID of the authorized device 20 and its own ID. This makes it possible to check the expiration date of authorization even if the device 20 does not hold time information synchronized with an NTP server.

[0060] (Variation 1) In this embodiment, the authorizing device 20 only refers to its own ID, but for example, if the time information included in the ID of the authorized device 20 is greater than the time information included in its own ID (i.e., if the ID of the authorized device 20 includes more advanced time information), the time information included in its own ID may be updated with the time information included in the ID of the authorized device 20. This allows the authorizing device 20 to perform authorization confirmation using the ID including the updated time information from the next time onwards.

[0061] (Variation 2) To further enhance safety, the authentication and authorization infrastructure 10 and each device 20 may be configured with a secure processor. A secure processor is a processor that operates in an execution environment divided into a secure area and a non-secure area, and generally, all data exchange via a communication path is performed in the non-secure area, and the secure area cannot be accessed from the non-secure area. With this mechanism, the secure processor prevents tampering or theft of data, program binaries, etc. stored in the secure area.

[0062] When the authentication and authorization infrastructure 10 is configured with a secure processor, each functional unit of the authentication and authorization infrastructure 10 is executed in a secure area. Similarly, when the device 20 is configured with a secure processor, each functional unit of the device 20 is executed in a secure area. In addition, the ID, the private key, and the like are also stored in the secure area.

[0063] (Variation 3) In this embodiment, the authorization conditions are included in the ID, but if the authorization conditions do not change due to the distribution of the ID, it is not necessary to include the authorization conditions in the ID. In this case, each device 20 stores the authorization conditions in the storage unit 110 in advance, and the authorization conditions can be used in the authorization confirmation process. This makes it possible to shorten the length of each ID. For example, if the device identifier is "sensor01" and the time information is a symbol string "202007212137" indicating the current time "21:37 on July 21, 2020", the ID will be "sensor01_202007212137", etc., and the length of the ID can be shortened.

[0064] [Example 2] Next, a second embodiment will be described. In the second embodiment, a case will be described in which each device 20 measures the time that has elapsed since an ID and a private key were distributed, and calculates the current time by adding the measured time to the time indicated by the time information included in the ID. As a result, in the second embodiment, it becomes possible to more accurately check the expiration date regarding authorization, regardless of the interval at which IDs are distributed.

[0065] In the second embodiment, differences from the first embodiment will be described, and the description of the same components as those in the first embodiment will be omitted. That is, the components not described in the present embodiment may be the same as those in the first embodiment.

[0066] <Functional configuration> ≪Equipment 20≫ The functional configuration of the device 20 in the second embodiment will be described with reference to Fig. 9. Fig. 9 is a diagram showing the functional configuration of the device 20 in the second embodiment.

[0067] 9, the device 20 in the second embodiment further includes a time measurement unit 204. The time measurement unit 204 is realized by, for example, a process that one or more programs installed in the device 20 cause the processor 22 to execute.

[0068] The time measurement unit 204 measures the elapsed time (i.e., the change in the state of the device 20 over time) from when its own ID and private key were received from the authentication and authorization infrastructure 10. When the time measurement unit 204 newly receives its own ID and private key from the authentication and authorization infrastructure 10, it resets the elapsed time measured so far and measures a new elapsed time.

[0069] <Authorization confirmation process> The authorization confirmation process in the second embodiment (the authorization confirmation process in step S202 in FIG. 7) will be described with reference to FIG. 10. FIG. 10 is a flowchart showing the authorization confirmation process in the second embodiment. As in the first embodiment, in the authorization confirmation process shown in FIG. 10, as an example, the device 20A is the authorizing device 20 and the device 20B is the authorized device 20.

[0070] The authorization confirmation unit 203 of the device 20A calculates a time (hereinafter also referred to as the added time) by adding the elapsed time measured by the time measurement unit 204 to the time indicated by the time information included in its own ID (step S401). Note that since the elapsed time is the time that has elapsed since the ID and the private key were received, the added time is the current time (or a time close to the current time).

[0071] Next, the authorization confirmation unit 203 of the device 20A calculates the difference between the time indicated by the time information included in the ID of the device 20B and the time after addition calculated in the above step S401 (step S402).

[0072] Next, the authorization confirmation unit 203 of the device 20A judges whether or not the difference calculated in the above step S402 satisfies the authorization condition included in its own ID (step S403).

[0073] Then, if it is determined in the above step S403 that the authorization conditions are satisfied, the authorization confirmation unit 203 of the device 20A determines that the device 20B is authorized (step S404), and if it is not determined in the above step S403 that the authorization conditions are satisfied, it determines that the device 20B is not authorized (step S405).

[0074] For example, assume that the ID of device 20A is "sensor01_202007212137_around3days", the ID of device 20B is "sensor02_202007221630_around1day", and the elapsed time measured by time measurement unit 204 of device 20A is 3 hours. In this case, in step S401 above, the added time "202007220037" is calculated by adding 3 hours to "202007212137", and in step S402 above, the difference between "202007221630" and "202007220037" is calculated, and in step S403 above, it is determined whether the difference satisfies the authorization condition "around3days" (i.e., within 3 days). In this example, the difference between "202007221630" and "202007220037" is within three days, so device 20B is determined to be authorized.

[0075] On the other hand, for example, if the ID of device 20A is "sensor01_202007212137_around3days" and the ID of device 20B is "sensor02_202007251630_around1day," it is determined that device 20B is not authorized.

[0076] In this way, in this embodiment, the authorizing device 20 corrects the time information included in its own ID with the elapsed time from when it received the ID. This makes it possible to check the expiration date of the authorization more accurately than in the first embodiment.

[0077] (Modification) In this embodiment, the ID includes time information. Instead of (or together with) the time information, position information may be included in the ID. That is, when distributing the ID to the device 20, position information indicating the position of the device 20 at the time of ID distribution (or, in addition thereto, the current time) may be included in the ID. By including position information in the ID, each device 20 can estimate or specify its current position from the position information included in its own ID by measuring the moving distance (that is, the positional change in the state of the device 20) by a measurement unit realized by, for example, an acceleration sensor or GPS (Global Positioning System). Therefore, for example, the authorization confirmation unit 203 of the device 20A can calculate the difference between its own current position and the position indicated by the position information included in the ID of the device 20B, and determine whether the difference satisfies the authorization condition regarding the position, so as to perform authorization confirmation. Note that the authorization condition regarding the position is, for example, a condition regarding the position or distance such as "the distance is within 100 m".

[0078] In addition to the time information and the position information, any information regarding the device (that is, any information indicating the state of the device other than the time and the position (for example, remaining battery level, radio reception strength, manufacturing date, model number, device administrator, information indicating the connection destination of the device, etc.)) may be used.

[0079] [Example 3] Next, Example 3 will be described. In Example 3, a case where there are a plurality of authorization targets for one device 20 and authorization conditions exist for each of these plurality of authorization targets will be described. Here, the authorization target refers to data, functions, etc. that are authorized by the authorizing device 20, and examples include browsing of internal data and use of a specific function.

[0080] Note that in Example 3, the differences from Example 1 will be described, and the description of the components similar to those in Example 1 will be omitted. That is, the components not described in this example may be the same as those in Example 1.

[0081] <Distribution Process of ID and Secret Key> The ID and private key distribution process in the third embodiment will be described with reference to Fig. 11. Fig. 11 is a flowchart showing the ID and private key distribution process in the third embodiment. Note that the ID and private key distribution process is preferably executed periodically, for example, at predetermined intervals.

[0082] The ID generation unit 105 generates an ID for each device 20 by using the device identifier managed by the device information management unit 103, the time information managed by the time management unit 102, and the authorization targets and authorization conditions managed by the authorization condition management unit 104 in association with the device identifier (step S501). In this embodiment, the authorization condition management unit 104 manages one or more authorization targets and their authorization conditions for each device identifier in association with the device identifier. Therefore, the ID generation unit 105 generates an ID for each device identifier by associating the device identifier with the time information, and one or more authorization targets and their authorization conditions corresponding to the device identifier.

[0083] For example, if the device identifier is "sensor01", the time information is the symbol string "202007212137" indicating the current time "21:37 on July 21, 2020", the first authorization target is the symbol string "senddata" representing "data transmission", the authorization condition corresponding to the authorization target "data transmission" is the symbol string "around3days" representing "within 3 days", the second authorization target is the symbol string "attempt" representing "device operation", and the authorization condition corresponding to the authorization target "device operation" is the symbol string "around1day" representing "within 1 day", the ID should be "sensor01_202007212137_senddata_around3days_attempt_around1day", etc. This ID indicates that a device 20 having an ID generated within three days from the time "21:37 on July 21, 2020" is authorized to "transmit data" to a device 20 with device identifier "sensor01", and a device 20 having an ID generated within one day is authorized to "operate a device". Note that the meaning of the device identifier and symbol string that constitute the ID is shared throughout the authentication and authorization system 1.

[0084] The subsequent steps S502 to S503 are similar to steps S102 to S103 in FIG.

[0085] <Authorization confirmation process> The authorization confirmation process in the third embodiment (the authorization confirmation process in step S202 in FIG. 7) will be described with reference to FIG. 12. FIG. 12 is a flowchart showing the authorization confirmation process in the third embodiment. In the authorization confirmation process shown in FIG. 12, as in the first embodiment, the device 20A is the authorizing device 20 and the device 20B is the authorized device 20, for example.

[0086] The authorization confirmation unit 203 of the device 20A calculates the difference between the time indicated by the time information included in the ID of the device 20B and the time indicated by the time information included in its own ID (step S601).

[0087] The following steps S602 to S604 are executed for each authorization target.

[0088] The authorization confirmation unit 203 of the device 20A judges whether or not the difference calculated in the above step 601 satisfies the authorization condition corresponding to the authorization target among the authorization conditions included in its own ID (step S602).

[0089] If it is determined in step S602 that the authorization conditions are satisfied, the authorization confirmation unit 203 of the device 20A determines that the device 20B is authorized for the authorization target (step S603), and if it is not determined in step S602 that the authorization conditions are satisfied, it determines that the device 20B is not authorized for the authorization target (step S604).

[0090] For example, assume that the ID of device 20A is "sensor01_202007212137_senddata_around3days_attempt_around1day" and the ID of device 20B is "sensor02_202007231630_around1day". In this case, steps S602 to S604 related to the authorization object "senddata" and steps S602 to S604 related to the authorization object "attempt" are executed, respectively. On the other hand, the difference between "202007231630" and "202007212137" satisfies the authorization condition "within 3 days" but does not satisfy the authorization condition "within 1 day". Therefore, in this example, device 20B is determined to be authorized for the authorization object "senddata" and unauthorized for the authorization object "attempt".

[0091] In this manner, in this embodiment, the authorization conditions are also included in the ID for each authorization target. This allows for flexible authorization even in cases where, for example, only a portion of the data or functions held by the authorizing device 20 is to be authorized.

[0092] In this embodiment, data, functions, etc. authorized by the authorizing device 20 are considered to be the authorization target, and a symbol string representing such an authorization target is included in the ID, but this is not limited to this. For example, the ID may include an identifier of the authorization target, or the device identification of the authorized device 20 may be included in the ID as the authorization target.

[0093] [Example 4] Next, a fourth embodiment will be described. In the fourth embodiment, a case will be described in which an authorizing device 20 performs authorization confirmation by referring to an authorization condition included in an ID of a device 20 on the authorized side. As a result, for example, by treating the authorization condition as a condition indicating an expiration date of an ID, it becomes possible to confirm whether or not the ID of the device 20 on the authorized side has been revoked.

[0094] In the fourth embodiment, differences from the first embodiment will be described, and the description of the same components as those in the first embodiment will be omitted. That is, the components not described in the present embodiment may be the same as those in the first embodiment.

[0095] <Authorization confirmation process> The authorization confirmation process in the fourth embodiment (the authorization confirmation process in step S202 in FIG. 7) will be described with reference to FIG. 13. FIG. 13 is a flowchart showing the authorization confirmation process in the fourth embodiment. As in the first embodiment, in the authorization confirmation process shown in FIG. 13, as an example, the device 20A is the authorizing device 20 and the device 20B is the authorized device 20.

[0096] The authorization confirmation unit 203 of the device 20A calculates the difference between the time indicated by the time information included in the ID of the device 20B and the time indicated by the time information included in its own ID (step S701).

[0097] Next, the authorization confirmation unit 203 of the device 20A judges whether or not the difference calculated in the above step S701 satisfies the authorization condition included in the ID of the device 20B (step S702).

[0098] Then, if it is determined in the above step S702 that the authorization conditions are satisfied, the authorization confirmation unit 203 of the device 20A determines that the device 20B is authorized (step S703), and if it is not determined in the above step S702 that the authorization conditions are satisfied, it determines that the device 20B is not authorized (step S704).

[0099] For example, assume that the ID of device 20A is "sensor01_202007212137_around3days" and the ID of device 20B is "sensor02_202007221630_around1day". In this case, in the above step S701, the difference between "202007221630" and "202007212137" is calculated, and in the above step S702, it is determined whether or not the difference satisfies the authorization condition "around1day" (i.e., within one day). In this example, since the difference between "202007221630" and "202007212137" is within one day, it is determined that device 20B is authorized.

[0100] On the other hand, for example, if the ID of device 20A is "sensor01_202007212137_around3days" and the ID of device 20B is "sensor02_202007251630_around1day," it is determined that device 20B is not authorized.

[0101] In this way, in this embodiment, the authorizing device 20 performs authorization confirmation based on the authorization conditions included in the ID of the authorized device 20. This means that the authorization conditions included in the ID 20 of the authorized device are treated as the expiration date of the ID. This makes it possible to prevent the authorized device 20 from being authorized, for example, when a new ID has not been distributed to the authorized device 20 for a while.

[0102] The present invention is not limited to the above-mentioned specifically disclosed embodiment, and various modifications, changes, combinations with known techniques, etc. are possible without departing from the scope of the claims. In addition, the above-mentioned examples can be appropriately combined as long as there is no mutual contradiction. [Explanation of symbols]

[0103] 1 Authentication and Authorization System 10 Authentication and Authorization Infrastructure 11 Input Devices 12 Display device 13 External I / F 13a Recording media 14 Communication I / F 15 Processors 16 Memory Devices 17 Bus 20 equipment 21 Communication I / F 22 processors 23 Memory Device 24 Bus 101 Communications Department 102 Time management department 103 Device Information Management Department 104 License Conditions Management Department 105 ID generation section 106 Registration processing section 107 Private key generation section 110 Storage section 201 Communications Department 202 Mutual Certification Department 203 Authorization Verification Department 204 Time Measurement Section 210 Storage section N Communication Network

Claims

1. An authentication and authorization system that performs mutual authentication and authorization by an authentication protocol using ID-based encryption and includes a plurality of devices that do not hold time information synchronized with an NTP server, and an authentication and authorization infrastructure that generates IDs and private keys used in the mutual authentication and authorization, The authentication and authorization infrastructure includes: an ID generating unit that generates an ID including an identifier of the device, time information indicating a time when the ID was generated, and authorization information indicating a validity period from the time; a generation unit for generating a private key of the device from the ID; a distribution unit that distributes the ID and the private key to a device that corresponds to an identifier included in the ID, The device comprises: a mutual authentication unit that performs mutual authentication with another device by using the ID and the private key of the device itself; a confirmation unit that, when mutual authentication has been performed with the other device, calculates a time difference between a time represented by time information included in the ID of the device itself and a time represented by time information included in the ID of the other device based on the time represented by the time information included in the ID of the device itself, and confirms whether or not the time difference satisfies an expiration date represented by authorization information included in the ID of the device itself; an authorization unit that authorizes a request from the other device to itself when it is confirmed that the time difference satisfies the expiration date; An authentication and authorization system comprising:

2. The device comprises: a measurement unit that measures an elapsed time of the device from when the device received the ID and the private key distributed from the authentication and authorization infrastructure, The confirmation unit is The authentication and authorization system according to claim 1, characterized in that a time difference between the time represented by the time information included in the ID of the device itself plus the elapsed time is calculated and a time represented by the time information included in the ID of the other device is calculated, and it is confirmed whether the time difference satisfies the expiration date.

3. The ID includes one or more authorization targets and authorization information corresponding to each of the targets; The confirmation unit is 3. The authentication and authorization system according to claim 1, further comprising: a step of confirming, for each of the targets, whether or not the time difference corresponding to the target satisfies the expiration date corresponding to the target.

4. A device that performs mutual authentication and authorization by an authentication protocol using ID-based encryption and does not hold time information synchronized with an NTP server, a mutual authentication unit that performs mutual authentication with another device by using an ID distributed from an authentication and authorization infrastructure, the ID including an identifier of the device, time information indicating a time when the ID was generated, and authorization information indicating an expiration date from the time, and a private key distributed from the authentication and authorization infrastructure; a confirmation unit that, when mutual authentication has been performed with the other device, calculates a time difference between a time represented by time information included in the ID of the device itself and a time represented by time information included in the ID of the other device based on the time represented by the time information included in the ID of the device itself, and confirms whether or not the time difference satisfies an expiration date represented by authorization information included in the ID of the device itself; an authorization unit that authorizes a request from the other device to itself when it is confirmed that the time difference satisfies the expiration date; An apparatus comprising:

5. 1. An authentication and authorization method in an authentication and authorization system that performs mutual authentication and authorization by an authentication protocol using ID-based encryption and includes a plurality of devices that do not hold time information synchronized with an NTP server, and an authentication and authorization infrastructure that generates IDs and private keys used in the mutual authentication and authorization, comprising: The authentication and authorization infrastructure, an ID generation step of generating an ID including an identifier of the device, time information indicating the time when the ID was generated, and authorization information indicating the expiration date from the time; a step of generating a private key of the device from the ID; A distribution step of distributing the ID and the private key to a device corresponding to an identifier included in the ID; The device, a mutual authentication procedure in which mutual authentication is performed with another device using the ID and the private key of the device itself; a confirmation step of calculating a time difference between a time indicated by time information included in the ID of the other device and a time indicated by time information included in the ID of the other device based on the time indicated by the time information included in the ID of the other device, and confirming whether or not the time difference satisfies the expiration date indicated by the authorization information included in the ID of the other device; an authorization step of authorizing a request from the other device to the device itself if it is confirmed that the time difference satisfies the expiration date; 2. An authentication and authorization method comprising:

6. A program for causing a computer to function as an authentication / authorization infrastructure or device included in the authentication / authorization system according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Authentication authorization system, information processing device, device, authentication authorization method, and program

    WO2020080510A1