Device authentication method, system and storage medium

Through device authentication methods and systems, the verification of user and device digital identity credentials, combined with IAM/IDaaS and IFAA passwordless authentication middle platform, solves the unified and coordinated operation problems of IoT device management and realizes enterprise-level passwordless Digital identity services improve management flexibility and collaboration capabilities.

CN114448725BActive Publication Date: 2024-09-24BEIJING YISHA INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210282040.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-22
Publication Date
2024-09-24
Estimated Expiration
2042-03-22

AI Technical Summary

Technical Problem

Traditional IoT device management is difficult to achieve unified management and cannot cope with the flexible and changeable scenarios brought about by the rapid development of enterprise business. Moreover, smart devices lack unified standards and are difficult to operate collaboratively.

Method used

Provide a device authentication method and system that receives user digital identity credentials and device digital identity credentials, performs verification and returns operation permissions, and realizes device control. It combines IAM/IDaaS and IFAA passwordless authentication middle platforms to build an enterprise-level passwordless authentication platform. Digital identity services.

Benefits of technology

It realizes the unified management of multiple IoT devices, enhances the flexibility and collaborative operation capabilities of enterprises, and facilitates enterprises to centrally manage all types of IoT devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114448725B
    Figure CN114448725B
Patent Text Reader

Abstract

The embodiment of the present invention discloses a device authentication method, system and storage medium. The method includes: receiving a first user digital identity certificate; obtaining a device digital identity certificate, reporting a device operation authentication request message; the device operation authentication request message includes at least: a first user digital identity certificate, a device digital identity certificate; receiving a device operation authentication request message, verifying the first user digital identity certificate and the device digital identity certificate, and obtaining the operation authority corresponding to the first user digital identity certificate; returning a device operation authentication response message, the device operation authentication response message includes at least: the operation authority; and controlling the device according to the operation authority. The embodiment of the present invention, based on the traditional IAM / IDaaS of the enterprise, combines the IFAA passwordless authentication middle station to build a passwordless digital identity service for all types of enterprises, which is convenient for enterprises to centrally manage all IoT devices.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to the field of authentication methods, and in particular to a device authentication method, system and storage medium. [Background technology]

[0002] Traditional IoT devices have their own independent management backend, and it is difficult to establish unified management of multiple devices in the enterprise backend; the use and permission allocation of devices are based on the internal organizational system and employee accounts of the enterprise, which cannot cope with the flexible and changing business scenarios brought about by the rapid development of the enterprise business. Due to the wide variety of smart devices and the lack of unified standards, it is difficult for multiple smart devices to operate in coordination. [Summary of the invention]

[0003] In view of the above-mentioned defects, the present invention provides a device authentication method, system and storage medium.

[0004] On the one hand, to achieve the above object, the present invention provides a device authentication method, the method comprising:

[0005] Receiving a first user digital identity credential;

[0006] Obtaining a device digital identity certificate and reporting a device operation authentication request message; the device operation authentication request message at least includes: the first user digital identity certificate and the device digital identity certificate;

[0007] receiving the device operation authentication request message, verifying the first user digital identity certificate and the device digital identity certificate, and obtaining the operation authority corresponding to the first user digital identity certificate;

[0008] Returning a device operation authentication response message, wherein the device operation authentication response message at least includes: the operation authority;

[0009] The device is controlled according to the operation authority.

[0010] Optionally, before receiving the first user digital identity certificate, a device registration process is also included, and the device registration process includes the following steps:

[0011] Obtain device information, the device information including: a device public key and encrypted device information;

[0012] Sending a device registration request message, wherein the device registration request message includes: the device information and the second user digital identity certificate;

[0013] Receive the device registration request message, verify the second user digital identity certificate and the device information; after the verification is passed, generate a business key pair and a binding message for the device corresponding to the device information; the business key pair includes: a business public key and a business private key; the binding message includes: the business public key;

[0014] Return a device registration response message, wherein the device registration response message includes: the binding message.

[0015] Optionally, after the device is registered, a device binding process is also included, and the device binding process includes the following steps:

[0016] Receive an Internet of Things device binding request message, wherein the Internet of Things device binding request message includes: a binding message;

[0017] The Internet of Things device binding request message is subjected to a legitimacy verification according to a preset device public key. After the legitimacy verification passes, the service public key carried in the Internet of Things device binding request message is saved.

[0018] Optionally, the receiving of the first user digital identity certificate is achieved by the following steps:

[0019] Scan the QR code to obtain the first user's digital identity certificate; or

[0020] The first user digital identity certificate is received via wireless transmission.

[0021] Optionally, the device operation authentication request message further includes: a device identifier and an operation type;

