Identity authentication method, device, trusted entity, authentication entity and terminal

Through the two-way authentication method between the IoT terminal and the business management cloud platform, trusted entities are used for terminal identity authentication and two-way authentication, which solves the security problems caused by differences in terminal authentication capabilities and realizes two-way communication between the terminal and the cloud platform. Security authentication and trust relationship establishment.

CN114070574BActive Publication Date: 2024-09-27CHINA MOBILE COMM LTD RES INST +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202010784003.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-06
Publication Date
2024-09-27
Estimated Expiration
2040-08-06

AI Technical Summary

Technical Problem

Existing IoT terminals have widely varying authentication capabilities, which causes the business management platform to face access requirements from terminals with high, medium, and low authentication capabilities when performing two-way authentication, making it difficult to ensure two-way security authentication between the terminal and the business management cloud platform.

Method used

Provide an identity authentication method that authenticates the identity of the terminal through a trusted entity, completes two-way authentication with the certification entity, and sends ticket information to the terminal to establish a trust relationship between the terminal and the certification entity and ensure two-way security authentication. .

Benefits of technology

It realizes two-way security authentication between the terminal and the authentication entity, ensures the establishment and maintenance of the trust relationship, adapts to the access requirements of terminals with different authentication capabilities, and improves the security and compatibility of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114070574B
    Figure CN114070574B
Patent Text Reader

Abstract

The present invention provides an identity authentication method, device, trusted entity, authentication entity and terminal. The method comprises: obtaining a first authentication request sent by a terminal; performing identity authentication on the terminal according to the first authentication request; and sending ticket information used for authentication between the terminal and the authentication entity to the terminal when the identity authentication of the terminal passes and the two-way authentication between the authentication capability entity and the authentication entity requested by the authentication request passes. The method performs identity authentication on the terminal through a trusted entity and completes two-way authentication with the authentication entity, so that after the trusted entity establishes a trust relationship with the terminal and the authentication entity respectively, it assists the terminal and the authentication entity in establishing a trust relationship, thereby ensuring two-way security authentication between the terminal and the authentication entity.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of security technology, and in particular to an identity authentication method, device, trusted entity, authentication entity and terminal. Background Art

[0002] When IoT terminals communicate with the business management cloud platform, in order to ensure the trustworthiness of both parties, the terminals and the management platform must perform two-way authentication. However, the authentication capabilities of existing IoT terminals vary greatly, and there are many IoT application scenarios. The business management platform often faces authentication access requirements for terminals with high, medium, and low authentication capabilities. To ensure the security of terminals and services, terminals also need to authenticate the business management platform. Therefore, a lightweight, secure, and compatible two-way authentication solution for terminals with various authentication capabilities is needed. Summary of the invention

[0003] The technical solution of the present invention aims to provide an identity authentication method, device, trusted entity, authentication entity and terminal, which can ensure two-way security authentication between the terminal and the business management cloud platform.

[0004] One embodiment of the present invention provides an identity authentication method, which is applied to a trusted entity, wherein the method comprises:

[0005] Obtaining a first authentication request sent by the terminal;

[0006] Performing identity authentication on the terminal according to the first authentication request;

[0007] When the identity authentication of the terminal passes and the two-way authentication between the authentication capability entity and the authentication entity requested by the authentication request passes, ticket information used for authentication between the terminal and the authentication entity is sent to the terminal.

[0008] Optionally, in the identity authentication method, the ticket information includes first original information, identity information of the trusted entity, and first signature information after signing the first original information;

[0009] Among them, the first original information includes at least one of the identity information of the authentication entity, the identity information of the terminal, the first authentication method of the trusted entity to authenticate the terminal, the second authentication method of the terminal to authenticate the trusted entity, and the timestamp of the authentication between the trusted entity and the authentication entity.

[0010] Optionally, in the identity authentication method, the ticket information also includes an identity certificate of the trusted entity.

[0011] Optionally, in the identity authentication method, before sending ticket information used for authentication between the terminal and the authentication entity to the terminal, the method further includes:

[0012] According to the preset first verification information and the first trusted report, two-way authentication is performed with the authentication entity.

[0013] Optionally, the identity authentication method, wherein, based on the preset first verification information and the first trusted report, performing two-way authentication with the authentication entity, includes:

[0014] Sending a second authentication request to the authentication entity; wherein the second authentication request includes a second original text, second signature information after signing the second original text, and the identity certificate of the trusted entity; the second original text includes the identity information of the trusted entity and the first trusted report;

[0015] Obtaining a third authentication request sent by the authentication entity in response to the second authentication request after authenticating the trusted entity; wherein the third authentication request includes a third original text, an identity certificate of the authentication entity, and third signature information after signing the third original text; wherein the third original text includes the identity information of the authentication entity;

[0016] The identity certificate of the authentication entity is verified by using the first verification information, and after the verification passes, the third signature information is verified by using the identity certificate of the authentication entity to obtain an authentication result of authenticating the authentication entity.

[0017] Optionally, in the identity authentication method, wherein the third original document further includes a second trusted report, wherein verifying the third signature information through the identity certificate of the authentication entity includes:

[0018] The third signature information is verified by the identity certificate of the authentication entity. When it is verified that the identity information of the authentication entity and the second trusted report in the third signature information are respectively consistent with the identity information of the authentication entity and the second trusted report in the third original text, and the second trusted report is verified, and it is determined that the running status of the authentication entity is legal when generating the second trusted report, the authentication result is determined to be authentication passed.

[0019] Optionally, the identity authentication method further comprises:

[0020] If the authentication result is authentication passed, the identity information of the authentication entity and the authentication time when the authentication passed are recorded.

[0021] Optionally, the identity authentication method further comprises:

[0022] If the two-way authentication between the trusted entity and the authentication entity requested by the authentication request fails, an alarm message is sent to the terminal.

[0023] The embodiment of the present invention further provides an identity authentication method, which is applied to an authentication entity, wherein the method comprises:

[0024] Two-way authentication with trusted entities;

[0025] If the two-way authentication is successful, the identity information of the trusted entity is recorded;

[0026] Acquire a fourth authentication request sent by the terminal, wherein the fourth authentication request includes ticket information sent by the trusted entity to the terminal after the trusted entity and the authentication entity pass mutual authentication;

[0027] The ticket information is authenticated according to the identity information of the trusted entity.

[0028] Optionally, in the identity authentication method, the performing of two-way authentication with a trusted entity comprises:

[0029] Perform two-way authentication with the trusted entity according to the preset second verification information and the second trusted report.

[0030] Optionally, the identity authentication method, wherein the step of performing two-way authentication with the trusted entity based on the preset second verification information and the second trusted report, includes:

[0031] Obtaining a second authentication request sent by the trusted entity; the second authentication request includes a second original text, second signature information after signing the second original text, and an identity certificate of the trusted entity; the second original text includes identity information of the trusted entity and the first trusted report;

[0032] Verifying the identity certificate of the trusted entity according to the second verification information, and verifying the second signature information through the identity certificate of the trusted entity after the verification passes;

[0033] After the second signature information is verified, a third authentication request is sent to the trusted entity; the third authentication request includes a third original text, the identity certificate of the authentication entity and third signature information after signing the third original text; wherein the third original text includes the identity information of the authentication entity and the second trusted report.

[0034] Optionally, the identity authentication method, wherein the second signature information is verified by using the identity certificate of the trusted entity, comprises:

[0035] The second signature information is verified by the identity certificate of the trusted entity. When it is verified that the identity information of the trusted entity and the first trusted report in the second signature information correspond to the identity information of the trusted entity and the first trusted report in the second original text respectively, and the first trusted report is verified to determine that the running status of the trusted entity when generating the first trusted report is legal, the authentication structure is determined to be authenticated.

[0036] Optionally, the identity authentication method further comprises:

[0037] When the two-way authentication is passed, the identity certificate of the trusted entity and the identity information of the trusted entity are recorded.

[0038] Optionally, in the identity authentication method, the ticket information includes first original information, identity information of the trusted entity, and first signature information after signing the first original information;

[0039] Among them, the first original information includes at least one of the identity information of the authentication entity, the identity information of the terminal, the first authentication method of the trusted entity to authenticate the terminal, the second authentication method of the terminal to authenticate the trusted entity, and the timestamp of the authentication between the trusted entity and the authentication entity.

[0040] Optionally, the identity authentication method, wherein the ticket information is authenticated according to the identity information of the trusted entity, comprises:

[0041] Verifying the first signature information according to the recorded identity information of the trusted entity;

[0042] When the verification is passed, and the recorded identity information of the trusted entity matches the identity information of the trusted entity in the ticket information, the identity information of the authentication entity matches the identity information of the authentication entity in the ticket information, and the timestamp is within the preset validity period, it is determined that the authentication of the ticket information is successful.

[0043] An embodiment of the present invention further provides an identity authentication method, which is applied to a terminal, wherein the method comprises:

[0044] Sending a first authentication request to a trusted entity;

