Identity authentication method and device, computer equipment, storage medium and program product

By leading the requesting end to initiate identity verification requests through the verification end, and using the identity registration request and allow connection request mechanisms, the problem of network bandwidth occupation caused by the reporting of identity information by smart gateways in the Internet of Things system is solved, and the identity verification efficiency is improved.

CN118740467APending Publication Date: 2024-10-01SHENZHEN COMTOP INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410905507.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-08
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In IoT systems, smart gateways consume serious network bandwidth when reporting identity information, reducing identity verification efficiency.

Method used

The verification end leads the requesting end to initiate identity verification requests, and uses the identity registration request and allow connection request mechanism within a preset range to avoid a large number of requesting ends from sending identity verification requests at the same time and optimize network bandwidth usage.

Benefits of technology

It improves the efficiency of authentication, avoids the problem of excessive network bandwidth usage, and ensures the responsiveness of authentication requests.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740467A_ABST
    Figure CN118740467A_ABST
Patent Text Reader

Abstract

The invention relates to an identity verification method and device, computer equipment, a storage medium and a program product. The method is applied to a verification end, and comprises the following steps: sending an identity registration request to a candidate request end to be subjected to identity authentication in a preset range; after receiving a connection request sent by a target request end in the candidate request ends in response to the identity registration request, sending a connection permission request to the target request end; receiving an identity verification request sent by the target request end based on the connection permission request, and performing identity verification on the target request end based on the identity verification request; wherein the identity verification request comprises identity information of the target request end. According to the scheme, the verification end dominates the request end to initiate the identity verification request, so that the problem that a large number of request ends simultaneously send the identity verification requests to the verification end to cause serious network bandwidth occupation can be avoided, and the identity verification efficiency is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information security technology, and in particular to an identity authentication method, apparatus, computer equipment, storage medium and program product. Background Art

[0002] The Internet of Things (IoT) is a network based on information carriers such as the Internet and traditional telecommunications networks, which allows all common physical objects that can be independently addressed to be interconnected. The IoT system connects any object to the Internet through information sensing devices such as radio frequency identification (RFID), infrared sensors, global positioning systems, etc., according to agreed protocols, to achieve information exchange and communication.

[0003] In traditional technologies, before a device is connected to the Internet of Things, it is usually necessary for the smart gateway to report the identity information of the device to be connected to the upper system or server to authenticate the access terminal. Smart gateways usually use single packet authorization (SPA) to report identity information. When a large number of smart gateways report identity information at the same time, it will cause serious network bandwidth occupation, thereby reducing the efficiency of identity authentication. Summary of the invention

[0004] Based on this, it is necessary to provide an identity authentication method, device, computer equipment, storage medium and program product to improve the efficiency of identity authentication in response to the above technical problems.

[0005] In a first aspect, the present application provides an identity authentication method, which is applied to a verification end and includes:

[0006] Send an identity registration request to a candidate requester to be authenticated within a preset range;

[0007] After receiving the connection request sent by the target request end among the candidate request ends in response to the identity registration request, sending a connection permission request to the target request end;

[0008] Receive an identity authentication request sent by the target request end based on the connection permission request, and authenticate the target request end based on the identity authentication request; wherein the identity authentication request includes identity information of the target request end.

[0009] In one embodiment, sending a connection permission request to the target request end includes:

[0010] When it is determined that the current available bandwidth meets the response condition, a connection permission request is sent to the target request end.

[0011] In one embodiment, determining that the current available bandwidth satisfies the response condition includes:

[0012] Obtain the total number of sessions and the maximum available bandwidth corresponding to the verification end;

[0013] Determining the current available bandwidth according to the total number of sessions and the maximum available bandwidth;

[0014] In a case where the current available bandwidth is greater than a preset threshold, it is determined that the current available bandwidth meets a response condition.

[0015] In one embodiment, the connection request at least includes a request port and a request time corresponding to the target request end, and sending the connection permission request to the target request end includes:

[0016] Determine the priority corresponding to the request port;

[0017] Sending a connection permission request to the target request end according to the priority and request time of the request port.