[0022] Optionally, the verifying the first user digital identity credential and the device digital identity credential comprises the following steps:

[0023] According to the device identifier, obtaining device information;

[0024] Verify the device digital identity certificate to determine whether the device corresponding to the device digital identity certificate has been registered; if the device has been registered and the device digital identity certificate exists locally, the verification is successful;

[0025] Verify the first user digital identity certificate to determine whether the user corresponding to the first user digital identity certificate has been registered; if the user has been registered and the first user digital identity certificate exists locally, the verification is successful;

[0026] Query whether the first user digital identity certificate has the operation authority corresponding to the operation type.

[0027] On the other hand, the present invention also provides a device authentication system, the system comprising a first user terminal, a device terminal, and a device authentication server, wherein:

[0028] The first user terminal is used to obtain a first user digital identity certificate and send the first user digital identity certificate to the device terminal;

[0029] The device terminal is used to report a device operation authentication request message; the device operation authentication request message at least includes: the first user digital identity certificate, the device digital identity certificate; and is used to control the device according to the operation authority;

[0030] The device authentication server is used to receive the device operation authentication request message, verify the first user digital identity certificate and the device digital identity certificate, and obtain the operation authority corresponding to the first user digital identity certificate; and is also used to return a device operation authentication response message, and the device operation authentication response message at least includes: the operation authority.

[0031] Optionally, the system further comprises: a second user terminal, wherein;

[0032] The second user terminal is used to obtain device information, the device information includes: a device public key and encrypted device information; and is also used to send a device registration request message, the device registration request message includes: the device information and a second user digital identity certificate;

[0033] The device authentication server is configured to receive the device registration request message, verify the second user digital identity certificate and the device information; after the verification is passed, generate a business key pair and a binding message for the device corresponding to the device information; the business key pair includes: a business public key and a business private key; the binding message includes: the business private key; and is also configured to return a device registration response message, the device registration response message includes: the binding message;

[0034] The second user terminal is further used to receive the device registration response message and send the binding message to the device terminal;

[0035] The device terminal uses the device public key to verify the binding message, and saves the service public key after the verification is successful.

[0036] Optionally, the device authentication server includes: a device management server and a digital identity server;

[0037] The device management server is used for managing the device terminal;

[0038] The digital identity server is used to manage the first user terminal and the second user terminal, and manage the digital identity credentials of users.

[0039] On the other hand, the present invention further provides a computer-readable storage medium for storing processor-executable instructions. When the processor-executable instructions stored in the computer-readable storage medium are executed, the processor can cause the processor to implement the device authentication method as described above.

[0040] Compared with the existing technology, the present invention is based on the traditional IAM / IDaaS of the enterprise, combined with the IFAA passwordless authentication middle platform, to build a passwordless digital identity service for all types of enterprises, which is convenient for enterprises to centrally manage all IoT devices.

Brief Description of the Drawings

[0041] Figure 1 It is a flow chart of a device authentication method provided by an embodiment of the present invention;

[0042] Figure 2 is a flow chart of a device registration process provided by an embodiment of the present invention;

[0043] Figure 3 is a detailed flow chart of device authentication provided by an embodiment of the present invention;

[0044] Figure 4 It is a schematic diagram of a process of verifying a digital identity certificate of a device provided by an embodiment of the present invention;

[0045] Figure 5 is a detailed flow chart of device registration provided by an embodiment of the present invention;

[0046] Figure 6 is a detailed flow chart of device binding provided by an embodiment of the present invention;

[0047] Figure 7 A schematic diagram of the structure of an embodiment of a device authentication system of the present invention;

[0048] Figure 8 A schematic diagram of the structure of an embodiment of a device authentication server of the present invention;

[0049] Fig. 9 It is a structural diagram of the hardware operating environment involved in the embodiment of the present invention. [Specific implementation method]

[0050] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0051] A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the subsequent description, suffixes such as "module", "component" or "unit" used to represent elements are used only to facilitate the description of the present invention and have no specific meaning in themselves. Therefore, "module" and "component" can be used interchangeably.

[0052] It should be understood that this application is applied to a device authentication system, see Figure 5 , Figure 5 FIG. 1 is a schematic diagram of a structure of an embodiment of a device authentication system in an embodiment of the present application. Figure 5 As shown, Figure 5 The system comprises: a device authentication server 100, a first user terminal 200, a second user terminal 300, and a device terminal 400;

[0053] The device authentication server 100 is used to receive the device operation authentication request message, verify the first user digital identity certificate and the device digital identity certificate, and obtain the operation authority corresponding to the first user digital identity certificate; and is also used to return a device operation authentication response message, and the device operation authentication response message at least includes: the operation authority.

