Identity authentication method and device during service participation, electronic equipment and storage medium
By obtaining the server signature information and local private key, determining the collaborative signature information, and using digital certificates to verify identity, the problem of identity forgery in visual network services is solved, real-time identity authentication and private key security are achieved.
Patent Information
- Application Number
- CN202411278277.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-12
- Publication Date
- 2024-12-06
AI Technical Summary
The existing technology lacks identity authentication process in visual network services and cannot effectively defend against the problem of identity forgery.
By obtaining the authentication feedback information returned by the server and the server signature information, combining the local private key, the collaborative signature information is determined, and using a digital certificate to verify the identity to ensure the authenticity and security of the identity authentication.
Real-time identity authentication is realized, ensuring the authenticity of user identity and the security of private keys, preventing identity forgery, and enhancing the security of business participation.
Smart Images

Figure CN119094138A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to an identity authentication method when participating in a business, an identity authentication device when participating in a business, an electronic device, and a computer-readable storage medium. Background Art
[0002] The VisionLink Palm APP (application) can make real-time audio and video calls with the VisionLink network through 4G (fourth-generation mobile communication technology) or WIFI (wireless network), and can view national monitoring data on the mobile terminal. It enables grid workers and other personnel to report an alarm at any time with one click and link the callback function with the GIS (Geographic Information System) platform. The map trajectory can be viewed on the APP terminal, and functions such as alarm reception, alarm transfer, reporting and callback can be realized on the mobile APP, achieving flexible application of mobile alarm.
[0003] With the rapid development of video networking services, there is an increasing demand for using the mobile app to participate in video networking conferences, monitoring and other services. Currently, to participate in conference services, users of the app only need to know the conference room number and the corresponding conference password to join the conference directly. There is a lack of personnel identity authentication process and it is unable to prevent identity forgery. Summary of the invention
[0004] In view of the above problems, embodiments of the present invention are proposed to provide an identity authentication method when participating in a service, a corresponding identity authentication device when participating in a service, an electronic device and a computer-readable storage medium that overcome the above problems or at least partially solve the above problems.
[0005] In order to solve the above problem, an embodiment of the present invention discloses an identity authentication method for participating in a service, which is applied to a client, and the method includes:
[0006] Obtain the authentication feedback information and the corresponding server signature information returned by the server; wherein the server signature information is obtained by signing the authentication feedback information using the server private key;
[0007] Obtain the corresponding local private key based on the local information obtained in real time;
[0008] Determine collaborative signature information based on the server signature information, the authentication feedback information and the local private key;
[0009] The necessary information for requesting the service is obtained from the server according to the collaborative signature information and the digital certificate, wherein the digital certificate is obtained by applying to the server in advance according to the local public-private key pair.
[0010] Optionally, the local information includes at least one of the following: device information, client information and user information; correspondingly, the local private key includes at least one of the following: a device private key, a client private key and a user private key.
[0011] Optionally, determining the collaborative signature information based on the server signature information, the authentication feedback information and the local private key includes:
[0012] Using the device private key, the client private key and the user private key respectively, the authentication feedback information is signed to obtain corresponding local signature information;
[0013] The collaborative signature information is synthesized according to the server signature information and the local signature information.
[0014] Optionally, acquiring a corresponding local private key according to the local information acquired in real time includes:
[0015] Requesting the local private key from the server according to the local information obtained in real time;
[0016] Receive the local private key returned by the server.
[0017] Optionally, before obtaining the authentication feedback information and the corresponding server signature information returned by the server, the method further includes:
[0018] Requesting a local public-private key pair from the server according to the acquired local information;
[0019] Receive the local public and private key pair returned by the server;
[0020] Apply for the digital certificate from the server based on the local public-private key pair.
[0021] The embodiment of the present invention also discloses an identity authentication method for participating in a service, which is applied to a server, and the method includes:
[0022] Use the server private key to sign the authentication feedback information and obtain the server signature information;
[0023] Send authentication feedback information and corresponding server signature information to the client;
[0024] Receive the collaborative signature information and digital certificate sent by the client; wherein the collaborative signature information is determined by the client based on the server signature information, the authentication feedback information and the local private key, and the digital certificate is issued to the client based on the client's local public-private key pair and the server's public-private key pair;
[0025] The collaborative signature information is verified using the digital certificate, and after the verification is passed, the necessary information for participating in the service is sent to the client.
[0026] Optionally, before using the server private key to sign the authentication feedback information to obtain the server signature information, the method further includes:
[0027] Generate a server private key based on user identity authentication information and user authority information.
[0028] Optionally, before using the server private key to sign the authentication feedback information to obtain the server signature information, the method further includes:
[0029] Determine a collaborative public key and a collaborative private key based on the client's local public and private key pair and the server's public and private key pair;
[0030] Obtaining a corresponding digital certificate according to the collaborative public key and the collaborative private key;
[0031] The digital certificate is issued to the client.
[0032] The embodiment of the present invention further discloses an identity authentication device for participating in a service, which is applied to a client, and the device includes:
[0033] The signature information acquisition module is used to obtain the authentication feedback information returned by the server and the corresponding server signature information; wherein the server signature information is obtained by signing the authentication feedback information using the server private key;
[0034] A local private key acquisition module is used to obtain the corresponding local private key according to the local information obtained in real time;
[0035] A signature information determination module, used to determine collaborative signature information based on the server signature information, the authentication feedback information and the local private key;
[0036] The necessary information acquisition module is used to obtain the necessary information for requesting the service from the server according to the collaborative signature information and the digital certificate, wherein the digital certificate is obtained by applying to the server in advance according to the local public-private key pair.
[0037] Optionally, the local information includes at least one of the following: device information, client information and user information; correspondingly, the local private key includes at least one of the following: a device private key, a client private key and a user private key.
[0038] Optionally, the signature information determination module includes:
[0039] The signature submodule is used to sign the authentication feedback information using the device private key, the client private key and the user private key respectively to obtain corresponding local signature information;
[0040] The information synthesis submodule is used to synthesize the collaborative signature information according to the server signature information and the local signature information.
[0041] Optionally, the local private key acquisition module includes:
[0042] A private key request submodule, used to request the local private key from the server according to the local information obtained in real time;
[0043] The private key receiving submodule is used to receive the local private key returned by the server.
[0044] Optionally, the device further comprises:
[0045] A public-private key pair request module, used to request a local public-private key pair from the server according to the acquired local information before acquiring the authentication feedback information and the corresponding server signature information returned by the server;
[0046] A public-private key pair receiving module, used to receive the local public-private key pair returned by the server;
[0047] The digital certificate application module is used to apply for the digital certificate from the server according to the local public-private key pair.
[0048] The embodiment of the present invention also discloses an identity authentication device for participating in a service, which is applied to a service end, and the device includes:
[0049] The signature module is used to sign the authentication feedback information using the server private key to obtain the server signature information;
[0050] Information sending module, used to send authentication feedback information and corresponding server signature information to the client;
[0051] An information receiving module, used to receive the collaborative signature information and digital certificate sent by the client; wherein the collaborative signature information is determined by the client based on the server signature information, the authentication feedback information and the local private key, and the digital certificate is issued to the client based on the client's local public-private key pair and the server's public-private key pair;
[0052] The verification module is used to verify the collaborative signature information using the digital certificate, and after the verification is passed, send the necessary information for participating in the service to the client.
[0053] Optionally, the device further comprises:
[0054] The private key generation module is used to generate a server private key according to user identity authentication information and user authority information before using the server private key to sign the authentication feedback information to obtain the server signature information.
[0055] Optionally, the device further comprises:
[0056] A collaborative key determination module, used to determine a collaborative public key and a collaborative private key according to the local public-private key pair of the client and the public-private key pair of the server before signing the authentication feedback information with the server private key to obtain the server signature information;
[0057] A digital certificate acquisition module, used to acquire a corresponding digital certificate according to the collaborative public key and the collaborative private key;
[0058] The digital certificate issuing module is used to issue the digital certificate to the client.
[0059] The embodiment of the present invention further discloses an electronic device, including:
[0060] one or more processors; and
[0061] One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, cause the apparatus to perform any of the methods described above.
[0062] The embodiment of the present invention further discloses a computer-readable storage medium, wherein a computer program stored in the storage medium enables a processor to execute any of the methods described above.
[0063] According to an embodiment of the present invention, the authentication feedback information is signed by using the server private key to obtain the server signature information, the authentication feedback information and the corresponding server signature information are sent to the client, and the collaborative signature information and digital certificate sent by the client are received; wherein the collaborative signature information is determined by the client based on the server signature information, the authentication feedback information and the local private key, and the digital certificate is issued to the client based on the client's local public-private key pair and the server's public-private key pair, the collaborative signature information is verified using the digital certificate, and after the verification is passed, the necessary information for participating in the business is sent to the client, so that the local information is obtained in real time, and the corresponding local private key is calculated and generated. The local private key does not need to be stored on the client, which ensures the security of the private key, combines identity authentication with local information, ensures the authenticity of the user identity, and splits the signed private key, so that the private key will not appear in its entirety on any device. If any private key is leaked, the complete signature cannot be copied, thereby preventing the forgery of the user identity. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1It is a flowchart of steps of an embodiment of an identity authentication method for participating in a service of the present invention;
[0065] Figure 2 It is a schematic diagram of the principle of the collaborative signature algorithm of the present invention;
[0066] Figure 3 This is a schematic diagram of the identity authentication process when the client and server participate in the business;
[0067] Figure 4 It is a structural block diagram of an embodiment of an identity authentication device for participating in a service of the present invention;
[0068] Figure 5 It is a structural block diagram of an embodiment of an identity authentication device for participating in a service of the present invention;
[0069] Figure 6 The present invention is a structural block diagram of an electronic device for identity authentication when participating in a service according to an exemplary embodiment. DETAILED DESCRIPTION
[0070] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0071] Reference Figure 1 , shows a flowchart of an embodiment of an identity authentication method for participating in a service of the present invention, the method may specifically include the following steps:
[0072] Step 101: The server signs the authentication feedback information using the server private key to obtain the server signature information.
[0073] In the embodiment of the present invention, the service includes video calling, video conferencing, monitoring viewing, etc., or any other applicable service, which is not limited by the embodiment of the present invention.
[0074] In the embodiment of the present invention, the client needs to perform identity authentication before participating in the service. After the client sends an identity authentication request to the server, the server authenticates the information carried in the identity authentication request. After the authentication is passed, the server sends authentication feedback information to the client. The authentication feedback information can be a random number generated by the server, or any other applicable information, which is not limited in the embodiment of the present invention.
[0075] For example, the client sends an identity authentication request to the server, which carries user information such as the user name and the user PIN (Personal Identification Number) code. The server verifies the user information and generates a random number after the verification is passed.
[0076] In the embodiment of the present invention, the server private key is a private key generated in advance by the server for the client. The server private key needs to be encrypted and protected and stored on the server.
[0077] In an optional embodiment of the present invention, before using the server private key to sign the authentication feedback information to obtain the server signature information, it may also include: the server generates a server private key according to the user identity authentication information and the user authority information.
[0078] User identity authentication information refers to information sent by the client for user identity authentication, such as a user PIN code. User authority information refers to authority information assigned to a user by a server after the server verifies the user information and the verification is passed, such as an authorization code, or any other applicable information, which is not limited in the embodiments of the present invention.
[0079] Based on the user identity authentication information and user authority information, a cryptographic algorithm is used to generate a server public and private key pair, including a server private key.
[0080] Combining user identity authentication with local information, user identity authentication information and user authority information ensures the authenticity of user identity in multiple dimensions and improves the security of identity authentication.
[0081] In the embodiment of the present invention, the server uses the server private key to sign the authentication feedback information, and the obtained signature information is recorded as the server signature information. Figure 2 The schematic diagram of the principle of the collaborative signature algorithm shown is that the server (i.e., the Palmtong APP server) generates a private key fragment 4 (i.e., the server private key) based on the user PIN code and other information 4, and then uses the private key fragment 4 to generate a private key signature fragment 4 (i.e., the server signature information).
[0082] For example, Figure 3The schematic diagram of the identity authentication process of the client and server when participating in the business shown in the figure, in the user registration and application for digital certificate link, the client (i.e., the Vision Network Palm APP mobile terminal) user applies for user registration and sets the user's unique identifier, user PIN code and other user information. The server (i.e., the Vision Network Palm APP server) reviews the registered information, records the user information after the review is passed, assigns permissions to the user, and obtains the user permission information. The above user information and user permission information are encrypted and stored on the server. The server uses the SM2 (an encryption and decryption algorithm) algorithm based on the user PIN code and user permission information to calculate the server's public and private key pair, including the server's private key fragment (i.e., the server's private key). The server returns a successful registration feedback to the client. In the user identity authentication link, the client sends an identity authentication request (including the user name and user PIN code) to the server, and the server verifies the user information. After the verification is passed, a random number is generated, and the server's private key fragment (i.e., the server's private key) is used to sign the random number to obtain the private key signature value fragment (i.e., the service segment signature information), and the server returns the random number and the private key signature fragment to the client.
[0083] Step 102: The server sends authentication feedback information and corresponding server signature information to the client.
[0084] Step 103, the client obtains the authentication feedback information and the corresponding server signature information returned by the server; wherein the server signature information is obtained by signing the authentication feedback information using the server private key.
[0085] Step 104: The client obtains the corresponding local private key according to the local information obtained in real time.
[0086] In the embodiment of the present invention, the client obtains local information in real time. Local information refers to information that the client can obtain locally, such as device information, client information, user information, etc. Specifically, it can include any applicable local information, which is not limited in the embodiment of the present invention.
[0087] In the embodiment of the present invention, the client obtains the corresponding private key according to the local information, which is recorded as the local private key. For example, the SM2 algorithm is used according to the local information to calculate the corresponding local private key.
[0088] In an optional embodiment of the present invention, the local information includes at least one of the following: device information, client information and user information; correspondingly, the local private key includes at least one of the following: a device private key, a client private key and a user private key.
[0089] The device information refers to the relevant information of the device where the client is located, such as MAC (Media Access Control Address), hardware unique code, etc. Any applicable information can be used, and the embodiment of the present invention does not limit this.
[0090] The client information refers to relevant information of the client, for example, information such as an authorization code issued by the server to the client, and any applicable information may be used, and the embodiment of the present invention does not limit this.
[0091] User information refers to user-related information, such as user name, user password, etc. Any applicable information may be used, and the embodiment of the present invention does not impose any limitation on this.
[0092] According to the device information, the corresponding private key can be obtained, which is recorded as the device private key. According to the client information, the corresponding private key can be obtained, which is recorded as the client private key. According to the user information, the corresponding private key can be obtained, which is recorded as the user private key.
[0093] Combining user identity authentication with device information, client information, user information, user identity authentication information and user permission information ensures the authenticity of user identity in multiple dimensions and improves the security of identity authentication.
[0094] In an optional embodiment of the present invention, a specific implementation method of obtaining a corresponding local private key based on local information obtained in real time may include: the client requests the local private key from the server based on the local information obtained in real time; and the client receives the local private key returned by the server.
[0095] The client sends the local information obtained in real time to the server to request the local private key. The server converts the received local information into the corresponding local private key. The server returns the local private key to the client, and the client receives the returned local private key.
[0096] For example, Figure 2 and 3 As shown, in the user identity authentication link, the client sends the device information (such as mobile device information 1), client information (such as Palm Tong APP information 2), and user information (such as user unique identification information 3) to the server, and calls the server interface to generate private key fragments (i.e., device private key, client private key, and user private key) based on the collected information, and calculates the public key fragments (i.e., device public key, client public key, and user public key) based on the private key fragments to obtain the public and private key fragments.
[0097] Step 105: The client determines the collaborative signature information based on the server signature information, the authentication feedback information and the local private key.
[0098] In the embodiment of the present invention, the client uses a collaborative signature algorithm based on the server signature information, authentication feedback information and local private key to determine the complete signature information, which is recorded as collaborative signature information. Specifically, the authentication feedback information is signed using the local private key to obtain local signature information. The server signature information and the local signature information are then used to calculate the collaborative signature information.
[0099] Among them, the collaborative signature is that the client and the server generate a key pair respectively, and then according to a special algorithm, the server first calculates the temporary intermediate factor, and then the client calculates the complete signature value.
[0100] In an optional embodiment of the present invention, a specific implementation method of determining the collaborative signature information based on the server signature information, the authentication feedback information and the local private key may include: the client uses the device private key, the client private key and the user private key to sign the authentication feedback information respectively to obtain corresponding local signature information; the client synthesizes the collaborative signature information based on the server signature information and the local signature information.
[0101] The client uses the device private key, client private key and user private key respectively to sign the authentication feedback information, and obtains the corresponding device signature information, client signature information and user signature information, collectively referred to as local signature information.
[0102] The client then calls the collaborative signature technology based on the server signature information and local signature information to synthesize a complete signature value, namely the collaborative signature information.
[0103] For example, Figure 2 and 3 In the user authentication process, the client uses each private key fragment (i.e., device private key, client private key, and user private key) to sign the random number returned by the server and obtains local signature information (such as private key signature fragment 1, private key signature fragment 2, and private key signature fragment 3). Then the collaborative signature technology is called to synthesize each signature value fragment (including key signature fragment 1, private key signature fragment 2, private key signature fragment 3, and private key signature fragment 4 sent by the server) into a complete signature value, i.e., collaborative signature information.
[0104] The signature private key is divided into four parts: device private key, client private key, user private key, and server private key. The server private key is encrypted and protected, and the client's local private key is dynamically collected and synthesized by local information. The private key will not appear in its entirety on any device. If any private key is leaked, the complete signature cannot be copied, thereby preventing the forgery of user identity.
[0105] Step 106: The client obtains necessary information for requesting the service from the server according to the collaborative signature information and the digital certificate, wherein the digital certificate is obtained by applying to the server in advance according to the local public-private key pair.
[0106] In the embodiment of the present invention, the client applies for a digital certificate from the server in advance based on a local public-private key pair, that is, a local private key and a corresponding local public key.
[0107] For example, Figure 2 As shown in the figure, during the user registration and application for digital certificate, the client applies for SM2 certificate, i.e. digital certificate, from the server based on the local public-private key pair. The server sends the local public-private key pair to the CA (Certificate Authority) center, and the CA center issues the SM2 certificate. The server sends the issued SM2 certificate to the client, and the client stores the SM2 certificate.
[0108] In the embodiment of the present invention, the client sends the collaborative signature information and the digital certificate to the server to request the server for the necessary information to participate in the service. The necessary information to participate in the service refers to the information necessary for the client to participate in the service, such as the conference room number and conference password in the video conference, and can include any applicable information according to the actual situation, and the embodiment of the present invention does not limit this.
[0109] Step 107, the server receives the collaborative signature information and digital certificate sent by the client; wherein the collaborative signature information is determined by the client based on the server signature information, the authentication feedback information and the local private key, and the digital certificate is issued to the client based on the client's local public-private key pair and the server's public-private key pair.
[0110] Step 108: The server verifies the collaborative signature information using the digital certificate, and after the verification is successful, sends the necessary information for participating in the service to the client.
[0111] In the embodiment of the present invention, after the server receives the collaborative signature information and the digital certificate, the digital certificate is used to verify the collaborative signature information because the digital certificate contains the public key corresponding to the collaborative signature information. After the verification is passed, the authenticity and legality of the user identity are indicated, and the necessary information for participating in the service can be sent to the client.
[0112] For example, Figure 3As shown, in the user identity authentication process, the client sends the complete signature value and certificate to the server, and the server verifies the signature value and certificate and returns the result. If the verification is successful, the returned result is the necessary information for participating in the visual network service (such as the meeting room number and meeting password). Of course, in addition to using digital certificates to verify the collaborative signature information, other conventional verifications can also be performed on digital certificates.
[0113] According to an embodiment of the present invention, local information is obtained in real time and a corresponding local private key is calculated and generated. The local private key does not need to be stored on the client, thereby ensuring the security of the private key. Identity authentication is combined with local information to ensure the authenticity of the user's identity. The private key of the signature is split, and the private key will not appear intact on any device. If any private key is leaked, the complete signature cannot be copied, thereby preventing the forgery of the user's identity.
[0114] In an optional embodiment of the present invention, before obtaining the authentication feedback information and the corresponding server signature information returned by the server, it may also include: the client requests a local public-private key pair from the server based on the obtained local information; the client receives the local public-private key pair returned by the server; the client applies for the digital certificate from the server based on the local public-private key pair.
[0115] Before participating in the service, the client obtains local information and sends the local information to the server based on the local information to request a local public-private key pair. After receiving the local information, the server converts the local information into a local public-private key pair, that is, a local private key and a corresponding local public key. For example, the SM2 algorithm is used to calculate the corresponding device private key, client private key, and user private key based on the device information, client information, and user information, and calculate the corresponding device public key, client public key, and user public key.
[0116] The server returns the local public-private key pair to the client, and the client receives the local public-private key pair. The client then applies for a digital certificate from the server based on the local public-private key pair. After receiving the local public-private key pair, the server requests the corresponding digital certificate from the CA center based on the local public-private key pair and the server public-private key pair.
[0117] In an optional embodiment of the present invention, before using the server private key to sign the authentication feedback information and obtain the server signature information, it may also include: the server determines the collaborative public key and the collaborative private key based on the client's local public-private key pair and the server's public-private key pair; the server obtains the corresponding digital certificate based on the collaborative public key and the collaborative private key; the server sends the digital certificate to the client.
[0118] After receiving the local public-private key pair from the client, the server synthesizes the local public-private key pair and the server public-private key pair into a collaborative public key and a collaborative private key. Specifically, the collaborative public key is determined based on the local public key and the server public key using a collaborative signature algorithm, and the collaborative private key is determined based on the local private key and the server private key using a collaborative signature algorithm.
[0119] The server requests the corresponding digital certificate from the CA center based on the collaborative public key and collaborative private key. The generated digital certificate includes the collaborative public key, so the digital certificate can be used to verify the collaborative signature information. The server then sends the digital certificate to the client.
[0120] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0121] Reference Figure 4 The structural block diagram of an embodiment of an identity authentication device for participating in a service of the present invention is shown, which is applied to a client and may specifically include the following modules:
[0122] The signature information acquisition module 201 is used to acquire the authentication feedback information returned by the server and the corresponding server signature information; wherein the server signature information is obtained by signing the authentication feedback information using the server private key;
[0123] A local private key acquisition module 202 is used to acquire a corresponding local private key according to the local information acquired in real time;
[0124] The signature information determination module 203 is used to determine the collaborative signature information based on the server signature information, the authentication feedback information and the local private key;
[0125] The necessary information acquisition module 204 is used to obtain the necessary information for requesting the service from the server according to the collaborative signature information and the digital certificate, wherein the digital certificate is obtained by applying to the server in advance according to the local public-private key pair.
[0126] Optionally, the local information includes at least one of the following: device information, client information and user information; correspondingly, the local private key includes at least one of the following: a device private key, a client private key and a user private key.
[0127] Optionally, the signature information determination module includes:
[0128] The signature submodule is used to sign the authentication feedback information using the device private key, the client private key and the user private key respectively to obtain corresponding local signature information;
[0129] The information synthesis submodule is used to synthesize the collaborative signature information according to the server signature information and the local signature information.
[0130] Optionally, the local private key acquisition module includes:
[0131] A private key request submodule, used to request the local private key from the server according to the local information obtained in real time;
[0132] The private key receiving submodule is used to receive the local private key returned by the server.
[0133] Optionally, the device further comprises:
[0134] A public-private key pair request module, used to request a local public-private key pair from the server according to the acquired local information before acquiring the authentication feedback information and the corresponding server signature information returned by the server;
[0135] A public-private key pair receiving module, used to receive the local public-private key pair returned by the server;
[0136] The digital certificate application module is used to apply for the digital certificate from the server according to the local public-private key pair.
[0137] According to an embodiment of the present invention, local information is obtained in real time and a corresponding local private key is calculated and generated. The local private key does not need to be stored on the client, thereby ensuring the security of the private key. Identity authentication is combined with local information to ensure the authenticity of the user's identity. The private key of the signature is split, and the private key will not appear intact on any device. If any private key is leaked, the complete signature cannot be copied, thereby preventing the forgery of the user's identity.
[0138] Reference Figure 5 The structural block diagram of another embodiment of the identity authentication device for joining a service of the present invention is shown, which is applied to the server and may specifically include the following modules:
[0139] The signature module 301 is used to sign the authentication feedback information using the server private key to obtain the server signature information;
[0140] Information sending module 302, used to send authentication feedback information and corresponding server signature information to the client;
[0141] The information receiving module 303 is used to receive the collaborative signature information and digital certificate sent by the client; wherein the collaborative signature information is determined by the client based on the server signature information, the authentication feedback information and the local private key, and the digital certificate is issued to the client based on the client's local public-private key pair and the server's public-private key pair;
[0142] The verification module 304 is used to verify the collaborative signature information using the digital certificate, and after the verification is passed, send the necessary information for participating in the service to the client.
[0143] Optionally, the device further comprises:
[0144] The private key generation module is used to generate a server private key according to user identity authentication information and user authority information before using the server private key to sign the authentication feedback information to obtain the server signature information.
[0145] Optionally, the device further comprises:
[0146] A collaborative key determination module, used to determine a collaborative public key and a collaborative private key according to the local public-private key pair of the client and the public-private key pair of the server before signing the authentication feedback information with the server private key to obtain the server signature information;
[0147] A digital certificate acquisition module, used to acquire a corresponding digital certificate according to the collaborative public key and the collaborative private key;
[0148] The digital certificate issuing module is used to issue the digital certificate to the client.
[0149] According to an embodiment of the present invention, local information is obtained in real time and a corresponding local private key is calculated and generated. The local private key does not need to be stored on the client, thereby ensuring the security of the private key. Identity authentication is combined with local information to ensure the authenticity of the user's identity. The private key of the signature is split, and the private key will not appear intact on any device. If any private key is leaked, the complete signature cannot be copied, thereby preventing the forgery of the user's identity.
[0150] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0151] Figure 6 1 is a block diagram of an electronic device 600 for identity authentication when participating in a service according to an exemplary embodiment. For example, the electronic device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0152] Reference Figure 6 , the electronic device 600 may include one or more of the following components: a processing component 602 , a memory 604 , a power component 606 , a multimedia component 608 , an audio component 610 , an input / output (I / O) interface 612 , a sensor component 614 , and a communication component 616 .
[0153] The processing component 602 generally controls the overall operation of the electronic device 600, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the identity authentication method for participating in the service described above. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.
[0154] The memory 604 is configured to store various types of data to support operations on the device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phone book data, messages, pictures, videos, etc. The memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0155] The power supply component 606 provides power to the various components of the electronic device 600. The power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 600.
[0156] The multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the electronic device 600 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0157] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC), and when the electronic device 600 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 604 or sent via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.
[0158] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0159] The sensor assembly 614 includes one or more sensors for providing various aspects of status assessment for the electronic device 600. For example, the sensor assembly 614 can detect the open / closed state of the device 600, the relative positioning of components, such as the display and keypad of the electronic device 600, and the sensor assembly 614 can also detect the position change of the electronic device 600 or a component of the electronic device 600, the presence or absence of contact between the user and the electronic device 600, the orientation or acceleration / deceleration of the electronic device 600, and the temperature change of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 614 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0160] The communication component 616 is configured to facilitate wired or wireless communication between the electronic device 600 and other devices. The electronic device 600 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0161] In an exemplary embodiment, the electronic device 600 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above-mentioned shutdown control method.
[0162] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, and the instructions can be executed by a processor 620 of an electronic device 600 to complete the above-mentioned shutdown control method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0163] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enables a server to execute an identity authentication method when participating in a service, applied to a client, the method comprising:
[0164] Obtain the authentication feedback information and the corresponding server signature information returned by the server; wherein the server signature information is obtained by signing the authentication feedback information using the server private key;
[0165] Obtain the corresponding local private key based on the local information obtained in real time;
[0166] Determine collaborative signature information based on the server signature information, the authentication feedback information and the local private key;
[0167] The necessary information for requesting the service is obtained from the server according to the collaborative signature information and the digital certificate, wherein the digital certificate is obtained by applying to the server in advance according to the local public-private key pair.
[0168] Optionally, the local information includes at least one of the following: device information, client information and user information; correspondingly, the local private key includes at least one of the following: a device private key, a client private key and a user private key.
[0169] Optionally, determining the collaborative signature information based on the server signature information, the authentication feedback information and the local private key includes:
[0170] Using the device private key, the client private key and the user private key respectively, the authentication feedback information is signed to obtain corresponding local signature information;
[0171] The collaborative signature information is synthesized according to the server signature information and the local signature information.
[0172] Optionally, acquiring a corresponding local private key according to the local information acquired in real time includes:
[0173] Requesting the local private key from the server according to the local information obtained in real time;
[0174] Receive the local private key returned by the server.
[0175] Optionally, before obtaining the authentication feedback information and the corresponding server signature information returned by the server, the method further includes:
[0176] Requesting a local public-private key pair from the server according to the acquired local information;
[0177] Receive the local public and private key pair returned by the server;
[0178] Apply for the digital certificate from the server based on the local public-private key pair.
[0179] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enables a server to execute an identity authentication method when participating in a service, applied to a server, the method comprising:
[0180] Use the server private key to sign the authentication feedback information and obtain the server signature information;
[0181] Send authentication feedback information and corresponding server signature information to the client;
[0182] Receive the collaborative signature information and digital certificate sent by the client; wherein the collaborative signature information is determined by the client based on the server signature information, the authentication feedback information and the local private key, and the digital certificate is issued to the client based on the client's local public-private key pair and the server's public-private key pair;
[0183] The collaborative signature information is verified using the digital certificate, and after the verification is passed, the necessary information for participating in the service is sent to the client.
[0184] Optionally, before using the server private key to sign the authentication feedback information to obtain the server signature information, the method further includes:
[0185] Generate a server private key based on user identity authentication information and user authority information.
[0186] Optionally, before using the server private key to sign the authentication feedback information to obtain the server signature information, the method further includes:
[0187] Determine a collaborative public key and a collaborative private key based on the client's local public and private key pair and the server's public and private key pair;
[0188] Obtaining a corresponding digital certificate according to the collaborative public key and the collaborative private key;
[0189] The digital certificate is issued to the client.
[0190] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0191] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0192] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0193] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0194] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable terminal device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0195] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0196] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0197] The identity authentication method for participating in a business and the identity authentication device for participating in a business provided by the present invention are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for identity authentication when participating in a business, characterized in that: Applied to a client, the method comprises: Obtain the authentication feedback information and the corresponding server signature information returned by the server; wherein the server signature information is obtained by signing the authentication feedback information using the server private key; Obtain the corresponding local private key based on the local information obtained in real time; Determine collaborative signature information based on the server signature information, the authentication feedback information and the local private key; The necessary information for requesting the service is obtained from the server according to the collaborative signature information and the digital certificate, wherein the digital certificate is obtained by applying to the server in advance according to the local public-private key pair.
2. The method according to claim 1, characterized in that The local information includes at least one of the following: device information, client information and user information; correspondingly, the local private key includes at least one of the following: a device private key, a client private key and a user private key.
3. The method according to claim 2, characterized in that The determining the collaborative signature information based on the server signature information, the authentication feedback information and the local private key includes: Using the device private key, the client private key and the user private key respectively, the authentication feedback information is signed to obtain corresponding local signature information; The collaborative signature information is synthesized according to the server signature information and the local signature information.
4. The method according to claim 1, characterized in that: The step of obtaining a corresponding local private key according to the local information obtained in real time includes: Requesting the local private key from the server according to the local information obtained in real time; Receive the local private key returned by the server.
5. The method according to claim 1, characterized in that Before obtaining the authentication feedback information and the corresponding server signature information returned by the server, the method further includes: Requesting a local public-private key pair from the server according to the acquired local information; Receive the local public and private key pair returned by the server; Apply for the digital certificate from the server based on the local public-private key pair.
6. A method for identity authentication when participating in a business, characterized in that: Applied to the server, the method includes: Use the server private key to sign the authentication feedback information and obtain the server signature information; Send authentication feedback information and corresponding server signature information to the client; Receive the collaborative signature information and digital certificate sent by the client; wherein the collaborative signature information is determined by the client based on the server signature information, the authentication feedback information and the local private key, and the digital certificate is issued to the client based on the client's local public-private key pair and the server's public-private key pair; The collaborative signature information is verified using the digital certificate, and after the verification is passed, the necessary information for participating in the service is sent to the client.
7. The method according to claim 6, characterized in that Before using the server private key to sign the authentication feedback information to obtain the server signature information, the method further includes: Generate a server private key based on user identity authentication information and user authority information.
8. The method according to claim 6, characterized in that Before using the server private key to sign the authentication feedback information to obtain the server signature information, the method further includes: Determine a collaborative public key and a collaborative private key based on the client's local public and private key pair and the server's public and private key pair; Obtaining a corresponding digital certificate according to the collaborative public key and the collaborative private key; The digital certificate is issued to the client.
9. An identity authentication device for participating in a business, characterized in that: Applied to a client, the device comprises: The signature information acquisition module is used to obtain the authentication feedback information returned by the server and the corresponding server signature information; wherein the server signature information is obtained by signing the authentication feedback information using the server private key; A local private key acquisition module is used to obtain the corresponding local private key according to the local information obtained in real time; A signature information determination module, used to determine collaborative signature information based on the server signature information, the authentication feedback information and the local private key; The necessary information acquisition module is used to obtain the necessary information for requesting the service from the server according to the collaborative signature information and the digital certificate, wherein the digital certificate is obtained by applying to the server in advance according to the local public-private key pair.
10. An identity authentication device for participating in a business, characterized in that: Applied to the server, the device comprises: The signature module is used to sign the authentication feedback information using the server private key to obtain the server signature information; Information sending module, used to send authentication feedback information and corresponding server signature information to the client; An information receiving module, used to receive the collaborative signature information and digital certificate sent by the client; wherein the collaborative signature information is determined by the client based on the server signature information, the authentication feedback information and the local private key, and the digital certificate is issued to the client based on the client's local public-private key pair and the server's public-private key pair; The verification module is used to verify the collaborative signature information using the digital certificate, and after the verification is passed, send the necessary information for participating in the service to the client.
11. An electronic device, characterized in that: include: one or more processors; and One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, cause the apparatus to perform the method of any one of claims 1 to 8.
12. A computer-readable storage medium, characterized in that: The computer program stored therein enables the processor to execute the method according to any one of claims 1 to 8.