[0045] Acquire the ticket information sent to the terminal by the trusted entity after the trusted entity authenticates the terminal according to the first authentication request and passes the identity authentication of the terminal and the two-way authentication between the trusted entity and the authentication entity requested by the authentication request passes;

[0046] A fourth authentication request is sent to the authentication entity, wherein the fourth authentication request includes the ticket information.

[0047] Optionally, the identity authentication method, wherein:

[0048] The ticket information includes first original information, identity information of the trusted entity, and first signature information after signing the first original information;

[0049] Among them, the first original information includes at least one of the identity information of the authentication entity, the identity information of the terminal, the first authentication method of the trusted entity to authenticate the terminal, the second authentication method of the terminal to authenticate the trusted entity, and the timestamp of the authentication between the trusted entity and the authentication entity.

[0050] Optionally, in the identity authentication method, the ticket information also includes an identity certificate of the trusted entity.

[0051] An embodiment of the present invention further provides a trusted entity, including a transceiver and a processor, wherein:

[0052] The transceiver is used to obtain a first authentication request sent by the terminal;

[0053] The processor is configured to perform identity authentication on the terminal according to the first authentication request;

[0054] The transceiver is also used to send ticket information used for authentication between the terminal and the authentication entity to the terminal when the identity authentication of the terminal passes and the two-way authentication between the authentication capability entity and the authentication entity requested by the authentication request passes.

[0055] The embodiment of the present invention further provides an authentication entity, including a transceiver and a processor, wherein:

[0056] The processor is used to perform two-way authentication with a trusted entity; and

[0057] If the two-way authentication is successful, the identity information of the trusted entity is recorded;

[0058] The transceiver is used to obtain a fourth authentication request sent by the terminal, wherein the fourth authentication request includes ticket information sent by the trusted entity to the terminal after the trusted entity and the authentication entity pass mutual authentication;

[0059] The processor is further configured to authenticate the ticket information according to the identity information of the trusted entity.

[0060] An embodiment of the present invention further provides a terminal, including a transceiver, wherein the transceiver is used for:

[0061] Sending a first authentication request to a trusted entity;

[0062] Acquire the ticket information sent to the terminal by the trusted entity after the trusted entity authenticates the terminal according to the first authentication request and passes the identity authentication of the terminal and the two-way authentication between the trusted entity and the authentication entity requested by the authentication request passes;

[0063] A fourth authentication request is sent to the authentication entity, wherein the fourth authentication request includes the ticket information.

[0064] The embodiment of the present invention further provides an identity authentication device, which is applied to a trusted entity, wherein the device comprises:

[0065] A first request obtaining module, used to obtain a first authentication request sent by the terminal;

[0066] A first authentication module, configured to perform identity authentication on the terminal according to the first authentication request;

[0067] The ticket sending module is used to send ticket information used for authentication between the terminal and the authentication entity to the terminal when the identity authentication of the terminal passes and the two-way authentication between the authentication capability entity and the authentication entity requested by the authentication request passes.

[0068] The embodiment of the present invention further provides an identity authentication device, which is applied to an authentication entity, wherein the device comprises:

[0069] A second authentication module, used for performing two-way authentication with a trusted entity;

[0070] A recording module, used for recording the identity information of the trusted entity when the two-way authentication is passed;

[0071] A second request acquisition module, configured to acquire a fourth authentication request sent by the terminal, wherein the fourth authentication request includes ticket information sent by the trusted entity to the terminal after the trusted entity and the authentication entity pass mutual authentication;

[0072] The third authentication module is used to authenticate the ticket information according to the identity information of the trusted entity.

[0073] The embodiment of the present invention further provides an identity authentication device, which is applied to a terminal, wherein the device comprises:

[0074] A first request sending module, used for sending a first authentication request to a trusted entity;

[0075] A third request acquisition module is used to acquire the ticket information sent to the terminal by the trusted entity after the trusted entity performs identity authentication on the terminal according to the first authentication request, when the identity authentication of the terminal passes and the two-way authentication between the trusted entity and the authentication entity requested by the authentication request passes;

[0076] The second request sending module is used to send a fourth authentication request to the authentication entity, wherein the fourth authentication request includes the ticket information.

[0077] An embodiment of the present invention further provides a network device, which includes: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program implements the identity authentication method as described in any one of the above items when executed by the processor.

[0078] An embodiment of the present invention further provides a readable storage medium, wherein a program is stored on the readable storage medium, and when the program is executed by a processor, the steps in the identity authentication method described in any one of the above items are implemented.

[0079] At least one of the above technical solutions of the present invention has the following beneficial effects:

[0080] By adopting the identity authentication method described in the embodiment of the present invention, the terminal is authenticated by a trusted entity, and a two-way authentication is completed with the authentication entity (such as a business management cloud platform). After the trusted entity establishes a trust relationship with the terminal and the authentication entity respectively, it assists the terminal and the authentication entity in establishing a trust relationship, thereby ensuring two-way security authentication between the terminal and the authentication entity. BRIEF DESCRIPTION OF THE DRAWINGS

[0081] Figure 1 This is implementation mode 1 of the identity authentication method described in the embodiment of the present invention;

[0082] Figure 2 A schematic diagram of an interaction process of the identity authentication method according to an embodiment of the present invention;

[0083] Figure 3 This is implementation mode 2 of the identity authentication method described in the embodiment of the present invention;

[0084] Figure 4 This is implementation method 3 of the identity authentication method described in the embodiment of the present invention;

[0085] Figure 5 A schematic diagram of the structure of a trusted entity according to an embodiment of the present invention;

[0086] Figure 6 A schematic diagram of the structure of the authentication entity according to an embodiment of the present invention;

[0087] Figure 7This is a schematic diagram of the structure of a terminal according to an embodiment of the present invention;

[0088] Figure 8 This is implementation mode 1 of the identity authentication device described in the embodiment of the present invention;

[0089] Fig. 9 This is implementation mode 2 of the identity authentication device described in the embodiment of the present invention;

[0090] Fig.10 This is implementation mode 3 of the identity authentication device described in the embodiment of the present invention;

[0091] Fig.11 This is implementation mode 1 of the network device described in the embodiment of the present invention;

[0092] Fig.12 This is implementation mode 2 of the network device described in the embodiment of the present invention;

[0093] Fig.13 This is implementation mode 3 of the network device described in the embodiment of the present invention. DETAILED DESCRIPTION

[0094] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

[0095] In order to ensure two-way security authentication between the terminal and the business management cloud platform, an embodiment of the present invention provides an identity authentication method, which performs identity authentication on the terminal through a trusted entity and completes two-way authentication with the authentication entity (such as a business management cloud platform). After the trusted entity establishes a trust relationship with the terminal and the authentication entity respectively, it assists the terminal and the authentication entity in establishing a trust relationship, thereby ensuring two-way security authentication between the terminal and the authentication entity.

[0096] like Figure 1 As shown, the identity authentication method described in one embodiment of the present invention is applied to a trusted entity, including:

[0097] S110, obtaining a first authentication request sent by the terminal;

[0098] S120, performing identity authentication on the terminal according to the first authentication request;

[0099] S130, when the identity authentication of the terminal passes and the two-way authentication between the authentication capability entity and the authentication entity requested by the authentication request passes, sending ticket information used for authentication between the terminal and the authentication entity to the terminal.

[0100] In an embodiment of the present invention, the authentication entity is a physical device that performs business communications with a terminal and requires two-way authentication with the terminal. In one implementation, the identity authentication method described in an embodiment of the present invention is applied to the Internet of Things, and the authentication entity is an Internet of Things business management cloud platform.

[0101] In the embodiment of the present invention, the trusted entity is a physical device that has trusted system mechanisms such as trusted startup and trusted authentication, can protect its own security, and prove that its identity is reliable and its operating status is legal, and can perform two-way authentication with the terminal and the authentication entity respectively. In the embodiment of the present invention, optionally, when the identity authentication method is applied to the Internet of Things, the trusted entity can be a trusted gateway of the Internet of Things.

[0102] Specifically, the identity authentication method described in the embodiment of the present invention is adopted, taking the trusted entity as an Internet of Things trusted gateway as an example. The Internet of Things trusted gateway has a trusted cryptographic module and trusted system software, which can provide basic security capabilities such as secure startup, key generation, storage, derivation and negotiation, and complete two-way authentication based on algorithms such as public-private key pairs or identification.

[0103] Furthermore, taking the authentication entity as an example, the business management cloud platform has basic security capabilities such as key generation, storage, derivation and negotiation, and can complete two-way authentication based on algorithms such as public-private key pairs or identification.

[0104] In addition, the business management cloud platform and the trusted gateway can authenticate each other's identities through built-in root certificates or initial trusted roots. For example, when the authentication between the trusted gateway and the cloud platform is based on a public-private key pair, the IoT trusted gateway has an identity certificate GatewayCert, and the public-private key pair GatewayPubKey and GatewayPriKey corresponding to the certificate. The cloud platform has an identity certificate CloudCert, and the public-private key pair CloudPubKey and CloudPriKey corresponding to the certificate. The cloud platform and the trusted gateway have preset root certificates RootCert for mutual identity authentication, which can be used to authenticate the legitimacy of each other's identity certificates. Similarly, when the trusted gateway and the cloud platform are authenticated based on other authentication methods such as identification, the cloud platform and the trusted gateway also need to have the ability to implement corresponding two-way authentication, which will not be explained in detail here.