[0054] The device authentication server 100 is also used to receive the device registration request message, verify the second user digital identity certificate and the device information; after the verification is passed, generate a business key pair and a binding message for the device corresponding to the device information; the business key pair includes: a business public key, a business private key; the binding message includes: the business private key; and is also used to return a device registration response message, and the device registration response message includes: the binding message.

[0055] The first user terminal 200 is used to obtain a first user digital identity certificate and send the first user digital identity certificate to the device terminal.

[0056] The second user terminal 300 is used to obtain device information, which includes: a device public key and encrypted device information; and is also used to send a device registration request message, which includes: the device information and a second user digital identity certificate.

[0057] The second user terminal 300 is further configured to receive the device registration response message and send the binding message to the device terminal.

[0058] The device terminal 400 is used to report a device operation authentication request message; the device operation authentication request message at least includes: the first user digital identity certificate, the device digital identity certificate; and is also used to control the device according to the operation authority.

[0059] The device terminal 400 is further used to verify the binding message using the device public key, and save the service public key after the verification is successful.

[0060] In one embodiment, Figure 1 As shown, the present invention provides a device authentication method, the method comprising:

[0061] Step S101: Receive a first user digital identity certificate.

[0062] IoT device users, such as residents of a community using smart access control. Residents need to obtain their own digital identity credentials before using smart access control. A digital identity credential is a set of data describing a person or thing, or the sum of all information about a person available on the network. It is an online identity, or network identity, adopted by an individual, organization, or electronic device on the network. The registration and acquisition of digital identity credentials belong to the existing technical solutions and will not be described in detail in the present invention.

[0063] Each user registers a digital identity authentication credential in the digital identity server, and the digital identity server sends the digital identity authentication credential to the user's terminal, such as a smartphone. The registration and authentication of the digital identity authentication credential can be implemented using the technical solution corresponding to the FAA Trusted Digital Identity Technical Specification.

[0064] The user obtains a digital identity authentication certificate through the IFAA local password-free authentication method. For example, after the user passes the fingerprint authentication on the smartphone, the corresponding digital identity authentication certificate is obtained, such as digital identity authentication certificate A. Each digital identity authentication certificate corresponds to an identifier, which can be represented by a unique number. As shown in the following table:

[0065] Digital identity authentication credentials Digital identity authentication credential identification Digital identity authentication certificateA e10adc3949ba59abbe56e057f20f883e

[0066] Step S102: Obtain the device digital identity certificate and report a device operation authentication request message; the device operation authentication request message at least includes: the first user digital identity certificate, the device digital identity certificate, the device identifier, and the operation type;

[0067] After the user obtains the digital identity certificate, he / she selects the corresponding method according to the type of IoT device to be operated to transmit the digital identity certificate identifier obtained by the user to the corresponding IoT device. If the IoT device has the function of obtaining images (such as the IoT device is a smart access control with a camera installed), the user selects the QR code method to transmit the digital identity certificate identifier on the smart phone, and the APP of the digital identity certificate converts the user's digital identity certificate identifier into a QR code and displays it on the mobile phone screen. The user brings the QR code close to the camera of the IoT device (such as the smart access control), and the IoT device obtains the user's digital identity authentication identifier through the camera. For example, the identifier of the digital identity authentication certificate A is: e10adc3949ba59abbe56e057f20f883e.

[0068] If the IoT device does not have the function of acquiring images, the user uses one of the wireless communication methods such as Bluetooth, WiFi, NFC, etc. of the smartphone to establish a wireless connection with the IoT device. For example, the user uses the Bluetooth of the smartphone to establish a Bluetooth connection with the smart door lock, and then sends the digital identity authentication credential to the smart door lock through the Bluetooth connection.

[0069] After receiving the user's digital identity certificate identifier sent by the user, the IoT device obtains its own digital identity authentication certificate. The obtained digital identity authentication certificate is shown in the following table:

[0070] Digital identity authentication credentials Digital identity authentication credential identification Digital identity authentication certificate B 14e1b600b1fd579f47433b88e8d85291

[0071] After the IoT device (such as smart access control) obtains its own digital identity credentials and the user's digital identity credentials, it sends a device operation authentication request message to the device authentication server, carrying the IoT device's digital identity credentials and the user's digital identity credentials. The device operation authentication request message is shown in the following table:

[0072]

[0073] The operation type corresponds to different types of operation according to different IoT devices. For example, smart access control has operation types such as opening the door. The specific operation type is defined according to the type of IoT device and is limited by this technical solution.

[0074] Step S103: Receive the device operation authentication request message, verify the first user digital identity certificate and the device digital identity certificate, and obtain the operation authority corresponding to the first user digital identity certificate.