[0018] In one of the embodiments, when there are multiple target requesting ends, sending a connection permission request to the target requesting end includes:

[0019] According to the historical verification results of each target request end in the historical period, a marked request end is selected from the target request end; wherein the historical verification result of the marked request end is that the number of times of failure exceeds a preset number;

[0020] Sending a connection permission request to the remaining target requesting ends except the marked requesting end;

[0021] A connection permission request is sent to the tag requesting end after a preset delay period.

[0022] In one embodiment, sending an identity registration request to a candidate requesting end to be authenticated within a preset range includes:

[0023] The identity registration request is sent to the candidate requesting ends to be authenticated within a preset range by broadcast or multicast.

[0024] In a second aspect, the present application further provides an identity authentication device, which is configured at a verification end and includes:

[0025] A sending module, used to send an identity registration request to a candidate request end to be authenticated within a preset range;

[0026] A receiving module, configured to send a connection permission request to the target request end after receiving a connection request sent by a target request end among the candidate request ends in response to the identity registration request;

[0027] A verification module is used to receive an identity authentication request sent by the target request end based on the connection permission request, and authenticate the target request end based on the identity authentication request; wherein the identity authentication request includes the identity information of the target request end.

[0028] In a third aspect, the present application further provides a computer device, the computer device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the following steps when executing the computer program:

[0029] Send an identity registration request to a candidate requester to be authenticated within a preset range;

[0030] After receiving the connection request sent by the target request end among the candidate request ends in response to the identity registration request, sending a connection permission request to the target request end;

[0031] Receive an identity authentication request sent by the target request end based on the connection permission request, and authenticate the target request end based on the identity authentication request; wherein the identity authentication request includes identity information of the target request end.

[0032] In a fourth aspect, the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0033] Send an identity registration request to a candidate requester to be authenticated within a preset range;

[0034] After receiving the connection request sent by the target request end among the candidate request ends in response to the identity registration request, sending a connection permission request to the target request end;

[0035] Receive an identity authentication request sent by the target request end based on the connection permission request, and authenticate the target request end based on the identity authentication request; wherein the identity authentication request includes identity information of the target request end.

[0036] In a fifth aspect, the present application further provides a computer program product, the computer program product comprising a computer program, which implements the following steps when executed by a processor:

[0037] Send an identity registration request to a candidate requester to be authenticated within a preset range;

[0038] After receiving the connection request sent by the target request end among the candidate request ends in response to the identity registration request, sending a connection permission request to the target request end;

[0039] Receive an identity authentication request sent by the target request end based on the connection permission request, and authenticate the target request end based on the identity authentication request; wherein the identity authentication request includes identity information of the target request end.

[0040] The above-mentioned identity authentication method, device, computer equipment, storage medium and program product, the method is applied to the verification end, and the method includes: sending an identity registration request to the candidate request end to be authenticated within a preset range; after receiving the connection request sent by the target request end in the candidate request end in response to the identity registration request, sending a connection permission request to the target request end; receiving the identity authentication request sent by the target request end based on the connection permission request, and authenticating the target request end based on the identity authentication request; wherein the identity authentication request includes the identity information of the target request end. In the above scheme, the verification end leads the request end to initiate the identity authentication request, which can avoid the problem of a large number of request ends sending identity authentication requests to the verification end at the same time, resulting in serious network bandwidth occupation, thereby improving the identity authentication efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 A diagram of an application environment of an identity authentication method in an embodiment;

[0042] Figure 2 A schematic diagram of a process flow of an identity authentication method in an embodiment;

[0043] Figure 3 A schematic diagram of a process for determining whether a response condition is met in one embodiment;

[0044] Figure 4 A schematic diagram of a flow chart of sending a connection permission request to a target request end in one embodiment;

[0045] Figure 5 A schematic diagram of a flow chart of sending a connection permission request to a target request end in another embodiment;

[0046] Figure 6 A schematic diagram of a flow chart of an identity authentication method in another embodiment;

[0047] Figure 7 is a structural block diagram of an identity verification device in an embodiment;