[0105] Specifically, combined Figure 1 and Figure 2 As shown, using the identity authentication method described in the embodiment of the present invention, the terminal, the trusted entity and the authentication entity respectively perform the identity authentication process including:

[0106] Step S210: The trusted entity starts securely to ensure its own security.

[0107] Step S220, the terminal sends a first authentication request to the trusted entity;

[0108] Optionally, the first authentication request includes terminal information and identity information of an authentication entity to be connected (such as domain name information).

[0109] S230, the trusted entity performs identity authentication on the terminal according to the first authentication request;

[0110] Optionally, the trusted entity performs identity authentication on the terminal, including:

[0111] Authenticate the terminal based on the terminal's username and password, asymmetric algorithm, address information (such as MAC address or IP address) or device information whitelist, authenticate the terminal, and record the authentication method.

[0112] It should be noted that the above-listed methods for the trusted entity to authenticate the terminal are only examples and are not limited to these methods.

[0113] S240, the trusted entity sends an identity authentication result to the terminal, the terminal authenticates the trusted entity within its capabilities, and the terminal establishes an initial trust relationship with the trusted entity.

[0114] Optionally, the identity authentication method of the terminal by the trusted entity and the identity authentication method of the terminal by the trusted entity may be the same or different.

[0115] Based on the above steps S210 to S240, the security of the trusted entity itself can be ensured through the secure startup of the trusted entity, and the establishment of a trusted relationship between the terminal and the trusted entity is ensured through the identity authentication between the trusted entity and the terminal.

[0116] On this basis, the trusted entity can perform two-way authentication with the authentication entity to which the terminal is to be connected, so that a trusted relationship is established between the trusted entity and the authentication entity.

[0117] Specifically, Figure 1 and Figure 2 As shown, in the identity authentication method described in the embodiment of the present invention, if the trusted entity and the authentication entity have performed two-way authentication within a certain period of time, step S280 is directly executed, that is, step S130 is directly executed; if the trusted entity and the authentication entity have not performed two-way authentication within a certain period of time, step S250 is executed.

[0118] Specifically, in the embodiment of the present invention, optionally, the trusted entity performs bidirectional authentication with the authentication entity according to the preset first verification information and the first trusted report.

[0119] Among them, Figure 2 As shown, according to the preset first verification information and the first trusted report, the two-way authentication process between the trusted entity and the authentication entity includes:

[0120] Step S250: The trusted entity sends a second authentication request to the authentication entity; wherein the second authentication request includes a second original text, second signature information after signing the second original text, and the identity certificate of the trusted entity; the second original text includes the identity information of the trusted entity and the first trusted report;

[0121] Optionally, the trusted entity completes two-way authentication with the authentication entity of the corresponding identity information based on a reliable authentication method such as a public-private key pair or an identifier, and signs a trusted report to send to the authentication entity to prove that the current operating status of the trusted entity is legal.

[0122] For example, if the authentication between the trusted entity and the authentication entity is based on a public-private key pair, the trusted entity has an identity certificate and a public-private key pair corresponding to the certificate, that is, the trusted entity public key and the trusted entity private key. The authentication entity also has an identity certificate, and a public-private key pair corresponding to the certificate, the authentication entity public key and the authentication entity private key. In addition, the authentication entity and the trusted entity have a root certificate RootCert for mutual authentication, which can be used to authenticate the legitimacy of each other's identity certificates.

[0123] Similarly, the trusted entity and the authentication entity may also be authenticated based on other authentication methods such as identification, which will not be explained here.

[0124] Among them, when the authentication between the trusted entity and the authentication entity is based on a public-private key pair, the trusted entity uses the trusted entity private key to sign the trusted entity's identity information (such as unique identity information including the trusted entity IMEI number or other identity ID) and trusted report and other information, and attaches it to the original text and the trusted entity's identity certificate and sends it to the authentication entity.

[0125] Therefore, specifically, the second authentication request sent by the trusted entity to the authentication entity includes:

[0126] The second original text includes the identity information of the trusted entity and the first trusted report;

[0127] Second signature information after signing the second original text using the private key of the trusted entity;

[0128] The identity certificate of the trusted entity.

[0129] Step S260, the trusted entity obtains the third authentication request sent by the authentication entity in response to the second authentication request and after authenticating the trusted entity; wherein the third authentication request includes a third original text, the identity certificate of the authentication entity and third signature information after signing the third original text; wherein the third original text includes the identity information of the authentication entity.

[0130] Specifically, taking the authentication between the trusted entity and the authentication entity based on the public-private key pair authentication as an example, the authentication entity uses the root certificate to verify the identity certificate of the trusted entity, confirms that the identity certificate of the trusted entity is valid and issued by the trusted CA, and then uses the identity certificate of the trusted entity to verify the signature. When it is determined that the identity information of the trusted entity and the first trusted report are reliable and have not been tampered with, the identity of the trusted entity is authenticated, and at the same time, the legality of the running status of the trusted entity is authenticated (that is, the legal running status of the first trusted report is verified), and the identity information, identity certificate and other information of the trusted entity are stored in the database.

[0131] On this basis, the authentication entity uses its private key to sign the authentication entity's identity information. If it has the ability to report trust, the trusted report will also be signed and attached to the original text and sent to the trusted entity together with the authentication entity's identity certificate, that is, a third authentication request is sent to the trusted entity.

[0132] According to the above, in this implementation, the third authentication request may include:

[0133] The third original text includes the identity information of the authentication entity; optionally, it may also include a trustworthy report of the authentication entity, that is, a second trustworthy report;

[0134] The identity certificate of the authentication entity;

[0135] The third signature information after signing the third original document.

[0136] Step S270, verifying the identity certificate of the authentication entity through the first verification information, and after the verification passes, verifying the third signature information through the identity certificate of the authentication entity to obtain an authentication result for authenticating the management cloud platform.

[0137] Taking the authentication between the trusted entity and the authentication entity based on the public-private key pair authentication as an example, the trusted entity uses the root certificate (first verification information) to verify the identity certificate of the authentication entity, confirms that the identity certificate of the authentication entity is valid, and after being issued by the trusted CA, uses the identity certificate of the authentication entity to verify the signature. When it is confirmed that the identity information of the authentication entity and the second trusted report and other information are reliable and have not been tampered with, the identity authentication of the authentication entity is completed. At the same time, the authentication obtains the result of the legality of the operating status of the authentication entity (that is, the legal operating status of the second trusted report is verified), and the trusted two-way authentication between the authentication entity and the authentication entity is completed.

[0138] Specifically, verifying the third signature information by using the identity certificate of the authentication entity includes:

[0139] The third signature information is verified by the identity certificate of the authentication entity, and the identity information of the authentication entity and the second trusted report in the third signature information are verified to be consistent with the identity information of the authentication entity and the second trusted report in the third original text respectively, and the second trusted report is verified to determine that the running status of the authentication entity is legal when generating the second trusted report, and then the authentication result is determined to be authentication passed.

[0140] Optionally, if the two-way authentication between the trusted entity and the authentication entity requested by the authentication request fails, an alarm message is sent to the terminal.

[0141] Furthermore, after the two-way authentication between the above-mentioned trusted entity and the authentication entity is completed through steps S250 to S270, and the two-way authentication is successful, the authentication entity records the identity information, identity certificate and other information of the trusted entity in the database.

[0142] Afterwards, the trusted entity executes step S280:

[0143] The trusted entity records the identity information and identity certificate of the authentication entity. Within a preset period of time, the trusted entity sends to the terminal the ticket information used for authentication between the terminal and the authentication entity.

[0144] Optionally, in an embodiment of the present invention, the ticket information includes first original information, identity information of the trusted entity, and first signature information after signing the first original information;

[0145] Among them, the first original information includes at least one of the identity information of the authentication entity, the identity information of the terminal, the first authentication method of the trusted entity to authenticate the terminal, the second authentication method of the terminal to authenticate the trusted entity, and the timestamp of the authentication between the trusted entity and the authentication entity.

[0146] Specifically, the trusted entity signs the identity information of the authentication entity, the identity information of the terminal, the authentication method between the trusted entity and the terminal (such as the authentication protocol, authentication algorithm, and whether it is a two-way authentication), and timestamp, and attaches it to the original text as a ticket. It then adds its own information such as the identity of the trusted entity and sends it to the terminal.

[0147] For example, the ticket format based on public-private key pair authentication includes:

[0148] The first original text includes the identity information of the authentication entity (such as a domain name), the identity information of the terminal, the first authentication method of the trusted entity for authenticating the terminal, the second authentication method of the terminal for authenticating the trusted entity, and the timestamp of the authentication between the trusted entity and the authentication entity;

