Authentication method, device, electronic device and computer storage medium in heterogeneous network

By monitoring and localizing cache processing of user registration requests, combined with the encryption and decryption of public key and private key systems, the problem of high authentication complexity and security risks in hybrid cloud and multi-cloud environments is solved, and efficient identity and Certificate authentication improves security.

CN114157491BActive Publication Date: 2024-10-18FUZHOU QIYUAN INFORMATION TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111476642.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-02
Publication Date
2024-10-18
Estimated Expiration
2041-12-02

AI Technical Summary

Technical Problem

In hybrid cloud and multi-cloud deployment environments, the personalized authentication mechanisms of each cloud platform lead to high complexity of identity authentication and a large amount of calculation, which poses high security risks.

Method used

By monitoring and localizing cache processing of user registration requests, identity authentication and certificate authentication are performed sequentially, using public key and private key systems for encryption and decryption, adjusting polling priority and time range, and reducing authentication complexity. and improve security.

Benefits of technology

It reduces the complexity and calculation amount of authentication, improves security, and realizes the legality judgment of registration requests.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114157491B_ABST
    Figure CN114157491B_ABST
Patent Text Reader

Abstract

The present application discloses an authentication method, device and related products in a heterogeneous network. An authentication method in a heterogeneous network monitors user registration requests, and performs localized cache processing on the monitored registration requests to add them to a first message stream; sequentially performs identity authentication on the registration requests in the first message stream to be authenticated in sequence; adds the registration requests that pass the identity authentication to a second message stream to perform certificate authentication; if the registration request passes the authentication of the certificate authentication, the registration request is determined to be legal, and the registration request is determined to be legal, which reduces the complexity of authentication and saves the calculation amount of authentication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of heterogeneous technologies, and in particular to an authentication method, device, electronic device and computer storage medium in a heterogeneous network. Background Art

[0002] With the continuous development of cloud computing technology, various cloud platform products are also constantly enriched. Different cloud service providers have launched their own basic community cloud platform products in the fields of private cloud, public cloud, and community cloud. With more and more choices, more and more cloud computing users are also deploying their own businesses on different cloud platforms, showing the development trend of hybrid cloud and multi-cloud deployment.

[0003] Hybrid cloud and multi-cloud deployment require identity authentication when accessing each other between domains. However, in a multi-cloud deployment, each cloud has a personalized authentication mechanism, which results in a high level of authentication complexity when accessing multiple clouds. As a result, the amount of computation required to implement authentication is very large, and there is also a high security risk. Summary of the invention

[0004] Based on the above problems, the embodiments of the present application provide an authentication method, device, electronic device and computer storage medium in a heterogeneous network.

[0005] The embodiments of the present application disclose the following technical solutions:

[0006] An authentication method in a heterogeneous network, comprising:

[0007] Monitoring the user's registration request, and performing localized cache processing on the monitored registration request to add it to the first message flow;

[0008] Performing identity authentication on the registration requests in the first message flow to be authenticated in sequence;

[0009] Adding the registration request that passes the identity authentication to the second message flow to perform certificate authentication;

[0010] If the registration request passes the certificate authentication, the registration request is determined to be legal.

[0011] Optionally, the monitoring of the user's registration request includes: monitoring the registration request in a target polling area within a set polling time range through a set timing polling interface.

[0012] Optionally, the monitoring of user registration requests includes: counting the registration requests from each target polling area, and assigning a polling priority to each target polling area according to the statistical results to adjust the size of the polling time range, wherein the polling priority is inversely proportional to the polling time range.

[0013] Optionally, before sequentially authenticating the registration requests in the first message stream to be authenticated in sequence, the method further comprises: using a first public key system parameter to perform parallel encryption on the registration requests in the first message stream to be authenticated to obtain the registration requests in ciphertext form;

[0014] The sequentially performing identity authentication on the registration requests in the first message flow to be authenticated includes: using a first private key system parameter to decrypt the registration request in ciphertext form to perform identity authentication.

[0015] An authentication device in a heterogeneous network, comprising:

[0016] A request monitoring unit, configured to monitor a user's registration request and perform localized cache processing on the monitored registration request to add it to the first message flow;

[0017] A first authentication unit, configured to perform identity authentication on the registration requests in the first message flow to be authenticated in sequence;

[0018] A message adding unit, used to add the registration request that passes the identity authentication to the second message flow to perform certificate authentication;