[0048] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0050] The identity authentication method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. For example, it is applied to the scenario of authenticating the request end connected to the Internet of Things. Among them, the request end 102 communicates with the verification end 104 through the network. The data storage system can store the data that the verification end 104 needs to process. The data storage system can be integrated on the verification end 104, or it can be placed on the cloud or other network servers.

[0051] The requesting end 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The verifying end 104 may be implemented using an independent server or a server cluster consisting of multiple servers.

[0052] In one embodiment, Figure 2 As shown, an authentication method is provided, which is applied to Figure 1 The verification end in the example is used to illustrate, including the following steps:

[0053] S201, sending an identity registration request to a candidate request end to be authenticated within a preset range.

[0054] Exemplarily, the preset range can be understood as the coverage range of the network that the candidate requesting end wants to access. For example, if the verification end is used to authenticate the identity of the candidate requesting end to be connected to the Internet of Things, the preset range can be understood as the range that the Internet of Things can cover. The candidate requesting end can be understood as a device to be connected within the preset range. The verification end can actively send an identity registration request to the candidate requesting end to be authenticated within the preset range, wherein the identity registration request is used to prompt the candidate requesting end to register its identity.

[0055] Exemplarily, the identity registration request may be sent to candidate requesting ends to be authenticated within a preset range by broadcast or multicast.

[0056] S202: After receiving a connection request sent by a target request end among candidate request ends in response to an identity registration request, a connection permission request is sent to the target request end.

[0057] Exemplarily, the target requesting end can be understood as the requesting end that responds to the identity registration request among the candidate requesting ends. The target requesting end responds to the identity registration request and sends a connection request to the verification end. After receiving the connection request, the verification end can send a connection permission request to the target requesting end; wherein the connection permission request is used to instruct the requesting end to send identity authentication information.

[0058] S203, receiving an identity authentication request sent by the target request end based on the connection permission request, and authenticating the target request end based on the identity authentication request.

[0059] Exemplarily, after receiving the connection permission request sent by the verification end, the target request end sends an identity authentication request to the verification end, and the identity authentication request includes the identity information of the request end, such as the Internet Protocol (IP), Media Access Control (MAC) and Operating System (OS) of the request end. The verification end receives the identity authentication request sent by the target request end based on the connection permission request, and authenticates the target request end based on the identity authentication request. For example, when making an identity authentication request, the target request end uses a shared key and a random number to calculate the SPA key through a preset algorithm. The SPA key, target request end identifier, random number, timestamp (including date, hour, minute, etc.), target request end IP, port and other information are packaged together into a User Datagram Protocol (UDP) data packet and sent to the port specified by the verification end.

[0060] Exemplarily, the authentication request may be transmitted via UDP or Transmission Control Protocol (TCP).

[0061] After receiving the authentication request, the verification end first parses out the timestamp, target request end IP, port and other information. Then the verification end calculates the SPA key through the same algorithm based on this information and the service password stored internally by the verification end (usually a pre-shared key). Furthermore, the verification end compares the calculated SPA key with the SPA key (usually in the form of a hash value) in the received authentication request. If the two SPA keys match, it means that the target request end has passed the authentication, and the verification end will allow the target request end to access the requested service port. If the SPA keys do not match, the verification end will not perform any operation, and may directly discard the authentication request, or return a response message indicating that the authentication failed.

[0062] The above-mentioned identity authentication method is applied to the verification end, and the method includes: sending an identity registration request to the candidate request end to be authenticated within a preset range; after receiving the connection request sent by the target request end in the candidate request end in response to the identity registration request, sending a connection permission request to the target request end; receiving the identity authentication request sent by the target request end based on the connection permission request, and authenticating the target request end based on the identity authentication request; wherein the identity authentication request includes the identity information of the target request end. In the above-mentioned scheme, the verification end leads the request end to initiate the identity authentication request, which can avoid the problem of a large number of request ends sending identity authentication requests to the verification end at the same time, resulting in serious network bandwidth occupation, thereby improving the identity authentication efficiency.