[0075] The device authentication server includes: device management server and digital identity server. The device management server is used for device terminal management; the digital identity server is used for user terminal management and manages the user's digital identity credentials.

[0076] Further, the device management server can include an IOT server and an IoT device management platform. The IOT server is responsible for managing the network connection of IoT devices, that is, responsible for IoT access management; the IoT device management platform is responsible for dual authentication of IoT devices and visitors (i.e. users). The IoT device management platform configures corresponding operation permissions for each registered user, such as assigning door opening permissions to visitors and device management permissions (adding devices, modifying devices, deleting devices, etc.) to administrators. Operation permissions are associated with user digital identity credentials, as shown in the following table:

[0077] User Type Digital identity authentication credential identification Operation Permissions Visitors e10adc3949ba59abbe56e057f20f883e Open the door Residents 14e1b600b1fd579f47433b88e8d85291 Open the door administrator bac78819cc67469e9e4de50c677990e9 Door opening, equipment management

[0078] This technical solution does not limit the specific allocation of operation permissions. For the dual authentication process of IoT device management platform for IoT devices and visitors (i.e. users), see Figure 4 process.

[0079] Step S401: Acquire device information according to the device identification.

[0080] After the IOT server receives the device operation authentication request message sent by the IoT device (such as smart access control), it forwards it to the IoT device management center. The IoT device management center first verifies the IoT device, such as verifying the IoT device through the set identity authentication credentials of the IoT device. Query the corresponding IoT device information based on the identity authentication credential identifier of the IoT device. Determine whether the IoT device is a legal device, such as querying the local database through the digital identity authentication credential identifier to determine whether the IoT device belongs to the IoT device managed by the IoT device management center. If it is not a device managed by the IoT device management center, reject the device operation authentication request; if it is a device managed by the IoT device management center, forward the digital identity credential of the IoT device and the digital identity credential of the user to the digital identity server. The query results are shown in the following table:

[0081] Digital identity authentication credential identification IoT device types IoT device identification 14e1b600b1fd579f47433b88e8d85291 Smart access control Smart access control A

[0082] Step S402: verify the device digital identity certificate to determine whether the device corresponding to the device digital identity certificate has been registered; if the device has been registered and the device digital identity certificate exists locally, the verification is successful.

[0083] Step S403: verify the first user digital identity certificate to determine whether the user corresponding to the first user digital identity certificate has been registered; if the user has been registered and the first user digital identity certificate exists locally, the verification is successful.

[0084] After receiving the digital identity certificate of the IoT device and the digital identity certificate of the user, the digital identity server verifies the digital identity certificate of the IoT device and the digital identity certificate of the user respectively, determines whether the digital identity certificate of the IoT device and the digital identity certificate of the user have been registered in the digital identity server, and then returns the digital identity certificate verification result to the IoT device management center.

[0085] Step S404: query whether the first user digital identity certificate has the operation authority corresponding to the operation type.

[0086] After the IoT device management center receives the digital identity credential verification result, if the digital identity credential verification fails, the device operation authentication request is rejected; if the digital identity credential verification succeeds, the user's information, such as user type, is obtained based on the user's digital identity credential. The IoT device management center obtains the user's allowed operation permissions on the corresponding IoT device based on the user's information. For example, if the user type is a visitor, the door opening operation is allowed on the smart access control machine. The IoT device management center generates corresponding control commands based on the allowed operation permissions, that is, the user's operation permissions on the corresponding IoT device. Then the device operation authentication response message is returned to the IoT server, which is forwarded to the IoT device (such as a smart access control device) by the IoT service segment. If the IoT device management center determines that the user does not have the operation permission corresponding to the operation type, it returns the user's allowed operation permissions.

[0087] Step S104: Return a device operation authentication response message, wherein the device operation authentication response message at least includes: the operation authority.

[0088] Step S105, perform device control according to the operation authority.

[0089] After receiving the device operation authentication response message returned by the IOT server, the IoT device performs control according to the operation authority (i.e. the corresponding control command) carried in the message. For example, if the control command received by the smart access control device is to open the door, the corresponding door will be opened. If there are multiple operation authorities, multiple permitted operation authorities can be displayed in the IoT device, and the user can select one permitted operation authority to execute.

[0090] The process of users using IoT devices based on digital identity credentials can be referred to Figure 3 The process shown.

[0091] Through the embodiments of the present invention, users operate IoT devices through digital identity credentials. Based on the traditional IAM / IDaaS of the enterprise and combined with the IFAA passwordless authentication middle platform, a passwordless digital identity service for all types of enterprises is constructed, which facilitates the centralized management of all IoT devices by the enterprise.

[0092] In addition, the embodiment of the present invention also proposes another device authentication method, referring to Figure 2 , the method is for IoT device registration, comprising the following steps:

[0093] Step S201: Obtain device information, the device information including: a device public key and encrypted device information.

[0094] IoT devices must complete smart device authentication under human supervision. For example, IoT devices need to be registered by device administrators or device users before they can be used. After the IoT device user (referred to as the device administrator) obtains his or her digital identity certificate through the mobile phone APP, he or she uses the mobile phone APP to scan the QR code corresponding to the device identifier of the IoT device (such as a smart door lock). Each IoT device has a unique identifier, such as the unique identifier of smart door lock A: S-001-12589-AB-005. The specific unique identifier is set by each IoT device manufacturer, and this technical solution does not impose any restrictions. The digital identity certificate of the IoT device is obtained by the administrator from the digital identity server and sent to the IoT device. Before registering the IoT device, the administrator will assign a digital identity certificate to each IoT device through the digital identity server.

[0095] The IoT device administrator scans the unique identification QR code of the IoT device through the mobile phone APP, or the administrator manually enters the unique identification of the IoT device in the mobile phone APP. Then, a wireless connection is established with the corresponding IoT device based on the unique identification, such as Bluetooth, WiFi, Zigbee and other wireless connections. The mobile phone APP obtains the device public key and encrypted device information preset in the IoT device through the wireless connection.

[0096] Step S202: Send a device registration request message, where the device registration request message includes: the device information and the second user digital identity certificate.

[0097] After the mobile phone APP obtains the unique identifier of the IoT device, it constructs an IoT device registration request message, which carries the IoT device information and the digital identity certificate of the device administrator. The device information includes the device unique identifier, device type, etc. The registration request message is shown in the following table:

[0098]

[0099] Step S203, receive the device registration request message, verify the second user digital identity certificate and the device information; after the verification is passed, generate a business key pair and a binding message for the device corresponding to the device information; the business key pair includes: a business public key, a business private key; the binding message includes: the business public key.

[0100] The device administrator APP sends a device registration request message to the IoT device management center. The IoT device management center obtains the device administrator's digital identity certificate carried in the device registration request message and verifies the device administrator's digital identity verification certificate in the digital identity server.

[0101] The digital identity server verifies the authenticity of the digital identity credential based on the digital identity credential of the device administrator and returns the verification result to the IoT device management center.

[0102] The IoT device management center processes the data identity credential verification results. If the verification fails, the device registration request is rejected; if the verification passes, it determines whether the device administrator has the authority to register the IoT device. Only users with the authority to register the IoT device can initiate device registration. After the IoT device management center determines that the device administrator can register the IoT device, it reviews the business key pair for the IoT device (such as smart door lock A) and issues a binding message. The business key pair includes: business public key, business private key, and the binding message includes: business public key.

[0103] Step S204: Return a device registration response message, where the device registration response message includes: the binding message.

[0104] After the IoT device management center completes the registration of the IoT device, it returns a device registration response message to the device administrator's APP. The device registration response message carries a binding message, which contains: business public key.

[0105] Step S205: receiving an IoT device binding request message, where the IoT device binding request message includes: a business public key.

[0106] After the device administrator APP receives the device registration response message returned by the IoT device management center, it sends an IoT device binding request message to the IoT device (such as a smart door lock) through the wireless connection between the smartphone and the IoT device.

[0107] The IoT device receives an IoT device binding request message, where the IoT device binding request message includes: a business public key.

[0108] Step S206: perform legitimacy verification on the IoT device binding request message according to the preset device public key. After the legitimacy verification passes, save the business public key carried in the IoT device binding request message.

[0109] The IoT device management center encrypts the binding message, and then sends the encrypted binding message to the device administrator's APP. The APP forwards the encrypted binding message to the IoT device. The IoT device uses the locally preset device public key to decrypt the encrypted binding message. After successful decryption, it indicates that the IoT device binding request message is valid, that is, it has passed the legitimacy verification. The IoT device saves the business public key in the decrypted binding message locally for subsequent interaction between the IoT device and the device authentication server. The IoT device verifies the reliability of the control instruction returned by the IoT device management center based on the business public key. If the verification fails using the business public key, the control instruction is discarded. At the same time, when the IoT device reports data to the IoT device management center, it needs to use the business public key for encryption.

[0110] For detailed process of IoT device registration, please refer to Figure 5 The process shown. For the IoT device binding process, please refer to Figure 6 The process shown.

[0111] After the IoT device completes registration and binding, it opens an account in the device authentication server, and the IoT device can be used after the account is opened. After the IoT device opens an account, it is necessary to obtain a digital identity certificate of the IoT device from the digital identity server. Obtaining a digital identity certificate belongs to the existing technology, and this technical solution will not be described in detail. After the IoT device obtains the digital identity certificate, it saves the digital identity certificate locally.