[0019] The second authentication unit is used to

[0020] The legality judgment unit determines that the registration request is legal if the registration request passes the authentication of the certificate authentication.

[0021] Optionally, the request monitoring unit is specifically configured to monitor the registration request in a target polling area within a set polling time range through a set timing polling interface.

[0022] Optionally, the request monitoring unit is specifically used to: count the registration requests from each target polling area, and assign a polling priority to each target polling area according to the statistical result to adjust the size of the polling time range, wherein the polling priority is inversely proportional to the polling time range.

[0023] Optionally, the device further comprises: an encryption unit, configured to, before sequentially performing identity authentication on the registration requests in the first message stream to be authenticated in sequence, use a first public key system parameter to perform parallel encryption on the registration requests in the first message stream to be authenticated to obtain the registration requests in ciphertext form;

[0024] The first authentication unit is specifically used to: use the first private key system parameter to decrypt the registration request in ciphertext form to perform identity authentication.

[0025] An electronic device comprises: a memory and a processor, wherein the memory stores a computer executable program, and the processor is used to execute the computer executable program to implement the method described in any one of the embodiments of the present application.

[0026] A computer storage medium having a computer executable program stored thereon, wherein the computer executable program, when executed, implements the method described in any one of the embodiments of the present application.

[0027] In an embodiment of the present application, the user's registration request is monitored, and the monitored registration request is locally cached and added to the first message flow; the registration requests in the first message flow to be authenticated are authenticated in sequence; the registration request that passes the identity authentication is added to the second message flow for certificate authentication; if the registration request passes the certificate authentication, the registration request is determined to be legal, which reduces the complexity of authentication, saves the calculation amount of authentication, and improves security. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the embodiments of the present application 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 application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0029] Figure 1 A schematic diagram of a flow chart of an authentication method in a heterogeneous network according to an embodiment of the present application;

[0030] Figure 2 This is a schematic diagram of the structure of an authentication device in a heterogeneous network according to an embodiment of the present application;

[0031] Figure 3 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present application;

[0032] Figure 4 This is a schematic diagram of the hardware structure of the electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0033] The implementation of any technical solution of the embodiments of the present application does not necessarily require achieving all of the above advantages at the same time.

[0034] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0035] In an embodiment of the present application, the user's registration request is monitored, and the monitored registration request is locally cached and added to the first message flow; the registration requests in the first message flow to be authenticated are authenticated in sequence; the registration request that passes the identity authentication is added to the second message flow for certificate authentication; if the registration request passes the certificate authentication, the registration request is determined to be legal, which reduces the complexity of authentication, saves the calculation amount of authentication, and improves security.

[0036] In the following embodiments of the present application, the execution entity of the method may be an authentication server, which serves as an intermediate scheduling platform.

[0037] Figure 1 FIG. 1 is a flow chart of an authentication method in a heterogeneous network according to an embodiment of the present application; Figure 1 As shown, it includes:

[0038] S101, monitoring a user's registration request, and performing localized cache processing on the monitored registration request to add it to a first message flow;

[0039] Optionally, the monitoring of the user's registration request includes: monitoring the registration request in a target polling area within a set polling time range through a set timing polling interface, thereby saving resources of the authentication server and improving data processing efficiency.

[0040] Optionally, the monitoring of the user's registration request includes: counting the registration requests from each target polling area, and assigning a polling priority to each target polling area according to the statistical results to adjust the size of the polling time range, wherein the polling priority is inversely proportional to the polling time range, which is equivalent to personalized processing of the registration request, and flexible adjustment of the polling time and target polling area, thereby improving the generalization performance of the polling. For example, if the total number of registration requests is small, or the frequency of initiation is small (specifically determined by setting a threshold), the polling priority of the target polling area can be lowered, otherwise, it can be increased.

[0041] In this embodiment, the target polling area may be a data domain or a collection of multiple data domains.

[0042] Optionally, the localized caching of the monitored registration request to add it to the first message flow includes: creating a registration request list to add the monitored registration request to the registration request list in real time.

[0043] In this embodiment, a registration request list is created to facilitate real-time management of the monitored registration requests and improve data processing efficiency.

[0044] Specifically, in this embodiment, in the registration request list, the registration requests can be managed based on the ID of the data domain, and all registration requests from the same data domain are listed in the registration request list in the order of timestamps.