[0063] In some optional implementations, in order to further avoid the problem of serious network bandwidth occupation, the verification end may determine in advance whether the current available bandwidth meets the response condition before sending the connection permission request to the target request end, wherein the response condition is used to indicate that the current available bandwidth is sufficient and can be used to access the identity authentication request sent by the target request end. Thus, if it is determined that the current available bandwidth meets the response condition, the connection permission request may be sent to the target request end, so that the target request end can send the identity authentication request to the verification end.

[0064] In an embodiment of the present application, the verification end will send a connection permission request to the target request end only when it determines that the response conditions are met. In this way, it can be ensured that all identity authentication requests received from the target request end can be responded to, avoiding the problem of serious network bandwidth occupation of the scheduling network, thereby improving identity authentication efficiency.

[0065] In some optional implementations, see Figure 3 , Figure 3 A flow chart of determining whether a response condition is met is provided, which specifically includes the following steps:

[0066] S301, obtaining the total number of sessions and the maximum available bandwidth corresponding to the verification end.

[0067] Exemplarily, the maximum available bandwidth of the verification terminal is fixed, and the maximum available bandwidth of the verification terminal can be determined according to the attribute data of the verification terminal; the total number of sessions of the verification terminal can be determined according to the operation data of the verification terminal.

[0068] S302: Determine the current available bandwidth according to the total number of sessions and the maximum available bandwidth.

[0069] Exemplarily, different numbers of sessions consume different bandwidths, so the currently consumed bandwidth can be determined according to the total number of sessions currently on the verification end, and the current available bandwidth can be further determined according to the difference between the maximum available bandwidth and the currently consumed bandwidth.

[0070] S303: When the current available bandwidth is greater than a preset threshold, determine that the current available bandwidth meets a response condition.

[0071] Exemplarily, a preset threshold may be set according to actual usage, and when the current available bandwidth is greater than the preset threshold, it is considered that the current available bandwidth meets the response condition.

[0072] In an embodiment of the present application, a method for determining whether the current available bandwidth meets the response conditions is provided, which can ensure that all identity authentication requests received from the target request end can be responded to, avoid the problem of serious bandwidth occupation of the scheduling network, and thus improve the identity authentication efficiency.

[0073] In some optional implementations, the connection request may include at least a request port and a request time corresponding to the target request end, and the request port may be understood as a port corresponding to the target request end.

[0074] Based on this, see Figure 4 , Figure 4 A flowchart of sending a connection permission request to a target requester is provided, which specifically includes the following steps:

[0075] S401, determining the priority corresponding to the request port.

[0076] Exemplarily, the priority corresponding to the request port may be determined according to the type and attribute information of the request port, that is, the priority corresponding to the target request port may be determined.

[0077] S402, sending a connection permission request to the target request end according to the priority of the request port and the request time.

[0078] Further, the connection permission request can be sent to the target request end with a higher priority according to the priority of the request port. If the priority of the request ports is the same, the connection permission request can be sent to the target request end according to the order of request time.

[0079] In an embodiment of the present application, a connection permission request can be sent to a target request port with a high priority according to the priority corresponding to the target request port, so that identity authentication can be performed on the target request port with a high priority level, thereby giving priority to processing of more important services.

[0080] In some optional implementations, when there are multiple target request ports, see Figure 5 , Figure 5 Another flow chart of sending a connection permission request to a target requester is provided, which specifically includes the following steps:

[0081] S501, selecting a marked requester from the target requesters according to the historical verification results of each target requester in a historical period.

[0082] Exemplarily, a marked request end may be first screened out from a plurality of target request ports, wherein the historical verification result of the marked request end is that the number of times of failure exceeds a preset number; the historical verification result may be a verification result corresponding to a preset historical period, for example, a historical period of one week or one month; the preset number may be set according to actual conditions. If the historical verification result of the marked request end is that the number of times of failure exceeds a preset number, it is considered that the reliability of the target request end is not high, and thus these target request ends are used as marked request ends.

[0083] S502: Send a connection permission request to the remaining target requesting ends except the marked requesting end.

