# US 2015/0106882 A1 · Method and device for identity authentication

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0106882 A1
- Document ID: US20150106882A1
- Status: Published application
- Kind: A1
- Application number: 14/409,300
- Filed: 2014-12-18
- Published: 2015-04-16
- Earliest claimed: 2012-06-29
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Li LI; Lixin HU
- Web page: https://patentgrep.com/patent/US20150106882A1

## CPC

- H04L 63/08: {for authentication of entities (cryptographic mechanisms or cryptographic arrangements for entity authentication H04L9/32)}
- G06F 16/9577: {Optimising the visualization of content, e.g. distillation of HTML documents}
- G06F 21/335: {for accessing specific resources, e.g. using Kerberos tickets}
- H04L 9/3263: {involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements (network architectures or network communication protocols for supporting authentication of entities using certificates in a packet data network H04L63/0823)}
- H04L 63/0823: {using certificates (cryptographic mechanisms or cryptographic arrangements for entity authentication involving certificates H04L9/3263)}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments of the present invention provide a method and a device for identity authentication. The method for identity authentication includes: according to a selected user digital certificate, generating, by a browser kernel unit, a login request carrying a selected user digital certificate according to the selected user digital certificate, and sending the login request to an application server; receiving, by the browser kernel unit, a response indicating authentication success which is returned by the application server after performing identity authentication according to the selected digital certificate, extracting a webpage file from the response, parsing the webpage file, generating a webpage and sending the webpage to a browser interface unit; and displaying, by the browser interface unit, the webpage. The method and the device for identity authentication provided by embodiments of the present invention improve the convenience and security of identity authentication.

## Claims

### Claim 1

A method for identity authentication, comprising:
detecting, by a browser kernel unit, a login trigger event, and sending the login trigger event to a Web application unit;
determining, by the Web application unit, a website address corresponding to a login trigger operation according to the login trigger event, and sending the website address to the browser kernel unit;
sending, by the browser kernel unit, an access request to an application server according to the website address sent by the Web application unit;
receiving, by the browser kernel unit, identity authentication-needed information returned by the application server according to the access request, and determining a selected user digital certificate according to the identity authentication-needed indication information;
generating, by the browser kernel unit, a login request carrying the selected user digital certificate, and sending the login request to the application server;
receiving, by the browser kernel unit, a response indicating authentication success that is returned by the application server after the application server performing identity authentication according to the selected user digital certificate;
extracting, by the browser kernel unit, a webpage file from the response, parsing the webpage file, generating a webpage and sending the webpage to a browser interface unit; and
displaying, by the browser interface unit, the webpage.

### Claim 2 (depends on 1)

The method for identity authentication according to claim 1, wherein, the receiving, by the browser kernel unit, the identity authentication-needed information returned by the application server according to the access request, and determining the selected user digital certificate according to the identity authentication-needed indication information requiring identity authentication, comprises:
generating, by the browser kernel unit, an identity authentication-needed event according to the identity authentication-needed indication information, and reporting the identity authentication-needed event to the Web application unit;
receiving, by the Web application unit, the identity authentication-needed event, and invoking a login interface of an authentication object of the browser kernel unit; and
acquiring, by the browser kernel unit, a default user digital certificate that is stored locally, and determining the default user digital certificate as the selected user digital certificate, or acquiring, by the browser kernel unit, a plurality of user digital certificates to-be-selected that are stored locally, and determining a user digital certificate from the plurality of user digital certificates to-be-selected as the selected user digital certificate according to received selection indication information.

### Claim 3 (depends on 1)

The method for identity authentication according to claim 1, wherein, the receiving, by the browser kernel unit, the identity authentication-needed information returned by the application server according to the access request, and determining the selected user digital certificate according to the identity authentication-needed indication information requiring identity authentication, comprises:
generating, by the browser kernel unit, an identity authentication-needed event according to the identity authentication-needed indication information, and reporting the identity authentication-needed event to the Web application unit;
calling, by the Web application unit, a digital certificate selection interface of a digital certificate management object of the browser kernel unit according to the identity authentication-needed indication information; and
acquiring, by the browser kernel unit, a default user digital certificate that is stored locally, and determining the default user digital certificate as the selected user digital certificate, or acquiring, by the browser kernel unit, a plurality of user digital certificates to-be-selected that are stored locally, and determining a user digital certificate from the plurality of user digital certificates to-be-selected as the selected user digital certificate according to received selection indication information.

