Access method, system and electronic device

By dividing the server into pre-examination area and business area, and performing multi-layer identity authentication on the client, the problem of backend server access security when salesmen go out to handle business is solved, and data security and business area security is improved .

CN118611992BActive Publication Date: 2024-11-01HANGZHOU MIAOFENG TECH CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202411081686.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-11-01
Estimated Expiration
2044-08-08

AI Technical Summary

Technical Problem

In the prior art, when a salesperson goes out to process services, the identity authentication of the backend server through a mobile terminal is not secure enough, and is easily tampered with by malicious users, resulting in data security being threatened.

Method used

The server is divided into pre-examination area and business area. The client must first pass the fixed identity information, pre-examination area certificate and real-time identity verification in the pre-examination area before it can access the business area, which adds the credibility of the two-way digital certificate. Authentication steps reduce the possibility that malicious users will bypass authentication.

Benefits of technology

Improve the security of backend server access, reduce the possibility of malicious attacks, and enhance security through the traceability of certificate trusted authentication, allocating the authentication pressure of the business area, so that it can perform security checks more effectively and Business functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118611992B_ABST
    Figure CN118611992B_ABST
Patent Text Reader

Abstract

The embodiments of this specification disclose an access method and system, and an electronic device, wherein the method divides the entire service end into a pre-examination area and a business area. When a client accesses the business area, it must first pass the trusted authentication of the client's fixed identity information, the pre-examination area certificate information, and the client's real-time identity authentication information in the pre-examination area. Among them, the verification of the client's fixed identity information is easy to be passed by malicious users, and it is difficult to bypass the trusted authentication based on the client's real-time identity authentication information issued by the pre-examination area, and it is even more difficult to bypass the trusted authentication of the two-way digital certificate located at the fourth layer of the network. Therefore, the possibility of the client maliciously performing malicious operations directly on the business area of ​​the seventh layer of the network through the identity trusted authentication step is reduced, and the client that passes the certificate trusted authentication has a corresponding relationship between the business area certificate information obtained and its client fixed identity information, thereby improving the traceability when problems occur.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Multiple embodiments of this specification relate to the field of information technology, and specifically to an access method and system, and an electronic device. Background Art

[0002] At present, for some out-of-town business processing scenarios, salesmen usually need to access the backend server of business processing through mobile terminals, and then process specific business. For example, in the field of gas business, salesmen need to carry mobile terminals to gas users and access the backend server through mobile terminals to read gas meters and conduct home security inspections for users.

[0003] However, currently, in the process of accessing the backend server, sales staff usually only need to perform basic identity authentication, such as verification of identity information such as account number and password, and these basic identity information verifications are easily passed by malicious users, making it easy for malicious users to tamper with the data in the backend server.

[0004] Therefore, there is an urgent need for a method that can improve the security of backend server access during business processing. Summary of the invention

[0005] The embodiments of this specification provide an access method and system, and an electronic device, which can improve the access security of a backend server during business processing. The technical solution is as follows:

[0006] In a first aspect, an embodiment of the present specification provides an access method, which is applied to a server, wherein the server includes a pre-examination area and a service area, and the access method includes the steps of:

[0007] The pre-examination zone receives a first access request from a client to complete the access of the client to the pre-examination zone, wherein the first access request includes fixed identity information of the client, pre-examination zone certificate information pre-set at the client that can pass the trusted authentication of the pre-examination zone, and real-time identity authentication information of the client sent by the pre-examination zone to the client corresponding to the fixed identity information of the client;

[0008] After the client completes access to the pre-examination area, the pre-examination area obtains the business area address information and the business area certificate information that can be used with the business area trusted authentication and is bound to the client's fixed identity information, and sends the business area address information and business area certificate information to the client;

[0009] The service zone receives a second access request initiated by the client based on the received service zone address information and service zone certificate information to complete the access of the client to the service zone.

[0010] As a preferred solution, the pre-qualification area obtains the business area certificate information that is exclusively bound to the client's fixed identity information and can pass the business area trusted authentication, and issues the business area certificate information to the client.

[0011] As a preferred solution, the server also includes an address setting area for setting service area address information;

[0012] The pre-examination area obtains the business area address information from the address setting area.