[0112] Through the embodiments of the present invention, the identity information of the registrant is confirmed by verifying the digital identity certificate of the device registrant, thereby enhancing the reliability of the Internet of Things device.

[0113] In addition, the embodiment of the present invention also provides a device authentication system, referring to Figure 7 The device authentication system includes: a device authentication server 100, a first user terminal 200, a second user terminal 300, and a device terminal 400.

[0114] The device authentication server 100 is used to receive the device operation authentication request message, verify the first user digital identity certificate and the device digital identity certificate, and obtain the operation authority corresponding to the first user digital identity certificate; and is also used to return a device operation authentication response message, and the device operation authentication response message at least includes: the operation authority.

[0115] The device authentication server 100 is further used to receive the device registration request message, verify the second user digital identity certificate and the device information; after the verification is passed, generate a business key pair and a binding message for the device corresponding to the device information; the business key pair includes: a business public key and a business private key; the binding message includes: the business private key; and is also used to return a device registration response message, the device registration response message includes: the binding message;

[0116] The first user terminal 200 is used to obtain a first user digital identity certificate and send the first user digital identity certificate to the device terminal;

[0117] The second user terminal 300 is used to obtain device information, the device information includes: a device public key, encrypted device information; and is also used to send a device registration request message, the device registration request message includes: the device information, a second user digital identity certificate;

[0118] The second user terminal 300 is further configured to receive the device registration response message and send the binding message to the device terminal;

[0119] The device terminal 400 is used to report a device operation authentication request message; the device operation authentication request message at least includes: the first user digital identity certificate, the device digital identity certificate; and is used to control the device according to the operation authority;

[0120] The device terminal 400 is further used to verify the binding message using the device public key, and save the service public key after the verification is successful.

[0121] Through the embodiments of the present invention, users operate IoT devices through digital identity credentials. Based on the traditional IAM / IDaaS of the enterprise and combined with the IFAA passwordless authentication middle platform, a passwordless digital identity service for all types of enterprises is constructed, which facilitates the centralized management of all IoT devices by the enterprise.

[0122] In addition, the embodiment of the present invention also provides a device authentication server, referring to Figure 8 , the device authentication server 100 includes: a device management server 101, a digital identity server 102.

[0123] Device management server 101, used for device terminal management;

[0124] The digital identity server 102 is used for managing the first user terminal and the second user terminal, and managing the digital identity credentials of the users.

[0125] Through the embodiments of the present invention, users operate IoT devices through digital identity credentials. Based on the traditional IAM / IDaaS of the enterprise and combined with the IFAA passwordless authentication middle platform, a passwordless digital identity service for all types of enterprises is constructed, which facilitates the centralized management of all IoT devices by the enterprise.

[0126] Reference Fig. 9 , Fig. 9 It is a structural diagram of the hardware operating environment of the device authentication server 100, the first user terminal 200, the second user terminal 300, and the device terminal 400 involved in the embodiment of the present invention.

[0127] like Fig. 9 As shown, the hardware operating environment may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as WI-FI, 4G, 5G interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0128] Those skilled in the art will understand that Fig. 9 The structure shown in the figure does not constitute a limitation on the device authentication server 100, the first user terminal 200, the second user terminal 300, and the device terminal 400, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0129] like Fig. 9 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a companion program based on the unmanned aerial device.

[0130] exist Fig. 9 In the hardware operating environment shown, the network interface 1004 is mainly used to communicate data with the external network; the user interface 1003 is mainly used to receive user input instructions; the hardware operating environment calls the device authentication program stored in the memory 1005 through the processor 1001, and performs the following operations:

[0131] Receiving a first user digital identity credential;

[0132] Obtaining a device digital identity certificate and reporting a device operation authentication request message; the device operation authentication request message at least includes: the first user digital identity certificate and the device digital identity certificate;

[0133] receiving the device operation authentication request message, verifying the first user digital identity certificate and the device digital identity certificate, and obtaining the operation authority corresponding to the first user digital identity certificate;

[0134] Returning a device operation authentication response message, wherein the device operation authentication response message at least includes: the operation authority;

[0135] The device is controlled according to the operation authority.

[0136] Optionally, before receiving the first user digital identity certificate, a device registration process is also included, and the device registration process includes the following steps:

[0137] Obtain device information, the device information including: a device public key and encrypted device information;

[0138] Sending a device registration request message, wherein the device registration request message includes: the device information and the second user digital identity certificate;

[0139] Receive the device registration request message, verify the second user digital identity certificate and the device information; after the verification is passed, generate a business key pair and a binding message for the device corresponding to the device information; the business key pair includes: a business public key and a business private key; the binding message includes: the business public key;

