A network access control method and system for an authentication server
By detecting the environment of the primary authentication server through the access device and switching to the backup authentication server when abnormal, the problem of untimely switching of the backup server in the existing technology is solved, and the stability and reliability of network access are achieved.
Patent Information
- Application Number
- CN202210713798.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-22
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-06-22
AI Technical Summary
In the existing network access control system, the backup authentication server will only switch when the main authentication server is down or the network interface fails. It cannot respond in time to service abnormalities of the main authentication server or large-scale user authentication failures, resulting in network access Unstable.
Detect the authentication environment of the main authentication server through the access device, generate detection results, and switch to the backup authentication server when abnormality occurs, realizing automatic switching of the main and backup authentication servers to ensure the stability of network access.
It achieves rapid detection and automatic switching of the authentication environment, improves the stability and reliability of network access, and avoids terminal authentication failures caused by abnormalities in the main authentication server.
Smart Images

Figure CN115022071B
Abstract
Description
Technical Field
[0001] The present application relates to the field of network communication technology, and in particular to a network access control method, system, electronic device and computer-readable storage medium of an authentication server. Background Art
[0002] At present, in the 802.1x authentication of the network access control system, the terminal device initiates an Extensible Authentication Protocol (EAP) authentication message to the access device, and the access device then sends a Remote Authentication Dial In User Service (RADIUS) radius message to the authentication server for authentication. If the authentication is successful, the terminal device can access the intranet, and if the authentication fails, it cannot access the network. At present, most solutions use two authentication servers for hot standby. The two authentication servers send messages to each other to detect whether the other party is alive. In this solution, the standby machine will only take over the work of the host machine if the host machine crashes or the network interface fails. Other abnormalities of the host, such as core service abnormalities and large-scale user authentication failures, cannot trigger the master-slave switch.
[0003] In the dual-machine hot standby mode of the prior art, the backup authentication server will take over the authentication work of the host only when the main authentication server is down or the network interface is not connected; when the main authentication server has a service abnormality or an abnormal authentication status, the network access server (NAS) device cannot perceive it, and the backup authentication server cannot replace the main authentication server in time, and all terminal authentications will still be abnormal. In addition, when the virtual Internet Protocol (IP) address is switched between the main and backup authentication servers, network instability can easily cause both devices to have virtual IPs or no virtual IPs, which will seriously affect the authentication environment. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a network access control method, system, electronic device and computer-readable storage medium for an authentication server, which can achieve the technical effect of stability of network access.
[0005] In a first aspect, an embodiment of the present application provides a network access control method of an authentication server, which is applied to an access device, wherein the authentication server includes a primary authentication server and a backup authentication server, and the method includes:
[0006] Obtain the authentication message information sent by the terminal device;
[0007] The authentication message information is sent to the authentication server connected to the access device, and the access device performs the following processing on the authentication server:
[0008] Control the authentication server that the access device points to as the primary authentication server; detect the authentication environment of the primary authentication server and generate a detection result; determine whether the authentication environment of the primary authentication server is abnormal according to the detection result, and if so, control the authentication server that the access device points to as the backup authentication server;
[0009] Obtaining authentication feedback information sent by the authentication server;
[0010] The authentication feedback information is sent to the terminal device.
[0011] In the above implementation process, the terminal device and the authentication server are connected respectively through the access device, wherein the terminal device is directly controlled by the access device, and whether the terminal device authentication is successful and whether it can access the intranet corresponding to the authentication server can be controlled by the access device; therefore, the authentication environment of the main authentication server is detected by the access device, and the access device is used to discover whether the authentication environment is abnormal. When the authentication environment is abnormal, it switches to the indirect authentication server, thereby achieving the purpose of switching the main and backup authentication servers, and can maintain the normal authentication environment with greater efficiency; thus, the network access control method of the authentication server can achieve the technical effect of stability of network access.
[0012] Further, the step of detecting the authentication environment of the primary authentication server and generating a detection result includes:
[0013] Sending detection message information to the primary authentication server;
[0014] Acquire interface authentication data of the access device and detection feedback information returned by the primary authentication server;
[0015] The detection result is generated according to the interface authentication data and / or the detection feedback information.
[0016] In the above implementation process, the interface authentication data, that is, the authentication data on the access device's own interface, can be used to quickly determine whether an abnormality has occurred on the main authentication server. The access device can effectively detect whether key services and key interfaces on the main authentication server are abnormal by sending detection message information to the main authentication server. Therefore, the detection results can be generated quickly and effectively through interface authentication data and / or detection feedback information.
[0017] Furthermore, after the step of generating the detection result, the method further includes:
[0018] When it is determined according to the detection result that the authentication environment of the primary authentication server is abnormal, a serious alarm message is generated.
[0019] In the above implementation process, when the authentication environment of the primary authentication server is abnormal, a serious alarm message is generated to give a reminder.
[0020] Furthermore, before the step of obtaining the authentication message information sent by the terminal device, the method further includes:
[0021] Control the standby authentication server to copy data of the primary authentication server.
[0022] In the above implementation process, the standby authentication server achieves data synchronization between the standby authentication server and the main authentication server by copying the data of the main authentication server.
[0023] Furthermore, the access device is configured with a primary authentication domain pointing to the primary authentication server and a backup authentication domain of the backup authentication server. When the primary authentication domain takes effect, the access device points to connect to the primary authentication server. When the backup authentication domain takes effect, the access device points to connect to the backup authentication server.
[0024] In the above implementation process, the access device configures two authentication domains to point to the primary and backup authentication servers respectively, so that the access device can achieve the purpose of switching the authentication server by quickly switching the authentication domain itself.
[0025] Furthermore, the authentication message information is EAP message information.
[0026] Furthermore, the authentication feedback information is RADIUS message information.
[0027] In a second aspect, an embodiment of the present application provides a network access control system of an authentication server, which is applied to an access device, wherein the authentication server includes a primary authentication server and a backup authentication server, and the system includes:
[0028] An acquisition module is used to acquire the authentication message information sent by the terminal device;
[0029] A sending module, configured to send the authentication message information to an authentication server connected to the access device, and the access device performs the following processing on the authentication server:
[0030] A detection module, used to control the authentication server pointed to by the access device to be the primary authentication server; detect the authentication environment of the primary authentication server and generate a detection result; determine whether the authentication environment of the primary authentication server is abnormal according to the detection result, and if so, control the authentication server pointed to by the access device to be the backup authentication server;
[0031] The acquisition module is also used to acquire the authentication feedback information sent by the authentication server;
[0032] The sending module is further used to send the authentication feedback information to the terminal device.
[0033] Furthermore, the detection module is specifically used for:
[0034] Sending detection message information to the primary authentication server;
[0035] Acquire interface authentication data of the access device and detection feedback information returned by the primary authentication server;
[0036] The detection result is generated according to the interface authentication data and / or the detection feedback information.
[0037] Furthermore, the detection module is specifically used to perform one or more of network interface detection, network service detection, and user abnormal authentication detection on the main authentication server to generate the detection result.
[0038] Furthermore, the network access control system of the authentication server further includes:
[0039] The alarm module is used to generate a serious alarm message when it is determined that the authentication environment of the primary authentication server is abnormal according to the detection result.
[0040] Furthermore, the network access control system of the authentication server further includes:
[0041] The replication module controls the standby authentication server to synchronously replicate the data of the primary authentication server.
[0042] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in any one of the first aspects when executing the computer program.
[0043] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which instructions are stored. When the instructions are executed on a computer, the computer executes the method as described in any one of the first aspects.
[0044] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when running on a computer, enables the computer to execute the method as described in any one of the first aspects.
[0045] Other features and advantages disclosed in the present application will be described in the following description, or some features and advantages can be inferred or determined without doubt from the description, or can be learned by implementing the above-mentioned technology disclosed in the present application.
[0046] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0048] Figure 1 A structural block diagram of a terminal device, an access device, and an authentication server provided in an embodiment of the present application;
[0049] Figure 2 A schematic diagram of a flow chart of a network access control method of an authentication server provided in an embodiment of the present application;
[0050] Figure 3 A schematic diagram of a process for detecting an authentication environment of a primary authentication server provided in an embodiment of the present application;
[0051] Figure 4 A structural block diagram of a network access control system of an authentication server provided in an embodiment of the present application;
[0052] Figure 5 Provided for the embodiments of this application Figure 5 A structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0053] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0054] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0055] The embodiments of the present application provide a network access control method, system, electronic device and computer-readable storage medium for an authentication server, which can be applied to access authentication of an intranet terminal accessing a network; in the network access control method of the authentication server, a terminal device and an authentication server are respectively connected through an access device, wherein the terminal device is directly controlled by the access device, and whether the terminal device authentication is successful and whether it can access the intranet corresponding to the authentication server can be controlled by the access device; therefore, the authentication environment of the main authentication server is detected by the access device, and the access device discovers whether the authentication environment is abnormal. When the authentication environment is abnormal, the authentication server is switched to an indirect authentication server, thereby achieving the purpose of switching the main and backup authentication servers, and maintaining the normal authentication environment with greater efficiency; thus, the network access control method of the authentication server can achieve the technical effect of stability of network access.
[0056] See also Figure 1 , Figure 1 A structural block diagram of a terminal device, access device, and authentication server provided in an embodiment of the present application.
[0057] For example, if the authentication server fails, all terminal devices will fail authentication, causing the entire user company to be disconnected from the Internet. Even if the escape strategy is adopted, all terminals are released, which will still cause huge losses and security risks to the company.
[0058] For example, Figure 1 As shown, the terminal device 11 is communicatively connected with the access device 12, and the access device 12 is communicatively connected with the first authentication server 13 and the second authentication server 14 respectively; in the embodiment of the present application, the access device 12 will detect whether the current authentication server is abnormal. If abnormal, another authentication server will be selected through the RADIUS authentication domain on the access device 12 to take over the authentication.
[0059] Exemplarily, the network access control method of the authentication server provided in the embodiment of the present application can be applied to companies, hospitals, government agencies, information centers and other units that attach great importance to information security. By deploying a network access system in the intranet, terminal access can be controlled to ensure the environment for intranet terminals to access the network.
[0060] See also Figure 2 , Figure 2 A flow chart of a network access control method of an authentication server provided in an embodiment of the present application is applied to an access device, wherein the authentication server includes a primary authentication server and a backup authentication server, and the network access control method of the authentication server includes the following steps:
[0061] S100: Obtain authentication message information sent by the terminal device.
[0062] Exemplarily, the authentication message information sent by the terminal device may be a network access request; in some embodiments, the network access control method of the authentication server is applied to the access authentication process of the internal network, and the terminal device sends a network access request to the access device and the authentication server for authentication. After the authentication is passed, the terminal device can access the internal network.
[0063] S200: Send the authentication message information to the authentication server connected to the access device, and the access device performs the following processing on the authentication server:
[0064] S300: Control the access device to point to the connected authentication server as the primary authentication server; detect the authentication environment of the primary authentication server and generate a detection result; determine whether the authentication environment of the primary authentication server is abnormal based on the detection result, and if so, control the access device to point to the connected authentication server as the backup authentication server.
[0065] Exemplarily, the access device detects whether the authentication environment is abnormal, and switches to an indirect authentication server when the authentication environment is abnormal, thereby achieving the purpose of switching the primary and backup authentication servers, and more effectively maintaining the normal authentication environment of the authentication server.
[0066] S400: Obtain authentication feedback information sent by the authentication server;
[0067] S500: Send authentication feedback information to the terminal device.
[0068] Exemplarily, after receiving the authentication message information, the authentication server starts to authenticate whether the terminal device can access, and returns the authentication result (authentication feedback information) to the terminal device.
[0069] In some embodiments, the terminal device and the authentication server are respectively connected through an access device, wherein the terminal device is directly controlled by the access device, and whether the terminal device authentication is successful and whether it can access the intranet corresponding to the authentication server can be controlled by the access device; therefore, the authentication environment of the main authentication server is detected by the access device, and the access device discovers whether the authentication environment is abnormal. When the authentication environment is abnormal, it switches to an indirect authentication server, thereby achieving the purpose of switching the main and backup authentication servers, and maintaining the normal authentication environment with greater efficiency; thus, the network access control method of the authentication server can achieve the technical effect of stability of network access.
[0070] See also Figure 3 , Figure 3 A schematic diagram of a process for detecting the authentication environment of a primary authentication server provided in an embodiment of the present application.
[0071] Exemplarily, S300: the step of detecting the authentication environment of the primary authentication server and generating a detection result includes:
[0072] S310: Sending detection message information to the primary authentication server;
[0073] S320: Obtaining interface authentication data of the access device and detection feedback information returned by the primary authentication server;
[0074] S330: Generate a detection result according to the interface authentication data and / or the detection feedback information.
[0075] Exemplarily, interface authentication data refers to authentication data collected by the access device on its own interface. The interface authentication data can be used to quickly determine whether an abnormality has occurred on the main authentication server. The access device can effectively detect whether key services and key interfaces on the main authentication server are abnormal by sending detection message information to the main authentication server. Thus, detection results can be generated quickly and effectively through interface authentication data and / or detection feedback information.
[0076] Exemplarily, after S330: generating the detection result, the method further includes:
[0077] S340: When it is determined according to the detection result that the authentication environment of the primary authentication server is abnormal, a serious alarm message is generated.
[0078] Exemplarily, when the authentication environment of the primary authentication server is abnormal, a serious alarm message is generated to give a reminder.
[0079] Exemplarily, before the step of S100: obtaining authentication message information sent by the terminal device, the method further includes:
[0080] Control the secondary authentication server to replicate the data of the primary authentication server.
[0081] Exemplarily, the standby authentication server copies the data of the main authentication server, thereby achieving data synchronization between the standby authentication server and the main authentication server.
[0082] Exemplarily, the access device is configured with a primary authentication domain pointing to the primary authentication server and a backup authentication domain of the backup authentication server. When the primary authentication domain takes effect, the access device points to the primary authentication server, and when the backup authentication domain takes effect, the access device points to the backup authentication server.
[0083] Exemplarily, the access device configures two authentication domains to point to the primary and backup authentication servers respectively, so that the access device can achieve the purpose of switching the authentication server by quickly switching the authentication domain itself.
[0084] In some implementations, the authentication domain configured for the access device is a RADIUS authentication domain.
[0085] Exemplarily, the authentication message information is EAP message information.
[0086] Exemplarily, the authentication feedback information is RADIUS message information.
[0087] In some implementation scenarios, the specific process example of the network access control method of the authentication server provided in the embodiment of the present application is as follows:
[0088] 1) Under normal circumstances, the primary authentication domain on the access device is effective, and the backup authentication domain is not effective, that is, the primary authentication server works, and the backup authentication server does not work;
[0089] 2) When the access device detects that the environment of the primary authentication server is abnormal, the backup authentication domain will take effect and the primary authentication domain will become invalid. At this time, the backup authentication server works and the primary authentication server does not work; at the same time, a serious alarm is generated on the access device to remind the administrator;
[0090] 3) The access device performs the following tests on the authentication environment:
[0091] 3.1) The access device performs network interface detection on the authentication server, such as ping packet;
[0092] 3.2) The access device performs service detection on the primary authentication server, such as RADIUS service, online service, and redis service; if there is a service anomaly, an alarm is generated and the authentication is switched to the backup authentication server for authentication;
[0093] 3.3) When the access device detects that a large number of different users have failed to authenticate within a short period of time on its interface, a large number of users have reauthenticated, or a large number of users have been urgently offline, it determines that the primary authentication server is abnormal; an alarm is generated and the authentication is switched to the backup authentication server for authentication.
[0094] See also Figure 4 , Figure 4 The structural block diagram of the network access control system of the authentication server provided in the embodiment of the present application is applied to the access device, the authentication server includes a primary authentication server and a backup authentication server, and the network access control system of the authentication server includes:
[0095] The acquisition module 100 is used to acquire the authentication message information sent by the terminal device;
[0096] The sending module 200 is used to send the authentication message information to the authentication server connected to the access device, and the access device performs the following processing on the authentication server:
[0097] The detection module 300 is used to control the authentication server that the access device points to as the primary authentication server; detect the authentication environment of the primary authentication server and generate a detection result; determine whether the authentication environment of the primary authentication server is abnormal according to the detection result, and if so, control the authentication server that the access device points to as the backup authentication server;
[0098] The acquisition module 100 is also used to obtain the authentication feedback information sent by the authentication server;
[0099] The sending module 200 is further configured to send authentication feedback information to the terminal device.
[0100] Exemplarily, the detection module 300 is specifically used to perform one or more of network interface detection, network service detection, and abnormal user authentication detection on the primary authentication server to generate a detection result.
[0101] Furthermore, the detection module 300 is specifically used to: send detection message information to the main authentication server; obtain interface authentication data of the access device and detection feedback information returned by the main authentication server; and generate a detection result according to the interface authentication data and / or detection feedback information.
[0102] Exemplarily, the network access control system of the authentication server further includes:
[0103] The alarm module is used to generate a serious alarm message when it is determined that the authentication environment of the main authentication server is abnormal according to the detection result.
[0104] Exemplarily, the network access control system of the authentication server further includes:
[0105] The replication module controls the backup authentication server to synchronously replicate the data of the primary authentication server.
[0106] It should be noted that Figure 4 The network access control system of the authentication server shown is Figures 1 to 3 The method embodiments shown correspond to each other and will not be described again here to avoid repetition.
[0107] This application also provides an electronic device, see Figure 5 , Figure 5 A block diagram of an electronic device provided in an embodiment of the present application. The electronic device may include a processor 510, a communication interface 520, a memory 530, and at least one communication bus 540. The communication bus 540 is used to realize direct connection and communication between these components. The communication interface 520 of the electronic device in the embodiment of the present application is used to communicate signaling or data with other node devices. The processor 510 may be an integrated circuit chip with signal processing capabilities.
[0108] The processor 510 mentioned above can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can 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 gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor 510 can also be any conventional processor, etc.
[0109] The memory 530 may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electric erasable programmable read-only memory (EEPROM), etc. The memory 530 stores computer-readable instructions. When the computer-readable instructions are executed by the processor 510, the electronic device can execute the above-mentioned Figures 1 to 3 The method embodiment involves various steps.
[0110] Optionally, the electronic device may further include a storage controller and an input / output unit.
[0111] The memory 530, storage controller, processor 510, peripheral interface, input and output unit components are directly or indirectly electrically connected to each other to achieve data transmission or interaction. For example, these components can be electrically connected to each other via one or more communication buses 540. The processor 510 is used to execute executable modules stored in the memory 530, such as software function modules or computer programs included in the electronic device.
[0112] The input and output unit is used to provide users with the task creation and to create a start optional time period or preset execution time for the task to realize the interaction between the user and the server. The input and output unit can be, but is not limited to, a mouse and a keyboard.
[0113] Understandably, Figure 5 The structure shown is for illustration only, and the electronic device may also include Figure 5 More or fewer components as shown, or with Figure 5 Different configurations shown. Figure 5 Each component shown in the figure can be implemented by hardware, software or a combination thereof.
[0114] An embodiment of the present application further provides a storage medium having instructions stored thereon. When the instructions are run on a computer, the computer program is executed by a processor to implement the method described in the method embodiment. To avoid repetition, the method will not be described here.
[0115] The present application also provides a computer program product, which, when executed on a computer, enables the computer to execute the method described in the method embodiment.
[0116] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0117] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0118] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0119] The above description is only an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.
[0120] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0121] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
Claims
1. A network access control method for an authentication server, characterized in that: Applied to an access device, the authentication server includes a primary authentication server and a backup authentication server, and the method includes: Obtain the authentication message information sent by the terminal device; The authentication message information is sent to the authentication server connected to the access device, and the access device performs the following processing on the authentication server: Control the authentication server that the access device points to as the primary authentication server; detect the authentication environment of the primary authentication server and generate a detection result; determine whether the authentication environment of the primary authentication server is abnormal according to the detection result, and if so, control the authentication server that the access device points to as the backup authentication server; Obtaining authentication feedback information sent by the authentication server; Sending the authentication feedback information to the terminal device; The step of detecting the authentication environment of the primary authentication server and generating a detection result comprises: Sending detection message information to the primary authentication server; Acquire interface authentication data of the access device and detection feedback information returned by the primary authentication server; Generate the detection result according to the interface authentication data and / or the detection feedback information; The authentication feedback information is RADIUS message information, wherein the access device performs the following detection on the authentication environment of the authentication server: The access device performs network interface detection on the authentication server; The access device performs service detection on the primary authentication server; When the access device detects that a large number of different users fail to authenticate, a large number of users re-authenticate, or a large number of users are urgently offline within a preset period of time, it is determined that the main authentication server is abnormal.
2. The network access control method of the authentication server according to claim 1, characterized in that: After the step of generating the detection result, the method further includes: When it is determined according to the detection result that the authentication environment of the primary authentication server is abnormal, a serious alarm message is generated.
3. The network access control method of the authentication server according to claim 1, characterized in that: Before the step of obtaining the authentication message information sent by the terminal device, the method further includes: Control the standby authentication server to synchronously replicate the data of the primary authentication server.
4. The network access control method of the authentication server according to claim 1, characterized in that: The access device is configured with a primary authentication domain pointing to the primary authentication server and a secondary authentication domain of the secondary authentication server. When the primary authentication domain takes effect, the access device points to connect to the primary authentication server. When the secondary authentication domain takes effect, the access device points to connect to the secondary authentication server.
5. The network access control method of the authentication server according to claim 1, characterized in that: The authentication message information is EAP message information.
6. A network access control system of an authentication server, characterized in that: Applied to an access device, the authentication server includes a primary authentication server and a backup authentication server, and the system includes: An acquisition module is used to acquire the authentication message information sent by the terminal device; A sending module, configured to send the authentication message information to an authentication server connected to the access device, and the access device performs the following processing on the authentication server: A detection module, used to control the authentication server pointed to by the access device to be the primary authentication server; detect the authentication environment of the primary authentication server and generate a detection result; determine whether the authentication environment of the primary authentication server is abnormal according to the detection result, and if so, control the authentication server pointed to by the access device to be the backup authentication server; The acquisition module is also used to acquire the authentication feedback information sent by the authentication server; The sending module is also used to send the authentication feedback information to the terminal device; The detection module is specifically used for: Sending detection message information to the primary authentication server; Acquire interface authentication data of the access device and detection feedback information returned by the primary authentication server; Generate the detection result according to the interface authentication data and / or the detection feedback information; The authentication feedback information is RADIUS message information, wherein the access device performs the following detection on the authentication environment of the authentication server: The access device performs network interface detection on the authentication server; The access device performs service detection on the primary authentication server; When the access device detects that a large number of different users fail to authenticate, a large number of users re-authenticate, or a large number of users are urgently offline within a preset period of time, it is determined that the main authentication server is abnormal.
7. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the network access control method of the authentication server according to any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the computer is enabled to execute the network access control method of the authentication server according to any one of claims 1 to 5.