[0013] As a preferred solution, the service area includes a plurality of service sub-areas;

[0014] The service area address information set in the address setting area includes service sub-area address information corresponding to each service sub-area;

[0015] Before the pre-examination area obtains the address information of the business area, it also includes:

[0016] The pre-screening area obtains preset content, which includes a mapping relationship between each client's fixed identity information and each business sub-area;

[0017] The pre-examination area obtains the business area address information from the address setting area, including:

[0018] The pre-screening area determines at least one business sub-area having a mapping relationship with the fixed identity information of the client based on the preset content and the fixed identity information of the client;

[0019] The pre-examination area obtains the corresponding business sub-area address information from the address setting area for each business sub-area that has a mapping relationship with the client's fixed identity information, and uses all the obtained business sub-area address information as the obtained business area address information.

[0020] As a preferred solution, before the pre-qualification zone obtains the business zone certificate information that is exclusively bound to the fixed identity information of the client and can be authenticated by the business zone, it also includes:

[0021] An encryption certificate pool is preset in the pre-examination area, wherein the encryption certificate pool includes a plurality of certificate sub-pools corresponding to each business sub-area respectively, and each certificate sub-pool includes a plurality of pre-issued certificates that can only pass the trusted authentication of the business sub-area corresponding to the certificate sub-pool and a plurality of private keys corresponding to each pre-issued certificate respectively;

[0022] The pre-qualification zone obtains the business zone certificate information that is exclusively bound to the fixed identity information of the client and can pass the trusted authentication of the business zone, including:

[0023] The pre-screening area determines at least one business sub-area having a mapping relationship with the fixed identity information of the client based on the preset content and the fixed identity information of the client;

[0024] The pre-examination zone determines at least one certificate sub-pool corresponding to at least one business sub-zone having a mapping relationship with the fixed identity information of the client in the encryption certificate pool, and selects a pre-issued certificate that has not been selected in each determined certificate sub-pool;

[0025] For each selected pre-signed certificate, it and its corresponding private key are used as business sub-area certificate information that is exclusively bound to the client's fixed identity information and can be trusted through authentication of the business sub-area corresponding to the pre-signed certificate, and all business sub-area certificate information is used as the obtained business area certificate information.

[0026] As a preferred solution, after sending the service area certificate information to the client, the method further includes:

[0027] Delete the private key corresponding to the selected pre-signed certificate in the encryption certificate pool.

[0028] As a preferred solution, the first access request also includes preset first magic number information and / or first digital fence number information.

[0029] As a preferred solution, the second access request includes preset second magic number information and / or second digital fence number information.

[0030] In a second aspect, the embodiments of this specification provide an access system, which is applied to a server, and includes a pre-examination module and a service module;

[0031] The pre-examination module receives a first access request from a client to complete the access of the client to the pre-examination zone, wherein the first access request includes fixed identity information of the client, pre-examination zone certificate information pre-set at the client that can pass the trusted authentication of the pre-examination zone, and real-time identity authentication information of the client sent from the pre-examination zone to the client corresponding to the fixed identity information of the client;

[0032] The pre-examination module also obtains the business area address information and the business area certificate information that can be used through the business area trusted authentication and is bound to the client's fixed identity information after completing the client's access to the pre-examination area, and sends the business area address information and the business area certificate information to the client;

[0033] The service module receives a second access request initiated by the client based on the received service zone address information and service zone certificate information to complete the access of the client to the service zone.

[0034] In a third aspect, an embodiment of this specification provides an electronic device, comprising a processor and a memory; the processor is connected to the memory; the memory is used to store executable program code; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the steps described in the first aspect of the above embodiment.

[0035] In a fourth aspect, an embodiment of this specification provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the steps described in the first aspect of the above embodiment.

[0036] The beneficial effects brought by the technical solutions provided by some embodiments of this specification include at least:

[0037] The entire server is divided into a pre-screening area and a business area. If a client wants to access the business area, it must first pass the trusted authentication of the client's fixed identity information, the pre-screening area certificate information, and the client's real-time identity authentication information in the pre-screening area. Among them, the verification of the client's fixed identity information is easy to be passed by malicious users, and it is difficult to bypass the trusted authentication based on the client's real-time identity authentication information issued by the pre-screening area, and it is even more difficult to bypass the trusted authentication of the two-way digital certificate located at the fourth layer of the network. Therefore, the possibility of the client maliciously performing malicious operations directly on the business area of ​​the seventh layer of the network through the identity trusted authentication step is reduced, and the client that passes the certificate trusted authentication has a corresponding relationship with its client's fixed identity information in the business area, thereby improving the traceability when problems occur, thereby reducing the possibility of the client maliciously attacking the business area.

[0038] The server is divided into a pre-screening area and a business area. The pre-screening area performs pre-authentication for all clients, alleviating the authentication pressure of the business area, allowing the business area to have more memory and computing resources to perform the security checks and business functions it needs to perform, thereby improving the security of the business area.

[0039] Before the client passes the trusted authentication of the pre-examination area, the client does not obtain the address information of the business area and the business area certificate information that can pass the trusted authentication of the business area, which further reduces the possibility of the client making malicious attacks on the business area. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0041] Figure 1 It is a schematic diagram of the architecture of an access method implementation process provided in an embodiment of this specification.

[0042] Figure 2 It is a flowchart of an access method provided in an embodiment of this specification.

[0043] Figure 3 It is a structural diagram of an access system provided in an embodiment of this specification.

[0044] Figure 4 It is a structural schematic diagram of an electronic device provided in an embodiment of this specification. DETAILED DESCRIPTION

[0045] The technical solutions in the embodiments of this specification will be described clearly and completely below in conjunction with the drawings in the embodiments of this specification.

[0046] The terms "first", "second", "third", etc. in the description and claims of this specification and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0047] The following description provides examples and does not limit the scope, applicability or examples set forth in the claims. Changes may be made to the functions and arrangements of the elements described without departing from the scope of the present specification. Various processes or components may be appropriately omitted, substituted or added to each example. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted or combined. In addition, features described with respect to some examples may be combined in other examples.

[0048] Reference Figure 1 The figure shows an environment architecture diagram of an access method implementation process provided by one or more embodiments of this specification.

[0049] One or more embodiments of this specification provide an access method that is applicable to all application scenarios where a client needs to access a server to perform corresponding business processing, such as gas meter reading, home security inspection and other business processing scenarios.

[0050] The following combination Figure 1 , the access method provided in the embodiment of this specification is explained:

[0051] Reference Figure 1 As shown, the environment architecture of an access method implementation process provided by one or more embodiments of this specification includes a client 101 and a server 102, and the server 102 includes a pre-examination area and a business area. And for the client 101, the user needs to install an APP for business processing in the client 101 in advance.

[0052] During the business processing, the user opens the pre-installed APP in the client 101 and logs in the APP. During the login process, the user needs to enter the client's fixed identity information in the APP interface, including but not limited to the account number, password, mobile phone number, etc.

[0053] Further, the client 101 initiates a first access request directed to the server 102. The first access request includes the above-mentioned client fixed identity information, where the client fixed identity information may include the client device serial number, etc. in addition to the above-mentioned account number, password, and mobile phone number. The first access request also includes the pre-examination zone certificate information that can be trusted and authenticated by the pre-examination zone, which is pre-set at the client. The pre-examination zone certificate information may be, but is not limited to, pre-built into the installation package of the APP so that the client 101 can obtain the pre-examination zone certificate information when installing the APP. The first access request also includes the client real-time identity authentication information sent by the pre-examination zone to the client corresponding to the client fixed identity information, which may be, but is not limited to, a verification code (for example, a verification code sent via a mobile phone number).

[0054] Further, the pre-examination area of ​​the server 102 receives the first access request, and when the first access request passes the trusted authentication, the pre-examination area obtains the business area address information and the business area certificate information that can pass the business area trusted authentication and is bound to the client's fixed identity information, and sends the business area address information and the business area certificate information to the client 101.

[0055] That is, before the first access request initiated by the client 101 passes the trusted authentication at the server 102, the client 101 does not obtain the address information of the service zone and the service zone certificate information that can pass the trusted authentication of the service zone, thereby reducing the possibility of the client making malicious attacks on the service zone.