[0084] For example, in order to allow bandwidth resources to be used preferentially by target request terminals with higher reliability, a connection permission request may be first sent to the remaining target request terminals except the marked request terminal.

[0085] S503: Send a connection permission request to the tag requesting end after a preset delay period.

[0086] Exemplarily, the preset delay period can be set according to actual conditions, for example, it can be dynamically set according to the current available bandwidth, or it can be set in advance. Sending a connection permission request to the tag request end after the preset delay period can avoid the tag request end from competing with other target request ends for network bandwidth resources.

[0087] In the embodiment of the present application, a marker request end with low reliability is screened out, and a connection permission request is sent to the marker request end after a preset delay period. This can prevent the marker request end from competing with other target request ends for network bandwidth resources, so that the target request end with higher reliability has priority in enjoying network bandwidth resources.

[0088] In some optional implementations, see Figure 6 , Figure 6 A flowchart of another authentication method is provided, which includes the following steps:

[0089] S601, sending an identity registration request to candidate requesting ends to be authenticated within a preset range by broadcast or multicast.

[0090] S602: After receiving a connection request sent by a target request end among candidate request ends in response to an identity registration request, the total number of sessions and the maximum available bandwidth corresponding to the verification end are obtained.

[0091] S603: Determine the current available bandwidth according to the total number of sessions and the maximum available bandwidth.

[0092] S604, determine whether the current available bandwidth is greater than a preset threshold, if so, execute S605, if not, continue to execute S602.

[0093] S605: Select a marked requester from the target requesters according to the historical verification results of each target requester in the historical period.

[0094] S606, determining the priorities corresponding to the remaining target request ports excluding the marked request port.

[0095] S607: Send a connection permission request to the remaining target requesting ends except the marked requesting end according to the priority of the requesting port and the requesting time.

[0096] S608: Send a connection permission request to the tag requesting end after a preset delay period.

[0097] The specific process of S601 to S608 can refer to the description of the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0098] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0099] Based on the same inventive concept, the embodiment of the present application also provides an identity authentication device for implementing the identity authentication method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more identity authentication device embodiments provided below can refer to the limitations on the identity authentication method above, and will not be repeated here.

[0100] In one embodiment, Figure 7 As shown, an identity authentication device is provided, which is configured at a verification end and includes:

[0101] A sending module 10, configured to send an identity registration request to a candidate request end to be authenticated within a preset range;

[0102] A receiving module 20 is configured to send a connection permission request to the target request end after receiving a connection request sent by the target request end among the candidate request ends in response to the identity registration request;

[0103] The verification module 30 is used to receive an identity authentication request sent by the target request end based on the connection permission request, and authenticate the target request end based on the identity authentication request; wherein the identity authentication request includes the identity information of the target request end.

[0104] The above-mentioned identity authentication device, the method is applied to the verification end, and the method includes: sending an identity registration request to the candidate request end to be authenticated within a preset range; after receiving the connection request sent by the target request end in the candidate request end in response to the identity registration request, sending a connection permission request to the target request end; receiving the identity authentication request sent by the target request end based on the connection permission request, and authenticating the target request end based on the identity authentication request; wherein the identity authentication request includes the identity information of the target request end. In the above scheme, the verification end leads the request end to initiate the identity authentication request, which can avoid the problem of a large number of request ends sending identity authentication requests to the verification end at the same time, resulting in serious network bandwidth occupation, thereby improving the identity authentication efficiency.

[0105] In one embodiment, the receiving module 20 is specifically used for:

[0106] When it is determined that the current available bandwidth meets the response condition, a connection permission request is sent to the target request end.

[0107] In one embodiment, the receiving module 20 specifically includes:

[0108] An acquisition unit, used to acquire the total number of sessions and the maximum available bandwidth corresponding to the verification end;

[0109] A first determining unit, configured to determine a current available bandwidth according to the total number of sessions and the maximum available bandwidth;

[0110] The second determining unit is configured to determine, when the current available bandwidth is greater than a preset threshold, that the current available bandwidth satisfies a response condition.