### Claim 4 (depends on 1)

The method for identity authentication according to claim 1, wherein, after the receiving, by the browser kernel unit, the response indicating authentication success that is returned by the application server after performing the identity authentication according to the selected user digital certificate, and before the extracting, by the browser kernel unit, the webpage file from the response, the method further comprises:
parsing, by the browser kernel unit, an authentication result indicating an authentication success from the response, and sending the authentication result to the Web application unit through an authentication result event or a callback function.

### Claim 5 (depends on 1)

The method for identity authentication according to claim 1, wherein, after the receiving, by the browser kernel unit, the response indicating authentication success that is returned by the application server after performing the identity authentication according to the selected user digital certificate, before the extracting, by the browser kernel unit, the webpage file from the response, the method further comprises:
sending, by the browser kernel unit, the response to the Web application unit by invoking a hypertext transfer protocol request interface of the Web application unit; and
parsing, by the Web application unit, an authentication result indicating an authentication success from the response.

### Claim 6 (depends on 1)

The method for identity authentication according to claim 1,
wherein, before the generating, by the browser kernel unit, the login request carrying the selected user digital certificate according to the selected user digital certificate, and sending the login request to the application server, the method further comprises:
receiving, by the browser interface unit, to-be-accessed website address information and an identity identification, and sending the to-be-accessed website address information and the identity identification to the browser kernel unit;
wherein the generating, by the browser kernel unit, the login request carrying the selected user digital certificate according to the selected user digital certificate, and the sending the login request to the application server, comprises:
determining, by the browser kernel unit, the selected user digital certificate according to the identity identification, generating the login request carrying the selected user digital certificate, and sending the login request to the application server.

### Claim 7 (depends on 1)

The method for identity authentication according to claim 1, wherein, before the generating, by the browser kernel unit, the login request carrying the selected user digital certificate according to the selected user digital certificate, the method further comprises:
detecting, by the browser kernel unit, a login trigger event, and sending the login trigger event to a Web application unit;
determining, by the Web application unit, a website address corresponding to a login trigger operation according to the login trigger event, if it is judged that the accessing to the website needs the identity authentication, then acquiring user status of a user indicated by the selected user digital certificate, if the user status is logout status, then invoking a login interface of an authentication object of the browser kernel unit; and
acquiring, by the browser kernel unit, a default user digital certificate that is stored locally, and determining the default user digital certificate as the selected user digital certificate, or, acquiring, by the browser kernel unit, a plurality of user digital certificates to-be-selected that are stored locally, and determining a user digital certificate from the plurality of user digital certificates to-be-selected as the selected user digital certificate according to received select indication information.

### Claim 8 (depends on 7)

The method for identity authentication according to claim 7, wherein, the user status is login status, and before the extracting, by the browser kernel unit, the webpage file from the response, the method further comprises:
sending, by the Web application unit, the website address to the browser kernel unit; and
sending, by the browser kernel unit, an access request to the application server according to the website address, and receiving a response returned by the application server according to the access request.

### Claim 9 (depends on 7)

The method for identity authentication according to claim 7, wherein, the acquiring, by the Web application unit, the user status of the user indicated by the selected user digital certificate, comprises:
acquiring, by the Web application unit, the user status of the user indicated by the selected user digital certificate by invoking a user login status query interface of the browser kernel unit.

### Claim 10