[0045] Specifically, in this embodiment, multiple pages may be created in the registration request list, each page corresponding to a data domain, so that all registration requests of the same data domain are stored in the same page.

[0046] Optionally, in other embodiments, the monitored registration requests may be managed in the form of key-value pairs, for example, the ID of the data field that generates the registration request is used as the key, and all the registration requests generated in the data field are used as the value. Through this key-value pair approach, the management of registration requests can be quickly implemented, and storage resources can be saved. When the registration request is to be used later, it can be directly obtained from the key-value pair, thereby improving the efficiency of data processing.

[0047] In this embodiment, the monitored registration request is locally cached to be added to the first message flow, including: synchronizing the monitored registration request to the local cache queue in real time, and allocating a first group identifier in the local cache array according to the polling priority to add it to the first message flow.

[0048] In this embodiment, the security of the registration request is actually guaranteed by the localized cache queue, and the original registration request is stored in the registration request list. Even if the registration request in the localized cache queue is tampered with, the registration request in the registration request list will not be tampered with, and can be synchronized to the localized cache queue in real time.

[0049] S102, performing identity authentication on the registration requests in the first message flow to be authenticated in sequence;

[0050] Optionally, before sequentially authenticating the registration requests in the first message stream to be authenticated in sequence, the method further comprises: using a first public key system parameter to perform parallel encryption on the registration requests in the first message stream to be authenticated to obtain the registration requests in ciphertext form;

[0051] The sequentially performing identity authentication on the registration requests in the first message flow to be authenticated includes: using a first private key system parameter to decrypt the registration request in ciphertext form to perform identity authentication.

[0052] In this embodiment, the security of the registration request is guaranteed through the above encryption.

[0053] In this embodiment, the first public key system parameter and the first private key system parameter are generated by the first authenticator according to a preset hyperbolic algorithm. The first public key system parameter is equivalent to realizing the identity signature of the registration request, and the first private key system parameter is equivalent to realizing the identity authentication of the registration request.

[0054] S103, adding the registration request that passes the identity authentication to the second message flow to perform certificate authentication;

[0055] Optionally, the adding the registration request that passes the identity authentication to the second message flow to perform certificate authentication includes:

[0056] In response to the registration request passing the identity authentication, the registration request that passes the identity authentication is assigned a second group identifier according to the polling priority, so as to be added to the second message flow for certificate authentication.

[0057] Optionally, before the certificate authentication is performed, the method includes: using a second public key system parameter to perform parallel encryption on the registration request in the second message flow to obtain the registration request in ciphertext form;

[0058] The performing of certificate authentication includes: using a second private key system parameter to decrypt the registration request in ciphertext form to perform certificate authentication.

[0059] S104: If the registration request passes the certificate authentication, the registration request is determined to be legal.

[0060] In this embodiment, the above identity authentication is a localized authentication process. The registration request that passes the local authentication process also needs to pass the certificate authentication of the external domain. Only after passing the certificate authentication process can the corresponding registration request be determined to be legal. Specifically, the localized authentication process is performed by the local authentication server, and the certificate authentication of the external domain is performed by the external domain authentication server.

[0061] Furthermore, after determining that the registration request is legal, a response can be made to the registration request. For example, if the local data of the registration request is to be accessed, a session key is established with the target address, the data to be accessed is encrypted using the session key, and returned to the user through a data security channel.

[0062] Figure 2 Schematic diagram of the structure of an authentication device in a heterogeneous network according to an embodiment of the present application; Figure 2 As shown, it includes:

[0063] The request monitoring unit 201 is used to monitor the user's registration request and perform localized cache processing on the monitored registration request to add it to the first message flow;

[0064] The identity authentication unit 202 is used to perform identity authentication on the registration requests in the first message flow to be authenticated in sequence;

[0065] The certificate authentication unit 203 is used to add the registration request that passes the identity authentication to the second message flow to perform certificate authentication;

[0066] The legality judgment unit 204 judges that the registration request is legal if the registration request passes the authentication of the certificate authentication.

[0067] The first authentication unit 202 is used to monitor the registration request in the target polling area within a set polling time range through a set timing polling interface.

[0068] The first authentication unit 202 is used to: count the registration requests from each target polling area, and assign a polling priority to each target polling area according to the statistical result to adjust the size of the polling time range, wherein the polling priority is in inverse proportion to the polling time range.