[0149] First signature information: signature information obtained by signing the first original text with the private key of the trusted entity (which may also be referred to as first verification information in the present invention);

[0150] The identity certificate of the authentication entity;

[0151] The identity information of the authentication entity.

[0152] The above describes the format of the ticket based on the public-private key pair authentication method. It should be noted that when other authentication methods are used, such as shared secret-based or identity-based authentication methods, the format of the ticket information will be different. For example, when shared secret-based or identity-based authentication methods are used, the ticket information does not include the identity certificate of the authentication entity.

[0153] After obtaining the ticket information including the above format, the identity authentication method according to the embodiment of the present invention further includes:

[0154] Step S290: The terminal sends a fourth authentication request to the authentication entity, wherein the fourth authentication request includes the ticket information.

[0155] Step S300: The authentication entity authenticates the ticket information according to the recorded identity information of the trusted entity.

[0156] Specifically, since the authentication entity has pre-established a two-way authentication relationship with the trusted entity that issued the ticket information, the authentication entity can verify that the source of the ticket signature is reliable and has not been tampered with based on the identity information of the trusted entity and the recorded identity certificate, thereby ensuring that the identity information of the authentication entity, the identity information of the terminal, the authentication method and timestamp between the trusted entity and the terminal are credible. The authentication entity can then determine whether the ticket information is within the validity period based on the timestamp, and determine whether the identity information of the authentication entity in the ticket information is consistent with its own identity information.

[0157] If the ticket information is within the validity period as determined by the timestamp and the identity information of the authentication entity in the ticket information is consistent with its own identity information, the authentication is determined to be successful, and the authentication entity can dynamically grant terminal permissions based on the security level of the authentication method; otherwise, the authentication is determined to have failed.

[0158] The identity authentication method described in the embodiment of the present invention is adopted. On the one hand, the trusted entity performs two-way authentication with the terminal and the authentication entity respectively, so as to establish a trust relationship with both parties respectively, and then assists the terminal and the authentication entity to establish a trust relationship, and endorses the terminal with its own trustworthy capabilities, thereby ensuring the credibility of the identity information of the IoT terminal to a certain extent;

[0159] On the other hand, the trusted entity and the authentication entity perform reliable two-way authentication based on the trusted cryptographic module and the trusted report. The trusted entity not only proves its identity to the authentication entity, but also proves the legality of its operating status through the trusted report. After the authentication entity establishes trust with the trusted entity, the identity credentials of the trusted entity are recorded.

[0160] Furthermore, the trusted entity authenticates the terminal and establishes a trust relationship, writes the signature of the terminal and its own authentication method (including authentication protocol, authentication algorithm, and whether it is bidirectional authentication, etc.) into the ticket information, and issues the ticket information to the terminal. When the terminal initiates authentication to the authentication entity, the ticket information is attached to the authentication request. Since the authentication entity has established a trusted bidirectional trust relationship with the trusted entity, after verifying that the source of the ticket information issued by the trusted entity is reliable and has not been tampered with through the previously recorded identity information of the trusted entity, the reliability of the terminal's identity can be evaluated based on the authentication method of the trusted entity and the terminal in the ticket information, thereby dynamically allocating access rights.

[0161] In addition, the trusted entity performs two-way authentication with the authentication entity specified in the terminal authentication request. If the authentication entity cannot prove its legal identity, the trusted entity sends an alarm to the terminal. If the authentication entity can prove its legal identity, the trusted entity sends ticket information to the terminal, thereby assisting the terminal in authenticating the legitimacy of the identity of the authentication entity.

[0162] Finally, after verifying the ticket information, the authentication entity will determine whether the ticket information is expired and whether the identity information of the authentication entity in the ticket is consistent with its own identity information, thereby preventing the ticket of the designated authentication entity sent by the trusted entity to the designated terminal from being abused.

[0163] On the other hand, the embodiment of the present invention also provides another identity authentication method, which is applied to an authentication entity, such as Figure 3 As shown, the method includes:

[0164] S310, performing two-way authentication with a trusted entity;

[0165] S320, if the two-way authentication is passed, record the identity information of the trusted entity;

[0166] S330, obtaining a fourth authentication request sent by the terminal, wherein the fourth authentication request includes ticket information sent by the trusted entity to the terminal after the trusted entity and the authentication entity pass mutual authentication;

[0167] S340: Authenticate the ticket information according to the identity information of the trusted entity.

[0168] By adopting the identity authentication method described in the embodiment of the present invention, the terminal is authenticated by a trusted entity, and a two-way authentication is completed with the authentication entity (such as a business management cloud platform). After the trusted entity establishes a trust relationship with the terminal and the authentication entity respectively, it assists the terminal and the authentication entity in establishing a trust relationship, thereby ensuring two-way security authentication between the terminal and the authentication entity.

[0169] Optionally, in the identity authentication method, the performing of two-way authentication with a trusted entity comprises:

[0170] Perform two-way authentication with the trusted entity according to the preset second verification information and the second trusted report.

[0171] Optionally, the identity authentication method, wherein the step of performing two-way authentication with the authentication entity according to the preset second verification information and the second trusted report, comprises:

[0172] Obtaining a second authentication request sent by the trusted entity; the second authentication request includes a second original text, second signature information after signing the second original text, and an identity certificate of the trusted entity; the second original text includes identity information of the trusted entity and the first trusted report;

[0173] Verifying the identity certificate of the trusted entity according to the second verification information, and verifying the second signature information through the identity certificate of the trusted entity after the verification passes;

[0174] After the second signature information is verified, a third authentication request is sent to the trusted entity; the third authentication request includes a third original text, the identity certificate of the authentication entity and third signature information after signing the third original text; wherein the third original text includes the identity information of the authentication entity and the second trusted report.

[0175] Optionally, the identity authentication method, wherein the second signature information is verified by using the identity certificate of the trusted entity, comprises:

[0176] The second signature information is verified by the identity certificate of the trusted entity. When it is verified that the identity information of the trusted entity and the first trusted report in the second signature information correspond to the identity information of the trusted entity and the first trusted report in the second original text respectively, and the first trusted report is verified to determine that the running status of the trusted entity when generating the first trusted report is legal, the authentication structure is determined to be authenticated.

[0177] Optionally, the identity authentication method further comprises:

[0178] When the two-way authentication is passed, the identity certificate of the trusted entity and the identity information of the trusted entity are recorded.

[0179] Optionally, in the identity authentication method, the ticket information includes first original information, identity information of the trusted entity, and first signature information after signing the first original information;

[0180] Among them, the first original information includes at least one of the identity information of the authentication entity, the identity information of the terminal, the first authentication method of the trusted entity to authenticate the terminal, the second authentication method of the terminal to authenticate the trusted entity, and the timestamp of the authentication between the trusted entity and the authentication entity.

[0181] Optionally, the identity authentication method, wherein the ticket information is authenticated according to the identity information of the trusted entity, comprises:

[0182] Verifying the first signature information according to the recorded identity information of the trusted entity;

[0183] When the verification is passed, and the recorded identity information of the trusted entity matches the identity information of the trusted entity in the ticket information, the identity information of the authentication entity matches the identity information of the authentication entity in the ticket information, and the timestamp is within the preset validity period, it is determined that the authentication of the ticket information is successful.

[0184] The specific process of authentication between the terminal and the authentication entity through the trusted entity using the identity authentication method described in the embodiment of the present invention can be found in Figure 2 In combination with the above detailed description, no further detailed description is given here.

[0185] Another aspect of the present invention is to provide an identity authentication method, which is applied to a terminal, such as Figure 4 As shown, the method includes:

[0186] S410, sending a first authentication request to a trusted entity;

[0187] S420, obtaining the ticket information sent to the terminal by the trusted entity after performing identity authentication on the terminal according to the first authentication request and when the identity authentication of the terminal passes and the two-way authentication between the trusted entity and the authentication entity requested by the authentication request passes;

[0188] S430: Send a fourth authentication request to the authentication entity, where the fourth authentication request includes the ticket information.

[0189] Optionally, in the identity authentication method, the ticket information includes first original information, identity information of the trusted entity, and first signature information after signing the first original information;

[0190] Among them, the first original information includes at least one of the identity information of the authentication entity, the identity information of the terminal, the first authentication method of the trusted entity to authenticate the terminal, the second authentication method of the terminal to authenticate the trusted entity, and the timestamp of the authentication between the trusted entity and the authentication entity.

[0191] Optionally, in the identity authentication method, the ticket information also includes an identity certificate of the trusted entity.

[0192] The embodiment of the present invention also provides a trusted entity, such as Figure 5 As shown, it includes a transceiver 510 and a processor 520, wherein:

[0193] The transceiver 510 is used to obtain a first authentication request sent by a terminal;

[0194] The processor 520 is configured to perform identity authentication on the terminal according to the first authentication request;

[0195] The transceiver 510 is also used to send ticket information used for authentication between the terminal and the authentication entity to the terminal when the identity authentication of the terminal passes and the two-way authentication between the authentication capability entity and the authentication entity requested by the authentication request passes.