[0056] Further, the service zone receives a second access request initiated by the client 101 based on the received service zone address information and service zone certificate information to complete the access of the client to the service zone.

[0057] The initiation of the second access request is that the client 101 user initiates a corresponding service processing request on the APP, for example, clicking a gas meter reading button in the APP interface.

[0058] It should be noted that the client 101 may be a mobile phone, a personal computer, a tablet computer, an IoT (Internet of Things) device, a wearable smart device, a laptop computer, a desktop computer, and the like.

[0059] Reference Figure 2 As shown, Figure 2 A flowchart of an access method provided in an embodiment of this specification may include at least the following steps:

[0060] Step 202: The pre-examination zone receives a first access request from the client to complete the access of the client to the pre-examination zone, wherein the first access request includes the fixed identity information of the client, the pre-examination zone certificate information pre-set at the client and which can pass the trusted authentication of the pre-examination zone, and the real-time identity authentication information of the client sent by the pre-examination zone to the client corresponding to the fixed identity information of the client;

[0061] Step 204: After the client completes access to the pre-examination zone, the pre-examination zone obtains the business zone address information and the business zone certificate information that is bound to the client's fixed identity information and can pass the business zone trusted authentication, and sends the business zone address information and the business zone certificate information to the client;

[0062] Step 206: The service zone receives a second access request initiated by the client based on the received service zone address information and service zone certificate information to complete the access of the client to the service zone.

[0063] It can be seen that the entire server is divided into a pre-examination area and a business area. If a client wants to access the business area, it must first pass the trusted authentication of the client's fixed identity information, the pre-examination area certificate information, and the client's real-time identity authentication information in the pre-examination area. Among them, the verification of the client's fixed identity information is easy to be passed by malicious users, and it is difficult to bypass the trusted authentication based on the client's real-time identity authentication information issued by the pre-examination area, and it is even more difficult to bypass the trusted authentication of the two-way digital certificate located at the fourth layer of the network. Therefore, the possibility of the client maliciously performing malicious operations directly on the business area of ​​the seventh layer of the network through the identity trusted authentication step is reduced, and the client that passes the certificate trusted authentication has a corresponding relationship between the business area certificate information obtained and its client fixed identity information, thereby improving the traceability when problems occur, thereby reducing the possibility of the client maliciously attacking the business area.

[0064] The server is divided into a pre-screening area and a business area. The pre-screening area performs pre-authentication for all clients, alleviating the authentication pressure of the business area, allowing the business area to have more memory and computing resources to perform the security checks and business functions it needs to perform, thereby improving the security of the business area.

[0065] Before the client passes the trusted authentication of the pre-examination area, the client does not obtain the address information of the business area and the business area certificate information that can pass the trusted authentication of the business area, which further reduces the possibility of the client making malicious attacks on the business area.

[0066] In one embodiment of the present specification, the pre-qualification zone obtains the business zone certificate information that is exclusively bound to the fixed identity information of the client and can pass the business zone trusted authentication, and issues the business zone certificate information to the client.

[0067] It is understandable that the exclusive binding method enhances the non-repudiation of the client's identity, improves the traceability when problems occur, and further reduces the possibility of malicious attacks on the business area by the client.

[0068] In one embodiment of the present specification, the server further includes an address setting area for setting service area address information;

[0069] The pre-examination area obtains the business area address information from the address setting area.

[0070] It can be understood that the address information of the business area is obtained by setting it in the address setting area of ​​the server. Therefore, the address information of the business area can be updated at any time, or updated according to the corresponding update strategy (for example: scheduled update), or updated according to the wishes of the staff, thereby enhancing the confidentiality of the business area address information and further reducing the possibility of malicious attacks on the business area by the client (Note: it can be understood that the client cannot know the location of the object launching the attack).

[0071] Reference Figure 1 As shown, in one embodiment of the present specification, the service area includes a plurality of service sub-areas;

[0072] The service area address information set in the address setting area includes service sub-area address information corresponding to each service sub-area;

[0073] Before the pre-examination area obtains the address information of the business area, it also includes:

[0074] The pre-screening area obtains preset content, which includes a mapping relationship between each client's fixed identity information and each business sub-area;

[0075] The pre-examination area obtains the business area address information from the address setting area, including:

