Access request processing method and device, network boundary equipment, system and electronic equipment

By obtaining the terminal device's identification information and IP address, determining the permission configuration information, and generating access control entries, the dynamic access control problem in the wireless admission phase is solved, enabling refined access control management and improved network security.

CN118921233APending Publication Date: 2024-11-08BEIJING BAIDU NETCOM SCI & TECH CO LTD

Patent Information

Application Number
CN202411304569.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-18
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

Existing technologies struggle to achieve dynamic access control for terminal devices during the wireless access phase, resulting in insufficient network security.

Method used

By obtaining the access account's identification information and IP address, the permission configuration information is determined, and access control entries are generated. Access requests are then processed based on these entries to achieve dynamic access control.

Benefits of technology

It enables fine-grained access control, allowing different access permissions to be set based on the role type or attribute information of the accessing account, dynamically adapting to changes in IP address, and improving the security of the network system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118921233A_ABST
    Figure CN118921233A_ABST
Patent Text Reader

Abstract

The invention provides an access request processing method and device, network boundary equipment, a system, electronic equipment, a computer readable storage medium and a computer program product, and relates to the technical field of information security, in particular to the technical field of wireless access. The method comprises the following steps: acquiring identification information and an IP address of an access account from an authentication message; permission configuration information matched with the identification information is determined; generating an access control entry based on the permission configuration information and the IP address; an access request to access the account is processed based on the access control entry. According to the method, the access request based on the IP address can be processed based on the generated access control entry, dynamic management of the access control strategy is realized, and the security of the system is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of information security technology, specifically to the field of wireless access technology, and in particular to a method, device, network boundary device, system, electronic device, computer-readable storage medium and computer program product for processing access requests. Background Art

[0002] With the rapid development of network technology, higher requirements are placed on the secure access mechanism of data centers. The access of terminal devices to the company's intranet generally goes through two stages: networking stage and wireless access stage. In the networking stage, terminal devices can access the company's LAN through wired or wireless communication. In the wireless access stage, secure access to the network can be achieved by authenticating and authorizing the terminal devices, and access control and permission management can be performed on the terminal devices. Summary of the invention

[0003] The embodiments of the present disclosure provide a method, apparatus, network boundary device, system, electronic device, computer-readable storage medium, and computer program product for processing access requests, which can realize dynamic management of access control policies.

[0004] In a first aspect, an embodiment of the present disclosure proposes a method for processing access requests, including: obtaining identification information and an IP address of an access account from an authentication message; determining permission configuration information that matches the identification information; generating an access control entry based on the permission configuration information and the IP address; and processing an access request for an access account based on the access control entry.

[0005] In the second aspect, an embodiment of the present disclosure proposes a device for processing access requests, including: an acquisition module, configured to obtain identification information and an IP address of an access account from an authentication message; a matching module, configured to determine permission configuration information that matches the identification information; a generation module, configured to generate an access control entry based on the permission configuration information and the IP address; and a control module, configured to process access requests for access accounts based on the access control entries.

[0006] In a third aspect, an embodiment of the present disclosure provides a network edge device, including an access request processing device described in any implementation manner in the second aspect of the present disclosure.

[0007] In a fourth aspect, an embodiment of the present disclosure provides a system for processing access requests, comprising a terminal, a server, and a network boundary device described in any implementation method in the third aspect of the present disclosure, wherein the terminal is configured to initiate an access request to the server, the access request including the IP address of the access account; the server is configured to receive the access request and send an access response corresponding to the access request to the terminal.

[0008] In a fifth aspect, an embodiment of the present disclosure provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can implement the method for processing access requests as described in any implementation method in the first aspect when executing the instructions.

[0009] In a sixth aspect, an embodiment of the present disclosure provides a non-transitory computer-readable storage medium storing computer instructions, which are used to enable a computer to implement a method for processing an access request as described in any implementation method in the first aspect when the computer executes the instructions.

[0010] In a seventh aspect, an embodiment of the present disclosure provides a computer program product comprising a computer program, which, when executed by a processor, can implement the method for processing an access request as described in any implementation manner in the first aspect.

[0011] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Other features, objects and advantages of the present disclosure will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0013] Figure 1 is an exemplary system architecture in which the present disclosure may be applied;

[0014] Figure 2 A flowchart of a method for processing an access request provided by an embodiment of the present disclosure;

[0015] Figure 3 A schematic diagram of a system architecture of a specific application scenario of a method for processing an access request provided by an embodiment of the present disclosure;

