Server device, method, and program
A server device is provided comprising: at least one processor, wherein the at least one processor is configured to execute a computer readable instructions so as to: receive at least one of person-under-restriction related information related to a person under restriction whose usage of a restricted item is restricted or usage related information related to usage of the restricted item by the person under restriction instructed by an instructor; and generate authentication key information generated based on at least one of the received person-under-restriction related information or the received usage related information, the authentication key information being used to authenticate input key information generated based on predetermined input-key generation rule information and the authentication key information and input to the restricted item by the person under restriction, and to release restriction of the restricted item.
1 . A server device comprising: at least one processor, wherein the at least one processor is configured to execute computer readable instructions so as to:
receive at least one of person-under-restriction related information related to a person under restriction whose usage of a restricted item is restricted and usage related information related to usage of the restricted item by the person under restriction instructed by an instructor, the person-under-restriction related information being used to authenticate or identify the person under restriction;
convert:
two or more contents of the person-under-restriction related information;
two or more contents of the usage related information; or
one or more contents of the person-under-restriction related information and one or more contents of the usage related information,
into converted information having two or more contents; and
generate authentication key information by combining the two or more contents of the converted information, the authentication key information being used to authenticate input key information generated based on predetermined input-key generation rule information and the authentication key information and input to the restricted item by the person under restriction, and to release restriction of the restricted item.
2 . The server device according to claim 1 , wherein the person under restriction and the instructor are different from each other.
3 . The server device according to claim 1 , wherein the person-under-restriction related information includes information unique to the person under restriction.
4 . The server device according to claim 1 , wherein
the person under restriction is a person who provides a predetermined service to the instructor, and
the person-under-restriction related information includes identification information for specifying the person under restriction or a company to which the person under restriction belongs.
5 . The server device according to claim 4 , wherein the usage related information includes content information indicating a content of the predetermined service selected by the instructor and provided by the person under restriction.
6 . The server device according to claim 5 , wherein the content information includes at least one of provision time information related to a time for providing the predetermined service and location information related to a location for providing the predetermined service.
7 . The server device according to claim 1 , wherein the usage related information includes unique information given to the instructor.
8 . The server device according to claim 1 , wherein the usage related information includes information of an arbitrary character string selected by the instructor.
9 . The server device according to claim 1 , wherein the authentication key information is generated based on one-time code information validated at a predetermined time in addition to the combination of the two or more contents of the converted information.
10 . The server device according to claim 9 , wherein the one-time code information is generated based on usage time information indicating a time when the person under restriction uses the restricted item.
11 . The server device according to claim 1 , wherein the authentication of the input key information is performed by the server device that has received the input key information input to the restricted item via a communication network.
12 . The server device according to claim 1 , wherein
the input key information is generated by the at least one processor and then transmitted to the restricted item via a communication network, and
the authentication of the input key information is performed by the restricted item that has received the input key information generated by the at least one processor.
13 . The server device according to claim 1 , wherein
the predetermined input-key generation rule information and the authentication key information are transmitted to the restricted item via a communication network, and
the authentication of the input key information is performed by the restricted item that has received the input-key generation rule information and the authentication key information.
14 . The server device according to claim 1 , wherein
the input key information and the input-key generation rule information are transmitted to a person-under-restriction terminal device possessed by the person under restriction via a communication network, and
the authentication of the input key information is performed by the server device that has received the input key information input to the restricted item via the communication network and has received the input-key generation rule information from the person-under-restriction terminal device via the communication network.
15 . The server device according to claim 1 , wherein
the input key information and the input-key generation rule information are transmitted to a person-under-restriction terminal device possessed by the person under restriction via a communication network, and
the authentication of the input key information is performed by the restricted item that has received the input-key generation rule information from the person-under-restriction terminal device and has received the authentication key information from the server device.
16 . The server device according to claim 1 , wherein
the at least one processor is further configured to convert:
the two or more contents of the person-under-restriction related information;
the two or more contents of the usage related information; or
the one or more contents of the person-under-restriction related information and the one or more contents of the usage related information,
into numerical information, as the converted information, having a predetermined fixed length by using a hash function.
17 . The server device according to claim 1 , wherein
the at least one processor is further configured to:
convert:
the two or more contents of the person-under-restriction related information;
the two or more contents of the usage related information; or
the one or more contents of the person-under-restriction related information and the one or more contents of the usage related information,
into numerical information as the converted information;
generate a sum by adding the two or more contents of the numerical information; and
generate the authentication key information by extracting a specific number of digits at a predetermined position from the sum.
18 . The server device according to claim 1 , wherein
the person-under-restriction related information includes company identification information relating to the person under restriction,
the server device has a memory, and the memory is configured to store a conversion table in which the combination of the two or more contents for generating the authentication key information and a conversion rule of the conversion are associated with each content of the company identification information,
with respect to the conversion table, the at least one processor is further configured to set, for the each content of the company identification information, one of:
which contents are extracted from the person-under-restriction related information and the usage related information; and
the conversion rule based on each of the person-under-restriction related information and the usage related information, and
the at least one processor is further configured to generate the authentication key information based on the extracted contents and the conversion rule for the each content of the company identification information in reference to the conversion table.
19 . A method for causing a processor to execute a process, the method comprising executing on the processor in a computer the steps of:
receiving at least one of person-under-restriction related information related to a person under restriction whose usage of a restricted item is restricted and usage related information related to usage of the restricted item by the person under restriction instructed by an instructor, the person-under-restriction related information being used to authenticate or identify the person under restriction;
converting:
two or more contents of the person-under-restriction related information;
two or more contents of the usage related information; or
one or more contents of the person-under-restriction related information and one or more contents of the usage related information,
into converted information having two or more contents; and
generating authentication key information by combining the two or more contents of the converted information, the authentication key information being used to authenticate input key information generated based on predetermined input-key generation rule information and the authentication key information and input to the restricted item by the person under restriction, and to release restriction of the restricted item.
20 . A computer program product embodying computer readable instructions stored on a non-transitory computer-readable storage medium for causing a computer to execute a process by at least one processor so as to perform the steps of:
receiving at least one of person-under-restriction related information related to a person under restriction whose usage of a restricted item is restricted and usage related information related to usage of the restricted item by the person under restriction instructed by an instructor, the person-under-restriction related information being used to authenticate or identify the person under restriction;
converting:
two or more contents of the person-under-restriction related information;
two or more contents of the usage related information; or
one or more contents of the person-under-restriction related information and one or more contents of the usage related information,
into converted information having two or more contents; and
generating authentication key information by combining the two or more contents of the converted information, the authentication key information being used to authenticate input key information generated based on predetermined input-key generation rule information and the authentication key information and input to the restricted item by the person under restriction, and to release restriction of the restricted item.