[0076] The pre-screening area determines at least one business sub-area having a mapping relationship with the fixed identity information of the client based on the preset content and the fixed identity information of the client;

[0077] The pre-examination area obtains the corresponding business sub-area address information from the address setting area for each business sub-area that has a mapping relationship with the client's fixed identity information, and uses all the obtained business sub-area address information as the obtained business area address information.

[0078] It can be understood that in this embodiment, for clients with different fixed client identities, the service sub-areas that they are allowed to access are all set, that is, the client is not allowed to access all service sub-areas, which increases the authentication separation between the service sub-areas, thereby improving the authentication security of the service area. Therefore, for the client with the corresponding fixed client identity information, when obtaining the service area address information, only the service sub-area address information corresponding to its fixed client identity information should be obtained.

[0079] In one embodiment of the present specification, before the pre-qualification zone obtains the service zone certificate information that is exclusively bound to the fixed identity information of the client and can be authenticated by the service zone, the process further includes:

[0080] An encryption certificate pool is preset in the pre-examination area, wherein the encryption certificate pool includes a plurality of certificate sub-pools corresponding to each business sub-area respectively, and each certificate sub-pool includes a plurality of pre-issued certificates that can only pass the trusted authentication of the business sub-area corresponding to the certificate sub-pool and a plurality of private keys corresponding to each pre-issued certificate respectively;

[0081] The pre-qualification zone obtains the business zone certificate information that is exclusively bound to the fixed identity information of the client and can pass the trusted authentication of the business zone, including:

[0082] The pre-screening area determines at least one business sub-area having a mapping relationship with the fixed identity information of the client based on the preset content and the fixed identity information of the client;

[0083] The pre-examination zone determines at least one certificate sub-pool corresponding to at least one business sub-zone having a mapping relationship with the client's fixed identity information in the encryption certificate pool, and selects a pre-issued certificate that has not been selected before (note: that is, it has not been selected during the access process of other clients) in each determined certificate sub-pool;

[0084] For each selected pre-signed certificate, it and its corresponding private key are used as the business sub-area certificate information that is exclusively bound to the client's fixed identity information and can be used through the trusted authentication of the business sub-area corresponding to the pre-signed certificate, and all business sub-area certificate information is used as the obtained business sub-area certificate information (Note: the client can subsequently use the corresponding business sub-area certificate information to initiate an access request to the corresponding business sub-area; the binding operation is performed by the pre-examination area, and the binding relationship is synchronized to the corresponding business sub-area).

[0085] After the service area certificate information is sent to the client, the method further includes:

[0086] Delete the private key corresponding to the selected pre-signed certificate in the encryption certificate pool.

[0087] The encryption certificate pool can be preset in the pre-examination area in the following ways:

[0088] On a secure computer, generate a batch of key pairs (including private keys and public keys), and use the CA certificates recognized by each business sub-area to issue a batch of pre-issued certificates. That is, each business sub-area must pre-issue a batch of certificates using the CA certificates recognized by each business sub-area.

[0089] When the server system is initialized (or during daily operation and maintenance), this batch of pre-issued certificates and the private keys corresponding to the pre-issued certificates are securely transferred to the pre-examination area. The certificate pool here is encrypted and stored to avoid leakage.

[0090] In this scheme, when a client completes the trusted authentication of the first access request, the pre-examination area takes out several pre-issued certificates corresponding to the fixed identity information of the client from the pre-set certificate pool (for example: the fixed identity information of the client corresponds to business sub-area 1 and business sub-area 2, then a pre-issued certificate that has not been selected is selected from the certificate sub-pool corresponding to business sub-area 1, and a pre-issued certificate that has not been selected is selected from the certificate sub-pool corresponding to business sub-area 2), and encrypts it with the symmetric encryption key provided by the client and transmits it to the client, which can be but not limited to symmetric encryption, so as to avoid leakage problems during transmission.

[0091] In this embodiment, an encryption certificate pool is pre-set in the pre-examination area, and the encryption certificate pool includes multiple certificate sub-pools corresponding to each business sub-area respectively. Each certificate sub-pool includes multiple pre-issued certificates that can only pass the trusted authentication of the business sub-area corresponding to the certificate sub-pool and multiple private keys corresponding to each pre-issued certificate.