[0016] Figure 4 A flowchart of another method for processing an access request provided by an embodiment of the present disclosure;

[0017] Figure 5 A structural block diagram of a device for processing access requests provided by an embodiment of the present disclosure;

[0018] Figure 6 A structural block diagram of a system for processing access requests provided by an embodiment of the present disclosure;

[0019] Figure 7A schematic diagram of the structure of an electronic device suitable for executing a method for processing access requests provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0020] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description. It should be noted that the embodiments in the present disclosure and the features in the embodiments may be combined with each other without conflict.

[0021] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0022] Figure 1 An exemplary system architecture 100 is shown to which embodiments of the access request processing method, apparatus, electronic device, and computer-readable storage medium of the present disclosure can be applied.

[0023] like Figure 1 As shown, the system architecture 100 may include terminal devices 101 , 102 , 103 , a network access device 104 , a network edge device 105 and a resource service system 106 .

[0024] The terminal devices 101, 102 and 103 can access the wireless network based on WiFi (Wireless Fidelity) connection through the network access device 104. The network access device 104 may include, for example, a wireless AP (Access Point), a wireless controller, etc., and the wireless network may be, for example, a WLAN (Wireless Local Area Network). The terminal devices 101, 102 and 103 are communication devices connected to the wireless network, such as laptop computers, mobile phones, tablet computers and other devices with wireless network receiving functions.

[0025] The user can use the terminal devices 101, 102, 103 to interact with the resource service system 106 in the intranet through the network edge device 105 to receive or send messages or perform data transmission, etc. To achieve this purpose, the terminal devices 101, 102, 103 and the network edge device 105 can be installed with various applications for realizing information communication between the two, such as remote control applications, configuration modification applications, instant messaging applications, etc.

[0026] Among them, the intranet can be a local area communication network composed of various computers, servers and databases connected to each other and deployed by a specific enterprise or a specific organization. The network boundary device 105 can be a wireless gateway, or a router, a switch-type electronic device, or an integrated product integrated with other electronic devices. The present disclosure does not limit the specific device form and the technology used by the network boundary device 105. In one embodiment, the network boundary device 105 can be a network firewall deployed for the intranet. The network firewall can filter the data packets or traffic packets entering and leaving the intranet, for example, forwarding, allowing, rejecting or discarding the data packets or traffic packets according to preset rules or access control policies.

[0027] The network boundary device 105 can provide various services through built-in hardware or software modules or various applications, such as access request processing services. Taking remote control applications as an example, the following effects can be achieved when running the remote control applications: first, the network boundary device 105 obtains the identification information and IP address of the access account from the authentication message; then, the network boundary device 105 can determine the permission configuration information that matches the identification information of the access account; next, based on the determined permission configuration information and the IP address of the access account, an access control entry is generated; finally, based on the generated access control entry, the access request initiated by the access account is processed.

[0028] The access request processing method provided in the subsequent embodiments of the present disclosure is executed by the network edge device 105 , and accordingly, the access request processing device is generally also disposed in the network edge device 105 .

[0029] It should be understood that Figure 1 The number of terminal devices, network access devices, network edge devices, and resource service systems in the embodiment is only illustrative. Any number of terminal devices, network access devices, network edge devices, and resource service systems may be provided according to implementation requirements.

[0030] It should be pointed out that the system architecture and application scenarios described in the present disclosure are intended to more clearly illustrate the technical solutions of the present disclosure, and do not constitute a limitation on the technical solutions provided by the present disclosure. Ordinary technicians in the field can know that with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided by the present disclosure are also applicable to similar technical problems.

[0031] Please refer to Figure 2 , Figure 2 A flowchart of a method for processing an access request provided by an embodiment of the present disclosure, wherein process 200 includes the following steps:

[0032] Step 201: Obtain identification information and IP address of the access account from the authentication message.