[0111] In one embodiment, the connection request at least includes a request port and a request time corresponding to the target request end, and the receiving module 20 is specifically used to:

[0112] Determine the priority corresponding to the request port; and send a connection permission request to the target request end according to the priority and request time of the request port.

[0113] In one embodiment, when there are multiple target requesting ends, the receiving module 20 is specifically used for:

[0114] According to the historical verification results of each target request end within the historical time period, a marked request end is selected from the target request ends; wherein the historical verification result of the marked request end is that the number of failures exceeds a preset number; a connection permission request is sent to the remaining target request ends except the marked request end; and a connection permission request is sent to the marked request end after a preset delay period.

[0115] In one embodiment, the sending module 10 is specifically used for:

[0116] The identity registration request is sent to the candidate requesting ends to be authenticated within a preset range by broadcast or multicast.

[0117] Each module in the above identity authentication device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.

[0118] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 8 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store identity authentication data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an identity authentication method is implemented.

[0119] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0120] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0121] Send an identity registration request to a candidate requester to be authenticated within a preset range;

[0122] After receiving the connection request sent by the target request end in the candidate request end in response to the identity registration request, sending a connection permission request to the target request end;

[0123] An identity authentication request is received from the target request end based on the connection permission request, and the target request end is authenticated based on the identity authentication request; wherein the identity authentication request includes identity information of the target request end.

[0124] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0125] When it is determined that the current available bandwidth meets the response condition, a connection permission request is sent to the target request end.

[0126] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0127] The total number of sessions and the maximum available bandwidth corresponding to the verification end are obtained; the current available bandwidth is determined according to the total number of sessions and the maximum available bandwidth; when the current available bandwidth is greater than a preset threshold, it is determined that the current available bandwidth meets the response condition.

[0128] In one embodiment, the connection request includes at least a request port and a request time corresponding to the target request end, and the processor further implements the following steps when executing the computer program:

[0129] Determine the priority corresponding to the request port; send a connection permission request to the target request end according to the priority of the request port and the request time.

[0130] In one embodiment, when there are multiple target requesting ends, the processor further implements the following steps when executing the computer program:

[0131] According to the historical verification results of each target request end within the historical period, a marked request end is selected from the target request ends; wherein the historical verification result of the marked request end is that the number of failures exceeds a preset number; a connection permission request is sent to the remaining target request ends except the marked request end; and a connection permission request is sent to the marked request end after a preset delay period.

[0132] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0133] The identity registration request is sent to the candidate requesting ends to be authenticated within a preset range by broadcast or multicast.

[0134] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0135] Send an identity registration request to a candidate requester to be authenticated within a preset range;

[0136] After receiving the connection request sent by the target request end in the candidate request end in response to the identity registration request, sending a connection permission request to the target request end;

[0137] An identity authentication request is received from the target request end based on the connection permission request, and the target request end is authenticated based on the identity authentication request; wherein the identity authentication request includes identity information of the target request end.

[0138] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0139] When it is determined that the current available bandwidth meets the response condition, a connection permission request is sent to the target request end.

[0140] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0141] The total number of sessions and the maximum available bandwidth corresponding to the verification end are obtained; the current available bandwidth is determined according to the total number of sessions and the maximum available bandwidth; when the current available bandwidth is greater than a preset threshold, it is determined that the current available bandwidth meets the response condition.

[0142] In one embodiment, the connection request includes at least a request port and a request time corresponding to the target request end, and the computer program further implements the following steps when executed by the processor:

[0143] Determine the priority corresponding to the request port; send a connection permission request to the target request end according to the priority of the request port and the request time.

[0144] In one embodiment, when there are multiple target requesting ends, the computer program further implements the following steps when executed by the processor:

[0145] According to the historical verification results of each target request end within the historical period, a marked request end is selected from the target request ends; wherein the historical verification result of the marked request end is that the number of failures exceeds a preset number; a connection permission request is sent to the remaining target request ends except the marked request end; and a connection permission request is sent to the marked request end after a preset delay period.

[0146] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0147] The identity registration request is sent to the candidate requesting ends to be authenticated within a preset range by broadcast or multicast.