[0092] That is, a certificate group for passing its trusted authentication is set up for each business sub-area, instead of each business sub-area using the same certificate for trusted authentication, which enhances the authentication separation between the business sub-areas and further improves the authentication security.

[0093] Since the encryption certificate pool is pre-set in the pre-examination area, the pre-examination area can achieve faster certificate issuance, improving the client user experience.

[0094] At the same time, the server deletes all private keys on its side that correspond to the pre-issued certificate delivered to the client. It should be noted that the private key of the client certificate is sensitive information that is exclusive to the client and should only be held and used by the client. Therefore, since the certificate and private key have been issued to the client, other holders should delete them.

[0095] In another embodiment of the specification, an online certificate issuance mode can also be adopted, that is, instead of adopting the above-mentioned certificate pool mode, the business area certificate information is generated in real time and issued to the client. This method further improves the security of the business area, but the security protection must be strengthened to ensure the security of the private key of the CA certificate of each business sub-area.

[0096] It should be noted that in the online certificate issuance model: the private key and public key are generated by the client, and there is a one-to-one relationship between the private key and the public key in mathematics. The private key cannot be derived from the public key. The public key is submitted to the certificate issuance server in the pre-examination area. The certificate issuance server in the pre-examination area uses the CA's private key to issue a certificate to the client's public key. Therefore, the server that issues the certificate needs to properly keep the private keys of each CA.

[0097] In one embodiment of the present specification, the first access request also includes preset first magic number information and / or first digital fence number information.

[0098] It can be understood that, in this embodiment, the trusted authentication of the first access request is also performed based on the first magic number information and / or the first digital fence number information in the first access request, which increases the credibility of the first access request and improves the credibility of the identity trusted authentication trust chain.

[0099] Specifically, the trusted authentication of the first magic number information and / or the first digital fence number information in the first access request is placed before the trusted authentication of the client's fixed identity information, pre-examination area certificate information, and real-time identity authentication information in the first access request, that is, if the trusted authentication of the first magic number information and / or the first digital fence number information fails, the trusted authentication of the client's fixed identity information, pre-examination area certificate information, and real-time identity authentication information will not be performed, thereby reducing the information processing amount of the identity trusted authentication.

[0100] Similarly, in one embodiment of the present specification, the second access request includes preset second magic number information and / or second digital fence number information.

[0101] It should be noted here that the magic number information and / or digital fence number information used in the second access request is different from that used in the first access request, which further improves the credibility of the identity trusted authentication trust chain.

[0102] Similarly, the trusted authentication of the second magic number information and / or the second digital fence number information in the second access request is placed before the trusted authentication of the business area address information and the business area certificate information in the second access request, that is, if the trusted authentication of the second magic number information and / or the second digital fence number information fails, the trusted authentication of the business area address information and the business area certificate information will not be performed, thereby reducing the information processing amount of the identity trusted authentication.

[0103] In one embodiment of the present specification, the trusted authentication pre-placed on the client fixed identity information, the pre-qualification zone certificate information, and the real-time identity authentication information also includes a trusted authentication based on the first challenge data issued by the pre-qualification zone.

[0104] In one embodiment of the present specification, the trusted authentication pre-placed in the business area address information and the business area certificate information further includes a trusted authentication based on the second challenge data issued by the business area.

[0105] It should be noted that the above-mentioned trusted authentication based on challenge data requires the server and the client to pre-set a response mechanism, for example:

[0106] The client and the server agree on a secret string in advance, and then the server randomly generates a string and sends it to the client. After the client receives the random string from the server (that is, it receives the challenge from the server), the client concatenates the random string with the pre-shared secret string, calculates the hash value of the concatenated string, and then sends the hash value to the server (this is the response). The server also performs the same independent calculation. After receiving the hash value sent by the client, the server compares and verifies it. If the hash value calculated by the client is consistent with that calculated by the server, the client challenge is considered successful and the subsequent interaction can continue. If the comparison is inconsistent, the client challenge is considered to have failed and the interaction is terminated immediately.

[0107] The setting of the above challenge mechanism further improves the access security of the client, and in one embodiment of the present specification, the opening or closing of the above challenge can be manually set.