[0033] This step is intended to be performed by the execution subject of the access request processing method (for example Figure 1 The network edge device 105 shown in the figure obtains the identification information and IP address of the access account from the authentication message according to the obtained authentication message. The identification information can be a username or user ID (identity) created when registering the access account. The identification information is bound to the access account and can be associated with the access account through the identification information. The access account can use the identification information to make network access requests, authentication, access requests, etc.

[0034] The execution subject may capture the authentication message of the access account, and obtain the identification information and IP (Internet Protocol) address of the access account from the captured authentication message.

[0035] Step 202: Determine the permission configuration information that matches the identification information.

[0036] Based on step 201, this step aims to determine the permission configuration information of the access account bound to the identification information by the above-mentioned execution subject. The permission configuration information of the access account can be the intranet resources or services allowed to be accessed, or the intranet resources or services prohibited to be accessed, etc. Different access accounts can have different permission configurations.

[0037] Step 203: Generate access control entries based on the authority configuration information and the IP address.

[0038] Based on step 202, this step aims to generate an access control policy by the execution subject according to the determined permission configuration information and the IP address of the access account. The access control policy may be, for example, an ACL (Access Control List), which is a five-tuple policy for blocking or releasing, and the five-tuple information includes source port, source IP address / network segment, destination port, destination IP address / network segment, and network protocol.

[0039] Step 204: Based on the access control entry, process the access request to access the account.

[0040] Based on the above steps 201-203, this step is intended to allow the above execution subject to process the access request subsequently initiated by the access account based on the generated access control entry. For example, the access request can be processed according to the source IP address and the destination IP address in the access request. The processing of the access request can be based on the ACL five-tuple information, and the incoming and outgoing data packets are filtered one by one to allow or deny the data packet.

[0041] In some implementations, access rights can be configured for an access account according to preset rules or policies when registering an access account, thereby controlling the internal network resources accessible to the access account. For example, different access rights can be configured according to the employee's business department, employee level, etc.

[0042] In some implementations, the role type of the access account can be determined according to the identification information in step 202; and the permission configuration information matching the identification information can be determined according to the access rights corresponding to the preset role type. For example, the access accounts can be grouped according to the preset grouping rules, and corresponding access rights can be configured for each group, such as the resource service systems that each group can access, or the resource service systems that are prohibited from access.

[0043] In some other implementations, in step 202, permission configuration information matching the identification information may also be determined based on the account attribute information bound to the identification information, wherein the account attribute information may include one or more of the business type, account level, and security level. For example, according to whether the business type of the access account is R&D, finance, or sales, etc., the access rights corresponding to the business type are set. For another example, the matching permission configuration information may be determined based on whether the account level of the access account belongs to management or employees, or based on the historical security level of the access account.

[0044] The processing method of the access request provided by the embodiment of the present disclosure determines the permission configuration information matching the IP address according to the identification information and IP address of the access account in the authentication message, and generates an access control entry according to the permission configuration information and the IP address to process the access request of the access account. On the one hand, different access rights can be set according to the role type or account attribute information of the access account to realize refined access right management, meet the flexible setting requirements for different access rights, and accurately control the intranet resources or services accessible to users; on the other hand, even if the IP of the access account changes at any time, by associating the IP address in the data packet to the access account in real time and determining the matching permission configuration information, the access request based on the IP address can be processed based on the generated access control entry, realizing the dynamic management of the access control policy, thereby effectively improving the security of the system.

[0045] Please refer to the following Figure 3 , Figure 3 A system architecture diagram of a specific application scenario of a method for processing an access request provided by an embodiment of the present disclosure is provided.

[0046] Combination Figure 3As shown, a user can initiate an access request to a network access device 320 through a terminal device 310. For example, the user can use identification information (such as a user name, user ID, etc.) and a password to request to join a wireless local area network based on a WiFi protocol, such as a WLAN network where an office area is located.

[0047] When the terminal device 310 accesses the wireless LAN, it initiates an authentication request message to the authentication server 340 through the network access device 320 such as AP or wireless controller for authentication, such as 802.1X (port-based network access control) authentication. After passing the authentication, the authentication server 340 can assign an IP address to it. It should be noted that the IP address may change according to changes in the environment or location information of the terminal device 310. After passing the authentication, the network access device 320 can use the identification information and IP address to send an authentication and billing data packet corresponding to the authentication request for billing. The authentication request can be sent to the Radius Server (authentication server) based on the Radius (Remote Authentication Dial In User Service) protocol, for example, and the authentication and billing data packet corresponding to the authentication request can be a Radius Accounting (billing) data packet.

[0048] Next, when the terminal device 310 needs to access the intranet server 350, it can send an access request through the network access device 320, and the access request will pass through the network boundary device 330. The network boundary device 330 will process the access request accordingly.

[0049] Combination Figure 3 As shown, the method for processing the access request by the network edge device 330 may include the following main steps:

[0050] Step S301, obtaining identification information and IP address of the access account.

[0051] The network edge device 330 may capture the authentication message sent by the network access device 320 to the authentication server 330 , and obtain the identification information and IP address of the access account from the captured authentication message.

[0052] Step S302, determining permission configuration information.

[0053] The network edge device 330 can determine the corresponding permission configuration information based on the role type or account attribute information of the access account, so as to accurately control the intranet resources or services accessible to the user and realize refined access permission management at the user level.

[0054] Step S303: Generate access control entries.

[0055] The network edge device 330 can generate access control entries based on the determined permission configuration information and the IP address of the access account. By generating access control entries based on the IP address, the access control policy can be associated with the IP address, and even if the IP address of the access account changes, the access permission control of the access account can be dynamically implemented.

[0056] Step S304: Process the access request.

[0057] The network edge device 330 can process the access request of the access account based on the generated access control entry, and perform real-time access control according to the dynamic IP of the access account, so as to effectively control the internal network resources accessible to the user and realize the security access control of internal resource services or business systems of the enterprise.

[0058] The specific implementation of the above steps S301-S304 and the technical effects thereof can be referred to respectively. Figure 2 The relevant descriptions of steps 201 - 204 in the corresponding embodiment are not repeated here.

[0059] exist Figure 3 In the system architecture shown, the intranet server 350 can be some resource servers, platforms or business systems deployed in an IDC (Internet Data Center). For example, an ERP (Enterprise Resource Planning) system, a research and development platform, etc. The network boundary device 330 can be deployed at the boundary between the wireless LAN in the office environment and the IDC in the intranet. The network boundary device 330 can be one or more of a network firewall, a router, a gateway or a switch.

[0060] The following will be combined Figure 4 Another access request processing method provided by an embodiment of the present disclosure is specifically described.

[0061] Figure 4 This is a flowchart of a method for processing an access request provided by an embodiment of the present disclosure. The execution subject of the process may be, for example, the network edge device mentioned above. Figure 4 The process 400 shown may include the following steps:

[0062] Step 401: Obtain authentication and billing data packet.

[0063] After the Radius authentication request initiated by the access account is verified, the corresponding Radius Accounting data packet will be sent, and the Radius Accounting data packet will pass through the network edge device. The network edge device will detect the incoming and outgoing data packets one by one, and can capture the Radius Accounting data packet when it arrives.

[0064] Step 402: Obtain the user name and IP address information from the authentication and accounting data packet.

[0065] In some implementations of this embodiment, the username and IP address information of the access account are obtained from the captured Radius Accounting data packet, wherein the username is the identification information of the access account, which can be used to uniquely identify the access account, and the IP address is the current IP address of the access account.

[0066] Step 403: Determine the permission configuration information that matches the user name.

[0067] In some implementations of this embodiment, matching permission configuration information can be determined based on the role type corresponding to the access account. For example, if the role type of the access account is an internal employee, it can be allowed to access the intranet ERP system, and if the role type is an outsourced employee, it is prohibited to access the intranet ERP resources. Exemplarily, a permission control model can be used to pre-configure different access permissions corresponding to role types. For example, an RBAC (Role Based Access Control) model can be used for permission configuration. The RBAC model can provide access rights to resources or information based on user roles, thereby controlling the intranet resource services or business systems that the access account can access.

[0068] In some other implementations of this embodiment, matching permission configuration information can be determined based on the account attribute information of the access account. For example, if the account level information in the account attribute information of the access account is a senior manager or a middle manager, then the account is allowed to access all intranet resources or services; if the account level information is an ordinary employee, then the account is only allowed to access some intranet resources or services, etc.

[0069] Step 404: Generate access control entries.

[0070] Access control entries can be generated based on the determined permission configuration information and the IP address of the access account. By generating access control entries based on the IP address, the access control policy can be associated with the IP address, and the access permission control of the access account can be dynamically implemented even if the IP address of the access account changes.

[0071] In some implementations of this embodiment, the network edge device can set the source IP address according to the IP address of the access account, and set the destination port and / or destination IP address according to the port range and / or IP address segment allowed by the permission configuration information, and then generate an ACL for intranet access according to the set source IP address, destination port, and destination IP address. The port range or IP address segment allowed by the permission configuration information indicates the intranet resources or services that the access account can access.

[0072] In some optional implementations of this embodiment, there may be a correspondence between the partial port range allowed by the authority configuration information and the allowed IP address segment.

[0073] In some optional implementations of this embodiment, the network boundary device may set the destination port according to the port range allowed by the authority configuration information; or, set the destination IP address according to the IP address segment corresponding to the port range allowed by the authority configuration information; or, set the destination IP address according to the IP address segment allowed by the authority configuration information; or, set the destination port and the destination IP address according to the port range and IP address segment allowed by the authority configuration information; or, set the destination port according to the port range corresponding to the IP address segment allowed by the authority configuration information.

[0074] In some optional implementations of this embodiment, the network edge device may also generate a bidirectional ACL to perform bidirectional filtering on data packets entering and leaving the intranet, further improving the information security of the intranet resource service system. For example, a first access control entry may be generated for an access request for accessing an intranet service, and a second access control entry may be generated for an access response of an intranet server in response to the access request, or an access request to a terminal device initiated by the intranet server.

[0075] Exemplarily, generating a first access control entry may include: setting a first source IP address according to the IP address of the access account, and setting a first destination port and / or a first destination IP address according to the port range and / or IP address segment allowed by the determined permission configuration information; and then generating the first access control entry according to the set first source IP address, and the first destination port and / or the first destination IP address.

[0076] Exemplarily, generating a second access control entry may include: setting a second destination IP address according to the IP address of the access account, and setting a second source IP address according to the IP address segment allowed by the determined permission configuration information, and then generating a second access control entry based on the set second destination IP address and the second source IP address.

[0077] Step 405: Obtain an access request, and process the access request based on the access control entry.

[0078] When an access account initiates an access request, the access request carries a source IP address and a destination IP address, wherein the source IP address is the current IP address of the access account, and the destination IP address is the IP address of the server to be accessed by the access request.

[0079] In some optional implementations of this embodiment, taking the generation of a bidirectional ACL as an example, when a network boundary device obtains an access request, it obtains the source IP address, destination port, and destination IP address in the access request, and then associates it with the first access control entry based on the source IP address in the access request. Then, the access request can be allowed or denied based on whether the destination port in the access request belongs to the first destination port in the first access control entry and whether the destination IP address belongs to the first destination IP address.

[0080] Step 406: Obtain an access response corresponding to the access request, and process the access response based on the access control entry.

[0081] In some optional implementations of this embodiment, the network edge device may also perform access permission control on the access response corresponding to the access request returned by the intranet server.

[0082] Exemplarily, the network boundary device, based on the generated bidirectional ACL, obtains the source IP address and destination IP address in the access response when obtaining the access response corresponding to the access request, and then associates it with the second access control entry based on the destination IP address in the access response. Then, based on whether the destination IP address in the access response belongs to the second source IP address in the second access control entry, the access response can be allowed or denied.

[0083] The access request processing method provided by the embodiment of the present disclosure can configure different access rights according to the role type or account attribute information of the access account, and generate access control entries by determining the permission configuration information that matches the IP address. Then, based on the generated access control entries, two-way access right control can be implemented for data packets entering and leaving the intranet, thereby realizing refined two-way access right control.

[0084] Please continue to refer to Figure 5As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a device for processing access requests, and the device embodiment is similar to Figure 2 Corresponding to the method embodiment shown, the apparatus can be specifically applied to the above-mentioned network edge device 105 or various electronic devices.

[0085] like Figure 5 As shown, the access request processing device 500 of this embodiment may include: an acquisition module 501, a matching module 502, a generation 503 and a control module 504. The acquisition module 501 is configured to acquire the identification information and IP address of the access account from the authentication message; the matching module 502 is configured to determine the authority configuration information matching the identification information; the generation module 503 is configured to generate an access control entry based on the authority configuration information and the IP address; and the control module 504 is configured to process the access request of the access account based on the access control entry.

[0086] In the access request processing device 500 in this embodiment: the acquisition module 501, the matching module 502, the generation module 503 and the control module 504 and the technical effects brought by them can be referred to respectively. Figure 2 The relevant descriptions of steps 201 - 204 in the corresponding embodiment are not repeated here.

[0087] In some optional implementations of this embodiment, the matching module 502 is further configured to: determine the role type of the access account according to the identification information; and determine the permission configuration information matching the identification information according to the access rights corresponding to the preset role type.

[0088] In some other optional implementations of this embodiment, the matching module 502 is further configured to: determine the permission configuration information that matches the identification information based on the account attribute information bound to the identification information, and the account attribute information includes one or more of the business type, account level, and security level.

[0089] In some optional implementations of this embodiment, the acquisition module 501 is further configured to obtain the identification information and IP address of the access account from the billing data packet corresponding to the authentication request in response to the authentication request initiated by the access account passing the verification. The authentication request may be sent based on the Radius protocol; the billing data packet corresponding to the authentication request includes a Radius Accounting data packet.

[0090] In some optional implementations of this embodiment, the generation module 503 is further configured to: set a first source IP address according to the IP address of the access account, and set a first destination port and / or a first destination IP address according to the port range and / or IP address segment allowed by the determined permission configuration information, and then generate a first access control entry according to the set first source IP address, and the first destination port and / or the first destination IP address. The acquisition module 501 is further configured to obtain the source IP address, the destination port and the destination IP address in the access request in response to obtaining the access request. The control module 504 is further configured to: associate with the first access control entry according to the source IP address in the access request; and allow or deny the access request according to whether the destination port and the destination IP address in the access request belong to the first destination port and the first destination IP address in the first access control entry.

[0091] In some optional implementations of this embodiment, the generation module 503 is further configured to: set a second destination IP address according to the IP address of the access account, and set a second source IP address according to the IP address segment allowed by the determined permission configuration information, and then generate a second access control entry according to the set second destination IP address and the second source IP address. The acquisition module 501 is further configured to obtain the source IP address and the destination IP address in the access response in response to obtaining the access response corresponding to the access request. The control module 504 is further configured to: associate with the second access control entry according to the destination IP address in the access response; and allow or deny the access response according to whether the destination IP address in the access response belongs to the second source IP address in the second access control entry.

[0092] This embodiment exists as a device embodiment corresponding to the above method embodiment. The access request processing device provided in this embodiment determines the permission configuration information matching the IP address according to the identification information and IP address of the access account in the authentication message, and generates an access control entry according to the permission configuration information and the IP address to process the access request of the access account. On the one hand, different access rights can be set according to the role type or account attribute information of the access account to achieve refined access rights management, meet the flexible setting requirements for different access rights, and accurately control the intranet resources or services accessible to users; on the other hand, even if the IP of the access account changes at any time, by associating the IP address in the data packet to the access account in real time and determining the matching permission configuration information, the access request based on the IP address can be processed based on the generated access control entry, and the dynamic management of the access control policy can be achieved, thereby effectively improving the security of the system.

[0093] Further references Figure 6The embodiment of the present disclosure also provides a system for processing access requests. The system 600 may include a terminal 610, a network edge device 620 and a server 630.

[0094] Combination Figure 6 As shown, the terminal 610 may be a terminal device or a network access device. The server 630 may be a resource service system located in an intranet IDC. The network boundary device 620 may be at least one of a firewall, a gateway or a router located at the boundary between the wireless local area network and the intranet IDC.

[0095] The terminal 610 may be configured to initiate an access request to the server 630, wherein the access request includes the IP address of the access account; the server 630 may be configured to receive the access request and send an access response corresponding to the access request to the terminal 610. Further, the terminal 610 may be configured to initiate an access request to the server 630 after accessing the wireless local area network.

[0096] In some optional implementations of this embodiment, the system 600 further includes an authentication server 640. The terminal 610 may further be configured to initiate an authentication request to the authentication server 640, and after the authentication request is verified, send a billing data packet corresponding to the authentication request to the authentication server 640, wherein the billing data packet includes identification information and an IP address of the access account. The authentication server 640 may be configured to verify the access account according to the received authentication request. The authentication request may be sent based on the Radius protocol. The billing data packet corresponding to the authentication request may be a Radius Accounting data packet.

[0097] In this embodiment, the network edge device 620 may include the access request processing device 500 in the above-mentioned embodiment. The acquisition module 501, the matching module 502, the generation module 503 and the control module 504 in the access request processing device 500 and the technical effects thereof may be referred to in detail. Figure 2 The corresponding steps 201-204 and Figure 5 The relevant descriptions in the corresponding embodiments will not be repeated here.

[0098] The access request processing system 600 provided in this embodiment can automatically generate access control entries to implement two-way filtering processing for intranet access requests by deploying network access devices 620 at the boundary of the wireless LAN and the intranet, without changing the terminal, authentication server and intranet server, and without developing dedicated client applications. The system architecture is simple, compatible and low-cost. In addition, the update or adjustment of the permission configuration information is more convenient and has higher fault tolerance.

[0099] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can implement the access request processing method described in any of the above embodiments when executing.

[0100] According to an embodiment of the present disclosure, the present disclosure further provides a readable storage medium, which stores computer instructions, and the computer instructions are used to enable a computer to implement the method for processing an access request described in any of the above embodiments when executed.

[0101] According to an embodiment of the present disclosure, the present disclosure further provides a computer program product, which, when executed by a processor, can implement the method for processing an access request described in any of the above embodiments.

[0102] Figure 7 A schematic block diagram of an example electronic device 700 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0103] like Figure 7 As shown, the device 700 includes a computing unit 701, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 702 or a computer program loaded from a storage unit 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 can also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0104] A number of components in the device 700 are connected to the I / O interface 705, including: an input unit 706, such as a keyboard, a mouse, etc.; an output unit 707, such as various types of displays, speakers, etc.; a storage unit 708, such as a disk, an optical disk, etc.; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0105] The computing unit 701 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 701 performs the various methods and processes described above, such as a processing method for access requests. For example, in some embodiments, the processing method for access requests may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 700 via the ROM 702 and / or the communication unit 709. When the computer program is loaded into the RAM 703 and executed by the computing unit 701, one or more steps of the processing method for access requests described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the processing method for access requests in any other appropriate manner (e.g., by means of firmware).

