Application access control method, device, equipment, storage medium and program product
By obtaining and querying application configuration information to determine the target egress gateway, the access delay problem in the SD-WAN network is solved, ensuring that traffic reaches the server area directly, and improving cross-region access performance.
Patent Information
- Application Number
- CN202410775375.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-06-17
AI Technical Summary
Due to the limited number of routing configuration policies in the SD-WAN network, it is difficult to cover all possible traffic scheduling scenarios, causing business application access traffic on terminal devices to be incorrectly scheduled to other areas, resulting in long access delays when accessing application resources across regions.
By obtaining application configuration information, including preset application information, preset access identification and egress gateway information, respond to the client's connection request, query the target application information and target egress gateway information, and feed it back to the client so that the client can monitor the target terminal device. Perform access control on business applications on the server to ensure that access traffic is scheduled to the egress gateway corresponding to the server to avoid incorrect scheduling.
It effectively reduces the access delay when accessing application resources across regions on the SD-WAN network, ensuring that access traffic directly reaches the server area, improving application access performance.
Smart Images

Figure CN118337871B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of network communication technology, and in particular to an application access control method, apparatus, device, storage medium and program product. Background Art
[0002] Software Defined Networking in a Wide Area Network (SD-WAN) is a virtual WAN architecture that supports hosting enterprise-wide Internet data centers, business applications in public or private clouds, and software as a service (SaaS), providing a high level of application performance.
[0003] In actual application scenarios, if an enterprise has branches in different regions, the enterprise can deploy customer premises equipment (CPE) for accessing SD-WAN in the areas where each branch is located. The terminal devices in each branch are connected to SD-WAN through the customer premises equipment in the area to form a branch network. Among them, the enterprise can connect the business application on the terminal device to the server of the business application through the software service model provided by SD-WAN to obtain the required application resources.
[0004] However, due to the limited number of SD-WAN routing configuration strategies, it is difficult to cover all possible traffic scheduling scenarios. As a result, when the business application on the terminal device and the server of the business application are located in different areas, the access traffic of the business application may be incorrectly scheduled to other areas, and then detour from other areas to the area where the server of the business application is located, resulting in longer access delays when accessing application resources across regions based on the SD-WAN network. Summary of the invention
[0005] In view of this, the present disclosure provides an application access control method, apparatus, device, storage medium and program product to solve the problem of long access delay when accessing application resources across regions based on an SD-WAN network.
[0006] In a first aspect, the present disclosure provides an application access control method, which is applied to a software-defined wide area network, comprising:
[0007] Obtain application configuration information; wherein the application configuration information includes a plurality of preset application information, and preset access identifiers and egress gateway information corresponding to each of the preset application information;
[0008] In response to a connection request of a client of a security management application, obtaining a target access identifier of the client;
[0009] Based on the target access identifier, query the corresponding target application information and the target egress gateway information corresponding to the target application information from the application configuration information;
[0010] The target application information and the target export gateway information are fed back to the client, so that the client performs access control on the first business application on the target terminal device based on the target application information and the target export gateway information; wherein the target terminal device is the terminal device where the client is located, and the first business application corresponds to the target application information.
[0011] In a second aspect, the present disclosure provides an application access control device, which is applied to a software-defined wide area network, including:
[0012] A configuration information acquisition module, used to acquire application configuration information; wherein the application configuration information includes a plurality of preset application information, and preset access identifiers and egress gateway information corresponding to each of the preset application information;
[0013] An access identifier acquisition module, used to respond to a connection request of a client of a security management application and acquire a target access identifier of the client;
[0014] A configuration information query module, used to query the corresponding target application information and the target egress gateway information corresponding to the target application information from the application configuration information based on the target access identifier;
[0015] An application access control module is used to feed back the target application information and the target export gateway information to the client, so that the client can perform access control on the first business application on the target terminal device based on the target application information and the target export gateway information; wherein, the target terminal device is the terminal device where the client is located, and the first business application corresponds to the target application information.
[0016] In a third aspect, the present disclosure provides a computer device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, computer instructions are stored in the memory, and the processor executes the application access control method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0017] In a fourth aspect, the present disclosure provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the application access control method of the first aspect or any corresponding embodiment thereof.
[0018] In a fifth aspect, the present disclosure provides a computer program product, including computer instructions, where the computer instructions are used to enable a computer to execute the application access control method of the first aspect or any corresponding embodiment thereof.
[0019] The application access control method provided by the embodiment of the present disclosure pre-configures multiple preset application information, as well as preset access identifiers and export gateway information corresponding to each preset application information. When a connection request from a client of a security management application is received, the corresponding target application information and target export gateway information are queried from multiple preset application information and export gateway information based on the target access identifier of the client. The queried information is fed back to the client so that the client can perform access control on the first business application on the target terminal device based on the target application information and the target export gateway information. Therefore, according to different access identifiers and the first business application to be accessed, the access traffic of the first business application can be scheduled to the export gateway corresponding to the server of the first business application, thereby avoiding the access traffic of the first business application from being incorrectly scheduled to other areas, so as to reduce the access delay when accessing application resources across regions based on the SD-WAN network. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the specific embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0021] Figure 1 is a schematic diagram of a network architecture based on SD-WAN according to an embodiment of the present disclosure;
[0022] Figure 2 is a flowchart of an application access control method according to an embodiment of the present disclosure;
[0023] Figure 3 is a schematic diagram of a configuration page of application information according to an embodiment of the present disclosure;
[0024] Figure 4 is a schematic diagram of a configuration page of application configuration information according to an embodiment of the present disclosure;
[0025] Figure 5 is a schematic diagram of a configuration process of application configuration information according to an embodiment of the present disclosure;
[0026] Figure 6is a schematic diagram of a process for an access point to obtain application configuration information according to an embodiment of the present disclosure;
[0027] Figure 7 is a schematic diagram of an interaction in response to a client connection request according to an embodiment of the present disclosure;
[0028] Figure 8 is a flowchart of another application access control method according to an embodiment of the present disclosure;
[0029] Fig. 9 is a flowchart of a domain name resolution according to an embodiment of the present disclosure;
[0030] Fig.10 is a schematic diagram of a transmission process of a data request message according to an embodiment of the present disclosure;
[0031] Fig.11 is a schematic diagram of a transmission process of a response message according to an embodiment of the present disclosure;
[0032] Fig.12 is a structural block diagram of an application access control device according to an embodiment of the present disclosure;
[0033] Fig.13 It is a structural block diagram of a computer device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0034] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0035] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below.
[0036] Herein, unless explicitly stated, executing a step “in response to A” does not mean executing the step immediately after “A” but may include one or more intermediate steps.
[0037] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition, use, storage or deletion of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0038] It is understandable that before using the technical solutions disclosed in the various embodiments of the present disclosure, the types, scopes of use, usage scenarios, etc. of the information involved in the present disclosure should be informed to relevant users and their authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations. The relevant users may include any type of right holders, such as individuals, enterprises, and groups.
[0039] For example, in response to receiving an active request from a user, a prompt message is sent to the relevant user to clearly prompt the relevant user that the operation requested to be performed will require obtaining and using the information of the relevant user, so that the relevant user can independently choose whether to provide information to software or hardware such as an electronic device, application, server or storage medium that executes the operation of the technical solution of the present disclosure based on the prompt message.
[0040] As an optional but non-limiting implementation, in response to receiving an active request from a relevant user, a prompt message is sent to the relevant user, for example, in the form of a pop-up window, in which the prompt message may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to select "agree" or "disagree" to provide information to the electronic device.
[0041] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0042] Office security usually involves the security management of networks, identities, and terminals. By implementing private network networking, access control, terminal management in private networks, and information security protection, digital office can be made safer, more efficient, and easier to use. Security management at the network level can ensure that private networks such as office networks can operate safely and efficiently, thereby ensuring that business data can be safely transmitted and stored. Security management at the identity level can improve the efficiency and security of identity authentication for users accessing private networks. Security management at the terminal level can achieve unified management of terminal devices within the private network, data leakage prevention, and terminal threat protection, thereby ensuring the security of corporate data.
[0043] In actual applications, the security management of networks, identities, and terminals can achieve technical linkage in multiple technical branches such as networking strategies, network access and control, remote access, unified terminal management, terminal detection and response, enterprise data leakage prevention, and identity authentication management, making digital office simpler, more efficient, and easier to implement.
[0044] Software Defined Networking in a Wide Area Network (SD-WAN) is a virtual WAN architecture that supports hosting enterprise-wide Internet data centers, business applications in public or private clouds, and software as a service (SaaS), providing a high level of application performance.
[0045] In actual application scenarios, if an enterprise has branches in different regions, the enterprise can deploy customer premises equipment (CPE) for accessing SD-WAN in the areas where each branch is located. The terminal devices in each branch are connected to SD-WAN through the customer premises equipment in the area to form a branch network. Among them, the enterprise can connect the business application on the terminal device to the server of the business application through the software service model provided by SD-WAN to obtain the required application resources.
[0046] In the related technology, it is usually necessary to install a security management application in the terminal device within the enterprise, and to control the access of the business applications on the terminal device through the security management application to ensure the security of the business application resources. When the client of the security management application detects that a business application needs to access the corresponding server, the client of the security management application will resolve the domain name of the business application in the local domain name resolution server to obtain the corresponding Internet Protocol address. The SD-WAN controller selects the best path to access the server corresponding to the Internet Protocol address based on the resolved Internet Protocol address and the pre-configured routing configuration policy (for example, directing the traffic of area A to area B) and the intelligent routing algorithm. At the same time, the SD-WAN controller will generate the corresponding flow table based on the selected path and send it to the access point (Points of Presence, referred to as POP) to guide the access traffic of the business application to be transmitted along the selected path.
[0047] However, due to the limited number of SD-WAN routing configuration strategies and the rough routing control, it is difficult to cover all possible traffic scheduling scenarios, resulting in the business application on each terminal device within the enterprise being located in a different area from the server of the business application. The access traffic of the business application may be incorrectly scheduled to other areas, and then detour from other areas to the area where the server is located, resulting in a long access delay when the business application on the terminal device accesses application resources across regions based on the SD-WAN network. For example, the terminal device is located in area A, and the server of the business application to be accessed is located in area C. Assuming that the current routing configuration strategy needs to divert all traffic in area A to area B, if the business application on the terminal device needs to access the server of area C, it needs to send the traffic to area B before trying to access the server of area C.
[0048] In addition, when the terminal device and the server to be accessed are deployed in the same area, the access traffic of the business application may be incorrectly dispatched to other areas, and then detour from other areas to the area where the server is located, resulting in a long access delay when the business application on the terminal device accesses the application resources. For example, the terminal device and the server of the business application to be accessed are both located in area A. Assuming that the current routing configuration strategy needs to divert all traffic in area A to area B, when the business application on the terminal device accesses the server of the business application, the traffic needs to be sent to area B first, and then returned from area B to the server in area A.
[0049] In summary, due to the limited number of SD-WAN routing configuration strategies and rough routing management, the access delay is long when accessing application resources across regions based on the SD-WAN network.
[0050] In view of this, according to an embodiment of the present disclosure, an application access control method embodiment is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0051] The network architecture based on software-defined wide area network (hereinafter referred to as SD-WAN) adopted in the embodiments of the present disclosure mainly includes: a client for security management applications for internal members of an enterprise, a client-side device of SD-WAN (hereinafter referred to as CPE), an access point (hereinafter referred to as POP), and a control plane.
[0052] See also Figure 1 The contents shown, the uses of each component in the network architecture of the present disclosure are as follows:
[0053] (1) The client of the security management application is deployed on each terminal device in the enterprise's internal network. Through the client of the security management application, access control can be performed on the business applications on the terminal device where the client is located, such as SaaS applications, business applications hosted in Internet data centers, public clouds, and private clouds, etc.
[0054] (2) CPE is deployed in the enterprise's headquarters, branch network, Internet Data Center (IDC) or cloud service (such as public cloud, private cloud), etc. CPE acts as a branch gateway and connects to the client of the branch network to aggregate all proxy traffic (such as client traffic) of the branch network.
[0055] (3) The POP is connected to a physically close CPE and is used to forward the traffic aggregated by the CPE.
[0056] (4) The control plane is used to configure application information, such as the application name and application address (such as the application domain name) of the business application that needs to be accessed or scheduled across regions. In addition, the control plane is also used to configure the routing strategy corresponding to each application, such as the access identifier corresponding to each application, and the CPE information that serves as the egress gateway, which is geographically close to the application server. The control plane sends the configuration content to the POP, and the POP sends the application information that the client of the security management application needs to access control and its corresponding routing strategy to the client based on the access identifier of the client of the connected security management application.
[0057] In this embodiment, an application access control method is provided, which can be used for the above-mentioned SD-WAN, such as the POP in the SD-WAN. Figure 2 is a flow chart of an application access control method according to an embodiment of the present disclosure, such as Figure 2 As shown, the process includes the following steps:
[0058] Step S201, obtaining application configuration information; wherein the application configuration information includes a plurality of preset application information, and preset access identifiers and egress gateway information corresponding to each preset application information.
[0059] Specifically, the preset application information includes the application name and the application address. The application address is an Internet Protocol address or a domain name. In addition, the preset application information also includes an application tag to classify and manage the configured applications. The preset access identifier includes multiple categories of identifiers. For example, the preset access identifiers of the same user include a user identifier, a department identifier, and a role identifier. The egress gateway information is used by the client of the security management application to determine the CPE that is geographically closer to the server of the business application corresponding to the preset application information as the egress gateway. For example, if the server of the business application corresponding to the preset application information is deployed in area A, the CPE deployed in area A in the SD-WAN can be used as the egress gateway.
[0060] For example, Figure 3 As shown in the figure, the administrator configures the corresponding application information on the control plane. For example, the application name of the business application to be scheduled is Application, the application address of Application is A.com, and the application tag is not configured, thereby obtaining the preset application information. After the application information configuration is completed, as shown in Figure 4 As shown, the administrator configures the corresponding application configuration information on the control plane, for example, the egress gateway information of the business application is test1, and the preset access identifier is ID1, to obtain the application configuration information.
[0061] Furthermore, if Figure 5 As shown in the figure, the control plane of SD-WAN sends the configured application configuration information to the backend service of Software as a Service (SaaS), and the SaaS backend service writes the application configuration information into the pre-built database. After the application configuration information is successfully written, the database feeds back the successful data writing information to the SaaS backend service to inform the SaaS backend service that the data writing is complete. After receiving the successful data writing information, the SaaS backend service feeds back the successful configuration information to the control plane to inform the control plane that the application configuration is complete.
[0062] Furthermore, if Figure 6 As shown, POP sends an information acquisition request to the SaaS backend service through a scheduled task to obtain application configuration information. After receiving the information acquisition request from POP, the SaaS backend service reads the database, obtains the application configuration information from the database, and feeds the obtained application configuration information back to POP. POP caches the application configuration information in memory.
[0063] Step S202: In response to a connection request from a client of a security management application, a target access identifier of the client is obtained.
[0064] Specifically, the POP can parse the connection request of the client of the security management application to obtain the target access identifier of the client of the security management application. Alternatively, the POP forwards the connection request to a third-party authentication platform, such as a SaaS backend service, which performs permission verification on the connection request and parses it to obtain the target access identifier of the client of the security management application.
[0065] Step S203: Based on the target access identifier, query the corresponding target application information and the target egress gateway information corresponding to the target application information from the application configuration information.
[0066] Specifically, Figure 7 As shown, the target access identifier and the cached preset access identifier are matched, and the preset application information corresponding to the matched preset access identifier is used as the target application information. Also, the egress gateway information corresponding to the matched preset access identifier is used as the target egress gateway information.
[0067] Step S204, feed back the target application information and the target export gateway information to the client, so that the client can perform access control on the first business application on the target terminal device based on the target application information and the target export gateway information; wherein the target terminal device is the terminal device where the client is located, and the first business application corresponds to the target application information.
[0068] Specifically, after the target application information and the target export gateway information are fed back to the client of the security management application, if the client of the security management application detects that the business application corresponding to the target application information on the terminal device needs to access the corresponding server to obtain the required application resources, the access traffic (for example, domain name resolution request or data request message) of the business application corresponding to the target application information can be forwarded to the target export gateway corresponding to the target export gateway information based on the target export gateway information, so as to use the target export gateway to access the server corresponding to the target application information, thereby obtaining the required application resources.
[0069] The application access control method provided in this embodiment pre-configures multiple preset application information, as well as preset access identifiers and export gateway information corresponding to each preset application information. When a connection request from a client of a security management application is received, the corresponding target application information and target export gateway information are queried from multiple preset application information and export gateway information based on the target access identifier of the client. The queried information is fed back to the client so that the client can perform access control on the first business application on the target terminal device based on the target application information and the target export gateway information. Therefore, according to different access identifiers and the first business application to be accessed, the access traffic of the first business application can be scheduled to the export gateway corresponding to the server of the first business application, thereby avoiding the access traffic of the first business application from being incorrectly scheduled to other areas, so as to reduce the access delay when accessing application resources across regions based on the SD-WAN network.
[0070] In some optional implementations, in response to the connection request from the client, obtaining the target access identifier of the client in step S202 includes:
[0071] Step a1: in response to a connection request from a client, the connection request is sent to a third-party authentication platform, so that the third-party authentication platform performs an authority verification on the connection request.
[0072] Step a2: If the third-party authentication platform authority verification is successful, the target access identifier fed back by the third-party authentication platform is received.
[0073] Specifically, the third-party authentication platform is a SaaS backend service, such as Figure 7 As shown, the POP responds to the connection request of the client of the security management application, and the POP feeds back the connection request to the SaaS backend service, which performs permission verification on the connection request, such as identity verification, access permission verification, dynamic control verification, etc. After the permission verification of the connection request is successful, the SaaS backend service feeds back the verification result and the target access identifier corresponding to the connection request to the POP.
[0074] Furthermore, if the third-party authentication platform fails to verify the authority, the received connection request will not be processed.
[0075] The application access control method provided in this embodiment sends a connection request to a third-party authentication platform for permission verification, and after the permission verification, receives a target access identifier fed back by the third-party authentication platform. Therefore, data security can be guaranteed and data leakage can be avoided.
[0076] In some optional implementations, the application configuration information also includes the priority of the egress gateway information corresponding to each preset application information. Then, in the above step S203, based on the target access identifier, the corresponding target application information and the target egress gateway information corresponding to the target application information are queried from the application configuration information, including:
[0077] Step b1: Based on the target access identifier, query the corresponding target application information and the first gateway information set corresponding to the target application information from the application configuration information.
[0078] Step b2: determining target egress gateway information adapted to the target application information based on the egress gateway information with the highest priority in the first gateway information set.
[0079] It should be noted that the priority of the egress gateway information can be determined based on the communication distance between the egress gateway corresponding to the egress gateway information and the server corresponding to the target application information. The shorter the communication distance, the higher the priority of the egress gateway information. In addition, the priority of the egress gateway information can also be determined based on the data transmission quality, bandwidth, transmission delay, etc. of the egress gateway corresponding to the egress gateway information. For example, the higher the data transmission quality, the higher the priority of the egress gateway information. The method for determining the priority of the egress gateway information is not limited here.
[0080] For example, as shown in Table 1, assuming that the preset access identifier is ID1, the preset application information corresponding to ID1 is A.com, the export gateway information includes test1 and test2, the priority of test1 is 99, and the priority of test2 is 98. If the target access identifier is ID1, the target application information is A.com, and the first gateway information set includes test1 and test2. Since the priority of test1 is higher than that of test2, the target export gateway information is test1.
[0081] Table 1 Application configuration information
[0082] Preset access token Preset application information Egress gateway information Priority ID1 A.com test1 99 ID1 A.com test2 98
[0083] The application access control method provided in this embodiment determines the highest priority egress gateway information as the target egress gateway information adapted to the target application information. Therefore, when conditions permit, data can be transmitted through an egress gateway with relatively better network performance to avoid network congestion, thereby further reducing access delays.
[0084] It should be noted that, when the number of the egress gateway information in the first gateway information set is one, the egress gateway information in the first gateway information set can be directly determined as the target egress gateway information.
[0085] In some optional implementations, the preset access identifier and the target access identifier both contain multiple categories of identifiers. For example, a user identifier, a department identifier, and a role identifier. Then, in the above step b1, based on the target access identifier, the corresponding target application information and the first gateway information set corresponding to the target application information are queried from the application configuration information, including:
[0086] Step b11: Determine a matching first access identifier and a second access identifier from among the preset access identifier and the target access identifier; wherein the first access identifier belongs to the preset access identifier, and the second access identifier belongs to the target access identifier.
[0087] Step b12: determining the preset application information corresponding to the first access identifier as the target application information adapted to the second access identifier.
[0088] Step b13: Determine a first gateway information set adapted to the target application information based on the egress gateway information corresponding to the first access identifier.
[0089] Specifically, when the POP obtains the application configuration information, the preset application information and the egress gateway information corresponding to the identifiers of each category in the preset access identifier can be cached according to the category. For example, if the preset access identifier includes identifiers of the first category, identifiers of the second category, and identifiers of the third category, the data corresponding to the identifiers of the first category, the second category, and the third category can be cached respectively. Thus, multiple matching queries can be performed according to the identifiers of different categories in the target access identifier.
[0090] Exemplarily, the first category of identifiers is an employee identifier, the second category of identifiers is a department identifier, and the third category of identifiers is a role identifier. As shown in Table 2, assuming that the employee identifier includes ID11, the preset application information corresponding to ID11 includes A.com and B.com, and the export gateway information corresponding to A.com and B.com includes test1. As shown in Table 3, assuming that the department identifier includes ID21 and ID22, the preset application information corresponding to ID21 includes A.com and B.com, and the export gateway information corresponding to A.com and B.com includes test1. The preset application information corresponding to ID22 includes C.com, and the export gateway information corresponding to C.com includes test2. As shown in Table 4, assuming that the role identifier includes ID31, the preset application information corresponding to ID31 includes A.com, B.com and C.com, and the export gateway information corresponding to A.com, B.com and C.com includes test1 and test2.
[0091] If the target access identifiers of a certain user include ID11, ID21, ID22, and ID31, as shown in Table 5, the target application information includes A.com, B.com, and C.com, and the first gateway information set includes test1 and test2.
[0092] Table 2 Data of employee identification
[0093] Employee identification Preset application information Egress gateway information ID11 A.com, B.com test1
[0094] Table 3 Data of department identification
[0095] Department Logo Preset application information Egress gateway information ID21 A.com, B.com test1 ID22 C.com test2
[0096] Table 4 Data of role identification
[0097] Role Identification Preset application information Egress gateway information ID31 A.com, B.com, C.com test1、test2
[0098] Table 5 Target access identifier data
[0099]
[0100] In the application access control method provided in this embodiment, if the preset access identifier and the target access identifier include multiple categories of identifiers, the matching first access identifier and the second access identifier are first determined in the preset access identifier and the target access identifier. Then, the preset application information corresponding to the first access identifier is determined as the target application information adapted to the second access identifier. And, the export gateway information corresponding to the first access identifier is determined as the first gateway information set adapted to the target application information. Therefore, the data query efficiency and the integrity of the data query can be effectively improved.
[0101] In some optional implementations, when there are multiple pieces of the highest priority egress gateway information, determining the target egress gateway information adapted to the target application information based on the highest priority egress gateway information in the first gateway information set in the above step b2 includes:
[0102] Step b21: obtaining a second gateway information set based on the highest priority egress gateway information in the first gateway information set.
[0103] Step b22: Obtain the configuration time of each egress gateway information in the second gateway information set.
[0104] Step b23: determine the egress gateway information with the latest configuration time in the second gateway information set as the target egress gateway information.
[0105] It is understandable that the network performance of the egress gateway may be affected by a variety of factors and change. For example, if the network to which the egress gateway is connected is congested or the performance of the network equipment is degraded, the network performance of the egress gateway will also be affected. Therefore, in order to ensure the stability and security of the network performance of the egress gateway, the egress gateway information will be updated according to the network performance of the egress gateway during the actual configuration process. Based on this, under the same priority, the egress gateway information with the latest configuration time is selected as the target egress gateway information of the target application information according to the configuration time of the egress gateway information. Therefore, the configured target egress gateway information can be closer to the current network status to further reduce network delays.
[0106] The application access control method provided in this embodiment determines the latest configured egress gateway information among the egress gateway information with the highest priority as the target egress gateway information. Therefore, if conditions permit, data can be transmitted through an egress gateway with relatively better network performance, thereby further reducing access delay.
[0107] It should be noted that, when there is only one egress gateway information with the highest priority, the egress gateway information with the highest priority can be directly determined as the target egress gateway information.
[0108] In some optional implementations, the step S204 of feeding back the target application information and the target egress gateway information to the client includes:
[0109] Step c1, performing hash mapping on the target application information to obtain target mapping data; wherein the target mapping data is used to characterize the existence of the target application information.
[0110] Step c2, feeding back the target mapping data and target egress gateway information to the client.
[0111] Specifically, the target application information includes the application address of the target application, such as the domain name corresponding to the target application. The target mapping data may be a hash table or a Bloom filter. Taking the case where the target mapping data is a Bloom filter as an example, the application address is hash mapped by a preset hash function to map the application address to a pre-built array to obtain a Bloom filter. When it is necessary to query whether an application address to be accessed exists in the target application information, a preset hash function may be used to hash map the application address to be accessed, so as to determine whether the application address to be accessed exists in the target application information based on the hash mapping result.
[0112] The application access control method provided in this embodiment performs hash mapping on the target application information to obtain target mapping data. The target mapping data representing the existence of the target application information is fed back to the client. Therefore, on the one hand, the actual data of the target application information does not need to be sent to the client, thereby ensuring the security of the data. On the other hand, when the amount of data of the target application information is large, the data query efficiency can be improved.
[0113] In some optional embodiments, such as Figure 8 As shown, the application access control method disclosed in the present invention also includes:
[0114] Step S801, in response to an application query request from the client, the application query request is parsed to obtain application information to be queried; wherein the application query request is generated by the client based on application information of the second business application on the target terminal device when it is detected that the application information of the second business application does not exist in the target application information.
[0115] Step S802: acquiring branch routing information, where the branch routing information includes branch routing information corresponding to a plurality of preset application information.
[0116] Step S803: query corresponding target branch routing information from the branch routing information based on the application information to be queried.
[0117] Step S804: Feedback the target branch routing information to the client, so that the client performs access control on the second service application based on the target branch routing information.
[0118] Specifically, the branch routing information includes the egress gateway information corresponding to the preset application information, and is used to schedule the access traffic corresponding to the preset application information to the egress gateway corresponding to the egress gateway information.
[0119] Furthermore, the branch routing information also includes ingress gateway information, which is used to dispatch the access traffic corresponding to the preset application information from the ingress gateway corresponding to the ingress gateway information to the egress gateway corresponding to the egress gateway information, wherein the ingress gateway is the CPE in the area where the data requester is located.
[0120] It should be noted that, considering the actual situation, if the preset application information data volume is large, it is difficult to configure all application access situations based on the access identifier. Therefore, when the client of the security management application detects the access traffic of the second business application on the terminal device, if the application information of the second business application does not exist in the target application information sent by the POP, the access traffic of the second business application can be dispatched to the server corresponding to the second business application through other pre-configured branch routing information, thereby ensuring the reliability of the application access service.
[0121] In the application access control method provided in this embodiment, when the client of the security management application detects that the application information of the second service application of the terminal device does not exist in the target application information, an application query request is generated. The POP queries the corresponding target branch routing information from the branch routing information according to the application information to be queried (i.e., the application information of the second service application) carried in the application query request, so that the client of the security management application performs access control on the second service application based on the target branch routing information. Therefore, the reliability of the application access service can be ensured.
[0122] In some optional implementations, the branch routing information also includes the priority of each branch routing information. The above step S803, based on the application information to be queried, queries the corresponding target branch routing information from the branch routing information, includes:
[0123] Step d1, querying a corresponding branch routing information set from the branch routing information based on the application information to be queried.
[0124] Step d2: determine the branch routing information with the highest priority in the branch routing information set as the target branch routing information.
[0125] It should be noted that if the number of branch routing information in the branch routing information set is one, the branch routing information in the branch routing information set can be directly determined as the target branch routing information.
[0126] In some optional implementations, the SD-WAN-based network architecture adopted by the present disclosure further includes a central domain name system (Domain Name System, DNS for short). The control plane sends the configured application configuration information to the central domain name system, which is connected to the client and CPE of the security management application. The central domain name system is used to forward the domain name resolution request of the business application on the terminal device where the client of the security management application is located to the corresponding egress gateway to resolve and obtain the network address of the server corresponding to the business application.
[0127] Specifically, the target application information includes the application address of the first service application, and the application address is a domain name. Then, the application access control method of the present disclosure also includes:
[0128] Step e1, in response to the domain name resolution request sent by the client, forward the domain name resolution request to the central domain name system; wherein the domain name resolution request is generated by the first business application based on the target application information and the target export gateway information and sent to the client; the central domain name system is used to forward the domain name resolution request to the corresponding target export gateway based on the target export gateway information.
[0129] Step e2, receiving the target network address and the gateway address of the target egress gateway fed back by the central domain name system; wherein the target network address is obtained by the target egress gateway sending a domain name resolution request to a corresponding domain name resolution server for domain name resolution.
[0130] Step e3, feeding back the target network address and the gateway address to the client, so that the client performs network address translation on the target network address to obtain a virtual network address, and transmits the data of the first service application based on the virtual network address, the gateway address and the target network address.
[0131] It is worth noting that, since a domain name may resolve multiple network addresses (the resolved network addresses are IP addresses), the network address resolved based on the application domain name of the same business application will change. Therefore, when the client of the security management application schedules the access traffic of the same business application, it is necessary to dynamically adjust the route, which is easy to cause access errors. Based on this, in this embodiment, the network address translation technology (Network Address Translation, referred to as NAT) is used to convert the target network address to obtain a virtual network address, so that a virtual network address can be used to represent all the resolved network addresses under the same application domain name, so that the client of the security management application can use the same virtual network address to schedule the access traffic of the same application domain name. In addition, for some application resources that need to be protected, converting the network address actually resolved by the domain name into a virtual network address can also avoid the external network from directly knowing the actual network address of the domain name to a certain extent, ensuring data security. Therefore, in step e3, when the client of the security management application obtains the target network address, it can select an unused preset network address from a plurality of predefined preset network addresses or predefined network segments as the virtual network address.
[0132] For example, Fig. 9 As shown, the target application information is the application information of the first service application that needs to access the server across regions, the target egress gateway is the target CPE in the region where the server of the target application information is located, and the target egress gateway information is the identification information of the target CPE (i.e. Fig. 9 The CPE_ID shown in the figure is taken as the central DNS of SD-WAN. After obtaining the target application information, the POP performs hash mapping on the target application information to obtain a Bloom filter that characterizes the existence of the target application information, and feeds back the Bloom filter and the target egress gateway information to the client of the security management application.
[0133] Assume that the business application A on the terminal device where the client of the security management application is located wants to access the resources of the corresponding server. The client obtains the application address of the business application A (the application address here is the domain name), such as A.com. At this time, the client uses the Bloom filter to determine whether A.com matches any target application information. If A.com matches any target application information, it means that the business application A needs to access the corresponding server across regions. The client forwards A.com and CPE_ID to the central DNS through the corresponding POP (not shown in the figure). The central DNS sends A.com to the target CPE based on CPE_ID, and the target CPE sends A.com to the corresponding domain name resolution server for domain name resolution. Assuming that the target network address corresponding to A.com is IP1 (that is, the network address of the server corresponding to A.com is IP1), the domain name resolution server feeds IP1 back to the target CPE, and the target CPE feeds IP1 back to the central DNS. The central DNS obtains the gateway address of the target CPE, such as IP2. The central DNS feeds IP1 and IP2 back to the client of the security management application through POP. The client performs network address translation on the target network address to obtain a virtual network address, such as IP3. The client then dispatches the access traffic of A.com to the corresponding server based on IP1, IP2, and IP3.
[0134] In addition, if the business application B on the terminal device where the client of the security management application is located wants to access the resources of the corresponding server, the client obtains the target domain name of the business application B, such as B.com. If the client uses the Bloom filter to determine that B.com does not match the target application information fed back by the POP, it means that the business application B does not need to access the corresponding server across regions. The client of the security management application forwards B.com to the domain name resolution server in the region where the client is located or the closest to the client's geographical location through the public network card to resolve the network address corresponding to B.com. The client dispatches the access traffic of the business application B to the server corresponding to B.com based on the network address corresponding to B.com.
[0135] In some optional implementations, the application access control method of the present disclosure further includes:
[0136] Step f1, receiving a second data request message sent by the client; wherein the second data request message is obtained by the client replacing the destination address of the first data request message with the gateway address, and recording the target network address in the first data request message; the first data request message is obtained by the client responding to the data request sent by the first business application, determining the data request message to be transmitted based on the data request, and using the virtual network address as the destination address of the data request message to be transmitted.
[0137] It should be noted that the source address of the first data request message is the network address of the client of the security management application. The target network address is recorded in the option field (ie, the Options field) of the first data request message.
[0138] Step f2, forwarding the second data request message to the target export gateway based on the destination address of the second data request message; wherein the target export gateway is used to replace the destination address of the second data request message with the target network address based on the target network address recorded in the second data request message, so as to send the second data request message to the target server corresponding to the target network address.
[0139] Step f3, receiving a first response message fed back by the target egress gateway; wherein the first response message is obtained by the target egress gateway replacing the source address of the response message fed back by the target server with the gateway address, and recording the target network address in the response message.
[0140] It should be noted that the source address of the response message fed back by the target server is the target network address, and the destination address is the network address of the client of the security management application. The target network address is recorded in the option field of the first response message.
[0141] Step f4, feeding back the first reply message to the client based on the destination address of the first reply message; wherein the client is used to replace the source address of the first reply message with the target network address based on the target network address recorded in the first reply message, to obtain a second reply message; and the client is used to replace the source address of the second reply message with the virtual network address, to obtain a target reply message, and feed back the target reply message to the first business application.
[0142] It should be noted that the target response message includes application resources corresponding to the target application information.
[0143] It can be understood that in the above step f4, the client of the security management application first replaces the source address of the first response message with the target network address to obtain the second response message. The source address of the second response message is then replaced with the virtual network address to obtain the target response message, in order to ensure that the data transmission process of the present disclosure complies with the access process of the standard Hypertext Transfer Protocol (HTTP), so that the client of the security management application clearly knows that the received response message is generated by the target server, not the target export gateway, and that the currently received response message is based on the feedback of the first data request message with the virtual network address as the destination address, so as to ensure that the correct application resources are finally parsed.
[0144] For example, Fig.10As shown, the business application A on the terminal device where the client of the security management application is located needs to access the corresponding server resources, the application address of the business application A (the application address here is the domain name) is A.com, the client obtains the target network address corresponding to A.com as IP1, the gateway address of the target egress gateway is IP2, the virtual network address corresponding to IP1 is IP3, the network address of the client is IP4, the central domain name system is the central DNS of SD-WAN, and the target egress gateway is the target CPE in the area where the server of A.com is located. The client of the security management application receives the data request of the business application A, determines the data request message to be transmitted based on the data request, and uses IP4 as the source address of the data request message to be transmitted, and uses IP3 as the destination address of the data request message to be transmitted to generate a first data request message. The client performs destination address conversion on the first data request message, replaces the destination address of the first data request message with IP2, and records IP1 in the option field of the first data request message to obtain a second data request message. The client sends the second data request message to the corresponding target POP; wherein the target POP includes a POP for data forwarding between the client of the security management application and the target CPE, and forwards the second data request message to the target CPE through the target POP. The target CPE performs destination address conversion on the second data request message based on IP1 recorded in the option field of the second data request message, and replaces the destination address of the second data request message with IP1 to obtain a third data request message. The target egress gateway feeds back the third data request message to the target server corresponding to the target network address.
[0145] Furthermore, if Fig.11 As shown, the target server generates a response message with a source address of IP1 and a destination address of IP4 based on the third data request message. The target server feeds back the generated response message to the target CPE, and the target CPE replaces the source address of the response message fed back by the target server with IP2, and records IP1 in the option field of the response message fed back by the target server to obtain a first response message. The target CPE sends the first response message to the target POP, and feeds back the first response message to the client of the security management application through the target POP. The client performs source address conversion on the first response message based on IP1 recorded in the option field of the first response message, and replaces the source address of the first response message with IP1 to obtain a second response message. Further, the client performs network address conversion on the second response message, and replaces the source address of the second response message with IP3 to obtain a target response message. The client feeds back the target response message to business application A, so that business application A obtains application resources related to A.com from the target response message.
[0146] As a specific application example, the enterprise administrator can perform application management configuration on the control plane, that is, configure the application address to be scheduled to obtain application information. Also, perform routing policy configuration on the control plane, that is, configure the correspondence between application information, access identification, and export gateway information to obtain application configuration information. Then, the control plane sends the configuration content to the POP of the SD-WAN. When internal employees of the enterprise click to connect to the POP through the client of the security management application, the POP sends the target application information and target export gateway information corresponding to the client of the security management application to the client of the security management application through the application access control method disclosed in the present invention. When the business application on the terminal device where the client is located needs to access the application resources of the corresponding server, the export gateway information corresponding to the business application is determined through the target application information and target export gateway information sent by the POP, so as to access the server of the business application using the export gateway corresponding to the export gateway information to obtain application resources.
[0147] In this embodiment, an application access control device is also provided, which is used to implement the above embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0148] This embodiment provides an application access control device, which is applicable to SD-WAN, such as POP of SD-WAN. Fig.12 As shown, the device comprises:
[0149] Configuration information acquisition module 1201, used to acquire application configuration information; wherein the application configuration information includes a plurality of preset application information, and preset access identifiers and egress gateway information corresponding to each preset application information;
[0150] The access identifier acquisition module 1202 is used to respond to the connection request of the client of the security management application and obtain the target access identifier of the client;
[0151] The configuration information query module 1203 is used to query the corresponding target application information and the target egress gateway information corresponding to the target application information from the application configuration information based on the target access identifier;
[0152] The application access control module 1204 is used to feed back the target application information and the target export gateway information to the client, so that the client can perform access control on the first business application on the target terminal device based on the target application information and the target export gateway information; wherein, the target terminal device is the terminal device where the client is located, and the first business application corresponds to the target application information.
[0153] In some optional implementations, the access identification acquisition module 1202 includes:
[0154] The authority verification unit is used to respond to the connection request of the client and send the connection request to the third-party authentication platform so that the third-party authentication platform performs an authority verification on the connection request;
[0155] The identification acquisition unit is used to receive the target access identification fed back by the third-party authentication platform if the permission verification of the third-party authentication platform is successful.
[0156] In some optional implementations, the application configuration information further includes the priority of the egress gateway information corresponding to each preset application information; the configuration information query module 1203 includes:
[0157] A first information query unit, configured to query corresponding target application information and a first gateway information set corresponding to the target application information from the application configuration information based on the target access identifier;
[0158] The second information query unit is used to determine the target egress gateway information adapted to the target application information based on the egress gateway information with the highest priority in the first gateway information set.
[0159] In some optional implementations, both the preset access identifier and the target access identifier include identifiers of multiple categories; and the first information query unit includes:
[0160] An identifier matching subunit, used to determine a matching first access identifier and a second access identifier among a preset access identifier and a target access identifier; wherein the first access identifier belongs to the preset access identifier, and the second access identifier belongs to the target access identifier;
[0161] An application determination subunit, configured to determine the preset application information corresponding to the first access identifier as target application information adapted to the second access identifier;
[0162] The gateway determination subunit is used to determine a first gateway information set adapted to the target application information based on the egress gateway information corresponding to the first access identifier.
[0163] In some optional implementations, the gateway determination subunit is specifically configured to:
[0164] When there are multiple egress gateway information with the highest priority, obtaining a second gateway information set based on the egress gateway information with the highest priority in the first gateway information set;
[0165] Obtaining the configuration time of each egress gateway information in the second gateway information set;
[0166] The egress gateway information with the latest configuration time in the second gateway information set is determined as the target egress gateway information.
[0167] In some optional implementations, the application access control module 1204 includes:
[0168] A data mapping unit, used to perform hash mapping on the target application information to obtain target mapping data; wherein the target mapping data is used to characterize the existence of the target application information;
[0169] The data feedback unit is used to feed back the target mapping data and the target egress gateway information to the client.
[0170] In some optional implementations, the application access control device of the present disclosure further includes:
[0171] An application information parsing module, used to respond to an application query request from a client, parse the application query request, and obtain the application information to be queried; wherein the application query request is generated by the client according to the application information of the second service application on the target terminal device when it is detected that the application information of the second service application on the target terminal device does not exist in the target application information;
[0172] A routing information acquisition module is used to acquire branch routing information, where the branch routing information includes branch routing information corresponding to a plurality of preset application information;
[0173] A routing information query module, used to query corresponding target branch routing information from branch routing information based on the application information to be queried;
[0174] The routing information feedback module is used to feed back the target branch routing information to the client, so that the client can perform access control on the second business application based on the target branch routing information.
[0175] In some optional implementations, the branch routing information also includes the priority of each branch routing information. The routing information query module includes:
[0176] A routing set query unit, used to query a corresponding branch routing information set from the branch routing information based on the application information to be queried;
[0177] The routing information determining unit is used to determine the branch routing information with the highest priority in the branch routing information set as the target branch routing information.
[0178] In some optional implementations, the target application information includes the domain name of the first business application. The application access control device of the present disclosure also includes:
[0179] A resolution request response module, configured to respond to a domain name resolution request sent by a client and forward the domain name resolution request to a central domain name system; wherein the domain name resolution request is generated by the first service application based on target application information and target egress gateway information and sent to the client; the central domain name system is configured to forward the domain name resolution request to a corresponding target egress gateway based on the target egress gateway information;
[0180] The resolution result receiving module is used to receive the target network address and the gateway address of the target egress gateway fed back by the central domain name system; wherein the target network address is obtained by the target egress gateway sending the domain name resolution request to the corresponding domain name resolution server for domain name resolution;
[0181] The analysis result feedback module is used to feed back the target network address and the gateway address to the client, so that the client performs network address conversion on the target network address to obtain a virtual network address, and transmits the data of the first business application based on the virtual network address, the gateway address and the target network address.
[0182] In some optional implementations, the application access control device of the present disclosure further includes:
[0183] A data message receiving module, configured to receive a second data request message sent by a client; wherein the second data request message is obtained by the client replacing the destination address of the first data request message with the gateway address, and recording the target network address in the first data request message; the first data request message is obtained by the client responding to a data request sent by the first business application, determining a data request message to be transmitted based on the data request, and using the virtual network address as the destination address of the data request message to be transmitted;
[0184] A data message forwarding module, configured to forward the second data request message to a target egress gateway based on the destination address of the second data request message; wherein the target egress gateway is configured to replace the destination address of the second data request message with the target network address based on the target network address recorded in the second data request message, so as to send the second data request message to a target server corresponding to the target network address;
[0185] A response message receiving module, used to receive a first response message fed back by a target egress gateway; wherein the first response message is obtained by the target egress gateway replacing the source address of the response message fed back by the target server with the gateway address, and recording the target network address in the response message;
[0186] A reply message feedback module is used to feed back a first reply message to a client based on the destination address of the first reply message; wherein the client is used to replace the source address of the first reply message with the target network address based on the target network address recorded in the first reply message to obtain a second reply message; and the client is used to replace the source address of the second reply message with a virtual network address to obtain a target reply message, and feed back the target reply message to the first business application.
[0187] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0188] The application access control device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0189] The present disclosure also provides a computer device having the above Fig.12 The application access control device is shown.
[0190] See also Fig.13 , Fig.13 is a structural block diagram of a computer device provided by an optional embodiment of the present disclosure, such as Fig.13 As shown, the computer equipment includes: one or more processors 1301, memory 1302, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components utilize different buses to communicate with each other, and can be installed on a common mainboard or installed in other ways as required. The processor can process the instructions executed in the computer equipment, including instructions stored in the memory or on the memory to display the graphical information of GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Equally, multiple computer equipment can be connected, and each device provides part of the necessary operation (for example, as a server array, a group of blade servers, or a multi-processor system). Fig.13 A processor 1301 is taken as an example.
[0191] The processor 1301 may be a central processing unit, a network processor or a combination thereof. The processor 1301 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable logic gate array, a general purpose array logic or any combination thereof.
[0192] The memory 1302 stores instructions executable by at least one processor 1301 , so that the at least one processor 1301 executes the method shown in the above embodiment.
[0193] The memory 1302 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 1302 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 1302 may optionally include a memory remotely arranged relative to the processor 1301, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0194] The memory 1302 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 1302 may also include a combination of the above types of memory.
[0195] The computer device also includes a communication interface 1303, which is used for the computer device to communicate with other devices or a communication network.
[0196] The embodiments of the present disclosure also provide a computer-readable storage medium. The above-mentioned method according to the embodiments of the present disclosure can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium and downloaded through a network, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; further, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0197] A part of the present disclosure may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present disclosure through the operation of the computer. Those skilled in the art should understand that the existence of computer program instructions in computer-readable media includes, but is not limited to, source files, executable files, installation package files, etc., and accordingly, the way in which computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to the computer.
[0198] Although the embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. An application access control method, characterized in that: The method is applied to a software-defined wide area network, comprising: Acquire application configuration information; wherein the application configuration information includes a plurality of preset application information, and preset access identifiers and egress gateway information corresponding to each of the preset application information; wherein the preset access identifier includes one or more of a user identifier, a department identifier, and a role identifier; the egress gateway information is used to determine a client-side device as an egress gateway that is geographically close to a service end of a business application corresponding to the preset application information; In response to a connection request of a client of a security management application, obtaining a target access identifier of the client; Based on the target access identifier, query the corresponding target application information and the target egress gateway information corresponding to the target application information from the application configuration information; The target application information and the target export gateway information are fed back to the client, so that the client performs access control on the first business application on the target terminal device based on the target application information and the target export gateway information; wherein the target terminal device is the terminal device where the client is located, and the first business application corresponds to the target application information.
2. The application access control method according to claim 1, characterized in that: The application configuration information also includes the priority of the egress gateway information corresponding to each of the preset application information; the querying of the corresponding target application information and the target egress gateway information corresponding to the target application information from the application configuration information based on the target access identifier includes: Based on the target access identifier, query the corresponding target application information and the first gateway information set corresponding to the target application information from the application configuration information; Based on the egress gateway information with the highest priority in the first gateway information set, target egress gateway information adapted to the target application information is determined.
3. The application access control method according to claim 2, characterized in that: The preset access identifier and the target access identifier both contain multiple categories of identifiers; the querying of the corresponding target application information and the first gateway information set corresponding to the target application information from the application configuration information based on the target access identifier includes: Determine a first access identifier and a second access identifier that match the preset access identifier and the target access identifier; wherein the first access identifier belongs to the preset access identifier, and the second access identifier belongs to the target access identifier; Determining the preset application information corresponding to the first access identifier as the target application information adapted to the second access identifier; Based on the egress gateway information corresponding to the first access identifier, a first gateway information set adapted to the target application information is determined.
4. The application access control method according to claim 2, characterized in that: In the case that there are multiple egress gateway information with the highest priority, determining the target egress gateway information adapted to the target application information based on the egress gateway information with the highest priority in the first gateway information set includes: Obtaining a second gateway information set based on the highest priority egress gateway information in the first gateway information set; Obtaining configuration time of each egress gateway information in the second gateway information set; The egress gateway information with the latest configuration time in the second gateway information set is determined as the target egress gateway information.
5. The application access control method according to claim 1, characterized in that: Feeding back the target application information and the target egress gateway information to the client includes: Performing hash mapping on the target application information to obtain target mapping data; wherein the target mapping data is used to characterize the existence of the target application information; The target mapping data and the target egress gateway information are fed back to the client.
6. The application access control method according to claim 1, characterized in that: The method further comprises: In response to the application query request of the client, the application query request is parsed to obtain the application information to be queried; wherein the application query request is generated by the client according to the application information of the second service application on the target terminal device when it is detected that the application information of the second service application on the target terminal device does not exist in the target application information; Acquire branch routing information, where the branch routing information includes branch routing information corresponding to a plurality of the preset application information; Querying corresponding target branch routing information from the branch routing information based on the application information to be queried; The target branch routing information is fed back to the client, so that the client performs access control on the second business application based on the target branch routing information.
7. The application access control method according to claim 6, characterized in that: The branch routing information also includes the priority of each branch routing information; The querying corresponding target branch routing information from the branch routing information based on the application information to be queried includes: Querying a corresponding branch routing information set from the branch routing information based on the application information to be queried; The branch routing information with the highest priority in the branch routing information set is determined as the target branch routing information.
8. The application access control method according to claim 1, characterized in that: The step of obtaining a target access identifier of the client in response to a connection request from the client includes: In response to the connection request of the client, sending the connection request to a third-party authentication platform so that the third-party authentication platform performs an authority check on the connection request; If the authority verification of the third-party authentication platform is successful, the target access identifier fed back by the third-party authentication platform is received.
9. The application access control method according to claim 1, characterized in that: The target application information includes the domain name of the first service application; the method further includes: In response to the domain name resolution request sent by the client, forward the domain name resolution request to the central domain name system; wherein the domain name resolution request is generated by the first service application based on the target application information and the target egress gateway information and sent to the client; the central domain name system is used to forward the domain name resolution request to the corresponding target egress gateway based on the target egress gateway information; Receive the target network address fed back by the central domain name system and the gateway address of the target egress gateway; wherein the target network address is obtained by the target egress gateway sending the domain name resolution request to the corresponding domain name resolution server for domain name resolution; The target network address and the gateway address are fed back to the client, so that the client performs network address conversion on the target network address to obtain a virtual network address, and transmits the data of the first business application based on the virtual network address, the gateway address and the target network address.
10. The application access control method according to claim 9, characterized in that: The method further comprises: receiving a second data request message sent by the client; wherein the second data request message is obtained by the client replacing the destination address of the first data request message with the gateway address, and recording the target network address in the first data request message; the first data request message is obtained by the client responding to the data request sent by the first business application, determining the data request message to be transmitted based on the data request, and using the virtual network address as the destination address of the data request message to be transmitted; forwarding the second data request message to the target egress gateway based on the destination address of the second data request message; wherein the target egress gateway is used to replace the destination address of the second data request message with the target network address based on the target network address recorded in the second data request message, so as to send the second data request message to the target server corresponding to the target network address; Receive a first response message fed back by the target egress gateway; wherein the first response message is obtained by the target egress gateway replacing the source address of the response message fed back by the target server with the gateway address, and recording the target network address in the response message; The first response message is fed back to the client based on the destination address of the first response message; wherein the client is used to replace the source address of the first response message with the target network address recorded in the first response message to obtain a second response message; and the client is used to replace the source address of the second response message with the virtual network address to obtain a target response message, and feed back the target response message to the first business application.
11. An application access control device, characterized in that: The device is applied to a software-defined wide area network, and comprises: A configuration information acquisition module, used to acquire application configuration information; wherein the application configuration information includes a plurality of preset application information, and preset access identifiers and egress gateway information corresponding to each of the preset application information; wherein the preset access identifier includes one or more of a user identifier, a department identifier, and a role identifier; the egress gateway information is used to determine a client-side device as an egress gateway that is geographically close to a service end of a business application corresponding to the preset application information; An access identifier acquisition module, used to respond to a connection request of a client of a security management application and acquire a target access identifier of the client; A configuration information query module, used to query the corresponding target application information and the target egress gateway information corresponding to the target application information from the application configuration information based on the target access identifier; An application access control module is used to feed back the target application information and the target export gateway information to the client, so that the client can perform access control on the first business application on the target terminal device based on the target application information and the target export gateway information; wherein, the target terminal device is the terminal device where the client is located, and the first business application corresponds to the target application information.
12. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the application access control method according to any one of claims 1 to 10 by executing the computer instructions.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the application access control method according to any one of claims 1 to 10.
14. A computer program product, characterized in that The method comprises computer instructions, wherein the computer instructions are used to cause a computer to execute the application access control method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Traffic guiding method, electronic equipment and readable storage medium
CN114039906A
Flow metadata exchange between network and security function of security service
CN114531263A