[0140] Return a device registration response message, wherein the device registration response message includes: the binding message.

[0141] Optionally, after the device is registered, a device binding process is also included, and the device binding process includes the following steps:

[0142] Receive an Internet of Things device binding request message, wherein the Internet of Things device binding request message includes: a binding message;

[0143] The Internet of Things device binding request message is subjected to a legitimacy verification according to a preset device public key. After the legitimacy verification passes, the service public key carried in the Internet of Things device binding request message is saved.

[0144] Optionally, the receiving of the first user digital identity certificate is achieved by the following steps:

[0145] Scan the QR code to obtain the first user's digital identity certificate; or

[0146] The first user digital identity certificate is received via wireless transmission.

[0147] Optionally, the device operation authentication request message further includes: a device identifier and an operation type;

[0148] Optionally, the verifying the first user digital identity credential and the device digital identity credential comprises the following steps:

[0149] According to the device identifier, obtaining device information;

[0150] Verify the device digital identity certificate to determine whether the device corresponding to the device digital identity certificate has been registered; if the device has been registered and the device digital identity certificate exists locally, the verification is successful;

[0151] Verify the first user digital identity certificate to determine whether the user corresponding to the first user digital identity certificate has been registered; if the user has been registered and the first user digital identity certificate exists locally, the verification is successful;

[0152] Query whether the first user digital identity certificate has the operation authority corresponding to the operation type.

[0153] Through the embodiments of the present invention, users operate IoT devices through digital identity credentials. Based on the traditional IAM / IDaaS of the enterprise and combined with the IFAA passwordless authentication middle platform, a passwordless digital identity service for all types of enterprises is constructed, which facilitates the centralized management of all IoT devices by the enterprise.

[0154] In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which a device authentication program is stored. When the device authentication program is executed by a processor, the following operations are implemented:

[0155] Receiving a first user digital identity credential;

[0156] Obtaining a device digital identity certificate and reporting a device operation authentication request message; the device operation authentication request message at least includes: the first user digital identity certificate and the device digital identity certificate;

[0157] receiving the device operation authentication request message, verifying the first user digital identity certificate and the device digital identity certificate, and obtaining the operation authority corresponding to the first user digital identity certificate;

[0158] Returning a device operation authentication response message, wherein the device operation authentication response message at least includes: the operation authority;

[0159] The device is controlled according to the operation authority.

[0160] Optionally, before receiving the first user digital identity certificate, a device registration process is also included, and the device registration process includes the following steps:

[0161] Obtain device information, the device information including: a device public key and encrypted device information;

[0162] Sending a device registration request message, wherein the device registration request message includes: the device information and the second user digital identity certificate;

[0163] Receive the device registration request message, verify the second user digital identity certificate and the device information; after the verification is passed, generate a business key pair and a binding message for the device corresponding to the device information; the business key pair includes: a business public key and a business private key; the binding message includes: the business public key;

[0164] Return a device registration response message, wherein the device registration response message includes: the binding message.

[0165] Optionally, after the device is registered, a device binding process is also included, and the device binding process includes the following steps:

[0166] Receive an Internet of Things device binding request message, wherein the Internet of Things device binding request message includes: a binding message;

[0167] The Internet of Things device binding request message is subjected to a legitimacy verification according to a preset device public key. After the legitimacy verification passes, the service public key carried in the Internet of Things device binding request message is saved.

[0168] Optionally, the receiving of the first user digital identity certificate is achieved by the following steps:

[0169] Scan the QR code to obtain the first user's digital identity certificate; or

[0170] The first user digital identity certificate is received via wireless transmission.

[0171] Optionally, the device operation authentication request message further includes: a device identifier and an operation type;

[0172] Optionally, the verifying the first user digital identity credential and the device digital identity credential comprises the following steps:

[0173] According to the device identifier, obtaining device information;

[0174] Verify the device digital identity certificate to determine whether the device corresponding to the device digital identity certificate has been registered; if the device has been registered and the device digital identity certificate exists locally, the verification is successful;

[0175] Verify the first user digital identity certificate to determine whether the user corresponding to the first user digital identity certificate has been registered; if the user has been registered and the first user digital identity certificate exists locally, the verification is successful;

[0176] Query whether the first user digital identity certificate has the operation authority corresponding to the operation type.

[0177] Through the embodiments of the present invention, users operate IoT devices through digital identity credentials. Based on the traditional IAM / IDaaS of the enterprise and combined with the IFAA passwordless authentication middle platform, a passwordless digital identity service for all types of enterprises is constructed, which facilitates the centralized management of all IoT devices by the enterprise.