[0148] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0149] Send an identity registration request to a candidate requester to be authenticated within a preset range;

[0150] After receiving the connection request sent by the target request end in the candidate request end in response to the identity registration request, sending a connection permission request to the target request end;

[0151] An identity authentication request is received from the target request end based on the connection permission request, and the target request end is authenticated based on the identity authentication request; wherein the identity authentication request includes identity information of the target request end.

[0152] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0153] When it is determined that the current available bandwidth meets the response condition, a connection permission request is sent to the target request end.

[0154] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0155] The total number of sessions and the maximum available bandwidth corresponding to the verification end are obtained; the current available bandwidth is determined according to the total number of sessions and the maximum available bandwidth; when the current available bandwidth is greater than a preset threshold, it is determined that the current available bandwidth meets the response condition.

[0156] In one embodiment, the connection request includes at least a request port and a request time corresponding to the target request end, and the computer program further implements the following steps when executed by the processor:

[0157] Determine the priority corresponding to the request port; send a connection permission request to the target request end according to the priority of the request port and the request time.

[0158] In one embodiment, when there are multiple target requesting ends, the computer program further implements the following steps when executed by the processor:

[0159] According to the historical verification results of each target request end within the historical period, a marked request end is selected from the target request ends; wherein the historical verification result of the marked request end is that the number of failures exceeds a preset number; a connection permission request is sent to the remaining target request ends except the marked request end; and a connection permission request is sent to the marked request end after a preset delay period.

[0160] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0161] The identity registration request is sent to the candidate requesting ends to be authenticated within a preset range by broadcast or multicast.

[0162] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0163] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0164] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0165] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. An identity authentication method, characterized in that: The method is applied to a verification end, and the method includes: Send an identity registration request to a candidate requester to be authenticated within a preset range; After receiving the connection request sent by the target request end among the candidate request ends in response to the identity registration request, sending a connection permission request to the target request end; Receive an identity authentication request sent by the target request end based on the connection permission request, and authenticate the target request end based on the identity authentication request; wherein the identity authentication request includes identity information of the target request end.

2. The method according to claim 1, characterized in that The sending a connection permission request to the target request end includes: When it is determined that the current available bandwidth meets the response condition, a connection permission request is sent to the target request end.

3. The method according to claim 2, characterized in that The determining that the current available bandwidth meets the response condition includes: Obtain the total number of sessions and the maximum available bandwidth corresponding to the verification end; Determining the current available bandwidth according to the total number of sessions and the maximum available bandwidth; In a case where the current available bandwidth is greater than a preset threshold, it is determined that the current available bandwidth meets a response condition.

4. The method according to claim 1 or 2, characterized in that: The connection request at least includes a request port and a request time corresponding to the target request end, and sending the connection permission request to the target request end includes: Determine the priority corresponding to the request port; Sending a connection permission request to the target request end according to the priority and request time of the request port.

5. The method according to claim 1 or 2, characterized in that: In the case that there are multiple target requesting ends, sending a connection permission request to the target requesting end includes: According to the historical verification results of each target request end in the historical period, a marked request end is selected from the target request end; wherein the historical verification result of the marked request end is that the number of times of failure exceeds a preset number; Sending a connection permission request to the remaining target requesting ends except the marked requesting end; A connection permission request is sent to the tag requesting end after a preset delay period.

6. The method according to claim 1, characterized in that The sending of the identity registration request to the candidate requesting end to be authenticated within a preset range includes: The identity registration request is sent to the candidate requesting ends to be authenticated within a preset range by broadcast or multicast.

7. An identity verification device, characterized in that: The device is configured at the verification end, and the device includes: A sending module, used to send an identity registration request to a candidate request end to be authenticated within a preset range; A receiving module, configured to send a connection permission request to the target request end after receiving a connection request sent by a target request end among the candidate request ends in response to the identity registration request; A verification module is used to receive an identity authentication request sent by the target request end based on the connection permission request, and authenticate the target request end based on the identity authentication request; wherein the identity authentication request includes the identity information of the target request end.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.