[0069] Optionally, the device further comprises a list creation unit, configured to create a registration request list before performing localized cache processing on the monitored registration request to add the monitored registration request to the registration request list in real time.

[0070] Optionally, the request monitoring unit 201 is specifically configured to: synchronize the monitored registration request to a localized cache queue in real time, and allocate a first grouping identifier in the local cache array according to the polling priority to add the first grouping identifier to the first message flow.

[0071] The device also includes a first encryption unit, which is used to, before sequentially authenticating the registration requests in the first message stream to be authenticated, include: using a first public key system parameter to parallelize and encrypt the registration requests in the first message stream to be authenticated to obtain the registration requests in ciphertext form.

[0072] Optionally, the identity authentication unit 202 is specifically used to: use the first private key system parameter to decrypt the registration request in ciphertext form to perform identity authentication.

[0073] Optionally, the certificate authentication unit 203 is specifically configured to: in response to the registration request passing identity authentication, assign a second grouping identifier to the registration request that passes identity authentication according to the polling priority, so as to add the second message flow to perform certificate authentication.

[0074] The device also includes a second encryption unit, which is used for, before performing certificate authentication, including: using a second public key system parameter to perform parallel encryption on the registration request in the second message stream to obtain the registration request in ciphertext form.

[0075] Optionally, the certificate authentication unit 203 is specifically configured to: use a second private key system parameter to decrypt the registration request in ciphertext form to perform certificate authentication.

[0076] The embodiment of the present application further provides a computer storage medium, on which a computer executable program is stored, and when the computer executable program is executed, the method described in any one of the embodiments of the present application is implemented.

[0077] Figure 3 Schematic diagram of the electronic device structure of the present application embodiment; Figure 3 As shown, it includes: a memory 301 and a processor 302, the memory stores a computer executable program, and the processor is used to execute the computer executable program to implement the method described in any embodiment of the present application.

[0078] Figure 4 Schematic diagram of the hardware structure of the electronic device of the present application embodiment; Figure 4 As shown, the hardware structure of the electronic device may include: a processor 401, a communication interface 402, a computer readable medium 403 and a communication bus 404;

[0079] The processor 401, the communication interface 402, and the computer-readable medium 403 communicate with each other via a communication bus 404;

[0080] Optionally, the communication interface 402 may be an interface of a communication module, such as an interface of a GSM module;

[0081] The processor 401 may be specifically configured to run an executable program stored in the memory, thereby executing all or part of the processing steps of any of the above method embodiments.

[0082] The processor 401 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0083] The electronic devices of the embodiments of the present application exist in various forms, including but not limited to:

[0084] (1) Mobile communication devices: These devices are characterized by their mobile communication functions and their main purpose is to provide voice and data communications. These terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.

[0085] (2) Ultra-mobile personal computer devices: These devices fall into the category of personal computers, have computing and processing capabilities, and generally also have mobile Internet access features. These terminals include: PDA, MID and UMPC devices, such as iPad.

[0086] (3) Portable entertainment devices: These devices can display and play multimedia content. They include audio and video players (such as iPods), handheld game consoles, e-books, as well as smart toys and portable car navigation devices.

[0087] (4) Server: A device that provides computing services. The server consists of a processor 710, a hard disk, memory, a system bus, etc. The server is similar to a general computer architecture, but because it needs to provide highly reliable services, it has higher requirements in terms of processing power, stability, reliability, security, scalability, and manageability.

[0088] (5) Other electronic devices with data interaction functions.

[0089] It should be pointed out that, according to the needs of implementation, the various components / steps described in the embodiments of the present application can be split into more components / steps, or two or more components / steps or partial operations of components / steps can be combined into new components / steps to achieve the purpose of the embodiments of the present application.

[0090] The above-mentioned method according to the embodiment of the present application can be implemented in hardware, firmware, or implemented as software or computer code that can be stored in a recording medium (such as a CD ROM, RAM, floppy disk, hard disk or magneto-optical disk), or implemented as a computer code originally stored in a remote recording medium or a non-temporary machine-readable medium downloaded through a network and stored in a local recording medium, so that the method described herein can be stored in such software processing on a recording medium using a general-purpose computer, a special-purpose processor or programmable or special-purpose hardware (such as an ASIC or FPGA). It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component (e.g., RAM, ROM, flash memory, etc.) that can store or receive software or computer code, and when the software or computer code is accessed and executed by a computer, a processor or hardware, the verification code generation method described herein is implemented. In addition, when a general-purpose computer accesses a code for implementing the verification code generation method shown here, the execution of the code converts the general-purpose computer into a special-purpose computer for executing the verification code generation method shown here.