[0196] Optionally, the trusted entity, wherein the ticket information includes first original information, identity information of the trusted entity and first signature information after signing the first original information;

[0197] Among them, the first original information includes at least one of the identity information of the authentication entity, the identity information of the terminal, the first authentication method of the trusted entity to authenticate the terminal, the second authentication method of the terminal to authenticate the trusted entity, and the timestamp of the authentication between the trusted entity and the authentication entity.

[0198] Optionally, the trusted entity, wherein the ticket information also includes an identity certificate of the trusted entity.

[0199] Optionally, in the trusted entity, before the transceiver 510 sends the ticket information used for authentication between the terminal and the authentication entity to the terminal, the processor 520 is further configured to:

[0200] According to the preset first verification information and the first trusted report, two-way authentication is performed with the authentication entity.

[0201] Optionally, the trusted entity, wherein the processor 520 performs two-way authentication with the authentication entity according to preset first verification information and a first trusted report, includes:

[0202] Sending a second authentication request to the authentication entity; wherein the second authentication request includes a second original text, second signature information after signing the second original text, and the identity certificate of the trusted entity; the second original text includes the identity information of the trusted entity and the first trusted report;

[0203] Obtaining a third authentication request sent by the authentication entity in response to the second authentication request after authenticating the trusted entity; wherein the third authentication request includes a third original text, an identity certificate of the authentication entity, and third signature information after signing the third original text; wherein the third original text includes the identity information of the authentication entity;

[0204] The identity certificate of the authentication entity is verified by using the first verification information, and after the verification passes, the third signature information is verified by using the identity certificate of the authentication entity to obtain an authentication result of authenticating the authentication entity.

[0205] Optionally, the trusted entity, wherein the third original text further includes a second trusted report, wherein the processor 520 is further configured to:

[0206] The third signature information is verified by the identity certificate of the authentication entity, and the identity information of the authentication entity and the second trusted report in the third signature information are verified to be consistent with the identity information of the authentication entity and the second trusted report in the third original text respectively, and the second trusted report is verified to determine that the running status of the authentication entity is legal when generating the second trusted report, and then the authentication result is determined to be authentication passed.

[0207] Optionally, in the trusted entity, the processor 520 is further configured to:

[0208] If the authentication result is authentication passed, the identity information of the authentication entity and the authentication time when the authentication passed are recorded.

[0209] Optionally, in the trusted entity, the processor 520 is further configured to:

[0210] If the two-way authentication between the trusted entity and the authentication entity requested by the authentication request fails, an alarm message is sent to the terminal.

[0211] The embodiment of the present invention also provides an authentication entity, such as Figure 6 As shown, it includes a transceiver 610 and a processor 620, wherein:

[0212] The processor 620 is used to perform two-way authentication with a trusted entity; and

[0213] If the two-way authentication is successful, the identity information of the trusted entity is recorded;

[0214] The transceiver 610 is used to obtain a fourth authentication request sent by the terminal, wherein the fourth authentication request includes ticket information sent by the trusted entity to the terminal after the trusted entity and the authentication entity pass mutual authentication;

[0215] The processor 620 is further configured to authenticate the ticket information according to the identity information of the trusted entity.

[0216] Optionally, the authentication entity, wherein the processor 620 performs two-way authentication with the trusted entity comprises:

[0217] Perform two-way authentication with the trusted entity according to the preset second verification information and the second trusted report.

[0218] Optionally, the authentication entity, wherein the processor 620 performs two-way authentication with the trusted entity according to preset second verification information and a second trusted report, including:

[0219] Obtaining a second authentication request sent by the trusted entity; the second authentication request includes a second original text, second signature information after signing the second original text, and an identity certificate of the trusted entity; the second original text includes identity information of the trusted entity and the first trusted report;

[0220] Verifying the identity certificate of the trusted entity according to the second verification information, and verifying the second signature information through the identity certificate of the trusted entity after the verification passes;

[0221] After the second signature information is verified, a third authentication request is sent to the trusted entity; the third authentication request includes a third original text, the identity certificate of the authentication entity and third signature information after signing the third original text; wherein the third original text includes the identity information of the authentication entity and the second trusted report.

[0222] Optionally, the authentication entity, wherein the processor 620 verifies the second signature information through the identity certificate of the trusted entity, comprising:

[0223] The second signature information is verified by the identity certificate of the trusted entity. When it is verified that the identity information of the trusted entity and the first trusted report in the second signature information correspond to the identity information of the trusted entity and the first trusted report in the second original text respectively, and the first trusted report is verified to determine that the running status of the trusted entity when generating the first trusted report is legal, the authentication structure is determined to be authenticated.

[0224] Optionally, in the authentication entity, the processor 620 is further configured to:

[0225] When the two-way authentication is passed, the identity certificate of the trusted entity and the identity information of the trusted entity are recorded.

[0226] Optionally, the authentication entity, wherein:

[0227] The ticket information includes first original information, identity information of the trusted entity, and first signature information after signing the first original information;

[0228] Among them, the first original information includes at least one of the identity information of the authentication entity, the identity information of the terminal, the first authentication method of the trusted entity to authenticate the terminal, the second authentication method of the terminal to authenticate the trusted entity, and the timestamp of the authentication between the trusted entity and the authentication entity.

[0229] Optionally, the authentication entity, wherein the processor 620 authenticates the ticket information according to the identity information of the trusted entity, includes:

[0230] Verifying the first signature information according to the recorded identity information of the trusted entity;

[0231] When the verification is passed, and the recorded identity information of the trusted entity matches the identity information of the trusted entity in the ticket information, the identity information of the authentication entity matches the identity information of the authentication entity in the ticket information, and the timestamp is within the preset validity period, it is determined that the authentication of the ticket information is successful.

[0232] The embodiment of the present invention also provides a terminal, including a transceiver, such as Figure 7 As shown, the transceiver 710 is used for:

[0233] Sending a first authentication request to a trusted entity;

[0234] Acquire the ticket information sent to the terminal by the trusted entity after the trusted entity authenticates the terminal according to the first authentication request and passes the identity authentication of the terminal and the two-way authentication between the trusted entity and the authentication entity requested by the authentication request passes;

[0235] A fourth authentication request is sent to the authentication entity, wherein the fourth authentication request includes the ticket information.

[0236] Optionally, the terminal, wherein

[0237] The ticket information includes first original information, identity information of the trusted entity, and first signature information after signing the first original information;

[0238] Among them, the first original information includes at least one of the identity information of the authentication entity, the identity information of the terminal, the first authentication method of the trusted entity to authenticate the terminal, the second authentication method of the terminal to authenticate the trusted entity, and the timestamp of the authentication between the trusted entity and the authentication entity.

[0239] Optionally, in the terminal, the ticket information also includes an identity certificate of the trusted entity.

[0240] Another embodiment of the present invention also provides an identity authentication device, which is applied to a trusted entity, such as Figure 8 As shown, the device comprises:

[0241] A first request obtaining module 810, configured to obtain a first authentication request sent by a terminal;

[0242] A first authentication module 820, configured to perform identity authentication on the terminal according to the first authentication request;

[0243] The ticket sending module 830 is used to send ticket information used for authentication between the terminal and the authentication entity to the terminal when the identity authentication of the terminal passes and the two-way authentication between the authentication capability entity and the authentication entity requested by the authentication request passes.

[0244] Optionally, in the identity authentication device, the ticket information includes first original information, identity information of the trusted entity and first signature information after signing the first original information;

[0245] Among them, the first original information includes at least one of the identity information of the authentication entity, the identity information of the terminal, the first authentication method of the trusted entity to authenticate the terminal, the second authentication method of the terminal to authenticate the trusted entity, and the timestamp of the authentication between the trusted entity and the authentication entity.

[0246] Optionally, in the identity authentication device, the ticket information also includes an identity certificate of the trusted entity.

[0247] Optionally, in the identity authentication device, before the ticket sending module 830 sends the ticket information used for authentication between the terminal and the authentication entity to the terminal, the first authentication module 820 is further used to:

[0248] According to the preset first verification information and the first trusted report, two-way authentication is performed with the authentication entity.

[0249] Optionally, in the identity authentication device, the first authentication module 820 performs two-way authentication with the authentication entity according to the preset first verification information and the first trusted report, including:

[0250] Sending a second authentication request to the authentication entity; wherein the second authentication request includes a second original text, second signature information after signing the second original text, and the identity certificate of the trusted entity; the second original text includes the identity information of the trusted entity and the first trusted report;

[0251] Obtaining a third authentication request sent by the authentication entity in response to the second authentication request after authenticating the trusted entity; wherein the third authentication request includes a third original text, an identity certificate of the authentication entity, and third signature information after signing the third original text; wherein the third original text includes the identity information of the authentication entity;

[0252] The identity certificate of the authentication entity is verified by using the first verification information, and after the verification passes, the third signature information is verified by using the identity certificate of the authentication entity to obtain an authentication result of authenticating the authentication entity.

[0253] Optionally, in the identity authentication device, the third original document further includes a second trusted report, and the first authentication module 820 is further configured to:

[0254] The third signature information is verified by the identity certificate of the authentication entity, and the identity information of the authentication entity and the second trusted report in the third signature information are verified to be consistent with the identity information of the authentication entity and the second trusted report in the third original text respectively, and the second trusted report is verified to determine that the running status of the authentication entity is legal when generating the second trusted report, and then the authentication result is determined to be authentication passed.

[0255] Optionally, in the identity authentication device, the first authentication module 820 is further used for:

[0256] If the authentication result is authentication passed, the identity information of the authentication entity and the authentication time when the authentication passed are recorded.

[0257] Optionally, in the identity authentication device, the first authentication module 820 is further used for:

[0258] If the two-way authentication between the trusted entity and the authentication entity requested by the authentication request fails, an alarm message is sent to the terminal.

[0259] The embodiment of the present invention also provides an identity authentication device, which is applied to an authentication entity, such as Fig. 9 As shown, the device comprises:

[0260] A second authentication module 910, used for performing two-way authentication with a trusted entity;

[0261] A recording module 920, configured to record the identity information of the trusted entity when the two-way authentication is passed;

[0262] A second request acquisition module 930 is configured to acquire a fourth authentication request sent by the terminal, wherein the fourth authentication request includes ticket information sent by the trusted entity to the terminal after the trusted entity and the authentication entity pass mutual authentication;

[0263] The third authentication module 940 is used to authenticate the ticket information according to the identity information of the trusted entity.

[0264] Optionally, in the identity authentication device, the second authentication module 910 performs two-way authentication with the trusted entity including:

[0265] Perform two-way authentication with the trusted entity according to the preset second verification information and the second trusted report.

[0266] Optionally, in the identity authentication device, the second authentication module 910 performs two-way authentication with the trusted entity according to preset second verification information and a second trusted report, including:

[0267] Obtaining a second authentication request sent by the trusted entity; the second authentication request includes a second original text, second signature information after signing the second original text, and an identity certificate of the trusted entity; the second original text includes identity information of the trusted entity and the first trusted report;

[0268] Verifying the identity certificate of the trusted entity according to the second verification information, and verifying the second signature information through the identity certificate of the trusted entity after the verification passes;

[0269] After the second signature information is verified, a third authentication request is sent to the trusted entity; the third authentication request includes a third original text, the identity certificate of the authentication entity and third signature information after signing the third original text; wherein the third original text includes the identity information of the authentication entity and the second trusted report.

[0270] Optionally, in the identity authentication device, the second authentication module 910 verifies the second signature information through the identity certificate of the trusted entity, including:

[0271] The second signature information is verified by the identity certificate of the trusted entity. When it is verified that the identity information of the trusted entity and the first trusted report in the second signature information correspond to the identity information of the trusted entity and the first trusted report in the second original text respectively, and the first trusted report is verified to determine that the running status of the trusted entity when generating the first trusted report is legal, the authentication structure is determined to be authenticated.

[0272] Optionally, in the identity authentication device, the recording module 920 is further used for:

[0273] When the two-way authentication is passed, the identity certificate of the trusted entity and the identity information of the trusted entity are recorded.

[0274] Optionally, the identity authentication device, wherein:

[0275] The ticket information includes first original information, identity information of the trusted entity, and first signature information after signing the first original information;

[0276] Among them, the first original information includes at least one of the identity information of the authentication entity, the identity information of the terminal, the first authentication method of the trusted entity to authenticate the terminal, the second authentication method of the terminal to authenticate the trusted entity, and the timestamp of the authentication between the trusted entity and the authentication entity.

[0277] Optionally, in the identity authentication device, the third authentication module 940 authenticates the ticket information according to the identity information of the trusted entity, including:

[0278] Verifying the first signature information according to the recorded identity information of the trusted entity;

[0279] When the verification is passed, and the recorded identity information of the trusted entity matches the identity information of the trusted entity in the ticket information, the identity information of the authentication entity matches the identity information of the authentication entity in the ticket information, and the timestamp is within the preset validity period, it is determined that the authentication of the ticket information is successful.

[0280] The embodiment of the present invention also provides an identity authentication device, which is applied to a terminal, such as Fig.10 As shown, the device comprises:

[0281] A first request sending module 1010, configured to send a first authentication request to a trusted entity;

[0282] A third request acquisition module 1020 is used to acquire the ticket information sent to the terminal by the trusted entity according to the first authentication request, when the identity authentication of the terminal is passed and the two-way authentication between the trusted entity and the authentication entity requested by the authentication request is passed;

[0283] The second request sending module 1030 is configured to send a fourth authentication request to the authentication entity, wherein the fourth authentication request includes the ticket information.

[0284] Optionally, the identity authentication device, wherein:

[0285] The ticket information includes first original information, identity information of the trusted entity, and first signature information after signing the first original information;

[0286] Among them, the first original information includes at least one of the identity information of the authentication entity, the identity information of the terminal, the first authentication method of the trusted entity to authenticate the terminal, the second authentication method of the terminal to authenticate the trusted entity, and the timestamp of the authentication between the trusted entity and the authentication entity.

[0287] Optionally, in the identity authentication device, the ticket information also includes an identity certificate of the trusted entity.

[0288] Another aspect of the present invention is to provide a network device, wherein in one implementation mode, the network device is a trusted entity, such as a trusted gateway. Fig.11 As shown, it includes: a processor 1101; and a memory 1103 connected to the processor 1101 through a bus interface 1102, the memory 1103 is used to store programs and data used by the processor 1101 when performing operations, and the processor 1101 calls and executes the programs and data stored in the memory 1103.

[0289] The transceiver 1104 is connected to the bus interface 1102 and is used to receive and send data under the control of the processor 1101. Specifically, the processor 1101 is used to read the program in the memory 1103 and execute the following process:

[0290] Obtaining a first authentication request sent by the terminal;

[0291] Performing identity authentication on the terminal according to the first authentication request;

[0292] When the identity authentication of the terminal passes and the two-way authentication between the authentication capability entity and the authentication entity requested by the authentication request passes, ticket information used for authentication between the terminal and the authentication entity is sent to the terminal.

[0293] Optionally, in the network device, the ticket information includes first original information, identity information of the trusted entity, and first signature information after signing the first original information;

[0294] Among them, the first original information includes at least one of the identity information of the authentication entity, the identity information of the terminal, the first authentication method of the trusted entity to authenticate the terminal, the second authentication method of the terminal to authenticate the trusted entity, and the timestamp of the authentication between the trusted entity and the authentication entity.

[0295] Optionally, in the network device, the ticket information also includes an identity certificate of the trusted entity.

[0296] Optionally, in the network device, before sending the ticket information used for authentication between the terminal and the authentication entity to the terminal, the processor 1101 is further configured to:

[0297] According to the preset first verification information and the first trusted report, two-way authentication is performed with the authentication entity.

[0298] Optionally, in the network device, the processor 1101 performs bidirectional authentication with the authentication entity according to preset first verification information and a first trusted report, including:

[0299] Sending a second authentication request to the authentication entity; wherein the second authentication request includes a second original text, second signature information after signing the second original text, and the identity certificate of the trusted entity; the second original text includes the identity information of the trusted entity and the first trusted report;

[0300] Obtaining a third authentication request sent by the authentication entity in response to the second authentication request after authenticating the trusted entity; wherein the third authentication request includes a third original text, an identity certificate of the authentication entity, and third signature information after signing the third original text; wherein the third original text includes the identity information of the authentication entity;

[0301] The identity certificate of the authentication entity is verified by using the first verification information, and after the verification passes, the third signature information is verified by using the identity certificate of the authentication entity to obtain an authentication result of authenticating the authentication entity.

[0302] Optionally, in the network device, the third original text further includes a second trusted report, and the processor 1101 is further configured to:

[0303] The third signature information is verified by the identity certificate of the authentication entity. When it is verified that the identity information of the authentication entity and the second trusted report in the third signature information correspond to the identity information of the authentication entity and the second trusted report in the third original text respectively, the authentication result is determined to be authentication passed.

[0304] Optionally, in the network device, the processor 1101 is further configured to:

[0305] If the authentication result is authentication passed, the identity information of the authentication entity and the authentication time when the authentication passed are recorded.

[0306] Optionally, in the network device, the processor 1101 is further configured to:

[0307] If the two-way authentication between the trusted entity and the authentication entity requested by the authentication request fails, an alarm message is sent to the terminal.

[0308] Among them, Fig.11 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically linking together various circuits of one or more processors represented by processor 1101 and memory represented by memory 1103. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 1104 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. The processor 1101 is responsible for managing the bus architecture and general processing, and the memory 1103 may store data used by the processor 1101 when performing operations.

[0309] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or may be accomplished by instructing related hardware through a program, wherein the program includes instructions for executing part or all of the steps of the above method; and the program may be stored in a readable storage medium, which may be any form of storage medium.