[0106] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0107] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0108] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0109] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0110] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0111] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and virtual private servers (VPS) services.

[0112] According to the technical solution of the embodiment of the present disclosure, the permission configuration information matching the IP address can be determined based on the identification information and IP address of the access account in the authentication message, and the access control entry can be generated based on the permission configuration information and the IP address to process the access request of the access account. On the one hand, different access rights can be set according to the role type or account attribute information of the access account to achieve refined access rights management, meet the flexible setting requirements for different access rights, and accurately control the intranet resources or services accessible to users; on the other hand, even if the IP of the access account changes at any time, by associating the IP address in the data packet to the access account in real time and determining the matching permission configuration information, the access request based on the IP address can be processed based on the generated access control entry, and the dynamic management of the access control policy can be achieved, thereby effectively improving the security of the system.

[0113] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0114] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for processing an access request, comprising: Obtaining identification information and IP address of the access account from the authentication message; Determining permission configuration information matching the identification information; Generate an access control entry based on the permission configuration information and the IP address; Based on the access control entry, an access request of the access account is processed.

2. The method according to claim 1, wherein: Determining the permission configuration information that matches the identification information includes: Determining the role type of the access account according to the identification information; According to the preset access rights corresponding to the role type, the permission configuration information matching the identification information is determined.