A device for identity authentication, comprising:
a Web application unit;
a browser kernel unit and
a browser interface unit;
wherein the Web application unit is configured to determine a website address corresponding to a login trigger operation according to a login trigger event, and send the website address to the browser kernel unit;
wherein the browser kernel unit is configured to:
detect the login trigger event,
send the login trigger event to the Web application unit,
send an access request to the application server according to a website address sent by the Web application unit,
receive identity authentication-needed information returned by the application server according to the access request, and
determine a selected user digital certificate according to the identity authentication-needed indication information,
generate a login request carrying the selected user digital certificate,
send the login request to an application server,
receive a response indicating authentication success that is returned by the application server after the application server performing identity authentication according to the selected user digital certificate,
extract a webpage file from the response, parse the webpage file,
generate a webpage and send the webpage to a browser interface unit; and
wherein the browser interface unit is configured to display the webpage.

### Claim 11 (depends on 10)

The device for identity authentication according to claim 10, wherein:
the browser kernel unit is further configured to generate an identity authentication-needed event according to the identity authentication-needed indication information, report the identity authentication-needed event to the Web application unit, acquire a default user digital certificate that is stored locally, and determine the default user digital certificate as the selected user digital certificate; or the browser kernel unit is further configured to acquire a plurality of user digital certificates to-be-selected that are stored locally, and determine a user digital certificate from the plurality of user digital certificates to-be-selected as the selected user digital certificate according to received selection indication information;
the Web application unit is further configured to receive the identity authentication-needed event, and invoke a login interface of an authentication object of the browser kernel unit.

### Claim 12 (depends on 10)

The device for identity authentication according to claim 10, wherein:
the browser kernel unit is further configured to generate an identity authentication-needed event according to the identity authentication-needed indication information, report the identity authentication-needed event to the Web application unit, acquire a default user digital certificate that is stored locally, and determine the default user digital certificate as the selected user digital certificate; or, the browser kernel unit is further configured to acquire a plurality of user digital certificates to-be-selected that are stored locally, and determine a user digital certificate from the plurality of user digital certificates to-be-selected as the selected user digital certificate according to received selection indication information;
the Web application unit is further configured to invoke a digital certificate selection interface of a digital certificate management object of the browser kernel unit according to the identity authentication-needed indication information.

### Claim 13 (depends on 10)

The device for identity authentication according to claim 10, wherein:
the browser kernel unit is further configured to parse an authentication result indicating an authentication success from the response, and send the authentication result to the Web application unit through an authentication result event or a callback function.

### Claim 14 (depends on 10)

The device for identity authentication according to claim 10, wherein:
the browser kernel unit is further configured to send the response to the Web application unit by invoking a hypertext transfer protocol request interface of the Web application unit; and
the Web application unit is further configured to parse an authentication result indicating an authentication success from the response.

### Claim 15 (depends on 10)

The device for identity authentication according to claim 10, wherein:
the browser interface unit is further configured to receive to-be-accessed website address information and an identity identification, and send the to-be-accessed website address information and the identity identification to the browser kernel unit; and
the browser kernel unit is further configured to determine the selected user digital certificate according to the identity identification, generate the login request carrying the selected user digital certificate, and send the login request to the application server.

### Claim 16 (depends on 10)

The device for identity authentication according to claim 10, wherein:
the browser kernel unit is further configured to detect a login trigger event, send the login trigger event to a Web application unit, acquire a default user digital certificate which that is stored locally, and determine the default user digital certificate as the selected user digital certificate, or, the browser kernel unit is further configured to acquire a plurality of user digital certificates to-be-selected that are stored locally, and determine a user digital certificate from the plurality of user digital certificates to-be-selected as the selected user digital certificate according to received select indication information; and
the Web application unit is further configured to determine a website address corresponding to a login trigger operation according to the login trigger event, if it is judged that the accessing to the website needs the identity authentication, then acquire user status of a user indicated by the selected user digital certificate, if the user status is logout status, then invoke a login interface of an authentication object of the browser kernel unit.

### Claim 17 (depends on 16)

The device for identity authentication according to claim 16, wherein the user status is login status, wherein:
the Web application unit is further configured to send the website address to the browser kernel unit; and
the browser kernel unit is further configured to send an access request to the application server according to the website address, and receive a response returned by the application server according to the access request.

### Claim 18 (depends on 16)

The device for identity authentication according to claim 16, wherein:
the Web application unit is further configured to acquire the user status of the user indicated by the selected user digital certificate by invoking a user login status query interface of the browser kernel unit.