[0108] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0109] See next Figure 3 , Figure 3 A schematic diagram of the structure of an access system provided in an embodiment of this specification is shown.

[0110] like Figure 3 As shown, the access system may include at least a pre-examination module 301 and a service module 302;

[0111] The pre-examination module 301 receives a first access request from a client to complete the access of the client to the pre-examination zone, wherein the first access request includes fixed identity information of the client, pre-examination zone certificate information pre-set at the client that can pass the trusted authentication of the pre-examination zone, and real-time identity authentication information of the client sent from the pre-examination zone to the client corresponding to the fixed identity information of the client;

[0112] The pre-examination module 301 also obtains the business area address information and the business area certificate information that can be used through the business area trusted authentication and is bound to the client's fixed identity information after completing the client's access to the pre-examination area, and sends the business area address information and the business area certificate information to the client;

[0113] The service module 302 receives a second access request initiated by the client based on the received service zone address information and service zone certificate information to complete the access of the client to the service zone.

[0114] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the access system embodiment, since it is basically similar to the access method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the access method embodiment.

[0115] See also Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of this specification is shown.

[0116] like Figure 4 As shown, the electronic device 400 may include: at least one processor 401 , at least one network interface 404 , a user interface 403 , a memory 405 , and at least one communication bus 402 .

[0117] The communication bus 402 may be used to realize the connection and communication among the above-mentioned components.

[0118] The user interface 403 may include buttons, and the optional user interface may also include a standard wired interface or a wireless interface.

[0119] The network interface 404 may include, but is not limited to, a Bluetooth module, an NFC module, a Wi-Fi module, etc.

[0120] Among them, the processor 401 may include one or more processing cores. The processor 401 uses various interfaces and lines to connect the various parts of the entire electronic device 400, and executes various functions and processes data of the electronic device 400 by running or executing instructions, programs, code sets or instruction sets stored in the memory 405, and calling data stored in the memory 405. Optionally, the processor 401 can be implemented in at least one hardware form of DSP, FPGA, and PLA. The processor 401 can integrate one or a combination of CPU, GPU, modem, etc. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 401, and it can be implemented separately through a chip.

[0121] Among them, the memory 405 may include RAM or ROM. Optionally, the memory 405 includes a non-transitory computer-readable medium. The memory 405 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 405 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 405 may also be at least one storage device located away from the aforementioned processor 401. The memory 405 as a computer storage medium may include an operating system, a network communication module, a user interface module and an access application. The processor 401 may be used to call the access application stored in the memory 405 and execute the steps of the access method mentioned in the above-mentioned embodiment.

[0122] The embodiments of this specification also provide a computer-readable storage medium, which stores instructions, and when the instructions are executed on a computer or a processor, the computer or the processor executes one or more steps in the above-mentioned access method embodiment. If the component modules of the above-mentioned electronic device are implemented in the form of software functional units and sold or used as independent products, they can be stored in the computer-readable storage medium.

[0123] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of this specification is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital versatile disc (DVD)), or a semiconductor medium (eg, a solid state drive (SSD)).

[0124] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes. In the absence of conflict, the technical features in this embodiment and the implementation scheme can be combined arbitrarily.

[0125] The embodiments described above are merely preferred embodiments of this specification and are not intended to limit the scope of this specification. Without departing from the design spirit of this specification, various modifications and improvements made to the technical solutions of this specification by ordinary technicians in this field should fall within the scope of protection determined by the claims of this specification.

Claims