[0178] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0179] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0180] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, controller, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0181] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A device authentication method, used in a device authentication system, the device authentication system comprising a first user terminal, a device terminal and a device authentication server, the method comprising the following steps: The device terminal receives a first user digital identity certificate; The device terminal also obtains the device digital identity certificate and reports a device operation authentication request message; The device operation authentication request message includes at least: the first user digital identity certificate and the device digital identity certificate; The device authentication server receives the device operation authentication request message, verifies the first user digital identity certificate and the device digital identity certificate, and obtains the operation authority corresponding to the first user digital identity certificate; The device authentication server also returns a device operation authentication response message, and the device operation authentication response message at least includes: the operation authority; The device terminal performs device control according to the operation authority; Among them, the first user digital identity certificate is obtained by the user on the first user terminal through the I FAA local password-free authentication method.

2. The method according to claim 1, characterized in that: The device authentication system further includes a second user terminal. Before receiving the first user digital identity certificate, the device registration process is also included. The device registration process includes the following steps: The second user terminal acquires device information, where the device information includes: a device public key and encrypted device information; The second user terminal also sends a device registration request message, the device registration request message including: the device information and the second user digital identity certificate; The device authentication server receives the device registration request message, verifies the second user digital identity certificate and the device information; after the verification is passed, generates a business key pair and a binding message for the device corresponding to the device information; the business key pair includes: a business public key and a business private key; the binding message includes: the business public key; The device authentication server also returns a device registration response message, and the device registration response message includes: the binding message.

3. The method according to claim 2, characterized in that: After the device is registered, the device binding process is also included, and the device binding process includes the following steps: The device terminal receives an Internet of Things device binding request message, where the Internet of Things device binding request message includes: a binding message; The device terminal performs a legitimacy verification on the IoT device binding request message according to a preset device public key, and after the legitimacy verification passes, saves the business public key carried in the IoT device binding request message.

4. The method according to claim 1, characterized in that: The receiving of the first user digital identity certificate is achieved by the following steps: Scan the QR code to obtain the first user's digital identity certificate; or The first user digital identity certificate is received via wireless transmission.

5. The method according to claim 1, characterized in that: The device operation authentication request message also includes: device identification and operation type.

6. The method according to claim 5, characterized in that: The verifying of the first user digital identity certificate and the device digital identity certificate comprises the following steps: According to the device identifier, obtaining device information; Verify the device digital identity certificate to determine whether the device corresponding to the device digital identity certificate has been registered; if the device has been registered and the device digital identity certificate exists locally, the verification is successful; Verify the first user digital identity certificate to determine whether the user corresponding to the first user digital identity certificate has been registered; if the user has been registered and the first user digital identity certificate exists locally, the verification is successful; Query whether the first user digital identity certificate has the operation authority corresponding to the operation type.

7. A device authentication system, characterized in that: The system includes a first user terminal, a device terminal, and a device authentication server, wherein: The first user terminal is used for obtaining the first user digital identity certificate by the user through the IFAA local password-free authentication method, and sending the first user digital identity certificate to the device terminal; The device terminal is used to report a device operation authentication request message; the device operation authentication request message at least includes: the first user digital identity certificate, the device digital identity certificate; and is used to control the device according to the operation authority; The device authentication server is used to receive the device operation authentication request message, verify the first user digital identity certificate and the device digital identity certificate, and obtain the operation authority corresponding to the first user digital identity certificate; and is also used to return a device operation authentication response message, and the device operation authentication response message at least includes: the operation authority.

8. The system according to claim 7, characterized in that: The system further comprises: a second user terminal, wherein; The second user terminal is used to obtain device information, the device information includes: a device public key and encrypted device information; and is also used to send a device registration request message, the device registration request message includes: the device information and a second user digital identity certificate; The device authentication server is configured to receive the device registration request message, verify the second user digital identity certificate and the device information; after the verification is passed, generate a business key pair and a binding message for the device corresponding to the device information; the business key pair includes: a business public key and a business private key; the binding message includes: the business private key; and is also configured to return a device registration response message, the device registration response message includes: the binding message; The second user terminal is further used to receive the device registration response message and send the binding message to the device terminal; The device terminal uses the device public key to verify the binding message, and saves the service public key after the verification is successful.

9. The system according to claim 8, characterized in that: The device authentication server includes: a device management server and a digital identity server; The device management server is used for managing the device terminal; The digital identity server is used to manage the first user terminal and the second user terminal, and manage the digital identity credentials of users.

10. A computer-readable storage medium for storing processor-executable instructions, wherein the processor-executable instructions stored in the computer-readable storage medium, when executed, can cause a processor to implement the device authentication method according to any one of claims 1 to 6.