3. The method according to claim 1, wherein: Determining the permission configuration information that matches the identification information includes: The authority configuration information matching the identification information is determined according to the account attribute information bound to the identification information, wherein the account attribute information includes one or more of the business type, account level, and security level.

4. The method according to claim 1, wherein: Obtaining the access account identification information and IP address from the authentication message includes: In response to the authentication request initiated by the access account being verified, the identification information and IP address of the access account are obtained from the billing data packet corresponding to the authentication request.

5. The method according to claim 4, wherein: The authentication request is sent based on the remote authentication dial-in user service protocol; The billing data packet corresponding to the authentication request includes a remote authentication dial-up user service billing data packet.

6. The method according to claim 1, wherein: Based on the permission configuration information and the IP address, an access control entry is generated, including: Setting a first source IP address according to the IP address of the access account; According to the port range and / or IP address segment allowed by the permission configuration information, set the first destination port and / or the first destination IP address; A first access control entry is generated according to the set first source IP address, and the first destination port and / or the first destination IP address.

7. The method according to claim 6, wherein: Processing the access request of the access account based on the access control entry includes: In response to obtaining the access request, obtaining a source IP address, a destination port, and a destination IP address in the access request; Associating the access request with the first access control entry according to the source IP address in the access request; The access request is allowed or denied according to whether the destination port and the destination IP address in the access request belong to the first destination port and the first destination IP address in the first access control entry.