[0091] Those of ordinary skill in the art will appreciate that the units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present application.

[0092] The above implementation methods are only used to illustrate the embodiments of the present application, and are not limitations on the embodiments of the present application. Ordinary technicians in the relevant technical field can make various changes and modifications without departing from the spirit and scope of the embodiments of the present application. Therefore, all equivalent technical solutions also belong to the scope of the embodiments of the present application. The scope of patent protection of the embodiments of the present application should be limited by the claims.

Claims

1. An authentication method in a heterogeneous network, characterized in that: include: Monitoring the user's registration request, and performing localized cache processing on the monitored registration request to add it to the first message flow; The localized caching of the monitored registration request to be added to the first message flow includes: creating a registration request list to add the monitored registration request to the registration request list in real time; in the registration request list, managing the registration request based on the ID of the data domain, adding all registration requests from the same data domain to the registration request list in sequence according to the order of timestamps, creating multiple pages in the registration request list, each page corresponding to a data domain, so that all registration requests for the same data domain are stored in the same page; Performing identity authentication on the registration requests in the first message flow in sequence; Adding the registration request that passes the identity authentication to the second message flow to perform certificate authentication; If the registration request passes the authentication of the certificate authentication, then the registration request is determined to be legal; The identity authentication is a localized authentication process. The registration request that passes the local authentication process also needs to pass the external domain certificate authentication. The localized authentication process is performed by a local authentication server, and the external domain certificate authentication is performed by an external domain authentication server.

2. The method according to claim 1, characterized in that: The monitoring of the user's registration request includes: monitoring the registration request in the target polling area within a set polling time range through a set timing polling interface.

3. The method according to claim 1, characterized in that Before the identity authentication is performed on the registration requests in the first message stream in sequence, the method includes: using the first public key system parameter to perform parallel encryption on the registration requests in the first message stream to obtain the registration requests in ciphertext form; The sequentially performing identity authentication on the registration requests in the first message flow in sequence includes: using a first private key system parameter to decrypt the registration request in ciphertext form to perform identity authentication.

4. An authentication device in a heterogeneous network, characterized in that: include: A request monitoring unit, configured to monitor a user's registration request and perform localized cache processing on the monitored registration request to add it to the first message flow; A list creation unit, configured to create a registration request list before performing localized cache processing on the monitored registration request to add the monitored registration request to the registration request list in real time; In the registration request list, the registration requests are managed based on the ID of the data domain, and all the registration requests from the same data domain are added to the registration request list in the order of the timestamps. Multiple pages are created in the registration request list, and each page corresponds to a data domain, so that all the registration requests from the same data domain are stored in the same page; An identity authentication unit, configured to locally authenticate the registration requests in the first message flow in sequence; A certificate authentication unit, configured to add the registration request that passes the identity authentication to the second message flow for external domain authentication; The legality judgment unit determines that the registration request is legal if the registration request passes the authentication of the certificate authentication.

5. The device according to claim 4, characterized in that The request monitoring unit is specifically used to monitor the registration request in the target polling area within a set polling time range through a set timing polling interface.

6. The device according to claim 5, characterized in that The device further includes: a first encryption unit, configured to perform parallel encryption on the registration requests in the first message stream using a first public key system parameter to obtain the registration requests in ciphertext form before performing identity authentication on the registration requests in the first message stream in sequence; The identity authentication unit is specifically used to: use the first private key system parameter to decrypt the registration request in ciphertext form to perform identity authentication.

7. An electronic device, characterized in that: include: A memory and a processor, wherein the memory stores a computer executable program, and the processor is used to execute the computer executable program to implement the method according to any one of claims 1 to 3.

8. A computer storage medium, characterized in that: The computer storage medium stores a computer executable program, and the computer executable program implements the method according to any one of claims 1 to 3 when executed.

Citation Information

Patent Citations

  • Request message management method and device, and storage medium

    CN108200134A

  • Anti-traceability anonymous communication network access method, system and device

    CN112468517A