1. An access method, applied to a server, wherein the server includes a pre-qualification area and a service area, characterized in that: Includes steps: The pre-examination zone receives a first access request from a client to complete the access of the client to the pre-examination zone, wherein the first access request includes fixed identity information of the client, pre-examination zone certificate information pre-set at the client that can pass the trusted authentication of the pre-examination zone, and real-time identity authentication information of the client sent by the pre-examination zone to the client corresponding to the fixed identity information of the client; After the client completes access to the pre-examination area, the pre-examination area obtains the business area address information and the business area certificate information that can be used with the business area trusted authentication and is bound to the client's fixed identity information, and sends the business area address information and business area certificate information to the client; The service zone receives a second access request initiated by the client based on the received service zone address information and service zone certificate information to complete the access of the client to the service zone; The server also includes an address setting area for setting service area address information; The pre-examination area obtains the business area address information from the address setting area; The service area includes a plurality of service sub-areas; The service area address information set in the address setting area includes service sub-area address information corresponding to each service sub-area; Before the pre-examination area obtains the address information of the business area, it also includes: The pre-screening area obtains preset content, which includes a mapping relationship between each client's fixed identity information and each business sub-area; The pre-examination area obtains the business area address information from the address setting area, including: The pre-screening area determines at least one business sub-area having a mapping relationship with the fixed identity information of the client based on the preset content and the fixed identity information of the client; The pre-examination area obtains the corresponding business sub-area address information from the address setting area for each business sub-area that has a mapping relationship with the client's fixed identity information, and uses all the obtained business sub-area address information as the obtained business area address information.

2. An access method according to claim 1, characterized in that: The pre-examination area obtains the business area certificate information that is exclusively bound to the client's fixed identity information and can pass the business area trusted authentication, and issues the business area certificate information to the client.

3. An access method according to claim 1, characterized in that: Before the pre-qualification zone obtains the business zone certificate information that is exclusively bound to the fixed identity information of the client and can pass the business zone trusted authentication, it also includes: An encryption certificate pool is preset in the pre-examination area, wherein the encryption certificate pool includes a plurality of certificate sub-pools corresponding to each business sub-area respectively, and each certificate sub-pool includes a plurality of pre-issued certificates that can only pass the trusted authentication of the business sub-area corresponding to the certificate sub-pool and a plurality of private keys corresponding to each pre-issued certificate respectively; The pre-qualification zone obtains the business zone certificate information that is exclusively bound to the fixed identity information of the client and can pass the trusted authentication of the business zone, including: The pre-screening area determines at least one business sub-area having a mapping relationship with the fixed identity information of the client based on the preset content and the fixed identity information of the client; The pre-examination zone determines at least one certificate sub-pool corresponding to at least one business sub-zone having a mapping relationship with the fixed identity information of the client in the encryption certificate pool, and selects a pre-issued certificate that has not been selected in each determined certificate sub-pool; For each selected pre-signed certificate, it and its corresponding private key are used as business sub-area certificate information that is exclusively bound to the client's fixed identity information and can be trusted through authentication of the business sub-area corresponding to the pre-signed certificate, and all business sub-area certificate information is used as the obtained business area certificate information.

4. An access method according to claim 3, characterized in that: After the service area certificate information is sent to the client, the method further includes: Delete the private key corresponding to the selected pre-signed certificate in the encryption certificate pool.

5. An access method according to claim 1, characterized in that: The first access request also includes preset first magic number information and / or first digital fence number information.

6. An access method according to claim 1, characterized in that: The second access request includes preset second magic number information and / or second digital fence number information.

7. An access system, applied to a server, based on an access method according to any one of claims 1 to 6, characterized in that: Including pre-examination module and business module; The pre-examination module receives a first access request from a client to complete the access of the client to the pre-examination zone, wherein the first access request includes fixed identity information of the client, pre-examination zone certificate information pre-set at the client that can pass the trusted authentication of the pre-examination zone, and real-time identity authentication information of the client sent from the pre-examination zone to the client corresponding to the fixed identity information of the client; The pre-examination module also obtains the business area address information and the business area certificate information that can be used through the business area trusted authentication and is bound to the client's fixed identity information after completing the client's access to the pre-examination area, and sends the business area address information and the business area certificate information to the client; The service module receives a second access request initiated by the client based on the received service zone address information and service zone certificate information to complete the access of the client to the service zone.

8. An electronic device, characterized in that: including a processor and a memory; The processor is connected to the memory; The memory is used to store executable program code; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Identity card cloud authentication system and card reading system

    CN106027466A

  • Terminal security access gateway method, device and system based on quantum communication

    CN110572265A

  • Electronic contract processing method and device based on block chain

    CN111080295A

  • Information management method, system and platform based on mobile internet and biometric authentication

    CN112788027A

  • Method and device for replacing identity certificate in block chain network

    CN113141259A