8. The method according to any one of claims 1, 6 or 7, wherein: Based on the permission configuration information and the IP address, an access control entry is generated, including: Setting a second destination IP address according to the IP address of the access account; Setting a second source IP address according to the IP address segment allowed by the permission configuration information; A second access control entry is generated according to the set second destination IP address and the second source IP address.

9. The method according to claim 8, wherein: Based on the access control entry, processing the access request of the access account includes: In response to obtaining an access response corresponding to the access request, obtaining a source IP address and a destination IP address in the access response; Associating the second access control entry according to the destination IP address in the access response; The access response is allowed or denied according to whether the destination IP address in the access response belongs to the second source IP address in the second access control entry.

10. A device for processing an access request, comprising: An acquisition module is configured to acquire identification information and an IP address of an access account from an authentication message; A matching module, configured to determine permission configuration information matching the identification information; A generating module, configured to generate an access control entry based on the permission configuration information and the IP address; The control module is configured to process the access request of the access account based on the access control entry.

11. The processing device according to claim 10, wherein: The matching module determines the permission configuration information matching the identification information, and is further configured to: Determining the role type of the access account according to the identification information; According to the preset access rights corresponding to the role type, the permission configuration information matching the identification information is determined.

12. The processing device according to claim 10, wherein: The matching module determines the permission configuration information matching the identification information, and is further configured to: The authority configuration information matching the identification information is determined according to the account attribute information bound to the identification information, wherein the account attribute information includes one or more of the business type, account level, and security level.