[0310] Another aspect of the present invention is to provide a network device, wherein in one implementation mode, the network device is an authentication entity, such as an Internet of Things management cloud platform, such as Fig.12 As shown, it includes: a processor 1201; and a memory 1203 connected to the processor 1201 through a bus interface 1202, the memory 1203 is used to store programs and data used by the processor 1201 when performing operations, and the processor 1201 calls and executes the programs and data stored in the memory 1203.

[0311] The transceiver 1204 is connected to the bus interface 1202 and is used to receive and send data under the control of the processor 1201. Specifically, the processor 1201 is used to read the program in the memory 1203 and execute the following process:

[0312] Two-way authentication with trusted entities;

[0313] If the two-way authentication is successful, the identity information of the trusted entity is recorded;

[0314] Acquire a fourth authentication request sent by the terminal, wherein the fourth authentication request includes ticket information sent by the trusted entity to the terminal after the trusted entity and the authentication entity pass mutual authentication;

[0315] The ticket information is authenticated according to the identity information of the trusted entity.

[0316] Optionally, in the network device, the processor 1201 and the trusted entity performing two-way authentication includes:

[0317] Perform two-way authentication with the trusted entity according to the preset second verification information and the second trusted report.

[0318] Optionally, in the network device, the processor 1201 performs two-way authentication with the trusted entity according to preset second verification information and a second trusted report, including:

[0319] Obtaining a second authentication request sent by the trusted entity; the second authentication request includes a second original text, second signature information after signing the second original text, and an identity certificate of the trusted entity; the second original text includes identity information of the trusted entity and the first trusted report;

[0320] Verifying the identity certificate of the trusted entity according to the second verification information, and verifying the second signature information through the identity certificate of the trusted entity after the verification passes;

[0321] After the second signature information is verified, a third authentication request is sent to the trusted entity; the third authentication request includes a third original text, the identity certificate of the authentication entity and third signature information after signing the third original text; wherein the third original text includes the identity information of the authentication entity and the second trusted report.

[0322] Optionally, in the network device, the processor 1201 verifies the second signature information through the identity certificate of the trusted entity, including:

[0323] The second signature information is verified by the identity certificate of the trusted entity. When it is verified that the identity information of the trusted entity and the first trusted report in the second signature information correspond to the identity information of the trusted entity and the first trusted report in the second original text respectively, and the first trusted report is verified to determine that the running status of the trusted entity when generating the first trusted report is legal, the authentication structure is determined to be authenticated.

[0324] Optionally, in the network device, the processor 1201 is further configured to:

[0325] When the two-way authentication is passed, the identity certificate of the trusted entity and the identity information of the trusted entity are recorded.

[0326] Optionally, the network device, wherein:

[0327] The ticket information includes first original information, identity information of the trusted entity, and first signature information after signing the first original information;

[0328] Among them, the first original information includes at least one of the identity information of the authentication entity, the identity information of the terminal, the first authentication method of the trusted entity to authenticate the terminal, the second authentication method of the terminal to authenticate the trusted entity, and the timestamp of the authentication between the trusted entity and the authentication entity.

[0329] Optionally, in the network device, the processor 1201 authenticates the ticket information according to the identity information of the trusted entity, including:

[0330] Verifying the first signature information according to the recorded identity information of the trusted entity;

[0331] When the verification is passed, and the recorded identity information of the trusted entity matches the identity information of the trusted entity in the ticket information, the identity information of the authentication entity matches the identity information of the authentication entity in the ticket information, and the timestamp is within the preset validity period, it is determined that the authentication of the ticket information is successful.

[0332] Among them, Fig.12 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically linking together various circuits of one or more processors represented by processor 1201 and memory represented by memory 1203. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 1204 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. The processor 1201 is responsible for managing the bus architecture and general processing, and the memory 1203 may store data used by the processor 1201 when performing operations.

[0333] Another aspect of the present invention is to provide a network device, wherein in one implementation mode, the network device is a terminal, such as Fig.13 As shown, it includes: a processor 1301; and a memory 1303 connected to the processor 1301 through a bus interface 1302, the memory 1303 is used to store programs and data used by the processor 1301 when performing operations, and the processor 1301 calls and executes the programs and data stored in the memory 1303.

[0334] The transceiver 1304 is connected to the bus interface 1302 and is used to receive and send data under the control of the processor 1301. Specifically, the processor 1301 is used to read the program in the memory 1303 and execute the following process:

[0335] Sending a first authentication request to a trusted entity;

[0336] Acquire the ticket information sent to the terminal by the trusted entity after the trusted entity authenticates the terminal according to the first authentication request and passes the identity authentication of the terminal and the two-way authentication between the trusted entity and the authentication entity requested by the authentication request passes;

[0337] A fourth authentication request is sent to the authentication entity, wherein the fourth authentication request includes the ticket information.

[0338] Optionally, the network device, wherein:

[0339] The ticket information includes first original information, identity information of the trusted entity, and first signature information after signing the first original information;

[0340] Among them, the first original information includes at least one of the identity information of the authentication entity, the identity information of the terminal, the first authentication method of the trusted entity to authenticate the terminal, the second authentication method of the terminal to authenticate the trusted entity, and the timestamp of the authentication between the trusted entity and the authentication entity.

[0341] Optionally, in the network device, the ticket information also includes an identity certificate of the trusted entity.

[0342] It should be noted that in Fig.13 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 1301 and various circuits of memory represented by memory 1303 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 1304 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. For different terminals, the user interface 1305 may also be an interface capable of externally connecting or internally connecting required devices, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like. The processor 1301 is responsible for managing the bus architecture and general processing, and the memory 1303 may store data used by the processor 1301 when performing operations.

[0343] In addition, a specific embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, wherein when the program is executed by a processor, the steps in the identity authentication method described in any one of the above are implemented.

[0344] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0345] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0346] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform some steps of the sending and receiving methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store program codes.

[0347] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary personnel in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. An identity authentication method, applied to a trusted entity, It is characterized in that The method comprises: Obtaining a first authentication request sent by the terminal; Performing identity authentication on the terminal according to the first authentication request; When the identity authentication of the terminal passes and the two-way authentication between the trusted entity and the authentication entity requested by the authentication request passes, sending ticket information used for authentication between the terminal and the authentication entity to the terminal; The ticket information includes first original information, identity information of the trusted entity, and first signature information after signing the first original information; Among them, the first original information includes at least one of the identity information of the authentication entity, the identity information of the terminal, the first authentication method of the trusted entity to authenticate the terminal, the second authentication method of the terminal to authenticate the trusted entity, and the timestamp of the authentication between the trusted entity and the authentication entity.

2. The identity authentication method according to claim 1, It is characterized in that The ticket information also includes the identity certificate of the trusted entity.

3. The identity authentication method according to claim 1, It is characterized in that Before sending ticket information used for authentication between the terminal and the authentication entity to the terminal, the method further includes: According to the preset first verification information and the first trusted report, two-way authentication is performed with the authentication entity.

4. The identity authentication method according to claim 3, It is characterized in that Performing bidirectional authentication with the authentication entity according to the preset first verification information and the first trusted report, including: Sending a second authentication request to the authentication entity; wherein the second authentication request includes a second original text, second signature information after signing the second original text, and the identity certificate of the trusted entity; the second original text includes the identity information of the trusted entity and the first trusted report; Obtaining a third authentication request sent by the authentication entity in response to the second authentication request after authenticating the trusted entity; wherein the third authentication request includes a third original text, an identity certificate of the authentication entity, and third signature information after signing the third original text; wherein the third original text includes the identity information of the authentication entity; The identity certificate of the authentication entity is verified by using the first verification information, and after the verification passes, the third signature information is verified by using the identity certificate of the authentication entity to obtain an authentication result of authenticating the authentication entity.

5. The identity authentication method according to claim 4, It is characterized in that The third original document also includes a second trusted report, wherein the third signature information is verified by using the identity certificate of the authentication entity, including: The third signature information is verified by the identity certificate of the authentication entity. When it is verified that the identity information of the authentication entity and the second trusted report in the third signature information are respectively consistent with the identity information of the authentication entity and the second trusted report in the third original text, and the second trusted report is verified, and it is determined that the running status of the authentication entity is legal when generating the second trusted report, the authentication result is determined to be authentication passed.

6. The identity authentication method according to claim 4, It is characterized in that The method further comprises: If the authentication result is authentication passed, the identity information of the authentication entity and the authentication time when the authentication passed are recorded.

7. The identity authentication method according to claim 1, It is characterized in that The method further comprises: If the two-way authentication between the trusted entity and the authentication entity requested by the authentication request fails, an alarm message is sent to the terminal.

8. An identity authentication method, applied to an authentication entity, It is characterized in that The method comprises: Two-way authentication with trusted entities; If the two-way authentication is successful, the identity information of the trusted entity is recorded; Acquire a fourth authentication request sent by the terminal, wherein the fourth authentication request includes ticket information sent by the trusted entity to the terminal after the trusted entity and the authentication entity pass mutual authentication; authenticating the ticket information according to the identity information of the trusted entity; The ticket information includes the first original information, the identity information of the trusted entity, and the first signature information after signing the first original information; Among them, the first original information includes at least one of the identity information of the authentication entity, the identity information of the terminal, the first authentication method of the trusted entity to authenticate the terminal, the second authentication method of the terminal to authenticate the trusted entity, and the timestamp of the authentication between the trusted entity and the authentication entity.