13. The processing device according to claim 10, wherein: The acquisition module acquires the identification information and IP address of the access account from the authentication message, and is further configured to: In response to the authentication request initiated by the access account being verified, obtaining identification information and an IP address of the access account from a billing data packet corresponding to the authentication request, The authentication request is sent based on a remote authentication dial-up user service protocol; and the billing data packet corresponding to the authentication request includes a remote authentication dial-up user service billing data packet.

14. The processing device according to claim 10, wherein: The generating module generates the access control entry based on the permission configuration information and the IP address and is further configured to: Setting a first source IP address according to the IP address of the access account; According to the port range and / or IP address segment allowed by the permission configuration information, set the first destination port and / or the first destination IP address; A first access control entry is generated according to the set first source IP address, and the first destination port and / or the first destination IP address.

15. The processing device according to claim 14, wherein: The acquisition module is further configured to, in response to acquiring the access request, acquire the source IP address, the destination port and the destination IP address in the access request; The control module is further configured to process the access request of the access account based on the access control entry: associate with the first access control entry according to the source IP address in the access request; and allow or deny the access request according to whether the destination port and destination IP address in the access request belong to the first destination port and the first destination IP address in the first access control entry.

16. A processing device according to any one of claims 10, 14 or 15, wherein: The generating module generates the access control entry based on the permission configuration information and the IP address and is further configured to: Setting a second destination IP address according to the IP address of the access account; Setting a second source IP address according to the IP address segment allowed by the permission configuration information; A second access control entry is generated according to the set second destination IP address and the second source IP address.