9. The identity authentication method according to claim 8, It is characterized in that The two-way authentication with the trusted entity includes: Perform two-way authentication with the trusted entity according to the preset second verification information and the second trusted report.

10. The identity authentication method according to claim 9, It is characterized in that The performing two-way authentication with the trusted entity according to the preset second verification information and the second trusted report includes: Obtaining a second authentication request sent by the trusted entity; the second authentication request includes a second original text, second signature information after signing the second original text, and the identity certificate of the trusted entity; the second original text includes the identity information of the trusted entity and the first trusted report; Verifying the identity certificate of the trusted entity according to the second verification information, and verifying the second signature information through the identity certificate of the trusted entity after the verification passes; After the second signature information is verified, a third authentication request is sent to the trusted entity; the third authentication request includes a third original text, the identity certificate of the authentication entity and third signature information after signing the third original text; wherein the third original text includes the identity information of the authentication entity and the second trusted report.

11. The identity authentication method according to claim 10, It is characterized in that Verifying the second signature information by using the identity certificate of the trusted entity includes: The second signature information is verified by the identity certificate of the trusted entity. When it is verified that the identity information of the trusted entity and the first trusted report in the second signature information are respectively consistent with the identity information of the trusted entity and the first trusted report in the second original text, and the first trusted report is verified, and it is determined that the running status of the trusted entity when generating the first trusted report is legal, the authentication is determined to be successful.

12. The identity authentication method according to claim 10, It is characterized in that The method further comprises: When the two-way authentication is passed, the identity certificate of the trusted entity and the identity information of the trusted entity are recorded.

13. The identity authentication method according to claim 8, It is characterized in that Authenticating the ticket information according to the identity information of the trusted entity includes: Verifying the first signature information according to the recorded identity information of the trusted entity; When the verification is passed, and the recorded identity information of the trusted entity matches the identity information of the trusted entity in the ticket information, the identity information of the authentication entity matches the identity information of the authentication entity in the ticket information, and the timestamp is within the preset validity period, it is determined that the authentication of the ticket information is successful.

14. An identity authentication method, applied to a terminal, It is characterized in that The method comprises: Sending a first authentication request to a trusted entity; Acquire the ticket information sent to the terminal by the trusted entity after the trusted entity authenticates the terminal according to the first authentication request and passes the identity authentication of the terminal and the two-way authentication between the trusted entity and the authentication entity requested by the authentication request passes; Sending a fourth authentication request to the authentication entity, wherein the fourth authentication request includes the ticket information; The ticket information includes the first original information, the identity information of the trusted entity, and the first signature information after signing the first original information; Among them, the first original information includes at least one of the identity information of the authentication entity, the identity information of the terminal, the first authentication method of the trusted entity to authenticate the terminal, the second authentication method of the terminal to authenticate the trusted entity, and the timestamp of the authentication between the trusted entity and the authentication entity.

15. The identity authentication method according to claim 14, It is characterized in that The ticket information also includes the identity certificate of the trusted entity.

16. A trusted entity comprising a transceiver and a processor, Features: The transceiver is used to obtain a first authentication request sent by the terminal; The processor is configured to perform identity authentication on the terminal according to the first authentication request; The transceiver is further used to send ticket information used for authentication between the terminal and the authentication entity to the terminal when the identity authentication of the terminal passes and the two-way authentication between the trusted entity and the authentication entity requested by the authentication request passes; The ticket information includes first original information, identity information of the trusted entity, and first signature information after signing the first original information; Among them, the first original information includes at least one of the identity information of the authentication entity, the identity information of the terminal, the first authentication method of the trusted entity to authenticate the terminal, the second authentication method of the terminal to authenticate the trusted entity, and the timestamp of the authentication between the trusted entity and the authentication entity.

17. An authentication entity comprising a transceiver and a processor, Features: The processor is used to perform two-way authentication with a trusted entity; and If the two-way authentication is successful, the identity information of the trusted entity is recorded; The transceiver is used to obtain a fourth authentication request sent by the terminal, wherein the fourth authentication request includes ticket information sent by the trusted entity to the terminal after the trusted entity and the authentication entity pass mutual authentication; The processor is further configured to authenticate the ticket information according to the identity information of the trusted entity; The ticket information includes the first original information, the identity information of the trusted entity, and the first signature information after signing the first original information; Among them, the first original information includes at least one of the identity information of the authentication entity, the identity information of the terminal, the first authentication method of the trusted entity to authenticate the terminal, the second authentication method of the terminal to authenticate the trusted entity, and the timestamp of the authentication between the trusted entity and the authentication entity.

18. A terminal comprising a transceiver, It is characterized in that The transceiver is used for: Sending a first authentication request to a trusted entity; Acquire the ticket information sent to the terminal by the trusted entity after the trusted entity authenticates the terminal according to the first authentication request and passes the identity authentication of the terminal and the two-way authentication between the trusted entity and the authentication entity requested by the authentication request passes; Sending a fourth authentication request to the authentication entity, wherein the fourth authentication request includes the ticket information; The ticket information includes the first original information, the identity information of the trusted entity, and the first signature information after signing the first original information; Among them, the first original information includes at least one of the identity information of the authentication entity, the identity information of the terminal, the first authentication method of the trusted entity to authenticate the terminal, the second authentication method of the terminal to authenticate the trusted entity, and the timestamp of the authentication between the trusted entity and the authentication entity.

19. An identity authentication device, applied to a trusted entity, It is characterized in that The device comprises: A first request obtaining module, used to obtain a first authentication request sent by the terminal; A first authentication module, configured to perform identity authentication on the terminal according to the first authentication request; a ticket sending module, configured to send ticket information used for authentication between the terminal and the authentication entity to the terminal when the identity authentication of the terminal passes and the two-way authentication between the trusted entity and the authentication entity requested by the authentication request passes; The ticket information includes first original information, identity information of the trusted entity, and first signature information after signing the first original information; Among them, the first original information includes at least one of the identity information of the authentication entity, the identity information of the terminal, the first authentication method of the trusted entity to authenticate the terminal, the second authentication method of the terminal to authenticate the trusted entity, and the timestamp of the authentication between the trusted entity and the authentication entity.

20. An identity authentication device, used for authenticating an entity, It is characterized in that The device comprises: A second authentication module, used for performing two-way authentication with a trusted entity; A recording module, used for recording the identity information of the trusted entity when the two-way authentication is passed; A second request acquisition module, configured to acquire a fourth authentication request sent by the terminal, wherein the fourth authentication request includes ticket information sent by the trusted entity to the terminal after the trusted entity and the authentication entity pass mutual authentication; A third authentication module, used to authenticate the ticket information according to the identity information of the trusted entity; The ticket information includes the first original information, the identity information of the trusted entity, and the first signature information after signing the first original information; Among them, the first original information includes at least one of the identity information of the authentication entity, the identity information of the terminal, the first authentication method of the trusted entity to authenticate the terminal, the second authentication method of the terminal to authenticate the trusted entity, and the timestamp of the authentication between the trusted entity and the authentication entity.

21. An identity authentication device, applied to a terminal, It is characterized in that The device comprises: A first request sending module, used for sending a first authentication request to a trusted entity; A third request acquisition module is used to acquire the ticket information sent to the terminal by the trusted entity after the trusted entity performs identity authentication on the terminal according to the first authentication request, when the identity authentication of the terminal passes and the two-way authentication between the trusted entity and the authentication entity requested by the authentication request passes; A second request sending module, configured to send a fourth authentication request to the authentication entity, wherein the fourth authentication request includes the ticket information; The ticket information includes the first original information, the identity information of the trusted entity, and the first signature information after signing the first original information; Among them, the first original information includes at least one of the identity information of the authentication entity, the identity information of the terminal, the first authentication method of the trusted entity to authenticate the terminal, the second authentication method of the terminal to authenticate the trusted entity, and the timestamp of the authentication between the trusted entity and the authentication entity.

22. A network device, It is characterized in that include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the program implements the identity authentication method as described in any one of claims 1 to 7, or implements the identity authentication method as described in any one of claims 8 to 13, or implements the identity authentication method as described in any one of claims 14 to 15.

23. A readable storage medium, It is characterized in that The readable storage medium stores a program, and when the program is executed by the processor, it implements the steps in the identity authentication method as described in any one of claims 1 to 7, or implements the steps in the identity authentication method as described in any one of claims 8 to 13, or implements the steps in the identity authentication method as described in any one of claims 14 to 15.

Citation Information

Patent Citations

  • Authentication method, system and authentication center based on mobile network P2P communication

    CN101156352A

  • Authentication method, system and device for point-to-point network

    CN101471938A

  • System and method for authenticating credible identities on basis of safety chips

    CN104580250A

  • Radius / diameter authentication based GX policy management triggered by user location change

    WO2016066206A1