17. The processing device according to claim 16, wherein: The acquisition module is further configured to, in response to acquiring an access response corresponding to the access request, acquire a source IP address and a destination IP address in the access response; The control module is further configured to process the access request of the access account based on the access control entry: associate with the second access control entry according to the destination IP address in the access response; and allow or deny the access response according to whether the destination IP address in the access response belongs to the second source IP address in the second access control entry.

18. A network edge device, comprising the processing apparatus according to any one of claims 10-17.

19. A system for processing access requests, comprising a terminal, a server, and a network edge device according to claim 18, wherein: The terminal is configured to initiate an access request to the server, wherein the access request includes an IP address of an access account; The server is configured to receive the access request and send an access response corresponding to the access request to the terminal.

20. The processing system of claim 19, wherein: It also includes an authentication server, The terminal is further configured to initiate an authentication request to the authentication server, and after the authentication request is verified, send a billing data packet corresponding to the authentication request to the authentication server, wherein the billing data packet includes identification information and an IP address of the access account; The authentication server is configured to verify the access account according to the received authentication request; wherein the authentication request is sent based on the remote authentication dial-in user service protocol; The billing data packet corresponding to the authentication request includes a remote authentication dial-up user service billing data packet.

21. The processing system of claim 19, wherein: The terminal is further configured to initiate the access request to the server after accessing the wireless local area network; Wherein, the server includes a resource server or a business system located in an Internet data center; The network boundary device is located at the boundary between the wireless local area network and the Internet data center, and the network boundary device includes at least one of a firewall, a gateway or a router.

22. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method for processing an access request according to any one of claims 1 to 9.

23. A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the access request processing method according to any one of claims 1 to 9.

24. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the steps of the method for processing an access request according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Method and system for controlling the user to visit the network at the specific area

    CN101056179A

  • Method, equipment and system for collocating access control list

    CN101304372A

  • Method and device for transmitting data messages

    CN104683315A

  • Access control method and device, electronic device and storage medium

    CN110311929A

  • Network access authority control method and device and computing equipment

    CN110971570A

Cited By

  • User permission determination method and device, equipment, medium and program product

    CN119416190A

  • Network access method, device, equipment, medium and product

    CN119835050A

  • Project information access method and device, equipment and storage medium

    CN119850142A

  • Map service access control method and system

    CN120785660A